Difference between revisions of "ForceGameOptions"

From TTWiki
Jump to navigationJump to search
m (4 revisions)
m (Bot: Automated text replacement (--= +==))
Line 1: Line 1:
   
'''''Force and set game options'''''
 
   
 
=ForceGameOptions=
 
=ForceGameOptions=
Line 8: Line 7:
 
'''2.5 beta 5 or later'''
 
'''2.5 beta 5 or later'''
   
-=Switch=-
+
==Switch==
   
 
Configuration file: forcegameoptions on|off|bitsetting
 
Configuration file: forcegameoptions on|off|bitsetting
Line 14: Line 13:
 
Command line: none
 
Command line: none
   
-=Description=-
+
==Description==
   
 
This Switch let you change the game options of TTD so after changeing climate it will reset to your settings instead useing the default ones.
 
This Switch let you change the game options of TTD so after changeing climate it will reset to your settings instead useing the default ones.
   
This is a [[BitSwitches|bit switch]], with the following choices:
+
This is a [[BitSwitches| bit switch]], with the following choices:
   
  +
{|
||Bit|Value|Name|Meaning
+
!Bit!!Value!!Name!!Meaning
   
  +
|-
| | |'''Traffic side'''
+
||| || ||'''Traffic side'''
   
  +
|-
0|1|trafficleft|Force the road traffic side to be left
+
|0||1||trafficleft||Force the road traffic side to be left
   
  +
|-
1|2|trafficright|Force the road traffic side to be right
+
|1||2||trafficright||Force the road traffic side to be right
   
  +
|-
| | |'''Distance Unit'''
+
||| || ||'''Distance Unit'''
   
  +
|-
2|4|imperial|Force the use of imperial (miles) distance units
+
|2||4||imperial||Force the use of imperial (miles) distance units
   
  +
|-
3|8|metric|Force the use of metric (kilometers) distance units
+
|3||8||metric||Force the use of metric (kilometers) distance units
   
  +
|-
| | |'''Town name style'''
+
||| || ||'''Town name style'''
   
  +
|-
4|16|townsenglish|Set town name style to english
+
|4||16||townsenglish||Set town name style to english
   
  +
|-
5|32|townsfrench|Set town name style to french
+
|5||32||townsfrench||Set town name style to french
   
  +
|-
6|64|townsgerman|Set town name style to german
+
|6||64||townsgerman||Set town name style to german
   
  +
|-
7|128|townsamerican|Set town name style to amerian
+
|7||128||townsamerican||Set town name style to amerian
   
  +
|-
8|256|townslatin|Set town name style to latin amerian
+
|8||256||townslatin||Set town name style to latin amerian
   
  +
|-
9|512|townssilly|Set town name style to silly
+
|9||512||townssilly||Set town name style to silly
   
  +
|-
| | |'''Autosave setting'''
+
||| || ||'''Autosave setting'''
   
  +
|-
10|1024|autosavedisabled|Set autosave to off
+
|10||1024||autosavedisabled||Set autosave to off
   
  +
|-
11|2048|autosave3months|Set autosave to 3 months
+
|11||2048||autosave3months||Set autosave to 3 months
   
  +
|-
12|4096|autosave6months|Set autosave to 6 months
+
|12||4096||autosave6months||Set autosave to 6 months
   
  +
|-
13|8192|autosave12months|Set autosave to 12 months (should be the default of TTD)||
+
|13||8192||autosave12months||Set autosave to 12 months (should be the default of TTD)
  +
|}
   
 
The state of setting more than one bit in each group is undefined and should be avoided.
 
The state of setting more than one bit in each group is undefined and should be avoided.

Revision as of 11:16, 15 June 2011


ForceGameOptions

Force and set game options

2.5 beta 5 or later

Switch

Configuration file: forcegameoptions on|off|bitsetting

Command line: none

Description

This Switch let you change the game options of TTD so after changeing climate it will reset to your settings instead useing the default ones.

This is a bit switch, with the following choices:

Bit Value Name Meaning
Traffic side
0 1 trafficleft Force the road traffic side to be left
1 2 trafficright Force the road traffic side to be right
Distance Unit
2 4 imperial Force the use of imperial (miles) distance units
3 8 metric Force the use of metric (kilometers) distance units
Town name style
4 16 townsenglish Set town name style to english
5 32 townsfrench Set town name style to french
6 64 townsgerman Set town name style to german
7 128 townsamerican Set town name style to amerian
8 256 townslatin Set town name style to latin amerian
9 512 townssilly Set town name style to silly
Autosave setting
10 1024 autosavedisabled Set autosave to off
11 2048 autosave3months Set autosave to 3 months
12 4096 autosave6months Set autosave to 6 months
13 8192 autosave12months Set autosave to 12 months (should be the default of TTD)

The state of setting more than one bit in each group is undefined and should be avoided.

This feature was contributed by Oskar Eisemuth.