ModUnitPositions: Difference between revisions
Jump to navigation
Jump to search
Stlnegril9 (talk | contribs) Created page with "table of UnitPositions in buildings.json <br> =JSON= Table of UnitPositions: {| class="wikitable sortable" style="text-align: center" |- ! Value !! Type !! Description !! Exa..." |
Stlnegril9 (talk | contribs) No edit summary |
||
| Line 20: | Line 20: | ||
| location, with sub and rotation of "home" | | location, with sub and rotation of "home" | ||
| {"coord": {"x": -1,"y": 1},"subX": -0.3,"subY": 0.0,"rotationY": 0.0} | | {"coord": {"x": -1,"y": 1},"subX": -0.3,"subY": 0.0,"rotationY": 0.0} | ||
|- | |||
| workLayerOffset | |||
| array | |||
| location, with sub and rotation of "work" | |||
| {"coord": {"x": -1,"y": 1},"subX": -0.3,"subY": 0.0,"rotationY": 0.0} | |||
|- | |||
| homeLayerOffsetDict | |||
| array | |||
| Level-specific location of "home" | |||
| see Watchtower | |||
|- | |||
| workLayerOffsetDict | |||
| array | |||
| Level-specific location of "work" | |||
| see Watchtower | |||
|- | |- | ||
|} | |} | ||
Revision as of 21:52, 30 July 2022
table of UnitPositions in buildings.json
JSON
Table of UnitPositions:
| Value | Type | Description | Example/Link |
|---|---|---|---|
| unitTypeId | integer | bot/unit | BotUnitModIDs |
| isInitial | boolean | bot printed before construction complete | "true" |
| homeLayerOffset | array | location, with sub and rotation of "home" | {"coord": {"x": -1,"y": 1},"subX": -0.3,"subY": 0.0,"rotationY": 0.0} |
| workLayerOffset | array | location, with sub and rotation of "work" | {"coord": {"x": -1,"y": 1},"subX": -0.3,"subY": 0.0,"rotationY": 0.0} |
| homeLayerOffsetDict | array | Level-specific location of "home" | see Watchtower |
| workLayerOffsetDict | array | Level-specific location of "work" | see Watchtower |