Driver Commands List: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
Pware (talk | contribs)
Pware (talk | contribs)
 
(47 intermediate revisions by the same user not shown)
Line 1: Line 1:
The information in this Wiki Page applies to '''TANE''', '''TRS19''' and '''Trainz Plus'''.
The information in this Wiki Page applies to '''TANE''', '''TRS19''', '''TRS22''' and '''Trainz Plus'''.
<table bgcolor="green">
<table bgcolor="green">
<tr>
<tr>
<td>
<td>
<span style="color: white; font-weight: 700;">This page is always under construction. As new driver commands appear and are tested they will be added to this list. Current Command Count: 58</span></td>
<span style="color: white; font-weight: 700;">This page is always under construction. As new driver commands appear and are tested they will be added to this list. Current Command Count: 67</span></td>
</tr>
</tr>
</table>
</table>
Line 15: Line 15:
</tr>
</tr>
</table>
</table>
----
----
'''Description Key:'''
'''Description Key:'''
*'''<kuid number>''' is for the command version at the time of writing. This number will change if the command is updated.
*'''<kuid number>''' is for the driver 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'''.
*'''DLS Command''' must be downloaded and installed from the '''DLS'''.
*'''Base Command''' and '''Built-in Command''' are installed with '''Trainz'''.
*'''Base Command''' and '''Built-in Command''' are installed with '''Trainz'''.
*'''Minimum Trainz Build''' is the minimum version of Trainz required for the listed version of this driver command to work. This can change to a higher build if the command is updated. Older builds '''may''' be available on the '''DLS'''.
*'''Obsolete Command''' is no longer required (explanation given).
*'''Obsolete Command''' is no longer required (explanation given).
*'''Legacy Command''' has been replaced by another command (new command will be identified).
*'''Legacy Command''' has been replaced by another command (new command will be identified).
*'''SP2 and later''' means '''TANE SP2''' and later versions including '''TRS19''' and '''Trainz Plus'''.
*'''SP2 and later''' and '''SP4 and later''' means '''TANE SP2/SP4''' and later versions including '''TRS19''' and '''Trainz Plus'''.
----
----
<table> <!-- BEGIN Nav Buttons Table -->
<tr valign="top">
<td width=46><span id="Index"></span>[[file:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td width=75>&nbsp;</td>
<td width=75>[[file:NextDown.png|link=#Interlocking|alt=Next Down|Next Down]]</td>
<td width=75>[[file:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
</tr>
</table> <!-- END Nav Buttons Table -->
__TOC__
__TOC__
<table width="100%" bgcolor=#a8ff8a>
<table width="100%" bgcolor=#a8ff8a>
<tr>
<tr>
<td>
<td>
<table> <!-- BEGIN Nav Buttons Table -->
<tr valign="top">
<td width=46><span id="Interlocking"></span>[[file:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td width=75>[[file:NextUp.png|link=#Index|alt=Next Up|Next Up]]</td>
<td width=75>[[file:NextDown.png|link=#Junction|alt=Next Down|Next Down]]</td>
<td width=75>[[file:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
</tr>
</table> <!-- END Nav Buttons Table -->
='''Interlocking Tower and Mission Code Commands'''=
='''Interlocking Tower and Mission Code Commands'''=
'''Commands that manage navigation paths set by Interlocking Towers for AI controlled trains'''<br>
'''Commands that manage navigation paths set by Interlocking Towers'''<br></td>
</td>
</tr>
</tr>
</table>
</table>
[[file:BackToTop.png|link=#top|alt=Top|Top]] [[file:NextDown.png|link=#Junction and Signal Commands|alt=Next Down|Junction and Signal Commands]]
<table width=100% bgcolor=#d7ffc9>
<table width=100% bgcolor=#d7ffc9>
<tr>
<tr>
<td>
<td>
=='''AddMissionCode (SP2 and Later) '''==
=='''AddMissionCode (TANE SP4 and later)'''==
</td>
</td>
</tr>
</tr>
Line 54: Line 66:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:61392:8203:56> AddMissionCode (SP2 and later)'''
*'''<kuid2:61392:8203:80>'''


*'''DLS Command''' by '''pguy'''
*'''DLS Command''' by '''pguy'''
*'''Minimum Trainz Build: 4.5 (TANE SP2)''' (earlier builds are available)


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
Line 66: Line 80:


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#RemoveMissionCode (SP2 and Later)|RemoveMissionCode (SP2 and Later)]]''' - sets a mission code for the train
*'''[[#RemoveMissionCode (TANE SP4 and later)|RemoveMissionCode (TANE SP4 and later)]]''' - sets a mission code for the train
*'''[[#SetMissionCode (SP2 and Later)|SetMissionCode (SP2 and Later)]]''' - removes a mission code from those already set for the train
*'''[[#SetMissionCode (TANE SP4 and Later)|SetMissionCode (TANE SP4 and Later)]]''' - removes a mission code from those already set for the train


