ModRender: Difference between revisions

From The Colonists
Jump to navigation Jump to search
No edit summary
No edit summary
Line 23: Line 23:
| [[PlantableFieldRenderSpecDict|PlantableFieldRenderSpecDict]]
| [[PlantableFieldRenderSpecDict|PlantableFieldRenderSpecDict]]
|-
|-
| floorColliderUnitIdHash
| floorColliderUnitIdSpecs
| Defines which bot/units use colliders on Floor layer
| Defines which bot/units use colliders on Floor layer
| [[floorColliderUnitIdSpecs|floorColliderUnitIdSpecs]]
| [[floorColliderUnitIdSpecs|floorColliderUnitIdSpecs]]
Line 31: Line 31:
| [[floorColliderUtilityUnitSpecificBuildingIdHash|floorColliderSpecificBuilding]]  
| [[floorColliderUtilityUnitSpecificBuildingIdHash|floorColliderSpecificBuilding]]  
|-
|-
| terrainTypeColors
| terrainTypeColorsSpecs
| Array of colors for trerrain types
| Array of colors for trerrain types
| [[terrainTypeColors|terrainTypeColors]]
| [[terrainTypeColors|terrainTypeColorsSpecs]]
|-
|-
| terrainTypeDetailSpecs
| terrainTypeDetailSpecs

Revision as of 18:23, 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
floorColliderUnitIdSpecs Defines which bot/units use colliders on Floor layer floorColliderUnitIdSpecs
floorColliderUtilityUnitSpecificBuildingIdHash Defines buildings stackbots will use colliders on Floor layer floorColliderSpecificBuilding
terrainTypeColorsSpecs Array of colors for trerrain types terrainTypeColorsSpecs
terrainTypeDetailSpecs Defines terrain TBD .... terrainTypeDetailSpecs
structureDynamicFloorSpecs Defines structure .... TBD structureDynamicFloorSpecs