Skip to content

Shunting

Commands for Shunting

The following special (non-standard) commands are used:

No. 77 – Divert main track for shunting

Syntax: <activation track>__77__1__<delay>__<track1>;<track2>;<offset>

Diverts the main track from to by meters. Positive value = right, negative = left.

No. 78 – Reset diverted track back to main

Syntax: <activation track>__78__1__<delay>__<track1>;<track2>

Resets the diverted section between and back to the main track. The reset must cover the tracks where the shunting route was previously altered.

No. 79 – Turn on white aspect on shunting signals

Syntax to turn ON: <activation track>__79__1__<delay>__<signalID1>,<signalID2>

Syntax to turn OFF: <activation track>__79__0__<delay>

Turns on the white light on specified shunting signals. If no signal IDs are given, the command will activate the white light on any shunting signal within 50 meters from the locomotive. Important: After completing the shunting, turn the white lights off using command 79 with state 0.

Viewing main track route

Use the console command track 1 to see the path of the main track and any active diversions.

Example 1: Departure to Couple with Train (Kyiv-Pas station, Kyiv – Shevchenko route)

In the scenario, track 24 is set as the start. When the scenario launches, the train appears on track 23 (1 less). This offset may vary, always verify it.

[troubles] section:

-23 77 1 0 21;28;7.5
-23 77 1 1 22;28;7.5
-22 79 1 70 M11,M13
-12 78 1 0 21;28
-12 79 0 0
  • 77 command on track 23 diverts the main from track 21 to 28 by 7.5m.
  • Another 77 on the same track further diverts from 22 to 28 by 7.5m after a 1-second delay (to avoid overlapping commands).
  • On track 22, white light on shunting signals M11 and M13 turns on after 70 seconds.
  • On track 12, the diversion is reset (tracks 21–28) and white lights are turned off.
  • If white lights are not turned off, M11 and M13 will stay lit at all stations during mainline operation.

Example 2: Uncoupling and Entering Depot (Vyazma station, Moscow – Vyazma route)

Arrival on track 4666.

[troubles] section:

4666 51 1 60
4666 79 1 0 M34,M31,M21
4666 77 1 0 4673;4688;-7.5
-4675 78 1 0 4673;4688
-4675 77 1 0 4636;4688;-7.5
-4675 77 1 1 4636;4651;-7.5
-4676 0 0 0 DSP: Stop, change cab and proceed to depot
-4639 0 0 0 Leave the locomotive here and apply handbrakes. Scenario complete.
  • Command 51 enables white light on the departure signal after 60 seconds.
  • Command 79 enables white on shunting signals M34, M31, M21.
  • Command 77 diverts track from 4673 to 4688 left by 7.5m.
  • Upon entering track 4675, command 78 resets this diversion.
  • A new diversion is created from 4636 to 4688 and then again from 4636 to 4651 for depot access.
  • Track 4676 sends a message to the driver: stop, change cab, and proceed to depot.
  • On track 4639, display message: park the locomotive and secure it with handbrakes.