Component Instruction Ranged When Unreachable

Creature

Component Instruction Ranged When Unreachable

Creature

Defines 20 tuning parameters — see the table below.

Parameters

Tuning values this creature declares. Labels are plain-language versions of the game's parameter names, which stay underneath for reference.

ParameterValueDescription
EnabledtrueWhether this component is enabled.
Attack Melee Distance
AttackMeleeDistance
2The distance at which an NPC will execute melee attacks. Used for reachability checks.
Attack Ranged
AttackRanged
Root NPC Goblin Combat Throw OffThe ranged attack the NPC will execute.
Attack Ranged Start Delay
AttackRangedStartDelay
3, 6How long the NPC will wait for (after the target is deemed unreachable) before switching to ranged attacks.
Attack Ranged Angled Height Diff Above
AttackRangedAngledHeightDiffAbove
2, 6The height difference range in which the target is considered to be at a steep angle, when above the target.
Attack Ranged Angled Height Diff Below
AttackRangedAngledHeightDiffBelow
-4, 2The height difference range in which the target is considered to be at a steep angle, when below the target.
Attack Ranged Angled Distance
AttackRangedAngledDistance
6, 10The distance the NPC will maintain from a target at a steep angle above it. When the target is below, the NPC will move closer to the ledge as possible.
Attack Ranged Aim Time
AttackRangedAimTime
2, 3The time interval it takes for the NPC to aim at a target.
Attack Ranged Cooldown Time
AttackRangedCooldownTime
2, 4The cooldown between consecutive attacks.
Attack Ranged Require Lo S
AttackRangedRequireLoS
trueWhether the ranged attack requires LoS.
Give Up Timeout
GiveUpTimeout
5, 8The delay after which the NPC will give up on the target.
Give Up Distance
GiveUpDistance
24The distance at which the NPC will give up on attacking the target.
Leash Min Distance
LeashMinDistance
30How far away the NPC has to be from its leash position to give up on a target.
Alerted Range
AlertedRange
45The NPC's alerted ranged. Used for head motion.
Combat Moving Relative Speed
CombatMovingRelativeSpeed
0.6The relative speed to use during combat specific movement (e.g. to achieve slower strafing).
Combat Backwards Relative Speed
CombatBackwardsRelativeSpeed
0.3The relative speed to use during combat when backing away from target.
Attack Ranged Start Animation
AttackRangedStartAnimation
AngryThe animation that gets played before the NPC starts the throw off behaviour
Attack Ranged Start Animation Chance
AttackRangedStartAnimationChance
80The chance the pre-throw off animation will play
Attack Ranged End Animation
AttackRangedEndAnimation
TauntThe animation that gets played after the throw off behaviour (target was made reachable again)
Attack Ranged End Animation Chance
AttackRangedEndAnimationChance
80The chance the post-throw off animation will play
Identifiers and data source
Entity idComponent_Instruction_Ranged_When_Unreachable
Name key—
Source fileServer/NPC/Roles/_Core/Components/Instructions/Combat/Component_Instruction_Ranged_When_Unreachable.json
Component classInstruction

Data source: HytaleDB snapshot 0.7.3-8e1d7ab9 — Hytale Chapter 1 (0.7.3), locale en-US. See data details.