Signalling Gantlet Track in MSTS
by Yuri Sos

Overview

The signalling of Gantlet and/or dual gauge track has not been achievable in MSTS in the past. However with the recent discovery of using speed posts to add track nodes to crossovers (see Creating a Diamond Crossover complete with Track Node by Jeffrey Kraus-Yao), we can now apply that thinking to both gantlet track and to dual gauge situations.

Crossover nodes are used by MSTS signalling to control access to a track by a train in order to prevent collisions between Player and AI trains. Crossover nodes are automatically placed, being integral to special crossover track sections (e.g. default and Xtracks diamond crossing pieces) and when these track pieces are laid, two crossover nodes are installed at the same position with one crossover node per track.

However, the track database can be manually edited to add crossover nodes and by converting track interactives (e.g. speed posts, deer hazards) placed by Route Editor (RE), the difficult part of selecting which track vector and calculating distance from start of track vector is done by Route Editor.

 

The Procedure

One of the disadvantages of using speedpost items to place nodes on positions other than isolated diamond crossings is that they can sometimes not jump across 2 tracks or, more frequently jump across more than two tracks: their unpredicatability in areas other than isolated diamond crossings can make placing them problematic.

It's probably better to use the deer hazard as at least you can be sure of its placement. You will need to use one deer hazard for each proposed node.

Let's work through an example which should explain the process enabling you to adapt it to your own route construction.

The example I'm going to use is the bridge at Como in the Main Illawarra v3 route. In Route Editor, you'll find this bridge at tile 1288+10303 (x=50, z=-200). The line is double-track on both sides of the bridge but narrows to gantlet track over the bridge - gantlet track is where one track overlaps, but doesn't cross over another track, thus.....

Here's the area in Activity Editor.....

Go into Route Editor, click Object Selector (or press F5) and place your deer hazard. Once you've placed your deer hazard, click Modify button (F2), right-click on the deer hazard and make a note of the "x" and "z" co-ordinates: this will become important later.

Repeat, placing deer hazards on both lines at the beginning and end of the gantlet track, recording the co-ordinates as you go along.

Here are the north-side deer hazards placed.

Here are the south-side deer hazards placed.

These are the co-ordinates I've recorded:

North-side Down Mainline x = 129.2695, z = -48.8050
North-side Up Mainline x = 126.8827, z = -47.7954
South-side Down Mainline x = 113.9810, z = -375.7926
South-side Up Mainline x = 116.0796, z = -375.0337

(For my international readers, Australian railway systems use the terms UP and DOWN to refer to the direction of central station - UP is towards the central station, DOWN is away from the central station.)

What we are going to do is link North-side Down Mainline with South-side Up Mainline and North-side Up Mainline with South-side Down Mainline, thus providing the crossover linkage.

Now open the tdb and tit files in a Unicode-aware editor such as ConTEXT and search for Hazzard (sic). You will find four items matching your four placements in RE: they will not necessarily be together. In this route, I find Hazzard Items at TrItems 150, 151, 2848, 2849. We need to sort out which is which otherwise the nodes won't work properly. The co-ordinates in the .tdb and .tit are close, but don't exactly match the co-ordinates as shown in the pop-up window in RE (the discrepancy is only 3 cm!). Nevertheless, you will be able to discern which hazard belongs to which TrItem.

Examining the location parameters reveals the following:

North-side Down Mainline - TrItem ( 150 )
North-side Up Mainline - TrItem ( 151 )

South-side Up Mainline - TrItem ( 2849 )
South-side Down Mainline - TrItem ( 2848 )

To achieve the crossover links, we will need to link 150 - 2849 and 151 - 2848: thus.....

Convert the HazzardItems to Crossover Items by replacing as follows:

  • Change HazzardItem to CrossoverItem : in four places in the two files (total eight changes);


     
  • Change the "6" in the TrItemSData line to a "2": in four places in the two files (total eight changes);
     
  • Delete the complete line containing TrItemPData: in four places in the two files (total eight line deletions);
     
  • Add line CrossoverTrItemData: in four places in the two files ; the first parameter of the CrossoverTrItemData element is the TrItemId of the other pair of the crossing. The second parameter is a track shape. Choose the number of a crossing track and it will use the ClearanceDist defined for that track shape in the global tsection.dat file. Also place this track shape somewhere on your route so that Route Riter will produce a correct list of track shapes used by your route (in this example 39833 refers to an Xtracks crossover shape A1tXover11_3d.s).

    Make sure that

    • TrItem ( 150 ) has the line CrossoverTrItemData ( 2849 39833)
    • TrItem ( 151 ) has the line CrossoverTrItemData ( 2848 39833 )
    • TrItem ( 2848 ) has the line CrossoverTrItemData ( 151 39833 )
    • TrItem ( 2849 ) has the line CrossoverTrItemData ( 150 39833)

    Make sure these changes are made to BOTH the .tdb and .tit files.

Here's the final appearance in Activity Editor (compare it with the screenshot above) - note that you have now got four nodes (black dots) protecting the narrowed track.

Save, quit and let's try out the gantlet track.

 

Test Your Installation

Here I've created an activity with the Kiha as the player train starting at Como station and heading north over the bridge, the AI GP38-2s are heading southwards from Oatley Station.

The first image shows the view from the Kiha as it approaches the end of the bridge. The GP38s have arrived and are waiting at the signal.

The Kihas have cleared the bridge, but have not yet cleared the junction. The signal for the GP38s remains at red.

Once the Kihas have cleared the junction, the signal clears and the GP38s can now make their way across the bridge.

 

Conclusion

You can now protect tracks with the use of crossing nodes in situations such as gantlet track, double slips or sections of dual gauge track: this must surely be a boon to route builders building in mixed gauge areas - I can think of South Australia, Brisbane Metro area, Switzerland and America's Colorado narrow gauge systems where this ability to run trains on both standard gauge and narrow gauge without collision will be a great enhancement.

As I've just said, this technique can be applied to double-slips; click here to read the procedure in detail.

Hope this helps.