How to Use the UDS Interface
m (→Saving) |
m |
||
Line 1: | Line 1: | ||
− | The information in this Wiki Page applies to '''TRS19 Platinum Edition''' | + | The information in this Wiki Page applies to '''TRS19 Platinum Edition''', '''Trainz Plus''' and '''TRS22'''. Older versions of '''Trainz''', including '''T:ANE''' and '''TRS19 (standard)''', do not have the '''UDS''' feature described in this document. A more detailed description of the '''UDS''' can be found on the Trainz Wiki Page [[image:WikiLink.PNG|link=]] '''[[Unified_Driver_Surveyor]]'''. |
__TOC__ | __TOC__ | ||
Line 12: | Line 12: | ||
</table> <!-- END Nav Buttons Table --> | </table> <!-- END Nav Buttons Table --> | ||
='''What is the UDS Interface?'''= | ='''What is the UDS Interface?'''= | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#c1e7e7> |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[image:DotPoint.JPG|link=]]</td> | <td>[[image:DotPoint.JPG|link=]]</td> | ||
Line 19: | Line 19: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:DotPoint.JPG|link=]]</td> | <td>[[file:DotPoint.JPG|link=]]</td> | ||
− | <td>It is only found in '''TRS19 Platinum Edition''' | + | <td>It is only found in '''TRS19 Platinum Edition''', '''Trainz Plus''' and '''TRS22'''</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
</table> | </table> | ||
<br> | <br> | ||
− | '''UDS''' stands for '''U'''nified '''D'''river '''S'''urveyor and is an "interface" or option built into '''TRS19 Platinum Edition''' | + | '''UDS''' stands for '''U'''nified '''D'''river '''S'''urveyor and is an "interface" or option built into '''TRS19 Platinum Edition''', '''Trainz Plus''' and '''TRS22''' that allows you to jump seamlessly from '''Driver''' into '''Surveyor''' and then back into '''Driver''' again to resume a session at the point where you left it. There is no need to restart a '''Driver''' session from the very beginning. |
<table bgcolor=#ffffb0 width=900> | <table bgcolor=#ffffb0 width=900> | ||
<tr valign="top"> | <tr valign="top"> | ||
Line 51: | Line 47: | ||
</table> | </table> | ||
<br> | <br> | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#c1e7e7> |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:DotPoint.JPG|link=]]</td> | <td>[[file:DotPoint.JPG|link=]]</td> | ||
Line 136: | Line 132: | ||
</table> | </table> | ||
<br> | <br> | ||
− | <table bgcolor= | + | <table bgcolor=#000000 width=600> |
<tr valign="top"> | <tr valign="top"> | ||
<td> | <td> | ||
Line 163: | Line 159: | ||
='''Saving'''= | ='''Saving'''= | ||
− | <table bgcolor= | + | <table bgcolor=#000000 width=900> |
<tr valign="top"> | <tr valign="top"> | ||
<td> | <td> | ||
Line 175: | Line 171: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:PencilTips.PNG|link=]]</td> | <td>[[file:PencilTips.PNG|link=]]</td> | ||
− | <td>In '''TRS19 Platinum Edition''' | + | <td>In '''TRS19 Platinum Edition''', '''Trainz Plus''' and '''TRS22''' it is '''<u>strongly recommended</u>''' that all consists be placed into a '''Session Layer''' and become part of a '''Session''' instead of the '''Route''' |
</td> | </td> | ||
</tr> | </tr> | ||
Line 204: | Line 200: | ||
Most of the problems users seem to be experiencing with the '''UDS''', judging from the posts in the Trainz Forums, is when saving their edited '''Driver''' session after switching to '''Surveyor''' mode. <br> | Most of the problems users seem to be experiencing with the '''UDS''', judging from the posts in the Trainz Forums, is when saving their edited '''Driver''' session after switching to '''Surveyor''' mode. <br> | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#c1e7e7> |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:DotPoint.JPG|link=]]</td> | <td>[[file:DotPoint.JPG|link=]]</td> | ||
Line 260: | Line 256: | ||
#switch from Driver to Surveyor and edit when required. You can safely edit any '''Route Layer''' which now includes the moved '''Session layer''' | #switch from Driver to Surveyor and edit when required. You can safely edit any '''Route Layer''' which now includes the moved '''Session layer''' | ||
#after each edit you can save ('''Overwrite''') the Route but do not save the Session. Use <span style="font-weight: 700;">Option <span style="color: white; background-color: red; font-weight: 700; font-size: 15px;"> 1 </span></span> above | #after each edit you can save ('''Overwrite''') the Route but do not save the Session. Use <span style="font-weight: 700;">Option <span style="color: white; background-color: red; font-weight: 700; font-size: 15px;"> 1 </span></span> above | ||
− | + | When you have completed all the editing, saving and switching between '''Driver''' and '''Surveyor''', then:- | |
− | + | #'''exit''' back to the '''Surveyor/Driver''' main screen | |
− | + | #'''reload the original Session''' (the saved Session edits will be in the Route that will be loaded along with the Session) | |
− | + | #move the layer from the '''Route Layer Group''' back to the '''Session Layer Group'''. See [[file:WikiLink.PNG|link=]] '''[[How_to_Use_Layers#Moving_a_Layer|Moving Layers]]''' for more details | |
− | + | #save ('''Overwrite''') both the Route and the Session | |
</td> | </td> | ||
</tr> | </tr> | ||
Line 283: | Line 279: | ||
='''Resetting the Session Rules'''= | ='''Resetting the Session Rules'''= | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#c1e7e7> |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:DotPoint.JPG|link=]]</td> | <td>[[file:DotPoint.JPG|link=]]</td> | ||
Line 294: | Line 290: | ||
The '''Session Editor''' built into all Trainz versions allows you to add, delete and modify the rules that will operate during a Session.<br> | The '''Session Editor''' built into all Trainz versions allows you to add, delete and modify the rules that will operate during a Session.<br> | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor="Aquamarine"> |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:LinkWiki.PNG|link=]]</td> | <td>[[file:LinkWiki.PNG|link=]]</td> | ||
Line 334: | Line 330: | ||
='''Some Questions Answered'''= | ='''Some Questions Answered'''= | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#bbffff> |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[image:Question.PNG|link=|30px]]</td> | <td>[[image:Question.PNG|link=|30px]]</td> | ||
Line 346: | Line 342: | ||
*industries - the commodities and quantities loaded/unloaded are stored in the Session | *industries - the commodities and quantities loaded/unloaded are stored in the Session | ||
*industry enabled wagons - the commodities and quantities carried are stored in the Session | *industry enabled wagons - the commodities and quantities carried are stored in the Session | ||
− | *consist locations - this is stored in the Session ('''TRS19 Platinum Edition''' | + | *consist locations - this is stored in the Session ('''TRS19 Platinum Edition''', '''Trainz Plus''' and '''TRS22''') |
*named route objects - while the name is stored in the Route, adding or changing the name is treated as a change to the Session | *named route objects - while the name is stored in the Route, adding or changing the name is treated as a change to the Session | ||
<br> | <br> | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#bbffff> |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[image:Question.PNG|link=|30px]]</td> | <td>[[image:Question.PNG|link=|30px]]</td> | ||
Line 361: | Line 357: | ||
Pierre ('''pguy'''), the creator of the '''EIT''' asset and associated rules, has a detailed description of this and some possible solutions in a Trainz Forum post at:- '''<span class="plainlinks">[https://forums.auran.com/trainz/showthread.php?159841-Interlocking-Towers-Session-Only&p=1825875#post1825875 EITs and the UDS]</span>'''<br> | Pierre ('''pguy'''), the creator of the '''EIT''' asset and associated rules, has a detailed description of this and some possible solutions in a Trainz Forum post at:- '''<span class="plainlinks">[https://forums.auran.com/trainz/showthread.php?159841-Interlocking-Towers-Session-Only&p=1825875#post1825875 EITs and the UDS]</span>'''<br> | ||
<br> | <br> | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#bbffff> |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[image:Question.PNG|link=|30px]]</td> | <td>[[image:Question.PNG|link=|30px]]</td> | ||
Line 373: | Line 369: | ||
# you may have to reset the '''Driver Setup Rule''' in the '''Session Editor''' particularly if you have added/edited driver commands to the new or altered consist | # you may have to reset the '''Driver Setup Rule''' in the '''Session Editor''' particularly if you have added/edited driver commands to the new or altered consist | ||
<br> | <br> | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#bbffff> |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[image:Question.PNG|link=|30px]]</td> | <td>[[image:Question.PNG|link=|30px]]</td> | ||
Line 384: | Line 380: | ||
A train that is driven into a portal and later returned to the layout will be returned in the same layer as the portal and not in the trains originally assigned layer. Trains that are produced by a portal will be assigned to the same layer as the portal. This has <span style="background-color: yellow; font-weight: 700;"> possibly always been the case with portals </span> but was probably unnoticed until the arrival of the '''UDS'''. It seems to have no other noticeable effect on trains.<br> | A train that is driven into a portal and later returned to the layout will be returned in the same layer as the portal and not in the trains originally assigned layer. Trains that are produced by a portal will be assigned to the same layer as the portal. This has <span style="background-color: yellow; font-weight: 700;"> possibly always been the case with portals </span> but was probably unnoticed until the arrival of the '''UDS'''. It seems to have no other noticeable effect on trains.<br> | ||
− | This could become an issue if you make the switch from '''Driver''' to '''Surveyor''' after a train has been '''returned''' to the layout from a portal. For example, if a train is originally in a '''Session Layer''' (as '''recommended''' for '''TRS19 Platinum''' | + | This could become an issue if you make the switch from '''Driver''' to '''Surveyor''' after a train has been '''returned''' to the layout from a portal. For example, if a train is originally in a '''Session Layer''' (as '''recommended''' for '''TRS19 Platinum Edition''', '''Trainz Plus''' and '''TRS22''') then it is part of a '''Session'''. If it is returned from a portal that is in a '''Route Layer''' then it will now be in the same '''Route Layer''' as the portal and it will be part of the '''Route''', not part of the '''Session'''.<br> |
If you save the '''Route''' after switching to '''Surveyor''' then the train will be saved in the '''Route''' and not in the '''Session'''. If this is an issue then the remedy is to open the property dialogue window of any wagon in the train after it has left the portal and change its assigned layer to the correct one. This will set all vehicles in that train to the same correct layer.<br> | If you save the '''Route''' after switching to '''Surveyor''' then the train will be saved in the '''Route''' and not in the '''Session'''. If this is an issue then the remedy is to open the property dialogue window of any wagon in the train after it has left the portal and change its assigned layer to the correct one. This will set all vehicles in that train to the same correct layer.<br> | ||
Line 402: | Line 398: | ||
='''Trainz Wiki'''= | ='''Trainz Wiki'''= | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#ffffff> |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:TrainzWiki.png|link=]]</td> | <td>[[file:TrainzWiki.png|link=]]</td> |
Revision as of 19:51, 14 March 2022
The information in this Wiki Page applies to TRS19 Platinum Edition, Trainz Plus and TRS22. Older versions of Trainz, including T:ANE and TRS19 (standard), do not have the UDS feature described in this document. A more detailed description of the UDS can be found on the Trainz Wiki Page Unified_Driver_Surveyor.
Contents |
What is the UDS Interface?
The UDS provides a means of quickly switching from Driver mode to Surveyor mode and back to Driver again without having to restart a running session after each switch | |
It is only found in TRS19 Platinum Edition, Trainz Plus and TRS22 |
UDS stands for Unified Driver Surveyor and is an "interface" or option built into TRS19 Platinum Edition, Trainz Plus and TRS22 that allows you to jump seamlessly from Driver into Surveyor and then back into Driver again to resume a session at the point where you left it. There is no need to restart a Driver session from the very beginning.
The Scenario: You are in Driver mode testing out a route and session when you discover a problem. |
Previously (before UDS) your only options would be to:-
In both cases you would have to:-
|
The UDS interface allows you to switch, via a menu option, directly to Surveyor without having to stop and exit Driver mode first |
Using UDS you switch from Driver to Surveyor with the currently active Driver consist still as the focus and at the place it was located when you switched into Surveyor from Driver. |
All the Surveyor tools and options are available for you to use, including the Session Editor (more on that later). | ||
You use the Surveyor tools to fix the problem, such as deleting (as shown left), moving or adding a scenery object. You can then (if you wish) save the edited route and/or session (again there will be more on that later). |
||
You then switch back into Driver to continue driving the session with the problem fixed. |
Switching Modes
Driver Mode to Surveyor | |||||||
Open the Tools Menu and select Surveyor Mode
It also means that ALL other animation effects (smoke, procedural track switch blades, animated scenery assets, sounds, etc) will also be paused. |
|||||||
Surveyor Mode to Driver | |||||||
Open the Tools Menu and select Driver Mode
|
|
Saving
|
|
Most of the problems users seem to be experiencing with the UDS, judging from the posts in the Trainz Forums, is when saving their edited Driver session after switching to Surveyor mode.
Using Driver Mode involves driving consists (either manually or through the AI) and activating rules. These will change the session parameters | |
Overwriting the Session will save the consist locations and Session Rules in their new positions/conditions |
When you are in Driver Mode at least one of the consists will probably be moving. Some of the Session rules may have already been completed while others may still be running or waiting for events (e.g. triggers to be activated).
If, after switching to Surveyor Mode, you then choose to save using the Overwrite existing session option then you will be replacing your original starting Session with a new one with the consists saved in their new positions and the Session rules saved in their new states. So when you later load and restart the Session things will not be the same as they were in the original or starting Session.
Unless you have a particular reason for overwriting the original Session then the recommended save options are:-
Option Do not save session | |
This will only save the Route using its existing name. This will save any edits that you have made to the Route but not to the Session. |
|
Option Create new session | |
This will save the Route using its existing name. It will also save the Session using a new name you enter in the text box below the option (Stage 3 in the example shown). The original Session will not be altered. This is useful when you want to test out changes to consists, industry settings, Rules, driver commands, etc but do not want to destroy the original Session. |
|
|
Resetting the Session Rules
After you switch from Driver Mode to Surveyor Mode it may be necessary to restart or reset some of the Session Rules |
As mentioned above, when Driver Mode is running some of the Session rules may be completed while others may still be running or waiting for certain events (e.g. triggers to be activated). When you switch to Surveyor Mode these rules may be in a different state compared to what they were at the start of the Session. When you restart Driver Mode these rules may not be in a useful condition.
The Session Editor built into all Trainz versions allows you to add, delete and modify the rules that will operate during a Session.
Information on the Session Editor can be found at:- |
To open the Session Editor open the Edit menu and select Edit Session
At the bottom of the Session Editor is a new button, Restart All Rules. This will reset or restart ALL rules in the Session. |
|
Some rules, as shown in the screen shot above, have the label (complete was-complete) after the rule name. This indicates that the rule has already been completed. These rules can be individually restarted by right mouse clicking on the rule and selecting the Reset option from the pop up menu. This will change the rule status to (paused). | |
When the Driver Mode is selected again, all the reset or (paused) rules will be restarted. |
Some Questions Answered
I have only edited assets that are in the Route layers but selecting Save always sets the option to "Overwrite exiting session" as the default. Why? |
Many scenery assets actually have their properties stored in the Session, even when the assets themselves are in a Route layer. Editing the properties of these assets is considered to be a change to the Session. These include:-
- junction switches - the left/right switch direction is stored in the Session (but the switch default direction is stored in the Route)
- industries - the commodities and quantities loaded/unloaded are stored in the Session
- industry enabled wagons - the commodities and quantities carried are stored in the Session
- consist locations - this is stored in the Session (TRS19 Platinum Edition, Trainz Plus and TRS22)
- named route objects - while the name is stored in the Route, adding or changing the name is treated as a change to the Session
Interlocking Towers (including Enhanced Interlocking Towers) show paths as "not editable" after switching to Surveyor Mode. Why? |
If you make the switch from Driver Mode to Surveyor Mode after an IT/EIT path has been activated (but not yet cleared or cancelled) then you will be unable to edit that path. In addition, you will not be able to add new paths to an IT/EIT that has an open active path.
Pierre (pguy), the creator of the EIT asset and associated rules, has a detailed description of this and some possible solutions in a Trainz Forum post at:- EITs and the UDS
Can I add new trains or replace existing trains after switching to Surveyor mode? |
You can add additional trains and replace existing ones when in Surveyor mode but it is advised that:-
- the Paused option be set ON (the default condition) in Surveyor mode, and
- you may have to reset the Driver Setup Rule in the Session Editor particularly if you have added/edited driver commands to the new or altered consist
Does the UDS change how portals work? |
This issue is now under investigation by N3V
A train that is driven into a portal and later returned to the layout will be returned in the same layer as the portal and not in the trains originally assigned layer. Trains that are produced by a portal will be assigned to the same layer as the portal. This has possibly always been the case with portals but was probably unnoticed until the arrival of the UDS. It seems to have no other noticeable effect on trains.
This could become an issue if you make the switch from Driver to Surveyor after a train has been returned to the layout from a portal. For example, if a train is originally in a Session Layer (as recommended for TRS19 Platinum Edition, Trainz Plus and TRS22) then it is part of a Session. If it is returned from a portal that is in a Route Layer then it will now be in the same Route Layer as the portal and it will be part of the Route, not part of the Session.
If you save the Route after switching to Surveyor then the train will be saved in the Route and not in the Session. If this is an issue then the remedy is to open the property dialogue window of any wagon in the train after it has left the portal and change its assigned layer to the correct one. This will set all vehicles in that train to the same correct layer.
Note: It is not recommended that you solve this by moving portals to a Session Layer if you have multiple Sessions because the portals will then only appear in the Session that contains the portals.
Trainz Wiki
More Tutorials and Guides to Using Trainz |
This page was created by Trainz user pware in June 2021 and was last updated as shown below.