Skip to content
Katy Fox edited this page Feb 9, 2021 · 2 revisions

Named Trains Config File Format

Config files for generating special/express trains should be named "pj_specials.xml" and placed inside the folder of (one of) the skins that makes up the train.

Example path: steamapps/common/Derail Valley/Mods/SkinManagerMod/Skins/CarPassenger_Red/My_Awesome_Skin/pj_specials.xml

Here is the contents of an example xml file:

<SpecialTrainConfig>
    <Train Name="Broadway Limited" IDAbbrev="PRR">
        <Skin CarType="Red" Name="PRR"/>
        <Skin CarType="Red" Name="PRR_Modernism" ExpressOnly="true"/>
    </Train>
</SpecialTrainConfig>

Train node:

  • Name - the name of the train used on job booklets and platform signs
  • IDAbbrev - (optional, default is initials) Reporting mark used as the job ID prefix for these trains (eg PRR-42)

Skin node:

  • CarType - Red, Green, or Blue (case insensitive) - the TrainCarType to be used (must match all specified skins)
  • Name - comma-separated list of skin names to be used in the train consists. Case-sensitive
  • ExpressOnly - (optional, default=false) whether the skins for this train can be used on normal trains
Clone this wiki locally