PlantableFieldRenderSpecDict: Difference between revisions
Jump to navigation
Jump to search
Stlnegril9 (talk | contribs) clarify entries |
Stlnegril9 (talk | contribs) update isContinuous and doesCutCorners |
||
| Line 12: | Line 12: | ||
"y": 3 // number of 3D assets in direction per tile | "y": 3 // number of 3D assets in direction per tile | ||
}, | }, | ||
"isContinuous": true, // | "isContinuous": true, // distribute 3D assets to be equidistant within a tile if there is a neighbouring tile | ||
"doesCutCorners": true, // | "doesCutCorners": true, // removes the 3D asset in corners | ||
"offsetRange": { | "offsetRange": { | ||
"x": 0.02, // maximum randomized X offset of 3D assets in X direction | "x": 0.02, // maximum randomized X offset of 3D assets in X direction | ||
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
}
}
}
}