Test_Separation_Path
Server/NPC/Roles/_Core/Tests_Development/Test_Separation_Path.json, 941 B
Fields
| Field | Type |
|---|---|
Type | string |
Appearance | string |
ApplyAvoidance | boolean |
ApplySeparation | boolean |
SeparationDistance | number |
SeparationMode | string |
MotionControllerList | array[1] |
MaxHealth | number |
Instructions | array[1] |
NameTranslationKey | string |
Source
{
"Type": "Generic",
"Appearance": "PlayerTestModel_V",
"ApplyAvoidance": false,
"ApplySeparation": true,
"SeparationDistance": 3,
"SeparationMode": "Push",
"MotionControllerList": [
{
"Type": "Walk",
"MaxWalkSpeed": 3,
"Gravity": 10,
"MaxFallSpeed": 20,
"Acceleration": 10
}
],
"MaxHealth": 100,
"Instructions": [
{
"Instructions": [
{
"Sensor": {
"Type": "Path",
"PathType": "CurrentPrefabPath",
"Path": "green_path"
},
"BodyMotion": {
"Type": "Path",
"PathWidth": 2,
"NodeWidth": 2,
"MinRelSpeed": 0.5,
"MaxRelSpeed": 0.8,
"MaxWalkDistance": 2,
"Shape": "Line",
"StartAtNearestNode": true
}
}
]
}
],
"NameTranslationKey": "server.npcRoles.Test_Separation_Path.name"
}