PlantableFieldRenderSpecDict: Difference between revisions

From The Colonists
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:


Example entry in render.json<br>
Example entry in render.json<br>
<pre>
{
{
   "plantableFieldRenderSpecDict": {
   "plantableFieldRenderSpecDict": {
Line 19: Line 20:
     }
     }
   }
   }
}
}
</pre>

Revision as of 17:43, 9 December 2022

placeholder - 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
      }
    }
  }
}