Variable:trackpieces

From TTWiki
Jump to navigationJump to search

This bitmask controls what pieces are available for the track, trackmod, roadmod or train station.

stationtrackpieces and curvetypes are exactly the same.


0x00 diagonal - Diagonal piece
0x01 widecurve - Wide curve, 45°, 2x3 (Normal Train Tracks)
0x02 mediumcurve - Medium curve, 90°, 3x3
0x03 smallcurve - Small curve, 90°, 2x2
0x04 tightcurve - Tight curve, 90°, 1x1 (Narrow Guarge, Roads and Trams)
0x05 normalslope - Normal slope, up/down, 1x2
0x06 steepslope - Short slope, up/down, 1x1 (Narrow Guarge, Roads and Trams)
0x07 bit_7 - Trackpieces for the railway to run on just on side of a tile (like a single tramtrack). It seems that this is not fully implemented though, slopes can be build per side, but Locomotion does not take any tiles to display them.
0x08 slopedcurve - Sloped curve, up/down, 90°, 2x2
0x09 sbend - S-Bend, 2x3
0x0A bit_A - Allow switches and junctions

for sloped and curved bridges go to disabledtrackcfg.