Test_Jumping
Server/NPC/Roles/_Core/Tests/Motion/Test_Jumping.json, 1.2 KB
Fields
| Field | Type |
|---|---|
Comment | string |
$Comment | string |
Type | string |
Appearance | string |
MotionControllerList | array[1] |
TestType | string |
MaxHealth | object |
Parameters | object |
Instructions | array[1] |
NameTranslationKey | string |
Source
{
"Comment": "DisplayState",
"$Comment": "MotionControllerMove, Collisions, BlockCollisions",
"Type": "Generic",
"Appearance": "Rat",
"MotionControllerList": [
{
"Type": "Walk",
"MaxWalkSpeed": 5,
"Gravity": 10,
"MaxFallSpeed": 20,
"Acceleration": 10,
"MaxClimbHeight": 1,
"JumpHeight": 1.5,
"MinJumpHeight": 1,
"JumpForce": 1.5,
"JumpDescentSteepness": 1,
"DescentAnimationType": "Fall",
"DescentSteepness": 2.5,
"DescentBlending": 1
}
],
"TestType": "Normal",
"MaxHealth": { "Compute": "MaxHealth" },
"Parameters": {
"MaxHealth": {
"Value": 100,
"Description": "Max health for the NPC"
}
},
"Instructions": [
{
"Instructions": [
{
"Sensor": {
"Type": "Path",
"PathType": "WorldPath",
"Path": "Test"
},
"BodyMotion": {
"Type": "Path"
}
},
{
"Sensor": {
"Type": "Any"
},
"BodyMotion": {
"Type": "Wander"
}
}
]
}
],
"NameTranslationKey": "server.npcRoles.Test_Jumping.name"
}