StructureFloorCoordDict: Difference between revisions

From The Colonists
Jump to navigation Jump to search
Created page with "placeholder - explanation of structures footprint shown for structures(fields, etc.) - relative to floor_buildings.png file"
 
No edit summary
Line 1: Line 1:
placeholder - explanation of structures footprint shown for structures(fields, etc.) - relative to floor_buildings.png file
placeholder - explanation of structures footprint shown for structures(fields, etc.) - relative to floor_buildings.png file
Footprint shown relative to floor_buildings.png file (currently using tiles in the x=29 to 31 and y=0 to 4. Game may calculate offsets from coords based on adjacent plot/field condition)<br>
Example entry in render.json<br>
{
  "structureFloorCoordDict": {
    "201": {  // mod structure ID
      "x": 29,
      "y": 0
    },
    "202": {  // mod structure ID
      "x": 27,
      "y": 0
    }
  },
}

Revision as of 18:16, 3 September 2021

placeholder - explanation of structures footprint shown for structures(fields, etc.) - relative to floor_buildings.png file


Footprint shown relative to floor_buildings.png file (currently using tiles in the x=29 to 31 and y=0 to 4. Game may calculate offsets from coords based on adjacent plot/field condition)
Example entry in render.json
{

 "structureFloorCoordDict": {
   "201": {  // mod structure ID
     "x": 29,
     "y": 0
   },
   "202": {   // mod structure ID
     "x": 27,
     "y": 0
   }
 },

}