StructureDynamicFloorSpecs: Difference between revisions
Stlnegril9 (talk | contribs) No edit summary |
Stlnegril9 (talk | contribs) No edit summary |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
== Structure Dynamic Floor Specs == | |||
This entry in [[ModRender|'''render.json''']] specifies which image file is used for the rendering of the "floor" of structures (e.g. Sheep Farm Fields, Orchard Plots).<br> | |||
An entry of "structureId": 202, "dynamicFloorId": 222 would use | An entry of "structureId": 202, "dynamicFloorId": 222 would use the image '''"dynamicfloor_222.png"''' for rendering the floor of structure 202. <br> | ||
Note some buildings use images built into 3D prefabs for structures and do not need structureDynamicFloorSpecs entries (e.g. platforms in TranStations and | See [[StructureModIds]] for the IDs of existing structures.<br> | ||
Note some buildings use images built into 3D prefabs for structures and do not need structureDynamicFloorSpecs entries (e.g. platforms in TranStations and piers in boat-related buildings). <br> | |||
Example entry in [[ModRender|render.json]] <br> | Example entry in [[ModRender|render.json]] <br> | ||
| Line 26: | Line 28: | ||
] | ] | ||
</pre> | </pre> | ||
== Icon == | |||
None.<br> | |||
== 3D Models == | |||
None | |||
== Image File == | |||
Note the image uses 128x128 pixels per tile - plus 8 pixel bleed on each side and a transparent background.<br> | |||
Example image showing (from bottom to top): <br> | |||
:All 4 sides adjacent to plots<br> | |||
:2 sides adjacent to plots<br> | |||
:3 sides adjacent to plots<br> | |||
:2 opposite sides adjacent to plots<br> | |||
:1 side adjacent to plots<br> | |||
[[File:Floor_buildings_Plot_Example.png|Plot]] | |||
Note that a single, non-dynamic, image can also be used for the floor of a structure, using files names such as '''"structurefloor_XXX.png"''' <br> | |||
Latest revision as of 18:15, 22 December 2022
Structure Dynamic Floor Specs
This entry in render.json specifies which image file is used for the rendering of the "floor" of structures (e.g. Sheep Farm Fields, Orchard Plots).
An entry of "structureId": 202, "dynamicFloorId": 222 would use the image "dynamicfloor_222.png" for rendering the floor of structure 202.
See StructureModIds for the IDs of existing structures.
Note some buildings use images built into 3D prefabs for structures and do not need structureDynamicFloorSpecs entries (e.g. platforms in TranStations and piers in boat-related buildings).
Example entry in render.json
"structureDynamicFloorSpecs": [
{
"structureId": 1,
"dynamicFloorId": 1
},
{
"structureId": 2,
"dynamicFloorId": 1
},
{
"structureId": 3,
"dynamicFloorId": 2
},
{
"structureId": 202,
"dynamicFloorId": 222
}
]
Icon
None.
3D Models
None
Image File
Note the image uses 128x128 pixels per tile - plus 8 pixel bleed on each side and a transparent background.
Example image showing (from bottom to top):
- All 4 sides adjacent to plots
- 2 sides adjacent to plots
- 3 sides adjacent to plots
- 2 opposite sides adjacent to plots
- 1 side adjacent to plots
Note that a single, non-dynamic, image can also be used for the floor of a structure, using files names such as "structurefloor_XXX.png"
