Test_Find_Entity
Server/NPC/Roles/_Core/Tests/Pathfinding/Test_Find_Entity.json, 1020 B
Fields
| Field | Type |
|---|---|
Type | string |
Debug | string |
Appearance | string |
MotionControllerList | array[1] |
TestType | string |
MaxHealth | object |
Parameters | object |
Instructions | array[1] |
NameTranslationKey | string |
Source
{
"Type": "Generic",
"Debug": "Pathfinder",
"Appearance": "Zombie",
"MotionControllerList": [
{
"Type": "Walk",
"MaxWalkSpeed": 7,
"RunThreshold": 0.7,
"RunThresholdRange": 0.1,
"Gravity": 10,
"MaxFallSpeed": 20,
"Acceleration": 10,
"MaxClimbHeight": 1,
"DescendFlatness": 0.7,
"DescendSpeedCompensation": 0.5
}
],
"TestType": "Normal",
"MaxHealth": { "Compute": "MaxHealth" },
"Parameters": {
"MaxHealth": {
"Value": 100,
"Description": "Max health for the NPC"
}
},
"Instructions": [
{
"Instructions": [
{
"Sensor": {
"Type": "Player",
"Range": 20
},
"BodyMotion": {
"Type": "Seek",
"SlowDownDistance": 3,
"StopDistance": 1.5,
"RelativeSpeed": 0.8,
"RecomputeDistance": 0
}
}
]
}
],
"NameTranslationKey": "server.npcRoles.Test_Find_Entity.name"
}