Difference between revisions of "ForceGameOptions"

From TTWiki
Jump to navigationJump to search
(Reformat and update)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
Force and set game options.
 
'''''Force and set game options'''''
 
 
=ForceGameOptions=
 
 
Force and set game options
 
   
 
'''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 9:
 
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:
   
  +
{|
||Name|Meaning
+
!Bit!!Value!!Name!!Meaning
   
  +
|-
|'''Traffic side'''
+
||| || ||'''Traffic side'''
   
  +
|-
trafficleft|Force the road traffic side to be left
+
|0||1||trafficleft||Force the road traffic side to be left
   
  +
|-
trafficright|Force the road traffic side to be right
+
|1||2||trafficright||Force the road traffic side to be right
   
  +
|-
|'''Distance Unit'''
+
||| || ||'''Distance Unit'''
   
  +
|-
imperial|Force the use of imperial (miles) distance units
+
|2||4||imperial||Force the use of imperial (miles) distance units
   
  +
|-
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'''
   
  +
|-
townsenglish|Set town name style to english
+
|4||16||townsenglish||Set town name style to english
   
  +
|-
townsfrench|Set town name style to french
+
|5||32||townsfrench||Set town name style to french
   
  +
|-
townsgerman|Set town name style to german
+
|6||64||townsgerman||Set town name style to german
   
  +
|-
townsamerican|Set town name style to amerian
+
|7||128||townsamerican||Set town name style to amerian
   
  +
|-
townslatin|Set town name style to latin amerian
+
|8||256||townslatin||Set town name style to latin amerian
   
  +
|-
townssilly|Set town name style to silly
+
|9||512||townssilly||Set town name style to silly
   
  +
|-
|'''Autosave setting'''
+
||| || ||'''Autosave setting'''
   
  +
|-
autosavedisabled|Set autosave to off
+
|10||1024||autosavedisabled||Set autosave to off
   
  +
|-
autosave3months|Set autosave to 3 months
+
|11||2048||autosave3months||Set autosave to 3 months
   
  +
|-
autosave6months|Set autosave to 6 months
+
|12||4096||autosave6months||Set autosave to 6 months
   
  +
|-
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 several of the same group is undefined and should be avoided.
+
The state of setting more than one bit in each group is undefined and should be avoided.
   
 
This feature was contributed by Oskar Eisemuth.
 
This feature was contributed by Oskar Eisemuth.
  +
[[Category:Patches]][[Category:Interface Patches]][[Category:TTDPatch]][[Category:TTDPatch Manual]]

Latest revision as of 19:46, 17 June 2011

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.