Creature template
Template Skeleton Turret
Template
A reusable definition — 1 creature below builds on it.
Creatures based on this template
They inherit this definition and may override individual values.
Parameters
Tuning values this creature declares. Labels are plain-language versions of the game's parameter names, which stay underneath for reference.
| Parameter | Value | Description |
|---|---|---|
| Appearance | Skeleton | Model to be used. |
Attitude GroupAttitudeGroup | Skeleton | The attitude group of the NPC |
Max HealthMaxHealth | 45 | Max health for the NPC. |
Max SpeedMaxSpeed | 3 | Maximum walking speed. The turret never walks, so this only bounds knockback recovery and falling. |
Run ThresholdRunThreshold | 0.8 | Relative speed at which run animation should be used. A value of 1 disables run animations |
Breathes In WaterBreathesInWater | true | Whether the NPC can breathe under water. |
Apply SeparationApplySeparation | false | When set to false, NPCs wont try to avoid each other or player, it can lead to them stacking together, but can help to avoid jerky-like movemenet in enclosed space. |
Drop ListDropList | Skeleton | Drop Items |
| Weapons | Weapon Shortbow Iron Rusty | NPC Weapons (and other main hand items). |
Default Hotbar SlotDefaultHotbarSlot | 0 | The default hotbar slot of the NPC |
View RangeViewRange | 18 | The range from which the target will be seen. If zero, sight will be disabled. |
View SectorViewSector | 270 | The view sector within which the target needs to be to be seen. |
Hearing RangeHearingRange | 8 | The range from which the target will be heard. If zero, hearing will be disabled. |
Absolute Detection RangeAbsoluteDetectionRange | 2 | The range at which a target is guaranteed to be detected. If zero, abosulte detection will be disabled. |
Idle Weight AnimationIdleWeightAnimation | 10 | The weight of the idle animation behavior |
Idle Weight NothingIdleWeightNothing | 10 | The weight of the idle nothing behavior |
Alerted RangeAlertedRange | 45 | A range within which the player can be seen/sensed when the NPC is alerted to their presence. |
Alerted TimeAlertedTime | 1, 2 | How long to wait in an alerted state before switching to active combat. |
| Attack | Root NPC Attack Melee | The attack to use. |
Attack DistanceAttackDistance | 18 | The distance at which an NPC will execute attacks. This is the whole reach of the turret, because it will not close the gap. |
Attack Pause RangeAttackPauseRange | 1.5, 2 | The range for absolute minimum time before an NPC can execute a second attack (or block). |
Combat Relative Turn SpeedCombatRelativeTurnSpeed | 1.5 | Modifier that decides turn speed difference in combat. |
Combat Attack Pre DelayCombatAttackPreDelay | 0.2, 0.2 | The time delay range before the NPC performs an attack, provided it's in attack range. |
Combat Attack Post DelayCombatAttackPostDelay | 0.2, 0.2 | The time delay range after the NPC performs an attack, provided it's in attack range. |
Combat Give Up Time RangeCombatGiveUpTimeRange | 4, 6 | How long the NPC keeps aiming at a target it can no longer see or hear before it starts searching. |
Target Switch TimerTargetSwitchTimer | 1, 3 | Minimum time the NPC will be locked onto a single target before switching |
Target RangeTargetRange | 18 | The distance the target needs to be within to maintain priority over other targets while in combat |
Confused Time RangeConfusedTimeRange | 1, 2 | How long the NPC should act confused for when losing its target before beginning the search. While confused the NPC detection range is lowered. |
Search Time RangeSearchTimeRange | 10, 14 | How long the NPC should keep searching for its lost target before giving up and going back to idle. |
Death ParticlesDeathParticles | Effect Death Bones | The particle system that spawns when the NPC's corpse disappears. |
Drop Death Items InstantlyDropDeathItemsInstantly | false | Whether the NPC's drop list should be executed when the NPC dies. If set to false, items drop when the corpse disappears. |
Death Animation TimeDeathAnimationTime | 1.5 | The time it takes for this NPC's corpse to disappear. |
Is MemoryIsMemory | false | Defines if the NPC is a memory |
Memories CategoryMemoriesCategory | Other | Defines the category of the memory |
Memories Name OverrideMemoriesNameOverride | — | Overrides the memory name if set |
Name Translation KeyNameTranslationKey | Template Skeleton Turret | Translation key for NPC name display |
Identifiers and data source
| Entity id | Template_Skeleton_Turret |
|---|---|
| Name key | — |
| Source file | Server/NPC/Roles/Undead/Skeleton/Templates/Template_Skeleton_Turret.json |
| Component class | — |
Data source: HytaleDB snapshot 0.7.3-8e1d7ab9 — Hytale Chapter 1 (0.7.3), locale en-US. See data details.