Template Animal Neutral

NPC · Core definition

Template Animal Neutral

AbstractTemplate_Animal_Neutral
Parameters51
Derived NPCs54

NPCs based on this definition

Parameters

ParameterValueDescription
AppearanceDeer_StagThe NPC's model.
ParticleOffset[0,1,0]The offset of any spawned particle systems.
WanderRadius7The wander radius of the NPC.
ViewRange16The view distance of the NPC, in blocks.
ViewSector180The view sector of the NPC, in degrees.
HearingRange8The hearing distance of the NPC, in blocks.
AbsoluteDetectionRange4The range at which a target is guaranteed to be detected, in blocks. If set to zero, absolute detection will be disabled. The interval [ AbsoluteDetectionRange, AlertedActionRange ] defines the distance range within which an NPC can be befriended.
AlertedRange18The range within which the target can be seen/sensed when the NPC is alerted to their presence, in blocks. Should be higher than sense ranges.
AlertedActionRange8The range at which an NPC will react to other NPCs and players, depending on the attitude towards them, in blocks. Should be higher than AbsoluteDetectionRange to make the NPC befriendable.
LeashDistance20The range at which an NPC will start to want to return to their spawn point, in blocks.
AttractiveItemSet[]The list of items that are deemed attractive (there's a chance targets holding them will be followed).
AttractiveItemSetParticlesWant_Food_CarrotThe particle system that spawns to indicate the NPC's liked item(s).
WeightFollowItem100The probability the NPC will follow an attractive item when held by a non-hostile target, in percent.
FollowItemAlwaystrueWhether the NPC will follow an attractive item indefinitely. If set to false, make sure FollowItemTimeout is properly configured.
FollowItemPreDelay[1,2]The time delay before an NPC starts following an item.
FollowItemTimeout[20,40]The duration of the follow item behaviour, after which the NPC will give up on the target. Requires FollowItemAlways to be set to false.
DropListEmptyThe NPC's drop list.
FlockArray[]The set of NPCs belonging to this flock type
ClimbHeight1The maximum climb height, in blocks.
AttitudeGroupPreyThe attitude group this NPC belongs to.
PlayerDefaultAttitudeNeutralThe default attitude towards the player.
AlertedTimeoutGiveUp[5,8]The timeout after which an alerted NPC will give up on the target, in seconds.
GrazingBlockSetGrassThe type of block that this NPC will graze on top of.
FoodBlockSetHayThe type of block that this NPC will occasionally seek out to munch on.
DayTimePeriod[6.01,17.99]The hour range considered to be daytime for this NPC (inclusive). Hours should be written with decimal fractions.
DayTimeNapWeight2The weight used to determine if the NPC should have a short nap during the day. Set to 0 to disable.
DayTimeNapTimeRange[10,12]The duration range of daytime naps, in seconds.
DayFlavorAnimationThe flavor animation to play during the day. Ignored if null or empty.
IgnoreOverrideTime20The duration of the ignore attitude override for the target.
IsTameablefalseWhether this NPC can be tamed.
TameRequiredAttitudes["Friendly","Neutral"]The attitude groups of players that can tame the NPC.
TameRoleChangeTamed_SheepThe role the NPC will change into when it's tamed.
ProduceItemThe item this NPC produces (poop, eggs, etc).
ProduceTimeout["PT6H","PT36H"]The timeout between consecutive produces.
DayFlavorAnimationLength[3,5]How long the daytime flavor animation will be played for, in seconds.
TimidfalseWhether this NPC is timid or not. Timid NPCs are harder to approach and befriend.
AttackWhenStartledfalseWhether this NPC attacks when startled.
AttackThe attack interaction this NPC will use.
AttackRange5The range at which the NPC can identify an attacker.
MaxSpeed4The maximum walking speed of the NPC.
MaxHealth100The maximum health of the NPC.
MaxRotationSpeed360The maximum rotation speed, in degrees per second.
RunThreshold0.5The speed ratio at which the NPC switches to run animation (e.g if MaxSpeed is 10, and RunThreshold is set to 0.55, the NPC will start running at speed 5.5).
DeathParticlesEffect_DeathThe particle system that spawns when the NPC's corpse disappears.
DropDeathItemsInstantlyfalseWhether the NPC's drop list should be executed when the NPC dies. If set to false, items drop when the corpse disappears.
DeathAnimationTime2The time it takes for this NPC's corpse to disappear.
IsMemoryfalseWhether the NPC is a memory.
MemoriesCategoryLivestockThe category of the memory.
MemoriesNameOverrideIf set, overrides the memory name.
BreathesInWaterfalseWhether this NPC can breathe underwater.
NameTranslationKeyserver.npcRoles.Template.nameThe translation key for the NPC name display
Identifiers and data source
Entity idTemplate_Animal_Neutral
Name key—
Source fileServer/NPC/Roles/_Core/Templates/Template_Animal_Neutral.json
Component class—

Data source: HytaleDB snapshot 0.6.8-80059944 (Hytale 0.6.8), locale en-US. See data details.