Driver Commands List
m (→Skip if Session-Variable) |
|||
Line 12: | Line 12: | ||
'''This document will be modified (or a separate document created) for TRS19 ''after'' it is officially released (the current release is a beta version).''' | '''This document will be modified (or a separate document created) for TRS19 ''after'' it is officially released (the current release is a beta version).''' | ||
− | <table width="100%" bgcolor=# | + | <table width="100%" bgcolor=#a8ff8a> |
<tr> | <tr> | ||
<td> | <td> | ||
Line 33: | Line 33: | ||
---- | ---- | ||
__TOC__ | __TOC__ | ||
− | <table width="100%" bgcolor=# | + | <table width="100%" bgcolor=#a8ff8a> |
<tr> | <tr> | ||
<td> | <td> | ||
Line 40: | Line 40: | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | + | <br> | |
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''IT CancelEnhancedPath'''== | =='''IT CancelEnhancedPath'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 70: | Line 76: | ||
*'''[[Session_Rules_By_Categories_With_Properties#Interlocking_Tower_Enhanced_Manager_Rule_.28SP2_and_later.29|Interlocking Tower Enhanced Manager Rule]]''' | *'''[[Session_Rules_By_Categories_With_Properties#Interlocking_Tower_Enhanced_Manager_Rule_.28SP2_and_later.29|Interlocking Tower Enhanced Manager Rule]]''' | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''IT SetPath'''== | =='''IT SetPath'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 101: | Line 114: | ||
*'''[[Session_Rules_By_Categories_With_Properties#Interlocking_Tower_Enhanced_Manager_Rule_.28SP2_and_later.29|Interlocking Tower Enhanced Manager Rule]]''' | *'''[[Session_Rules_By_Categories_With_Properties#Interlocking_Tower_Enhanced_Manager_Rule_.28SP2_and_later.29|Interlocking Tower Enhanced Manager Rule]]''' | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''IT SetPathAndWaitActive'''== | =='''IT SetPathAndWaitActive'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 132: | Line 152: | ||
*'''[[Session_Rules_By_Categories_With_Properties#Interlocking_Tower_Enhanced_Manager_Rule_.28SP2_and_later.29|Interlocking Tower Enhanced Manager Rule]]''' | *'''[[Session_Rules_By_Categories_With_Properties#Interlocking_Tower_Enhanced_Manager_Rule_.28SP2_and_later.29|Interlocking Tower Enhanced Manager Rule]]''' | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''IT SetPathAndWaitNotRed'''== | =='''IT SetPathAndWaitNotRed'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 165: | Line 192: | ||
'''[[#top|Back to Top]]''' | '''[[#top|Back to Top]]''' | ||
− | <table width="100%" bgcolor=# | + | <table width="100%" bgcolor=#a8ff8a> |
<tr> | <tr> | ||
<td> | <td> | ||
− | |||
='''Load and Unload Commands'''= | ='''Load and Unload Commands'''= | ||
</td> | </td> | ||
Line 174: | Line 200: | ||
</table> | </table> | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Instant Load Command'''== | =='''Instant Load Command'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 191: | Line 224: | ||
'''None''' | '''None''' | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''InstantLoadLocos'''== | =='''InstantLoadLocos'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 208: | Line 248: | ||
'''None''' | '''None''' | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''InstantUnLoad'''== | =='''InstantUnLoad'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 225: | Line 272: | ||
'''None''' | '''None''' | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Load'''== | =='''Load'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 246: | Line 300: | ||
#With passenger enabled stations the '''Load''' command will first execute an '''Unload''' command to unload some of the passengers. | #With passenger enabled stations the '''Load''' command will first execute an '''Unload''' command to unload some of the passengers. | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Load At'''== | =='''Load At'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 274: | Line 335: | ||
*'''[[#Load|Load]]''' - loads commodities at an industry (including a station) | *'''[[#Load|Load]]''' - loads commodities at an industry (including a station) | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Unload'''== | =='''Unload'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 302: | Line 370: | ||
'''[[#top|Back to Top]]''' | '''[[#top|Back to Top]]''' | ||
− | <table width="100%" bgcolor=# | + | <table width="100%" bgcolor=#a8ff8a> |
<tr> | <tr> | ||
<td> | <td> | ||
Line 310: | Line 378: | ||
</table> | </table> | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''AI Wait Until Green Signal'''== | =='''AI Wait Until Green Signal'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 328: | Line 403: | ||
'''Только на станционном зале " Z7 " /Су''' - Translation: "Only at the station hall " Z7 " / su" - unknown meaning | '''Только на станционном зале " Z7 " /Су''' - Translation: "Only at the station hall " Z7 " / su" - unknown meaning | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Change Train Direction'''== | =='''Change Train Direction'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 345: | Line 427: | ||
'''None''' | '''None''' | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Halt Train'''== | =='''Halt Train'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 362: | Line 451: | ||
'''None''' | '''None''' | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Set Max Speed To'''== | =='''Set Max Speed To'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 385: | Line 481: | ||
*'''[[#Set Max Speed To (km/h)|Set Max Speed To (km/h)]]''' - set the maximum speed in km/h | *'''[[#Set Max Speed To (km/h)|Set Max Speed To (km/h)]]''' - set the maximum speed in km/h | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Set Max Speed To (km/h)'''== | =='''Set Max Speed To (km/h)'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 408: | Line 511: | ||
*'''[[#Set Max Speed To|Set Max Speed To]]''' - set the maximum speed in mph | *'''[[#Set Max Speed To|Set Max Speed To]]''' - set the maximum speed in mph | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''WaitFor'''== | =='''WaitFor'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 428: | Line 538: | ||
:There are a limited range of available times from 5 seconds to 1 hour. A time delay that is not in this list (e.g. 3 minutes) can be achieved by using two (or more) '''WaitFor''' commands with the combined total of their times equaling the required time delay. | :There are a limited range of available times from 5 seconds to 1 hour. A time delay that is not in this list (e.g. 3 minutes) can be achieved by using two (or more) '''WaitFor''' commands with the combined total of their times equaling the required time delay. | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''WaitForTrigger'''== | =='''WaitForTrigger'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 448: | Line 565: | ||
'''[[#top|Back to Top]]''' | '''[[#top|Back to Top]]''' | ||
− | <table width="100%" bgcolor=# | + | <table width="100%" bgcolor=#a8ff8a> |
<tr> | <tr> | ||
<td> | <td> | ||
Line 456: | Line 573: | ||
</table> | </table> | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Autopilot Command'''== | =='''Autopilot Command'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 481: | Line 605: | ||
:*the train will run at the full posted line speed upto the track mark and then it will slow to a stop | :*the train will run at the full posted line speed upto the track mark and then it will slow to a stop | ||
:*if the track mark is never reached because the correct path has not been set, the train will continue as it would for the '''activate''' option | :*if the track mark is never reached because the correct path has not been set, the train will continue as it would for the '''activate''' option | ||
− | + | <br> | |
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Drive To'''== | =='''Drive To'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 506: | Line 636: | ||
*'''[[#Navigate To|Navigate To]]''' - will seek alternative paths if blocked | *'''[[#Navigate To|Navigate To]]''' - will seek alternative paths if blocked | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Drive To Trackmark'''== | =='''Drive To Trackmark'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 529: | Line 666: | ||
*'''[[#Navigate To Trackmark|Navigate To Trackmark]]''' - will seek alternative paths if blocked | *'''[[#Navigate To Trackmark|Navigate To Trackmark]]''' - will seek alternative paths if blocked | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Drive Via Trackmark'''== | =='''Drive Via Trackmark'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 553: | Line 697: | ||
*'''[[#Navigate Via Trackmark|Navigate Via Trackmark]]''' - will seek alternative paths if blocked | *'''[[#Navigate Via Trackmark|Navigate Via Trackmark]]''' - will seek alternative paths if blocked | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Navigate To'''== | =='''Navigate To'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 577: | Line 728: | ||
*'''[[#Drive To|Drive To]]''' - does not seek alternative paths if blocked | *'''[[#Drive To|Drive To]]''' - does not seek alternative paths if blocked | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Navigate To Trackmark'''== | =='''Navigate To Trackmark'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 600: | Line 758: | ||
*'''[[#Drive To Trackmark|Drive To Trackmark]]''' - does not seek alternative paths if blocked | *'''[[#Drive To Trackmark|Drive To Trackmark]]''' - does not seek alternative paths if blocked | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Navigate Via Trackmark'''== | =='''Navigate Via Trackmark'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 626: | Line 791: | ||
'''[[#top|Back to Top]]''' | '''[[#top|Back to Top]]''' | ||
− | <table width="100%" bgcolor=# | + | <table width="100%" bgcolor=#a8ff8a> |
<tr> | <tr> | ||
<td> | <td> | ||
Line 634: | Line 799: | ||
</table> | </table> | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Delete Train'''== | =='''Delete Train'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 651: | Line 823: | ||
'''None''' | '''None''' | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Insert Buff Label'''== | =='''Insert Buff Label'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 673: | Line 852: | ||
[[file:PageLink.PNG]] '''<u>Related Commands:</u>''' | [[file:PageLink.PNG]] '''<u>Related Commands:</u>''' | ||
*'''[[#Jump to Label|Jump to Label]]''' - unconditionally jumps to a named command label | *'''[[#Jump to Label|Jump to Label]]''' - unconditionally jumps to a named command label | ||
− | *'''[[#Skip if Session-Variable|Skip if Session Variable]]''' - conditionally jumps to the named command label if a selected session variable | + | *'''[[#Skip if Session-Variable|Skip if Session Variable]]''' - conditionally jumps to the named command label if a selected session variable meets a set condition |
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Jump to Label'''== | =='''Jump to Label'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 699: | Line 885: | ||
*'''[[#Skip if Session-Variable|Skip if Session Variable]]''' - conditionally jumps to the named command label if a selected session variable mets a set condition | *'''[[#Skip if Session-Variable|Skip if Session Variable]]''' - conditionally jumps to the named command label if a selected session variable mets a set condition | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Move to Train'''== | =='''Move to Train'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 723: | Line 916: | ||
*'''[[How_to_Use_Driver_Setup_Rule|How to Use the Driver Setup Rule]]''' | *'''[[How_to_Use_Driver_Setup_Rule|How to Use the Driver Setup Rule]]''' | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Skip if Session-Variable'''== | =='''Skip if Session-Variable'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:CMD_SkipIfSVar.png|50px]]</td> | <td>[[file:CMD_SkipIfSVar.png|50px]]</td> | ||
− | <td>Jumps to the named command label if a selected session variable | + | <td>Jumps to the named command label if a selected session variable mets a set condition.</td> |
</tr> | </tr> | ||
</table> | </table> | ||
Line 755: | Line 955: | ||
'''[[#top|Back to Top]]''' | '''[[#top|Back to Top]]''' | ||
− | <table width="100%" bgcolor=# | + | <table width="100%" bgcolor=#a8ff8a> |
<tr> | <tr> | ||
<td> | <td> | ||
− | |||
='''Signal Commands'''= | ='''Signal Commands'''= | ||
</td> | </td> | ||
Line 764: | Line 963: | ||
</table> | </table> | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Set Signal Ahead'''== | =='''Set Signal Ahead'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 793: | Line 999: | ||
[[file:Notes.PNG]] '''<u>Notes:</u>''' | [[file:Notes.PNG]] '''<u>Notes:</u>''' | ||
− | #This command only works on signals that will respond to the function "SetSignalStateEx", not all signals will respond | + | #This command only works on signals that will respond to the function "SetSignalStateEx", not all signals will respond |
#The signal must support the selected state otherwise there will be no change | #The signal must support the selected state otherwise there will be no change | ||
#The signal will be reset after the train has cleared the signal | #The signal will be reset after the train has cleared the signal | ||
Line 799: | Line 1,005: | ||
'''[[#top|Back to Top]]''' | '''[[#top|Back to Top]]''' | ||
− | <table width="100%" bgcolor=# | + | <table width="100%" bgcolor=#a8ff8a> |
<tr> | <tr> | ||
<td> | <td> | ||
− | |||
='''Train Operation Commands'''= | ='''Train Operation Commands'''= | ||
</td> | </td> | ||
Line 808: | Line 1,013: | ||
</table> | </table> | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Bellz'''== | =='''Bellz'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 831: | Line 1,043: | ||
*'''[[#Hornz|Hornz]]''' - gives a blast of the horn (or whistle) | *'''[[#Hornz|Hornz]]''' - gives a blast of the horn (or whistle) | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Couple'''== | =='''Couple'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 860: | Line 1,079: | ||
*'''[[#UncouplezFrom|UncouplezFrom]]''' - decouples a consist at a specific place. Upto 20 wagons | *'''[[#UncouplezFrom|UncouplezFrom]]''' - decouples a consist at a specific place. Upto 20 wagons | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Decouple'''== | =='''Decouple'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 893: | Line 1,119: | ||
*'''[[#UncouplezFrom|UncouplezFrom]]''' - decouples a consist at a specific place. Upto 20 wagons | *'''[[#UncouplezFrom|UncouplezFrom]]''' - decouples a consist at a specific place. Upto 20 wagons | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Decouple DLX'''== | =='''Decouple DLX'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 937: | Line 1,170: | ||
*'''[[#UncouplezFrom|UncouplezFrom]]''' - decouples a consist at a specific place. Upto 20 wagons | *'''[[#UncouplezFrom|UncouplezFrom]]''' - decouples a consist at a specific place. Upto 20 wagons | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Decouple Head N'''== | =='''Decouple Head N'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 966: | Line 1,206: | ||
*'''[[#UncouplezFrom|UncouplezFrom]]''' - decouples a consist at a specific place. Upto 20 wagons | *'''[[#UncouplezFrom|UncouplezFrom]]''' - decouples a consist at a specific place. Upto 20 wagons | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Decouple Number #'''== | =='''Decouple Number #'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 995: | Line 1,242: | ||
*'''[[#UncouplezFrom|UncouplezFrom]]''' - decouples a consist at a specific place. Upto 20 wagons | *'''[[#UncouplezFrom|UncouplezFrom]]''' - decouples a consist at a specific place. Upto 20 wagons | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Hornz'''== | =='''Hornz'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 1,015: | Line 1,269: | ||
*'''[[#Bellz|Bellz]]''' - rings the locomotive bell (if it has one) | *'''[[#Bellz|Bellz]]''' - rings the locomotive bell (if it has one) | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''MoveTurntable'''== | =='''MoveTurntable'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 1,039: | Line 1,300: | ||
*'''[[Session Rule List with Parameters#InputTable Rule|InputTable Rule]]''' | *'''[[Session Rule List with Parameters#InputTable Rule|InputTable Rule]]''' | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Priorityz'''== | =='''Priorityz'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 1,062: | Line 1,330: | ||
:*Priority 3 = Slow Local Freights or All Stops Services | :*Priority 3 = Slow Local Freights or All Stops Services | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Run Around'''== | =='''Run Around'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 1,083: | Line 1,358: | ||
#The locomotive must have sufficient clear space, free of track switches and signals, at both ends of the train to perform this movement. | #The locomotive must have sufficient clear space, free of track switches and signals, at both ends of the train to perform this movement. | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''Uncouplez'''== | =='''Uncouplez'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> | ||
Line 1,108: | Line 1,390: | ||
*'''[[#UncouplezFrom|UncouplezFrom]]''' - decouples a consist at a specific place. Upto 20 wagons | *'''[[#UncouplezFrom|UncouplezFrom]]''' - decouples a consist at a specific place. Upto 20 wagons | ||
+ | <br> | ||
+ | <table bgcolor=#d7ffc9> | ||
+ | <tr> | ||
+ | <td> | ||
=='''UncouplezFrom'''== | =='''UncouplezFrom'''== | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
<table> | <table> |
Revision as of 08:18, 3 December 2018
This document is a work in progress |
TRAINZ A New Era (TANE) SP3. List of Trainz Driver Commands. All commands are the Copyright of N3V Games
This page is always under construction. As new commands appear they will be added to this list. Only commands supplied with TANE or on the DLS are covered in this document. This document will be modified (or a separate document created) for TRS19 after it is officially released (the current release is a beta version).
The driver commands listed in this page are all found in Trainz Surveyor from the Edit Session option in the Main Menu and are accessed by the Driver Command Rule and the Driver Setup Rule. See the Trainz Wiki Page How to Use the Driver Setup Rule for more information on both rules. Those commands that are identified as a DLS Command must be downloaded and installed from the Trainz DLS first. |
Description Key:
- <kuid number> is for the command version at the time of writing. This number will change if the command is updated.
- DLS Command must be downloaded and installed from the DLS.
- Base Command and Built-in Command are installed with TANE.
- Obsolete Command is no longer required (explanation given).
- Legacy Command has been replaced by another command (new command will be identified).
Contents |
Interlocking Tower Commands |
IT CancelEnhancedPath |
Cancels an active Enhanced Interlocking Tower (EIT) path for the train that had been set by the IT SetPath Command |
- <kuid2:61392:8114:54> IT CancelEnhancedPath
- DLS Command by pguy
<Select EIT> - select from list of session EITs <Select Path> - select the active path from that EIT
- The active path must be created using the Interlocking Tower Enhanced Manager Rule (SP2 and later)
- Cancelling a path makes it available for other consists and allows conflicting paths to be made active
- An active path is automatically cancelled after it has been completed by a train
- IT SetPath - sets an active path
IT SetPath |
- <kuid2:61392:8111:54> IT SetPath
- DLS Command by pguy
<Select IT or EIT> - select from list of session ITs and/or EITs <Select Path> - select from available paths for that IT/EIT
- The paths must be created using the Interlocking Tower Set Path Rule or the Interlocking Tower Enhanced Manager Rule (SP2 and later)
- An active path is automatically cancelled after it has been completed by a train
- IT CancelEnhancedPath - cancels an active EIT path
- IT SetPathAndWaitActive - sets an active IT or EIT path and waits until it is active
- IT SetPathAndWaitNotRed - sets an active IT or EIT path and waits until the signal ahead is not red
IT SetPathAndWaitActive |
- <kuid2:61392:8113:54> IT SetPathAndWaitActive
- DLS Command by pguy
<Select IT or EIT> - select from list of session ITs and/or EITs <Select Path> - select from available paths for that IT/EIT
- The paths must be created using the Interlocking Tower Set Path Rule or the Interlocking Tower Enhanced Manager Rule (SP2 and later)
- An active path is automatically cancelled after it has been completed by a train
- IT CancelEnhancedPath - cancels an active EIT path
- IT SetPath - sets an active IT or EIT path
- IT SetPathAndWaitNotRed - sets an active IT or EIT path and waits until the signal ahead is not red
IT SetPathAndWaitNotRed |
- <kuid2:61392:8112:54> IT SetPathAndWaitNotRed
- DLS Command by pguy
<Select IT or EIT> - select from list of session ITs and/or EITs <Select Path> - select from available paths for that IT/EIT
- The paths must be created using the Interlocking Tower Set Path Rule or the Interlocking Tower Enhanced Manager Rule (SP2 and later)
- An active path is automatically cancelled after it has been completed by a train
- IT CancelEnhancedPath - cancels an active EIT path
- IT SetPath - sets an active IT or EIT path
- IT SetPathAndWaitActive - sets an active IT or EIT path and waits until it is active
Load and Unload Commands |
Instant Load Command |
Instantly loads all rolling stock (except locos and tenders) in the train with the item(s) in their commodity queues. |
- <kuid2:45324:555017:7> Instant Load Command
- DLS Command by norfolksouthern37
None
InstantLoadLocos |
Instantly loads all locos and tenders in the train with the item(s) in their commodity queues (coal, water, diesel fuel). |
- <kuid2:117290:1022:1> InstantLoadLocos
- Builtin Command by nzhorse
None
InstantUnLoad |
Instantly unloads the commodities in all rolling stock (except locos and tenders) in the train. |
- <kuid2:67585:1021:2> InstantUnload
- DLS Command by robin_hoods
None
Load |
- <kuid:-3:10076> Load
- Base Command
None
- If the industry where the loading is taking place uses up all the available commodities before all the wagons are fully loaded, then any following wagons will not be loaded until the commodity is available again but the AI driver will not stop to wait.
- With passenger enabled stations the Load command will first execute an Unload command to unload some of the passengers.
Load At |
- <kuid2:75377:84:1> Load At
- DLS Command by stagecoach
Select <name of industry> or industry enabled passenger station from session list if applicable <name/number of track or platform> for industries and stations that have identified active platforms, tracks or loading bays
- The AI driver will select the shortest available path to the destination.
- If the AI driver is blocked (e.g. by another train, a locked signal or switch) it will not attempt to find an alternative path to the destination. This can lead to the train stopping and waiting indefinately until the blockage is removed.
- If the industry where the loading is taking place uses up all the available commodities before all the wagons are fully loaded, then any following wagons will not be loaded until the commodity is available again but the AI driver will not stop to wait.
- With passenger enabled stations the Load command will first execute an Unload command to unload some of the passengers.
- Drive To - drives to an industry but does not seek alternative paths if blocked
- Load - loads commodities at an industry (including a station)
Unload |
- <kuid:-3:10077> Unload
- Base Command
None
- If the industry where the unloading is taking place reaches its maximum capacity before all the wagons are fully unloaded, then any following wagons will not be unloaded until capacity is available again but the AI driver will not stop to wait.
- With passenger enabled stations the Unload command will unload a set number of passengers, specifically:-
- Terminal stations = 100% of loaded passengers
- Large stations = 50%
- Standard stations = 25%
- Small stations = 10%
- The station size is set in the station properties
Movement Commands |
AI Wait Until Green Signal |
Instructs the AI driver to wait for a green signal ahead before executing the next driver command. The interface for this driver command is in Russian. |
- <kuid2:151055:100101:3> AI Wait until green signal
- DLS Command by erendir
Ждать, пока не будет зелёный > - Translation: "Wait until it is green >" На любом светофоре - Translation: "At any traffic light" - select for the next signal up to 3000m ahead Только на станционном зале " Z7 " /Су - Translation: "Only at the station hall " Z7 " / su" - unknown meaning
Change Train Direction |
Reverses the driving direction of the train. |
- <kuid2:70791:9001:1> Change Train Direction
- Builtin Command by mgalling
None
Halt Train |
Brings the train to an immediate stop. |
- <kuid:401543:1090> Halt Train
- Base Command
None
Set Max Speed To |
Instructs the AI driver to drive up to the set maximum speed (mph). This speed limit has no effect on other AI trains. Lower speed limit signs are obeyed. |
- <kuid2:450022:90001:2> Set Max Speed To
- DLS Command by nikkia
Select <No maximum speed> or <value> in mph
- The maximum speed, once set, will remain in place throughout the session unless cancelled or reset by another Set Max Speed To command.
- Set Max Speed To (km/h) - set the maximum speed in km/h
Set Max Speed To (km/h) |
Instructs the AI driver to drive up to the set maximum speed (km/h). This speed limit has no effect on other AI trains. Lower speed limit signs are obeyed. |
- <kuid:450022:90002> Set Max Speed To (km/h)
- DLS Command by nikkia
Select <No maximum speed> or <value> in km/h
- The maximum speed, once set, will remain in place throughout the session unless cancelled or reset by another Set Max Speed To command.
- Set Max Speed To - set the maximum speed in mph
WaitFor |
Instructs the AI driver to wait for a set time period before executing the next instruction in the command list. |
- <kuid:-3:10090> WaitFor
- Base Command
Select <time delay> from list
- There are a limited range of available times from 5 seconds to 1 hour. A time delay that is not in this list (e.g. 3 minutes) can be achieved by using two (or more) WaitFor commands with the combined total of their times equaling the required time delay.
WaitForTrigger |
Instructs the AI driver to wait for a trigger event before executing the next instruction in the command list. |
- <kuid2:57344:80001:5> WaitFor
- Built-in Command by marinus
Select <trigger name> from session list Select <any train> or locomotive from <list of locomotive names>
|
Autopilot Command |
Instructs the AI driver to drive but the AI will not set any junction switches so the train will follow whatever path is set ahead of it. All signals and speed signs are obeyed. |
- <kuid2:71155:60001:5> Autopilot Command
- DLS Command by _mutton_
Select one of <activate> - starts the Autopilot Command. This will only terminate when the Autopilot Command is removed from the driver command line <stop at track mark> - select a trackmark from the session list. Starts the Autopilot Command and drives until the train reaches the selected trackmark (see Notes below)
- It is the users responsibility to set all junction switches ahead of the train
- If the Stop at track mark option is used then:-
- the train will not set a path to the track mark, that is the users responsibility
- the train will run at the full posted line speed upto the track mark and then it will slow to a stop
- if the track mark is never reached because the correct path has not been set, the train will continue as it would for the activate option
Drive To |
- <kuid:-3:11058> Drive To
- Base Command
Select <name of industry> or industry enabled passenger station from session list if applicable <name/number of track or platform> for industries and stations that have identified active platforms, tracks or loading bays
- If the AI driver is blocked (e.g. by another train, a locked signal or switch) it will not attempt to find an alternative path to the destination. This can lead to the train stopping and waiting indefinately until the blockage is removed.
- Navigate To - will seek alternative paths if blocked
Drive To Trackmark |
- <kuid:-3:11149> Drive To Trackmark
- Base Command
Select <name of trackmark> from session list
- If the AI driver is blocked (e.g. by another train, a locked signal or switch) it will not attempt to find an alternative path to the destination. This can lead to the train stopping and waiting indefinately until the blockage is removed.
- Navigate To Trackmark - will seek alternative paths if blocked
Drive Via Trackmark |
- <kuid:-3:11209> Drive Via Trackmark
- Base Command
Select <name of trackmark> from session list
- This command is used to direct the AI along a set route to a final destination which is not normally the trackmark identified in this command.
- If the AI driver is blocked (e.g. by another train, a locked signal or switch) it will not attempt to find an alternative path to the designated trackmark. This can lead to the train stopping and waiting indefinately until the blockage is removed.
- Navigate Via Trackmark - will seek alternative paths if blocked
|
- <kuid:-3:10058> Navigate To
- Base Command
Select <name of industry> or industry enabled passenger station from session list if applicable <name/number of track or platform> for industries and stations that have identified active platforms, tracks or loading bays
- If the AI driver is blocked (e.g. by another train, a locked signal or switch) it will attempt to find an alternative path to the destination. This can lead to the train traveling backwards and down the wrong track.
- Drive To - does not seek alternative paths if blocked
|
- <kuid:-3:10149> Navigate To Trackmark
- Base Command
Select <name of trackmark> from session list
- If the AI driver is blocked (e.g. by another train, a locked signal or switch) it will attempt to find an alternative path to the destination. This can lead to the train traveling backwards and down the wrong track.
- Drive To Trackmark - does not seek alternative paths if blocked
|
- <kuid:-3:10209> Navigate Via Trackmark
- Base Command
Select <name of trackmark> from session list
- This command is used to direct the AI along a set route to a final destination which is not normally the trackmark identified in this command.
- If the AI driver is blocked (e.g. by another train, a locked signal or switch) it will attempt to find an alternative path to the designated trackmark. This can lead to the train traveling backwards and down the wrong track.
- Drive Via Trackmark - does not seek alternative paths if blocked
Session Management Commands |
Delete Train |
Deletes the train from the session. |
- <kuid2:116387:15:3> Delete Train
- Built-in Command by maggs
None
Insert Buff Label |
Inserts a driver command as a label for a block of driver commands. |
- <kuid:160293:101002> Insert buff label
- DLS Command by trev999
Select <label number> - select the label number (1 to 10)
- Up to 10 labels can be inserted into each drivers command list
- Jump to Label - unconditionally jumps to a named command label
- Skip if Session Variable - conditionally jumps to the named command label if a selected session variable meets a set condition
Jump to Label |
Unconditionally jumps to a named command label. |
- <kuid2:160293:101003:2> Jump to label
- DLS Command by trev999
Select <label number> - select the label number (1 to 20)
- A label (Insert Buff label driver command) with the matching label number must be added to the driver commands
- Insert Buff Label - inserts a driver command as a label for a block of driver commands
- Skip if Session Variable - conditionally jumps to the named command label if a selected session variable mets a set condition
Move to Train |
Moves the driver with all their remaining driver commands to another train. |
- <kuid2:71155:60004:2> Move to train
- DLS Command by _mutton_
All trains <list of locomotives> - select a locomotive from the Session list
- The new train must not already have a driver - make sure that the Generate New Drivers for Empty Trains option in the Driver Setup Rule is not ticked.
- If the new train does already have a driver then the command and any following commands will not be executed.
Skip if Session-Variable |
Jumps to the named command label if a selected session variable mets a set condition. |
- <kuid2:160293:101014:3> Skip if session-variable
- DLS Command by trev999
Select <label number if> - select the label number (1 to 20) <Variable Name> - from the InputTable Rule <condition> - from the InputTable Rule
- The InputTable Rule must be installed in the session before this command can be used. This rule must be configured to identify the session variable(s) and test condition(s).
- A label (Insert Buff Label driver command) with the matching label number must be added to the driver commands
- Insert Buff Label - inserts a driver command as a label for a block of driver commands
- Jump to Label - unconditionally jumps to a named command label
Signal Commands |
Set Signal Ahead |
Sets the state of the next signal ahead. |
- <kuid2:368725:60003:6> Set Signal Ahead
- DLS Command by elstoko
<Set next signal to> - select one from <Stop> <Caution Straight> <Caution Left> <Caution Right> <Proceed Straight> <Proceed Left> <Proceed Right> <Advance Caution> <Call on 1 (State 9)> <Call on 2 (State 10)> <Automatic>
- This command only works on signals that will respond to the function "SetSignalStateEx", not all signals will respond
- The signal must support the selected state otherwise there will be no change
- The signal will be reset after the train has cleared the signal
Train Operation Commands |
Bellz |
Rings the train bell. |
- <kuid2:66277:80002:1> bellz
- Built-in Command by smileyman
None
- the locomotive must be equipped with a working bell.
- Hornz - gives a blast of the horn (or whistle)
Couple |
The AI driver moves the train (or just the locomotive if it is by itself) to couple with the specified wagon. |
- <kuid:-3:10081> Couple
- Base Command
<list of available wagons> - select a wagon to couple to
- The target wagon must be at the end of a consist or by itself. If the target is coupled in between other wagons then no coupling will take place.
- There must be a clear path to the target wagon.
- Decouple - decouples a consist at a specific place (does not work in the Driver Setup Rule)
- Decouple DLX - decouples a consist at a specific, or a random, place. Upto 99 wagons
- Decouple Head N - decouples a consist to leave set number (N) of wagons in the consist. Upto 75 wagons
- Decouple Number # - decouples a consist at a specific place. Upto 40 wagons
- Uncouplez - decouples the locomotive (or locomotive + tender) from a consist
- UncouplezFrom - decouples a consist at a specific place. Upto 20 wagons
Decouple |
The train is decoupled at the specified wagon (does not work in Driver Setup Rule). |
- <kuid:-3:10082> Decouple
- Base Command
<list of available wagons> - select a wagon to decouple from
- This command does not work when added to a driver's command list in the Driver Setup Rule in Surveyor
- It does work when added to the driver's command list in Driver
- If programming a driver via the Driver Setup Rule, use the alternative commands Decouple DLX, Decouple Number #, Uncouplez or UncouplezFrom
- The main problem with using decoupling commands in the Driver Setup Rule is that the number and identity of the wagons in a consist may not be known when the command is added to a driver's command list.
- Couple - couples wagons in a consist
- Decouple DLX - decouples a consist at a specific, or a random, place. Upto 99 wagons
- Decouple Head N - decouples a consist to leave set number (N) of wagons in the consist. Upto 75 wagons
- Decouple Number # - decouples a consist at a specific place. Upto 40 wagons
- Uncouplez - decouples the locomotive (or locomotive + tender) from a consist
- UncouplezFrom - decouples a consist at a specific place. Upto 20 wagons
Decouple DLX |
The train is decoupled at the specified wagon identified by name or number (upto 99 wagons), or at a random location. |
- <kuid2:160293:100120:2> Decouple DLX
- DLS Command by trev999
When Used in Surveyor using the Driver Setup Rule <1-33> - select a wagon numbered 1 to 33 where 1 is the wagon (or tender) immediately following the locomotive <34-66> - select a wagon from 34 to 66 <67-99> - select a wagon from 67 to 99 <at position determined by> <consist_count> - requires the use of the special_instruction driver command <a random number> - a random number which may be beyond the last wagon in the consist When used in Driver Mode <1-33> - each wagon is numbered and named. Select a wagon numbered 1 to 33 (or to the last wagon in that range) where 1 is the wagon (or tender) immediately following the locomotive If there are more than 33 wagons, then <34-66> - each wagon is numbered and named. Select a wagon from 34 to 66 (or to the last wagon in that range) if there are more than 66 wagons, then <67-99> - each wagon is numbered and named. Select a wagon from 67 to 99 (or to the last wagon in that range) <at position determined by> <consist_count> - requires the use of the special_instruction driver command <a random number> - a random number upto and including the last wagon in the consist
- The main problem with using decoupling commands in the Driver Setup Rule is that the number and identity of the wagons in a consist may not be known when the command is added to a driver's command list.
- Couple - couples wagons in a consist
- Decouple - decouples a consist at a specific place (does not work in the Driver Setup Rule)
- Decouple Head N - decouples a consist to leave set number (N) of wagons in the consist. Upto 75 wagons
- Decouple Number # - decouples a consist at a specific place. Upto 40 wagons
- Uncouplez - decouples the locomotive (or locomotive + tender) from a consist
- UncouplezFrom - decouples a consist at a specific place. Upto 20 wagons
Decouple Head N |
The train is decoupled to leave the selected number (N) of wagons left in the consist. |
- <kuid2:46162:70002:12> Decouple Head N
- DLS Command by josefpav
<select wagon number> - select the number of wagons (sorted by ASCII code not numerical value) to be left in the consist after the decoupling. 1 = the lead loco only (without its tender), 2 = loco + first wagon (which could be the tender), upto 75.
- The main problem with using decoupling commands in the Driver Setup Rule is that the number and identity of the wagons in a consist may not be known when the command is added to a driver's command list.
- Couple - couples wagons in a consist
- Decouple - decouples a consist at a specific place (does not work in the Driver Setup Rule)
- Decouple DLX - decouples a consist at a specific, or a random, place. Upto 99 wagons
- Decouple Number # - decouples a consist at a specific place. Upto 40 wagons
- Uncouplez - decouples the locomotive (or locomotive + tender) from a consist
- UncouplezFrom - decouples a consist at a specific place. Upto 20 wagons
Decouple Number # |
The specified wagon number (#) and any following wagons will be uncoupled from the locomotive and consist. |
- <kuid2:147570:80008:1> Decouple number #
- Built-in Command by erniesouchak
<number> - select a wagon number (1-40) to decouple from.
- The first locomotive is #1, the second locomotive (if any) or the tender (on a steam locomotive) is #2, etc.
- The main problem with using decoupling commands in the Driver Setup Rule is that the number and identity of the wagons in a consist may not be known when the command is added to a driver's command list.
- Couple - couples wagons in a consist
- Decouple - decouples a consist at a specific place (does not work in the Driver Setup Rule)
- Decouple DLX - decouples a consist at a specific, or a random, place. Upto 99 wagons
- Decouple Head N - decouples a consist to leave set number (N) of wagons in the consist. Upto 75 wagons
- Uncouplez - decouples the locomotive (or locomotive + tender) from a consist
- UncouplezFrom - decouples a consist at a specific place. Upto 20 wagons
Hornz |
Gives one blast of the train horn or whistle. |
- <kuid2:66277:80001:2> Hornz
- Built-in Command by smileyman
None
- Bellz - rings the locomotive bell (if it has one)
MoveTurntable |
Moves the specified turntable to the specified track position. |
- <kuid2:609850:100018:1> MoveTurntable
- Built-in Command by vandragonax
<name of turntable> - select the named turntable (see Notes below). <track #> or <relative track movement> - select the track number (0 = 1st track) or a relative movement (prev, next)
- The InputTable Rule must be installed in the session before this command can be used. This rule must be configured to identify all the turntables and the number of tracks they have.
Priorityz |
Sets the train priority value. |
- <kuid2:66277:80003:1> priorityz
- Built-in Command by smileyman
<value> - select train priority value 1, 2 or 3
- The Priority value identifies the importance of the train for the Priority Trackmarkers. Usually (a guide only):-
- Priority 1 = Express trains
- Priority 2 = Local Expresses or Fast Freights
- Priority 3 = Slow Local Freights or All Stops Services
Run Around |
Uncouples the locomotive (plus tender if present) from the train, navigates to the other end of the train and couples to the last wagon. |
- <kuid:-3:10083> Run Around
- Base Command
None
- There must be a path for the locomotive to follow from one end of the train to the other.
- The locomotive must have sufficient clear space, free of track switches and signals, at both ends of the train to perform this movement.
Uncouplez |
Uncouples the locomotive (plus tender if present) from the train. |
- <kuid2:66277:80000:1> UnCouplez
- Built-in Command by smileyman
None
- Couple - couples wagons in a consist
- Decouple - decouples a consist at a specific place (does not work in the Driver Setup Rule)
- Decouple DLX - decouples a consist at a specific, or a random, place. Upto 99 wagons
- Decouple Head N - decouples a consist to leave set number (N) of wagons in the consist. Upto 75 wagons
- Decouple Number # - decouples a consist at a specific place. Upto 40 wagons
- UncouplezFrom - decouples a consist at a specific place. Upto 20 wagons
UncouplezFrom |
Uncouples the train at the wagon specified. |
- <kuid2:66277:80005:2> UnCouplezFrom
- Built-in Command by smileyman
<number> - select a wagon number (0-20) to decouple from.
- The first wagon after the locomotive (or the locomotive and tender) is #0, the second wagon is #1, etc.
- The main problem with using decoupling commands in the Driver Setup Rule is that the number and identity of the wagons in a consist may not be known when the command is added to a driver's command list.
- Couple - couples wagons in a consist
- Decouple - decouples a consist at a specific place (does not work in the Driver Setup Rule)
- Decouple DLX - decouples a consist at a specific, or a random, place. Upto 99 wagons
- Decouple Head N - decouples a consist to leave set number (N) of wagons in the consist. Upto 75 wagons
- Decouple Number # - decouples a consist at a specific place. Upto 40 wagons
- Uncouplez - decouples the locomotive (or locomotive + tender) from a consist