From TTWiki
Jump to: navigation, search

Select which disasters may occur.


Configuration file: disasters

Command line: -XD


This switch allows you to select or deselect specific types of disasters that may occur in the game. It only applies if disasters are enabled in the difficulty settings. For example, you can use this to turn off UFO disasters because they're unrealistic.

The switch is a bit switch. To find out how that works, see Bit Switches, or simply add up the values of the options you want:

Bit Value Text name Disaster type to allow
0 1 zeppelincrash Zeppelin crash
1 2 smallufo Small UFO
2 4 refineryexplosion Refinery explosion
3 8 factoryexplosion Factory explosion
4 16 largeufo Large UFO
5 32 smallsubmarine Small submarine
6 64 largesubmarine Large submarine
7 128 coalminesubsidence Coal mine subsidence

Plane crashes are not affected by these settings, for changing them please see Plane Crash Control. Also, the submarines are not really disasters, they are just handled by TTD in the same way so they are included here for completeness sake.

Note that for each disaster type TTD has a range of years in which the disaster may occur. For example, refinery explosions are possible only between 1960 and 1990, after 2009 only large UFOs may show up, and before 1930 (see New Starting Year, Year Cheat) or after 2099 (see Eternal Game) no disasters will occur at all. These year ranges may be changed using TTD Alter (see Other Tools).

Also note that if you disable some disaster types, the others are more likely to occur. When TTD decides it's time for a disaster, it always generates one, unless there are none to choose from....

This patch was contributed by Marcin Grzegorczyk.