PlantableFieldRenderSpecDict: Difference between revisions

From The Colonists
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
placeholder - allows # per tile, offset, and continuity for 3D assets of Plantable Fields.<br>
placeholder - This entry in [[ModRender|'''render.json''']] allows # per tile, offset, and continuity for 3D assets of Plantable Fields.<br>
See WheatFarm (StructureID=1) and VegetableFarm (StructureID=2).
See WheatFarm (StructureID=1) and VegetableFarm (StructureID=2).



Revision as of 18:11, 22 December 2022

placeholder - This entry in render.json allows # per tile, offset, and continuity for 3D assets of Plantable Fields.
See WheatFarm (StructureID=1) and VegetableFarm (StructureID=2).

Example entry in render.json

{
  "plantableFieldRenderSpecDict": {

    "201": {   // mod plantableField ID
      "numPerTile": {
        "x": 3,
        "y": 3
      },
      "isContinuous": true,
      "doesCutCorners": true,
      "offsetRange": {
        "x": 0.02,
        "y": 0.02
      }
    }
  }
}