Ghost

Game resources

Device Prop SkyScraper Latch Default

game_resourceIntrinsic/flexbuffers-json/Device_Prop_SkyScraper_Latch_Default

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Device_Prop_SkyScraper_Latch_Default.json
data
{
  "Modifiers": {
    "SkyScraper_Latch_Idle": {
      "Duration": -1,
      "ModifierMixins": [
        {
          "$type": "FieldRangeMixin",
          "IsFollow": false,
          "TotalDuration": -1,
          "ColliderConfig": {
            "ColliderType": "Box",
            "BoxColliderWidth": 3,
            "BoxColliderHeight": 2,
            "ColliderPosOffset": {
              "x": 0,
              "y": 0,
              "z": -4
            },
            "BoxColliderDistance": 8,
            "ColliderAngleOffset": {
              "x": 0,
              "y": 0,
              "z": 0
            }
          },
          "FieldInitPosRot": {
            "Offset": {
              "AngleOffset": {
                "x": 0,
                "y": 0,
                "z": 0
              },
              "IsUseRotationY": true,
              "PositionOffset": {
                "x": 0,
                "y": 0,
                "z": 0
              },
              "IsUseRotationXZ": false
            },
            "CoordsOption": "Self",
            "TargetOption": {
              "$type": "ConfigPosRotReferTarget",
              "OffsetReferTarget": "Self"
            },
            "NeedRaycastGround": true
          },
          "FieldEnterActions": [
            {
              "$type": "ApplyModifier",
              "Target": "Self",
              "Predicates": [
                {
                  "$type": "ByIsLocalAvatar",
                  "Target": "Target",
                  "IsLocalAvatar": true
                }
              ],
              "ModifierName": "SkyScraper_Latch_Open"
            }
          ]
        }
      ],
      "IgnoreTimeScale": false,
      "ModifierStacking": "Unique"
    },
    "SkyScraper_Latch_Open": {
      "OnAdded": [
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Self",
          "BoolVal": true,
          "ParamName": "Bool_IsOpen",
          "ParamType": 2
        },
        {
          "$type": "SetAnimCtrlerParamAction",
          "IntVal": 0,
          "Target": "Self",
          "ParamName": "Int_IdentifyResult",
          "ParamType": 3
        },
        {
          "$type": "RemoveModifier",
          "Target": "Self",
          "ModifierName": "SkyScraper_Latch_Idle"
        }
      ],
      "Duration": 2,
      "OnRemoved": [
        {
          "$type": "ApplyModifier",
          "Target": "Self",
          "ModifierName": "SkyScraper_Latch_Close"
        }
      ],
      "ModifierStacking": "Unique"
    },
    "SkyScraper_Latch_Close": {
      "Duration": 1,
      "OnRemoved": [
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Self",
          "BoolVal": false,
          "ParamName": "Bool_IsOpen",
          "ParamType": 2
        },
        {
          "$type": "ApplyModifier",
          "Target": "Self",
          "ModifierName": "SkyScraper_Latch_Idle"
        }
      ],
      "ModifierStacking": "Refresh"
    }
  },
  "AbilityName": "Device_Prop_SkyScraper_Latch_Default",
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "ApplyModifier",
        "Target": "Self",
        "ModifierName": "SkyScraper_Latch_Idle"
      }
    ]
  }
}
format
json
displayName
Device_Prop_SkyScraper_Latch_Default