Difference between revisions of "PlaneCrashControl"

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:
 
'''''Determine under what circumstances planes may crash.'''''
 
 
=Plane Crash Control=
 
 
 
Determine under what circumstances planes may crash.
 
Determine under what circumstances planes may crash.
   
-=Switch=-
+
==Switch==
   
 
Configuration file: planecrashcontrol
 
Configuration file: planecrashcontrol
Line 12: Line 7:
 
Command line: -Xc
 
Command line: -Xc
   
-=Description=-
+
==Description==
   
 
Using this switch you can determine under what circumstances planes may crash, as well as the probability of this happening.
 
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 [[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|Name|Effect
+
!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".
+
|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.
+
|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.
+
|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.
+
|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.
+
|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.||
+
|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.
 
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.
Line 37: Line 40:
   
 
(This patch provided by Marcin Grzegorczyk.)
 
(This patch provided by Marcin Grzegorczyk.)
  +
[[Category:Patches]][[Category:Vehicle Patches]][[Category:TTDPatch]][[Category:TTDPatch Manual]]

Latest revision as of 15:01, 15 June 2011

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.)