PlaneCrashControl

From TTWiki
Revision as of 15:01, 15 June 2011 by Orudge (talk | contribs) (Reformat and update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Determine under what circumstances planes may crash.

Switch

Configuration file: planecrashcontrol

Command line: -Xc

Description

Using this switch you can determine under what circumstances planes may crash, as well as the probability of this happening.

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 Name Effect
0 1 normdis Normal plane crashes are turned off if disasters are turned off in the Difficulty Settings window in TTD. This does not affect crashes that occur when a jet plane tries to land on a small airport --- i.e. those crashes are not "normal".
1 2 jetsdis Jet planes landing on small airports don't crash if disasters are turned off.
2 4 normbrdown Normal plane crashes occur only when a plane lands after a breakdown, but then they are four times more likely than normally. If this option is specified together with the next one, it affects all plane crashes, not just normal ones.
3 8 jetssamerate Jets landing on small airports have the normal crash probability.
4 16 normoff All normal plane crashes are turned off, regardless of other settings.
5 32 jetsoff Jets landing on small airports never crash, regardless of other settings.

For example, with planecrashcontrol 5 normal plane crashes occur only when a plane is broken down, and only if disasters are turned on; planecrashcontrol 48 disables plane crashes altogether.

With this switch turned off, the normal crash probability is about 1 in 1500; for jet planes landing on small airports, the probability of a crash is 1 in 20.

(This patch provided by Marcin Grzegorczyk.)