Difference between revisions of "DisasterSelection"

From TTWiki
Jump to navigationJump to search
m (3 revisions)
 
(Reformat and update)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
Select which disasters may occur.
   
 
==Switch==
'''''Select which disasters may occur'''''
 
 
=Disaster selection=
 
 
Select which disasters may occur
 
 
-=Switch=-
 
   
 
Configuration file: disasters
 
Configuration file: disasters
Line 12: Line 7:
 
Command line: -XD
 
Command line: -XD
   
-=Description=-
+
==Description==
   
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.
+
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 [[BitSwitches|Bit Switches]], or simply add up the values of the options you want:
+
The switch is a bit switch. To find out how that works, see [[BitSwitches| Bit Switches]], or simply add up the values of the options you want:
   
  +
{|
||Bit |Value|Text name|Disaster type to allow
+
!Bit !!Value!!Text name!!Disaster type to allow
   
  +
|-
0|1|zeppelincrash|Zeppelin crash
+
|0||1||zeppelincrash||Zeppelin crash
   
  +
|-
1|2|smallufo|Small UFO
+
|1||2||smallufo||Small UFO
   
  +
|-
2|4|refineryexplosion|Refinery explosion
+
|2||4||refineryexplosion||Refinery explosion
   
  +
|-
3|8|factoryexplosion|Factory explosion
+
|3||8||factoryexplosion||Factory explosion
   
  +
|-
4|16|largeufo|Large UFO
+
|4||16||largeufo||Large UFO
   
  +
|-
5|32|smallsubmarine|Small submarine
+
|5||32||smallsubmarine||Small submarine
   
  +
|-
6|64|largesubmarine|Large submarine
+
|6||64||largesubmarine||Large submarine
   
  +
|-
7|128|coalminesubsidence|Coal mine subsidence||
+
|7||128||coalminesubsidence||Coal mine subsidence
  +
|}
   
Plane crashes are not affected by these settings, for changing them please see [[PlaneCrashControl|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.
+
Plane crashes are not affected by these settings, for changing them please see [[PlaneCrashControl| 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 [[NewStartingYear|New Starting Year]],  [[YearCheat|Year Cheat]]) or after 2099 (see [[EternalGame|Eternal Game]]) no disasters will occur  at all.  These year ranges may be changed using TTD Alter (see [[OtherTools|Other Tools]]).
+
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 [[NewStartingYear| New Starting Year]], [[YearCheat| Year Cheat]]) or after 2099 (see [[EternalGame| Eternal Game]]) no disasters will occur at all. These year ranges may be changed using TTD Alter (see [[OtherTools| 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....
+
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.
 
This patch was contributed by Marcin Grzegorczyk.
  +
[[Category:Patches]][[Category:Difficulty Patches]][[Category:TTDPatch]][[Category:TTDPatch Manual]]

Latest revision as of 19:28, 17 June 2011

Select which disasters may occur.

Switch

Configuration file: disasters

Command line: -XD

Description

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.