Test_Walk_Leave
Server/NPC/Roles/_Core/Tests/Motion/Test_Walk_Leave.json, 1006 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": "Cat",
"MotionControllerList": [
{
"Type": "Walk",
"MaxWalkSpeed": 6,
"MaxRotationSpeed": 360,
"RunThreshold": 0.7,
"RunThresholdRange": 0.1,
"Gravity": 10,
"MaxFallSpeed": 20,
"Acceleration": 20,
"MaxClimbHeight": 1,
"JumpHeight": 1.5,
"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": "Any"
},
"BodyMotion": {
"Type": "Leave",
"Distance": 40,
"BuildOptimisedPath": true,
"Debug": "Status"
}
}
]
}
],
"NameTranslationKey": "server.npcRoles.Test_Walk_Leave.name"
}