Skip to content
joscha999 edited this page Oct 19, 2019 · 2 revisions

Example placeable

A rather expensive Bench with partially custom I18n and one custom Sprite.

{
  "ComponentConfigData": [
    {
      "$type": "POConfig_RestUtility, Assembly-CSharp",
      "moveableChair": false,
      "TimingDisplayCategory": 4,
      "acceptsQueueGeometry": false,
      "queueEnabled": false,
      "concurrency": 4
    }
  ],
  "DisplayCategories": [
    30,
    50
  ],
  "RequiredLevels": [],
  "requiredAdministrators": [],
  "Hidden": false,
  "CreatePrice": -5000.0,
  "HourlyPrice": 0.0,
  "HourlyPriceCategory": 2,
  "isDestroyable": true,
  "bWriteToMapCache": true,
  "MaxAllowed": -1,
  "requiresSecureArea": false,
  "requiresSectorRebuild": false,
  "PlacementSound": 3,
  "snapToGridSize": 1,
  "constructionType": 1,
  "constructionDuration": 180.0,
  "Properties": [
    1,
    18
  ],
  "BlockedBy": [
    0,
    1,
    2
  ],
  "width": 4,
  "height": 1,
  "StaffRequired": 0,
  "Maintainable_MTBF": -1,
  "path": "ModdedPlaceable/Bench",
  "rotateType": 1,
  "frontFacing": {
    "enabled": true,
    "markers": [
      {
        "receiverType": 0,
        "position": {
          "x": 0.5,
          "y": 0.4
        },
        "orientation": {
          "x": 0.0,
          "y": -1.0
        },
        "tag": "(tag)",
        "blocksConstruction": true,
        "rotateEnabled": false,
        "RelativeLevel": 0
      },
      {
        "receiverType": 0,
        "position": {
          "x": 1.5,
          "y": 0.4
        },
        "orientation": {
          "x": 0.0,
          "y": -1.0
        },
        "tag": "(tag)",
        "blocksConstruction": true,
        "rotateEnabled": false,
        "RelativeLevel": 0
      },
      {
        "receiverType": 0,
        "position": {
          "x": 2.5,
          "y": 0.4
        },
        "orientation": {
          "x": 0.0,
          "y": -1.0
        },
        "tag": "(tag)",
        "blocksConstruction": true,
        "rotateEnabled": false,
        "RelativeLevel": 0
      },
      {
        "receiverType": 0,
        "position": {
          "x": 3.5,
          "y": 0.4
        },
        "orientation": {
          "x": 0.0,
          "y": -1.0
        },
        "tag": "(tag)",
        "blocksConstruction": true,
        "rotateEnabled": false,
        "RelativeLevel": 0
      }
    ],
    "sprites": [
      {
        "sortingOrder": -0.6,
        "localPosition": {
          "x": 0.0,
          "y": 0.0
        },
        "localRotation": 0.0,
        "relativeLevel": 0,
        "sprite": "ModdedBenchA_Front"
      }
    ]
  },
  "backFacing": {
    "enabled": true,
    "markers": [
      {
        "receiverType": 0,
        "position": {
          "x": 0.5,
          "y": 0.46
        },
        "orientation": {
          "x": 0.0,
          "y": 1.0
        },
        "tag": "(tag)",
        "blocksConstruction": true,
        "rotateEnabled": false,
        "RelativeLevel": 0
      },
      {
        "receiverType": 0,
        "position": {
          "x": 1.5,
          "y": 0.46
        },
        "orientation": {
          "x": 0.0,
          "y": 1.0
        },
        "tag": "(tag)",
        "blocksConstruction": true,
        "rotateEnabled": false,
        "RelativeLevel": 0
      },
      {
        "receiverType": 0,
        "position": {
          "x": 2.5,
          "y": 0.46
        },
        "orientation": {
          "x": 0.0,
          "y": 1.0
        },
        "tag": "(tag)",
        "blocksConstruction": true,
        "rotateEnabled": false,
        "RelativeLevel": 0
      },
      {
        "receiverType": 0,
        "position": {
          "x": 3.5,
          "y": 0.46
        },
        "orientation": {
          "x": 0.0,
          "y": 1.0
        },
        "tag": "(tag)",
        "blocksConstruction": true,
        "rotateEnabled": false,
        "RelativeLevel": 0
      }
    ],
    "sprites": [
      {
        "sortingOrder": -0.5,
        "localPosition": {
          "x": 0.0,
          "y": 0.0
        },
        "localRotation": 0.0,
        "relativeLevel": 0,
        "sprite": "BenchA_Back"
      }
    ]
  },
  "leftFacing": {
    "enabled": true,
    "markers": [
      {
        "receiverType": 0,
        "position": {
          "x": 0.5,
          "y": 0.34
        },
        "orientation": {
          "x": -1.0,
          "y": 0.0
        },
        "tag": "(tag)",
        "blocksConstruction": true,
        "rotateEnabled": false,
        "RelativeLevel": 0
      },
      {
        "receiverType": 0,
        "position": {
          "x": 0.5,
          "y": 1.21
        },
        "orientation": {
          "x": -1.0,
          "y": 0.0
        },
        "tag": "(tag)",
        "blocksConstruction": true,
        "rotateEnabled": false,
        "RelativeLevel": 0
      },
      {
        "receiverType": 0,
        "position": {
          "x": 0.5,
          "y": 2.15
        },
        "orientation": {
          "x": -1.0,
          "y": 0.0
        },
        "tag": "(tag)",
        "blocksConstruction": true,
        "rotateEnabled": false,
        "RelativeLevel": 0
      },
      {
        "receiverType": 0,
        "position": {
          "x": 0.5,
          "y": 3.09
        },
        "orientation": {
          "x": -1.0,
          "y": 0.0
        },
        "tag": "(tag)",
        "blocksConstruction": true,
        "rotateEnabled": false,
        "RelativeLevel": 0
      }
    ],
    "sprites": [
      {
        "sortingOrder": -4.0,
        "localPosition": {
          "x": 0.0,
          "y": 0.0
        },
        "localRotation": 0.0,
        "relativeLevel": 0,
        "sprite": "BenchA_Left"
      }
    ]
  },
  "_i18nNameKey": "Olaf.ExpensiveBench.name",
  "_i18nDescKey": "Entities.Objects.Bench.description",
  "name": "ExpensiveBench"
}