GTFO-Modding / ExtraEnemyCustomization

Add more Enemy Customization for DataBlock editing
0 stars 1 forks source link

Bone prefab #32

Closed Flowaria closed 2 years ago

Flowaria commented 2 years ago
"BoneCustom": [
    {
      "Enabled": false,
      "DebugName": "Cursed",
      "Target": {
        "Mode": "Everything",
        "persistentIDs": [],
        "nameParam": "",
        "nameIgnoreCase": true,
        "categories": []
      },
      "Bones": [
        {
          "Bone": "Head", //https://docs.unity3d.com/ScriptReference/HumanBodyBones.html
          "UsingRelativeScale": true, //Using Relative Scale for Scale Property? (OrginalScale * Scale)
          "Scale": {
            "x": 1.0,
            "y": 1.0,
            "z": 1.0
          },
          "Offset": {
            "x": 0.45,
            "y": 0.0,
            "z": 0.0
          },
          "RotationOffset": {
            "x": 90.0,
            "y": 90.0,
            "z": -90.0
          }
        }
      ],
//Newly Added!
      "Prefabs": [
        {
          "Bone": "Head",
          "Prefab": "Assets/PrefabToAttach",
          "Scale": "1, 1, 1",
          "Position": "0, 0, 0",
          "Rotation": "0, 0, 0"
        }
      ]
    }
  ],