How to Use Navigation Point Rules
m |
m |
||
Line 1: | Line 1: | ||
− | The information in this Wiki Page applies to '''TANE''', '''TRS19''', '''Trainz Plus''' and '''TRS22'''. It | + | 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> | ||
+ | <tr valign="top"> | ||
+ | <td> | ||
+ | __TOC__ | ||
+ | </td> | ||
+ | <td width=700> | ||
<table cellpadding=4 bgcolor="Aquamarine"> | <table cellpadding=4 bgcolor="Aquamarine"> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:LinkWiki.PNG|link=]]</td> | <td>[[file:LinkWiki.PNG|link=]]</td> | ||
<td> | <td> | ||
− | For | + | For information on how to configure these rules in '''Trainz''' see the '''Trainz Wiki Page''' at:-<br> |
− | * '''[[How to Use Navigation Point Rules | + | :*'''[[How to Use Navigation Point Rules]]''' |
</td> | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | + | </td> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | |||
− | |||
<br> | <br> | ||
<table> <!-- BEGIN Nav Buttons Table --> | <table> <!-- BEGIN Nav Buttons Table --> | ||
<tr valign="top"> | <tr valign="top"> | ||
− | <td width=729><span id=" | + | <td width=729><span id="stepUnused"></span> </td> |
<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> </td> | <td width=75> </td> | ||
− | <td width=75>[[file:NextDown.png|link=# | + | <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>[[file:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td> | ||
</tr> | </tr> | ||
</table> <!-- END Nav Buttons Table --> | </table> <!-- END Nav Buttons Table --> | ||
− | ='''Navigation | + | ='''Application 1: Clearing Unused Navigation Sets'''= |
− | + | <table cellpadding=4 bgcolor=#ffffff> | |
− | <table cellpadding=4 bgcolor=# | + | <tr valign="top"> |
− | <tr valign="top> | + | <td width="58">[[file:magnifier.png|link=]]</td> |
− | <td>[[file: | + | <td width="640"><span style="font-size: 17px;">'''The Scenario:'''</span><br> |
− | <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>[[file: | + | <td width="58">[[file:conditions.PNG|link=]]</td> |
− | <td> | + | <td width="640"><span style="font-size: 17px;">'''Preconditions:'''</span><br> |
+ | ----</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
+ | *'''[[Session_Rule_List_with_Parameters#Navigation_Display_Rule|Navigation Display Rule]]''' creates the navigation point sets. | ||
<br> | <br> | ||
− | + | <table cellpadding=4 bgcolor=#ffffff> | |
− | + | ||
− | <table> | + | |
<tr valign="top"> | <tr valign="top"> | ||
− | <td>[[file: | + | <td width="58">[[file:RulesWiki.PNG|link=]]</td> |
− | <td> | + | <td width="640"><span style="font-size: 17px;">'''Rules Used:'''</span><br> |
− | < | + | |
− | < | + | |
− | < | + | |
----</td> | ----</td> | ||
</tr> | </tr> | ||
+ | </table> | ||
+ | *'''[[Session_Rule_List_with_Parameters#Trigger_Check_Rule|Trigger Check Rule]]''' to trigger the event. | ||
+ | *'''[[Session_Rule_List_with_Parameters#Navigation_Set_Clear_Rule|Navigation Set Clear Rule]]''' to manually complete navigation sets. | ||
+ | <br> | ||
+ | <table cellpadding=4 bgcolor=#ffffff> | ||
<tr valign="top"> | <tr valign="top"> | ||
− | <td>[[file: | + | <td width="58">[[file:screenshot.PNG|link=]]</td> |
− | <td><span style="font-size: 17px;">''' | + | <td width="640"><span style="font-size: 17px;">'''Session Editor Screenshot:'''</span><br> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
----</td> | ----</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | + | <table> | |
− | <table | + | |
<tr> | <tr> | ||
− | <td | + | <td>[[file:NavClearSets.JPG|link=]]</td> |
− | + | ||
</tr> | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | <table cellpadding=4 bgcolor=#ffffff> | ||
<tr valign="top"> | <tr valign="top"> | ||
− | <td>[[file: | + | <td width="58">[[file:explanation.PNG|link=]]</td> |
− | <td><span style="font-size: 17px;">''' | + | <td width="640"><span style="font-size: 17px;">'''Description:'''</span><br> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
----</td> | ----</td> | ||
− | |||
− | |||
</tr> | </tr> | ||
</table> | </table> | ||
+ | *'''Line 1: Trigger Check''' the event is triggered by the consist leaving the location with the navigation points. | ||
+ | **'''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 process for any other navigation sets. | ||
<table> <!-- BEGIN Nav Buttons Table --> | <table> <!-- BEGIN Nav Buttons Table --> | ||
<tr valign="top"> | <tr valign="top"> | ||
− | <td width=729><span id=" | + | <td width=729><span id="stepIncomplete"></span> </td> |
<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=# | + | <td width=75>[[file:NextUp.png|link=#stepUnused|alt=Next Up|Top]]</td> |
− | <td width=75>[[file:NextDown.png|link=# | + | <td width=75>[[file:NextDown.png|link=#stepWait|alt=Next Down|Next Down]]</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 --> | ||
− | ='''Navigation | + | ='''Application 2: Checking for Incomplete Navigation Sets'''= |
− | + | <table cellpadding=4 bgcolor=#ffffff> | |
+ | <tr valign="top"> | ||
+ | <td width="58">[[file:magnifier.png|link=]]</td> | ||
+ | <td width="640"><span style="font-size: 17px;">'''The Scenario:'''</span><br> | ||
+ | ----</td> | ||
+ | </tr> | ||
+ | </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> | ||
+ | <table cellpadding=4 bgcolor=#ffffff> | ||
+ | <tr valign="top"> | ||
+ | <td width="58">[[file:conditions.PNG|link=]]</td> | ||
+ | <td width="640"><span style="font-size: 17px;">'''Preconditions:'''</span><br> | ||
+ | ----</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | *'''[[Session_Rule_List_with_Parameters#Navigation_Display_Rule|Navigation Display Rule]]''' creates the navigation point sets. | ||
<br> | <br> | ||
− | + | <table cellpadding=4 bgcolor=#ffffff> | |
− | + | ||
− | + | ||
− | <table> | + | |
<tr valign="top"> | <tr valign="top"> | ||
− | <td>[[file: | + | <td width="58">[[file:RulesWiki.PNG|link=]]</td> |
− | <td> | + | <td width="640"><span style="font-size: 17px;">'''Rules Used:'''</span><br> |
− | < | + | |
− | < | + | |
− | < | + | |
----</td> | ----</td> | ||
</tr> | </tr> | ||
+ | </table> | ||
+ | *'''[[Session_Rule_List_with_Parameters#Trigger_Check_Rule|Trigger Check Rule]]''' to trigger the event. | ||
+ | *'''[[Session_Rule_List_with_Parameters#Navigation_Set_Check_Rule|Navigation Set Check Rule]]''' to check if a navigation set has been completed. | ||
+ | *'''[[Session_Rule_List_with_Parameters#Navigation_Set_Clear_Rule|Navigation Set Clear Rule]]''' to manually complete navigation sets. | ||
+ | *'''[[Session_Rule_List_with_Parameters#Message_Popup_Rule|Message Popup Rule]]''' to open a message window on the screen. | ||
+ | <br> | ||
+ | <table cellpadding=4 bgcolor=#ffffff> | ||
<tr valign="top"> | <tr valign="top"> | ||
− | <td>[[file: | + | <td width="58">[[file:screenshot.PNG|link=]]</td> |
− | <td><span style="font-size: 17px;">''' | + | <td width="640"><span style="font-size: 17px;">'''Session Editor Screenshot:'''</span><br> |
− | + | ----</td> | |
− | + | ||
</tr> | </tr> | ||
+ | </table> | ||
+ | <table> | ||
<tr> | <tr> | ||
− | <td | + | <td>[[file:NavSetCheck.JPG|link=]]</td> |
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | <table cellpadding=4 bgcolor=#ffffff> | ||
+ | <tr valign="top"> | ||
+ | <td width="58">[[file:explanation.PNG|link=]]</td> | ||
+ | <td width="640"><span style="font-size: 17px;">'''Description:'''</span><br> | ||
----</td> | ----</td> | ||
− | |||
− | |||
</tr> | </tr> | ||
</table> | </table> | ||
+ | *'''Line 1: Trigger Check''' the event is triggered by the consist leaving the location with the navigation points. | ||
+ | **'''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. | ||
<table> <!-- BEGIN Nav Buttons Table --> | <table> <!-- BEGIN Nav Buttons Table --> | ||
<tr valign="top"> | <tr valign="top"> | ||
− | <td width=729><span id=" | + | <td width=729><span id="stepWait"></span> </td> |
<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=# | + | <td width=75>[[file:NextUp.png|link=#stepIncomplete|alt=Next Up|Top]]</td> |
− | <td width=75>[[file:NextDown.png|link=# | + | <td width=75>[[file:NextDown.png|link=#stepPath|alt=Next Down|Next Down]]</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 3: Wait for Loading to be Completed'''= |
− | + | <table cellpadding=4 bgcolor=#ffffff> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<tr valign="top"> | <tr valign="top"> | ||
− | <td>[[file: | + | <td width="58">[[file:magnifier.png|link=]]</td> |
− | <td> | + | <td width="640"><span style="font-size: 17px;">'''The Scenario:'''</span><br> |
− | < | + | |
− | < | + | |
− | < | + | |
----</td> | ----</td> | ||
</tr> | </tr> | ||
+ | </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> | ||
+ | <table cellpadding=4 bgcolor=#ffffff> | ||
<tr valign="top"> | <tr valign="top"> | ||
− | <td>[[file: | + | <td width="58">[[file:conditions.PNG|link=]]</td> |
− | <td><span style="font-size: 17px;">''' | + | <td width="640"><span style="font-size: 17px;">'''Preconditions:'''</span><br> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
----</td> | ----</td> | ||
− | |||
− | |||
</tr> | </tr> | ||
</table> | </table> | ||
+ | *'''[[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. | ||
− | <table | + | <table> |
− | <tr | + | <tr> |
− | <td | + | <td>[[file:NavManualSet.JPG|link=]]</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
− | </table | + | </table> |
− | + | 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> | ||
+ | </table> | ||
<br> | <br> | ||
− | + | <table cellpadding=4 bgcolor=#ffffff> | |
− | + | ||
− | + | ||
− | <table> | + | |
<tr valign="top"> | <tr valign="top"> | ||
− | <td>[[file: | + | <td width="58">[[file:RulesWiki.PNG|link=]]</td> |
− | <td> | + | <td width="640"><span style="font-size: 17px;">'''Rules Used:'''</span><br> |
− | < | + | |
− | < | + | |
− | < | + | |
----</td> | ----</td> | ||
</tr> | </tr> | ||
+ | </table> | ||
+ | *'''[[Session_Rule_List_with_Parameters#Trigger_Check_Rule|Trigger Check Rule]]''' to trigger the message event. | ||
+ | *'''[[Session_Rule_List_with_Parameters#Multiple_Resource_Check_Rule|Multiple Resource Check Rule]]''' to monitor the load level in the last wagon. | ||
+ | *'''[[Session_Rule_List_with_Parameters#Navigation_Point_Complete_Rule|Navigation Point Complete Rule]]''' to manually complete a navigation point. | ||
+ | *'''[[Session_Rule_List_with_Parameters#Message_Popup_Rule|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. | ||
+ | <br><br> | ||
+ | <table cellpadding=4 bgcolor=#ffffff> | ||
<tr valign="top"> | <tr valign="top"> | ||
− | <td>[[file: | + | <td width="58">[[file:screenshot.PNG|link=]]</td> |
− | <td><span style="font-size: 17px;">''' | + | <td width="640"><span style="font-size: 17px;">'''Session Editor Screenshot:'''</span><br> |
− | + | ----</td> | |
− | + | ||
</tr> | </tr> | ||
+ | </table> | ||
+ | <table> | ||
<tr> | <tr> | ||
− | <td | + | <td>[[file:NavPointComplete.JPG|link=]]</td> |
− | + | ||
</tr> | </tr> | ||
− | </table></td> | + | </table> |
+ | <br> | ||
+ | <table cellpadding=4 bgcolor=#ffffff> | ||
+ | <tr valign="top"> | ||
+ | <td width="58">[[file:explanation.PNG|link=]]</td> | ||
+ | <td width="640"><span style="font-size: 17px;">'''Description:'''</span><br> | ||
+ | ----</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
+ | *'''Line 1: Trigger Check''' the event is triggered by the arrival of the consist at the coal loader (the Navigation Point). | ||
+ | **'''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. | ||
<table> <!-- BEGIN Nav Buttons Table --> | <table> <!-- BEGIN Nav Buttons Table --> | ||
<tr valign="top"> | <tr valign="top"> | ||
− | <td width=729><span id=" | + | <td width=729><span id="stepPath"></span> </td> |
<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=# | + | <td width=75>[[file:NextUp.png|link=#stepWait|alt=Next Up|Top]]</td> |
− | <td width=75>[[file:NextDown.png|link=# | + | <td width=75>[[file:NextDown.png|link=#bottom|alt=Next Down|Next Down]]</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 cellpadding=4 bgcolor=#ffffff> | |
− | < | + | <tr valign="top"> |
− | + | <td width="58">[[file:magnifier.png|link=]]</td> | |
+ | <td width="640"><span style="font-size: 17px;">'''The Scenario:'''</span><br> | ||
+ | ----</td> | ||
+ | </tr> | ||
+ | </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> | <br> | ||
<table> | <table> | ||
− | |||
− | |||
− | |||
− | |||
<tr> | <tr> | ||
− | <td | + | <td>[[file:NavSidingMap.JPG|link=]]</td> |
+ | </tr> | ||
+ | </table> | ||
+ | |||
+ | Three sets of navigation points are created, one for each location on the map diagram above. | ||
+ | *'''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 | ||
+ | *'''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. | ||
+ | *'''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. | ||
+ | |||
+ | <br> | ||
+ | <table cellpadding=4 bgcolor=#ffffff> | ||
+ | <tr valign="top"> | ||
+ | <td width="58">[[file:RulesWiki.PNG|link=]]</td> | ||
+ | <td width="640"><span style="font-size: 17px;">'''Rules Used:'''</span><br> | ||
----</td> | ----</td> | ||
</tr> | </tr> | ||
+ | </table> | ||
+ | *'''[[Session_Rule_List_with_Parameters#Navigation_Display_Rule|Navigation Display Rule]]''' creates the navigation point sets. | ||
+ | *'''[[Session_Rule_List_with_Parameters#Navigation_Set_Hide/Show_Rule|Navigation Set Hide/Show Rule]]''' to hide and display the navigation point sets. | ||
+ | *'''[[Session_Rule_List_with_Parameters#Wait_on_Navigation_Point_Rule|Wait on Navigation Point Rule]]''' to trigger the message event. | ||
+ | *'''[[Session_Rule_List_with_Parameters#Navigation_Set_Clear_Rule|Navigation Set Clear Rule]]''' to manually terminate a navigation point set. | ||
+ | *'''[[Session_Rule_List_with_Parameters#Message_Popup_Rule|Message Popup Rule]]''' to open a message window on the screen. | ||
+ | *'''[[Session_Rule_List_with_Parameters#Set_Junctions_Rule|Set Junctions Rule]]''' to set and lock junctions. | ||
+ | *'''[[Session_Rule_List_with_Parameters#Set_Signal_Extended_Rule|Set Signal Extended Rule]]''' to set signals. | ||
+ | *'''[[Session_Rule_List_with_Parameters#Wait_Rule|Wait Rule]]''' to introduce a short delay. | ||
+ | *'''[[Session_Rule_List_with_Parameters#Driver_Schedule_Rule|Driver Schedule Rule]]''' to give commands to the AI controlled train. | ||
+ | <br> | ||
+ | <table cellpadding=4 bgcolor=#ffffff> | ||
<tr valign="top"> | <tr valign="top"> | ||
− | <td>[[file: | + | <td width="58">[[file:screenshot.PNG|link=]]</td> |
− | <td><span style="font-size: 17px;">''' | + | <td width="640"><span style="font-size: 17px;">'''Session Editor Screenshot:'''</span><br> |
− | + | ----</td> | |
− | + | ||
</tr> | </tr> | ||
+ | </table> | ||
+ | ===Creating the Navigation Point Sets=== | ||
+ | |||
+ | <table> | ||
<tr> | <tr> | ||
− | <td | + | <td>[[file:NavDisplaySets.JPG|link=]]</td> |
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | + | *Each set is created separately and sets '''B''' and '''C''' are hidden. | |
− | + | *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. | |
− | < | + | |
− | < | + | <table> |
− | <td | + | <tr> |
− | + | <td>[[file:NavPointSet.JPG|link=]]</td> | |
− | + | ||
</tr> | </tr> | ||
− | </ | + | <tr> |
+ | <td>Navigation Point Set '''A'''. Sets '''B''' and '''C''' are similar.</td> | ||
+ | </tr> | ||
+ | </table> | ||
− | = | + | ===At Navigation Set A Point 1 The Junction=== |
− | + | <table> | |
− | < | + | <tr> |
− | + | <td>[[file:NavSetsChoose.JPG|link=]]</td> | |
+ | </tr> | ||
+ | </table> | ||
<br> | <br> | ||
+ | <table cellpadding=4 bgcolor=#ffffff> | ||
+ | <tr valign="top"> | ||
+ | <td width="58">[[file:explanation.PNG|link=]]</td> | ||
+ | <td width="640"><span style="font-size: 17px;">'''Description:'''</span><br> | ||
+ | ----</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | *'''Line 1: Wait on Navigation Point''' The event is triggered when the consist reaches (and stops at) '''Navigation Point 1''' in '''Set A'''. | ||
+ | **'''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. | ||
+ | |||
+ | ===At Navigation Set B Point 1 The Stop signal on the Main Line=== | ||
<table> | <table> | ||
− | |||
− | |||
− | |||
− | |||
<tr> | <tr> | ||
− | <td | + | <td>[[file:NavMainSet.JPG|link=]]</td> |
− | + | ||
</tr> | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | <table cellpadding=4 bgcolor=#ffffff> | ||
<tr valign="top"> | <tr valign="top"> | ||
− | <td>[[file: | + | <td width="58">[[file:explanation.PNG|link=]]</td> |
− | <td><span style="font-size: 17px;">''' | + | <td width="640"><span style="font-size: 17px;">'''Description:'''</span><br> |
− | + | ----</td> | |
− | + | ||
</tr> | </tr> | ||
+ | </table> | ||
+ | *'''Line 1: Wait on Navigation Point''' The event is triggered when the consist reaches (and stops at) '''Navigation Point 1''' in '''Set B'''. | ||
+ | **'''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 ... | ||
+ | ***'''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=== | ||
+ | |||
+ | <table> | ||
<tr> | <tr> | ||
− | <td | + | <td>[[file:NavLoopSet.JPG|link=]]</td> |
+ | </tr> | ||
+ | </table> | ||
+ | <table cellpadding=4 bgcolor=#ffffff> | ||
+ | <tr valign="top"> | ||
+ | <td width="58">[[file:explanation.PNG|link=]]</td> | ||
+ | <td width="640"><span style="font-size: 17px;">'''Description:'''</span><br> | ||
----</td> | ----</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 --> | ||
Line 312: | Line 382: | ||
<td width=729><span id="bottom"></span> </td> | <td width=729><span id="bottom"></span> </td> | ||
<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=# | + | <td width=75>[[file:NextUp.png|link=#stepPath|alt=Next Up|Top]]</td> |
− | <td width=75> | + | <td width=75></td> |
− | <td width=75> | + | <td width=75></td> |
</tr> | </tr> | ||
</table> <!-- END Nav Buttons Table --> | </table> <!-- END Nav Buttons Table --> | ||
---- | ---- | ||
---- | ---- | ||
− | |||
='''Trainz Wiki'''= | ='''Trainz Wiki'''= | ||
<table cellpadding=4 bgcolor=#ffffff> | <table cellpadding=4 bgcolor=#ffffff> |
Revision as of 13:08, 20 December 2022
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.
|
|
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: |
- Navigation Display Rule creates the navigation point sets.
Rules Used: |
- Trigger Check Rule to trigger the event.
- Navigation Set Clear Rule to manually complete navigation sets.
Session Editor Screenshot: |
Description: |
- Line 1: Trigger Check the event is triggered by the consist leaving the location with the navigation points.
- 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 process for any other navigation 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: |
- Navigation Display Rule creates the navigation point sets.
Rules Used: |
- Trigger Check Rule to trigger the event.
- Navigation Set Check Rule to check if a navigation set has been completed.
- Navigation Set Clear Rule to manually complete navigation sets.
- Message Popup Rule to open a message window on the screen.
Session Editor Screenshot: |
Description: |
- Line 1: Trigger Check the event is triggered by the consist leaving the location with the navigation points.
- 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.
- 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:-
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: |
- 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.
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).
Rules Used: |
- Trigger Check Rule to trigger the message event.
- Multiple Resource Check Rule to monitor the load level in the last wagon.
- Navigation Point Complete Rule to manually complete a navigation point.
- 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.
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).
- 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.
- Line 2: Multiple Resource Check when the last wagon has been loaded the following lines are executed simultaneously:-
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.
Three sets of navigation points are created, one for each location on the map diagram above.
- 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
- 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.
- 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.
Rules Used: |
- Navigation Display Rule creates the navigation point sets.
- 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: |
- Each set is created separately and sets B and C are hidden.
- 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.
Navigation Point Set A. Sets B and C are similar. |
Description: |
- Line 1: Wait on Navigation Point The event is triggered when the consist reaches (and stops at) Navigation Point 1 in Set A.
- 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.
Description: |
- Line 1: Wait on Navigation Point The event is triggered when the consist reaches (and stops at) Navigation Point 1 in Set B.
- 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 ...
- Line 6: Driver Schedule The AI train is given commands to move to the next destination via the Loop Line.
Description: |
- 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.
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.