Transport Fever 2

Transport Fever 2

h4e API
 This topic has been pinned, so it's probably important
homieforever  [developer] 28 Aug, 2024 @ 8:37am
Settings
Here I list all possible settings of the h4e API.

  • debug If set to on, the h4eAPI writes some debug output to the stdout.txt and to the ingame console. Default is off.
  • addTracksToVanillaStation Default is on This setting will only be available from version 1.28 and upwards.
  • allVehicleAllCargo Default is off onAllVehicles = Try to add all possible cargo types to vehicles. experimental
  • loadspeedPenaltyForTrainOverlength is game.config.loadspeedPenaltyForTrainOverlength, default is On.
  • earnAchievementsWithMods is game.config.earnAchievementsWithMods, default is Off. If you set it to On, you will get achievements with active mods.
  • industryButton is game.cofig.industryButton Default is off.
  • sandboxButton is game.config.sandboxButton Default is off.
  • difficulty Here you can choose the difficulty of the game. Default is easy.
  • noCosts If on, you have no costs. Default is off.
  • terrainToolMaxSize maxSize of terrain Tool. Default is 64.
  • terrainPainterMaxSize max painter size. Default is 256.
  • enforceMainConnections game.config.enforceMainConnections Default is off.
  • trainAccelerationFactor Default is 1.0
  • trainBrakeDeceleration Default is 2.5
  • townDevelopInterval Default is 60
  • chargeMaintenanceInterval Default is 60
  • simulateCargoWeight Default is on
  • townMaxNumberPerArea Default is 0.2
  • industryAbsoluteMinimum Default is 4
  • industryMaxNumberPerArea Default is 0.8
  • InitialRoads default is on
  • animalPopulationDensityMultiplier Default is 1.0
Last edited by homieforever; 2 Sep, 2024 @ 4:36pm