How to Use Navigation Point Rules (Applications)

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(Creating the Navigation Point Sets)
m
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
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.
+
<table width=1000> <!-- BEGIN Nav Buttons Table NO SKIPS -->
 +
<tr valign="top">
 +
<td width=629>&#160;</td>
 +
<td width=50>&#160;</td> <!-- Skip Down -->
 +
<td width=50>&#160;</td> <!-- Skip Up -->
 +
<td width=46>&#160;</td>
 +
<td width=75>&#160;</td>
 +
<td width=75>[[image:NextDown.png|link=#stepUnused|alt=Next Down|Next Down]]</td>
 +
<td width=75>[[image:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
 +
</tr>
 +
</table> <!-- END Nav Buttons Table -->
 +
 
 +
<table width=1000>
 +
<tr valign="top">
 +
<td>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.</td>
 +
</tr>
 +
</table>
  
 
<table>
 
<table>
Line 20: Line 36:
 
</table>
 
</table>
 
<br>
 
<br>
<table> <!-- BEGIN Nav Buttons Table -->
+
<table width=1000> <!-- BEGIN Nav Buttons Table NO SKIPS -->
 
<tr valign="top">
 
<tr valign="top">
<td width=729><span id="stepUnused"></span>&nbsp;</td>
+
<td width=629><span id="stepUnused"></span>
<td width=46>[[file:BackToTop.png|link=#top|alt=Top|Top]]</td>
+
='''Application 1: Clearing Unused Navigation Sets'''=
 +
</td>
 +
<td width=50>&#160;</td> <!-- Skip Down -->
 +
<td width=50>&#160;</td> <!-- Skip Up -->
 +
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td>
 
<td width=75>&nbsp;</td>
 
<td width=75>&nbsp;</td>
 
<td width=75>[[file:NextDown.png|link=#stepIncomplete|alt=Next Down|Next Down]]</td>
 
<td width=75>[[file:NextDown.png|link=#stepIncomplete|alt=Next Down|Next Down]]</td>
<td width=75>[[file:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
+
<td width=75>[[image:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
 
</tr>
 
</tr>
 
</table> <!-- END Nav Buttons Table -->
 
</table> <!-- END Nav Buttons Table -->
  
='''Application 1: Clearing Unused Navigation Sets'''=
+
<table width=1000 cellpadding=2 bgcolor=#ffffff>
 
+
<table cellpadding=4 bgcolor=#ffffff>
+
 
<tr valign="top">
 
<tr valign="top">
<td width="58">[[file:magnifier.png|link=]]</td>
+
<td width=60 rowspan=4>[[image:magnifier.png|link=]]</td>
<td width="640"><span style="font-size: 17px;">'''The Scenario:'''</span><br>
+
<td><span style="font-weight: 700; font-size: 17px;">The Scenario:</span></td>
----</td>
+
 
</tr>
 
</tr>
</table>
 
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.
 
<br><br>
 
<table cellpadding=4 bgcolor=#ffffff>
 
 
<tr valign="top">
 
<tr valign="top">
<td width="58">[[file:conditions.PNG|link=]]</td>
+
<!-- <td>&#160;</td> -->
<td width="640"><span style="font-size: 17px;">'''Preconditions:'''</span><br>
+
<td>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</td>
----</td>
+
 
</tr>
 
</tr>
 
</table>
 
</table>
 +
<br>
 +
<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>&#160;</td> -->
 +
<td>
 
<table>
 
<table>
 
<tr valign="top">
 
<tr valign="top">
 
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
 
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
 
<td>'''[[Session_Rule_List_with_Parameters#Navigation_Display_Rule|Navigation Display Rule]]''' creates the navigation point sets</td>
 
<td>'''[[Session_Rule_List_with_Parameters#Navigation_Display_Rule|Navigation Display Rule]]''' creates the navigation point sets</td>
 +
</tr>
 +
</table>
 +
</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
 
<br>
 
<br>
<table cellpadding=4 bgcolor=#ffffff>
+
<table width=1000 cellpadding=2 bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
<td width="58">[[file:RulesWiki.PNG|link=]]</td>
+
<td width=60 rowspan=2>[[image:RulesWiki.PNG|link=]]</td>
<td width="640"><span style="font-size: 17px;">'''Rules Used:'''</span><br>
+
<td><span style="font-size: 17px;">'''Rules Used:'''</span></td>
----</td>
+
 
</tr>
 
</tr>
</table>
+
<tr valign="top">
 +
<!-- <td>&#160;</td> -->
 +
<td>
 
<table>
 
<table>
 
<tr valign="top">
 
<tr valign="top">
 
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
 
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
 +
<td>'''[[Session_Rule_List_with_Parameters#Navigation_Display_Rule|Navigation Display Rule]]''' creates the navigation point sets (in '''Preconditions''' above)</td>
 +
</tr>
 +
<tr valign="top">
 +
<td>[[image:DotPoint.JPG|10px|link=]]</td>
 
<td>'''[[Session_Rule_List_with_Parameters#Trigger_Check_Rule|Trigger Check Rule]]''' to trigger the event</td>
 
<td>'''[[Session_Rule_List_with_Parameters#Trigger_Check_Rule|Trigger Check Rule]]''' to trigger the event</td>
 
</tr>
 
</tr>
Line 70: Line 99:
 
<td>[[image:DotPoint.JPG|10px|link=]]</td>
 
<td>[[image:DotPoint.JPG|10px|link=]]</td>
 
<td>'''[[Session_Rule_List_with_Parameters#Navigation_Set_Clear_Rule|Navigation Set Clear Rule]]''' to manually complete navigation sets</td>
 
<td>'''[[Session_Rule_List_with_Parameters#Navigation_Set_Clear_Rule|Navigation Set Clear Rule]]''' to manually complete navigation sets</td>
 +
</tr>
 +
</table>
 +
</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
 
<br>
 
<br>
<table cellpadding=4 bgcolor=#ffffff>
+
<table width=1000 cellpadding=2 bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
<td width="58">[[file:screenshot.PNG|link=]]</td>
+
<td width=60 rowspan=2>[[image:screenshot.PNG|link=]]</td>
<td width="640"><span style="font-size: 17px;">'''Session Editor Screenshot:'''</span><br>
+
<td><span style="font-size: 17px;">'''Session Editor Screenshot:'''</span></td>
----</td>
+
 
</tr>
 
</tr>
</table>
+
<tr valign="top">
<table>
+
<!-- <td>&#160;</td> -->
<tr>
+
 
<td>[[file:NavClearSets.JPG|link=]]</td>
 
<td>[[file:NavClearSets.JPG|link=]]</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
 
<br>
 
<br>
<table cellpadding=4 bgcolor=#ffffff>
+
<table width=1000 cellpadding=2 bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
<td width="58">[[file:explanation.PNG|link=]]</td>
+
<td width=60 rowspan=3>[[image:explanation.PNG|link=]]</td>
<td width="640"><span style="font-size: 17px;">'''Description:'''</span><br>
+
<td><span style="font-size: 17px;">'''Description:'''</span></td>
----</td>
+
 
</tr>
 
</tr>
</table>
 
 
<table>
 
 
<tr valign="top">
 
<tr valign="top">
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
+
<!-- <td>&#160;</td> -->
<td>'''Line 1: Trigger Check''' the event is triggered by the consist leaving the location with the navigation points
+
<td>'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;1&#160;</span>''': Trigger Check''' the event is triggered by the consist leaving the location with the navigation points. This executes the following lines:-
<table>
+
:'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;2&#160;</span>''': Navigation Set Clear''' a navigation set is manually completed and any visible icons are removed. This can be performed on any sets that have already been completely or partially completed
<tr valign="top">
+
:'''Lines''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;3&#160;</span> and <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;4&#160;</span> repeat the step in '''Line 2''' for the other navigation sets</td>
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
+
<td>'''Line 2: Navigation Set Clear''' a navigation set is manually completed and any visible icons are removed. This can be performed on any sets that have already been completely or partially completed</td>
+
 
</tr>
 
</tr>
 
</table>
 
</table>
Lines 3 and 4 repeat the process for any other navigation sets</td>
+
<br>
</tr>
+
<table width=1000> <!-- BEGIN Nav Buttons Table NO SKIPS -->
</table>
+
 
+
<table> <!-- BEGIN Nav Buttons Table -->
+
 
<tr valign="top">
 
<tr valign="top">
<td width=729><span id="stepIncomplete"></span>&nbsp;</td>
+
<td width=629><span id="stepIncomplete"></span>
<td width=46>[[file:BackToTop.png|link=#top|alt=Top|Top]]</td>
+
='''Application 2: Checking for Incomplete Sets'''=
 +
</td>
 +
<td width=50>&#160;</td> <!-- Skip Down -->
 +
<td width=50>&#160;</td> <!-- Skip Up -->
 +
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td>
 
<td width=75>[[file:NextUp.png|link=#stepUnused|alt=Next Up|Top]]</td>
 
<td width=75>[[file:NextUp.png|link=#stepUnused|alt=Next Up|Top]]</td>
 
<td width=75>[[file:NextDown.png|link=#stepWait|alt=Next Down|Next Down]]</td>
 
<td width=75>[[file:NextDown.png|link=#stepWait|alt=Next Down|Next Down]]</td>
Line 118: Line 143:
 
</table> <!-- END Nav Buttons Table -->
 
</table> <!-- END Nav Buttons Table -->
  
='''Application 2: Checking for Incomplete Navigation Sets'''=
+
<table width=1000 cellpadding=2 bgcolor=#ffffff>
 
+
<table cellpadding=4 bgcolor=#ffffff>
+
 
<tr valign="top">
 
<tr valign="top">
<td width="58">[[file:magnifier.png|link=]]</td>
+
<td width=60 rowspan=4>[[image:magnifier.png|link=]]</td>
<td width="640"><span style="font-size: 17px;">'''The Scenario:'''</span><br>
+
<td><span style="font-weight: 700; font-size: 17px;">The Scenario:</span></td>
----</td>
+
</tr>
 +
<tr valign="top">
 +
<!-- <td>&#160;</td> -->
 +
<td>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</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
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.
+
<br>
<br><br>
+
<table width=1000 cellpadding=2 bgcolor=#ffffff>
<table cellpadding=4 bgcolor=#ffffff>
+
 
<tr valign="top">
 
<tr valign="top">
<td width="58">[[file:conditions.PNG|link=]]</td>
+
<td width=60 rowspan=4>[[image:conditions.PNG|link=]]</td>
<td width="640"><span style="font-size: 17px;">'''Preconditions:'''</span><br>
+
<td colspan=2><span style="font-size: 17px;">'''Preconditions:'''</span></td>
----</td>
+
 
</tr>
 
</tr>
</table>
+
<tr valign="top">
 
+
<!-- <td>&#160;</td> -->
 +
<td>
 
<table>
 
<table>
 
<tr valign="top">
 
<tr valign="top">
 
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
 
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
 
<td>'''[[Session_Rule_List_with_Parameters#Navigation_Display_Rule|Navigation Display Rule]]''' creates the navigation point sets</td>
 
<td>'''[[Session_Rule_List_with_Parameters#Navigation_Display_Rule|Navigation Display Rule]]''' creates the navigation point sets</td>
 +
</tr>
 +
</table>
 +
</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
 
<br>
 
<br>
<table cellpadding=4 bgcolor=#ffffff>
+
<table width=1000 cellpadding=2 bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
<td width="58">[[file:RulesWiki.PNG|link=]]</td>
+
<td width=60 rowspan=2>[[image:RulesWiki.PNG|link=]]</td>
<td width="640"><span style="font-size: 17px;">'''Rules Used:'''</span><br>
+
<td><span style="font-size: 17px;">'''Rules Used:'''</span></td>
----</td>
+
 
</tr>
 
</tr>
</table>
+
<tr valign="top">
 
+
<!-- <td>&#160;</td> -->
 +
<td>
 
<table>
 
<table>
 
<tr valign="top">
 
<tr valign="top">
 
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
 
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
 +
<td>'''[[Session_Rule_List_with_Parameters#Navigation_Display_Rule|Navigation Display Rule]]''' creates the navigation point sets (in '''Preconditions''' above)</td>
 +
</tr>
 +
<tr valign="top">
 +
<td>[[image:DotPoint.JPG|10px|link=]]</td>
 
<td>'''[[Session_Rule_List_with_Parameters#Trigger_Check_Rule|Trigger Check Rule]]''' to trigger the event</td>
 
<td>'''[[Session_Rule_List_with_Parameters#Trigger_Check_Rule|Trigger Check Rule]]''' to trigger the event</td>
 
</tr>
 
</tr>
Line 168: Line 200:
 
<td>[[image:DotPoint.JPG|10px|link=]]</td>
 
<td>[[image:DotPoint.JPG|10px|link=]]</td>
 
<td>'''[[Session_Rule_List_with_Parameters#Message_Popup_Rule|Message Popup Rule]]''' to open a message window on the screen</td>
 
<td>'''[[Session_Rule_List_with_Parameters#Message_Popup_Rule|Message Popup Rule]]''' to open a message window on the screen</td>
 +
</tr>
 +
</table>
 +
</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
 
<br>
 
<br>
<table cellpadding=4 bgcolor=#ffffff>
+
<table width=1000 cellpadding=2 bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
<td width="58">[[file:screenshot.PNG|link=]]</td>
+
<td width=60 rowspan=2>[[image:screenshot.PNG|link=]]</td>
<td width="640"><span style="font-size: 17px;">'''Session Editor Screenshot:'''</span><br>
+
<td><span style="font-size: 17px;">'''Session Editor Screenshot:'''</span></td>
----</td>
+
 
</tr>
 
</tr>
</table>
+
<tr valign="top">
<table>
+
<!-- <td>&#160;</td> -->
<tr>
+
 
<td>[[file:NavSetCheck.JPG|link=]]</td>
 
<td>[[file:NavSetCheck.JPG|link=]]</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
 
<br>
 
<br>
<table cellpadding=4 bgcolor=#ffffff>
+
<table width=1000 cellpadding=2 bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
<td width="58">[[file:explanation.PNG|link=]]</td>
+
<td width=60 rowspan=3>[[image:explanation.PNG|link=]]</td>
<td width="640"><span style="font-size: 17px;">'''Description:'''</span><br>
+
<td><span style="font-size: 17px;">'''Description:'''</span></td>
----</td>
+
 
</tr>
 
</tr>
</table>
 
 
<table>
 
 
<tr valign="top">
 
<tr valign="top">
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
+
<!-- <td>&#160;</td> -->
<td>'''Line 1: Trigger Check''' the event is triggered by the consist leaving the location with the navigation points
+
<td>'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;1&#160;</span>''': Trigger Check''' the event is triggered by the consist leaving the location with the navigation points. This executes the following lines:-
<table>
+
:'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;2&#160;</span>''': Navigation Set Check''' the identified navigation set is checked to see if all its points have been completed. If '''NOT''' then the following lines will be executed simultaneously:-
<tr valign="top">
+
::'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;3&#160;</span>''': Navigation Set Clear''' the navigation set is cleared so all of its navigation points will be cleared (completed)
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
+
::'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;4&#160;</span>''': Message Popup Rule''' a suitable message is displayed on the screen</td>
<td>'''Line 2: Navigation Set Check''' the identified navigation set is checked to see if all its points have been completed. If not then the following lines will be executed simultaneously:-
+
<table>
+
<tr valign="top">
+
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
+
<td>'''Line 3: Navigation Set Clear''' the navigation set is cleared so all of its navigation points will be cleared (completed)</td>
+
 
</tr>
 
</tr>
 +
</table>
 +
<br>
 +
<table width=1000> <!-- BEGIN Nav Buttons Table NO SKIPS -->
 
<tr valign="top">
 
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
+
<td width=629><span id="stepWait"></span>
<td>'''Line 4: Message Popup Rule''' a suitable message is displayed on the screen</td>
+
='''Application 3: Wait for Loading to be Completed'''=
</tr>
+
</table>
+
 
</td>
 
</td>
</tr>
+
<td width=50>&#160;</td> <!-- Skip Down -->
</table>
+
<td width=50>&#160;</td> <!-- Skip Up -->
</td>
+
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td>
</tr>
+
</table>
+
 
+
<table> <!-- BEGIN Nav Buttons Table -->
+
<tr valign="top">
+
<td width=729><span id="stepWait"></span>&nbsp;</td>
+
<td width=46>[[file:BackToTop.png|link=#top|alt=Top|Top]]</td>
+
 
<td width=75>[[file:NextUp.png|link=#stepIncomplete|alt=Next Up|Top]]</td>
 
<td width=75>[[file:NextUp.png|link=#stepIncomplete|alt=Next Up|Top]]</td>
 
<td width=75>[[file:NextDown.png|link=#stepPath|alt=Next Down|Next Down]]</td>
 
<td width=75>[[file:NextDown.png|link=#stepPath|alt=Next Down|Next Down]]</td>
Line 227: Line 245:
 
</table> <!-- END Nav Buttons Table -->
 
</table> <!-- END Nav Buttons Table -->
  
='''Application 3: Wait for Loading to be Completed'''=
+
<table width=1000 cellpadding=2 bgcolor=#ffffff>
 
+
<table cellpadding=4 bgcolor=#ffffff>
+
 
<tr valign="top">
 
<tr valign="top">
<td width="58">[[file:magnifier.png|link=]]</td>
+
<td width=60 rowspan=4>[[image:magnifier.png|link=]]</td>
<td width="640"><span style="font-size: 17px;">'''The Scenario:'''</span><br>
+
<td><span style="font-weight: 700; font-size: 17px;">The Scenario:</span></td>
----</td>
+
</tr>
 +
<tr valign="top">
 +
<!-- <td>&#160;</td> -->
 +
<td>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</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
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.
+
<br>
<br><br>
+
<table width=1000 cellpadding=2 bgcolor=#ffffff>
<table cellpadding=4 bgcolor=#ffffff>
+
 
<tr valign="top">
 
<tr valign="top">
<td width="58">[[file:conditions.PNG|link=]]</td>
+
<td width=60 rowspan=4>[[image:conditions.PNG|link=]]</td>
<td width="640"><span style="font-size: 17px;">'''Preconditions:'''</span><br>
+
<td colspan=2><span style="font-size: 17px;">'''Preconditions:'''</span></td>
----</td>
+
 
</tr>
 
</tr>
</table>
+
<tr valign="top">
 +
<!-- <td>&#160;</td> -->
 +
<td>
 
<table>
 
<table>
 
<tr valign="top">
 
<tr valign="top">
Line 250: Line 269:
 
<td>'''[[Session_Rule_List_with_Parameters#Navigation_Display_Rule|Navigation Display Rule]]''' creates the navigation point set. The Navigation Point is created with its ''Style'' set to '''manual''' which means it will be completed by another rule and not the arrival of the consist</td>
 
<td>'''[[Session_Rule_List_with_Parameters#Navigation_Display_Rule|Navigation Display Rule]]''' creates the navigation point set. The Navigation Point is created with its ''Style'' set to '''manual''' which means it will be completed by another rule and not the arrival of the consist</td>
 
</tr>
 
</tr>
</table>
+
<tr valign="top">
 
+
<td colspan=2>[[file:NavManualSet.JPG|link=]]</td>
<table>
+
<tr>
+
<td>[[file:NavManualSet.JPG|link=]]</td>
+
 
</tr>
 
</tr>
 
</table>
 
</table>
 
+
</td>
The '''Multiple Resouce Check Rule''' is configured to watch the load of coal in the last wagon of the consist exceeding a set value that is close to the maximum for that wagon (apologies for the colour scheme).
+
 
+
<table>
+
<tr>
+
<td>[[file:MultResCheck.JPG|link=]]</td>
+
 
</tr>
 
</tr>
 
</table>
 
</table>
 
<br>
 
<br>
<table cellpadding=4 bgcolor=#ffffff>
+
<table width=1000 cellpadding=2 bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
<td width="58">[[file:RulesWiki.PNG|link=]]</td>
+
<td width=60 rowspan=2>[[image:RulesWiki.PNG|link=]]</td>
<td width="640"><span style="font-size: 17px;">'''Rules Used:'''</span><br>
+
<td><span style="font-size: 17px;">'''Rules Used:'''</span></td>
----</td>
+
 
</tr>
 
</tr>
</table>
+
<tr valign="top">
 
+
<!-- <td>&#160;</td> -->
 +
<td>
 
<table>
 
<table>
 
<tr valign="top">
 
<tr valign="top">
 
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
 
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
 +
<td>'''[[Session_Rule_List_with_Parameters#Navigation_Display_Rule|Navigation Display Rule]]''' creates the navigation point sets (in '''Preconditions''' above)</td>
 +
</tr>
 +
<tr valign="top">
 +
<td>[[image:DotPoint.JPG|10px|link=]]</td>
 
<td>'''[[Session_Rule_List_with_Parameters#Trigger_Check_Rule|Trigger Check Rule]]''' to trigger the message event</td>
 
<td>'''[[Session_Rule_List_with_Parameters#Trigger_Check_Rule|Trigger Check Rule]]''' to trigger the message event</td>
 
</tr>
 
</tr>
 
<tr valign="top">
 
<tr valign="top">
 
<td>[[image:DotPoint.JPG|10px|link=]]</td>
 
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>'''[[Session_Rule_List_with_Parameters#Multiple_Resource_Check_Rule|Multiple Resource Check Rule]]''' to monitor the load level in the last wagon</td>
+
<td>'''[[Session_Rule_List_with_Parameters#Multiple_Resource_Check_Rule|Multiple Resource Check Rule]]''' to monitor the load level in the last wagon
 +
<table>
 +
<tr valign="top">
 +
<td>[[file:MultResCheck.JPG|link=]]</td>
 +
<td>The '''Multiple Resouce Check Rule''' is configured to watch the load of coal in the last wagon of the consist exceeding a set value that is close to the maximum for that wagon (apologies for the colour scheme)</td>
 +
</tr>
 +
</table>
 +
</td>
 
</tr>
 
</tr>
 
<tr valign="top">
 
<tr valign="top">
Line 292: Line 314:
 
</tr>
 
</tr>
 
</table>
 
</table>
 
+
The more obvious '''Wait on Navigation Point Rule''' is not used because the Navigation Point will be completed manually some time after the consist has arrived at the location. By using the '''Trigger Check Rule''' instead (the Navigation Point is attached to a trigger), the navigation icon remains on the screen until the loading has been completed and then it will be manually cleared.</td>
The more obvious '''Wait on Navigation Point Rule''' is not used because the Navigation Point will be completed manually some time after the consist has arrived at the location. By using the '''Trigger Check Rule''' instead (the Navigation Point is attached to a trigger), the navigation icon remains on the screen until the loading has been completed and then it will be manually cleared.
+
</tr>
<br><br>
+
</table>
<table cellpadding=4 bgcolor=#ffffff>
+
<br>
 +
<table width=1000 cellpadding=2 bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
<td width="58">[[file:screenshot.PNG|link=]]</td>
+
<td width=60 rowspan=2>[[image:screenshot.PNG|link=]]</td>
<td width="640"><span style="font-size: 17px;">'''Session Editor Screenshot:'''</span><br>
+
<td><span style="font-size: 17px;">'''Session Editor Screenshot:'''</span></td>
----</td>
+
 
</tr>
 
</tr>
</table>
+
<tr valign="top">
<table>
+
<!-- <td>&#160;</td> -->
<tr>
+
 
<td>[[file:NavPointComplete.JPG|link=]]</td>
 
<td>[[file:NavPointComplete.JPG|link=]]</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
 
<br>
 
<br>
<table cellpadding=4 bgcolor=#ffffff>
+
<table width=1000 cellpadding=2 bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
<td width="58">[[file:explanation.PNG|link=]]</td>
+
<td width=60 rowspan=3>[[image:explanation.PNG|link=]]</td>
<td width="640"><span style="font-size: 17px;">'''Description:'''</span><br>
+
<td><span style="font-size: 17px;">'''Description:'''</span></td>
----</td>
+
 
</tr>
 
</tr>
</table>
 
 
<table>
 
 
<tr valign="top">
 
<tr valign="top">
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
+
<!-- <td>&#160;</td> -->
<td>'''Line 1: Trigger Check''' the event is triggered by the arrival of the consist at the coal loader (the Navigation Point)
+
<td>'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;1&#160;</span>''': Trigger Check''' the event is triggered by the arrival of the consist at the coal loader (the Navigation Point). This executes the following lines:-
<table>
+
:'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;2&#160;</span>''': Multiple Resource Check''' when the last wagon has been loaded the following lines are executed simultaneously:-
<tr valign="top">
+
::'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;3&#160;</span>''': Navigation Point Complete''' the Navigation Point is completed and its icon is removed from the screen
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
+
::'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;4&#160;</span>''': Message Popup''' a "Loading completed" message appears on the screen</td>
<td>'''Line 2: Multiple Resource Check''' when the last wagon has been loaded the following lines are executed simultaneously:-
+
<table>
+
<tr valign="top">
+
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
+
<td>'''Line 3: Navigation Point Complete''' the Navigation Point is completed and its icon is removed from the screen</td>
+
</tr>
+
<tr valign="top">
+
<td>[[image:DotPoint.JPG|10px|link=]]</td>
+
<td>'''Line 4: Message Popup''' a "Loading completed" message appears on the screen</td>
+
</tr>
+
</table>
+
</td>
+
</tr>
+
</table>
+
</td>
+
 
</tr>
 
</tr>
 
</table>
 
</table>
  
<table> <!-- BEGIN Nav Buttons Table -->
+
<table width=1000> <!-- BEGIN Nav Buttons Table NO SKIPS -->
 
<tr valign="top">
 
<tr valign="top">
<td width=729><span id="stepPath"></span>&nbsp;</td>
+
<td width=629><span id="stepPath"></span>
<td width=46>[[file:BackToTop.png|link=#top|alt=Top|Top]]</td>
+
='''Application 4: User Path Selection'''=
 +
</td>
 +
<td width=50>[[image:SkipDown.png|link=#skipCreateSets|Skip Down]]</td>
 +
<td width=50>&#160;</td>
 +
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td>
 
<td width=75>[[file:NextUp.png|link=#stepWait|alt=Next Up|Top]]</td>
 
<td width=75>[[file:NextUp.png|link=#stepWait|alt=Next Up|Top]]</td>
<td width=75>[[file:NextDown.png|link=#bottom|alt=Next Down|Next Down]]</td>
+
<td width=75>&#160;</td>
 
<td width=75>[[file:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
 
<td width=75>[[file:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
 
</tr>
 
</tr>
 
</table> <!-- END Nav Buttons Table -->
 
</table> <!-- END Nav Buttons Table -->
  
='''Application 4: User Path Selection'''=
+
<table width=1000 cellpadding=2 bgcolor=#ffffff>
 
+
<table cellpadding=4 bgcolor=#ffffff>
+
 
<tr valign="top">
 
<tr valign="top">
<td width="58">[[file:magnifier.png|link=]]</td>
+
<td width=60 rowspan=4>[[image:magnifier.png|link=]]</td>
<td width="640"><span style="font-size: 17px;">'''The Scenario:'''</span><br>
+
<td><span style="font-weight: 700; font-size: 17px;">The Scenario:</span></td>
----</td>
+
</tr>
 +
<tr valign="top">
 +
<!-- <td>&#160;</td> -->
 +
<td>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</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
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.
 
<br>
 
  
 
<table>
 
<table>
Line 369: Line 374:
 
</table>
 
</table>
  
Three sets of navigation points are created, one for each location on the map diagram above.  
+
<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>&#160;</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">
 +
<td colspan=2>Three sets of navigation points are created, one for each location marked on the map diagram above</td>
 +
</tr>
 
<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:''' at the end signal on the Main Line. '''Switch 2''' is set to the Loop Line and the AI train is given its instructions to pass on the Loop</td>
+
<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:''' at the end signal on the Loop Line. '''Switch 2''' is set to the Main Line and the AI train is given its instructions to pass on the Main</td>
+
<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>
Line 396: Line 421:
 
<tr valign="top">
 
<tr valign="top">
 
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
 
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
<td>'''[[Session_Rule_List_with_Parameters#Navigation_Display_Rule|Navigation Display Rule]]''' creates the navigation point sets</td>
+
<td>'''[[Session_Rule_List_with_Parameters#Navigation_Display_Rule|Navigation Display Rule]]''' creates the navigation point sets (in '''Preconditions''' above)</td>
 
</tr>
 
</tr>
 
<tr valign="top">
 
<tr valign="top">
Line 432: Line 457:
 
</table>
 
</table>
 
<br>
 
<br>
<table cellpadding=4 bgcolor=#ffffff>
+
<table width=1000 cellpadding=2 bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
<td width="58">[[file:screenshot.PNG|link=]]</td>
+
<td width=60>[[image:screenshot.PNG|link=]]</td>
<td width="640"><span style="font-size: 17px;">'''Session Editor Screenshot:'''</span><br>
+
<td><span style="font-size: 17px;">'''Session Editor Screenshot:'''</span></td>
----</td>
+
 
</tr>
 
</tr>
 
</table>
 
</table>
 +
 +
<table width=1000> <!-- BEGIN Nav Buttons Table SKIPS NO SECTIONS -->
 +
<tr valign="top">
 +
<td width=629><span id="skipCreateSets"></span>
 
===Creating the Navigation Point Sets===
 
===Creating the Navigation Point Sets===
 +
</td>
 +
<td width=50>[[image:SkipDown.png|link=#skipSetA|Skip Down]]</td> <!-- skip Down -->
 +
<td width=50>[[image:SkipUp.png|link=#stepPath|Skip Up]]</td> <!-- skip Up -->
 +
<td width=46>&#160;</td>
 +
<td width=75>&#160;</td>
 +
<td width=75>&#160;</td>
 +
<td width=75>&#160;</td>
 +
</tr>
 +
</table> <!-- END Nav Buttons Table -->
  
<table width=1000>
 
<tr valign="top">
 
<td>[[file:NavDisplaySets.JPG|link=]]</td>
 
<td>
 
 
<table bgcolor=#000000 cellpadding=2>
 
<table bgcolor=#000000 cellpadding=2>
 
<tr valign="top">
 
<tr valign="top">
Line 466: Line 499:
 
<td>[[image:DotPoint.JPG|10px|link=]]</td>
 
<td>[[image:DotPoint.JPG|10px|link=]]</td>
 
<td>Each navigation point is attached to a track trigger - '''Point 1''' in '''Set A''' is attached to a trigger placed in front of '''Switch 1''' in the map diagram</td>
 
<td>Each navigation point is attached to a track trigger - '''Point 1''' in '''Set A''' is attached to a trigger placed in front of '''Switch 1''' in the map diagram</td>
</tr>
 
</table>
 
</td>
 
 
</tr>
 
</tr>
 
</table>
 
</table>
Line 475: Line 505:
 
</table>
 
</table>
 
<br>
 
<br>
<table>
+
<table width=1000>
 +
<tr valign="top">
 +
<td>[[file:NavDisplaySets.JPG|link=]]</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td>Navigation Point Set '''A''' is shown below. Sets '''B''' and '''C''' are similar.</td>
 
<td>Navigation Point Set '''A''' is shown below. Sets '''B''' and '''C''' are similar.</td>
Line 483: Line 516:
 
</tr>
 
</tr>
 
</table>
 
</table>
 
+
<br>
 +
<table width=1000> <!-- BEGIN Nav Buttons Table SKIPS NO SECTIONS -->
 +
<tr valign="top">
 +
<td width=629><span id="skipSetA"></span>
 
===At Navigation Set A Point 1 The Junction===
 
===At Navigation Set A Point 1 The Junction===
 +
</td>
 +
<td width=50>[[image:SkipDown.png|link=#skipSetB|Skip Down]]</td> <!-- skip Down -->
 +
<td width=50>[[image:SkipUp.png|link=#skipCreateSets|Skip Up]]</td> <!-- skip Up -->
 +
<td width=46>&#160;</td>
 +
<td width=75>&#160;</td>
 +
<td width=75>&#160;</td>
 +
<td width=75>&#160;</td>
 +
</tr>
 +
</table> <!-- END Nav Buttons Table -->
  
 
<table>
 
<table>
Line 492: Line 537:
 
</table>
 
</table>
 
<br>
 
<br>
<table cellpadding=4 bgcolor=#ffffff>
+
<table width=1000 cellpadding=2 bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
<td width="58">[[file:explanation.PNG|link=]]</td>
+
<td width=60 rowspan=3>[[image:explanation.PNG|link=]]</td>
<td width="640"><span style="font-size: 17px;">'''Description:'''</span><br>
+
<td><span style="font-size: 17px;">'''Description:'''</span></td>
----</td>
+
</tr>
 +
<tr valign="top">
 +
<!-- <td>&#160;</td> -->
 +
<td>'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;1&#160;</span>''': 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:-
 +
:'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;2&#160;</span>''': Navigation Set Hide/Show''' The '''Navigation Set B''' is made visible
 +
:'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;3&#160;</span>''': Navigation Set Hide/Show''' The '''Navigation Set C''' is made visible
 +
:'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;4&#160;</span>''': Set Junctions''' The junction '''Switch 2''' is locked against user and AI control
 +
:'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;5&#160;</span>''': Set Signals Extended''' '''Signal A''' is set to '''STOP'''
 +
:'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;6&#160;</span>''': Set Signals Extended''' '''Signal B''' is set to '''STOP'''
 +
:'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;7&#160;</span>''': Message Popup''' A message browser window is shown giving instruction to the user to set '''Switch 1''' to the Loop Line or the Main Line and then move the consist forward to the next signal</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
*'''Line 1: Wait on Navigation Point''' The event is triggered when the consist reaches (and stops at) '''Navigation Point 1''' in '''Set A'''.
+
<br>
**'''Line 2: Navigation Set Hide/Show''' The '''Navigation Set B''' is made visible.
+
<table width=1000> <!-- BEGIN Nav Buttons Table SKIPS NO SECTIONS -->
**'''Line 3: Navigation Set Hide/Show''' The '''Navigation Set C''' is made visible.
+
<tr valign="top">
**'''Line 4: Set Junctions''' The junction '''Switch 2''' is locked against user and AI control.
+
<td width=629><span id="skipSetB"></span>
**'''Line 5: Set Signals Extended''' '''Signal A''' is set to '''STOP'''
+
**'''Line 6: Set Signals Extended''' '''Signal B''' is set to '''STOP'''
+
**'''Line 7: Message Popup''' A message browser window is shown giving instruction to the user to set '''Switch 1''' to the Loop Line or the Main Line and then move the consist forward to the next signal.
+
 
+
 
===At Navigation Set B Point 1 The Stop signal on the Main Line===
 
===At Navigation Set B Point 1 The Stop signal on the Main Line===
 +
</td>
 +
<td width=50>[[image:SkipDown.png|link=#skipSetC|Skip Down]]</td> <!-- skip Down -->
 +
<td width=50>[[image:SkipUp.png|link=#skipSetA|Skip Up]]</td> <!-- skip Up -->
 +
<td width=46>&#160;</td>
 +
<td width=75>&#160;</td>
 +
<td width=75>&#160;</td>
 +
<td width=75>&#160;</td>
 +
</tr>
 +
</table> <!-- END Nav Buttons Table -->
  
 
<table>
 
<table>
Line 515: Line 574:
 
</table>
 
</table>
 
<br>
 
<br>
<table cellpadding=4 bgcolor=#ffffff>
+
<table width=1000 cellpadding=2 bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
<td width="58">[[file:explanation.PNG|link=]]</td>
+
<td width=60 rowspan=3>[[image:explanation.PNG|link=]]</td>
<td width="640"><span style="font-size: 17px;">'''Description:'''</span><br>
+
<td><span style="font-size: 17px;">'''Description:'''</span></td>
----</td>
+
</tr>
 +
<tr valign="top">
 +
<!-- <td>&#160;</td> -->
 +
<td>'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;1&#160;</span>''': 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:-
 +
:'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;2&#160;</span>''': Navigation Set Clear''' The '''Navigation Set C''' is deleted and its visible Navigation Point disappears from the screen as the Loop Line path was not selected
 +
:'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;3&#160;</span>''': Message Popup''' A message browser window is shown giving instruction to the user to wait until the passing train has cleared '''Switch 1'''
 +
:'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;4&#160;</span>''': Set Junctions''' The junction '''Switch 2''' is set to the Loop Line but is still locked against user and AI control
 +
:'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;5&#160;</span>''': Wait''' A wait of 20 seconds then the following line is executed:-
 +
::'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;6&#160;</span>''': Driver Schedule''' The AI train is given commands to move to the next destination via the Loop Line</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
*'''Line 1: Wait on Navigation Point''' The event is triggered when the consist reaches (and stops at) '''Navigation Point 1''' in '''Set B'''.
+
<br>
**'''Line 2: Navigation Set Clear''' The '''Navigation Set C''' is deleted and its visible Navigation Point disappears from the screen as the Loop Line path was not selected.
+
<table width=1000> <!-- BEGIN Nav Buttons Table SKIPS NO SECTIONS -->
**'''Line 3: Message Popup''' A message browser window is shown giving instruction to the user to wait until the passing train has cleared '''Switch 1'''
+
<tr valign="top">
**'''Line 4: Set Junctions''' The junction '''Switch 2''' is set to the Loop Line but is still locked against user and AI control.
+
<td width=629><span id="skipSetC"></span>
**'''Line 5: Wait''' A wait of 20 seconds then ...
+
***'''Line 6: Driver Schedule''' The AI train is given commands to move to the next destination via the Loop Line.
+
 
+
 
===At Navigation Set C Point 1 The Stop Signal on the Loop Line===
 
===At Navigation Set C Point 1 The Stop Signal on the Loop Line===
 +
</td>
 +
<td width=50>[[image:SkipDown.png|link=#bottom|Skip Down]]</td> <!-- skip Down -->
 +
<td width=50>[[image:SkipUp.png|link=#skipSetB|Skip Up]]</td> <!-- skip Up -->
 +
<td width=46>&#160;</td>
 +
<td width=75>&#160;</td>
 +
<td width=75>&#160;</td>
 +
<td width=75>&#160;</td>
 +
</tr>
 +
</table> <!-- END Nav Buttons Table -->
  
 
<table>
 
<table>
Line 536: Line 609:
 
</tr>
 
</tr>
 
</table>
 
</table>
<table cellpadding=4 bgcolor=#ffffff>
+
<br>
 +
<table width=1000 cellpadding=2 bgcolor=#ffffff>
 
<tr valign="top">
 
<tr valign="top">
<td width="58">[[file:explanation.PNG|link=]]</td>
+
<td width=60 rowspan=3>[[image:explanation.PNG|link=]]</td>
<td width="640"><span style="font-size: 17px;">'''Description:'''</span><br>
+
<td><span style="font-size: 17px;">'''Description:'''</span></td>
----</td>
+
</tr>
 +
<tr valign="top">
 +
<!-- <td>&#160;</td> -->
 +
<td>'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;1&#160;</span>''': 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:-
 +
:'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;2&#160;</span>''': Navigation Set Clear''' The '''Navigation Set C''' is deleted and its visible Navigation Point disappears from the screen as the Main Line path was not selected
 +
:'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;3&#160;</span>''': Message Popup''' A message browser window is shown giving instruction to the user to wait until the passing train has cleared '''Switch 1'''
 +
:'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;4&#160;</span>''': Set Junctions''' The junction '''Switch 2''' is set to the Main Line but is still locked against user and AI control
 +
:'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;5&#160;</span>''': Wait''' A wait of 20 seconds then the following line is executed:-
 +
::'''Line''' <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;6&#160;</span>''': Driver Schedule''' The AI train is given commands to move to the next destination via the Main Line</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
*'''Line 1: Wait on Navigation Point''' The event is triggered when the consist reaches (and stops at) '''Navigation Point 1''' in '''Set C'''.
 
**'''Line 2: Navigation Set Clear''' The '''Navigation Set C''' is deleted and its visible Navigation Point disappears from the screen as the Main Line path was not selected.
 
**'''Line 3: Message Popup''' A message browser window is shown giving instruction to the user to wait until the passing train has cleared '''Switch 1'''
 
**'''Line 4: Set Junctions''' The junction '''Switch 2''' is set to the Main Line but is still locked against user and AI control.
 
**'''Line 5: Wait''' A wait of 20 seconds then ...
 
***'''Line 6: Driver Schedule''' The AI train is given commands to move to the next destination via the Main Line.
 
  
 
<table> <!-- BEGIN Nav Buttons Table -->
 
<table> <!-- BEGIN Nav Buttons Table -->
 
<tr valign="top">
 
<tr valign="top">
<td width=729><span id="bottom"></span>&nbsp;</td>
+
<td width=629><span id="bottom"></span>&nbsp;</td>
 +
<td width=50>&#160;</td> <!-- skip Down -->
 +
<td width=50>[[image:SkipUp.png|link=#skipSetC|Skip Up]]</td> <!-- skip Up -->
 
<td width=46>[[file:BackToTop.png|link=#top|alt=Top|Top]]</td>
 
<td width=46>[[file:BackToTop.png|link=#top|alt=Top|Top]]</td>
 
<td width=75>[[file:NextUp.png|link=#stepPath|alt=Next Up|Top]]</td>
 
<td width=75>[[file:NextUp.png|link=#stepPath|alt=Next Up|Top]]</td>

Latest revision as of 11:07, 4 October 2023

          Next Down Bottom
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.

Contents

LinkWiki.PNG

For information on how to configure these rules in Trainz see the Trainz Wiki Page at:-


[edit] Application 1: Clearing Unused Navigation Sets

    Top   Next Down Bottom
Magnifier.png 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


Conditions.PNG Preconditions:
DotPoint.JPG Navigation Display Rule creates the navigation point sets


RulesWiki.PNG Rules Used:
DotPoint.JPG Navigation Display Rule creates the navigation point sets (in Preconditions above)
DotPoint.JPG Trigger Check Rule to trigger the event
DotPoint.JPG Navigation Set Clear Rule to manually complete navigation sets


Screenshot.PNG Session Editor Screenshot:
NavClearSets.JPG


Explanation.PNG Description:
Line  1 : Trigger Check the event is triggered by the consist leaving the location with the navigation points. This executes the following lines:-
Line  2 : Navigation Set Clear a navigation set is manually completed and any visible icons are removed. This can be performed on any sets that have already been completely or partially completed
Lines  3  and  4  repeat the step in Line 2 for the other navigation sets


[edit] Application 2: Checking for Incomplete Sets

    Top Next Up Next Down Bottom
Magnifier.png 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


Conditions.PNG Preconditions:
DotPoint.JPG Navigation Display Rule creates the navigation point sets


RulesWiki.PNG Rules Used:
DotPoint.JPG Navigation Display Rule creates the navigation point sets (in Preconditions above)
DotPoint.JPG Trigger Check Rule to trigger the event
DotPoint.JPG Navigation Set Check Rule to check if a navigation set has been completed
DotPoint.JPG Navigation Set Clear Rule to manually complete navigation sets
DotPoint.JPG Message Popup Rule to open a message window on the screen


Screenshot.PNG Session Editor Screenshot:
NavSetCheck.JPG


Explanation.PNG Description:
Line  1 : Trigger Check the event is triggered by the consist leaving the location with the navigation points. This executes the following lines:-
Line  2 : Navigation Set Check the identified navigation set is checked to see if all its points have been completed. If NOT then the following lines will be executed simultaneously:-
Line  3 : Navigation Set Clear the navigation set is cleared so all of its navigation points will be cleared (completed)
Line  4 : Message Popup Rule a suitable message is displayed on the screen


[edit] Application 3: Wait for Loading to be Completed

    Top Next Up Next Down Bottom
Magnifier.png 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


Conditions.PNG Preconditions:
DotPoint.JPG Navigation Display Rule creates the navigation point set. The Navigation Point is created with its Style set to manual which means it will be completed by another rule and not the arrival of the consist
NavManualSet.JPG


RulesWiki.PNG Rules Used:
DotPoint.JPG Navigation Display Rule creates the navigation point sets (in Preconditions above)
DotPoint.JPG Trigger Check Rule to trigger the message event
DotPoint.JPG Multiple Resource Check Rule to monitor the load level in the last wagon
MultResCheck.JPG The Multiple Resouce Check Rule is configured to watch the load of coal in the last wagon of the consist exceeding a set value that is close to the maximum for that wagon (apologies for the colour scheme)
DotPoint.JPG Navigation Point Complete Rule to manually complete a navigation point
DotPoint.JPG Message Popup Rule to open a message window on the screen
The more obvious Wait on Navigation Point Rule is not used because the Navigation Point will be completed manually some time after the consist has arrived at the location. By using the Trigger Check Rule instead (the Navigation Point is attached to a trigger), the navigation icon remains on the screen until the loading has been completed and then it will be manually cleared.


Screenshot.PNG Session Editor Screenshot:
NavPointComplete.JPG


Explanation.PNG 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:-
Line  2 : Multiple Resource Check when the last wagon has been loaded the following lines are executed simultaneously:-
Line  3 : Navigation Point Complete the Navigation Point is completed and its icon is removed from the screen
Line  4 : Message Popup a "Loading completed" message appears on the screen

[edit] Application 4: User Path Selection

Skip Down   Top Next Up   Bottom
Magnifier.png 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
NavSidingMap.JPG
Conditions.PNG Preconditions:
DotPoint.JPG The Navigation Display Rule is used to create the navigation point sets
Three sets of navigation points are created, one for each location marked on the map diagram above
BlueDot10x10.png 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
BlueDot10x10.png 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
BlueDot10x10.png 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


RulesWiki.PNG Rules Used:

DotPoint.JPG Navigation Display Rule creates the navigation point sets (in Preconditions above)
DotPoint.JPG Navigation Set Hide/Show Rule to hide and display the navigation point sets
DotPoint.JPG Wait on Navigation Point Rule to trigger the message event
DotPoint.JPG Navigation Set Clear Rule to manually terminate a navigation point set
DotPoint.JPG Message Popup Rule to open a message window on the screen
DotPoint.JPG Set Junctions Rule to set and lock junctions
DotPoint.JPG Set Signal Extended Rule to set signals
DotPoint.JPG Wait Rule to introduce a short delay
DotPoint.JPG Driver Schedule Rule to give commands to the AI controlled train


Screenshot.PNG Session Editor Screenshot:

[edit] Creating the Navigation Point Sets

Skip Down Skip Up        
NotePad.PNG Notes:

DotPoint.JPG Each set is created separately using separate copies of the Navigation Display Rule
DotPoint.JPG Sets B and C are hidden from view using the Navigation Set Show/Hide Rule
DotPoint.JPG Each navigation point is attached to a track trigger - Point 1 in Set A is attached to a trigger placed in front of Switch 1 in the map diagram


NavDisplaySets.JPG
Navigation Point Set A is shown below. Sets B and C are similar.
NavPointSet.JPG


[edit] At Navigation Set A Point 1 The Junction

Skip Down Skip Up        
NavSetsChoose.JPG


Explanation.PNG 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:-
Line  2 : Navigation Set Hide/Show The Navigation Set B is made visible
Line  3 : Navigation Set Hide/Show The Navigation Set C is made visible
Line  4 : Set Junctions The junction Switch 2 is locked against user and AI control
Line  5 : Set Signals Extended Signal A is set to STOP
Line  6 : Set Signals Extended Signal B is set to STOP
Line  7 : Message Popup A message browser window is shown giving instruction to the user to set Switch 1 to the Loop Line or the Main Line and then move the consist forward to the next signal


[edit] At Navigation Set B Point 1 The Stop signal on the Main Line

Skip Down Skip Up        
NavMainSet.JPG


Explanation.PNG 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:-
Line  2 : Navigation Set Clear The Navigation Set C is deleted and its visible Navigation Point disappears from the screen as the Loop Line path was not selected
Line  3 : Message Popup A message browser window is shown giving instruction to the user to wait until the passing train has cleared Switch 1
Line  4 : Set Junctions The junction Switch 2 is set to the Loop Line but is still locked against user and AI control
Line  5 : Wait A wait of 20 seconds then the following line is executed:-
Line  6 : Driver Schedule The AI train is given commands to move to the next destination via the Loop Line


[edit] At Navigation Set C Point 1 The Stop Signal on the Loop Line

Skip Down Skip Up        
NavLoopSet.JPG


Explanation.PNG 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:-
Line  2 : Navigation Set Clear The Navigation Set C is deleted and its visible Navigation Point disappears from the screen as the Main Line path was not selected
Line  3 : Message Popup A message browser window is shown giving instruction to the user to wait until the passing train has cleared Switch 1
Line  4 : Set Junctions The junction Switch 2 is set to the Main Line but is still locked against user and AI control
Line  5 : Wait A wait of 20 seconds then the following line is executed:-
Line  6 : Driver Schedule The AI train is given commands to move to the next destination via the Main Line
    Skip Up Top Next Up


[edit] Trainz Wiki

TrainzWiki.png

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.


Personal tools