Version 1.3f 2014-04-28
Issue various special driver orders:
Stop train with various wait times.
Get identity of the last wagon in this train.
Couple to the vehicle identified above.
The above two command options serve as a replacement for 'Runaround train'. Additional commands can be inserted between this pair of commands.
Register product ( for use with Shedmaster driver message )
Apply Handbrake
Reverse (flip) loco or train direction or both.
Option to trigger servicing actions by loco scripts equipped with a message handler for the 'Service_Loco' major message.
'service loco, dump ash' will trigger the loco's ash dump animation.
Special command options for use by
'Skip If S-Variable' driver command:
Counts cars at trackmark excluding locomotives
Measures train length (Metres) at trackmark
Measures train mass (Metric Tons) at trackmark
Measuring trackmarks must have a name starting with a percent character (%) Example:
% Measure Train. Measurement extends for 500 metres in both directions but stops when the first consist is found.
To access the measurements a session variable needs to be added to the input table (built-in rule)
For number of cars add variable:
svname,consist_count
For train weight add variable:
svname,train_weight
For total train length add variable:
svname,train_length
For length of cars excluding locomotives add variable:
svname, consist_length
This command was originally written as 'Stop Train' by Atila Barut who has kindly given me permission to build on his work.