TracktypeLabels

From GRFSpecs
Revision as of 13:36, 31 July 2020 by George (talk | contribs) (Added DC 1,5 KV to ER2S)
Jump to navigationJump to search

Labels for rail types, road types and tram type

All track types are identified via 4-byte labels. The labels are unique within their type, but it is common that rail types and tram types use the same label for similar types.

Vehicles can check for their track type on a tile, but they only have access to their own type: On a level-crossing with all three tracks (rail, road, tram) trains can only check rail types, buses/trucks can only check road types, and trams can only check tram types.

Rail vs. tram

Rail and tram are very different wrt. game-play, but both are kind of rails. To unify labels, rail and tram should use the same labels, if the tracks are similar.

  • RAIL for unelectrified rail and tram.
  • ELRL for electrified rail and tram.
  • FNCY for fancy-powered rail and tram.

Default labels

Rail type

These labels are used for the trains and tracks in the base game, as well as for train sets that are not rail-type-aware. Consequently, track NewGRFs should always override their properties, or at least make their tracks compatible to them.

Label Rail Type
RAIL Normal rail
ELRL electrified rail
MONO Monorail tracks
MGLV Maglev tracks

Road types

By default there is only a single road type defined:

Label Road Type
ROAD Normal road

However, if a NewGRF requires electrified "ELRD", an Action0 is sufficient to add this type and make it use the default road-ground and catenary sprites.

Tram types

By default there is only a single tram type defined:

Label Tram Type
ELRL Electrified rail

However, if a NewGRF requires unelectrified "RAIL", an Action0 is sufficient to add this type and make it use the default tram-ground sprites.

Note: Please use the same label for tram types which already exist as rail types.

Standardized Rail Type Scheme

Several members of the TT Forums have collaborated to define a rail type label scheme that allows for compatibility between train and track sets by different authors. At the same time it allows fancy stuff like axle weight limits, speed limits, different track and electrification types, etc. It is strongly encouraged to follow this scheme in train and track NewGRFs.

See Standardized Railtype Scheme.

Non-standard railtype labels

The following labels were defined before the adoption of the Standardized Rail Type Scheme. They should no longer be used nor supported, and recent versions of the respective NewGRFs generally have dropped them.

Label Rail Type Notes
_040 speed limit 40 km/h Slowrails, SwedishRails
_080 speed limit 80 km/h Slowrails, SwedishRails
E040 speed limit 40 km/h, with catenary Slowrails, SwedishRails
E080 speed limit 80 km/h, with catenary Slowrails, SwedishRails
3RDR Tracks with third rail MetroTracks, NuTracks, UK Railway Set tracks, Japanese Track Set
3RDC Tracks with third rail and catenary MetroTracks, NuTracks, UK Railway Set tracks, Japanese Track Set
RLOW Low speed tracks NuTracks, SwedishRails, Japanese Track Set
ELOW Low speed tracks with catenary NuTracks, SwedishRails, Japanese Track Set
3LOW Low speed tracks with 3rd rail NuTracks,
CLOW Low speed tracks, 3rd rail and catenary NuTracks
RMED Medium speed tracks NuTracks, SwedishRails
EMED Medium speed tracks with catenary NuTracks, SwedishRails
3MED Medium speed tracks with 3rd rail NuTracks
CMED Medium speed tracks, 3rd rail and catenary NuTracks
RHIG High speed tracks NuTracks, SwedishRails, Japanese Track Set
EHIG High speed tracks with catenary NuTracks, SwedishRails, Japanese Track Set
HSTR Very high speed tracks with catenary NuTracks, SwedishRails, Japanese Track Set
NGRL Narrow gauge tracks Narrow Gauge Track Types, Japanese Track Set
ELNG Narrow gauge tracks with catenary Narrow Gauge Track Types, Japanese Track Set
PLAN Planning tracks (blue dotted lines) NuTracks
MTRO Metro tracks NuTracks
MTRC Metro tracks with concrete edges NuTracks
MTRS Metro tracks with suburban buildings on top NuTracks
MTRU Metro tracks with 'downtown' buildings on top NuTracks
MTRT Metro tracks with plain landscape on top NuTracks
DBNN branch line DBRails
DBNE branch line, electrified DBRails
DBHN main line DBRails
DBHE main line, electrified DBRails
DBHS high speed line electrified (NBS) DBRails
TRPD transrapid track Transrapid track type
NAAN Narrow gauge, unelectrified French Set Rails
NAAE Narrow gauge, catenary powered French Set Rails
NAA3 Narrow gauge, third-rail powered French Set Rails
NRAN Narrow gauge, unelectrified, rack rail French Set Rails
NRAE Narrow gauge, catenary powered, rack rail French Set Rails
NBAN Narrow gauge, unelectrified, high speed French Set Rails
NLOW Low speed narrow gauge tracks Japanese Track Set
ENLW Low speed narrow gauge tracks with catenary Japanese Track Set
ENHI Modern narrow gauge tracks with catenary Japanese Track Set
RLA0 Broad (1520 mm) gauge unelectrified tracks. Speed limit 60 km/h xUSSR train set
RLA1 Broad (1520 mm) gauge unelectrified tracks. Speed limit 100 km/h xUSSR train set
RLA2 Broad (1520 mm) gauge unelectrified tracks. Speed limit 140 km/h xUSSR train set
RLA3 Broad (1520 mm) gauge unelectrified tracks. Speed limit 250 km/h xUSSR train set
ERd0 Broad (1520 mm) gauge tracks with generic DC catenary 1,5kV. Speed limit 60 km/h xUSSR train set
ERd1 Broad (1520 mm) gauge tracks with generic DC catenary 1,5kV. Speed limit 100 km/h xUSSR train set
ERD1 Broad (1520 mm) gauge tracks with generic DC catenary 3kV. Speed limit 100 km/h xUSSR train set
ERD2 Broad (1520 mm) gauge tracks with generic DC catenary 3kV. Speed limit 140 km/h xUSSR train set
ERD3 Broad (1520 mm) gauge tracks with generic DC catenary 3kV. Speed limit 250 km/h xUSSR train set
ERA1 Broad (1520 mm) gauge tracks with generic AC catenary 25kV. Speed limit 100 km/h xUSSR train set
ERA2 Broad (1520 mm) gauge tracks with generic AC catenary 25kV. Speed limit 140 km/h xUSSR train set
ERA3 Broad (1520 mm) gauge tracks with generic AC catenary 25kV. Speed limit 250 km/h xUSSR train set
ERA4 Broad (1520 mm) gauge tracks with generic AC catenary 25kV. No speed limit xUSSR train set
ER2S Broad (1520 mm) gauge tracks with AC/DC catenary 25kV/3kV/1,5kV. Speed limit 120 km/h xUSSR train set
WGWY Wagonway Early Rails set
LIHT Light Rails Early Rails set
TYTX ToyTrax ToyTrax
ELTX ElecTrax ToyTrax