Creature template
Template Spider
Template
A reusable definition — 3 creatures below build 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 | Spider | Model to be used. |
Max HealthMaxHealth | 60 | Max health for the NPC. |
Max SpeedMaxSpeed | 10 | Maximum walking speed. |
View RangeViewRange | 16 | The range from which the target will be seen. If zero, sight will be disabled. |
View SectorViewSector | 180 | 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 | 4 | The range at which a target is guaranteed to be detected. If zero, absolute detection will be disabled. |
Web Detection Block SetWebDetectionBlockSet | Web | Optional blockset that this NPC will passively detect steps on. |
Web Detection RangeWebDetectionRange | 10 | Detection range for the block step detection. |
Web Investigate Relative SpeedWebInvestigateRelativeSpeed | 0.75 | The relative motion speed at which the NPC will investigate a stepped block |
Idle Wander WeightIdleWanderWeight | 10 | Parameter IdleWanderWeight |
Idle Nothing WeightIdleNothingWeight | 0 | Parameter IdleNothingWeight |
Idle Wander RadiusIdleWanderRadius | 8 | General wander radius. |
Idle DespawnIdleDespawn | false | Whether the NPC despawns after some time in the idle state |
Idle Despawn TimeIdleDespawnTime | 10, 15 | The timeout before an NPC in the idle state despawns |
Alerted RangeAlertedRange | 28 | A range within which the target can be seen/sensed when the NPC is alerted to their presence. Should be higher than sense ranges. |
Drop ListDropList | Spider | Drop Items. |
Run ThresholdRunThreshold | 0.55 | At what ratio NPC switches to run animation e.g MaxSpeed is 10, at RunThreshold 0.55 NPC will run at speed 5.5. |
Alerted TimeoutAlertedTimeout | 2, 2 | The time delay before an alerted NPC transitions to combat |
Afraid ItemsAfraidItems | *Torch*, Flamethrower* | The items the spider is afraid of |
Afraid Distance RangeAfraidDistanceRange | 4, 6 | The distance the NPC will keep from targets holding items it's afraid of |
Afraid Animation FrequencyAfraidAnimationFrequency | 2, 4 | The time delay between consecutive animations while in the afraid state |
Combat Message Target GroupsCombatMessageTargetGroups | Spiders | The NPC groups this NPC will warn when entering combat |
Combat Moving Relative SpeedCombatMovingRelativeSpeed | 0.6 | Relative speed to use during combat specific movement (e.g. to achieve slower strafing). |
| Attack | Root NPC Attack Melee | The attack to use. |
Attack DistanceAttackDistance | 2.5 | The distance to attack from. |
Attitude GroupAttitudeGroup | Spider | This NPC's attitude group. |
Attack Pause RangeAttackPauseRange | 2, 3 | The range for absolute minimum time before an NPC can execute a second attack. |
Combat Behavior DistanceCombatBehaviorDistance | 5 | The distance within which to switch from smart chasing to combat-oriented movement behavior. |
Combat Direct WeightCombatDirectWeight | 10 | Weight for the direct combat movement behavior (i.e. just going straight at the target, maintaining a close distance and attacking. Set to 0 to disable. |
Combat Strafing Duration RangeCombatStrafingDurationRange | 1, 4 | How long to strafe for when in the combat strafing movement behavior. Only applies if CombatStrafeWeight is greater than 0. |
Combat Strafing Frequency RangeCombatStrafingFrequencyRange | 2, 2 | How frequently to strafe when in the combat strafing movement behavior. Only applies if CombatStrafeWeight is greater than 0. |
Knockback ScaleKnockbackScale | 0.5 | Scale factor for knockback. |
Hidden UI ComponentsHiddenUIComponents | UI components hidden on this NPC. | |
Climb HeightClimbHeight | 1 | The maximum climb height, in blocks. |
Min Jump HeightMinJumpHeight | 0.8 | The minimum jump height. |
Ascent Animation TypeAscentAnimationType | Climb | Animation when climbing up. Options: Walk, Jump, Climb, Fly, Idle. |
Climb Speed MultClimbSpeedMult | 0 | Climb speed multiplier (const + mult * walkspeed^pow). |
Climb Speed PowClimbSpeedPow | 1 | Climb speed power (const + mult * walkspeed^pow). |
Climb Speed ConstClimbSpeedConst | 5 | Climb speed constant (const + mult * walkspeed^pow). |
Descend Speed CompensationDescendSpeedCompensation | 0.9 | Factor to compensate forward speed reduction while moving downwards. |
Descend FlatnessDescendFlatness | 0.7 | Relative scale how fast NPC moves forward while climbing down. |
Descent SteepnessDescentSteepness | 1.4 | The relative steepness of the descent. |
Descent BlendingDescentBlending | 1.8 | Blending of the descent pattern. 0 is linear, higher values more curved. |
Leash DistanceLeashDistance | 20 | The range after which an NPC will start to want to return to their spawn point. |
Leash Distance ReturnLeashDistanceReturn | 2 | How close the NPC will want to get to the leash position before returning to idle |
Leash Relative SpeedLeashRelativeSpeed | 0.6 | The relative speed at which the NPC will return to its leash position |
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 | 5, 8 | How long the NPC should actively search for its lost target before giving up and going back to idle. |
Disable Damage GroupsDisableDamageGroups | Spiders | Groups not to take damage from. |
Death ParticlesDeathParticles | Effect Death Medium | 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 | Predator | Defines the category of the memory |
Memories Name OverrideMemoriesNameOverride | — | Overrides the memory name if set |
Name Translation KeyNameTranslationKey | Template Spider | Translation key for NPC name display |
Hit Interrupt EnabledHitInterruptEnabled | false | Whether hits can interrupt this NPC's melee attacks. |
Flinch AnimationFlinchAnimation | Hurt | The flinch animation from this NPC's model. |
Identifiers and data source
| Entity id | Template_Spider |
|---|---|
| Name key | — |
| Source file | Server/NPC/Roles/Creature/Vermin/Templates/Template_Spider.json |
| Component class | — |
Data source: HytaleDB snapshot 0.7.3-8e1d7ab9 — Hytale Chapter 1 (0.7.3), locale en-US. See data details.