Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.1 / NPC / Roles / _Core / Tests_Development / Test_Separation_Path.json

Test_Separation_Path

Server/NPC/Roles/_Core/Tests_Development/Test_Separation_Path.json, 941 B

Fields

FieldType
Typestring
Appearancestring
ApplyAvoidanceboolean
ApplySeparationboolean
SeparationDistancenumber
SeparationModestring
MotionControllerListarray[1]
MaxHealthnumber
Instructionsarray[1]
NameTranslationKeystring

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"
}