Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.8.1 / NPC / Roles / _Core / Tests / Motion / Test_Ascent_Animation.json

Test_Ascent_Animation

Server/NPC/Roles/_Core/Tests/Motion/Test_Ascent_Animation.json, 1.7 KB

Fields

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

Source

{
  "Comment": "DisplayState",
  "$Comment": "MotionControllerMove, Collisions, BlockCollisions",
  "Type": "Generic",
  "Appearance": "Mannequin",
  "MotionControllerList": [
    {
      "Type": "Walk",
      "MaxWalkSpeed": 5,
      "Gravity": 10,
      "MaxFallSpeed": 20,
      "Acceleration": 10,
      "MaxClimbHeight": 2,
      "JumpHeight": 0,
      "MinJumpHeight": 1,
      "JumpForce": 1.5,
      "AscentAnimationType": "Climb",
      "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": [
        {
          "Continue": true,
          "Sensor": {
            "Type": "Any"
          },
          "Actions": [
            {
              "Type": "MakePath",
              "Path": {
                "Reference": "Component_Path_Square",
                "Modify": {
                  "Scale": 1
                }
              }
            }
          ]
        },
        {
          "Sensor": {
            "Type": "Path",
            "PathType": "TransientPath"
          },
          "BodyMotion": {
            "Type": "Path",
            "UseNodeViewDirection": true,
            "PickRandomAngle": true
          }
        },
        {
          "Sensor": {
            "Type": "Any"
          },
          "BodyMotion": {
            "Type": "Nothing"
          }
        }
      ]
    }
  ],
  "NameTranslationKey": "server.npcRoles.Test_Ascent_Animation.name"
}