ModRender: Difference between revisions

From The Colonists
Jump to navigation Jump to search
No edit summary
reorganize and clean up
Line 6: Line 6:
|-
|-
! Name !! Description !! Link
! Name !! Description !! Link
|-
|'''Building-Related'''
|-
|-
| buildingFloorCoordDict
| buildingFloorCoordDict
Line 11: Line 13:
| [[BuildingFloorCoordDict|BuildingFloorCoordDict]]</s>
| [[BuildingFloorCoordDict|BuildingFloorCoordDict]]</s>
|-
|-
| <s>structureFloorCoordDict
|'''Structure-Related'''
| <s>Defines coordinates of structure floor in render file
| <s>[[StructureFloorCoordDict|StructureFloorCoordDict]]
|-
|-
| treeFieldRenderSpecDict
| treeFieldRenderSpecDict
Line 23: Line 23:
| [[PlantableFieldRenderSpecDict|PlantableFieldRenderSpecDict]]
| [[PlantableFieldRenderSpecDict|PlantableFieldRenderSpecDict]]
|-
|-
| floorColliderUnitIdSpecs
| structureDynamicFloorSpecs
| Defines which bot/units use colliders on Floor layer
| Defines the rendering of structure floor
| [[floorColliderUnitIdSpecs|floorColliderUnitIdSpecs]]
| [[structureDynamicFloorSpecs|structureDynamicFloorSpecs]]
|-
|-
| floorColliderUtilityUnitSpecificBuildingIdHash
|'''Terrain-Related'''
| Defines buildings '''stackbots''' will use colliders on Floor layer
| [[floorColliderUtilityUnitSpecificBuildingIdHash|floorColliderSpecificBuilding]]
|-
|-
| terrainTypeColorsSpecs
| terrainTypeColorsSpecs
Line 39: Line 37:
| [[terrainTypeDetailSpecs|terrainTypeDetailSpecs]]
| [[terrainTypeDetailSpecs|terrainTypeDetailSpecs]]
|-
|-
| structureDynamicFloorSpecs
|'''Unit Collider-Related'''
| Defines the rendering of structure floor
|-
| [[structureDynamicFloorSpecs|structureDynamicFloorSpecs]]
| floorColliderUnitIdSpecs
| Defines which bot/units use colliders on Floor layer
| [[floorColliderUnitIdSpecs|floorColliderUnitIdSpecs]]
|-
| floorColliderUtilityUnitSpecificBuildingIdHash
| Defines buildings '''stackbots''' will use colliders on Floor layer
| [[floorColliderUtilityUnitSpecificBuildingIdHash|floorColliderSpecificBuilding]]  
|-
|''' OBSOLETE'''
|-
|-
| <s>structureFloorCoordDict
| <s>Defines coordinates of structure floor in render file
| <s>[[StructureFloorCoordDict|StructureFloorCoordDict]]
|}
|}

Revision as of 14:07, 14 June 2023

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

JSON fields

Name Description Link
Building-Related
buildingFloorCoordDict Defines coordinates of building floor in its render file BuildingFloorCoordDict
Structure-Related
treeFieldRenderSpecDict Defines tree rendering TreeFieldRenderSpecDict
plantableFieldRenderSpecDict Defines crop/plantable field rendering PlantableFieldRenderSpecDict
structureDynamicFloorSpecs Defines the rendering of structure floor structureDynamicFloorSpecs
Terrain-Related
terrainTypeColorsSpecs Array of colors for trerrain types terrainTypeColorsSpecs
terrainTypeDetailSpecs Defines the details to be used on Terrain Types terrainTypeDetailSpecs
Unit Collider-Related
floorColliderUnitIdSpecs Defines which bot/units use colliders on Floor layer floorColliderUnitIdSpecs
floorColliderUtilityUnitSpecificBuildingIdHash Defines buildings stackbots will use colliders on Floor layer floorColliderSpecificBuilding
OBSOLETE
structureFloorCoordDict Defines coordinates of structure floor in render file StructureFloorCoordDict