ModRender: Difference between revisions

From The Colonists
Jump to navigation Jump to search
initial creation
 
buildingFloorCoordDict obsolete
 
(15 intermediate revisions by the same user not shown)
Line 7: Line 7:
! Name !! Description !! Link
! Name !! Description !! Link
|-
|-
| buildingFloorCoordDict
|'''Structure-Related'''
| Defines coordinates of building floor in render file
| [[BuildingFloorCoordDict|BuildingFloorCoordDict]]
|-
| structureFloorCoordDict
| Defines coordinates of structure floor in render file
| [[StructureFloorCoordDict|StructureFloorCoordDict]]
|-
|-
| treeFieldRenderSpecDict
| treeFieldRenderSpecDict
Line 22: Line 16:
| Defines crop/plantable field rendering
| Defines crop/plantable field rendering
| [[PlantableFieldRenderSpecDict|PlantableFieldRenderSpecDict]]
| [[PlantableFieldRenderSpecDict|PlantableFieldRenderSpecDict]]
|-
| structureDynamicFloorSpecs
| Defines the rendering of structure floor
| [[structureDynamicFloorSpecs|structureDynamicFloorSpecs]]
|-
|'''Terrain-Related'''
|-
| terrainTypeColorsSpecs
| Array of colors for trerrain types
| [[terrainTypeColors|terrainTypeColorsSpecs]]
|-
| terrainTypeDetailSpecs
|  Defines the details to be used on Terrain Types
| [[terrainTypeDetailSpecs|terrainTypeDetailSpecs]]
|-
| detailDarkness
| Modifies Darkness Tint on Terrain Detail
| [[terrainDetailDarkness|terrainDetailDarkness]]
|-
| waterFoamColor
| Modifies Color of water's edge
| [[waterFoamColor|waterFoamColor]] 
|-
|'''Unit Collider-Related'''
|-
| 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]]
|-
|'''<s>Building-Related'''
|-
| <s>buildingFloorCoordDict
| <s>Defines coordinates of building floor in its render file
| <s>[[BuildingFloorCoordDict|BuildingFloorCoordDict]]</s>
|-
|-
|}
|}
* note itemCategory is used when itemTypeId=254 to refer to a [[Resource_Categories|category]] (e.g. "Food", "Luxury Food", "Fuel"), otherwise itemCategory=0.

Latest revision as of 19:38, 1 January 2025

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

JSON fields

Name Description Link
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
detailDarkness Modifies Darkness Tint on Terrain Detail terrainDetailDarkness
waterFoamColor Modifies Color of water's edge waterFoamColor
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
Building-Related
buildingFloorCoordDict Defines coordinates of building floor in its render file BuildingFloorCoordDict