ModRender: Difference between revisions

From The Colonists
Jump to navigation Jump to search
No edit summary
links for terrainTypeColors, terrainTypeDetailSpecs, and structureDynamicFloorSpecs
Line 33: Line 33:
| terrainTypeColors
| terrainTypeColors
| Array of colors for trerrain types
| Array of colors for trerrain types
| xxx
| [[terrainTypeColors|terrainTypeColors]]
|-
|-
| terrainTypeDetailSpecs
| terrainTypeDetailSpecs
|  Defines terrain TBD ....
|  Defines terrain TBD ....
| xxx
| [[terrainTypeDetailSpecs|terrainTypeDetailSpecs]]
|-
|-
| structureDynamicFloorSpecs
| structureDynamicFloorSpecs
| Defines structure .... TBD
| Defines structure .... TBD
| xxx
| [[structureDynamicFloorSpecs|structureDynamicFloorSpecs]]
|-
|-
|}
|}

Revision as of 15:16, 18 December 2022

The render.json file may be used to change the rendering of the "floor" of objects.

JSON fields

Name Description Link
buildingFloorCoordDict Defines coordinates of building floor in render file BuildingFloorCoordDict
structureFloorCoordDict Defines coordinates of structure floor in render file StructureFloorCoordDict
treeFieldRenderSpecDict Defines tree rendering TreeFieldRenderSpecDict
plantableFieldRenderSpecDict Defines crop/plantable field rendering PlantableFieldRenderSpecDict
floorColliderUnitIdHash Defines which bot/units use colliders on Floor layer floorColliderUnitIdHash
floorColliderUtilityUnitSpecificBuildingIdHash Defines buildings stackbots will use colliders on Floor layer floorColliderSpecificBuilding
terrainTypeColors Array of colors for trerrain types terrainTypeColors
terrainTypeDetailSpecs Defines terrain TBD .... terrainTypeDetailSpecs
structureDynamicFloorSpecs Defines structure .... TBD structureDynamicFloorSpecs