Variable:disabledtrackcfg

From TTWiki
Revision as of 09:26, 27 September 2004 by 62.163.34.215 (talk)
Jump to navigationJump to search

"disabledtrackcfg" is an attribute of bridges. The value of it decides which types of track sections that bridge type can use. Whilst technically the value can be anything from 0 to 65535, here are some common values:

0 - No restrictions - Used by the brick bridge
3 - No slopes - Used by the steel girder bridge
4 - No curved slopes
7 - No slopes - Used by the wooden bridge
2555 - No slopes, junctions, or corners - Used by the steel arch and suspension bridges

Bit (TL=TileLenght)
01 - disable 2TL slopes (strait + curved)
02 - disable 1TL slopes (strait + curved)
03 - disable curved sloped
04 - disable diagonal tracks
05 - disable 1TL corner
06 - disable 2TL corner
07 - disable 3TL corner
08 - disable 4TL corner
09 - disable S-curves
10 - ?
11 - ?
12 - disable junctions
13 - ?
14 - ?
15 - ?
16 - ?