How to Use Navigation Point Rules: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
Pware (talk | contribs)
No edit summary
Pware (talk | contribs)
No edit summary
Line 106: Line 106:
<tr valign="top">
<tr valign="top">
<td width=10>[[image:BlackDot10x10.png|link=]]</td>
<td width=10>[[image:BlackDot10x10.png|link=]]</td>
<td>'''Set ID:''' Each Navigation Point Set must have a '''unique ID code'''. This consists of any text characters&nbsp;<span style="background-color: red; color: white; font-weight: 700; font-size: 15px">&nbsp;EXCEPT&nbsp;</span>&nbsp;the '''SPACE''' character and '''UPPER CASE''' characters</td>
<td>'''Set ID:''' Each Navigation Point Set must have a '''unique ID code'''. This consists of any text characters <span style="background-color: red; color: white; font-weight: 700; font-size: 15px">&nbsp;EXCEPT&nbsp;</span> the '''SPACE''' character and '''UPPER CASE''' characters</td>
</tr>
</tr>
<tr valign="top">
<tr valign="top">
Line 243: Line 243:
='''Navigation Set Hide/Show Rule'''=
='''Navigation Set Hide/Show Rule'''=


The [[file:WikiLink.PNG|link=]] '''[[Session_Rule_List_with_Parameters#Navigation Set Hide/Show Rule|Navigation Set Hide/Show Rule]]''' hides and displays the navigation sets created by the '''Navigation Display Rule'''.
<table width=1000 bgcolor="lightcyan" cellpadding=2>
<br>
<tr valign="top">
The '''Navigation Set Hide/Show Rule''' is added to a Session and configured using the [[file:WikiLink.PNG|link=]] '''[[How to Use Session Editor|Session Editor]]''' in Surveyor.
<td width=10>[[image:BlueDot10x10.png|link=]]</td>
<br>
<td>The '''Navigation Set Hide/Show Rule''' is added to a Session and configured using the [[file:WikiLink.PNG|link=]] '''[[How to Use Session Editor|Session Editor]]''' in Surveyor</td>
</tr>
<tr valign="top">
<td width=10>[[image:BlueDot10x10.png|link=]]</td>
<td>The [[file:WikiLink.PNG|link=]] '''[[Session_Rule_List_with_Parameters#Navigation Set Hide/Show Rule|Navigation Set Hide/Show Rule]]''' hides and displays the navigation sets created by the '''Navigation Display Rule'''</td>
</tr>
</table>


