Hytale Asset ReferenceUnofficial
Versions / 0.4.0 / NPC / Roles / _Core / Tests / Test_Relative_Turn_Speed.json

Test_Relative_Turn_Speed

Server/NPC/Roles/_Core/Tests/Test_Relative_Turn_Speed.json, 1.5 KB

Fields

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

Source

{
  "Type": "Generic",
  "$Comment": "DoubleTestCheck",
  "Appearance": "Zombie",
  "MotionControllerList": [
    {
      "Type": "Walk",
      "MaxWalkSpeed": 2,
      "RunThreshold": 0.7,
      "RunThresholdRange": 0.1,
      "Gravity": 10,
      "MaxFallSpeed": 20,
      "Acceleration": 10,
      "MaxClimbHeight": 1,
      "DescendFlatness": 0.7,
      "DescendSpeedCompensation": 0.5
    }
  ],
  "TestType": "Normal",
  "MaxHealth": { "Compute": "MaxHealth" },
  "Parameters": {
    "MaxHealth": {
      "Value": 100,
      "Description": "Max health for the NPC"
    }
  },
  "Instructions": [
    {
      "Instructions": [
        {
          "Sensor": {
            "Type": "Player",
            "Range": 2
          },
          "HeadMotion": {
            "Type": "Aim",
            "RelativeTurnSpeed": 2
          }
        },
        {
          "Sensor": {
            "Type": "Player",
            "Range": 5
          },
          "HeadMotion": {
            "Type": "Aim",
            "RelativeTurnSpeed": 0.01
          }
        },
        {
          "Sensor": {
            "Type": "Player",
            "Range": 10
          },
          "HeadMotion": {
            "Type": "Aim",
            "RelativeTurnSpeed": 0.5
          }
        },
        {
          "Sensor": {
            "Type": "Player",
            "Range": 20
          },
          "HeadMotion": {
            "Type": "Aim",
            "RelativeTurnSpeed": 1
          }
        }
      ]
    }
  ],
  "NameTranslationKey": "server.npcRoles.Test_Relative_Turn_Speed.name"
}