BuildingFloorCoordDict: Difference between revisions
Jump to navigation
Jump to search
Stlnegril9 (talk | contribs) No edit summary |
Stlnegril9 (talk | contribs) update info on change to buildingfloor_xxx_L1.png |
||
| Line 1: | Line 1: | ||
Controls the building footprint shown during, and after, construction - relative to the respective image file (e.g. '''buildingfloor_201_L1.png''' and '''buildingfloor_201_L2.png''').<br> | |||
The X and Y values note the building entrance tile.<br> | |||
Note that some buildings (BoatYard, Harbour, Large Harbour, FishingHut, probably any building using PIER - "layerTypeToCreate": 3) will ignore buildingFloorCoordDict. <br> | Note that some buildings (BoatYard, Harbour, Large Harbour, FishingHut, probably any building using PIER - "layerTypeToCreate": 3) will ignore buildingFloorCoordDict. <br> | ||
Example entry in render.json<br> | Example entry in render.json<br> | ||
| Line 8: | Line 10: | ||
"201": { // building ID | "201": { // building ID | ||
"LEVEL_1": { // building level 1 | "LEVEL_1": { // building level 1 | ||
"x": | "x": 1, // x coord of entrance | ||
"y": 0 // y coord of entrance | "y": 0 // y coord of entrance | ||
}, | }, | ||
Revision as of 22:30, 19 December 2022
Controls the building footprint shown during, and after, construction - relative to the respective image file (e.g. buildingfloor_201_L1.png and buildingfloor_201_L2.png).
The X and Y values note the building entrance tile.
Note that some buildings (BoatYard, Harbour, Large Harbour, FishingHut, probably any building using PIER - "layerTypeToCreate": 3) will ignore buildingFloorCoordDict.
Example entry in render.json
{
"buildingFloorCoordDict": {
"201": { // building ID
"LEVEL_1": { // building level 1
"x": 1, // x coord of entrance
"y": 0 // y coord of entrance
},
"LEVEL_2": { // building level 2
"x": 0, // x coord of entrance
"y": 0 // y coord of entrance
}
}
}
}