Guide to railtypes
From GRFSpecs
Jump to navigationJump to searchTrains and Railtypes both affect where a train can run and not, on top of this trains also need the correct railtypes to be defined in order to show up. This means that train and railtype sets need to coordinate so that the expected behavior can be reached.
This guide is writen for nml but it should be possible to follow if you subsititute the nml properties with the NFO ones, see below:
WIP
Preliminaries
How to make trains show up
item (FEAT_TRAINS, train) {
properties {
tracktype: [railtype label goes here];
}
}
Note the square brackets are not part of the syntax here.
By default OpenTTD will always make sure the railtypes RAIL, ELRL, MONO and MGLV exist, as such you are free to use these as you see fit.