Global.json: Difference between revisions

From The Colonists
Jump to navigation Jump to search
Created page with "The '''global.json''' file may be used to change global parameters of the game. ==JSON fields== {| class="wikitable sortable" style="text-align: center" |- ! Entry !! Defaul..."
 
No edit summary
Line 10: Line 10:
| Defines ???
| Defines ???
|-
|-
  "maxPathToFlagLength": 20,
| treeStumpLifetime
  "treeStumpLifetime": 480.0,
| 480
  "maxUnsupportedBridgeLength": 8,
| game ticks until tree stumps are removed ?
  "maxBridgeSupportHeight": 40,
|-
  "roadPathHeightLeewayNeeded": 8,
| maxUnsupportedBridgeLength
  "trackHeightLeewayNeeded": 12,
| 8
  "aiHardModeBaseBoost": 0.25,
| Maximum number of unsupported train track bridge spans
  "resourceProjectileConversionDict": {
|-
    27: 200, // "ARROWS": 0,
| maxBridgeSupportHeight,
    "CANNONBALLS": 200, // was 1
| 40
"210":"200"
| Maximum height of train track bridge span
|-
| roadPathHeightLeewayNeeded
| 8
| Defines ???
|-
| trackHeightLeewayNeeded
| 12
| Defines ???
|-
| aiHardModeBaseBoost
| 0.25
| Defines something about AI hard mode???
|-
| resourceProjectileConversionDict
| "ARROWS": 0
| maps projectile name to 3D asset bundle used for projectiles
|-
|-
|}
|}

Revision as of 19:39, 21 December 2021

The global.json file may be used to change global parameters of the game.

JSON fields

Entry Default Description
maxPathToFlagLength 20 Defines ???
treeStumpLifetime 480 game ticks until tree stumps are removed ?
maxUnsupportedBridgeLength 8 Maximum number of unsupported train track bridge spans
maxBridgeSupportHeight, 40 Maximum height of train track bridge span
roadPathHeightLeewayNeeded 8 Defines ???
trackHeightLeewayNeeded 12 Defines ???
aiHardModeBaseBoost 0.25 Defines something about AI hard mode???
resourceProjectileConversionDict "ARROWS": 0 maps projectile name to 3D asset bundle used for projectiles