Hytale Asset ReferenceUnofficial
Versions / 0.5.0-pre.9.2 / NPC / Roles / _Core / Tests / Paths / Test_Patrol_Path.json

Test_Patrol_Path

Server/NPC/Roles/_Core/Tests/Paths/Test_Patrol_Path.json, 1.2 KB

Fields

FieldType
Commentstring
$Commentstring
Typestring
Appearancestring
NameTranslationKeystring
MotionControllerListarray[1]
TestTypestring
MaxHealthobject
Parametersobject
Instructionsarray[1]

Source

{
  "Comment": "DisplayState",
  "$Comment": "MotionControllerMove, Collisions, BlockCollisions",
  "Type": "Generic",
  "Appearance": "Mannequin",
  "NameTranslationKey": "server.npcRoles.Test_Patrol_Path.name",
  "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": "AnyPrefabPath"
          },
          "BodyMotion": {
            "Type": "Path",
            "UseNodeViewDirection": true,
            "PickRandomAngle": true
          }
        },
        {
          "Sensor": {
            "Type": "Any"
          },
          "BodyMotion": {
            "Type": "Wander"
          }
        }
      ]
    }
  ]
}