How to Use Session Editor
m (→Trainz Plus and TRS19 Platinum Edition: added rule reset option) |
m |
||
Line 2: | Line 2: | ||
__TOC__ | __TOC__ | ||
− | + | <table> <!-- BEGIN Nav Buttons Table --> | |
+ | <tr valign="top"> | ||
+ | <td width=729><span id="stepWhat"></span> </td> | ||
+ | <td width=46>[[file:BackToTop.png|link=#top|alt=Top|Top]]</td> | ||
+ | <td width=75> </td> | ||
+ | <td width=75>[[file:NextDown.png|link=#stepButton|alt=Next Down|Next Down]]</td> | ||
+ | <td width=75>[[file:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td> | ||
+ | </tr> | ||
+ | </table> <!-- END Nav Buttons Table --> | ||
='''What is the Session Editor'''= | ='''What is the Session Editor'''= | ||
Line 87: | Line 95: | ||
</table> | </table> | ||
<br> | <br> | ||
− | <table | + | <table> <!-- BEGIN Nav Buttons Table --> |
<tr valign="top"> | <tr valign="top"> | ||
− | <td | + | <td width=729><span id="stepButton"></span> </td> |
+ | <td width=46>[[file:BackToTop.png|link=#top|alt=Top|Top]]</td> | ||
+ | <td width=75>[[file:NextUp.png|link=#stepWhat|alt=Next Up|Top]]</td> | ||
+ | <td width=75>[[file:NextDown.png|link=#stepAdding|alt=Next Down|Next Down]]</td> | ||
+ | <td width=75>[[file:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td> | ||
</tr> | </tr> | ||
− | </table> | + | </table> <!-- END Nav Buttons Table --> |
− | + | ||
='''The "Button Bar"'''= | ='''The "Button Bar"'''= | ||
At the bottom of the Session Editor is the "button Bar".<br> | At the bottom of the Session Editor is the "button Bar".<br> | ||
Line 153: | Line 164: | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | <table | + | <table> <!-- BEGIN Nav Buttons Table --> |
<tr valign="top"> | <tr valign="top"> | ||
− | <td | + | <td width=729><span id="stepAdding"></span> </td> |
+ | <td width=46>[[file:BackToTop.png|link=#top|alt=Top|Top]]</td> | ||
+ | <td width=75>[[file:NextUp.png|link=#stepButton|alt=Next Up|Top]]</td> | ||
+ | <td width=75>[[file:NextDown.png|link=#stepCopying|alt=Next Down|Next Down]]</td> | ||
+ | <td width=75>[[file:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td> | ||
</tr> | </tr> | ||
− | </table> | + | </table> <!-- END Nav Buttons Table --> |
− | + | ||
='''Adding Rules to Sessions'''= | ='''Adding Rules to Sessions'''= | ||
<table cellpadding="4" bgcolor=#c1e7e7> | <table cellpadding="4" bgcolor=#c1e7e7> | ||
Line 198: | Line 212: | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | + | <table> <!-- BEGIN Nav Buttons Table --> | |
− | + | ||
− | <table | + | |
<tr valign="top"> | <tr valign="top"> | ||
− | <td>[[file: | + | <td width=729><span id="stepCopying"></span> </td> |
− | <td> | + | <td width=46>[[file:BackToTop.png|link=#top|alt=Top|Top]]</td> |
+ | <td width=75>[[file:NextUp.png|link=#stepAdding|alt=Next Up|Top]]</td> | ||
+ | <td width=75>[[file:NextDown.png|link=#stepExamples|alt=Next Down|Next Down]]</td> | ||
+ | <td width=75>[[file:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td> | ||
</tr> | </tr> | ||
− | </table> | + | </table> <!-- END Nav Buttons Table --> |
+ | ='''Copying Rules Between Sessions'''= | ||
<table cellpadding="4"> | <table cellpadding="4"> | ||
<tr valign="top"> | <tr valign="top"> | ||
Line 212: | Line 228: | ||
<span style="font-weight: 700; background-color: yellow;">This sub-section is also available in text only format suitable for copying and pasting at </span> '''[[media:Copying_Rules_Between_Sessions_TEXT.txt|Copying Rules Between Sessions TEXT]]''' | <span style="font-weight: 700; background-color: yellow;">This sub-section is also available in text only format suitable for copying and pasting at </span> '''[[media:Copying_Rules_Between_Sessions_TEXT.txt|Copying Rules Between Sessions TEXT]]''' | ||
</td> | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <table cellpadding="4" bgcolor=#c1e7e7> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file:DotPoint.JPG|link=]]</td> | ||
+ | <td>'''Rules can be copied between Sessions'''</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
Line 272: | Line 294: | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | < | + | <table> <!-- BEGIN Nav Buttons Table --> |
− | + | <tr valign="top"> | |
+ | <td width=729><span id="stepExamples"></span> </td> | ||
+ | <td width=46>[[file:BackToTop.png|link=#top|alt=Top|Top]]</td> | ||
+ | <td width=75>[[file:NextUp.png|link=#stepCopying|alt=Next Up|Top]]</td> | ||
+ | <td width=75> </td> | ||
+ | <td width=75>[[file:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td> | ||
+ | </tr> | ||
+ | </table> <!-- END Nav Buttons Table --> | ||
='''Examples of Using the Session Editor'''= | ='''Examples of Using the Session Editor'''= | ||
Line 287: | Line 316: | ||
</div> | </div> | ||
<br> | <br> | ||
− | |||
='''Trainz Plus and TRS19 Platinum Edition'''= | ='''Trainz Plus and TRS19 Platinum Edition'''= | ||
Line 296: | Line 324: | ||
*Any individual rule marked as '''Complete was-complete''' can be restarted by right mouse clicking on the rule and selecting the '''Reset''' option from the pop up menu | *Any individual rule marked as '''Complete was-complete''' can be restarted by right mouse clicking on the rule and selecting the '''Reset''' option from the pop up menu | ||
<br> | <br> | ||
− | |||
='''Related Links'''= | ='''Related Links'''= | ||
Line 308: | Line 335: | ||
</table> | </table> | ||
− | <table | + | <table> <!-- BEGIN Nav Buttons Table --> |
<tr valign="top"> | <tr valign="top"> | ||
− | <td | + | <td width=729><span id="bottom"></span> </td> |
+ | <td width=46>[[file:BackToTop.png|link=#top|alt=Top|Top]]</td> | ||
+ | <td width=75>[[file:NextUp.png|link=#stepExamples|alt=Next Up|Top]]</td> | ||
+ | <td width=75> </td> | ||
+ | <td width=75> </td> | ||
</tr> | </tr> | ||
− | </table> | + | </table> <!-- END Nav Buttons Table --> |
---- | ---- | ||
---- | ---- |
Revision as of 10:31, 17 August 2021
The information in this Wiki Page applies to TANE, TRS19 and Trainz Plus.
Contents |
What is the Session Editor
The Session Editor allows you to add, delete and edit the Rules in a Session | |
The Rules control the operation of the Session |
Notes: The Rules added and edited by the Session Editor control:-
to name just a few. |
In TANE the Session Editor is found in the Surveyor Main Menu. In TRS19 and Trainz Plus it has been moved to the Surveyor Edit Menu. In either case select Edit Session from the menu.
When loaded, the Session Editor will show all the Rules that have been added to the Session. If you have just opened the Editor on a Route without a Session then it will show a very basic set of Rules. The Editor will allow you to add additional Rules, and delete or edit those shown. Links to extensive lists of Rules that are built into Trainz or available on the DLS can be found at the end of this document.
|
Rules can be grouped together into lists for convenience (e.g. all the Rules that set signals at the start of the Session) or because they depend on a particular event (e.g. a time, a train arriving at a set point, a wagon being loaded, etc). These form Nested Rules and are indicated by arrow heads as shown in the image above. Click on an arrow head to open up its nested list of child Rules as shown in the image below.
Each of the Rules that have been nested under the Ordered List Rule in the image above have been indented one level to the right. Click the arrow head again to close the list.
More information on the various types of List Rules and how to create Nested Rules can be found on the Trainz Wiki Page at:- |
The "Button Bar"
At the bottom of the Session Editor is the "button Bar".
To use the other buttons, select a Rule first by clicking on it
|
Click to Accept your edits and close the Session Editor | Click to Cancel your edits and close the Session Editor |
The above operations, and more, can also be found by right mouse clicking on a Rule to open up a menu |
|
Adding Rules to Sessions
Click the ADD button to add or insert a new rule |
New rules can be added from those that have been installed in your copy of Trainz.
Clicking the ADD button on the button bar will insert a new rule either:-
- below the selected (highlighted) rule, or
- at the end of the list if no rule is highlighted
Alternatively, right mouse click on a rule and select either:-
- Insert above , or
- Insert below
to position the new rule above or below the selected rule.
A new window showing all the installed and available rules will appear.
|
Select the rule to be added and click the tick icon.
Copying Rules Between Sessions
This sub-section is also available in text only format suitable for copying and pasting at Copying Rules Between Sessions TEXT |
Rules can be copied between Sessions |
The Copy and Paste commands can be used to copy configured rules from one session to another. This saves you having to reenter the same data sets, such as driver commands, in each session.
|
|
Steps:
|
|
|
Warning: | |
The Cut , Copy and Paste operations will NOT correctly copy ALL the settings in some rules, for example the Navigation Display Rule. It is a good idea to check the settings of each rule that you paste into the Session Editor |
Copying the Driver Setup Rule: The Driver Setup Rule can be copied from one Session to another using the method described above, but there are some conditions that must be met for this to work.
|
Examples of Using the Session Editor
Wiki pages that show examples of using the Session Editor to solve particular problems or to carry out particular tasks can be found at the following links:-
Trainz Plus and TRS19 Platinum Edition
Trainz Plus and TRS19 Platinum Edition have the ability to edit saved Driver Games in Surveyor and allowing the edited game to be continued without having to restart the entire Session. This includes using the Session Editor on an active Driver Game Session where some of the Rules may have already been completed and others partially completed. To allow for these possibilities, additional features have been added to the Session Editor in the Plus version.
- Each Rule has a status indication such as complete, was-complete, paused
- A new Button Bar tool has been added. Click to restart ALL the Session Rules
- Any individual rule marked as Complete was-complete can be restarted by right mouse clicking on the rule and selecting the Reset option from the pop up menu
Related Links
Trainz Wiki
More Tutorials and Guides to Using Trainz |
This page was created by Trainz user pware in October 2019 and was last updated as shown below.