BuildingFloorCoordDict: Difference between revisions

From The Colonists
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
placeholder - explanation of building footprint shown during construction - relative to floor_buildings.png, floor_base.png, or floor_base.png files<br>
placeholder - explanation of building footprint shown during construction - relative to '''floor_buildings.png''', '''floor_base.png''', or '''floor_extra.png''' files<br>
Note that some buildings (BoatYard, Harbour, Large Harbour, FishingHut, probably any building using PIER - "layerTypeToCreate": 3) will ignore buildingFloorCoordDict. <br> "Floor" is built into the 3D assets. <br>
Note that some buildings (BoatYard, Harbour, Large Harbour, FishingHut, probably any building using PIER - "layerTypeToCreate": 3) will ignore buildingFloorCoordDict. <br> "Floor" is built into the 3D assets. <br>
Example entry in render.json<br>
Example entry in render.json<br>

Revision as of 16:15, 24 July 2022

placeholder - explanation of building footprint shown during construction - relative to floor_buildings.png, floor_base.png, or floor_extra.png files
Note that some buildings (BoatYard, Harbour, Large Harbour, FishingHut, probably any building using PIER - "layerTypeToCreate": 3) will ignore buildingFloorCoordDict.
"Floor" is built into the 3D assets.
Example entry in render.json
{

 "buildingFloorCoordDict": {
   "201": {  // building ID
     "LEVEL_1": {  // level 1, 2, or 3
       "x": 2, // x coord 
       "y": 0 // y coord 
     },
     "LEVEL_2": {  // level 1, 2, or 3
       "x": 0, // x coord 
       "y": 13 // y coord 
     }
   }
 }

}