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.
| Parameter | Value | Description |
|---|---|---|
| Enabled | true | Whether this component is enabled. |
Attack Melee DistanceAttackMeleeDistance | 2 | The distance at which an NPC will execute melee attacks. Used for reachability checks. |
Attack RangedAttackRanged | Root NPC Goblin Combat Throw Off | The ranged attack the NPC will execute. |
Attack Ranged Start DelayAttackRangedStartDelay | 3, 6 | How long the NPC will wait for (after the target is deemed unreachable) before switching to ranged attacks. |
Attack Ranged Angled Height Diff AboveAttackRangedAngledHeightDiffAbove | 2, 6 | The height difference range in which the target is considered to be at a steep angle, when above the target. |
Attack Ranged Angled Height Diff BelowAttackRangedAngledHeightDiffBelow | -4, 2 | The height difference range in which the target is considered to be at a steep angle, when below the target. |
Attack Ranged Angled DistanceAttackRangedAngledDistance | 6, 10 | The 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 TimeAttackRangedAimTime | 2, 3 | The time interval it takes for the NPC to aim at a target. |
Attack Ranged Cooldown TimeAttackRangedCooldownTime | 2, 4 | The cooldown between consecutive attacks. |
Attack Ranged Require Lo SAttackRangedRequireLoS | true | Whether the ranged attack requires LoS. |
Give Up TimeoutGiveUpTimeout | 5, 8 | The delay after which the NPC will give up on the target. |
Give Up DistanceGiveUpDistance | 24 | The distance at which the NPC will give up on attacking the target. |
Leash Min DistanceLeashMinDistance | 30 | How far away the NPC has to be from its leash position to give up on a target. |
Alerted RangeAlertedRange | 45 | The NPC's alerted ranged. Used for head motion. |
Combat Moving Relative SpeedCombatMovingRelativeSpeed | 0.6 | The relative speed to use during combat specific movement (e.g. to achieve slower strafing). |
Combat Backwards Relative SpeedCombatBackwardsRelativeSpeed | 0.3 | The relative speed to use during combat when backing away from target. |
Attack Ranged Start AnimationAttackRangedStartAnimation | Angry | The animation that gets played before the NPC starts the throw off behaviour |
Attack Ranged Start Animation ChanceAttackRangedStartAnimationChance | 80 | The chance the pre-throw off animation will play |
Attack Ranged End AnimationAttackRangedEndAnimation | Taunt | The animation that gets played after the throw off behaviour (target was made reachable again) |
Attack Ranged End Animation ChanceAttackRangedEndAnimationChance | 80 | The chance the post-throw off animation will play |
Identifiers and data source
| Entity id | Component_Instruction_Ranged_When_Unreachable |
|---|---|
| Name key | — |
| Source file | Server/NPC/Roles/_Core/Components/Instructions/Combat/Component_Instruction_Ranged_When_Unreachable.json |
| Component class | Instruction |
Data source: HytaleDB snapshot 0.7.3-8e1d7ab9 — Hytale Chapter 1 (0.7.3), locale en-US. See data details.