How to Use Navigation Point Rules (Applications)
From TrainzOnline
(Difference between revisions)
m |
|||
Line 374: | Line 374: | ||
</table> | </table> | ||
+ | <table width=1000 cellpadding=2 bgcolor=#ffffff> | ||
+ | <tr valign="top"> | ||
+ | <td width=60 rowspan=4>[[image:conditions.PNG|link=]]</td> | ||
+ | <td colspan=2><span style="font-size: 17px;">'''Preconditions:'''</span></td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <!-- <td> </td> --> | ||
+ | <td> | ||
+ | <table> | ||
+ | <tr valign="top"> | ||
+ | <td width=10>[[image:DotPoint.JPG|10px|link=]]</td> | ||
+ | <td>'''The [[Session_Rule_List_with_Parameters#Navigation_Display_Rule|Navigation Display Rule]]''' is used to create the navigation point sets | ||
<table width=1000> | <table width=1000> | ||
<tr valign="top"> | <tr valign="top"> | ||
Line 380: | Line 392: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td width=10>[[image:BlueDot10x10.png|link=]]</td> | <td width=10>[[image:BlueDot10x10.png|link=]]</td> | ||
− | <td>'''Set A:''' at the junction, Point '''A''' in the map diagram. The two signals are set to STOP, '''Switch 2''' is locked in position and the user is presented with a choice of using the Main Line or the Loop Line</td> | + | <td>'''Set A:''' at the junction, Point '''A''', in the map diagram. The two signals are set to STOP, '''Switch 2''' is locked in position and the user is presented with a choice of using the Main Line or the Loop Line</td> |
</tr> | </tr> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[image:BlueDot10x10.png|link=]]</td> | <td>[[image:BlueDot10x10.png|link=]]</td> | ||
− | <td>'''Set B:''' | + | <td>'''Set B:''' Point '''B''' on the Main Line in the map diagram. '''Switch 2''' is set to the Loop Line and the AI train is given its instructions to pass on the Loop</td> |
</tr> | </tr> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[image:BlueDot10x10.png|link=]]</td> | <td>[[image:BlueDot10x10.png|link=]]</td> | ||
− | <td>'''Set C:''' | + | <td>'''Set C:''' Point '''C''' on the Loop Line in the map diagram. '''Switch 2''' is set to the Main Line and the AI train is given its instructions to pass on the Main</td> |
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
</tr> | </tr> | ||
</table> | </table> |
Latest revision as of 11:07, 4 October 2023
The information in this Wiki Page applies to TANE, TRS19, Trainz Plus and TRS22. It gives examples of how to use the various Navigation Point Rules in Sessions. |
|
|
[edit] |
The Scenario: | |
A user decides to ignore navigation points at a location and drives straight through. When the consist passes over a trigger the unused navigation point sets are removed |
Preconditions: | ||
|
Rules Used: | ||||||
|
Session Editor Screenshot: | |
Description: | |
Line 1 : Trigger Check the event is triggered by the consist leaving the location with the navigation points. This executes the following lines:-
|
[edit] Application 2: Checking for Incomplete Sets |
The Scenario: | |
A check is made to see if all the navigation points in a navigation set have been completed. If not then the set will be manually completed and a message displayed |
Preconditions: | ||
|
Rules Used: | ||||||||||
|
Session Editor Screenshot: | |
Description: | |
Line 1 : Trigger Check the event is triggered by the consist leaving the location with the navigation points. This executes the following lines:-
|
[edit] Application 3: Wait for Loading to be Completed |
The Scenario: | |
A user controlled train arrives at a Navigation Point positioned at a coal loader. Coal loading proceeds. The Navigation Point remains in place until the last wagon is loaded |
Preconditions: | ||||
|
Rules Used: | ||||||||||||
|
Session Editor Screenshot: | |
Description: | |
Line 1 : Trigger Check the event is triggered by the arrival of the consist at the coal loader (the Navigation Point). This executes the following lines:-
|
[edit] Application 4: User Path Selection |
The Scenario: | |
A user controlled train stops at a navigation point in front of a junction and the driver is offered a choice of paths to allow a passing movement by an AI controlled train. Each path is indicated by different sets of navigation points. The path selected will determine other operations such as junction settings and AI train commands |
Preconditions: | ||||||||||
|
Rules Used: |
Navigation Display Rule creates the navigation point sets (in Preconditions above) | |
Navigation Set Hide/Show Rule to hide and display the navigation point sets | |
Wait on Navigation Point Rule to trigger the message event | |
Navigation Set Clear Rule to manually terminate a navigation point set | |
Message Popup Rule to open a message window on the screen | |
Set Junctions Rule to set and lock junctions | |
Set Signal Extended Rule to set signals | |
Wait Rule to introduce a short delay | |
Driver Schedule Rule to give commands to the AI controlled train |
Session Editor Screenshot: |
[edit] |
|
Navigation Point Set A is shown below. Sets B and C are similar. |
[edit] |
Description: | |
Line 1 : Wait on Navigation Point The event is triggered when the consist reaches (and stops at) Navigation Point 1 in Set A. When triggered, this simultaneously executes the following lines:-
|
[edit] |
Description: | |
Line 1 : Wait on Navigation Point The event is triggered when the consist reaches (and stops at) Navigation Point 1 in Set B. When triggered, this simultaneously executes the following lines:-
|
[edit] |
Description: | |
Line 1 : Wait on Navigation Point The event is triggered when the consist reaches (and stops at) Navigation Point 1 in Set C. When triggered, this simultaneously executes the following lines:-
|
[edit] Trainz Wiki
More Tutorials and Guides to Using Trainz |
This page was created by Trainz user pware in May 2018 and was last updated as shown below.