Template Spider

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.

ParameterValueDescription
AppearanceSpiderModel to be used.
Max Health
MaxHealth
60Max health for the NPC.
Max Speed
MaxSpeed
10Maximum walking speed.
View Range
ViewRange
16The range from which the target will be seen. If zero, sight will be disabled.
View Sector
ViewSector
180The view sector within which the target needs to be to be seen.
Hearing Range
HearingRange
8The range from which the target will be heard. If zero, hearing will be disabled.
Absolute Detection Range
AbsoluteDetectionRange
4The range at which a target is guaranteed to be detected. If zero, absolute detection will be disabled.
Web Detection Block Set
WebDetectionBlockSet
WebOptional blockset that this NPC will passively detect steps on.
Web Detection Range
WebDetectionRange
10Detection range for the block step detection.
Web Investigate Relative Speed
WebInvestigateRelativeSpeed
0.75The relative motion speed at which the NPC will investigate a stepped block
Idle Wander Weight
IdleWanderWeight
10Parameter IdleWanderWeight
Idle Nothing Weight
IdleNothingWeight
0Parameter IdleNothingWeight
Idle Wander Radius
IdleWanderRadius
8General wander radius.
Idle Despawn
IdleDespawn
falseWhether the NPC despawns after some time in the idle state
Idle Despawn Time
IdleDespawnTime
10, 15The timeout before an NPC in the idle state despawns
Alerted Range
AlertedRange
28A range within which the target can be seen/sensed when the NPC is alerted to their presence. Should be higher than sense ranges.
Drop List
DropList
SpiderDrop Items.
Run Threshold
RunThreshold
0.55At what ratio NPC switches to run animation e.g MaxSpeed is 10, at RunThreshold 0.55 NPC will run at speed 5.5.
Alerted Timeout
AlertedTimeout
2, 2The time delay before an alerted NPC transitions to combat
Afraid Items
AfraidItems
*Torch*, Flamethrower*The items the spider is afraid of
Afraid Distance Range
AfraidDistanceRange
4, 6The distance the NPC will keep from targets holding items it's afraid of
Afraid Animation Frequency
AfraidAnimationFrequency
2, 4The time delay between consecutive animations while in the afraid state
Combat Message Target Groups
CombatMessageTargetGroups
SpidersThe NPC groups this NPC will warn when entering combat
Combat Moving Relative Speed
CombatMovingRelativeSpeed
0.6Relative speed to use during combat specific movement (e.g. to achieve slower strafing).
AttackRoot NPC Attack MeleeThe attack to use.
Attack Distance
AttackDistance
2.5The distance to attack from.
Attitude Group
AttitudeGroup
SpiderThis NPC's attitude group.
Attack Pause Range
AttackPauseRange
2, 3The range for absolute minimum time before an NPC can execute a second attack.
Combat Behavior Distance
CombatBehaviorDistance
5The distance within which to switch from smart chasing to combat-oriented movement behavior.
Combat Direct Weight
CombatDirectWeight
10Weight 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 Range
CombatStrafingDurationRange
1, 4How long to strafe for when in the combat strafing movement behavior. Only applies if CombatStrafeWeight is greater than 0.
Combat Strafing Frequency Range
CombatStrafingFrequencyRange
2, 2How frequently to strafe when in the combat strafing movement behavior. Only applies if CombatStrafeWeight is greater than 0.
Knockback Scale
KnockbackScale
0.5Scale factor for knockback.
Hidden UI Components
HiddenUIComponents
UI components hidden on this NPC.
Climb Height
ClimbHeight
1The maximum climb height, in blocks.
Min Jump Height
MinJumpHeight
0.8The minimum jump height.
Ascent Animation Type
AscentAnimationType
ClimbAnimation when climbing up. Options: Walk, Jump, Climb, Fly, Idle.
Climb Speed Mult
ClimbSpeedMult
0Climb speed multiplier (const + mult * walkspeed^pow).
Climb Speed Pow
ClimbSpeedPow
1Climb speed power (const + mult * walkspeed^pow).
Climb Speed Const
ClimbSpeedConst
5Climb speed constant (const + mult * walkspeed^pow).
Descend Speed Compensation
DescendSpeedCompensation
0.9Factor to compensate forward speed reduction while moving downwards.
Descend Flatness
DescendFlatness
0.7Relative scale how fast NPC moves forward while climbing down.
Descent Steepness
DescentSteepness
1.4The relative steepness of the descent.
Descent Blending
DescentBlending
1.8Blending of the descent pattern. 0 is linear, higher values more curved.
Leash Distance
LeashDistance
20The range after which an NPC will start to want to return to their spawn point.
Leash Distance Return
LeashDistanceReturn
2How close the NPC will want to get to the leash position before returning to idle
Leash Relative Speed
LeashRelativeSpeed
0.6The relative speed at which the NPC will return to its leash position
Confused Time Range
ConfusedTimeRange
1, 2How 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 Range
SearchTimeRange
5, 8How long the NPC should actively search for its lost target before giving up and going back to idle.
Disable Damage Groups
DisableDamageGroups
SpidersGroups not to take damage from.
Death Particles
DeathParticles
Effect Death MediumThe particle system that spawns when the NPC's corpse disappears.
Drop Death Items Instantly
DropDeathItemsInstantly
falseWhether the NPC's drop list should be executed when the NPC dies. If set to false, items drop when the corpse disappears.
Death Animation Time
DeathAnimationTime
1.5The time it takes for this NPC's corpse to disappear.
Is Memory
IsMemory
falseDefines if the NPC is a memory
Memories Category
MemoriesCategory
PredatorDefines the category of the memory
Memories Name Override
MemoriesNameOverride
—Overrides the memory name if set
Name Translation Key
NameTranslationKey
Template SpiderTranslation key for NPC name display
Hit Interrupt Enabled
HitInterruptEnabled
falseWhether hits can interrupt this NPC's melee attacks.
Flinch Animation
FlinchAnimation
HurtThe flinch animation from this NPC's model.
Identifiers and data source
Entity idTemplate_Spider
Name key—
Source fileServer/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.