feat: Add new effects for player interactions and NPC management

- Introduced DismountPlayerEffect to handle player dismounting from NPCs.
- Added MountPlayerEffect for mounting players onto NPCs with configurable parameters.
- Implemented PlaceBlocksEffect to allow block placement in specified regions.
- Created RespawnPlayerEffect with improved destination resolution for player respawns.
- Added SetPlayerLoadoutEffect to manage player loadouts dynamically.
- Introduced SetPlayerStatusEffect to manage player statuses with additional activation logic.
- Created SpawnNpcEffect for spawning and managing NPCs with respawn capabilities.
- Updated language files to include tooltips and descriptions for new effects.
This commit is contained in:
2026-06-07 21:38:30 -07:00
parent 479d010e60
commit 67e70a71bd
30 changed files with 1750 additions and 85 deletions
@@ -66,6 +66,28 @@ customUI.triggerVolumeEffectEditor.field.SpawnItem.SpawnKey.tooltip = Optional u
customUI.triggerVolumeEffectEditor.field.SpawnItem.OffsetX.tooltip = Spawn position offset on the X axis.
customUI.triggerVolumeEffectEditor.field.SpawnItem.OffsetY.tooltip = Spawn position offset on the Y axis.
customUI.triggerVolumeEffectEditor.field.SpawnItem.OffsetZ.tooltip = Spawn position offset on the Z axis.
customUI.triggerVolumeEffectEditor.field.SpawnNpc.MinigameId.tooltip = Optional minigame runtime to associate this spawned NPC with.
customUI.triggerVolumeEffectEditor.field.SpawnNpc.RoleId.tooltip = The spawnable NPC role id to spawn.
customUI.triggerVolumeEffectEditor.field.SpawnNpc.Count.tooltip = Number of NPCs to keep active for this spawn key.
customUI.triggerVolumeEffectEditor.field.SpawnNpc.RespawnDelaySeconds.tooltip = Seconds to wait before respawning after all active NPCs for this spawn key are gone.
customUI.triggerVolumeEffectEditor.field.SpawnNpc.SpawnKey.tooltip = Optional unique id for this NPC spawner.
customUI.triggerVolumeEffectEditor.field.SpawnNpc.OffsetX.tooltip = Spawn position offset on the X axis.
customUI.triggerVolumeEffectEditor.field.SpawnNpc.OffsetY.tooltip = Spawn position offset on the Y axis.
customUI.triggerVolumeEffectEditor.field.SpawnNpc.OffsetZ.tooltip = Spawn position offset on the Z axis.
customUI.triggerVolumeEffectEditor.field.SpawnNpc.Yaw.tooltip = Spawn rotation yaw in degrees.
customUI.triggerVolumeEffectEditor.field.SpawnNpc.Pitch.tooltip = Spawn rotation pitch in degrees.
customUI.triggerVolumeEffectEditor.field.SpawnNpc.Roll.tooltip = Spawn rotation roll in degrees.
customUI.triggerVolumeEffectEditor.field.SpawnNpc.SpreadRadius.tooltip = Radius used to spread multiple spawned NPCs around the spawn position.
customUI.triggerVolumeEffectEditor.field.MountPlayer.MinigameId.tooltip = Optional minigame runtime this mount action belongs to.
customUI.triggerVolumeEffectEditor.field.MountPlayer.PlayerId.tooltip = Optional player UUID. Leave empty to mount the triggering player.
customUI.triggerVolumeEffectEditor.field.MountPlayer.NpcId.tooltip = Optional exact NPC UUID to mount onto.
customUI.triggerVolumeEffectEditor.field.MountPlayer.NpcRoleId.tooltip = Optional NPC role filter, such as a horse role.
customUI.triggerVolumeEffectEditor.field.MountPlayer.MaxDistance.tooltip = Maximum distance from the player to the matched NPC. Set 0 or less for no distance limit.
customUI.triggerVolumeEffectEditor.field.MountPlayer.AnchorX.tooltip = Rider anchor offset on the X axis.
customUI.triggerVolumeEffectEditor.field.MountPlayer.AnchorY.tooltip = Rider anchor offset on the Y axis.
customUI.triggerVolumeEffectEditor.field.MountPlayer.AnchorZ.tooltip = Rider anchor offset on the Z axis.
customUI.triggerVolumeEffectEditor.field.MountPlayer.MovementConfig.tooltip = Optional movement config applied to the player while mounted.
customUI.triggerVolumeEffectEditor.field.MountPlayer.EmptyRoleId.tooltip = NPC role used while mounted. Defaults to Empty_Role.
customUI.triggerVolumeEffectEditor.field.AwardKillScore.MinigameId.tooltip = Optional minigame id this kill scoring rule applies to.
customUI.triggerVolumeEffectEditor.field.AwardKillScore.TargetIds.tooltip = Player, NPC role ids such as fox, or * for any supported kill target.
customUI.triggerVolumeEffectEditor.field.AwardKillScore.Points.tooltip = Points awarded to the killer when the victim matches this rule.
@@ -191,3 +213,5 @@ customUI.triggerVolumeEffectEditor.effectType.LeaveMinigameQueue = Leave Minigam
customUI.triggerVolumeEffectEditor.effectType.VoteForMap = Vote For Map
customUI.triggerVolumeEffectEditor.effectType.StartQueuedMinigame = Start Queued Minigame
customUI.triggerVolumeEffectEditor.effectType.SpawnItem = Spawn Item
customUI.triggerVolumeEffectEditor.effectType.SpawnNpc = Spawn NPC
customUI.triggerVolumeEffectEditor.effectType.MountPlayer = Mount Player