Difference between revisions of "ForceGameOptions"

From TTWiki
Jump to navigationJump to search
 
(Reformat and update)
 
(4 intermediate revisions by 4 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:
  +
  +
{|
 
!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'''
   
  +
|-
||Name|Meaning
 
 
|2||4||imperial||Force the use of imperial (miles) distance units
   
  +
|-
|'''Traffic side'''
 
 
|3||8||metric||Force the use of metric (kilometers) distance units
   
  +
|-
trafficleft|Force the road traffic side to be left
 
 
||| || ||'''Town name style'''
   
  +
|-
trafficright|Force the road traffic side to be right
 
 
|4||16||townsenglish||Set town name style to english
   
  +
|-
|'''Distance Unit'''
 
 
|5||32||townsfrench||Set town name style to french
   
  +
|-
imperial|Force the use of imperial (miles) distance units
 
 
|6||64||townsgerman||Set town name style to german
   
  +
|-
metric|Force the use of metric (kilometers) distance units
 
 
|7||128||townsamerican||Set town name style to amerian
   
  +
|-
|'''Town name style'''
 
 
|8||256||townslatin||Set town name style to latin amerian
   
  +
|-
townsenglish|Set town name style to english
 
 
|9||512||townssilly||Set town name style to silly
   
  +
|-
townsfrench|Set town name style to french
 
  +
||| || ||'''Autosave setting'''
   
  +
|-
townsgerman|Set town name style to german
 
  +
|10||1024||autosavedisabled||Set autosave to off
   
  +
|-
townsamerican|Set town name style to amerian
 
  +
|11||2048||autosave3months||Set autosave to 3 months
   
  +
|-
townslatin|Set town name style to latin amerian
 
  +
|12||4096||autosave6months||Set autosave to 6 months
   
  +
|-
townssilly|Set town name style to silly||
 
  +
|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.