NPC · Core definition
Template Spirit
Abstract
Template_SpiritParameters23
Parameters
| Parameter | Value | Description |
|---|---|---|
Appearance | Spirit_Root | Model to be used |
ViewRange | 20 | View range |
ViewSector | 180 | View sector |
AlertedRange | 30 | A range within which the player can be seen/sensed when the NPC is alerted to their presence |
DropList | Empty | Drop Items |
MaxSpeed | 5 | Maximum walking speed |
LeashDistance | 20 | How far to move before leashing |
AttackSequence | Component_Instruction_Attack_Sequence_Spirit | The attack sequence to use in combat |
AttackDistance | 8 | The distance at which an NPC will execute attacks |
DesiredAttackDistanceRange | [5,8] | Desired attack distance range |
TargetSwitchTimer | [5,5] | Minimum time the NPC will be locked onto a single target before switching |
TargetRange | 10 | The distance the target needs to be within to maintain priority over other targets while in combat |
RelativeChaseSpeed | 0.8 | The relative chase speed when pursuing a target |
AttitudeGroup | Empty | This NPCs attitude group |
CombatRelativeTurnSpeed | 1.5 | Modifier that decides turn speed difference in combat |
MaxHealth | 100 | Max health for the NPC |
DeathParticles | Effect_Death | The particle system that spawns when the NPC's corpse disappears. |
DropDeathItemsInstantly | false | Whether the NPC's drop list should be executed when the NPC dies. If set to false, items drop when the corpse disappears. |
DeathAnimationTime | 1.5 | The time it takes for this NPC's corpse to disappear. |
IsMemory | false | Defines if the NPC is a memory |
MemoriesCategory | Other | Defines the category of the memory |
MemoriesNameOverride | Overrides the memory name if set | |
NameTranslationKey | server.npcRoles.Template.name | Translation key for NPC name display |
Identifiers and data source
| Entity id | Template_Spirit |
|---|---|
| Name key | — |
| Source file | Server/NPC/Roles/_Core/Templates/Deprecated/Template_Spirit.json |
| Component class | — |
Data source: HytaleDB snapshot 0.6.8-80059944 (Hytale 0.6.8), locale en-US. See data details.