<table>
<table width=1000>
<tr valign="top">
<td width=500>[[file:NavPointHideDialog.JPG|500px|link=]]</td>
<td>
<table width=500 bgcolor=#000000 cellpadding=2>
<tr valign="top">
<tr valign="top">
<td>[[file:NavPointHideDialog.JPG|link=]]</td>
<td>
<td>
<table cellpadding=4 bgcolor=#eeeeee>
<table width=496 bgcolor=#ffffb0 cellpadding=2>
<tr valign="top">
<td width=25>[[image:NotePad.PNG|link=]]</td>
<td><span style="font-size: 17px; font-weight: 700;">Notes:'''</span><br>
----
All '''Navigation Sets''' created by the '''Navigation Display Rule''' are visible in Driver by default. If you want to hide any sets until they are needed then use this rule to '''Hide''' them immediately after the sets have been created.</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
 
<table width=1000 cellpadding=4 bgcolor=#eeeeee>
<tr>
<tr>
<td colspan="2">
<td colspan="2">
Line 259: Line 283:
<tr valign="top">
<tr valign="top">
<td>[[file:Gears.PNG|link=]]</td>
<td>[[file:Gears.PNG|link=]]</td>
<td><span style="font-size: 17px;">'''Settings:'''</span><br>
<td><span style="font-size: 17px;">'''Settings:'''</span>
*'''Hide/Show:''' <span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> to select one of these two options. '''Hide''' will make the entire set invisible. '''Show''' will display the next navigation point or more depending on the ''Navigation Mode'' that has been selected for this particular set
<table>
*'''Set ID:''' The unique Navigation Point '''Set ID''' code for the set to be hidden or shown. This must be the same ID as entered in the '''Navigation Display Rule''' and consists of any text characters '''EXCEPT''' the ''SPACE'' character and ''UPPER CASE'' characters</td>
<tr valign="top">
<td width=10>[[image:BlackDot10x10.png|link=]]</td>
<td>'''Hide/Show:''' <span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> to select one of these two options:-
<table>
<tr valign="top">
<td width=10>[[image:BlackDot10x10.png|link=]]</td>
<td> '''Hide''' will make the entire set invisible</td>
</tr>
<tr valign="top">
<td>[[image:BlackDot10x10.png|link=]]</td>
<td>'''Show''' will display the next navigation point or more depending on the '''Navigation Mode''' (see [[image:PageLink.PNG|link=]] '''[[#stepDisplay|Navigation Display Rule]]''' above) that has been selected for this particular set</td>
</tr>
</table>
</td>
</tr>
<tr valign="top">
<td>[[image:BlackDot10x10.png|link=]]</td>
<td>'''Set ID:''' The unique Navigation Point '''Set ID''' code for the set to be hidden or shown. This must be the same ID as entered in the '''Navigation Display Rule''' and consists of any text characters <span style="background-color: red; color: white; font-weight: 700; font-size: 15px">&nbsp;EXCEPT&nbsp;</span> the '''SPACE''' character and '''UPPER CASE''' characters</td>
</tr>
</table>
</td>
</tr>
</tr>
<tr>
<tr>
<td colspan="2">
<td colspan="2">
----</td>
----</td>
</tr>
</table></td>
</tr>
</tr>
</table>
</table>

Revision as of 12:24, 20 September 2023

The information in this Wiki Page applies to TANE, TRS19, Trainz Plus and TRS22. It describes how to configure the various Navigation Point Rules.

For examples of how to use these rules in Trainz Sessions, see the Trainz Wiki Page at:-



Navigation Points are icons that appear at set track locations or on set rail vehicles that indicate destinations for user driven trains and tasks to be performed


The navigation points are created and controlled by the set of Session rules that are described in this document.

  Top   Next Down Bottom

Navigation Display Rule

The Navigation Display Rule settings shown in this example will direct Trainz to create a set of Navigation Points


Notes:

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 A navigation set must be created by the Navigation Display Rule before it can be used by the other navigation rules
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Multiple sets can be created by adding additional copies of this rule - one copy for each set
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 This rule creates the navigation set and displays it. If you have created multiple sets then all of them will be displayed unless you use the Navigation Set Hide/Show Rule to hide those sets you do not want to be seen immediately


The Navigation Display Rule is added to a Session and configured using the Session Editor in Surveyor.

Notes:

The Upper section of the Rule Dialogue Box identifies the Navigation Display Set and how it will operate

Settings:
For the Navigation Set:
Set ID: Each Navigation Point Set must have a unique ID code. This consists of any text characters  EXCEPT  the SPACE character and UPPER CASE characters
Train (optional): You can add a specific locomotive that this Navigation Point set will be applied to
Navigation mode: Select one of three options:-
All points must be completed in sequence - the order of the points listed below is the order in which they must be executed. No exceptions
Points will be completed in sequence, but can be skipped - the order of the points below is the order in which they must be executed but points can be skipped. You cannot go back to complete a missed point
All points must be completed but in any order - the order is not important but no points can be missed. All the Navigation Points in the set will be displayed when this option is selected

Notes:

The lower section of the Rule Dialogue Box defines the individual Navigation Points in this Navigation Display Set

Settings:
For each Navigation Point:
Location: - this can be a trackmark, a trigger, track object or a rolling stock vehicle
Icon: - a graphic icon to be displayed representing the Navigation point. Icons are selected from a preset list
Display text: - a short message up to 25 characters long
Style: - the operational style of the Navigation Point. Select one of:-
Automatic - the Navigation Point will be completed and disappear when the consist reaches its location
Manual - the Navigation Point must be completed by another rule
Require Stop - the Navigation Point will be completed and disappear when the consist stops at its location
Navigation points can be added and deleted, but their order cannot be changed
Add Navigation Point - new points are added by a Left Click on the + icon. The new point will be inserted in the line below
Delete Navigation Point - existing points can be deleted by Left Click on the x icon

  Top Next Up Next Down Bottom

Navigation Set Hide/Show Rule

The Navigation Set Hide/Show Rule is added to a Session and configured using the Session Editor in Surveyor
The Navigation Set Hide/Show Rule hides and displays the navigation sets created by the Navigation Display Rule
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127
Notes:

All Navigation Sets created by the Navigation Display Rule are visible in Driver by default. If you want to hide any sets until they are needed then use this rule to Hide them immediately after the sets have been created.

Settings:
Hide/Show: Left Click to select one of these two options:-
Hide will make the entire set invisible
Show will display the next navigation point or more depending on the Navigation Mode (see Navigation Display Rule above) that has been selected for this particular set
Set ID: The unique Navigation Point Set ID code for the set to be hidden or shown. This must be the same ID as entered in the Navigation Display Rule and consists of any text characters  EXCEPT  the SPACE character and UPPER CASE characters

  Top Next Up Next Down Bottom

Navigation Set Clear Rule

The Navigation Set Clear Rule clears or completes any uncompleted Navigation Points in a set created by the Navigation Display Rule.
The Navigation Set Clear Rule is added to a Session and configured using the Session Editor in Surveyor.


Settings:
  • Set ID: The unique Navigation Point Set ID code for the set to be cleared. This must be the same ID as entered in the Navigation Display Rule and consists of any text characters EXCEPT the SPACE character and UPPER CASE characters

  Top Next Up Next Down Bottom

Navigation Point Complete Rule

The Navigation Point Complete Rule clears or completes the selected Navigation Point in a set created by the Navigation Display Rule. This rule is used to complete Navigation Points with their Style property set to manual.
The Navigation Point Complete Rule is added to a Session and configured using the Session Editor in Surveyor.


Settings:
  • Navigation Point Number A valid number identifying the particular Navigation Point to be completed. If the number entered does not exist then the rule will be ignored
  • Set ID: The unique Navigation Point Set ID code for the set. This must be the same ID as entered in the Navigation Display Rule and consists of any text characters EXCEPT the SPACE character and UPPER CASE characters

  Top Next Up Next Down Bottom

Navigation Set Check Rule

The Navigation Set Check Rule checks if the specified Navigation set has been completed or not completed then executes any following child rules.
The Navigation Set Check Rule is added to a Session and configured using the Session Editor in Surveyor. It is a Parent Rule.


Settings:
  • Set ID: The unique Navigation Point Set ID code for the set to be checked. This must be the same ID as entered in the Navigation Display Rule and consists of any text characters EXCEPT the SPACE character and UPPER CASE characters
  • Complete/Incomplete: Left Click to select one of these two options. The selected Navigation Point Set will be tested to see if it has been Completed (all of its Navigation Points have been cleared/completed) or if it is Incomplete (not all of its Navigation Points have been cleared/completed)

  Top Next Up Next Down Bottom

Wait on Navigation Point Rule

The Wait on Navigation Point Rule waits until the specified Navigation Point in the specified set has been completed then executes any following child rules.
The Wait on Navigation Point Rule is added to a Session and configured using the Session Editor in Surveyor. It is a Parent Rule.


Settings:
  • Navigation Point Number A valid number identifying the particular Navigation Point to be completed. If the number entered does not exist then the rule will be ignored
  • Set ID: The unique Navigation Point Set ID code for the set. This must be the same ID as entered in the Navigation Display Rule and consists of any text characters EXCEPT the SPACE character and UPPER CASE characters

  Top Next Up    


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.