PlantableFieldRenderSpecDict: Difference between revisions
Jump to navigation
Jump to search
Stlnegril9 (talk | contribs) Created page with "placeholder - allows # per tile, offset, and continuity for assets of Plantable Fields" |
Stlnegril9 (talk | contribs) update isContinuous and doesCutCorners |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
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). | |||
Example entry in render.json<br> | |||
<pre> | |||
{ | |||
"plantableFieldRenderSpecDict": { | |||
"201": { // mod plantableField ID | |||
"numPerTile": { | |||
"x": 3, // number of 3D assets inY X direction per tile | |||
"y": 3 // number of 3D assets in direction per tile | |||
}, | |||
"isContinuous": true, // distribute 3D assets to be equidistant within a tile if there is a neighbouring tile | |||
"doesCutCorners": true, // removes the 3D asset in corners | |||
"offsetRange": { | |||
"x": 0.02, // maximum randomized X offset of 3D assets in X direction | |||
"y": 0.02 // maximum randomized Y offset of 3D assets in X direction | |||
} | |||
} | |||
} | |||
} | |||
</pre> | |||
Latest revision as of 14:45, 14 June 2023
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, // number of 3D assets inY X direction per tile
"y": 3 // number of 3D assets in direction per tile
},
"isContinuous": true, // distribute 3D assets to be equidistant within a tile if there is a neighbouring tile
"doesCutCorners": true, // removes the 3D asset in corners
"offsetRange": {
"x": 0.02, // maximum randomized X offset of 3D assets in X direction
"y": 0.02 // maximum randomized Y offset of 3D assets in X direction
}
}
}
}