[[file:PageLink3.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Required Session Rules:</span><br>
[[file:PageLink3.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Required Session Rules:</span><br>
Line 78: Line 92:
<td>
<td>


=='''IT CancelEnhancedPath'''==
=='''IT CancelEnhancedPath (TANE SP4 and later)'''==
</td>
</td>
</tr>
</tr>
Line 92: Line 106:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:61392:8114:54> IT CancelEnhancedPath'''
*'''<kuid2:61392:8114:78>'''


*'''DLS Command''' by '''pguy'''
*'''DLS Command''' by '''pguy'''
*'''Minimum Trainz Build: 4.5 (TANE SP2)''' (earlier builds are available)


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
Line 114: Line 130:
<td>
<td>


=='''IT SetPath'''==
=='''IT SetPath (TANE SP4 and Later)'''==
</td>
</td>
</tr>
</tr>
Line 128: Line 144:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:61392:8111:54> IT SetPath'''
*'''<kuid2:61392:8111:78>'''


*'''DLS Command''' by '''pguy'''
*'''DLS Command''' by '''pguy'''
*'''Minimum Trainz Build: 4.5 (TANE SP2)''' (earlier builds are available)


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
Line 143: Line 161:
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#IT CancelEnhancedPath|IT CancelEnhancedPath]]''' - cancels an active EIT path
*'''[[#IT CancelEnhancedPath|IT CancelEnhancedPath]]''' - cancels an active EIT path
*'''[[#IT SetPathAndWaitActive|IT SetPathAndWaitActive]]''' - sets an active IT or EIT path and waits until it is active
*'''[[#IT SetPathAndWaitActive (TANE SP4 and later)|IT SetPathAndWaitActive (TANE SP4 and later)]]''' - sets an active IT or EIT path and waits until it is active
*'''[[#IT SetPathAndWaitNotRed|IT SetPathAndWaitNotRed]]''' - sets an active IT or EIT path and waits until the signal ahead is not red
*'''[[#IT SetPathAndWaitNotRed (TANE SP4 and later)|IT SetPathAndWaitNotRed (TANE SP4 and later)]]''' - sets an active IT or EIT path and waits until the signal ahead is not red


<br>
<br>
Line 151: Line 169:
<td>
<td>


=='''IT SetPathAndWaitActive'''==
=='''IT SetPathAndWaitActive (TANE SP4 and later)'''==
</td>
</td>
</tr>
</tr>
Line 165: Line 183:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:61392:8113:54> IT SetPathAndWaitActive'''
*'''<kuid2:61392:8113:78>'''


*'''DLS Command''' by '''pguy'''
*'''DLS Command''' by '''pguy'''
*'''Minimum Trainz Build: 4.5 (TANE SP2)''' (earlier builds are available)


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
Line 181: Line 201:
*'''[[#IT CancelEnhancedPath|IT CancelEnhancedPath]]''' - cancels an active EIT path
*'''[[#IT CancelEnhancedPath|IT CancelEnhancedPath]]''' - cancels an active EIT path
*'''[[#IT SetPath|IT SetPath]]''' - sets an active IT or EIT path
*'''[[#IT SetPath|IT SetPath]]''' - sets an active IT or EIT path
*'''[[#IT SetPathAndWaitNotRed|IT SetPathAndWaitNotRed]]''' - sets an active IT or EIT path and waits until the signal ahead is not red
*'''[[#IT SetPathAndWaitNotRed (TANE SP4 and later)|IT SetPathAndWaitNotRed (TANE SP4 and later)]]''' - sets an active IT or EIT path and waits until the signal ahead is not red


<br>
<br>
Line 188: Line 208:
<td>
<td>


=='''IT SetPathAndWaitNotRed'''==
=='''IT SetPathAndWaitNotRed (TANE SP4 and later)'''==
</td>
</td>
</tr>
</tr>
Line 202: Line 222:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:61392:8112:54> IT SetPathAndWaitNotRed'''
*'''<kuid2:61392:8112:78>'''


*'''DLS Command''' by '''pguy'''
*'''DLS Command''' by '''pguy'''
*'''Minimum Trainz Build: 4.5 (TANE SP2)''' (earlier builds are available)


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
Line 218: Line 240:
*'''[[#IT CancelEnhancedPath|IT CancelEnhancedPath]]''' - cancels an active EIT path
*'''[[#IT CancelEnhancedPath|IT CancelEnhancedPath]]''' - cancels an active EIT path
*'''[[#IT SetPath|IT SetPath]]''' - sets an active IT or EIT path
*'''[[#IT SetPath|IT SetPath]]''' - sets an active IT or EIT path
*'''[[#IT SetPathAndWaitActive|IT SetPathAndWaitActive]]''' - sets an active IT or EIT path and waits until it is active
*'''[[#IT SetPathAndWaitActive (TANE SP4 and later)|IT SetPathAndWaitActive (TANE SP4 and later)]]''' - sets an active IT or EIT path and waits until it is active


<br>
<br>
Line 225: Line 247:
<td>
<td>


=='''RemoveMissionCode (SP2 and Later) '''==
=='''RemoveMissionCode (TANE SP4 and later)'''==
</td>
</td>
</tr>
</tr>
Line 232: Line 254:
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_RemoveMissionCode.PNG|50px|link=]]</td>
<td>[[file:CMD_RemoveMissionCode.PNG|50px|link=]]</td>
<td>Removes a mission code (a sequence of IT or EIT paths) from any mission codes already loaded for the train. The mission code must be set by the '''Mission Code Manager Rule (SP2 and Later)''' and given to the driver by the '''SetMissionCode (SP2 and later)''' or '''AddMissionCode (SP2 and Later)''' driver commands or by the '''Mission Code Manager Rule (SP2 and Later)''' itself</td>
<td>Removes a mission code (a sequence of IT or EIT paths) from any mission codes already loaded for the train. The mission code must be set by the '''Mission Code Manager Rule (SP2 and Later)''' and given to the driver by the '''SetMissionCode (SP2 and later)''' or '''AddMissionCode (TANE SP4 and later)''' driver commands or by the '''Mission Code Manager Rule (SP2 and Later)''' itself</td>
</tr>
</tr>
</table>
</table>
Line 238: Line 260:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:61392:8204:56> RemoveMissionCode (SP2 and later)'''
*'''<kuid2:61392:8204:80>'''


*'''DLS Command''' by '''pguy'''
*'''DLS Command''' by '''pguy'''
*'''Minimum Trainz Build: 4.5 (TANE SP2)''' (earlier builds are available)


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
Line 250: Line 274:


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#AddMissionCode (SP2 and Later)|AddMissionCode (SP2 and Later)]]''' - adds another mission code to the train
*'''[[#AddMissionCode (TANE SP4 and later)|AddMissionCode (TANE SP4 and later)]]''' - adds another mission code to the train
*'''[[#SetMissionCode (SP2 and Later)|SetMissionCode (SP2 and Later)]]''' - removes a mission code from those already set for the train
*'''[[#SetMissionCode (TANE SP4 and Later)|SetMissionCode (TANE SP4 and Later)]]''' - removes a mission code from those already set for the train


[[file:PageLink3.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Required Session Rules:</span><br>
[[file:PageLink3.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Required Session Rules:</span><br>
Line 262: Line 286:
<td>
<td>


=='''SetMissionCode (SP2 and Later) '''==
=='''SetMissionCode (TANE SP4 and Later)'''==
</td>
</td>
</tr>
</tr>
Line 276: Line 300:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:61392:8201:56> SetMissionCode (SP2 and later)'''
*'''<kuid2:61392:8201:80>'''


*'''DLS Command''' by '''pguy'''
*'''DLS Command''' by '''pguy'''
*'''Minimum Trainz Build: 4.5 (TANE SP2)''' (earlier builds are available)


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
Line 289: Line 315:


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#AddMissionCode (SP2 and Later)|AddMissionCode (SP2 and Later)]]''' - adds another mission code to the train
*'''[[#AddMissionCode (TANE SP4 and later)|AddMissionCode (TANE SP4 and later)]]''' - adds another mission code to the train
*'''[[#RemoveMissionCode (SP2 and Later)|RemoveMissionCode (SP2 and Later)]]''' - sets a mission code for the train
*'''[[#RemoveMissionCode (TANE SP4 and later)|RemoveMissionCode (TANE SP4 and later)]]''' - sets a mission code for the train


[[file:PageLink3.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Required Session Rules:</span><br>
[[file:PageLink3.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Required Session Rules:</span><br>
Line 299: Line 325:
<tr>
<tr>
<td>
<td>
 
<table> <!-- BEGIN Nav Buttons Table -->
<tr valign="top">
<td width=46><span id="Junction"></span>[[file:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td width=75>[[file:NextUp.png|link=#Interlocking|alt=Next Up|Next Up]]</td>
<td width=75>[[file:NextDown.png|link=#Load|alt=Next Down|Next Down]]</td>
<td width=75>[[file:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
</tr>
</table> <!-- END Nav Buttons Table -->
='''Junction and Signal Commands'''=
='''Junction and Signal Commands'''=
'''Commands that operate track junctions and signals'''<br></td>
'''Commands that operate track junctions and signals'''<br>
</td>
</tr>
</tr>
</table>
</table>
[[file:BackToTop.png|link=#top|alt=Top|Top]] [[file:NextDown.png|link=#Load and Unload Commands|alt=Next Down|Load and Unload Commands]] [[file:NextUp.png|link=#Interlocking Tower and Mission Code Commands|alt=Next Up|Interlocking Tower and Mission Code Commands]]
<table width=100% bgcolor=#d7ffc9>
<table width=100% bgcolor=#d7ffc9>
<tr>
<tr>
Line 323: Line 355:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid:131986:1011> ControlJunction'''
*'''<kuid:131986:1011>'''


*'''DLS Command''' by '''atilabarut'''
*'''DLS Command''' by '''atilabarut'''
*'''Minimum Trainz Build: 2.5 (TRS2006)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
Line 352: Line 386:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid:121843:100445> SetOneJunction'''
*'''<kuid2:121843:100445:1>'''


*'''DLS Command''' by '''pitkin'''
*'''DLS Command''' by '''pitkin'''
*'''Minimum Trainz Build: 3.5 (TS12)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
Line 382: Line 418:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:368725:60003:6> Set Signal Ahead'''
*'''<kuid2:368725:60003:6>'''


*'''DLS Command''' by '''elstoko'''
*'''DLS Command''' by '''elstoko'''
*'''Minimum Trainz Build: 4.3 (TANE SP1)''' (earlier builds are available)


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
Line 409: Line 447:
<tr>
<tr>
<td>
<td>
 
<table> <!-- BEGIN Nav Buttons Table -->
<tr valign="top">
<td width=46><span id="Load"></span>[[file:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td width=75>[[file:NextUp.png|link=#Junction|alt=Next Up|Next Up]]</td>
<td width=75>[[file:NextDown.png|link=#Movement|alt=Next Down|Next Down]]</td>
<td width=75>[[file:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
</tr>
</table> <!-- END Nav Buttons Table -->
='''Load and Unload Commands'''=
='''Load and Unload Commands'''=
</td>
'''Commands that load and/or unload wagons, tenders and locomotives'''<br></td>
</tr>
</tr>
</table>
</table>
[[file:BackToTop.png|link=#top|alt=Top|Top]] [[file:NextDown.png|link=#Movement Commands|alt=Next Down|Movement Commands]] [[file:NextUp.png|link=#Junction and Signal Commands|alt=Next Up|Junction and Signal Commands]]
<table width=100% bgcolor=#d7ffc9>
<table width=100% bgcolor=#d7ffc9>
<tr>
<tr>
<td>
<td>
=='''Instant Load'''==
=='''InstantLoad Command'''==
</td>
</td>
</tr>
</tr>
Line 427: Line 470:
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_InstantLoad.png|50px|link=]]</td>
<td>[[file:CMD_InstantLoad.png|50px|link=]]</td>
<td>Instantly loads all rolling stock (except locos and tenders) in the train with the item(s) in their commodity queues.</td>
<td>Instantly loads all empty rolling stock (except locos and tenders) in the consist with the first items in their commodity queues according to the selected option. The consist does not have to be positioned at an active industry asset.</td>
</tr>
</tr>
</table>
</table>
Line 433: Line 476:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:45324:555017:7> Instant Load Command'''
*'''<kuid2:45324:555017:8>'''


*'''DLS Command''' by '''norfolksouthern37'''
*'''DLS Command''' by '''norfolksouthern37'''
*'''Minimum Trainz Build: 3.7 (TS12 SP1)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
<span style="background-color: black; color: white; font-weight: 700;"> Select one of:- </span>
'''<Load All>''' - loads all empty rolling stock with first items from their commodity queues
'''<Load Random>''' - loads randomly selected empty rolling stock with the first items from their commodity queues
'''<Load Intermodal No Double-Stack>''' - loads all empty rolling stock with the first single-stacked intermodal item (containers) from their commodity queues.
    If no suitable intermodal item is available then the first item in the queue will be selected.


'''None'''
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#InstantUnload|InstantUnload]]''' - instantly unloads all rolling stock except locos and tenders
*'''[[#Load|Load]]''' - loads commodities at an industry (including a station)


<br>
<br>
Line 445: Line 497:
<tr>
<tr>
<td>
<td>
=='''InstantLoadLocos'''==
=='''InstantLoadLocos'''==
</td>
</td>
Line 453: Line 506:
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_InstantLoadLocos.png|50px|link=]]</td>
<td>[[file:CMD_InstantLoadLocos.png|50px|link=]]</td>
<td>Instantly loads all locos and tenders in the train with the item(s) in their commodity queues (coal, water, diesel fuel).</td>
<td>Instantly loads all locos and tenders in the consist with the item(s) in their commodity queues (coal, water, diesel fuel). The consist does not have to be positioned at an active industry asset.</td>
</tr>
</tr>
</table>
</table>
Line 459: Line 512:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:117290:1022:1> InstantLoadLocos'''
*'''<kuid2:67585:1022:1>'''


*'''Built-in Command''' by '''nzhorse'''
*'''Built-in Command''' by '''nzhorse'''
*'''Minimum Trainz Build: 2.4 (TRS2004 SP4)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
Line 479: Line 534:
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_InstantUnLoad.png|50px|link=]]</td>
<td>[[file:CMD_InstantUnLoad.png|50px|link=]]</td>
<td>Instantly unloads the commodities in all rolling stock (except locos and tenders) in the train.</td>
<td>Instantly unloads the commodities in all rolling stock (except locos and tenders) in the consist. The consist does not have to be positioned at an active industry asset.</td>
</tr>
</tr>
</table>
</table>
Line 485: Line 540:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:67585:1021:2> InstantUnload'''
*'''<kuid2:67585:1021:2>'''


*'''DLS Command''' by '''robin_hoods'''
*'''DLS Command''' by '''robin_hoods'''
*'''Minimum Trainz Build: 2.4 (TRS2004 SP4)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  '''None'''
  '''None'''
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Instant Load Command|Instant Load Command]]''' - instantly loads all rolling stock except locos and tenders
*'''[[#Unload|Unload]]''' - unloads commodities at an industry (including a station)


<br>
<br>
Line 511: Line 572:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid:-3:10076> Load'''
*'''<kuid:-3:10076>'''


*'''Base Command'''
*'''Base Command'''
*'''Minimum Trainz Build: 2.0 (TRS2004)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
Line 541: Line 604:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:75377:84:1> Load At'''
*'''<kuid2:75377:84:1>'''


*'''DLS Command''' by '''stagecoach'''
*'''DLS Command''' by '''stagecoach'''
*'''Minimum Trainz Build: 4.2 (TANE)''' (earlier builds are available)


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
Line 578: Line 643:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:116387:16:2> Terminate Passenger Train'''
*'''<kuid2:116387:16:2>'''


*'''Built-in Command''' by '''maggs'''
*'''Built-in Command''' by '''maggs'''
*'''Minimum Trainz Build: 2.4 (TRS2004 SP4)''' (earlier builds are available)


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
Line 607: Line 674:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid:-3:10077> Unload'''
*'''<kuid:-3:10077>'''


*'''Base Command'''
*'''Base Command'''
*'''Minimum Trainz Build: 2.0 (TRS2004)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
Line 627: Line 696:
<tr>
<tr>
<td>
<td>
 
<table> <!-- BEGIN Nav Buttons Table -->
<tr valign="top">
<td width=46><span id="Movement"></span>[[file:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td width=75>[[file:NextUp.png|link=#Load|alt=Next Up|Next Up]]</td>
<td width=75>[[file:NextDown.png|link=#Navigation|alt=Next Down|Next Down]]</td>
<td width=75>[[file:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
</tr>
</table> <!-- END Nav Buttons Table -->
='''Movement Commands'''=
='''Movement Commands'''=
</td>
'''Commands that stop, delay or alter the movement of trains'''<br></td>
</tr>
</tr>
</table>
</table>
[[file:BackToTop.png|link=#top|alt=Top|Top]] [[file:NextDown.png|link=#Navigation Commands|alt=Next Down|Navigation Commands]] [[file:NextUp.png|link=#Load and Unload Commands|alt=Next Up|Load and Unload Commands]]
<table width=100% bgcolor=#d7ffc9>
<table width=100% bgcolor=#d7ffc9>
<tr>
<tr>
Line 651: Line 725:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:151055:100101:3> AI Wait until green signal'''
*'''<kuid2:151055:100101:3>'''


*'''DLS Command''' by '''erendir'''
*'''DLS Command''' by '''erendir'''
*'''Minimum Trainz Build: 3.7 (TS12 SP1)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
Line 659: Line 735:
       '''На любом светофоре''' - <span style="color: white; background-color: black; font-weight: 700;"> Translation:  </span> "At any traffic light" - select for the next signal up to 3000m ahead
       '''На любом светофоре''' - <span style="color: white; background-color: black; font-weight: 700;"> Translation:  </span> "At any traffic light" - select for the next signal up to 3000m ahead
       '''Только на станционном зале " Z7 " /Су''' - <span style="color: white; background-color: black; font-weight: 700;"> Translation:  </span> "Only at the station hall " Z7 " / su" - unknown meaning
       '''Только на станционном зале " Z7 " /Су''' - <span style="color: white; background-color: black; font-weight: 700;"> Translation:  </span> "Only at the station hall " Z7 " / su" - unknown meaning
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
:The signal must be 3,000 metres or less from the train.


<br>
<br>
Line 664: Line 743:
<tr>
<tr>
<td>
<td>
=='''Change Train Direction'''==
=='''Change Train Direction'''==
</td>
</td>
Line 679: Line 757:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:70791:9001:1> Change Train Direction'''
*'''<kuid2:70791:9001:1>'''


*'''Built-in Command''' by '''mgalling'''
*'''Built-in Command''' by '''mgalling'''
*'''Minimum Trainz Build: 2.2 (TRS2004 SP2)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
Line 705: Line 785:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid:401543:1090> Halt Train'''
*'''<kuid:401543:1090>'''


*'''Base Command'''
*'''Base Command'''
*'''Minimum Trainz Build: 2.9 (TS2009)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
Line 717: Line 799:
<tr>
<tr>
<td>
<td>
=='''Set Max Speed To'''==
=='''InstantMoveTrain'''==
</td>
</td>
</tr>
</tr>
Line 724: Line 806:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_MaxSpeed.png|50px|link=]]</td>
<td>[[file:CMD_InstantMoveTrain.png|50px|link=]]</td>
<td>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.</td>
<td>Instantly moves the train to one of 20 nominated Trackmarks. Works in much the same way as a Portal but without the issues of consists changing loads or layers.</td>
</tr>
</tr>
</table>
</table>
Line 731: Line 813:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:450022:90001:2> Set Max Speed To'''
*'''<kuid:121843:100602>'''
 
*'''DLS Command''' by '''pitkin'''
 
*'''Minimum Trainz Build: 4.5 (TANE SP2)'''


*'''DLS Command''' by '''nikkia'''
*'''Legacy Command''' has been replaced by '''InstantMoveTrain2'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  Select '''<No maximum speed>''' or '''<value>''' in mph
  Select '''Trackmark: MOVETRAIN_0''' to '''Trackmark: MOVETRAIN_19'''


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
:The maximum speed, once set, will remain in place throughout the session unless cancelled or reset by another '''Set Max Speed To''' command.
:The target trackmarks must be named '''MOVETRAIN_''' followed by a number from '''0''' to '''19'''.
:After the instant move the consist will be placed facing the same direction as the trackmark and with the loco directly over the trackmark.


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Set Max Speed To (km/h)|Set Max Speed To (km/h)]]''' - set the maximum speed in km/h
*'''[[#InstantMoveTrain2|InstantMoveTrain2]]''' - instantly moves a train to one of 20 specified trackmarks. Fixes some issues with '''InstantMoveTrain''' command.


<br>
<br>
Line 749: Line 836:
<tr>
<tr>
<td>
<td>
=='''Set Max Speed To (km/h)'''==
=='''InstantMoveTrain2'''==
</td>
</td>
</tr>
</tr>
Line 756: Line 843:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_MaxSpeed.png|50px|link=]]</td>
<td>[[file:CMD_InstantMoveTrain.png|50px|link=]]</td>
<td>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.</td>
<td>Instantly moves the train to one of 20 nominated Trackmarks. Works in much the same way as a Portal but without the issues of consists changing loads or layers. This version fixes the placement direction, asynchronous trackmark search and camera focus problems of the original '''InstantMoveTrain'''.</td>
</tr>
</tr>
</table>
</table>
Line 763: Line 850:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid:450022:90002> Set Max Speed To (km/h)'''
*'''<kuid:99999:80009>'''
 
*'''DLS Command''' by '''G.M.'''


*'''DLS Command''' by '''nikkia'''
*'''Minimum Trainz Build: 3.5 (TS12)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  Select '''<No maximum speed>''' or '''<value>''' in km/h
  Select '''Trackmark: MOVETRAIN_0''' to '''Trackmark: MOVETRAIN_19'''


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
:The maximum speed, once set, will remain in place throughout the session unless cancelled or reset by another '''Set Max Speed To''' command.
:The target trackmarks must be named '''MOVETRAIN_''' followed by a number from '''0''' to '''19'''.


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Set Max Speed To|Set Max Speed To]]''' - set the maximum speed in mph
*'''[[#InstantMoveTrain|InstantMoveTrain]]''' - instantly moves a train to one of 20 specified trackmarks.


<br>
<br>
Line 781: Line 870:
<tr>
<tr>
<td>
<td>
=='''WaitFor'''==
=='''Set Max Speed To'''==
</td>
</td>
</tr>
</tr>
Line 788: Line 877:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_WaitFor.png|50px|link=]]</td>
<td>[[file:CMD_MaxSpeed.png|50px|link=]]</td>
<td>Instructs the AI driver to wait for a set time period before executing the next instruction in the command list.</td>
<td>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.</td>
</tr>
</tr>
</table>
</table>
Line 795: Line 884:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid:-3:10090> WaitFor'''
*'''<kuid2:450022:90001:2>'''
 
*'''DLS Command''' by '''nikkia'''


*'''Base Command'''
*'''Minimum Trainz Build: 2.9 (TS2009)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  Select '''<time delay>''' from list
  Select '''<No maximum speed>''' or '''<value>''' in mph


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
: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.
:The maximum speed, once set, will remain in place throughout the session unless cancelled or reset by another '''Set Max Speed To''' command.


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Wait Until II|Wait Until II]]''' - sets the wait to a set clock time
*'''[[#Set Max Speed To (km/h)|Set Max Speed To (km/h)]]''' - set the maximum speed in km/h


<br>
<br>
Line 813: Line 904:
<tr>
<tr>
<td>
<td>
 
=='''Set Max Speed To (km/h)'''==
=='''WaitForTrigger'''==
</td>
</td>
</tr>
</tr>
Line 821: Line 911:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_WaitForTrigger.png|50px|link=]]</td>
<td>[[file:CMD_MaxSpeed.png|50px|link=]]</td>
<td>Instructs the AI driver to wait for a trigger event before executing the next instruction in the command list. The train triggering the event can be any train in the session.</td>
<td>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.</td>
</tr>
</tr>
</table>
</table>
Line 828: Line 918:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:57344:80001:5> WaitFor'''
*'''<kuid:450022:90002>'''


*'''Built-in Command''' by '''marinus'''
*'''DLS Command''' by '''nikkia'''
 
*'''Minimum Trainz Build: 2.9 (TS2009)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  Select '''<trigger name>''' from the session list
  Select '''<No maximum speed>''' or '''<value>''' in km/h
    Select '''<any train>''' or locomotive from '''<list of locomotive names>'''


[[file:Issues.PNG|link=]] <span style="background-color: yellow; color: black; font-weight: 700;"> Known Issues: </span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
*The presence of a large number of locos in a session can cause this command to fail due to a timeout error
:The maximum speed, once set, will remain in place throughout the session unless cancelled or reset by another '''Set Max Speed To''' command.
*In '''TANE''' this command will not appear in a drivers command list if there are no triggers set


[[file:PageLink.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Session Rules:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[Session_Rule_List_with_Parameters#Trigger_Check_Rule|Trigger Check Rule]]'''
*'''[[#Set Max Speed To|Set Max Speed To]]''' - set the maximum speed in mph


<br>
<br>
<table width="100%" bgcolor=#d7ffc9>
<table width=100% bgcolor=#d7ffc9>
<tr>
<tr>
<td>
<td>
=='''Wait Until II'''==
=='''Wait For'''==
</td>
</td>
</tr>
</tr>
Line 855: Line 945:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_WaitUntilII.png|50px|link=]]</td>
<td>[[file:CMD_WaitFor.png|50px|link=]]</td>
<td>Instructs the AI driver to wait until the specified time</td>
<td>Instructs the AI driver to wait for a set time period before executing the next instruction in the command list.</td>
</tr>
</tr>
</table>
</table>
Line 862: Line 952:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid:32711:100025> Wait Until II'''
*'''<kuid:-3:10090>'''
 
*'''Base Command'''


*'''Built-in Command''' by '''dap'''
*'''Minimum Trainz Build: 2.0 (TRS2004)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  Select '''<hours>''' 1 to 24
  Select '''<time delay>''' from list
    Select '''<minutesx10>''' minutes 0 to 50 in increments of 10
      Select '''<minutesx1>''' minutes 0 to 9


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
* If the driver is running up to 4 hours late this command will terminate immediately
: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.
* If the wait until time is more than 4 hours behind the game time, the command will wait until tomorrow
 
* The game time rate must be set to x1 (normal speed) for the command to work correctly
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
* Run-time editing is not available for this command. To edit in Driver the command must be removed first
*'''[[#WaitForRandom|WaitForRandom]]''' - sets a random wait in seconds up to and including 3 minutes
*'''[[#Wait Until II|Wait Until II]]''' - sets the wait to a set clock time


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#WaitFor|WaitFor]]''' - sets the wait period for up to 1 hour
<br>
<br>
<table width="100%" bgcolor=#a8ff8a>
<tr>
<td>
='''Navigation Commands'''=
</td>
</tr>
</table>
[[file:BackToTop.png|link=#top|alt=Top|Top]] [[file:NextDown.png|link=#Session Management Commands|alt=Next Down|Session Management Commands]] [[file:NextUp.png|link=#Movement Commands|alt=Next Up|Movement Commands]]
<table width=100% bgcolor=#d7ffc9>
<table width=100% bgcolor=#d7ffc9>
<tr>
<tr>
<td>
<td>
=='''Autodrive'''==
=='''WaitForRandom'''==
</td>
</td>
</tr>
</tr>
Line 900: Line 980:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_AutoDrive.png|50px|link=]]</td>
<td>[[file:CMD_RandomWait.png|50px|link=]]</td>
<td>Instructs the AI driver to drive under '''Autopilot''' to or through the specified trackmark 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.</td>
<td>Instructs the AI driver to wait for a random time period (in seconds) up to 3 minutes before executing the next instruction in the command list.</td>
</tr>
</tr>
</table>
</table>
Line 907: Line 987:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:192081:4:5> Autodrive'''
*'''<kuid2:131986:1031:2>'''
 
*'''Built-in Command''' by '''atilabarut'''


*'''Built-in Command''' by '''brummfondel'''
*'''Minimum Trainz Build: 2.5 (TRS2006)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  <span style="background-color: black; color: white; font-weight: 700;"> Select one of:- </span>
  Select '''<random time range>''' from list of ranges from 1-60 seconds to 150-180 seconds all sorted by their ASCII values
    '''<Drive to>''' - select a trackmark from the session list.
    '''<Drive through>''' - select a trackmark from the session list.
 
[[file:Issues.PNG|link=]] <span style="background-color: yellow; color: black; font-weight: 700;"> Known Issues: </span>
*The presence of a large number of locos in a session can cause this command to fail due to a timeout error


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
*It is the users responsibility to set all junction switches ahead of the train. The AI will not set the switches
:The random time delay used will be within the selected range.


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#AutoDrivePastSignal|AutoDrivePastSignal]]''' - drives continuously or until a specified signal has been passed
*'''[[#Wait For|Wait For]]''' - sets the wait period for up to 1 hour
*'''[[#AutoPilot|AutoPilot]]''' - drives continuously or until a specified trackmark has been passed
*'''[[#Wait Until II|Wait Until II]]''' - sets the wait to a set clock time


<br>
<br>
Line 932: Line 1,009:
<td>
<td>


=='''AutoDrivePastSignal'''==
=='''WaitForTrigger'''==
</td>
</td>
</tr>
</tr>
Line 939: Line 1,016:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_AutoDrivePastSignal.png|50px|link=]]</td>
<td>[[file:CMD_WaitForTrigger.png|50px|link=]]</td>
<td>Instructs the AI driver to drive under '''Autopilot''' until the entire train clears the specified signal 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. The train will slow to a halt after passing the signal.</td>
<td>Instructs the AI driver to wait for a trigger event before executing the next instruction in the command list. The train triggering the event can be any train in the session.</td>
</tr>
</tr>
</table>
</table>
Line 946: Line 1,023:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:61392:7101:1> AutoDrivePastSignal Command'''
*'''<kuid2:57344:80001:10>'''
 
*'''Built-in Command''' by '''marinus'''


*'''DLS Command''' by '''pguy'''
*'''Minimum Trainz Build: 4.5 (TANE SP2)''' (earlier builds are available)


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  Select '''''<signal name>''''' from Session list
Select '''<trigger name>''' from the session list
    Select '''<any train>''' or locomotive from '''<list of locomotive names>'''


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Issues.PNG|link=]] <span style="background-color: yellow; color: black; font-weight: 700;"> Known Issues: </span>
*It is the users responsibility to set all junction switches ahead of the train. The AI will not set the switches
*The presence of a large number of locos in a session can cause this command to fail due to a timeout error
*In '''TANE''' this command will not appear in a drivers command list if there are no triggers set


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Session Rules:</span>
*'''[[#Autodrive|Autodrive]]''' - drives to or through a specified trackmark
*'''[[Session_Rule_List_with_Parameters#Trigger_Check_Rule|Trigger Check Rule]]'''
*'''[[#AutoPilot|AutoPilot]]''' - drives continuously or until a specified trackmark has been passed


<br>
<br>
<table width=100% bgcolor=#d7ffc9>
<table width="100%" bgcolor=#d7ffc9>
<tr>
<tr>
<td>
<td>
 
=='''Wait Until II'''==
=='''AutoPilot'''==
</td>
</td>
</tr>
</tr>
Line 973: Line 1,052:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_AutoPilot.png|50px|link=]]</td>
<td>[[file:CMD_WaitUntilII.png|50px|link=]]</td>
<td>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.</td>
<td>Instructs the AI driver to wait until the specified time</td>
</tr>
</tr>
</table>
</table>
Line 980: Line 1,059:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:71155:60001:5> Autopilot Command'''
*'''<kuid:32711:100025>'''


*'''DLS Command''' by '''_mutton_'''
*'''Built-in Command''' by '''dap'''
 
*'''Minimum Trainz Build: 2.9 (TS2009)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  <span style="background-color: black; color: white; font-weight: 700;"> Select one of:- </span>
  Select '''<hours>''' 1 to 24
    '''<activate>''' - starts the Autopilot Command. This will only terminate when the '''Autopilot Command''' is removed from the driver command line
     Select '''<minutesx10>''' minutes 0 to 50 in increments of 10
     '''<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)
      Select '''<minutesx1>''' minutes 0 to 9


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
#It is the users responsibility to set all junction switches ahead of the train. The AI will not set the switches
* If the driver is running up to 4 hours late this command will terminate immediately
#If the '''Stop at track mark''' option is used then:-
* If the wait until time is more than 4 hours behind the game time, the command will wait until tomorrow
::*the AI will not set a path to the track mark, that is the users responsibility
* The game time rate must be set to x1 (normal speed) for the command to work correctly
::*the AI will run at the full posted line speed upto the track mark and then it will slow to a stop
* Run-time editing is not available for this command. To edit in Driver the command must be removed first
::*if the track mark is never reached because the correct path has not been set, the AI will continue as it would for the '''activate''' option


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Autodrive|Autodrive]]''' - drives to or through a specified trackmark
*'''[[#WaitFor|WaitFor]]''' - sets the wait period for up to 1 hour
*'''[[#AutoDrivePastSignal|AutoDrivePastSignal]]''' - drives until a specified signal has been passed
*'''[[#WaitForRandom|WaitForRandom]]''' - sets a random wait in seconds up to and including 3 minutes
 
<br>
<br>
<table width="100%" bgcolor=#a8ff8a>
<tr>
<td>
<table> <!-- BEGIN Nav Buttons Table -->
<tr valign="top">
<td width=46><span id="Navigation"></span>[[file:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td width=75>[[file:NextUp.png|link=#Movement|alt=Next Up|Next Up]]</td>
<td width=75>[[file:NextDown.png|link=#Session|alt=Next Down|Next Down]]</td>
<td width=75>[[file:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
</tr>
</table> <!-- END Nav Buttons Table -->
='''Navigation Commands'''=
'''Commands that set destinations and way points'''<br></td>
</tr>
</table>
<table width=100% bgcolor=#d7ffc9>
<table width=100% bgcolor=#d7ffc9>
<tr>
<tr>
<td>
<td>
 
=='''Autodrive'''==
=='''Drive To'''==
</td>
</td>
</tr>
</tr>
Line 1,013: Line 1,106:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_IndustryIcon.png|50px|link=]]</td>
<td>[[file:CMD_AutoDrive.png|50px|link=]]</td>
<td>Instructs the AI driver to Drive, via the shortest available path, to the designated Industry (including Passenger Stations). Switches ahead of the train that are not locked against the AI will be set to allow the train to proceed and reset after the train has cleared the switch. The AI driver will '''NOT''' attempt to find a way around blockages when calculating the shortest path to the industry. All signals and speed signs are obeyed.</td>
<td>Instructs the AI driver to drive under '''Autopilot''' to or through the specified trackmark 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.</td>
</tr>
</tr>
</table>
</table>
Line 1,020: Line 1,113:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid:-3:11058> Drive To'''
*'''<kuid2:192081:4:5>'''
 
*'''DLS Command''' by '''brummfondel'''


*'''Base Command'''
*'''Minimum Trainz Build: 4.5 (TANE SP2)''' (earlier builds are available)


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  Select '''<name of industry>''' or industry enabled passenger station from the session list
  <span style="background-color: black; color: white; font-weight: 700;"> Select one of:- </span>
  if applicable '''<name/number of track or platform>''' for industries and stations that have identified active platforms, tracks or loading bays
    '''<Drive to>''' - select a trackmark from the session list.
    '''<Drive through>''' - select a trackmark from the session list.
 
[[file:Issues.PNG|link=]] <span style="background-color: yellow; color: black; font-weight: 700;"> Known Issues: </span>
*The presence of a large number of locos in a session can cause this command to fail due to a timeout error


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
: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 indefinitely until the blockage is removed.
*It is the users responsibility to set all junction switches ahead of the train. The AI will not set the switches


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Navigate To|Navigate To]]''' - will seek alternative paths if blocked
*'''[[#AutoDrivePastSignal|AutoDrivePastSignal]]''' - drives continuously or until a specified signal has been passed
*'''[[#AutoPilot|AutoPilot]]''' - drives continuously or until a specified trackmark has been passed


<br>
<br>
Line 1,039: Line 1,139:
<tr>
<tr>
<td>
<td>
=='''Drive To Trackmark'''==
 
=='''AutoDrivePastSignal'''==
</td>
</td>
</tr>
</tr>
Line 1,046: Line 1,147:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_NavigateTo.png|50px|link=]]</td>
<td>[[file:CMD_AutoDrivePastSignal.png|50px|link=]]</td>
<td>Instructs the AI driver to Drive, via the shortest available path, to the designated Trackmark. Switches ahead of the train that are not locked against the AI will be set to allow the train to proceed and reset after the train has cleared the switch. The AI driver will '''NOT''' attempt to find a way around blockages when calculating the shortest path to the trackmark. All signals and speed signs are obeyed.</td>
<td>Instructs the AI driver to drive under '''Autopilot''' until the entire train clears the specified signal 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. The train will slow to a halt after passing the signal.</td>
</tr>
</tr>
</table>
</table>
Line 1,053: Line 1,154:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid:-3:11149> Drive To Trackmark'''
*'''<kuid2:61392:7101:1>'''
 
*'''DLS Command''' by '''pguy'''


*'''Base Command'''
*'''Minimum Trainz Build: 4.5 (TANE SP2)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


Select '''<name of trackmark>''' from the session list
  Select '''''<signal name>''''' from Session list


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
: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 indefinitely until the blockage is removed.
*It is the users responsibility to set all junction switches ahead of the train. The AI will not set the switches


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Drive Via Trackmark|Drive Via Trackmark]]''' - drives through trackmark, will NOT seek alternative paths if blocked
*'''[[#Autodrive|Autodrive]]''' - drives to or through a specified trackmark
*'''[[#Navigate To Trackmark|Navigate To Trackmark]]''' - stops at trackmark, will seek alternative paths if blocked
*'''[[#AutoPilot|AutoPilot]]''' - drives continuously or until a specified trackmark has been passed
*'''[[#Navigate Via Trackmark|Navigate Via Trackmark]]''' - drives through trackmark, will seek alternative paths if blocked
 
[[file:WikiLink.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Trainz Wiki Links:</span>
*'''[[How to Use Track Markers]]'''


<br>
<br>
Line 1,077: Line 1,176:
<td>
<td>


=='''Drive Via Trackmark'''==
=='''Autopilot Command'''==
</td>
</td>
</tr>
</tr>
Line 1,084: Line 1,183:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_NavigateTo.png|50px|link=]]</td>
<td>[[file:CMD_AutoPilot.png|50px|link=]]</td>
<td>Instructs the AI driver to Drive, via the shortest available path, to and through the designated Trackmark. If there are no further commands then the AI will halt after passing the trackmark. Switches ahead of the train that are not locked against the AI will be set to allow the train to proceed and reset after the train has cleared the switch. The AI driver will '''NOT''' attempt to find a way around blockages when calculating the shortest path to the trackmark. All signals and speed signs are obeyed.</td>
<td>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.</td>
</tr>
</tr>
</table>
</table>
Line 1,091: Line 1,190:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid:-3:11209> Drive Via Trackmark'''
*'''<kuid2:71155:60001:5>'''


*'''Base Command'''
*'''DLS Command''' by '''_mutton_'''
 
*'''Minimum Trainz Build: 2.5 (TRS2006)''' (earlier builds are available)


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  Select '''<name of trackmark>''' from the session list
  <span style="background-color: black; color: white; font-weight: 700;"> Select one of:- </span>
    '''<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)


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
#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.
#It is the users responsibility to set all junction switches ahead of the train. The AI will not set the switches
#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 indefinitely until the blockage is removed.
#If the '''Stop at track mark''' option is used then:-
::*the AI will not set a path to the track mark, that is the users responsibility
::*the AI 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 AI will continue as it would for the '''activate''' option


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Drive To Trackmark|Drive To Trackmark]]''' - stops at trackmark, will NOT seek alternative paths if blocked
*'''[[#Autodrive|Autodrive]]''' - drives to or through a specified trackmark
*'''[[#Navigate To Trackmark|Navigate To Trackmark]]''' - stops at trackmark, will seek alternative paths if blocked
*'''[[#AutoDrivePastSignal|AutoDrivePastSignal]]''' - drives until a specified signal has been passed
*'''[[#Navigate Via Trackmark|Navigate Via Trackmark]]''' - drives through trackmark, will seek alternative paths if blocked
 
[[file:WikiLink.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Trainz Wiki Links:</span>
*'''[[How to Use Track Markers]]'''


<br>
<br>
Line 1,116: Line 1,218:
<td>
<td>


=='''Navigate To'''==
=='''Drive To'''==
</td>
</td>
</tr>
</tr>
Line 1,124: Line 1,226:
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_IndustryIcon.png|50px|link=]]</td>
<td>[[file:CMD_IndustryIcon.png|50px|link=]]</td>
<td>Instructs the AI driver to Navigate, via the shortest available path, to the designated Industry (including Passenger Station). Switches ahead of the train that are not locked against the AI will be set to allow the train to proceed and reset after the train has cleared the switch. The AI driver will attempt to find a way around blockages when calculating the shortest path to the industry. All signals and speed signs are obeyed.</td>
<td>Instructs the AI driver to Drive, via the shortest available path, to the designated Industry (including Passenger Stations). Switches ahead of the train that are not locked against the AI will be set to allow the train to proceed and reset after the train has cleared the switch. The AI driver will '''NOT''' attempt to find a way around blockages when calculating the shortest path to the industry. All signals and speed signs are obeyed.</td>
</tr>
</tr>
</table>
</table>
Line 1,130: Line 1,232:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid:-3:10058> Navigate To'''
*'''<kuid:-3:11058>'''


*'''Base Command'''
*'''Base Command'''
*'''Minimum Trainz Build: 2.0 (TRS2004)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
Line 1,140: Line 1,244:


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
: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.
: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 indefinitely until the blockage is removed.


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Drive To|Drive To]]''' - does not seek alternative paths if blocked
*'''[[#Navigate To|Navigate To]]''' - will seek alternative paths if blocked


<br>
<br>
Line 1,149: Line 1,253:
<tr>
<tr>
<td>
<td>
=='''Navigate To Trackmark'''==
=='''Drive To Trackmark'''==
</td>
</td>
</tr>
</tr>
Line 1,157: Line 1,261:
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_NavigateTo.png|50px|link=]]</td>
<td>[[file:CMD_NavigateTo.png|50px|link=]]</td>
<td>Instructs the AI driver to Navigate, via the shortest available path, to the designated Trackmark. Switches ahead of the train that are not locked against the AI will be set to allow the train to proceed and reset after the train has cleared the switch. The AI driver will attempt to find a way around blockages when calculating the shortest path to the trackmark. All signals and speed signs are obeyed.</td>
<td>Instructs the AI driver to Drive, via the shortest available path, to the designated Trackmark. Switches ahead of the train that are not locked against the AI will be set to allow the train to proceed and reset after the train has cleared the switch. The AI driver will '''NOT''' attempt to find a way around blockages when calculating the shortest path to the trackmark. All signals and speed signs are obeyed.</td>
</tr>
</tr>
</table>
</table>
Line 1,163: Line 1,267:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid:-3:10149> Navigate To Trackmark'''
*'''<kuid:-25:1301>'''


*'''Base Command'''
*'''Base Command'''
*'''Minimum Trainz Build: 4.6 (TRS19)''' (the required version is built into each appliciable Trainz release)


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
Line 1,172: Line 1,278:


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
: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.
: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 indefinitely until the blockage is removed.


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Drive To Trackmark|Drive To Trackmark]]''' - stops at trackmark, will NOT seek alternative paths if blocked
*'''[[#Drive Via Trackmark|Drive Via Trackmark]]''' - drives through trackmark, will NOT seek alternative paths if blocked
*'''[[#Drive Via Trackmark|Drive Via Trackmark]]''' - drives through trackmark, will NOT seek alternative paths if blocked
*'''[[#Navigate To Trackmark|Navigate To Trackmark]]''' - stops at trackmark, will seek alternative paths if blocked
*'''[[#Navigate Via Trackmark|Navigate Via Trackmark]]''' - drives through trackmark, will seek alternative paths if blocked
*'''[[#Navigate Via Trackmark|Navigate Via Trackmark]]''' - drives through trackmark, will seek alternative paths if blocked


Line 1,187: Line 1,293:
<td>
<td>


=='''Navigate Via Trackmark'''==
=='''Drive Via Trackmark'''==
</td>
</td>
</tr>
</tr>
Line 1,195: Line 1,301:
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_NavigateTo.png|50px|link=]]</td>
<td>[[file:CMD_NavigateTo.png|50px|link=]]</td>
<td>Instructs the AI driver to Drive, via the shortest available path, to and through the designated Trackmark. If there are no further commands then the AI will halt after passing the trackmark. Switches ahead of the train that are not locked against the AI will be set to allow the train to proceed and reset after the train has cleared the switch. The AI driver will attempt to find a way around blockages when calculating the shortest path to the trackmark. All signals and speed signs are obeyed.</td>
<td>Instructs the AI driver to Drive, via the shortest available path, to and through the designated Trackmark. If there are no further commands then the AI will halt after passing the trackmark. Switches ahead of the train that are not locked against the AI will be set to allow the train to proceed and reset after the train has cleared the switch. The AI driver will '''NOT''' attempt to find a way around blockages when calculating the shortest path to the trackmark. All signals and speed signs are obeyed.</td>
</tr>
</tr>
</table>
</table>
Line 1,201: Line 1,307:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid:-3:10209> Navigate Via Trackmark'''
*'''<kuid:-3:11209>'''


*'''Base Command'''
*'''Base Command'''
*'''Minimum Trainz Build: 2.0 (TRS2004)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
Line 1,211: Line 1,319:
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
#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.
#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.
#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 indefinitely until the blockage is removed.


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Drive To Trackmark|Drive To Trackmark]]''' - stops at trackmark, will NOT seek alternative paths if blocked
*'''[[#Drive To Trackmark|Drive To Trackmark]]''' - stops at trackmark, will NOT seek alternative paths if blocked
*'''[[#Drive Via Trackmark|Drive Via Trackmark]]''' - drives through trackmark, will NOT seek alternative paths if blocked
*'''[[#Navigate To Trackmark|Navigate To Trackmark]]''' - stops at trackmark, will seek alternative paths if blocked
*'''[[#Navigate To Trackmark|Navigate To Trackmark]]''' - stops at trackmark, will seek alternative paths if blocked
*'''[[#Navigate Via Trackmark|Navigate Via Trackmark]]''' - drives through trackmark, will seek alternative paths if blocked


[[file:WikiLink.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Trainz Wiki Links:</span>
[[file:WikiLink.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Trainz Wiki Links:</span>
*'''[[How to Use Track Markers]]'''
*'''[[How to Use Track Markers]]'''
<br>
<br>
<table width="100%" bgcolor=#a8ff8a>
<table width=100% bgcolor=#d7ffc9>
<tr>
<tr>
<td>
<td>
='''Session Management Commands'''=
</td>
</tr>
</table>
[[file:BackToTop.png|link=#top|alt=Top|Top]] [[file:NextDown.png|link=#Train Operation Commands|alt=Next Down|Train Operation Commands]] [[file:NextUp.png|link=#Navigation Commands|alt=Next Up|Navigation Commands]]


<table width=100% bgcolor=#d7ffc9>
=='''Navigate To'''==
<tr>
<td>
=='''Copy Commands From'''==
</td>
</td>
</tr>
</tr>
Line 1,240: Line 1,341:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_CopyCommandsFrom.png|50px|link=]]</td>
<td>[[file:CMD_IndustryIcon.png|50px|link=]]</td>
<td>Copies a driver schedule from a schedule library or another driver.</td>
<td>Instructs the AI driver to Navigate, via the shortest available path, to the designated Industry (including Passenger Station). Switches ahead of the train that are not locked against the AI will be set to allow the train to proceed and reset after the train has cleared the switch. The AI driver will attempt to find a way around blockages when calculating the shortest path to the industry. All signals and speed signs are obeyed.</td>
</tr>
</tr>
</table>
</table>
Line 1,247: Line 1,348:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:192081:1:7> Copy Commands From'''
*'''<kuid:-3:10058>'''
 
*'''Base Command'''


*'''Built-in Command''' by '''brummfondel'''
*'''Minimum Trainz Build: 4.5 (TANE SP2)''' (the required version is built into each appliciable Trainz release)


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  '''Append''' - '''From Library''' - select a saved schedule from Schedule Library and add it to the end of the current schedule (if any)
  Select '''<name of industry>''' or industry enabled passenger station from the session list
'''Append''' - '''From Vehicle''' - select a vehicle, copy its driver commands and add them to the end of the current schedule (if any)
  if applicable '''<name/number of track or platform>''' for industries and stations that have identified active platforms, tracks or loading bays
'''Insert''' - '''From Library''' - select a saved schedule from Schedule Library and insert it into the current schedule (if any)
'''Insert''' - '''From Vehicle''' - select a vehicle, copy its driver commands and insert them into the current schedule (if any)


[[file:PageLink3.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Required Session Rules:</span><br>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
:'''Rules that MUST be added to the Session for this Driver Command to operate'''
: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.
*'''[[Session_Rule_List_with_Parameters#Schedule Library Rule|Schedule Library Rule]]'''
 
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Drive To|Drive To]]''' - does not seek alternative paths if blocked


<br>
<br>
Line 1,266: Line 1,369:
<tr>
<tr>
<td>
<td>
=='''Delete Train'''==
=='''Navigate To Trackmark'''==
</td>
</td>
</tr>
</tr>
Line 1,273: Line 1,376:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_DeleteTrain.png|50px|link=]]</td>
<td>[[file:CMD_NavigateTo.png|50px|link=]]</td>
<td>Deletes the train from the session.</td>
<td>Instructs the AI driver to Navigate, via the shortest available path, to the designated Trackmark. Switches ahead of the train that are not locked against the AI will be set to allow the train to proceed and reset after the train has cleared the switch. The AI driver will attempt to find a way around blockages when calculating the shortest path to the trackmark. All signals and speed signs are obeyed.</td>
</tr>
</tr>
</table>
</table>
Line 1,280: Line 1,383:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:116387:15:3> Delete Train'''
*'''<kuid:-3:10149>'''
 
*'''Base Command'''


*'''Built-in Command''' by '''maggs'''
*'''Minimum Trainz Build: 2.0 (TRS2004)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  '''None'''
  Select '''<name of trackmark>''' from the session list
 
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
: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.
 
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Drive To Trackmark|Drive To Trackmark]]''' - stops at trackmark, will NOT seek alternative paths if blocked
*'''[[#Drive Via Trackmark|Drive Via Trackmark]]''' - drives through trackmark, will NOT seek alternative paths if blocked
*'''[[#Navigate Via Trackmark|Navigate Via Trackmark]]''' - drives through trackmark, will seek alternative paths if blocked
 
[[file:WikiLink.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Trainz Wiki Links:</span>
*'''[[How to Use Track Markers]]'''


<br>
<br>
Line 1,292: Line 1,408:
<tr>
<tr>
<td>
<td>
=='''Insert Buff Label'''==
 
=='''Navigate Via Trackmark'''==
</td>
</td>
</tr>
</tr>
Line 1,299: Line 1,416:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_InsertBuffLabel.png|50px|link=]]</td>
<td>[[file:CMD_NavigateTo.png|50px|link=]]</td>
<td>Inserts a driver command as a label for a block of driver commands.</td>
<td>Instructs the AI driver to Drive, via the shortest available path, to and through the designated Trackmark. If there are no further commands then the AI will halt after passing the trackmark. Switches ahead of the train that are not locked against the AI will be set to allow the train to proceed and reset after the train has cleared the switch. The AI driver will attempt to find a way around blockages when calculating the shortest path to the trackmark. All signals and speed signs are obeyed.</td>
</tr>
</tr>
</table>
</table>
Line 1,306: Line 1,423:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid:160293:101002> Insert buff label'''
*'''<kuid:-3:10209>'''
 
*'''Base Command'''


*'''DLS Command''' by '''trev999'''
*'''Minimum Trainz Build: 2.0 (TRS2004)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  '''Select ''<label number>''''' - select the label number (1 to 10)
  Select '''<name of trackmark>''' from the session list


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
:Up to 10 labels can be inserted into each drivers command 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.


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Jump to Label|Jump to Label]]''' - unconditionally jumps to a named command label
*'''[[#Drive To Trackmark|Drive To Trackmark]]''' - stops at trackmark, will NOT seek alternative paths if blocked
*'''[[#Skip if Session-Variable|Skip if Session Variable]]''' - conditionally jumps to the named command label if a selected session variable meets a set condition
*'''[[#Drive Via Trackmark|Drive Via Trackmark]]''' - drives through trackmark, will NOT seek alternative paths if blocked
*'''[[#Navigate To Trackmark|Navigate To Trackmark]]''' - stops at trackmark, will seek alternative paths if blocked


[[file:WikiLink.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Trainz Wiki Links:</span>
*'''[[How to Use Track Markers]]'''
<br>
<br>
<table width="100%" bgcolor=#a8ff8a>
<tr>
<td>
<table> <!-- BEGIN Nav Buttons Table -->
<tr valign="top">
<td width=46><span id="Session"></span>[[file:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td width=75>[[file:NextUp.png|link=#Navigation|alt=Next Up|Next Up]]</td>
<td width=75>[[file:NextDown.png|link=#Train|alt=Next Down|Next Down]]</td>
<td width=75>[[file:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
</tr>
</table> <!-- END Nav Buttons Table -->
='''Session Management Commands'''=
'''Commands that manage the operation of the session or other driver commands'''<br></td>
</tr>
</table>
<table width=100% bgcolor=#d7ffc9>
<table width=100% bgcolor=#d7ffc9>
<tr>
<tr>
<td>
<td>
=='''Jump to Label'''==
=='''Copy Commands From'''==
</td>
</td>
</tr>
</tr>
Line 1,332: Line 1,470:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_JumpToLabel.png|50px|link=]]</td>
<td>[[file:CMD_CopyCommandsFrom.png|50px|link=]]</td>
<td>Unconditionally jumps to a named command label.</td>
<td>Copies a driver schedule from a schedule library or another driver.</td>
</tr>
</tr>
</table>
</table>
Line 1,339: Line 1,477:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:160293:101003:2> Jump to label'''
*'''<kuid2:192081:1:7>'''


*'''DLS Command''' by '''trev999'''
*'''Built-in Command''' by '''brummfondel'''
 
*'''Minimum Trainz Build: 2.0 (TRS2004)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  '''Select ''<label number>''''' - select the label number (1 to 20)
  '''Append''' - '''From Library''' - select a saved schedule from Schedule Library and add it to the end of the current schedule (if any)
'''Append''' - '''From Vehicle''' - select a vehicle, copy its driver commands and add them to the end of the current schedule (if any)
'''Insert''' - '''From Library''' - select a saved schedule from Schedule Library and insert it into the current schedule (if any)
'''Insert''' - '''From Vehicle''' - select a vehicle, copy its driver commands and insert them into the current schedule (if any)


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:PageLink3.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Required Session Rules:</span><br>
:A '''label''' ('''Insert Buff label''' driver command) with the matching label number must be added to the driver commands
:'''Rules that MUST be added to the Session for this Driver Command to operate'''
 
*'''[[Session_Rule_List_with_Parameters#Schedule Library Rule|Schedule Library Rule]]'''
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Insert Buff Label|Insert Buff Label]]''' - inserts a driver command as a label for a block of driver commands
*'''[[#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>
<br>
Line 1,358: Line 1,498:
<tr>
<tr>
<td>
<td>
=='''Layer Control'''==
=='''Delete Train'''==
</td>
</td>
</tr>
</tr>
Line 1,365: Line 1,505:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_LayerControl.png|50px|link=]]</td>
<td>[[file:CMD_DeleteTrain.png|50px|link=]]</td>
<td>Shows or hides a selected layer.</td>
<td>Deletes the train from the session.</td>
</tr>
</tr>
</table>
</table>
Line 1,372: Line 1,512:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid:160293:101080> Layer Control'''
*'''<kuid2:116387:15:3>'''


*'''DLS Command''' by '''trev999'''
*'''Built-in Command''' by '''maggs'''
 
*'''Minimum Trainz Build: 2.4 (TRS2004 SP4)''' (earlier builds are available)


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  '''Show ''<list of layers in route and session>''''' - select a layer to make visible
  '''None'''
'''Hide ''<list of layers in route and session>''''' - select a layer to make invisible


[[file:PageLink.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Session Rules:</span>
<br>
*'''[[Session_Rule_List_with_Parameters#Show.2FHide_Layer_Rule|Show/Hide Layer Rule]]'''
 
[[file:Ex.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Examples of Use:</span>
*'''[[How_to_Use_Layers#Layers_in_Driver_Mode|Layers in Driver Mode]]'''
 
<br>
<table width=100% bgcolor=#d7ffc9>
<table width=100% bgcolor=#d7ffc9>
<tr>
<tr>
<td>
<td>
=='''Move to Train'''==
=='''Insert Buff Label'''==
</td>
</td>
</tr>
</tr>
Line 1,398: Line 1,533:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_MoveToTrain.png|50px|link=]]</td>
<td>[[file:CMD_InsertBuffLabel.png|50px|link=]]</td>
<td>Moves the driver with all their remaining driver commands to another train.</td>
<td>Inserts a driver command as a label for a block of driver commands.</td>
</tr>
</tr>
</table>
</table>
Line 1,405: Line 1,540:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:71155:60004:2> Move to train'''
*'''<kuid:160293:101002>'''
 
*'''DLS Command''' by '''trev999'''


*'''DLS Command''' by '''_mutton_'''
*'''Minimum Trainz Build: 2.9 (TS2009)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  '''All trains ''<list of locomotives>''''' - select a locomotive from the Session list
  '''Select ''<label number>''''' - select the label number (1 to 10)


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
#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.
:Up to 10 labels can be inserted into each drivers command list
#If the new train does already have a driver then the command and any following commands will not be executed.


[[file:WikiLink.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Trainz Wiki Links:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[How_to_Use_Driver_Setup_Rule|How to Use the Driver Setup Rule]]'''
*'''[[#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 meets a set condition


<br>
<br>
Line 1,424: Line 1,561:
<tr>
<tr>
<td>
<td>
=='''Set Custom HUD (SP2 and later)'''==
=='''Jump to Label'''==
</td>
</td>
</tr>
</tr>
Line 1,431: Line 1,568:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_SetCustomHUD.png|50px|link=]]</td>
<td>[[file:CMD_JumpToLabel.png|50px|link=]]</td>
<td>Sets a predefined HUD on the screen.</td>
<td>Unconditionally jumps to a named command label.</td>
</tr>
</tr>
</table>
</table>
Line 1,438: Line 1,575:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:61392:7006:37> SetCustomHud (SP2 and later)'''
*'''<kuid2:160293:101003:2>'''


*'''DLS Command''' by '''pguy'''
*'''DLS Command''' by '''trev999'''
 
*'''Minimum Trainz Build: 2.9 (TS2009)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  '''''<defHud>''''' - select the default HUD
  '''Select ''<label number>''''' - select the label number (1 to 20)
'''''<altHud>''''' - select the alternate HUD
'''''<named Hud>''''' - select from a number of user defined HUDs


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
#the '''Quick CustomHud Manager Rule (SP2 and later)''' must be added to a session for a HUD to be selected by this command
:A '''label''' ('''Insert Buff label''' driver command) with the matching label number must be added to the driver commands
#the default and alternate HUDs are preset but can be edited using the above rule
#additional user defined and named HUDs can be created with the '''Quick CustomHud Manager Rule (SP2 and later)'''


[[file:PageLink3.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Required Session Rules:</span><br>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
:'''Rules that MUST be added to the Session for this Driver Command to operate'''
*'''[[#Insert Buff Label|Insert Buff Label]]''' - inserts a driver command as a label for a block of driver commands
*'''[[Session_Rule_List_with_Parameters#Quick_CustomHud_Manager_Rule_(SP2_and_later)|Quick CustomHud Manager Rule (SP2 and later)]]'''
*'''[[#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>
<br>
Line 1,461: Line 1,596:
<tr>
<tr>
<td>
<td>
 
=='''Layer Control'''==
=='''Skip if Session-Variable'''==
</td>
</td>
</tr>
</tr>
Line 1,469: Line 1,603:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_SkipIfSVar.png|50px|link=]]</td>
<td>[[file:CMD_LayerControl.png|50px|link=]]</td>
<td>Jumps to the named command label if a selected session variable meets a set condition.</td>
<td>Shows or hides a selected layer.</td>
</tr>
</tr>
</table>
</table>
Line 1,476: Line 1,610:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:160293:101014:3> Skip if session-variable'''
*'''<kuid:160293:101080>'''


*'''DLS Command''' by '''trev999'''
*'''DLS Command''' by '''trev999'''
*'''Minimum Trainz Build: 2.9 (TS2009)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  '''Select ''<label number if>''''' - select the label number (1 to 20)
  '''Show ''<list of layers in route and session>''''' - select a layer to make visible
    '''''<Variable Name>''''' - from the '''InputTable Rule'''
'''Hide ''<list of layers in route and session>''''' - select a layer to make invisible
      '''''<condition>''''' - from the '''InputTable Rule'''


[[file:Issues.PNG|link=]] <span style="background-color: yellow; color: black; font-weight: 700;"> Known Issues: </span>
[[file:PageLink.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Session Rules:</span>
*'''TANE''' Sessions containing driver commands that use variables ''may not'' work correctly when imported into '''TRS19''' and '''Trainz Plus'''. The solution is to delete and then reinsert these commands in the imported Sessions
*'''[[Session_Rule_List_with_Parameters#Show.2FHide_Layer_Rule|Show/Hide Layer Rule]]'''


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Ex.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Examples of Use:</span>
#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), test condition(s) and value(s).
*'''[[How_to_Use_Layers#Layers_in_Driver_Mode|Layers in Driver Mode]]'''
#A '''label''' ('''Insert Buff Label''' driver command) with the matching label number must be added to the driver commands
 
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Insert Buff Label|Insert Buff Label]]''' - inserts a driver command as a label for a block of driver commands
*'''[[#Jump to Label|Jump to Label]]''' - unconditionally jumps to a named command label
 
[[file:PageLink3.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Required Session Rules:</span><br>
:'''Rules that MUST be added to the Session for this Driver Command to operate'''
*'''[[Session Rule List with Parameters#InputTable Rule|InputTable Rule]]'''


<br>
<br>
Line 1,505: Line 1,631:
<tr>
<tr>
<td>
<td>
 
=='''Move to Train'''==
=='''Wait Until S-Variable V3'''==
</td>
</td>
</tr>
</tr>
Line 1,513: Line 1,638:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_WaitSVariable.png|50px|link=]]</td>
<td>[[file:CMD_MoveToTrain.png|50px|link=]]</td>
<td>The AI driver will wait until the identified variable matches the condition specified before the next command will be executed</td>
<td>Moves the driver with all their remaining driver commands to another train.</td>
</tr>
</tr>
</table>
</table>
Line 1,520: Line 1,645:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:160293:101006:3> Wait Until S-variable V3'''
*'''<kuid2:71155:60004:2>'''
 
*'''DLS Command''' by '''_mutton_'''


*'''DLS Command''' by '''trev999'''
*'''Minimum Trainz Build: 2.2 (TRS2004 SP2)''' (earlier builds are available)


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  '''Select ''<Variable Name>''''' - select the variable name from those entered in the '''InputTable Rule'''
  '''All trains ''<list of locomotives>''''' - select a locomotive from the Session list
    '''Select <Condition><Value>''''' - select from those entered in the '''InputTable Rule'''
 
[[file:Issues.PNG|link=]] <span style="background-color: yellow; color: black; font-weight: 700;"> Known Issues: </span>
*'''TANE''' Sessions containing driver commands that use variables ''may not'' work correctly when imported into '''TRS19''' and '''Trainz Plus'''. The solution is to delete and then reinsert these commands in the imported Sessions


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
*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), test condition(s) and value(s).
#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.


[[file:PageLink3.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Required Session Rules:</span><br>
[[file:WikiLink.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Trainz Wiki Links:</span>
:'''Rules that MUST be added to the Session for this Driver Command to operate'''
*'''[[How_to_Use_Driver_Setup_Rule|How to Use the Driver Setup Rule]]'''
*'''[[Session Rule List with Parameters#InputTable Rule|InputTable Rule]]'''


<br>
<br>
Line 1,543: Line 1,666:
<tr>
<tr>
<td>
<td>
 
=='''SetCustomHud (TRS19 SP4 and later)'''==
=='''WaitUntilSVariable'''==
</td>
</td>
</tr>
</tr>
Line 1,551: Line 1,673:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_WaitSVar.png|50px|link=]]</td>
<td>[[file:CMD_SetCustomHUD.png|50px|link=]]</td>
<td>The AI driver will wait until the identified variable matches the condition specified before the next command will be executed</td>
<td>Sets a predefined HUD on the screen.</td>
</tr>
</tr>
</table>
</table>
Line 1,558: Line 1,680:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:131986:1006:1> WaitUntilSVariable'''
*'''<kuid2:61392:7006:38>'''


*'''DLS Command''' by '''atilabarut'''
*'''DLS Command''' by '''pguy'''


*'''Legacy Command''' has been replaced by '''Wait Until S-Variable V3'''
*'''Minimum Trainz Build: 4.8 (TRS19 SP3)''' (earlier builds are available)


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  '''Select ''<Variable Name><Condition><Value>''''' - from the '''InputTable Rule'''
  '''''<defHud>''''' - select the default HUD
 
'''''<altHud>''''' - select the alternate HUD
[[file:Issues.PNG|link=]] <span style="background-color: yellow; color: black; font-weight: 700;"> Known Issues: </span>
'''''<named Hud>''''' - select from a number of user defined HUDs
*'''TANE''' Sessions containing driver commands that use variables ''may not'' work correctly when imported into '''TRS19''' and '''Trainz Plus'''. The solution is to delete and then reinsert these commands in the imported Sessions


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
*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), test condition(s) and value(s).
#the '''Quick CustomHud Manager Rule (SP2 and later)''' must be added to a session for a HUD to be selected by this command
 
#the default and alternate HUDs are preset but can be edited using the above rule
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
#additional user defined and named HUDs can be created with the '''Quick CustomHud Manager Rule (SP2 and later)'''
*'''[[#Wait Until S-Variable V3|Wait Until S-Variable V3]]''' - AI driver waits for specified variable condition


[[file:PageLink3.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Required Session Rules:</span><br>
[[file:PageLink3.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Required Session Rules:</span><br>
:'''Rules that MUST be added to the Session for this Driver Command to operate'''
:'''Rules that MUST be added to the Session for this Driver Command to operate'''
*'''[[Session Rule List with Parameters#InputTable Rule|InputTable Rule]]'''
*'''[[Session_Rule_List_with_Parameters#Quick_CustomHud_Manager_Rule_(SP2_and_later)|Quick CustomHud Manager Rule (SP2 and later)]]'''
 
<br>
<br>
<table width="100%" bgcolor=#a8ff8a>
<table width=100% bgcolor=#d7ffc9>
<tr>
<tr>
<td>
<td>


='''Train Operation Commands'''=
=='''Skip if Session-Variable'''==
</td>
</tr>
</table>
[[file:BackToTop.png|link=#top|alt=Top|Top]] [[file:NextUp.png|link=#Session Management Commands|alt=Next Up|Session Management Commands]]
 
<table width=100% bgcolor=#d7ffc9>
<tr>
<td>
=='''Bellz'''==
</td>
</td>
</tr>
</tr>
Line 1,601: Line 1,713:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_Bellz.png|50px|link=]]</td>
<td>[[file:CMD_SkipIfSVar.png|50px|link=]]</td>
<td>Rings the train bell.</td>
<td>Jumps to the named command label if a selected session variable meets a set condition.</td>
</tr>
</tr>
</table>
</table>
Line 1,608: Line 1,720:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:66277:80002:1> bellz'''
*'''<kuid2:160293:101014:3>'''
 
*'''DLS Command''' by '''trev999'''


*'''Built-in Command''' by '''smileyman'''
*'''Minimum Trainz Build: 2.9 (TS2009)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  '''None'''
  '''Select ''<label number if>''''' - select the label number (1 to 20)
    '''''<Variable Name>''''' - from the '''InputTable Rule'''
      '''''<condition>''''' - from the '''InputTable Rule'''
 
[[file:Issues.PNG|link=]] <span style="background-color: yellow; color: black; font-weight: 700;"> Known Issues: </span>
*'''TANE''' Sessions containing driver commands that use variables ''may not'' work correctly when imported into '''TRS19''' and '''Trainz Plus'''. The solution is to delete and then reinsert these commands in the imported Sessions


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
:the locomotive must be equipped with a working bell.
#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), test condition(s) and value(s).
#A '''label''' ('''Insert Buff Label''' driver command) with the matching label number must be added to the driver commands


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Hornz|Hornz]]''' - gives a blast of the horn (or whistle)
*'''[[#Insert Buff Label|Insert Buff Label]]''' - inserts a driver command as a label for a block of driver commands
*'''[[#HornzExtended|HornzExtended]]''' - gives a specified number of horn blasts
*'''[[#Jump to Label|Jump to Label]]''' - unconditionally jumps to a named command label
 
[[file:PageLink3.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Required Session Rules:</span><br>
:'''Rules that MUST be added to the Session for this Driver Command to operate'''
*'''[[Session Rule List with Parameters#InputTable Rule|InputTable Rule]]'''


<br>
<br>
Line 1,627: Line 1,751:
<tr>
<tr>
<td>
<td>
=='''Couple'''==
 
=='''Wait Until S-Variable V3'''==
</td>
</td>
</tr>
</tr>
Line 1,634: Line 1,759:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_Couple.png|50px|link=]]</td>
<td>[[file:CMD_WaitSVariable.png|50px|link=]]</td>
<td>The AI driver moves the train (or just the locomotive if it is by itself) to couple with the specified wagon.</td>
<td>The AI driver will wait until the identified variable matches the condition specified before the next command will be executed</td>
</tr>
</tr>
</table>
</table>
Line 1,641: Line 1,766:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid:-3:10081> Couple'''
*'''<kuid2:160293:101006:3>'''
 
*'''DLS Command''' by '''trev999'''


*'''Base Command'''
*'''Minimum Trainz Build: 3.5 (TS12)''' (earlier builds are available)


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  '''''<list of available wagons>''''' - select a wagon to couple to
'''Select ''<Variable Name>''''' - select the variable name from those entered in the '''InputTable Rule'''
 
    '''Select <Condition><Value>''''' - select from those entered in the '''InputTable Rule'''
 
[[file:Issues.PNG|link=]] <span style="background-color: yellow; color: black; font-weight: 700;"> Known Issues: </span>
*'''TANE''' Sessions containing driver commands that use variables ''may not'' work correctly when imported into '''TRS19''' and '''Trainz Plus'''. The solution is to delete and then reinsert these commands in the imported Sessions
 
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
#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.
*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), test condition(s) and value(s).
#There must be a clear path to the target wagon.


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink3.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Required Session Rules:</span><br>
*'''[[#Couple At Trackmark|Couple At Trackmark]]''' - couples to the wagon closest to a specified trackmark
:'''Rules that MUST be added to the Session for this Driver Command to operate'''
*'''[[#Decouple|Decouple]]''' - decouples a consist at a specific place (does not work in the '''Driver Setup Rule''')
*'''[[Session Rule List with Parameters#InputTable Rule|InputTable Rule]]'''
*'''[[#Decouple DLX|Decouple DLX]]''' - decouples a consist at a specific, or a random, place. Upto 99 wagons
*'''[[#Decouple Head N|Decouple Head N]]''' - decouples a consist to leave set number (N) of wagons in the consist. Upto 75 wagons
*'''[[#Decouple Number #|Decouple Number #]]''' - decouples a consist at a specific place. Upto 40 wagons
*'''[[#Uncouplez|Uncouplez]]''' - decouples the locomotive (or locomotive + tender) from a consist
*'''[[#UncouplezFrom|UncouplezFrom]]''' - decouples a consist at a specific place. Upto 20 wagons


<br>
<br>
Line 1,666: Line 1,791:
<tr>
<tr>
<td>
<td>
=='''Couple At Trackmark'''==
 
=='''WaitUntilSVariable'''==
</td>
</td>
</tr>
</tr>
Line 1,673: Line 1,799:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_Couple_At_Trackmark.png|50px|link=]]</td>
<td>[[file:CMD_WaitSVar.png|50px|link=]]</td>
<td>The AI driver moves the train (or just the locomotive if it is by itself) to couple with the wagon that is closest to a specified trackmark.</td>
<td>The AI driver will wait until the identified variable matches the condition specified before the next command will be executed</td>
</tr>
</tr>
</table>
</table>
Line 1,680: Line 1,806:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid:2:57145:81100:1> Couple At Trackmark'''
*'''<kuid2:131986:1006:1>'''


*'''DLS Command''' by '''marzipan'''
*'''DLS Command''' by '''atilabarut'''
 
*'''Minimum Trainz Build: 2.5 (TRS2006)'''
 
*'''Legacy Command''' has been replaced by '''Wait Until S-Variable V3'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  '''''<list of available trackmarks>''''' - select a trackmark
'''Select ''<Variable Name><Condition><Value>''''' - from the '''InputTable Rule'''
 
 
[[file:Issues.PNG|link=]] <span style="background-color: yellow; color: black; font-weight: 700;"> Known Issues: </span>
*'''TANE''' Sessions containing driver commands that use variables ''may not'' work correctly when imported into '''TRS19''' and '''Trainz Plus'''. The solution is to delete and then reinsert these commands in the imported Sessions
 
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
#The end wagon of the target consist must be within the effect radius of the trackmark. If there is no wagon within the radius then no coupling will take place.
*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), test condition(s) and value(s).
#The train will couple to the wagon closest to the trackmark and that may mean navigating to the other end of the consist.
#There must be a clear path to the target wagon.


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Couple|Couple]]''' - couples wagons in a consist
*'''[[#Wait Until S-Variable V3|Wait Until S-Variable V3]]''' - AI driver waits for specified variable condition
*'''[[#Decouple|Decouple]]''' - decouples a consist at a specific place (does not work in the '''Driver Setup Rule''')
*'''[[#Decouple DLX|Decouple DLX]]''' - decouples a consist at a specific, or a random, place. Upto 99 wagons
*'''[[#Decouple Head N|Decouple Head N]]''' - decouples a consist to leave set number (N) of wagons in the consist. Upto 75 wagons
*'''[[#Decouple Number #|Decouple Number #]]''' - decouples a consist at a specific place. Upto 40 wagons
*'''[[#Uncouplez|Uncouplez]]''' - decouples the locomotive (or locomotive + tender) from a consist
*'''[[#UncouplezFrom|UncouplezFrom]]''' - decouples a consist at a specific place. Upto 20 wagons
 
[[file:WikiLink.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Trainz Wiki Links:</span>
*'''[[How to Use Track Markers]]'''


[[file:PageLink3.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Required Session Rules:</span><br>
:'''Rules that MUST be added to the Session for this Driver Command to operate'''
*'''[[Session Rule List with Parameters#InputTable Rule|InputTable Rule]]'''
<br>
<br>
<table width="100%" bgcolor=#a8ff8a>
<tr>
<td>
<table> <!-- BEGIN Nav Buttons Table -->
<tr valign="top">
<td width=46><span id="Train"></span>[[file:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td width=75>[[file:NextUp.png|link=#Session|alt=Next Up|Next Up]]</td>
<td width=75>&nbsp;</td>
<td width=75>[[file:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
</tr>
</table> <!-- END Nav Buttons Table -->
='''Train Operation Commands'''=
'''Commands that manage coupling, decoupling, short movement, turntable and horn/bell operations plus priority level changes'''<br></td>
</tr>
</table>
<table width=100% bgcolor=#d7ffc9>
<table width=100% bgcolor=#d7ffc9>
<tr>
<tr>
<td>
<td>
 
=='''Bellz'''==
=='''Decouple'''==
</td>
</td>
</tr>
</tr>
Line 1,717: Line 1,856:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_Decouple.png|50px|link=]]</td>
<td>[[file:CMD_Bellz.png|50px|link=]]</td>
<td>The train is decoupled at the specified wagon (does not work in '''Driver Setup Rule''').</td>
<td>Rings the train bell.</td>
</tr>
</tr>
</table>
</table>
Line 1,724: Line 1,863:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid:-3:10082> Decouple'''
*'''<kuid2:66277:80002:1>'''


*'''Base Command'''
*'''Built-in Command''' by '''smileyman'''
 
*'''Minimum Trainz Build: 2.0 (TRS2004)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


  '''''<list of available wagons>''''' - select a wagon to decouple from
'''None'''
 
[[file:Issues.PNG|link=]] <span style="background-color: yellow; color: black; font-weight: 700;"> Known Issues: </span>
*This command does not work when added to a driver's command list in the '''Driver Setup Rule''' in Surveyor but it does work when manually added to the driver's command list in Driver


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
#If programming a driver via the '''Driver Setup Rule''', use the alternative commands '''Decouple DLX''', '''Decouple Number #''', '''Uncouplez''' or '''UncouplezFrom'''
:the locomotive must be equipped with a working bell.
#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.


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Couple|Couple]]''' - couples wagons in a consist
*'''[[#Guards Whistle Near|Guards Whistle Near]]''' - blows the guards whistle
*'''[[#Couple At Trackmark|Couple At Trackmark]]''' - couples to the wagon closest to a specified trackmark
*'''[[#Hornz|Hornz]]''' - gives a blast of the loco horn (or whistle)
*'''[[#Decouple DLX|Decouple DLX]]''' - decouples a consist at a specific, or a random, place. Upto 99 wagons
*'''[[#HornzExtended|HornzExtended]]''' - gives a specified number of loco horn blasts
*'''[[#Decouple Head N|Decouple Head N]]''' - decouples a consist to leave set number (N) of wagons in the consist. Upto 75 wagons
*'''[[#Decouple Number #|Decouple Number #]]''' - decouples a consist at a specific place. Upto 40 wagons
*'''[[#Uncouplez|Uncouplez]]''' - decouples the locomotive (or locomotive + tender) from a consist
*'''[[#UncouplezFrom|UncouplezFrom]]''' - decouples a consist at a specific place. Upto 20 wagons


<br>
<br>
Line 1,752: Line 1,885:
<tr>
<tr>
<td>
<td>
=='''Decouple DLX'''==
=='''Couple'''==
</td>
</td>
</tr>
</tr>
Line 1,759: Line 1,892:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_DecoupleDLX.png|50px|link=]]</td>
<td>[[file:CMD_Couple.png|50px|link=]]</td>
<td>The train is decoupled at the specified wagon identified by name or number (upto 99 wagons), or at a random location.</td>
<td>The AI driver moves the train (or just the locomotive if it is by itself) to couple with the specified wagon.</td>
</tr>
</tr>
</table>
</table>
Line 1,766: Line 1,899:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:160293:100120:2> Decouple DLX'''
*'''<kuid:-3:10081>'''
 
*'''Base Command'''


*'''DLS Command''' by '''trev999'''
*'''Minimum Trainz Build: 2.0 (TRS2004)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


   <span style="background-color: black; color: white; font-weight: 700;"> When Used in Surveyor using the Driver Setup Rule:- </span>
   '''''<list of available wagons>''''' - select a wagon to couple to
      '''''<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
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
      '''''<67-99>''''' - select a wagon from 67 to 99
#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.
      '''''<at position determined by>'''''
#There must be a clear path to the target wagon.
        '''''<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
   <span style="background-color: black; color: white; font-weight: 700;"> When used in Driver Mode:- </span>
      '''''<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
 
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
:This decoupling command works in the '''Driver Setup Rule''' in Surveyor because it identifies wagons by their position in the consist (e.g. "7") and not by their given name.


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Couple|Couple]]''' - couples wagons in a consist
*'''[[#Couple At Trackmark|Couple At Trackmark]]''' - couples to the wagon closest to a specified trackmark  
*'''[[#Couple At Trackmark|Couple At Trackmark]]''' - couples to the wagon closest to a specified trackmark  
*'''[[#Decouple|Decouple]]''' - decouples a consist at a specific place (does not work in the '''Driver Setup Rule''')
*'''[[#Decouple|Decouple]]''' - decouples a consist at a specific place (does not work in the '''Driver Setup Rule''')
*'''[[#Decouple DLX|Decouple DLX]]''' - decouples a consist at a specific, or a random, place. Upto 99 wagons
*'''[[#Decouple Head N|Decouple Head N]]''' - decouples a consist to leave set number (N) of wagons in the consist. Upto 75 wagons
*'''[[#Decouple Head N|Decouple Head N]]''' - decouples a consist to leave set number (N) of wagons in the consist. Upto 75 wagons
*'''[[#Decouple Number #|Decouple Number #]]''' - decouples a consist at a specific place. Upto 40 wagons
*'''[[#Decouple Number #|Decouple Number #]]''' - decouples a consist at a specific place. Upto 40 wagons
Line 1,806: Line 1,926:
<tr>
<tr>
<td>
<td>
=='''Decouple Head N'''==
=='''Couple At Trackmark'''==
</td>
</td>
</tr>
</tr>
Line 1,813: Line 1,933:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_Decouple.png|50px|link=]]</td>
<td>[[file:CMD_Couple_At_Trackmark.png|50px|link=]]</td>
<td>The train is decoupled to leave the selected number ('''N''') of wagons left in the consist.</td>
<td>The AI driver moves the train (or just the locomotive if it is by itself) to couple with the wagon that is closest to a specified trackmark.</td>
</tr>
</tr>
</table>
</table>
Line 1,820: Line 1,940:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:46162:70002:12> Decouple Head N'''
*'''<kuid:2:57145:81100:1>'''


*'''DLS Command''' by '''josefpav'''
*'''DLS Command''' by '''marzipan'''
 
*'''Minimum Trainz Build: 2.2 (TRS2004 SP2)''' (earlier builds are available)


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


   '''<select wagon number>''' - select the number of wagons (sorted by ASCII code not numerical value) to be left in the consist after the decoupling.
   '''''<list of available trackmarks>''''' - select a trackmark
        1 = the lead loco only (without its tender), 2 = loco + first wagon (which could be the tender), upto 75.
 
 
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
*This decoupling command works in the '''Driver Setup Rule''' in Surveyor because it identifies wagons by their position in the consist (e.g. "7") and not by their given name.
#The end wagon of the target consist must be within the effect radius of the trackmark. If there is no wagon within the radius then no coupling will take place.
*Allows for a maximum of 75 wagons.
#The train will couple to the wagon closest to the trackmark and that may mean navigating to the other end of the consist.
#There must be a clear path to the target wagon.


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Couple|Couple]]''' - couples wagons in a consist
*'''[[#Couple|Couple]]''' - couples wagons in a consist
*'''[[#Couple At Trackmark|Couple At Trackmark]]''' - couples to the wagon closest to a specified trackmark
*'''[[#Decouple|Decouple]]''' - decouples a consist at a specific place (does not work in the '''Driver Setup Rule''')
*'''[[#Decouple|Decouple]]''' - decouples a consist at a specific place (does not work in the '''Driver Setup Rule''')
*'''[[#Decouple DLX|Decouple DLX]]''' - decouples a consist at a specific, or a random, place. Upto 99 wagons
*'''[[#Decouple DLX|Decouple DLX]]''' - decouples a consist at a specific, or a random, place. Upto 99 wagons
*'''[[#Decouple Head N|Decouple Head N]]''' - decouples a consist to leave set number (N) of wagons in the consist. Upto 75 wagons
*'''[[#Decouple Number #|Decouple Number #]]''' - decouples a consist at a specific place. Upto 40 wagons
*'''[[#Decouple Number #|Decouple Number #]]''' - decouples a consist at a specific place. Upto 40 wagons
*'''[[#Uncouplez|Uncouplez]]''' - decouples the locomotive (or locomotive + tender) from a consist
*'''[[#Uncouplez|Uncouplez]]''' - decouples the locomotive (or locomotive + tender) from a consist
*'''[[#UncouplezFrom|UncouplezFrom]]''' - decouples a consist at a specific place. Upto 20 wagons
*'''[[#UncouplezFrom|UncouplezFrom]]''' - decouples a consist at a specific place. Upto 20 wagons
[[file:WikiLink.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Trainz Wiki Links:</span>
*'''[[How to Use Track Markers]]'''


<br>
<br>
Line 1,846: Line 1,971:
<tr>
<tr>
<td>
<td>
=='''Decouple Number #'''==
 
=='''Decouple'''==
</td>
</td>
</tr>
</tr>
Line 1,853: Line 1,979:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_DecoupleNumber.png|50px|link=]]</td>
<td>[[file:CMD_Decouple.png|50px|link=]]</td>
<td>The specified wagon number (#) and any following wagons will be uncoupled from the locomotive and consist.</td>
<td>The train is decoupled at the specified wagon (does not work in '''Driver Setup Rule''').</td>
</tr>
</tr>
</table>
</table>
Line 1,860: Line 1,986:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:147570:80008:1> Decouple number #'''
*'''<kuid:-3:10082>'''
 
*'''Base Command'''


*'''Built-in Command''' by '''erniesouchak'''
*'''Minimum Trainz Build: 2.0 (TRS2004)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


   '''''<number>''''' - select a wagon number (1-40) to decouple from.
   '''''<list of available wagons>''''' - select a wagon to decouple from
 
[[file:Issues.PNG|link=]] <span style="background-color: yellow; color: black; font-weight: 700;"> Known Issues: </span>
*This command does not work when added to a driver's command list in the '''Driver Setup Rule''' in Surveyor but it does work when manually added to the driver's command list in Driver


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
*The first locomotive is #1, the second locomotive (if any) or the tender (on a steam locomotive) is #2, etc upto #40.
#If programming a driver via the '''Driver Setup Rule''', use the alternative commands '''Decouple DLX''', '''Decouple Number #''', '''Uncouplez''' or '''UncouplezFrom'''
*This decoupling command works in the '''Driver Setup Rule''' in Surveyor because it identifies wagons by their position in the consist (e.g. "7") and not by their given name.
#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.


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Couple|Couple]]''' - couples wagons in a consist
*'''[[#Couple|Couple]]''' - couples wagons in a consist
*'''[[#Couple At Trackmark|Couple At Trackmark]]''' - couples to the wagon closest to a specified trackmark  
*'''[[#Couple At Trackmark|Couple At Trackmark]]''' - couples to the wagon closest to a specified trackmark  
*'''[[#Decouple|Decouple]]''' - decouples a consist at a specific place (does not work in the '''Driver Setup Rule''')
*'''[[#Decouple DLX|Decouple DLX]]''' - decouples a consist at a specific, or a random, place. Upto 99 wagons
*'''[[#Decouple DLX|Decouple DLX]]''' - decouples a consist at a specific, or a random, place. Upto 99 wagons
*'''[[#Decouple Head N|Decouple Head N]]''' - decouples a consist to leave set number (N) of wagons in the consist. Upto 75 wagons
*'''[[#Decouple Head N|Decouple Head N]]''' - decouples a consist to leave set number (N) of wagons in the consist. Upto 75 wagons
*'''[[#Decouple Number #|Decouple Number #]]''' - decouples a consist at a specific place. Upto 40 wagons
*'''[[#Uncouplez|Uncouplez]]''' - decouples the locomotive (or locomotive + tender) from a consist
*'''[[#Uncouplez|Uncouplez]]''' - decouples the locomotive (or locomotive + tender) from a consist
*'''[[#UncouplezFrom|UncouplezFrom]]''' - decouples a consist at a specific place. Upto 20 wagons
*'''[[#UncouplezFrom|UncouplezFrom]]''' - decouples a consist at a specific place. Upto 20 wagons
Line 1,885: Line 2,016:
<tr>
<tr>
<td>
<td>
=='''Hornz'''==
=='''Decouple DLX'''==
</td>
</td>
</tr>
</tr>
Line 1,892: Line 2,023:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_Hornz.png|50px|link=]]</td>
<td>[[file:CMD_DecoupleDLX.png|50px|link=]]</td>
<td>Gives one blast of the train horn or whistle.</td>
<td>The train is decoupled at the specified wagon identified by name or number (upto 99 wagons), or at a random location.</td>
</tr>
</tr>
</table>
</table>
Line 1,899: Line 2,030:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:66277:80001:2> Hornz'''
*'''<kuid2:160293:100120:2>'''


*'''Built-in Command''' by '''smileyman'''
*'''DLS Command''' by '''trev999'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


'''None'''
  <span style="background-color: black; color: white; font-weight: 700;"> When Used in Surveyor using the Driver Setup Rule:- </span>
      '''''<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
  <span style="background-color: black; color: white; font-weight: 700;"> When used in Driver Mode:- </span>
      '''''<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
 
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
:This decoupling command works in the '''Driver Setup Rule''' in Surveyor because it identifies wagons by their position in the consist (e.g. "7") and not by their given name.


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Bellz|Bellz]]''' - rings the locomotive bell (if it has one)
*'''[[#Couple|Couple]]''' - couples wagons in a consist
*'''[[#HornzExtended|HornzExtended]]''' - gives a specified number of horn blasts
*'''[[#Couple At Trackmark|Couple At Trackmark]]''' - couples to the wagon closest to a specified trackmark
*'''[[#Decouple|Decouple]]''' - decouples a consist at a specific place (does not work in the '''Driver Setup Rule''')
*'''[[#Decouple Head N|Decouple Head N]]''' - decouples a consist to leave set number (N) of wagons in the consist. Upto 75 wagons
*'''[[#Decouple Number #|Decouple Number #]]''' - decouples a consist at a specific place. Upto 40 wagons
*'''[[#Uncouplez|Uncouplez]]''' - decouples the locomotive (or locomotive + tender) from a consist
*'''[[#UncouplezFrom|UncouplezFrom]]''' - decouples a consist at a specific place. Upto 20 wagons


<br>
<br>
Line 1,915: Line 2,070:
<tr>
<tr>
<td>
<td>
=='''HornzExtended'''==
=='''Decouple Head N'''==
</td>
</td>
</tr>
</tr>
Line 1,922: Line 2,077:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_HornzExtended.png|50px|link=]]</td>
<td>[[file:CMD_Decouple.png|50px|link=]]</td>
<td>Gives a specified number of blasts of the train horn or whistle.</td>
<td>The train is decoupled to leave the selected number ('''N''') of wagons left in the consist.</td>
</tr>
</tr>
</table>
</table>
Line 1,929: Line 2,084:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid:478639:100034> HornzExtended'''
*'''<kuid2:46162:70002:12>'''


*'''Built-in Command''' by '''ffccnn'''
*'''DLS Command''' by '''josefpav'''
 
*'''Minimum Trainz Build: 3.7 (TS12 SP1)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


<span style="background-color: black; color: white; font-weight: 700;"> Select one of:- </span> '''''<Play once>'''''
  '''<select wagon number>''' - select the number of wagons (sorted by ASCII code not numerical value) to be left in the consist after the decoupling.  
                  '''''<Play twice>'''''
        1 = the lead loco only (without its tender), 2 = loco + first wagon (which could be the tender), upto 75.
                  ... up to ...
                  '''''<Play 10 times>'''''


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
:When the command is executed, the AI will immediately move onto the next command in the sequence and will blast the horn during the execution of the following driver commands until the set count has been reached
*This decoupling command works in the '''Driver Setup Rule''' in Surveyor because it identifies wagons by their position in the consist (e.g. "7") and not by their given name.
*Allows for a maximum of 75 wagons.


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Bellz|Bellz]]''' - rings the locomotive bell (if it has one)
*'''[[#Couple|Couple]]''' - couples wagons in a consist
*'''[[#Hornz|Hornz]]''' - gives one blast of the horn or whistle
*'''[[#Couple At Trackmark|Couple At Trackmark]]''' - couples to the wagon closest to a specified trackmark
 
*'''[[#Decouple|Decouple]]''' - decouples a consist at a specific place (does not work in the '''Driver Setup Rule''')
*'''[[#Decouple DLX|Decouple DLX]]''' - decouples a consist at a specific, or a random, place. Upto 99 wagons
*'''[[#Decouple Number #|Decouple Number #]]''' - decouples a consist at a specific place. Upto 40 wagons
*'''[[#Uncouplez|Uncouplez]]''' - decouples the locomotive (or locomotive + tender) from a consist
*'''[[#UncouplezFrom|UncouplezFrom]]''' - decouples a consist at a specific place. Upto 20 wagons
 
<br>
<br>
<table width=100% bgcolor=#d7ffc9>
<table width=100% bgcolor=#d7ffc9>
<tr>
<tr>
<td>
<td>
=='''MoveTurntable'''==
=='''Decouple Number #'''==
</td>
</td>
</tr>
</tr>
Line 1,958: Line 2,119:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_MoveTurntable.png|50px|link=]]</td>
<td>[[file:CMD_DecoupleNumber.png|50px|link=]]</td>
<td>Moves the specified turntable to the specified track position.</td>
<td>The specified wagon number (#) and any following wagons will be uncoupled from the locomotive and consist.</td>
</tr>
</tr>
</table>
</table>
Line 1,965: Line 2,126:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:609850:100018:1> MoveTurntable'''
*'''<kuid2:147570:80008:1>'''
 
*'''Built-in Command''' by '''erniesouchak'''


*'''Built-in Command''' by '''vandragonax'''
*'''Minimum Trainz Build: 2.4 (TRS2004 SP4)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


   '''''<name of turntable>''''' - select the named turntable (see '''Notes''' below).
   '''''<number>''''' - select a wagon number (1-40) to decouple from.
  '''''<track #>'' or ''<relative track movement>''''' - select the track number (0 = 1st track) or a relative movement (prev, next)


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
: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.
*The first locomotive is #1, the second locomotive (if any) or the tender (on a steam locomotive) is #2, etc upto #40.
*This decoupling command works in the '''Driver Setup Rule''' in Surveyor because it identifies wagons by their position in the consist (e.g. "7") and not by their given name.


[[file:PageLink3.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Required Session Rules:</span><br>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
:'''Rules that MUST be added to the Session for this Driver Command to operate'''
*'''[[#Couple|Couple]]''' - couples wagons in a consist
*'''[[Session Rule List with Parameters#InputTable Rule|InputTable Rule]]'''
*'''[[#Couple At Trackmark|Couple At Trackmark]]''' - couples to the wagon closest to a specified trackmark
 
*'''[[#Decouple|Decouple]]''' - decouples a consist at a specific place (does not work in the '''Driver Setup Rule''')
<br>
*'''[[#Decouple DLX|Decouple DLX]]''' - decouples a consist at a specific, or a random, place. Upto 99 wagons
*'''[[#Decouple Head N|Decouple Head N]]''' - decouples a consist to leave set number (N) of wagons in the consist. Upto 75 wagons
*'''[[#Uncouplez|Uncouplez]]''' - decouples the locomotive (or locomotive + tender) from a consist
*'''[[#UncouplezFrom|UncouplezFrom]]''' - decouples a consist at a specific place. Upto 20 wagons
 
<br>
<table width=100% bgcolor=#d7ffc9>
<table width=100% bgcolor=#d7ffc9>
<tr>
<tr>
<td>
<td>
=='''Priorityz'''==
=='''Guards Whistle Near'''==
</td>
</td>
</tr>
</tr>
Line 1,992: Line 2,160:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_Priorityz.png|50px|link=]]</td>
<td>[[file:CMD_GuardsWhistleNear.png|50px|link=]]</td>
<td>Sets the train priority value.</td>
<td>The guard's whistle is sounded as a nearby sound</td>
</tr>
</tr>
</table>
</table>
Line 1,999: Line 2,167:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:66277:80003:1> priorityz'''
*'''<kuid2:56603:100062:1>'''
 
*'''DLS Command''' by '''footplatephil'''


*'''Built-in Command''' by '''smileyman'''
*'''Minimum Trainz Build: 4.5 (TANE SP2)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>


'''''<value>''''' - select train priority value 1, 2 or 3
  '''None'''


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
:The Priority value identifies the importance of the train for the '''Priority Trackmarkers'''. Usually (a guide only):-
*'''[[#Bellz|Bellz]]''' - rings the locomotive bell (if it has one)
:*Priority 1 = Express trains
*'''[[#Hornz|Hornz]]''' - gives one blast of the locos horn or whistle
:*Priority 2 = Local Expresses or Fast Freights
*'''[[#HornzExtended|HornzExtended]]''' - gives a specified number of loco horn blasts
:*Priority 3 = Slow Local Freights or All Stops Services
 
[[file:WikiLink.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Trainz Wiki Links:</span>
*'''[[How_to_Use_Track_Priority_Markers|How to Use Track Priority Markers]]'''


<br>
<br>
Line 2,020: Line 2,186:
<tr>
<tr>
<td>
<td>
=='''Run Around'''==
=='''Hornz'''==
</td>
</td>
</tr>
</tr>
Line 2,027: Line 2,193:
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:CMD_RunAround.png|50px|link=]]</td>
<td>[[file:CMD_Hornz.png|50px|link=]]</td>
<td>Uncouples the locomotive (plus tender if present) from the train, navigates to the other end of the train and couples to the last wagon.</td>
<td>Gives one blast of the train horn or whistle.</td>
</tr>
</tr>
</table>
</table>
Line 2,034: Line 2,200:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid:-3:10083> Run Around'''
*'''<kuid2:66277:80001:2>'''
 
*'''Built-in Command''' by '''smileyman'''


*'''Base Command'''
*'''Minimum Trainz Build: 2.0 (TRS2004)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
Line 2,042: Line 2,210:
  '''None'''
  '''None'''


[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
#There must be a path for the locomotive to follow from one end of the train to the other.
*'''[[#Bellz|Bellz]]''' - rings the locomotive bell (if it has one)
#The locomotive must have sufficient clear space, free of track switches and signals, at both ends of the train to perform this movement.
*'''[[#Guards Whistle Near|Guards Whistle Near]]''' - blows the guards whistle
*'''[[#HornzExtended|HornzExtended]]''' - gives a specified number of loco horn blasts
 
<br>
<table width=100% bgcolor=#d7ffc9>
<tr>
<td>
=='''HornzExtended'''==
</td>
</tr>
</table>
 
<table>
<tr valign="top">
<td>[[file:CMD_HornzExtended.png|50px|link=]]</td>
<td>Gives a specified number of blasts of the train horn or whistle.</td>
</tr>
</table>
 
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
 
*'''<kuid:478639:100034>'''
 
*'''DLS Command''' by '''ffccnn'''
 
*'''Minimum Trainz Build: 3.4 (TS2010 SP4)'''
 
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
 
<span style="background-color: black; color: white; font-weight: 700;"> Select one of:- </span> '''''<Play once>'''''
                  '''''<Play twice>'''''
                  ... up to ...
                  '''''<Play 10 times>'''''
 
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
:When the command is executed, the AI will immediately move onto the next command in the sequence and will blast the horn during the execution of the following driver commands until the set count has been reached
 
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Bellz|Bellz]]''' - rings the locomotive bell (if it has one)
*'''[[#Guards Whistle Near|Guards Whistle Near]]''' - blows the guards whistle
*'''[[#Hornz|Hornz]]''' - gives one blast of the locos horn or whistle
 
<br>
<table width=100% bgcolor=#d7ffc9>
<tr>
<td>
=='''Move Turntable - command'''==
</td>
</tr>
</table>
 
<table>
<tr valign="top">
<td>[[file:CMD_MoveTurntableCommand.png|50px|link=]]</td>
<td>Moves the specified turntable a set number of track positions.</td>
</tr>
</table>
 
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
 
*'''<kuid:458053:108204>'''
 
*'''DLS Command''' by '''vincentrh'''
 
*'''Minimum Trainz Build: 4.6 (TRS19)'''
 
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
 
  '''''<name of turntable>''''' - select the named turntable
  '''''<steps to move> <0, 1, 2, ...>''''' - select the relative movement (1 track, 2 tracks, etc) from the current track position
 
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
:This command does NOT need the '''InputTable Rule''' to be installed in the session
 
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#MoveTurntable|MoveTurntable]]''' - Moves the specified turntable to the specified track position
 
<br>
<table width=100% bgcolor=#d7ffc9>
<tr>
<td>
=='''MoveTurntable'''==
</td>
</tr>
</table>
 
<table>
<tr valign="top">
<td>[[file:CMD_MoveTurntable.png|50px|link=]]</td>
<td>Moves the specified turntable to the specified track position.</td>
</tr>
</table>
 
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
 
*'''<kuid2:609850:100018:1>'''
 
*'''Built-in Command''' by '''vandragonax'''
 
*'''Minimum Trainz Build: 2.9 (TS2009)''' (older '''versions''' are available)
 
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
 
  '''''<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)
 
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
: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.
 
[[file:PageLink3.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Required Session Rules:</span><br>
:'''Rules that MUST be added to the Session for this Driver Command to operate'''
*'''[[Session Rule List with Parameters#InputTable Rule|InputTable Rule]]'''
 
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Move Turntable - command|Move Turntable - command]]''' - Moves the specified turntable a set number of track positions
 
<br>
<table width=100% bgcolor=#d7ffc9>
<tr>
<td>
=='''Passenger Door Control'''==
</td>
</tr>
</table>
 
<table>
<tr valign="top">
<td>[[file:CMD_DoorControl.png|50px|link=]]</td>
<td>Opens/closes passenger doors of trains. Passenger cars must have doors that can be opened.</td>
</tr>
</table>
 
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
 
*'''<kuid:57344:1015>'''
 
*'''DLS Command''' by '''Marinus'''
 
*'''Minimum Trainz Build: 2.4 (TRS2004 SP4)'''
 
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
<span style="font-weight: 700; color: white; background-color: black;">&#160;Select one of:-&#160;</span>
'''''<Open>'''''
'''''<Close>'''''
<span style="font-weight: 700; color: white; background-color: black;">&#160;Then for each select one of:-</span>
'''''<Left>'''''
'''''<Right>'''''
'''''<Both Sides>'''''
 
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
*Use the command to open the doors, followed by a '''Wait''' command, then use the command again to close the doors.
<br>
<table width=100% bgcolor=#d7ffc9>
<tr>
<td>
=='''Priorityz'''==
</td>
</tr>
</table>
 
<table>
<tr valign="top">
<td>[[file:CMD_Priorityz.png|50px|link=]]</td>
<td>Sets the train priority value.</td>
</tr>
</table>
 
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
 
*'''<kuid2:66277:80003:1>'''
 
*'''Built-in Command''' by '''smileyman'''
 
*'''Minimum Trainz Build: 2.0 (TRS2004)'''
 
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
 
'''''<value>''''' - select train priority value 1, 2 or 3
 
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
*The Priority value identifies which '''Track Priority Markers''' the train should follow when under AI control.
*Trains can be assigned different values to indicate their function. For example:-
:*Priority 1 = Express trains
:*Priority 2 = Local Expresses or Fast Freights (2 is the '''default''' value for all trains)
:*Priority 3 = Slow Local Freights or All Stops Services
 
[[file:WikiLink.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Trainz Wiki Links:</span>
*'''[[How_to_Use_Track_Priority_Markers|How to Use Track Priority Markers]]'''
 
<br>
<table width=100% bgcolor=#d7ffc9>
<tr>
<td>
=='''Run Around'''==
</td>
</tr>
</table>
 
<table>
<tr valign="top">
<td>[[file:CMD_RunAround.png|50px|link=]]</td>
<td>Uncouples the locomotive (plus tender if present) from the train, navigates to the other end of the train and couples to the last wagon.</td>
</tr>
</table>
 
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
 
*'''<kuid:-3:10083>'''
 
*'''Base Command'''
 
*'''Minimum Trainz Build: 2.0 (TRS2004)'''
 
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
 
'''None'''
 
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
#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.
 
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Run Around Ex|Run Around Ex]]''' - performs the run around only if there is no loco already in position at the other end
 
<br>
<table width=100% bgcolor=#d7ffc9>
<tr>
<td>
=='''Run Around Ex'''==
</td>
</tr>
</table>
 
<table>
<tr valign="top">
<td>[[file:CMD_RunAroundEx.png|50px|link=]]</td>
<td>Uncouples the locomotive(s) (plus tender if present) from the train, navigates to the other end of the train and couples to the last wagon but ONLY if the other end of the train does not already have a locomotive in place.</td>
</tr>
</table>
 
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
 
*'''<kuid2:117667:83:3>'''
 
*'''DLS Command''' by '''nicroman'''
 
*'''Minimum Trainz Build: 2.2 (TRS2004 SP2)''' (earlier builds are available)
 
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
 
'''None'''
 
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
#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.
#There must be no locomotive already coupled to the destination end of the train.
 
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Run Around|Run Around]]''' - unconditionally performs the run around
 
<br>
<table width=100% bgcolor=#d7ffc9>
<tr>
<td>
=='''TRC: Close the crossing - command'''==
</td>
</tr>
</table>
 
<table>
<tr valign="top">
<td>[[file:CMD_TRCCloseCrossing.png|50px|link=]]</td>
<td>Forces the grade crossing directly in front of or behind the train to close and prevents a crossing that is already closed from opening. Used with the '''TRC''' system of grade crossings</td>
</tr>
</table>
 
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
 
*'''<kuid2:458053:101227:1>'''
 
*'''DLS Command''' by '''vincentrh'''
 
*'''Minimum Trainz Build: 4.3 (T:ANE SP1)'''
 
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
 
<span style="background-color: black; color: white; font-weight: 700;"> Select one of two menu options:- </span>
    '''''The crossing is'''''
          '''''<in front of the train>'''''
          '''''<behind the train>'''''
 
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
:There must be a '''TRC''' grade crossing immediately in front of or behind the train
 
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#TRC: Open the crossing - command|TRC: Open the crossing - command]]''' - opens a closed '''TRC''' grade crossing in front of or behind the train
 
[[file:WikiLink.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">External Links:</span>
*'''[https://sites.google.com/site/trcv2english/8-trc-four-tools-for-your-sessions 4 TRC Tools for your sessions]
<br>
 
<table width=100% bgcolor=#d7ffc9>
<tr>
<td>
=='''TRC: Open the crossing - command'''==
</td>
</tr>
</table>
 
<table>
<tr valign="top">
<td>[[file:CMD_TRCOpenCrossing.png|50px|link=]]</td>
<td>Forces the grade crossing directly in front of or behind the train to open and prevents a crossing that is already open from closing. Used with the '''TRC''' system of grade crossings</td>
</tr>
</table>
 
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
 
*'''<kuid:458053:101249>'''
 
*'''DLS Command''' by '''vincentrh'''
 
*'''Minimum Trainz Build: 4.3 (T:ANE SP1)'''
 
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
 
<span style="background-color: black; color: white; font-weight: 700;"> Select one of two menu options:- </span>
    '''''The crossing is'''''
          '''''<in front of the train>'''''
          '''''<behind the train>'''''
 
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
:There must be a '''TRC''' grade crossing immediately in front of or behind the train


[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Run Around Ex|Run Around Ex]]''' - performs the run around only if there is no loco already in position at the other end
*'''[[#TRC: Close the crossing - command|TRC: Close the crossing - command]]''' - closes an open '''TRC''' grade crossing in front of or behind the train


[[file:WikiLink.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">External Links:</span>
*'''[https://sites.google.com/site/trcv2english/8-trc-four-tools-for-your-sessions 4 TRC Tools for your sessions]
<br>
<br>
<table width=100% bgcolor=#d7ffc9>
<tr>
<td>
=='''Run Around Ex'''==
</td>
</tr>
</table>
<table>
<tr valign="top">
<td>[[file:CMD_RunAroundEx.png|50px|link=]]</td>
<td>Uncouples the locomotive(s) (plus tender if present) from the train, navigates to the other end of the train and couples to the last wagon but ONLY if the other end of the train does not already have a locomotive in place.</td>
</tr>
</table>


[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
*'''<kuid2:117667:83:3> Run Around Ex'''
*'''DLS Command''' by '''nicroman'''
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
'''None'''
[[file:Notes.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Notes:</span>
#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.
#There must be no locomotive already coupled to the destination end of the train.
[[file:PageLink2.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Related Commands:</span>
*'''[[#Run Around|Run Around]]''' - unconditionally performs the run around
<br>
<table width=100% bgcolor=#d7ffc9>
<table width=100% bgcolor=#d7ffc9>
<tr>
<tr>
Line 2,101: Line 2,570:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:66277:80000:1> UnCouplez'''
*'''<kuid2:66277:80000:1>'''


*'''Built-in Command''' by '''smileyman'''
*'''Built-in Command''' by '''smileyman'''
*'''Minimum Trainz Build: 2.0 (TRS2004)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
Line 2,136: Line 2,607:
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>
[[file:Properties.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Properties:</span>


*'''<kuid2:66277:80005:2> UnCouplezFrom'''
*'''<kuid2:66277:80005:2>'''


*'''Built-in Command''' by '''smileyman'''
*'''Built-in Command''' by '''smileyman'''
*'''Minimum Trainz Build: 2.0 (TRS2004)'''


[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
[[file:Settings.PNG|link=]] <span style="text-decoration: underline; font-weight: 700;">Command Settings:</span>
Line 2,157: Line 2,630:
*'''[[#Uncouplez|Uncouplez]]''' - decouples the locomotive (or locomotive + tender) from a consist
*'''[[#Uncouplez|Uncouplez]]''' - decouples the locomotive (or locomotive + tender) from a consist
<br>
<br>
[[file:BackToTop.png|link=#top|alt=Top|Top]]
<table> <!-- BEGIN Nav Buttons Table -->
 
<tr valign="top">
<td width=46><span id="bottom"></span>[[file:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td width=75>[[file:NextUp.png|link=#Train|alt=Next Up|Next Up]]</td>
<td width=75>&nbsp;</td>
<td width=75>&nbsp;</td>
</tr>
</table> <!-- END Nav Buttons Table -->
----
----
----
----
Line 2,168: Line 2,647:
<td>
<td>
<span style="font-size: 17px; font-weight: 700;">More Tutorials and Guides to Using Trainz</span><br>
<span style="font-size: 17px; font-weight: 700;">More Tutorials and Guides to Using Trainz</span><br>
*'''<span class="plainlinks">[http://online.ts2009.com/mediaWiki/index.php/HowTo How to Guides]</span>'''
*'''<span class="plain;s">[http://online.ts2009.com/mediaWiki/index.php/HowTo How to Guides]</span>'''
*'''[[Session Rule List with Parameters|Session Rules List (Alphabetical) with Parameters]]'''
*'''[[Session Rule List with Parameters|Session Rules List (Alphabetical) with Parameters]]'''
*'''[[Session Rules By Categories With Properties|Session Rules List (Categories) With Parameters]]'''
*'''[[Session Rules By Categories With Properties|Session Rules List (Categories) With Parameters]]'''
Line 2,174: Line 2,653:
</tr>
</tr>
</table>
</table>
 
----
This page was created by Trainz user '''<span class="plain;s">[http://online.ts2009.com/mediaWiki/index.php/User:Pware pware]</span>''' in November 2018 and was last updated as shown below.
----
[[Category:How-to_guides|HowTo Guides]]
[[Category:How-to_guides|HowTo Guides]]

Latest revision as of 20:37, 6 January 2026

The information in this Wiki Page applies to TANE, TRS19, TRS22 and Trainz Plus.

This page is always under construction. As new driver commands appear and are tested they will be added to this list. Current Command Count: 67

Only driver commands supplied with Trainz or on the DLS are covered in this document.

The driver commands listed in this page are all accessible in the Surveyor Session Editor using the Driver Setup Rule.

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 driver 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 Trainz.
  • Minimum Trainz Build is the minimum version of Trainz required for the listed version of this driver command to work. This can change to a higher build if the command is updated. Older builds may be available on the DLS.
  • Obsolete Command is no longer required (explanation given).
  • Legacy Command has been replaced by another command (new command will be identified).
  • SP2 and later and SP4 and later means TANE SP2/SP4 and later versions including TRS19 and Trainz Plus.

Top   Next Down Bottom
Top Next Up Next Down Bottom

Interlocking Tower and Mission Code Commands

Commands that manage navigation paths set by Interlocking Towers

AddMissionCode (TANE SP4 and later)

Adds a mission code (a sequence of IT or EIT paths) to any mission codes already loaded for the train. The mission code must be set by the Mission Code Manager Rule (SP2 and Later)

Command Properties:

  • <kuid2:61392:8203:80>
  • DLS Command by pguy
  • Minimum Trainz Build: 4.5 (TANE SP2) (earlier builds are available)

Command Settings:

  <mission codes> - select a mission code from the Session list

Notes:

The mission code must be created by the Mission Code Manager Rule (SP2 and Later) using paths created with Interlocking Towers

Related Commands:

Required Session Rules:

Rules that MUST be added to the Session for this Driver Command to operate


IT CancelEnhancedPath (TANE SP4 and later)

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Cancels an active Enhanced Interlocking Tower (EIT) path for the train that had been set by the IT SetPath Command

Command Properties:

  • <kuid2:61392:8114:78>
  • DLS Command by pguy
  • Minimum Trainz Build: 4.5 (TANE SP2) (earlier builds are available)

Command Settings:

  <Select EIT> - select from list of session EITs
     <Select Path> - select the active path from that EIT

Notes:

  1. The active path must be created using Enhanced Interlocking Towers
  2. Cancelling a path makes it available for other consists and allows conflicting paths to be made active
  3. An active path is automatically cancelled after it has been completed by a train

Related Commands:


IT SetPath (TANE SP4 and Later)

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Selects and sets a path for the train from those available from Interlocking Towers (ITs) and Enhanced Interlocking Towers (EITs). If this path was created by an EIT it can be cancelled prior to its use by the IT CancelEnhancedPath Command

Command Properties:

  • <kuid2:61392:8111:78>
  • DLS Command by pguy
  • Minimum Trainz Build: 4.5 (TANE SP2) (earlier builds are available)

Command Settings:

  <Select IT or EIT> - select from list of session ITs and/or EITs
     <Select Path> - select from available paths for that IT/EIT

Notes:

  1. The paths must be created using Interlocking Towers
  2. An active path is automatically cancelled after it has been completed by a train

Related Commands:


IT SetPathAndWaitActive (TANE SP4 and later)

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Selects and sets a path for the train from those available from Interlocking Towers (ITs) and Enhanced Interlocking Towers (EITs) and waits until the path becomes active. If this path was created by an EIT it can be cancelled prior to its use by the IT CancelEnhancedPath Command

Command Properties:

  • <kuid2:61392:8113:78>
  • DLS Command by pguy
  • Minimum Trainz Build: 4.5 (TANE SP2) (earlier builds are available)

Command Settings:

  <Select IT or EIT> - select from list of session ITs and/or EITs
     <Select Path> - select from available paths for that IT/EIT

Notes:

  1. The paths must be created using Interlocking Towers
  2. An active path is automatically cancelled after it has been completed by a train

Related Commands:


IT SetPathAndWaitNotRed (TANE SP4 and later)

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Selects and sets a path for the train from those available from Interlocking Towers (ITs) and Enhanced Interlocking Towers (EITs) and waits until the next signal is not showing red. If this path was created by an EIT it can be cancelled prior to its use by the IT CancelEnhancedPath Command

Command Properties:

  • <kuid2:61392:8112:78>
  • DLS Command by pguy
  • Minimum Trainz Build: 4.5 (TANE SP2) (earlier builds are available)

Command Settings:

  <Select IT or EIT> - select from list of session ITs and/or EITs
     <Select Path> - select from available paths for that IT/EIT

Notes:

  1. The paths must be created using Interlocking Towers
  2. An active path is automatically cancelled after it has been completed by a train

Related Commands:


RemoveMissionCode (TANE SP4 and later)

Removes a mission code (a sequence of IT or EIT paths) from any mission codes already loaded for the train. The mission code must be set by the Mission Code Manager Rule (SP2 and Later) and given to the driver by the SetMissionCode (SP2 and later) or AddMissionCode (TANE SP4 and later) driver commands or by the Mission Code Manager Rule (SP2 and Later) itself

Command Properties:

  • <kuid2:61392:8204:80>
  • DLS Command by pguy
  • Minimum Trainz Build: 4.5 (TANE SP2) (earlier builds are available)

Command Settings:

  <mission codes> - select a mission code from the Session list

Notes:

The mission code must be created by the Mission Code Manager Rule (SP2 and Later) using paths created with Interlocking Towers

Related Commands:

Required Session Rules:

Rules that MUST be added to the Session for this Driver Command to operate


SetMissionCode (TANE SP4 and Later)

Sets a mission code (a sequence of IT or EIT paths) for the train. The mission code must be set by the Mission Code Manager Rule (SP2 and Later). Mission codes can also be given to trains in Surveyor or Driver mode through the Mission Code Manager Rule (SP2 and Later)

Command Properties:

  • <kuid2:61392:8201:80>
  • DLS Command by pguy
  • Minimum Trainz Build: 4.5 (TANE SP2) (earlier builds are available)

Command Settings:

  <*Reset mission code> - resets the currently loaded mission code, or
  <mission codes> - select a mission code from the Session list

Notes:

The mission code must be created by the Mission Code Manager Rule (SP2 and Later) using paths created with Interlocking Towers

Related Commands:

Required Session Rules:

Rules that MUST be added to the Session for this Driver Command to operate


Top Next Up Next Down Bottom

Junction and Signal Commands

Commands that operate track junctions and signals

ControlJunction

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Sets the direction for a single specified junction switch.

Command Properties:

  • <kuid:131986:1011>
  • DLS Command by atilabarut
  • Minimum Trainz Build: 2.5 (TRS2006)

Command Settings:

  Select switch direction,  one of  <LEFT/RIGHT/FORWARD>
     Select <switch name> from the session list

Related Commands:

  • SetOneJunction - sets the direction for a single specified junction switch


SetOneJunction

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Sets the direction for a single specified junction switch.

Command Properties:

  • <kuid2:121843:100445:1>
  • DLS Command by pitkin
  • Minimum Trainz Build: 3.5 (TS12)

Command Settings:

  Select <switch name> from the session list
     Select switch direction,  one of  <LEFT/RIGHT/FORWARD/BACKWARD>

Related Commands:

  • ControlJunction - sets the direction for a single specified junction switch


Set Signal Ahead

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Sets the state of the next signal ahead.

Command Properties:

  • <kuid2:368725:60003:6>
  • DLS Command by elstoko
  • Minimum Trainz Build: 4.3 (TANE SP1) (earlier builds are available)

Command Settings:

  <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>

Notes:

  1. This command only works on signals that will respond to the function "SetSignalStateEx", not all signals will respond
  2. The signal must support the selected state otherwise there will be no change
  3. The signal will be reset after the train has cleared the signal


Top Next Up Next Down Bottom

Load and Unload Commands

Commands that load and/or unload wagons, tenders and locomotives

InstantLoad Command

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Instantly loads all empty rolling stock (except locos and tenders) in the consist with the first items in their commodity queues according to the selected option. The consist does not have to be positioned at an active industry asset.

Command Properties:

  • <kuid2:45324:555017:8>
  • DLS Command by norfolksouthern37
  • Minimum Trainz Build: 3.7 (TS12 SP1)

Command Settings:

 Select one of:- 
<Load All> - loads all empty rolling stock with first items from their commodity queues
<Load Random> - loads randomly selected empty rolling stock with the first items from their commodity queues
<Load Intermodal No Double-Stack> - loads all empty rolling stock with the first single-stacked intermodal item (containers) from their commodity queues. 
   If no suitable intermodal item is available then the first item in the queue will be selected.

Related Commands:

  • InstantUnload - instantly unloads all rolling stock except locos and tenders
  • Load - loads commodities at an industry (including a station)


InstantLoadLocos

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Instantly loads all locos and tenders in the consist with the item(s) in their commodity queues (coal, water, diesel fuel). The consist does not have to be positioned at an active industry asset.

Command Properties:

  • <kuid2:67585:1022:1>
  • Built-in Command by nzhorse
  • Minimum Trainz Build: 2.4 (TRS2004 SP4)

Command Settings:

None


InstantUnLoad

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Instantly unloads the commodities in all rolling stock (except locos and tenders) in the consist. The consist does not have to be positioned at an active industry asset.

Command Properties:

  • <kuid2:67585:1021:2>
  • DLS Command by robin_hoods
  • Minimum Trainz Build: 2.4 (TRS2004 SP4)

Command Settings:

None

Related Commands:

  • Instant Load Command - instantly loads all rolling stock except locos and tenders
  • Unload - unloads commodities at an industry (including a station)


Load

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Instructs the AI driver to load the commodity or commodities waiting at an industry enabled asset into the rolling stock assets that have been configured to receive them. This may involve the AI driver moving the train forward a few wagons at a time until the entire length of the train has passed through the loading area. The Load command is also used for loading (and unloading) passengers at passenger enabled stations.

Command Properties:

  • <kuid:-3:10076>
  • Base Command
  • Minimum Trainz Build: 2.0 (TRS2004)

Command Settings:

None

Notes:

  1. 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.
  2. With passenger enabled stations the Load command will first execute an Unload command to unload some of the passengers.


Load At

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Combines the Drive To and Load commands. Instructs the AI driver to drive to an industry (or passenger enabled station) and load the commodity or commodities waiting there into the rolling stock assets that have been configured to receive them. This may involve the AI driver moving the train forward a few wagons at a time until the entire length of the train has passed through the loading area. The Load At command is also used for loading (and unloading) passengers at passenger enabled stations. All signals and speed signs are obeyed during the "Drive To" operation.

Command Properties:

  • <kuid2:75377:84:1>
  • DLS Command by stagecoach
  • Minimum Trainz Build: 4.2 (TANE) (earlier builds are available)

Command Settings:

Select <name of industry> or industry enabled passenger station from the session list
   if applicable select  <name/number of track or platform> for industries and stations that have identified active platforms, tracks or loading bays

Notes:

  1. The AI driver will select the shortest available path to the destination.
  2. 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 indefinitely until the blockage is removed.
  3. 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.
  4. With passenger enabled stations the Load command will first execute an Unload command to unload some of the passengers.

Related Commands:

  • Drive To - drives to an industry but does not seek alternative paths if blocked
  • Load - loads commodities at an industry (including a station)


Terminate Passenger Train

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 An Unload command for passenger trains arriving at a terminal station. The train will be emptied of passengers.

Command Properties:

  • <kuid2:116387:16:2>
  • Built-in Command by maggs
  • Minimum Trainz Build: 2.4 (TRS2004 SP4) (earlier builds are available)

Command Settings:

None

Notes:

  1. Issue a Drive To command (or similar) to the station before using this command. The station must be industry active.


Unload

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Instructs the AI driver to unload the commodity or commodities loaded in rolling stock assets to the industry enabled asset if it has been configured and is able to receive them. This may involve the AI driver moving the train forward a few wagons at a time until the entire length of the train has passed through the loading area. The Unload command is also used for unloading passengers at passenger enabled stations.

Command Properties:

  • <kuid:-3:10077>
  • Base Command
  • Minimum Trainz Build: 2.0 (TRS2004)

Command Settings:

None

Notes:

  1. 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.
  2. 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


Top Next Up Next Down Bottom

Movement Commands

Commands that stop, delay or alter the movement of trains

AI Wait Until Green Signal

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 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.

Command Properties:

  • <kuid2:151055:100101:3>
  • DLS Command by erendir
  • Minimum Trainz Build: 3.7 (TS12 SP1)

Command Settings:

  Ждать, пока не будет зелёный > -  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

Notes:

The signal must be 3,000 metres or less from the train.


Change Train Direction

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Reverses the driving direction of the train.

Command Properties:

  • <kuid2:70791:9001:1>
  • Built-in Command by mgalling
  • Minimum Trainz Build: 2.2 (TRS2004 SP2)

Command Settings:

None


Halt Train

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Brings the train to an immediate stop.

Command Properties:

  • <kuid:401543:1090>
  • Base Command
  • Minimum Trainz Build: 2.9 (TS2009)

Command Settings:

None


InstantMoveTrain

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Instantly moves the train to one of 20 nominated Trackmarks. Works in much the same way as a Portal but without the issues of consists changing loads or layers.

Command Properties:

  • <kuid:121843:100602>
  • DLS Command by pitkin
  • Minimum Trainz Build: 4.5 (TANE SP2)
  • Legacy Command has been replaced by InstantMoveTrain2

Command Settings:

Select Trackmark: MOVETRAIN_0 to Trackmark: MOVETRAIN_19

Notes:

The target trackmarks must be named MOVETRAIN_ followed by a number from 0 to 19.
After the instant move the consist will be placed facing the same direction as the trackmark and with the loco directly over the trackmark.

Related Commands:

  • InstantMoveTrain2 - instantly moves a train to one of 20 specified trackmarks. Fixes some issues with InstantMoveTrain command.


InstantMoveTrain2

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Instantly moves the train to one of 20 nominated Trackmarks. Works in much the same way as a Portal but without the issues of consists changing loads or layers. This version fixes the placement direction, asynchronous trackmark search and camera focus problems of the original InstantMoveTrain.

Command Properties:

  • <kuid:99999:80009>
  • DLS Command by G.M.
  • Minimum Trainz Build: 3.5 (TS12)

Command Settings:

Select Trackmark: MOVETRAIN_0 to Trackmark: MOVETRAIN_19

Notes:

The target trackmarks must be named MOVETRAIN_ followed by a number from 0 to 19.

Related Commands:


Set Max Speed To

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 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.

Command Properties:

  • <kuid2:450022:90001:2>
  • DLS Command by nikkia
  • Minimum Trainz Build: 2.9 (TS2009)

Command Settings:

Select <No maximum speed> or <value> in mph

Notes:

The maximum speed, once set, will remain in place throughout the session unless cancelled or reset by another Set Max Speed To command.

Related Commands:


Set Max Speed To (km/h)

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 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.

Command Properties:

  • <kuid:450022:90002>
  • DLS Command by nikkia
  • Minimum Trainz Build: 2.9 (TS2009)

Command Settings:

Select <No maximum speed> or <value> in km/h

Notes:

The maximum speed, once set, will remain in place throughout the session unless cancelled or reset by another Set Max Speed To command.

Related Commands:


Wait For

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Instructs the AI driver to wait for a set time period before executing the next instruction in the command list.

Command Properties:

  • <kuid:-3:10090>
  • Base Command
  • Minimum Trainz Build: 2.0 (TRS2004)

Command Settings:

Select  from list

Notes:

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.

Related Commands:


WaitForRandom

Instructs the AI driver to wait for a random time period (in seconds) up to 3 minutes before executing the next instruction in the command list.

Command Properties:

  • <kuid2:131986:1031:2>
  • Built-in Command by atilabarut
  • Minimum Trainz Build: 2.5 (TRS2006)

Command Settings:

Select <random time range> from list of ranges from 1-60 seconds to 150-180 seconds all sorted by their ASCII values

Notes:

The random time delay used will be within the selected range.

Related Commands:


WaitForTrigger

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Instructs the AI driver to wait for a trigger event before executing the next instruction in the command list. The train triggering the event can be any train in the session.

Command Properties:

  • <kuid2:57344:80001:10>
  • Built-in Command by marinus
  • Minimum Trainz Build: 4.5 (TANE SP2) (earlier builds are available)

Command Settings:

Select <trigger name> from the session list
   Select <any train> or locomotive from <list of locomotive names>

Known Issues:

  • The presence of a large number of locos in a session can cause this command to fail due to a timeout error
  • In TANE this command will not appear in a drivers command list if there are no triggers set

Related Session Rules:


Wait Until II

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Instructs the AI driver to wait until the specified time

Command Properties:

  • <kuid:32711:100025>
  • Built-in Command by dap
  • Minimum Trainz Build: 2.9 (TS2009)

Command Settings:

Select <hours> 1 to 24
   Select <minutesx10> minutes 0 to 50 in increments of 10
      Select <minutesx1> minutes 0 to 9

Notes:

  • If the driver is running up to 4 hours late this command will terminate immediately
  • If the wait until time is more than 4 hours behind the game time, the command will wait until tomorrow
  • The game time rate must be set to x1 (normal speed) for the command to work correctly
  • Run-time editing is not available for this command. To edit in Driver the command must be removed first

Related Commands:

  • WaitFor - sets the wait period for up to 1 hour
  • WaitForRandom - sets a random wait in seconds up to and including 3 minutes


Top Next Up Next Down Bottom

Navigation Commands

Commands that set destinations and way points

Autodrive

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Instructs the AI driver to drive under Autopilot to or through the specified trackmark 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.

Command Properties:

  • <kuid2:192081:4:5>
  • DLS Command by brummfondel
  • Minimum Trainz Build: 4.5 (TANE SP2) (earlier builds are available)

Command Settings:

 Select one of:- 
   <Drive to> - select a trackmark from the session list.
   <Drive through> - select a trackmark from the session list.

Known Issues:

  • The presence of a large number of locos in a session can cause this command to fail due to a timeout error

Notes:

  • It is the users responsibility to set all junction switches ahead of the train. The AI will not set the switches

Related Commands:

  • AutoDrivePastSignal - drives continuously or until a specified signal has been passed
  • AutoPilot - drives continuously or until a specified trackmark has been passed


AutoDrivePastSignal

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Instructs the AI driver to drive under Autopilot until the entire train clears the specified signal 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. The train will slow to a halt after passing the signal.

Command Properties:

  • <kuid2:61392:7101:1>
  • DLS Command by pguy
  • Minimum Trainz Build: 4.5 (TANE SP2)

Command Settings:

  Select <signal name> from Session list

Notes:

  • It is the users responsibility to set all junction switches ahead of the train. The AI will not set the switches

Related Commands:

  • Autodrive - drives to or through a specified trackmark
  • AutoPilot - drives continuously or until a specified trackmark has been passed


Autopilot Command

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 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.

Command Properties:

  • <kuid2:71155:60001:5>
  • DLS Command by _mutton_
  • Minimum Trainz Build: 2.5 (TRS2006) (earlier builds are available)

Command Settings:

 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)

Notes:

  1. It is the users responsibility to set all junction switches ahead of the train. The AI will not set the switches
  2. If the Stop at track mark option is used then:-
  • the AI will not set a path to the track mark, that is the users responsibility
  • the AI 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 AI will continue as it would for the activate option

Related Commands:


Drive To

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Instructs the AI driver to Drive, via the shortest available path, to the designated Industry (including Passenger Stations). Switches ahead of the train that are not locked against the AI will be set to allow the train to proceed and reset after the train has cleared the switch. The AI driver will NOT attempt to find a way around blockages when calculating the shortest path to the industry. All signals and speed signs are obeyed.

Command Properties:

  • <kuid:-3:11058>
  • Base Command
  • Minimum Trainz Build: 2.0 (TRS2004)

Command Settings:

Select <name of industry> or industry enabled passenger station from the session list
  if applicable <name/number of track or platform> for industries and stations that have identified active platforms, tracks or loading bays

Notes:

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 indefinitely until the blockage is removed.

Related Commands:


Drive To Trackmark

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Instructs the AI driver to Drive, via the shortest available path, to the designated Trackmark. Switches ahead of the train that are not locked against the AI will be set to allow the train to proceed and reset after the train has cleared the switch. The AI driver will NOT attempt to find a way around blockages when calculating the shortest path to the trackmark. All signals and speed signs are obeyed.

Command Properties:

  • <kuid:-25:1301>
  • Base Command
  • Minimum Trainz Build: 4.6 (TRS19) (the required version is built into each appliciable Trainz release)

Command Settings:

Select <name of trackmark> from the session list

Notes:

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 indefinitely until the blockage is removed.

Related Commands:

Trainz Wiki Links:


Drive Via Trackmark

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Instructs the AI driver to Drive, via the shortest available path, to and through the designated Trackmark. If there are no further commands then the AI will halt after passing the trackmark. Switches ahead of the train that are not locked against the AI will be set to allow the train to proceed and reset after the train has cleared the switch. The AI driver will NOT attempt to find a way around blockages when calculating the shortest path to the trackmark. All signals and speed signs are obeyed.

Command Properties:

  • <kuid:-3:11209>
  • Base Command
  • Minimum Trainz Build: 2.0 (TRS2004)

Command Settings:

Select <name of trackmark> from the session list

Notes:

  1. 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.
  2. 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 indefinitely until the blockage is removed.

Related Commands:

Trainz Wiki Links:


Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Instructs the AI driver to Navigate, via the shortest available path, to the designated Industry (including Passenger Station). Switches ahead of the train that are not locked against the AI will be set to allow the train to proceed and reset after the train has cleared the switch. The AI driver will attempt to find a way around blockages when calculating the shortest path to the industry. All signals and speed signs are obeyed.

Command Properties:

  • <kuid:-3:10058>
  • Base Command
  • Minimum Trainz Build: 4.5 (TANE SP2) (the required version is built into each appliciable Trainz release)

Command Settings:

Select <name of industry> or industry enabled passenger station from the session list
  if applicable <name/number of track or platform> for industries and stations that have identified active platforms, tracks or loading bays

Notes:

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.

Related Commands:

  • Drive To - does not seek alternative paths if blocked


Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Instructs the AI driver to Navigate, via the shortest available path, to the designated Trackmark. Switches ahead of the train that are not locked against the AI will be set to allow the train to proceed and reset after the train has cleared the switch. The AI driver will attempt to find a way around blockages when calculating the shortest path to the trackmark. All signals and speed signs are obeyed.

Command Properties:

  • <kuid:-3:10149>
  • Base Command
  • Minimum Trainz Build: 2.0 (TRS2004)

Command Settings:

Select <name of trackmark> from the session list

Notes:

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.

Related Commands:

Trainz Wiki Links:


Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Instructs the AI driver to Drive, via the shortest available path, to and through the designated Trackmark. If there are no further commands then the AI will halt after passing the trackmark. Switches ahead of the train that are not locked against the AI will be set to allow the train to proceed and reset after the train has cleared the switch. The AI driver will attempt to find a way around blockages when calculating the shortest path to the trackmark. All signals and speed signs are obeyed.

Command Properties:

  • <kuid:-3:10209>
  • Base Command
  • Minimum Trainz Build: 2.0 (TRS2004)

Command Settings:

Select <name of trackmark> from the session list

Notes:

  1. 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.
  2. 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.

Related Commands:

Trainz Wiki Links:


Top Next Up Next Down Bottom

Session Management Commands

Commands that manage the operation of the session or other driver commands

Copy Commands From

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Copies a driver schedule from a schedule library or another driver.

Command Properties:

  • <kuid2:192081:1:7>
  • Built-in Command by brummfondel
  • Minimum Trainz Build: 2.0 (TRS2004)

Command Settings:

Append - From Library - select a saved schedule from Schedule Library and add it to the end of the current schedule (if any)
Append - From Vehicle - select a vehicle, copy its driver commands and add them to the end of the current schedule (if any)
Insert - From Library - select a saved schedule from Schedule Library and insert it into the current schedule (if any)
Insert - From Vehicle - select a vehicle, copy its driver commands and insert them into the current schedule (if any)

Required Session Rules:

Rules that MUST be added to the Session for this Driver Command to operate


Delete Train

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Deletes the train from the session.

Command Properties:

  • <kuid2:116387:15:3>
  • Built-in Command by maggs
  • Minimum Trainz Build: 2.4 (TRS2004 SP4) (earlier builds are available)

Command Settings:

None


Insert Buff Label

Inserts a driver command as a label for a block of driver commands.

Command Properties:

  • <kuid:160293:101002>
  • DLS Command by trev999
  • Minimum Trainz Build: 2.9 (TS2009)

Command Settings:

Select <label number> - select the label number (1 to 10)

Notes:

Up to 10 labels can be inserted into each drivers command list

Related Commands:

  • 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.

Command Properties:

  • <kuid2:160293:101003:2>
  • DLS Command by trev999
  • Minimum Trainz Build: 2.9 (TS2009)

Command Settings:

Select <label number> - select the label number (1 to 20)

Notes:

A label (Insert Buff label driver command) with the matching label number must be added to the driver commands

Related 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 meets a set condition


Layer Control

Shows or hides a selected layer.

Command Properties:

  • <kuid:160293:101080>
  • DLS Command by trev999
  • Minimum Trainz Build: 2.9 (TS2009)

Command Settings:

Show <list of layers in route and session> - select a layer to make visible
Hide <list of layers in route and session> - select a layer to make invisible

Related Session Rules:

Examples of Use:


Move to Train

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Moves the driver with all their remaining driver commands to another train.

Command Properties:

  • <kuid2:71155:60004:2>
  • DLS Command by _mutton_
  • Minimum Trainz Build: 2.2 (TRS2004 SP2) (earlier builds are available)

Command Settings:

All trains <list of locomotives> - select a locomotive from the Session list

Notes:

  1. 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.
  2. If the new train does already have a driver then the command and any following commands will not be executed.

Trainz Wiki Links:


SetCustomHud (TRS19 SP4 and later)

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Sets a predefined HUD on the screen.

Command Properties:

  • <kuid2:61392:7006:38>
  • DLS Command by pguy
  • Minimum Trainz Build: 4.8 (TRS19 SP3) (earlier builds are available)

Command Settings:

<defHud> - select the default HUD
<altHud> - select the alternate HUD
<named Hud> - select from a number of user defined HUDs

Notes:

  1. the Quick CustomHud Manager Rule (SP2 and later) must be added to a session for a HUD to be selected by this command
  2. the default and alternate HUDs are preset but can be edited using the above rule
  3. additional user defined and named HUDs can be created with the Quick CustomHud Manager Rule (SP2 and later)

Required Session Rules:

Rules that MUST be added to the Session for this Driver Command to operate


Skip if Session-Variable

Jumps to the named command label if a selected session variable meets a set condition.

Command Properties:

  • <kuid2:160293:101014:3>
  • DLS Command by trev999
  • Minimum Trainz Build: 2.9 (TS2009)

Command Settings:

Select <label number if> - select the label number (1 to 20)
   <Variable Name> - from the InputTable Rule
      <condition> - from the InputTable Rule

Known Issues:

  • TANE Sessions containing driver commands that use variables may not work correctly when imported into TRS19 and Trainz Plus. The solution is to delete and then reinsert these commands in the imported Sessions

Notes:

  1. 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), test condition(s) and value(s).
  2. A label (Insert Buff Label driver command) with the matching label number must be added to the driver commands

Related Commands:

Required Session Rules:

Rules that MUST be added to the Session for this Driver Command to operate


Wait Until S-Variable V3

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 The AI driver will wait until the identified variable matches the condition specified before the next command will be executed

Command Properties:

  • <kuid2:160293:101006:3>
  • DLS Command by trev999
  • Minimum Trainz Build: 3.5 (TS12) (earlier builds are available)

Command Settings:

Select <Variable Name> - select the variable name from those entered in the InputTable Rule
   Select <Condition><Value> - select from those entered in the InputTable Rule

Known Issues:

  • TANE Sessions containing driver commands that use variables may not work correctly when imported into TRS19 and Trainz Plus. The solution is to delete and then reinsert these commands in the imported Sessions

Notes:

  • 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), test condition(s) and value(s).

Required Session Rules:

Rules that MUST be added to the Session for this Driver Command to operate


WaitUntilSVariable

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 The AI driver will wait until the identified variable matches the condition specified before the next command will be executed

Command Properties:

  • <kuid2:131986:1006:1>
  • DLS Command by atilabarut
  • Minimum Trainz Build: 2.5 (TRS2006)
  • Legacy Command has been replaced by Wait Until S-Variable V3

Command Settings:

Select <Variable Name><Condition><Value> - from the InputTable Rule

Known Issues:

  • TANE Sessions containing driver commands that use variables may not work correctly when imported into TRS19 and Trainz Plus. The solution is to delete and then reinsert these commands in the imported Sessions

Notes:

  • 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), test condition(s) and value(s).

Related Commands:

Required Session Rules:

Rules that MUST be added to the Session for this Driver Command to operate


Top Next Up   Bottom

Train Operation Commands

Commands that manage coupling, decoupling, short movement, turntable and horn/bell operations plus priority level changes

Bellz

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Rings the train bell.

Command Properties:

  • <kuid2:66277:80002:1>
  • Built-in Command by smileyman
  • Minimum Trainz Build: 2.0 (TRS2004)

Command Settings:

None

Notes:

the locomotive must be equipped with a working bell.

Related Commands:


Couple

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 The AI driver moves the train (or just the locomotive if it is by itself) to couple with the specified wagon.

Command Properties:

  • <kuid:-3:10081>
  • Base Command
  • Minimum Trainz Build: 2.0 (TRS2004)

Command Settings:

  <list of available wagons> - select a wagon to couple to
  

Notes:

  1. 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.
  2. There must be a clear path to the target wagon.

Related Commands:

  • Couple At Trackmark - couples to the wagon closest to a specified trackmark
  • 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


Couple At Trackmark

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 The AI driver moves the train (or just the locomotive if it is by itself) to couple with the wagon that is closest to a specified trackmark.

Command Properties:

  • <kuid:2:57145:81100:1>
  • DLS Command by marzipan
  • Minimum Trainz Build: 2.2 (TRS2004 SP2) (earlier builds are available)

Command Settings:

  <list of available trackmarks> - select a trackmark
  

Notes:

  1. The end wagon of the target consist must be within the effect radius of the trackmark. If there is no wagon within the radius then no coupling will take place.
  2. The train will couple to the wagon closest to the trackmark and that may mean navigating to the other end of the consist.
  3. There must be a clear path to the target wagon.

Related Commands:

  • 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
  • UncouplezFrom - decouples a consist at a specific place. Upto 20 wagons

Trainz Wiki Links:


Decouple

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 The train is decoupled at the specified wagon (does not work in Driver Setup Rule).

Command Properties:

  • <kuid:-3:10082>
  • Base Command
  • Minimum Trainz Build: 2.0 (TRS2004)

Command Settings:

  <list of available wagons> - select a wagon to decouple from

Known Issues:

  • This command does not work when added to a driver's command list in the Driver Setup Rule in Surveyor but it does work when manually added to the driver's command list in Driver

Notes:

  1. If programming a driver via the Driver Setup Rule, use the alternative commands Decouple DLX, Decouple Number #, Uncouplez or UncouplezFrom
  2. 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.

Related Commands:

  • Couple - couples wagons in a consist
  • Couple At Trackmark - couples to the wagon closest to a specified trackmark
  • 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

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 The train is decoupled at the specified wagon identified by name or number (upto 99 wagons), or at a random location.

Command Properties:

  • <kuid2:160293:100120:2>
  • DLS Command by trev999

Command Settings:

   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

Notes:

This decoupling command works in the Driver Setup Rule in Surveyor because it identifies wagons by their position in the consist (e.g. "7") and not by their given name.

Related Commands:

  • Couple - couples wagons in a consist
  • Couple At Trackmark - couples to the wagon closest to a specified trackmark
  • 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

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 The train is decoupled to leave the selected number (N) of wagons left in the consist.

Command Properties:

  • <kuid2:46162:70002:12>
  • DLS Command by josefpav
  • Minimum Trainz Build: 3.7 (TS12 SP1)

Command Settings:

  <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.

Notes:

  • This decoupling command works in the Driver Setup Rule in Surveyor because it identifies wagons by their position in the consist (e.g. "7") and not by their given name.
  • Allows for a maximum of 75 wagons.

Related Commands:

  • Couple - couples wagons in a consist
  • Couple At Trackmark - couples to the wagon closest to a specified trackmark
  • 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 #

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 The specified wagon number (#) and any following wagons will be uncoupled from the locomotive and consist.

Command Properties:

  • <kuid2:147570:80008:1>
  • Built-in Command by erniesouchak
  • Minimum Trainz Build: 2.4 (TRS2004 SP4)

Command Settings:

  <number> - select a wagon number (1-40) to decouple from.

Notes:

  • The first locomotive is #1, the second locomotive (if any) or the tender (on a steam locomotive) is #2, etc upto #40.
  • This decoupling command works in the Driver Setup Rule in Surveyor because it identifies wagons by their position in the consist (e.g. "7") and not by their given name.

Related Commands:

  • Couple - couples wagons in a consist
  • Couple At Trackmark - couples to the wagon closest to a specified trackmark
  • 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


Guards Whistle Near

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 The guard's whistle is sounded as a nearby sound

Command Properties:

  • <kuid2:56603:100062:1>
  • DLS Command by footplatephil
  • Minimum Trainz Build: 4.5 (TANE SP2)

Command Settings:

  None

Related Commands:

  • Bellz - rings the locomotive bell (if it has one)
  • Hornz - gives one blast of the locos horn or whistle
  • HornzExtended - gives a specified number of loco horn blasts


Hornz

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Gives one blast of the train horn or whistle.

Command Properties:

  • <kuid2:66277:80001:2>
  • Built-in Command by smileyman
  • Minimum Trainz Build: 2.0 (TRS2004)

Command Settings:

None

Related Commands:


HornzExtended

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Gives a specified number of blasts of the train horn or whistle.

Command Properties:

  • <kuid:478639:100034>
  • DLS Command by ffccnn
  • Minimum Trainz Build: 3.4 (TS2010 SP4)

Command Settings:

 Select one of:-  <Play once>
                  <Play twice>
                  ... up to ...
                  <Play 10 times>

Notes:

When the command is executed, the AI will immediately move onto the next command in the sequence and will blast the horn during the execution of the following driver commands until the set count has been reached

Related Commands:

  • Bellz - rings the locomotive bell (if it has one)
  • Guards Whistle Near - blows the guards whistle
  • Hornz - gives one blast of the locos horn or whistle


Move Turntable - command

Moves the specified turntable a set number of track positions.

Command Properties:

  • <kuid:458053:108204>
  • DLS Command by vincentrh
  • Minimum Trainz Build: 4.6 (TRS19)

Command Settings:

  <name of turntable> - select the named turntable
  <steps to move> <0, 1, 2, ...> - select the relative movement (1 track, 2 tracks, etc) from the current track position

Notes:

This command does NOT need the InputTable Rule to be installed in the session

Related Commands:

  • MoveTurntable - Moves the specified turntable to the specified track position


MoveTurntable

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Moves the specified turntable to the specified track position.

Command Properties:

  • <kuid2:609850:100018:1>
  • Built-in Command by vandragonax
  • Minimum Trainz Build: 2.9 (TS2009) (older versions are available)

Command Settings:

  <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)

Notes:

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.

Required Session Rules:

Rules that MUST be added to the Session for this Driver Command to operate

Related Commands:


Passenger Door Control

Opens/closes passenger doors of trains. Passenger cars must have doors that can be opened.

Command Properties:

  • <kuid:57344:1015>
  • DLS Command by Marinus
  • Minimum Trainz Build: 2.4 (TRS2004 SP4)

Command Settings:

 Select one of:- 
<Open>
<Close>
 Then for each select one of:-
<Left>
<Right>
<Both Sides>

Notes:

  • Use the command to open the doors, followed by a Wait command, then use the command again to close the doors.


Priorityz

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Sets the train priority value.

Command Properties:

  • <kuid2:66277:80003:1>
  • Built-in Command by smileyman
  • Minimum Trainz Build: 2.0 (TRS2004)

Command Settings:

<value> - select train priority value 1, 2 or 3

Notes:

  • The Priority value identifies which Track Priority Markers the train should follow when under AI control.
  • Trains can be assigned different values to indicate their function. For example:-
  • Priority 1 = Express trains
  • Priority 2 = Local Expresses or Fast Freights (2 is the default value for all trains)
  • Priority 3 = Slow Local Freights or All Stops Services

Trainz Wiki Links:


Run Around

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Uncouples the locomotive (plus tender if present) from the train, navigates to the other end of the train and couples to the last wagon.

Command Properties:

  • <kuid:-3:10083>
  • Base Command
  • Minimum Trainz Build: 2.0 (TRS2004)

Command Settings:

None

Notes:

  1. There must be a path for the locomotive to follow from one end of the train to the other.
  2. The locomotive must have sufficient clear space, free of track switches and signals, at both ends of the train to perform this movement.

Related Commands:

  • Run Around Ex - performs the run around only if there is no loco already in position at the other end


Run Around Ex

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Uncouples the locomotive(s) (plus tender if present) from the train, navigates to the other end of the train and couples to the last wagon but ONLY if the other end of the train does not already have a locomotive in place.

Command Properties:

  • <kuid2:117667:83:3>
  • DLS Command by nicroman
  • Minimum Trainz Build: 2.2 (TRS2004 SP2) (earlier builds are available)

Command Settings:

None

Notes:

  1. There must be a path for the locomotive to follow from one end of the train to the other.
  2. The locomotive must have sufficient clear space, free of track switches and signals, at both ends of the train to perform this movement.
  3. There must be no locomotive already coupled to the destination end of the train.

Related Commands:

  • Run Around - unconditionally performs the run around


TRC: Close the crossing - command

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Forces the grade crossing directly in front of or behind the train to close and prevents a crossing that is already closed from opening. Used with the TRC system of grade crossings

Command Properties:

  • <kuid2:458053:101227:1>
  • DLS Command by vincentrh
  • Minimum Trainz Build: 4.3 (T:ANE SP1)

Command Settings:

 Select one of two menu options:-  
    The crossing is
          <in front of the train>
          <behind the train>

Notes:

There must be a TRC grade crossing immediately in front of or behind the train

Related Commands:

External Links:


TRC: Open the crossing - command

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Forces the grade crossing directly in front of or behind the train to open and prevents a crossing that is already open from closing. Used with the TRC system of grade crossings

Command Properties:

  • <kuid:458053:101249>
  • DLS Command by vincentrh
  • Minimum Trainz Build: 4.3 (T:ANE SP1)

Command Settings:

 Select one of two menu options:-  
    The crossing is
          <in front of the train>
          <behind the train>

Notes:

There must be a TRC grade crossing immediately in front of or behind the train

Related Commands:

External Links:


Uncouplez

Uncouples the locomotive (plus tender if present) from the train.

Command Properties:

  • <kuid2:66277:80000:1>
  • Built-in Command by smileyman
  • Minimum Trainz Build: 2.0 (TRS2004)

Command Settings:

None

Related Commands:

  • Couple - couples wagons in a consist
  • Couple At Trackmark - couples to the wagon closest to a specified trackmark
  • 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. Works on a maximum of 20 wagons only.

Command Properties:

  • <kuid2:66277:80005:2>
  • Built-in Command by smileyman
  • Minimum Trainz Build: 2.0 (TRS2004)

Command Settings:

  <number> - select a wagon number (0-20) to decouple from.

Notes:

  • The first wagon after the locomotive (or the locomotive and tender) is #0, the second wagon is #1, etc upto #20.
  • This decoupling command works in the Driver Setup Rule in Surveyor because it identifies wagons by their position in the consist (e.g. "7") and not by their given name.

Related Commands:

  • Couple - couples wagons in a consist
  • Couple At Trackmark - couples to the wagon closest to a specified trackmark
  • 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


Top Next Up    


Trainz Wiki

More Tutorials and Guides to Using Trainz


This page was created by Trainz user pware in November 2018 and was last updated as shown below.