NPC · Core definition
Template Goblin Ogre Tutorial
Abstract
Template_Goblin_Ogre_TutorialParameters25
Derived NPCs1
NPCs based on this definition
Parameters
| Parameter | Value | Description |
|---|---|---|
Appearance | Bear_Grizzly | Model to be used |
DropList | Empty | Drop Items |
MaxHealth | 100 | Max health for the NPC |
EatItem | Food_Beef_Raw | The item this NPC will find when it rummages for food |
SleepingAttack | Root_NPC_Attack_Melee | Attack to use on NPCs that annoy it while sleeping |
FoodNPCGroups | ["Edible_Rat"] | The groups of edible NPCs that will come from triggering the beacon |
FoodNPCBeacon | Edible_Rat | The spawn beacon to trigger to create an edible NPC |
FoodNPCItem | Food_Cheese | The edible NPC in item form |
ViewRange | 15 | View range in blocks |
ViewSector | 180 | View sector in degrees |
HearingRange | 8 | Hearing range in blocks |
AlertedRange | 30 | A range within which the player can be seen/sensed when the NPC is alerted to their presence |
DistractedPenalty | 2 | A factor by which view range and hearing range will be divided when this NPC is distracted |
AbsoluteDetectionRange | 4 | The range at which a target is guaranteed to be detected. If zero, absolute detection will be disabled. |
WarnGroups | ["Goblin_Scrapper"] | The groups to warn when spotting an enemy |
AttitudeGroup | Empty | This NPCs attitude group |
Attack | Root_NPC_Goblin_Ogre_Attack | The attack to use. |
AttackDistance | 2 | The distance at which an NPC will execute attacks |
AttackPauseRange | [1.5,2] | The range for absolute minimum time before an NPC can execute a second attack (or block). |
CombatRelativeTurnSpeed | 1.5 | Modifier that decides turn speed difference in combat. |
LeashDistance | 20 | The range after which an NPC will start to want to return to their spawn point. |
LeashMinPlayerDistance | 4 | The minimum distance from the player before the NPC will be willing to give up on the chase. |
LeashTimer | [3,5] | How long the NPC must be more than the minimum distance form the player and too far from leash before giving up. |
HardLeashDistance | 60 | An absolute maximum from the the leash position the NPC can go before turning back. |
NameTranslationKey | server.npcRoles.Template.name | Translation key for NPC name display |
Identifiers and data source
| Entity id | Template_Goblin_Ogre_Tutorial |
|---|---|
| Name key | — |
| Source file | Server/NPC/Roles/Intelligent/Aggressive/Goblin/Templates/Template_Goblin_Ogre_Tutorial.json |
| Component class | — |
Data source: HytaleDB snapshot 0.6.8-80059944 (Hytale 0.6.8), locale en-US. See data details.