How to Use Layers
m (→The Route Layers Group) |
m |
||
(42 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | The information in this Wiki Page applies to '''TANE''', '''TRS19''' | + | The information in this Wiki Page applies to '''TANE''', '''TRS19''', '''Trainz Plus''' (in '''Surveyor Classic''' mode) and '''TRS22'''. |
+ | <table> | ||
+ | <tr valign="top"> | ||
+ | <td> | ||
__TOC__ | __TOC__ | ||
− | + | </td> | |
− | + | <td> | |
− | + | <table cellpadding=4 bgcolor=#c1e7e7> | |
− | <td | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <table cellpadding= | + | |
<tr valign="top"> | <tr valign="top"> | ||
<td colspan=2><span style="font-size: 17px;"><b>In Summary:</b></span></td> | <td colspan=2><span style="font-size: 17px;"><b>In Summary:</b></span></td> | ||
Line 25: | Line 19: | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | + | <br> | |
− | + | <span style="font-weight: 700; Font-size: 15px;">Some Helpful Tips</span><br> | |
− | + | <table bgcolor="black" width=600> | |
− | <table bgcolor="black" | + | <tr> |
+ | <td> | ||
+ | <table bgcolor=#ffffe0 width=596> | ||
+ | <tr> | ||
+ | <td bgcolor="black" colspan=2> | ||
+ | <span style="font-size: 17px; color: white; font-weight: 700;"> Route Layers </span></td> | ||
+ | </tr> | ||
<tr valign="top"> | <tr valign="top"> | ||
+ | <td>[[image:PencilTips.PNG|link=]]</td> | ||
+ | <td>'''Use Route layers for all those objects that will appear in every Session based on the Route'''</td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:PencilTips.PNG|link=]]</td> | ||
+ | <td>'''When you edit Route layers, <u>always</u> save the Route'''</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | <table bgcolor="black" width=600> | ||
+ | <tr> | ||
<td> | <td> | ||
− | <table bgcolor=# | + | <table bgcolor=#ffffe0 width=596> |
+ | <tr> | ||
+ | <td bgcolor="black" colspan=2> | ||
+ | <span style="font-size: 17px; color: white; font-weight: 700;"> Session Layers </span></td> | ||
+ | </tr> | ||
<tr valign="top"> | <tr valign="top"> | ||
− | <td>[[image: | + | <td>[[image:PencilTips.PNG|link=]]</td> |
− | <td>< | + | <td>'''Use Session layers for all those objects that will ONLY appear in the current Session'''</td> |
− | + | </tr> | |
− | + | <tr valign="top"> | |
+ | <td>[[image:PencilTips.PNG|link=]]</td> | ||
+ | <td>'''When you edit Session layers, <u>always</u> save the Session and avoid using <span style="font-size: 15px;">"Default"</span> as the Session name'''</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | <table bgcolor="black" width=600> | ||
+ | <tr> | ||
+ | <td> | ||
+ | <table bgcolor=#ffffe0 width=596> | ||
+ | <tr> | ||
+ | <td bgcolor="black" colspan=2> | ||
+ | <span style="font-size: 17px; color: white; font-weight: 700;"> When Editing </span></td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:PencilTips.PNG|link=]]</td> | ||
+ | <td>'''Lock the layers that you are not currently editing'''</td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:PencilTips.PNG|link=]]</td> | ||
+ | <td>'''Always be aware of which layer is the <span style="font-size: 15px;">Active Layer</span>'''</td> | ||
+ | </tr> | ||
+ | </table> | ||
</td> | </td> | ||
</tr> | </tr> | ||
Line 46: | Line 89: | ||
<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="stepWhat"></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 width=75> </td> |
− | <td width=75>[[file:NextDown.png|link=# | + | <td width=75>[[file:NextDown.png|link=#stepToolS20|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 --> | ||
− | ='''The Layers Tool'''= | + | ='''What Are Layers?'''= |
+ | <br> | ||
+ | Layers can contain any objects, visible and invisible, that can be placed into a layout in '''Surveyor Classic''' using the '''Object''', '''Track''' and '''Train''' tools and using the '''Placement Tool''' in '''Surveyor 2.0'''. The layers and their contents can be hidden from view or locked against alteration whenever required. Their main use is in the development of a Route and a Session but they can also be used as a way of providing some additional novelty during a Driver session.<br> | ||
+ | |||
+ | <table bgcolor=#ffffb0 cellpadding=2> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:NotePad.PNG|link=]]</td> | ||
+ | <td><span style="font-size: 17px; font-weight: 700;">Effect Layers Notes:'''</span><br> | ||
+ | ---- | ||
+ | The special ground effects layers, '''Clutter''', '''TurfFX''' and more recently '''Water''', are not discussed here. They are more like '''Textures''' than '''Layers''' but some aspects of their use and operations are similar to the layers covered here. These special ground effects layers are saved as part of a '''Route''' but are not associated with any '''Route Layer'''. | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | |||
+ | Almost all of what you will see in a Trainz World will be found in layers, and mostly in the '''Route Layers''' and '''Session Layers'''.<br> | ||
+ | |||
+ | <table width=900> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:DotPoint.JPG|link=]]</td> | ||
+ | <td>'''Route Layers''' will contain the objects that will appear in '''ALL''' the sessions created using the current route</td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:DotPoint.JPG|link=]]</td> | ||
+ | <td>'''Session Layers''' will contain the objects that will only appear in the current session</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | |||
+ | ='''<span style="color: black; background-color: cyan;"> The Layers Tool in Surveyor Classic (S10) </span>'''= | ||
<table> | <table> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:SurveyorToolMenuLayers.JPG|150px]]</td> | <td>[[file:SurveyorToolMenuLayers.JPG|150px]]</td> | ||
− | <td><br><br><br><br><br><br><br><br><br><br><br><br><br>[[file:RightArrowRed.JPG|link=]] | + | <td><br><br><br><br><br><br><br><br><br><br><br><br><br>[[file:RightArrowRed.JPG|link=]] |
− | <td>Click the '''Layers Tool''' to open up its properties.<br> | + | <td>Click the '''Layers Tool''' (or press <span style="font-weight: 700; font-size: 17px; color: white; background-color: black;"> F6 </span>) to open up its properties.<br> |
[[file:LayersTools.JPG|480px]]</td> | [[file:LayersTools.JPG|480px]]</td> | ||
<td> | <td> | ||
<br> | <br> | ||
− | <table bgcolor= | + | <table bgcolor=#000000 cellpadding=2> |
<tr valign="top"> | <tr valign="top"> | ||
<td> | <td> | ||
Line 74: | Line 145: | ||
---- | ---- | ||
The layers are organised into two groups:- | The layers are organised into two groups:- | ||
− | + | *'''Route Layers''' in the top group, and | |
− | + | *'''Session Layers''' in the lower group. | |
− | + | Each group can contain multiple layers - the scroll bars next to the layer names shown on the left indicate that there are more layers in each group than can fit into the display window area.</td> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </td> | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Line 98: | Line 158: | ||
<br> | <br> | ||
− | ==Loading a Route and Loading a Session== | + | =='''<span style="color: black; background-color: cyan;"> Loading a Route and Loading a Session </span>'''== |
− | <table cellpadding= | + | |
+ | <table cellpadding=4 bgcolor=#c1e7e7 width="730"> <!-- BEGIN top level --> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td colspan=2><span style="font-size: 17px;"><b>In Summary:</b></span></td> | <td colspan=2><span style="font-size: 17px;"><b>In Summary:</b></span></td> | ||
Line 113: | Line 174: | ||
</table> <!-- END top level --> | </table> <!-- END top level --> | ||
<br> | <br> | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor="Aquamarine"> <!-- BEGIN Trainz Wiki Link --> |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[image:LinkWiki.PNG|link=]]</td> | <td>[[image:LinkWiki.PNG|link=]]</td> | ||
Line 123: | Line 184: | ||
<br> | <br> | ||
The layers you see will depend on whether you have loaded a '''Route''' by itself (with no "child" Session) or a '''Session''' and its "parent" Route. | The layers you see will depend on whether you have loaded a '''Route''' by itself (with no "child" Session) or a '''Session''' and its "parent" Route. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<table> <!-- BEGIN top level --> | <table> <!-- BEGIN top level --> | ||
Line 145: | Line 189: | ||
<td>[[file:LayersToolsRoute.JPG|link=]]</td> | <td>[[file:LayersToolsRoute.JPG|link=]]</td> | ||
<td>[[file:LayersToolsSession.JPG|link=]]</td> | <td>[[file:LayersToolsSession.JPG|link=]]</td> | ||
− | <td> | + | <td>The first image on the left gives an example of the layers that can appear if a '''Route only''' is loaded into Surveyor. These are the layers that are saved with the Route. '''Note that a default "session-layer" is present'''. |
− | + | <table cellpadding=4 bgcolor=#c1e7e7> <!-- BEGIN 2nd level --> | |
− | <table cellpadding= | + | |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:DotPoint.JPG|link=]]</td> | <td>[[file:DotPoint.JPG|link=]]</td> | ||
Line 158: | Line 201: | ||
</tr> | </tr> | ||
</table> <!-- END 2nd level --> | </table> <!-- END 2nd level --> | ||
− | + | The second image on the left gives an example of the layers that can appear if a '''Session based on that Route''' is loaded into Surveyor. It shows Route Layers and Session Layers.<br><br> | |
In both cases, the '''Route Layers''' are identical because the same Route has been loaded. A Session contains its own layers, the '''Session Layers''', that are loaded and saved with the Session but are not loaded or saved with the Route.<br> | In both cases, the '''Route Layers''' are identical because the same Route has been loaded. A Session contains its own layers, the '''Session Layers''', that are loaded and saved with the Session but are not loaded or saved with the Route.<br> | ||
− | <table bgcolor= | + | <table bgcolor=#000000> <!-- BEGIN 2nd level Black Border --> |
<tr valign="top"> | <tr valign="top"> | ||
<td> | <td> | ||
− | <table bgcolor=# | + | <table bgcolor=#ffffe0> <!-- BEGIN 2nd level Tip --> |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:PencilTips.PNG|link=]]</td> | <td>[[file:PencilTips.PNG|link=]]</td> | ||
Line 172: | Line 215: | ||
<tr> | <tr> | ||
<td>[[file:LayersToolButtonsLOCKALL.JPG|link=]]</td> | <td>[[file:LayersToolButtonsLOCKALL.JPG|link=]]</td> | ||
− | <td>Click the '''Lock Button'''</td> | + | <td>Click the '''Lock Button''' |
+ | </td> | ||
</tr> | </tr> | ||
</table> <!-- END 3rd level --> | </table> <!-- END 3rd level --> | ||
Line 180: | Line 224: | ||
</td> | </td> | ||
</tr> | </tr> | ||
− | </table> | + | </table> |
+ | <br> <!-- END 2nd level Black Border --> | ||
</td> | </td> | ||
</tr> | </tr> | ||
</table> <!-- END top level --> | </table> <!-- END top level --> | ||
− | |||
<br> | <br> | ||
− | <table cellpadding=" | + | <table bgcolor="red" cellpadding=2> |
+ | <tr valign="top"> | ||
+ | <td> | ||
+ | <table bgcolor=#fcbcbc cellpadding=2> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:Stop.PNG|link=]]</td> | <td>[[file:Stop.PNG|link=]]</td> | ||
− | <td><span style="font-size: 17px;">< | + | <td><span style="font-size: 17px; font-weight: 700;">If you load a <span style="text-decoration: underline;">ROUTE</span> but not the SESSION then only <span style="text-decoration: underline;">edit the Route Layers</span></span></td> |
</tr> | </tr> | ||
<tr valign="top"> | <tr valign="top"> | ||
− | <td>[[file: | + | <td>[[file:Stop.PNG|link=]]</td> |
− | <td><span style="font-size: 17px;">'''If you | + | <td><span style="font-size: 17px;">'''If you edit a <span style="text-decoration: underline;">SESSION</span> or its layers then always <span style="text-decoration: underline;">save the Session</span>'''</span></td> |
</tr> | </tr> | ||
<tr valign="top"> | <tr valign="top"> | ||
− | <td>[[file: | + | <td>[[file:Stop.PNG|link=]]</td> |
− | <td><span style="font-size: 17px;">''' | + | <td><span style="font-size: 17px;">'''When you save a new <span style="text-decoration: underline;">SESSION</span> always give it a name, do <span style="text-decoration: underline;">NOT</span> leave it as "Default"</span> |
+ | </td> | ||
</tr> | </tr> | ||
− | + | </table> | |
− | + | </td> | |
− | + | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | |||
− | ==Creating a New Route== | + | =='''<span style="color: black; background-color: cyan;"> Creating a New Route </span>'''== |
<table> | <table> | ||
Line 216: | Line 262: | ||
<td>[[file:LayersNewRoute.JPG|link=]]</td> | <td>[[file:LayersNewRoute.JPG|link=]]</td> | ||
<td> | <td> | ||
− | <table bgcolor= | + | <table bgcolor=#000000 width=604> |
<tr valign="top"> | <tr valign="top"> | ||
<td> | <td> | ||
Line 228: | Line 274: | ||
</td> | </td> | ||
</tr> | </tr> | ||
− | < | + | <tr valign="top"> |
− | <table width=600 bgcolor=# | + | <td colspan=2> |
+ | <table width=600 bgcolor=#ffffe0> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:PencilTips.PNG|link=]]</td> | <td>[[file:PencilTips.PNG|link=]]</td> | ||
− | <td>'''A layer can be renamed at anytime by double clicking on its name with the left mouse button and typing a new name'''</td> | + | <td>'''A layer can be renamed at anytime by double clicking on its name with the left mouse button and typing a new name''' |
+ | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
Line 244: | Line 292: | ||
</tr> | </tr> | ||
</table> | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | |||
+ | =='''<span style="color: black; background-color: cyan;"> The "Active Layer" </span>'''== | ||
− | + | <table cellpadding=4 bgcolor=#c1e7e7> | |
− | <table cellpadding= | + | |
<tr valign="top"> | <tr valign="top"> | ||
<td colspan=2><span style="font-size: 17px;"><b>In Summary:</b></span></td> | <td colspan=2><span style="font-size: 17px;"><b>In Summary:</b></span></td> | ||
Line 266: | Line 318: | ||
<br> | <br> | ||
− | <table | + | <table width=900> |
+ | <tr valign="top"> | ||
+ | <td width=484> | ||
+ | <table bgcolor=#000000 width=464> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td> | <td> | ||
− | <table | + | <table bgcolor=#ffffb0 width=460> |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:NotePad.PNG|link=]]</td> | <td>[[file:NotePad.PNG|link=]]</td> | ||
Line 283: | Line 338: | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | < | + | </td> |
− | <table | + | <td width=12> </td> |
+ | <td width=484> | ||
+ | <table bgcolor="red" width=464> | ||
<tr valign="top"> | <tr valign="top"> | ||
− | <td | + | <td> |
− | + | <table bgcolor=#fcbcbc width=460> | |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:Stop.PNG|link=]]</td> | <td>[[file:Stop.PNG|link=]]</td> | ||
− | <td>'''Trainz''' does not identify which is the '''Active Layer''' in Surveyor and this often leads to problems such as objects being added to the wrong layer.<br> | + | <td>'''Trainz''' does not identify which is the '''Active Layer''' in '''Surveyor''' and this often leads to problems such as objects being added to the wrong layer.<br> |
− | See [[file:PageLink.PNG|link=]] '''[[#Adding Objects To Layers|Adding Objects To Layers]]''' below for more information.</td> | + | See [[file:PageLink.PNG|link=]] '''[[#Adding Objects To Layers|Adding Objects To Layers]]''' below for more information. |
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
<br> | <br> | ||
− | + | =='''<span style="color: black; background-color: cyan;"> Adding a New Layer </span>'''== | |
− | ==Adding a New Layer== | + | |
<table> | <table> | ||
Line 311: | Line 374: | ||
<td>[[file:LayersAddLayer.JPG|link=]]</td> | <td>[[file:LayersAddLayer.JPG|link=]]</td> | ||
<td> | <td> | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#ffffff> |
<tr> | <tr> | ||
<td colspan="2"> | <td colspan="2"> | ||
Line 328: | Line 391: | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | <table bgcolor= | + | <table bgcolor=#000000> |
<tr valign="top"> | <tr valign="top"> | ||
<td> | <td> | ||
− | <table bgcolor=# | + | <table bgcolor=#ffffe0> |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:PencilTips.PNG|link=]]</td> | <td>[[file:PencilTips.PNG|link=]]</td> | ||
Line 344: | Line 407: | ||
</table> | </table> | ||
− | ==Deleting a Layer== | + | =='''<span style="color: black; background-color: cyan;"> Deleting a Layer </span>'''== |
+ | <table bgcolor="red" width=300> | ||
+ | <tr valign="top"> | ||
+ | <td> | ||
+ | <table bgcolor=#fcbcbc width=296> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file:Stop.PNG|link=]]</td> | ||
+ | <td><span style="font-size: 15px; font-weight: 700;">WARNING:</span><br> | ||
+ | '''Deleting Layers''' cannot be undone | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
<table> | <table> | ||
<tr> | <tr> | ||
Line 353: | Line 431: | ||
</table> | </table> | ||
<br> | <br> | ||
− | <table | + | <table bgcolor="red" width=900> |
<tr valign="top"> | <tr valign="top"> | ||
− | <td | + | <td> |
+ | <table bgcolor=#fcbcbc width=896> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file:Stop.PNG|link=]]</td> | ||
+ | <td>'''Deleting a layer will delete ALL the objects placed in that layer''' except objects that are "Bound" to that layer. See [[file:PageLink.PNG|link=]] '''[[#The Bound Layer|The Bound Layer]]''' section below.</td> | ||
</tr> | </tr> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:Stop.PNG|link=]]</td> | <td>[[file:Stop.PNG|link=]]</td> | ||
− | <td> | + | <td>In '''TRS19''' and later '''Trainz''' versions there will be a delay when deleting a layer. The delay will be indicated by a progress bar but can take several minutes on very large routes.<br> |
− | + | <span style="color: white; background-color: red; font-weight: 700;"> Resist any urge to click the Cancel button </span><br> | |
− | + | This delay will occur '''every time''' a layer is deleted.</td> | |
− | + | </tr> | |
+ | <tr valign="top"> | ||
+ | <td>[[file:Stop.PNG|link=]]</td> | ||
+ | <td>Due to a "bug" '''deleting a layer that contains a ruler will not delete the ruler'''. It will be hidden from view but it may reappear if another layer with the same name as the deleted layer is created or it will, eventually, reappear in the '''route-layer'''. | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
</td> | </td> | ||
</tr> | </tr> | ||
Line 373: | Line 461: | ||
<td>[[file:LayerDeleteEmpty.JPG|link=]]</td> | <td>[[file:LayerDeleteEmpty.JPG|link=]]</td> | ||
<td> | <td> | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#ffffff> |
<tr> | <tr> | ||
<td colspan="2"> | <td colspan="2"> | ||
Line 388: | Line 476: | ||
----</td> | ----</td> | ||
</tr> | </tr> | ||
− | </table></td> | + | </table> |
+ | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
Line 398: | Line 487: | ||
<td>[[file:LayerDeleteNotEmpty.JPG|link=]]</td> | <td>[[file:LayerDeleteNotEmpty.JPG|link=]]</td> | ||
<td> | <td> | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#ffffff> |
<tr> | <tr> | ||
<td colspan="2"> | <td colspan="2"> | ||
Line 406: | Line 495: | ||
<td>[[file:Choices.PNG|link=]]</td> | <td>[[file:Choices.PNG|link=]]</td> | ||
<td><span style="font-size: 17px;">'''Choices:'''</span><br> | <td><span style="font-size: 17px;">'''Choices:'''</span><br> | ||
− | *Click '''Merge''' to merge this layer and its contents into another layer. See '''Merging Layers''' below for more information | + | *Click '''Merge''' to merge this layer and its contents into another layer. See '''Merging Layers''' below for more information |
− | *Click '''Delete''' to delete the layer and its contents | + | *Click '''Delete''' to delete the layer and its contents |
*Click '''Cancel''' to cancel the delete operation</td> | *Click '''Cancel''' to cancel the delete operation</td> | ||
+ | </tr> | ||
+ | </table> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td colspan="2"> | <td colspan="2"> | ||
− | ---- | + | ---- |
− | + | </td> | |
− | + | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | ==Merging Layers== | + | =='''<span style="color: black; background-color: cyan;"> Merging Layers </span>'''== |
+ | <table bgcolor="red" width=300> | ||
+ | <tr valign="top"> | ||
+ | <td> | ||
+ | <table bgcolor=#fcbcbc width=296> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file:Stop.PNG|link=]]</td> | ||
+ | <td><span style="font-size: 15px; font-weight: 700;">WARNING:</span><br> | ||
+ | '''Merging Layers''' cannot be undone | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
<table> | <table> | ||
<tr> | <tr> | ||
Line 426: | Line 531: | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#c1e7e7> |
<tr valign="top"> | <tr valign="top"> | ||
<td colspan=2><span style="font-size: 17px;"><b>In Summary:</b></span></td> | <td colspan=2><span style="font-size: 17px;"><b>In Summary:</b></span></td> | ||
Line 439: | Line 544: | ||
</tr> | </tr> | ||
</table> | </table> | ||
+ | <br> | ||
+ | <table bgcolor="red" width=900> | ||
+ | <tr valign="top"> | ||
+ | <td> | ||
+ | <table bgcolor=#fcbcbc> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file:Stop.PNG|link=]]</td> | ||
+ | <td>In '''TRS19''' and later '''Trainz''' versions there will be a delay when merging a layer. The delay will be indicated by a progress bar but can take several minutes on very large routes.<br> | ||
+ | <span style="color: white; background-color: red; font-weight: 700;"> Resist any urge to click the Cancel button </span><br> | ||
+ | This delay will occur '''every time''' a layer is merged. | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
The layer merge dialogue window will appear as shown below:- | The layer merge dialogue window will appear as shown below:- | ||
Line 446: | Line 568: | ||
<td>[[file:LayersMergeInto.JPG|link=]]</td> | <td>[[file:LayersMergeInto.JPG|link=]]</td> | ||
<td> | <td> | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#ffffff> |
<tr> | <tr> | ||
<td colspan="2"> | <td colspan="2"> | ||
Line 463: | Line 585: | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</td> | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | ==Locking Layers== | + | =='''<span style="color: black; background-color: cyan;"> Locking Layers </span>'''== |
− | <table bgcolor= | + | <table bgcolor=#000000> |
<tr valign="top"> | <tr valign="top"> | ||
<td> | <td> | ||
− | <table bgcolor=# | + | <table bgcolor=#ffffe0> |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:PencilTips.PNG|link=]]</td> | <td>[[file:PencilTips.PNG|link=]]</td> | ||
Line 496: | Line 605: | ||
</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 503: | Line 612: | ||
</table> | </table> | ||
<br> | <br> | ||
− | ===Locking Individual Layers=== | + | ===<span style="color: black; background-color: cyan;"> Locking Individual Layers </span>=== |
'''To LOCK an individual layer, click on the ''Open Padlock'' icon next to its name.''' The layer being locked does not have to be the current '''Active Layer'''. | '''To LOCK an individual layer, click on the ''Open Padlock'' icon next to its name.''' The layer being locked does not have to be the current '''Active Layer'''. | ||
− | <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 532: | Line 641: | ||
</table> | </table> | ||
− | ===Locking ALL Route Layers=== | + | ===<span style="color: black; background-color: cyan;"> Locking ALL Route Layers </span>=== |
<table> | <table> | ||
Line 545: | Line 654: | ||
The Route Layers Group can be UNLOCKED by clicking the '''Lock Button''' again. | The Route Layers Group can be UNLOCKED by clicking the '''Lock Button''' again. | ||
− | ==Moving a Layer== | + | =='''<span style="color: black; background-color: cyan;"> Moving a Layer </span>'''== |
− | <table cellpadding= | + | |
+ | <table cellpadding=4 bgcolor=#c1e7e7> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td colspan=2><span style="font-size: 17px;"><b>Main Points:</b></span></td> | <td colspan=2><span style="font-size: 17px;"><b>Main Points:</b></span></td> | ||
Line 562: | Line 672: | ||
</table> | </table> | ||
<br> | <br> | ||
− | <table | + | <table bgcolor="red" width=900> |
<tr valign="top"> | <tr valign="top"> | ||
− | <td | + | <td> |
− | + | <table bgcolor=#fcbcbc width=896> | |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:Stop.PNG|link=]]</td> | <td>[[file:Stop.PNG|link=]]</td> | ||
<td> | <td> | ||
− | In '''TRS19''' | + | In '''TRS19''' and later '''Trainz''' versions there will be a delay when moving a layer. The delay will be indicated by a progress bar but can take several minutes on very large routes<br> |
+ | <span style="color: white; background-color: red; font-weight: 700;"> Resist any urge to click the Cancel button </span><br> | ||
+ | This delay will occur '''every time''' a layer is moved. | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
</td> | </td> | ||
</tr> | </tr> | ||
Line 580: | Line 695: | ||
<td>[[file:LayersMove3.JPG|link=]]</td> | <td>[[file:LayersMove3.JPG|link=]]</td> | ||
<td> | <td> | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#ffffff> |
<tr> | <tr> | ||
<td colspan="2"> | <td colspan="2"> | ||
Line 601: | Line 716: | ||
*The only situation where layer order within a layer group makes any difference is when adding track objects (e.g. signals, track signs, etc) to a track. | *The only situation where layer order within a layer group makes any difference is when adding track objects (e.g. signals, track signs, etc) to a track. | ||
<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 614: | Line 729: | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | ==Hiding Layers== | + | |
+ | =='''<span style="color: black; background-color: cyan;"> Hiding Layers </span>'''== | ||
To hide or show a layer click the '''Eye Icon''' next to its name. | To hide or show a layer click the '''Eye Icon''' next to its name. | ||
Line 630: | Line 746: | ||
<td> | <td> | ||
*In the image shown left the '''Trees''' layer has its '''Eye Icon''' set to '''Hide'''<br><br> | *In the image shown left the '''Trees''' layer has its '''Eye Icon''' set to '''Hide'''<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 638: | Line 754: | ||
<td>[[file:DotPoint.JPG|link=]]</td> | <td>[[file:DotPoint.JPG|link=]]</td> | ||
<td>'''Layers that are hidden when saved in ''Surveyor'' will also be hidden when loaded in ''Driver''.'''<td> | <td>'''Layers that are hidden when saved in ''Surveyor'' will also be hidden when loaded in ''Driver''.'''<td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | |||
+ | =='''<span style="color: black; background-color: cyan;"> Adding Objects To Layers </span>'''== | ||
+ | |||
+ | When an object (such as a scenery item, consist, track or track object) is added to the layout it is automatically placed in the currently '''Active Layer'''. Unfortunately, '''Surveyor Classic (S10)''' does not indicate which layer is the '''Active Layer''' unless you open the Layers Tool to look. This can lead to objects being placed into the wrong layers and while these objects can later be moved to another layer (see the section [[file:PageLink.PNG|link=]] '''[[#Moving Objects To Other Layers|Moving Objects To Other Layers]]''' below) it would be better to correctly set the '''Active Layer''' first. | ||
+ | <br><br> | ||
+ | <table bgcolor=#000000> | ||
+ | <tr valign="top"> | ||
+ | <td> | ||
+ | <table bgcolor=#ffffe0> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file:PencilTips.PNG|link=]]</td> | ||
+ | <td>It is good practice to '''LOCK ALL LAYERS that you are not currently editing.''' This will avoid the all too common problem of accidentally adding objects to the wrong layer. | ||
+ | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
Line 644: | Line 778: | ||
</table> | </table> | ||
<br> | <br> | ||
+ | <table cellpadding=4 bgcolor=#c1e7e7> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file:DotPoint.JPG|link=]]</td> | ||
+ | <td>'''You cannot add objects to a layer that is LOCKED.'''</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | |||
+ | If you attempt to add a scenery object to a locked layer you will receive the following message:- | ||
+ | <table> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file:LayersRouteTreesActiveLockedError.JPG|link=]]<br> | ||
+ | *Click the [[file:Tick.PNG|link=]] icon to '''UNLOCK the layer'''.</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | <table cellpadding=4 bgcolor=#c1e7e7> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file:DotPoint.JPG|link=]]</td> | ||
+ | <td>When adding track objects (signals, speed signs, etc) to a track, the '''objects being added must be in the same layer as the track or in a layer below the track layer'''. For more information, see the section [[file:PageLink.PNG|link=]] '''[[#The "route-layer"|The "route-layer"]]''' above.</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | <table bgcolor=#000000 width=1000> | ||
+ | <tr valign="top"> | ||
+ | <td> | ||
+ | <table bgcolor=#ffffb0 width=996> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file:NotePad.PNG|link=]]</td> | ||
+ | <td><span style="font-size: 17px;">'''Notes:'''</span><br> | ||
+ | ---- | ||
+ | There are many features of '''Trainz Routes''' and '''Sessions''' that are '''NOT stored in layers'''. In some cases while the objects themselves may be placed in layers, their settings or properties are not. These include:- | ||
+ | <div style="column-count:2;-moz-column-count:2;-webkit-column-count:2"> | ||
+ | *landforms | ||
+ | *textures | ||
+ | *'''TurfFX''' and '''Clutter''' ground effects | ||
+ | *trackside camera '''settings''' | ||
+ | *weather conditions | ||
+ | *time of day | ||
+ | *session rules and driver commands | ||
+ | *signal and junctions '''settings''' | ||
+ | *rolling stock loads | ||
+ | *industry '''settings''' | ||
+ | *portal settings | ||
+ | *passenger station '''settings''' | ||
+ | *navigation points | ||
+ | *interlocking tower '''settings''' [[file:BugMini.PNG|link=]] | ||
+ | </div> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file:DotPoint.JPG|link=]]</td> | ||
+ | <td>Landforms, textures, effect layers (TurfFX, Clutter) and some Environment settings are saved as part of the '''Route''' while all the others are saved as part of a '''Session'''</td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file:DotPoint.JPG|link=]]</td> | ||
+ | <td>When you enter or edit the name of a route layer scenery object, such as a station name board, that change will be treated as a change to the '''Session''' but the new or edited name will still be saved as a property of the scenery object in a '''Route''' layer. When you save, you will be given the option of saving the '''Session''' as well as the '''Route'''. You can ignore the offer to save the '''Session''' if you have not edited any objects in a '''Session Layer''', the '''Session Layers''' themselves (e.g. moved, merged, deleted or renamed) or other '''Session''' properties (e.g. commodity levels or loads). <span style="background-color: yellow; font-weight: 700;"> If uncertain, always save the Session </span> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file:Bug.png|link=|30px]]</td> | ||
+ | <td>A bug has been reported in the '''Interlocking Towers''' (and the '''Enhanced Interlocking Towers''') where the path and settings are initially saved in the '''Route''' but any later edits and changes are then saved in the '''Session'''. The workaround for this is to always load the '''Session''' when working with '''IT''' and '''EIT''' assets. This problem has not been resolved in the latest versions of '''Trainz'''. | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | |||
+ | =='''<span style="color: black; background-color: cyan;"> Deleting Objects From Layers </span>'''== | ||
+ | |||
+ | <table bgcolor=#000000 width=900> | ||
+ | <tr valign="top"> | ||
+ | <td> | ||
+ | <table bgcolor=#ffffe0> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file:PencilTips.PNG|link=]]</td> | ||
+ | <td> | ||
+ | *It is good practice to '''LOCK ALL LAYERS that you are not currently editing.''' This will avoid the all too common problem of accidentally deleting objects from the wrong layer. | ||
+ | *An exception to this "good practice" is when managing rulers. Unless you have used a dedicated ruler layer for all rulers it can be difficult to discover which layer contains a particular ruler. If rulers are not added to a dedicated layer then you will need to unlock and unhide all the layers first before you can use the '''Delete Ruler''' tool. | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | <table cellpadding=4 bgcolor=#c1e7e7> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file:DotPoint.JPG|link=]]</td> | ||
+ | <td>'''You cannot delete objects from a layer that is LOCKED.'''</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | Unfortunately '''Trainz''' does not give you a warning message when you attempt to delete an object from a locked layer, the object just refuses to be deleted. | ||
+ | <br> | ||
+ | <table bgcolor=#000000> | ||
+ | <tr valign="top"> | ||
+ | <td> | ||
+ | <table bgcolor=#ffffe0> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file:PencilTips.PNG|link=]]</td> | ||
+ | <td>If you cannot delete an object then check:- | ||
+ | *that the objects layer and bound layer (if it has been set) are unlocked | ||
+ | *that you are using the correct delete tool (e.g. such as attempting to delete a tree with the spline, signal or rolling stock delete tool) - it happens! | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | |||
+ | =='''<span style="color: black; background-color: cyan;"> Moving Objects To Other Layers </span>'''== | ||
+ | |||
+ | <table> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file:LayersObjectProperties.JPG|link=]]</td> | ||
+ | <td> | ||
+ | <table cellpadding=4 bgcolor=#ffffff> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file:Steps.PNG|link=]]</td> | ||
+ | <td><span style="font-size: 17px;">'''Steps:'''</span><br> | ||
+ | To move individual objects from one layer to another:- | ||
+ | #Open the '''Properties''' window ('''?''' button in the '''Object Tools''') of the object to be moved | ||
+ | #Click the '''Layer''' or one of the '''scroll buttons''' | ||
+ | #Select the new layer | ||
+ | #Click the [[file:Tick.PNG|link=]] icon | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td colspan="2"> | ||
+ | ----</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | <table cellpadding=4 bgcolor=#c1e7e7> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file:DotPoint.JPG|link=]]</td> | ||
+ | <td>'''You can move an object into and out of a locked layer'''</td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file:DotPoint.JPG|link=]]</td> | ||
+ | <td>Rulers cannot be moved to a different layer because they do not have a properties window. If it is necessary to move a ruler to another layer, it must be manually created in the desired layer (using the '''Add Ruler''' tool), then the pre-existing ruler must be deleted (using the '''Delete Ruler''' tool). </td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file:DotPoint.JPG|link=]]</td> | ||
+ | <td>Multiple scenery objects can be simultaneously moved to another layer by using the '''Bulk Asset Update/Replacement''' tool from the '''Surveyor Tools Menu'''. The exception to this is spline objects (including track splines) which must be moved segment by segment</td> | ||
+ | </tr> | ||
+ | </table></td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[file:LayersObjectPropertiesChangeLayer.JPG|link=]]</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | |||
+ | <table> <!-- BEGIN Nav Buttons Table --> | ||
+ | <tr valign="top"> | ||
+ | <td width=729><span id="stepToolS20"></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=#stepRouteSession|alt=Next Down|Next Down]]</td> | ||
+ | <td width=75>[[file:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td> | ||
+ | </tr> | ||
+ | </table> <!-- END Nav Buttons Table --> | ||
+ | |||
+ | ='''<span style="color: white; background-color: blue;"> The Layers Palette in Surveyor 2.0 (S20) </span>'''= | ||
+ | |||
+ | '''Surveyor 2.0''' is currently only available for '''Trainz Plus Standard''' and '''Trainz Plus Gold''' subscription members.<br> | ||
+ | |||
+ | <table width=1000> | ||
+ | <tr valign="top"> | ||
+ | <td width=600>'''Layers''' are found in the '''Layers Palette'''.<br> | ||
+ | |||
+ | <table> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:LayersPalette_S20_ListsClosed.png|link=|alt=Layers Palette in S20]]</td> | ||
+ | <td>The '''Layers Palette''' will show all the layers in their groups ('''Effect''', '''Route''' and '''Session''') plus the '''Ground Height''' and '''Ground Textures''' special "layers". In the image on the left all the layer groups have been minimised (the "arrow" symbol to the left of each group name is pointing to the right). | ||
+ | |||
+ | <table> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:DotPoint.JPG|link=]]</td> | ||
+ | <td>The '''Route Layers Group''', along with the '''Ground Height''', '''Ground Textures''' and '''Effect Layers''', are saved and loaded with the Route</td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:DotPoint.JPG|link=]]</td> | ||
+ | <td>The '''Session Layers Group''' are saved and loaded with the Session</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td colspan=2> | ||
+ | =='''<span style="color: white; background-color: blue;"> Lock the Route Layer Group </span>'''== | ||
+ | |||
+ | All the layers in the '''Route Layer Group''' can be locked against accidental alteration.<br> | ||
+ | The '''Route Layer Group''' has a padlock icon next to its name - shown as [[image:LayerUnLocked_S20.png|link=]] (unlocked). | ||
+ | *'''Left''' click on the '''unlocked''' icon to lock '''ALL''' the layers in the '''Route Layer Group''' | ||
+ | :The icon will change to [[image:LayerLocked_S20.png|link=]] (locked) | ||
+ | *'''Left''' click on the '''locked''' icon to unlock all its layers. | ||
+ | <br> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | |||
+ | </td> | ||
+ | <td width=400> | ||
+ | <table bgcolor=#000000 width=400 cellpadding=2> | ||
+ | <tr valign="top"> | ||
+ | <td> | ||
+ | <table bgcolor=#ffffb0 width=396 cellpadding=2> | ||
+ | <tr valign="top"> | ||
+ | <td width=22>[[image:NotePad.PNG|link=]]</td> | ||
+ | <td width=374><span style="font-size: 17px; font-weight: 700;">Notes:'''</span><br> | ||
+ | ---- | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td colspan=2> | ||
+ | If the '''Layers Palette''' is not shown on the screen, then:- | ||
+ | <table> | ||
+ | <tr valign="top"> | ||
+ | <td width=175>[[image:WindowsMenu_S20.png|link=|alt=Windows Menu]]</td> | ||
+ | <td> | ||
+ | <table> | ||
+ | <tr valign="top"> | ||
+ | <td>1. </td> | ||
+ | <td>open the '''Window Menu''' from the menu icons at the top of the screen</td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>2. </td> | ||
+ | <td>'''Left''' click on the '''Layers Palette''' name</td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td colspan=2>to add a tick and make it visible.</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | |||
+ | <br> | ||
+ | =='''<span style="color: white; background-color: blue;"> Open a Layer Group </span>'''== | ||
+ | <br> | ||
+ | To the left of each '''Layer Group''' name is a small arrow. '''Left''' click on the arrow to open up the group.<br> | ||
+ | <table width=1000> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:LayersPalette_S20_SessionLayersOpen.png|link=|alt=Layers palette with session layers open]]</td> | ||
+ | <td>The image on the left shows that the '''Session Layers Group''' is open and its individual layers are now displayed. To close or minimise the group '''Left''' click on the arrow again.<br> | ||
+ | The image shows that the '''Session Layers Group''' contains 3 individual layers:- | ||
+ | * the top layer is always named '''session-layer''' and is always present even in a new route where you have not yet added anything | ||
+ | * likewise, the top layer in the '''Route Layers Group''' is always named '''route-layer''' and is also always present | ||
+ | * there are two user created layers named '''Track Markers''' and '''Rail Workers''' (layer names are chosen by the creator and do not necessarily indicate their contents or purpose)</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | <br> | ||
+ | =='''<span style="color: white; background-color: blue;"> Add a New Layer </span>'''== | ||
+ | <br> | ||
+ | You cannot create new layer groups but you can add new layers to a existing group.<br> | ||
+ | Each Layer Group has a [[image:LayerAdd_S20.png|link=]] icon next to its name. '''Left''' click on the icon to add and name a new layer to that group. If you are adding a new '''Effect Layer''' then you will also have to identify the type of effect - '''TurfFX''', '''Clutter''' or '''Water'''. | ||
+ | <br> | ||
+ | <br> | ||
+ | =='''<span style="color: white; background-color: blue;"> Renaming a Layer </span>'''== | ||
+ | <table width=1000> | ||
+ | <tr valign="top"> | ||
+ | <td width=120>[[image:LayerRename_S20.png|link=]]</td> | ||
+ | <td>'''Right''' click on a layer name and select <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;"> Rename Layer.. </span> from the popup menu.<br><br> | ||
+ | You will be asked to enter a new name for the layer.</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | <br> | ||
+ | =='''<span style="color: white; background-color: blue;"> Deleting a Layer </span>'''== | ||
+ | <table width=1000> | ||
+ | <tr valign="top"> | ||
+ | <td width=120>[[image:LayerDelete_S20.png|link=]]</td> | ||
+ | <td>'''Right''' click on a layer name and select <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;"> Delete Layer </span> from the popup menu.<br> | ||
+ | You will be given a warning that you are about to delete a layer. | ||
+ | *if you confirm the delete order then the layer and '''<u>all its contents</u>''' will be deleted | ||
+ | *depending on the contents of the layer, the process may take some time. You will be shown a progress bar during the deleting operation | ||
+ | *the deleted layer and its contents can be restored (after the delete has completed) using the <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;"> Ctrl </span> <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;"> Z </span> keys | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | <br> | ||
+ | =='''<span style="color: white; background-color: blue;"> Moving a Layer </span>'''== | ||
+ | Layers can be individually moved up and down within the same layer group or between the '''Route Layers Group''' and the '''Session Layers Group'''. <br> | ||
+ | <table bgcolor=#000000 width=900 cellpadding=2> | ||
+ | <tr valign="top"> | ||
+ | <td> | ||
+ | <table bgcolor=#ffffb0 width=896 cellpadding=2> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:NotePad.PNG|link=]]</td> | ||
+ | <td><span style="font-size: 17px; font-weight: 700;">Notes:'''</span><br> | ||
+ | ---- | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:DotPoint.JPG|link=]]</td> | ||
+ | <td>Moving a layer between the '''Session Layer Group''' and the '''Route Layer Group''' will move the layer and its contents between the Route and the Session and this will affect where the layer and its contents are saved</td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:DotPoint.JPG|link=]]</td> | ||
+ | <td>There is no advantage in moving a layer '''within''' the same layer group except when preparing for a layer merge operation (see '''Merging a Layer''' below)</td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:DotPoint.JPG|link=]]</td> | ||
+ | <td>layers in the '''Effect Layers Group''' cannot be moved</td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:DotPoint.JPG|link=]]</td> | ||
+ | <td>layers from the other groups cannot be moved into the '''Effect Layers Group'''</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | |||
+ | '''Left''' click on a layer name and, while holding the left button down, drag the layer up or down to its new position. | ||
+ | *depending on the contents of the layer, the process may take some time. You will be shown a progress bar during the move operation | ||
+ | *the move can be reversed (after it has completed) by using the <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;"> Ctrl </span> <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;"> Z </span> keys | ||
+ | <br> | ||
+ | <br> | ||
+ | =='''<span style="color: white; background-color: blue;"> Merging a Layer </span>'''== | ||
+ | <table> | ||
+ | <tr valign="top"> | ||
+ | <td width=120>[[image:LayerMerge_S20.png|link=]]</td> | ||
+ | <td>'''Right''' click on a layer name and select <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;"> Merge Layer Up </span> from the popup menu.<br> | ||
+ | *the selected layer will be merged with the layer '''immediately above''' it | ||
+ | *you may need to move the layer being merged into the correct position before the merge (see '''Moving a Layer''' above) | ||
+ | *depending on the contents of the layer, the process may take some time. You will be shown a progress bar during the merge operation | ||
+ | *the merged layers and their contents can be restored (after the merge has completed) back into two separate layers by using the <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;"> Ctrl </span> <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;"> Z </span> keys | ||
+ | *layers in the '''Effect Layers Group''' cannot be merged. In place of <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;"> Merge Layer Up </span> the '''Effect Layers''' will have an <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;"> Edit Layer </span> command | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | <br> | ||
+ | =='''<span style="color: white; background-color: blue;"> Hiding Layers </span>'''== | ||
+ | Each individual layer has an '''Eye''' icon that controls the state ('''visible''' or '''hidden''') of that layer. '''Left''' click on the icon to toggle its state between '''visible''' and '''hidden'''.<br> | ||
+ | If the '''Eye''' is:- | ||
+ | :[[image:LayerEyerOpen_S20.png|link=]] open then layer is '''visible''' in both Surveyor and Driver | ||
+ | :[[image:LayerEyerClosed_S20.png|link=]] closed then layer is '''hidden''' in both Surveyor and Driver | ||
+ | <br> | ||
+ | <br> | ||
+ | =='''<span style="color: white; background-color: blue;"> Locking Layers </span>'''== | ||
+ | Each individual layer has a '''Padlock''' icon that controls the state ('''locked''' or '''unlocked''') of that layer. '''Left''' click on the icon to toggle its state between '''locked''' and '''unlocked'''.<br> | ||
+ | If the '''Padlock''' is:- | ||
+ | :[[image:LayerUnLocked_S20.png|link=]] open then the layer is '''unlocked''' and can be edited | ||
+ | :[[image:LayerLocked_S20.png|link=]] closed then the layer is '''locked''' and cannot be edited | ||
+ | <table bgcolor=#000000 width=900 cellpadding=2> | ||
+ | <tr valign="top"> | ||
+ | <td> | ||
+ | <table bgcolor=#ffffb0 width=896 cellpadding=2> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:NotePad.PNG|link=]]</td> | ||
+ | <td><span style="font-size: 17px; font-weight: 700;">Notes:'''</span><br> | ||
+ | ---- | ||
+ | <table> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:DotPoint.JPG|link=]]</td> | ||
+ | <td>Locking a layer will protect its contents from being individually selected, deleted and physically moved</td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:DotPoint.JPG|link=]]</td> | ||
+ | <td>New assets cannot be added to a locked layer</td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:DotPoint.JPG|link=]]</td> | ||
+ | <td>Locked layers can still be deleted, renamed, moved and merged</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | <br> | ||
+ | =='''<span style="color: white; background-color: blue;"> Setting the Active Layer </span>'''== | ||
+ | <br> | ||
+ | <table width=1000> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:LayersPalette_S20_ActiveLayer.png|link=|alt=Active layer selected]]</td> | ||
+ | <td>the '''Active Layer''' is the layer where new objects will be automatically added when using the '''Placement Tool'''. The active layer is shown in the palette with its name on a blue background. In the image on the left the '''Rail Workers''' layer is the current '''Active Layer'''.<br> | ||
+ | |||
+ | The name of the current '''Active Layer''' is also shown in the '''Layer Palette Title Bar'''.<br> | ||
+ | |||
+ | To set a new '''Active Layer''', '''Double Left''' click on a layer name. | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | <br> | ||
+ | =='''<span style="color: white; background-color: blue;"> Move an Object to a New Layer </span>'''== | ||
+ | <br> | ||
+ | <table cellpadding=4 bgcolor=#ffffff width=1000> | ||
+ | <tr valign="top"> | ||
+ | <td colspan=2>The '''Info Palette''' will show the layer assigned to the currently selected object. An object is selected by using the '''Free Move Tool''' (the <span style="font-weight:700; font-size: 17px; color: white; background-color: black;"> S </span> key) or the '''Fine Adjustment Tool''' (the <span style="font-weight:700; font-size: 17px; color: white; background-color: black;"> D </span> key) found in the '''Tools Palette'''.<br> | ||
+ | <br> | ||
+ | To the left of the layer name is a small arrow object.</td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td> | ||
+ | [[image:TrackmarkInfo_S20.png|link=|alt=Info palette]]<br><br> | ||
+ | [[image:TrackmarkLayerInfo_S20.png|link=|alt=Layer control]] | ||
+ | </td> | ||
+ | <td> | ||
+ | <table> | ||
+ | <tr valign="top"> | ||
+ | <td>[[image:Tools_S20.png|link=|alt=Tools and keymap for S20]]<br> | ||
+ | # click the small arrow next to the layer name. This will open the layer properties for the selected object | ||
+ | # click the '''Layer''' drop down box to select a new layer for the object | ||
+ | # if required, click the '''Binding''' drop down box to select a new binding layer for the object | ||
+ | # if required, click the <span style="font-weight: 700; font-size: 17px; color: white; background-color: black;"> Lock Layer </span> button to lock the selected layer. If the layer is already locked then this will be shown as an <span style="font-weight: 700; font-size: 17px; color: white; background-color: black;"> Unlock Layer </span> button | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | |||
<table> <!-- BEGIN Nav Buttons Table --> | <table> <!-- BEGIN Nav Buttons Table --> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td width=729><span id="stepRouteSession"></span> </td> | <td width=729><span id="stepRouteSession"></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=#stepWhat|alt=Next Up|Top]]</td> |
− | <td width=75>[[file:NextDown.png|link=# | + | <td width=75>[[file:NextDown.png|link=#stepBound|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> | ||
Line 658: | Line 1,227: | ||
This topic has filled endless threads in the '''Trainz Forums''' with arguments raging on both sides. | This topic has filled endless threads in the '''Trainz Forums''' with arguments raging on both sides. | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#c1e7e7> |
<tr valign="top"> | <tr valign="top"> | ||
<td colspan=2><span style="font-size: 17px;"><b>In Summary:</b></span></td> | <td colspan=2><span style="font-size: 17px;"><b>In Summary:</b></span></td> | ||
Line 664: | Line 1,233: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:DotPoint.JPG|link=]]</td> | <td>[[file:DotPoint.JPG|link=]]</td> | ||
− | <td>In general, there are no "cast iron" rules that dictate what should be placed in the '''Route Layers Group''' and what should be placed in the '''Session Layers Group''' (for an exception see ''' | + | <td>In general, there are no "cast iron" rules that dictate what should be placed in the '''Route Layers Group''' and what should be placed in the '''Session Layers Group''' (for an exception see '''TRS19 Platinum Edition, Trainz Plus, TRS22 Notes''' below). Each Route and Session will be different and different creators have different ways of working. The main question to be asked is how many different '''Sessions''' will be created using a particular '''Route'''?</td> |
</tr> | </tr> | ||
</table> | </table> | ||
<br> | <br> | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#ffffb0> |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:NotePad.PNG|link=]]</td> | <td>[[file:NotePad.PNG|link=]]</td> | ||
Line 678: | Line 1,247: | ||
:Many creators build multiple Sessions for each Route and rely on the Session Layers to create the differences between their Sessions. | :Many creators build multiple Sessions for each Route and rely on the Session Layers to create the differences between their Sessions. | ||
*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'''. Unless you have a particular reason for saving the edited data (such as a change to commodities) you can '''usually''' ignore the offer to save the Session. These assets include:- | *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'''. Unless you have a particular reason for saving the edited data (such as a change to commodities) you can '''usually''' ignore the offer to save the Session. These assets include:- | ||
− | **junction switches - the left/right switch direction is | + | **junction switches - the left/right switch direction is stored in the Session (but the '''default''' switch 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 | **industry enabled wagons - the commodities and quantities carried are stored in the Session | ||
− | **consist locations ('''TRS19 Platinum Edition''' | + | **consist locations ('''TRS19 Platinum Edition''', '''Trainz Plus''' and '''TRS22''') - this is stored in the Session (unless you need to save their new locations, you can safely ignore the offer to save the Session) |
− | **named route objects ('''TRS19 Platinum Edition''' | + | **named route objects ('''TRS19 Platinum Edition''', '''Trainz Plus''' and '''TRS22''') - while the name is stored in the Route, adding or changing the name is treated as a change to the Session |
</td> | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
<br> | <br> | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#ffffb0> |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:NotePad.PNG|link=]]</td> | <td>[[file:NotePad.PNG|link=]]</td> | ||
− | <td><span style="font-size: 17px; font-weight: 700;"> | + | <td><span style="font-size: 17px; font-weight: 700;">TRS19 Platinum Edition, Trainz Plus, TRS22 Notes:</span><br> |
---- | ---- | ||
− | *The '''recommended''' practice in these versions of Trainz is to place all consists in a '''session layer''' and '''NOT''' in a '''route layer'''. Because these versions | + | *The '''recommended''' practice in these versions of Trainz is to place all consists in a '''session layer''' and '''NOT''' in a '''route layer'''. Because these versions have the '''Unified Driver Surveyor''' Interface, placing a train in a route layer after switching from Driver to Surveyor can cause problems. For example: |
**If active Driver consists (i.e. those under manual or AI control) are in a route layer and you switch from Driver to Surveyor to edit the route and save the route edit, then those consists will be saved in their new positions, not their starting positions for the session. | **If active Driver consists (i.e. those under manual or AI control) are in a route layer and you switch from Driver to Surveyor to edit the route and save the route edit, then those consists will be saved in their new positions, not their starting positions for the session. | ||
− | *Recent experiments using the '''Unified Driver Surveyor''' have indicated that when portals produce trains they will be placed into the same layer as the portal - so if a train that is in a '''Session layer''' enters a portal that is in a '''Route layer''' and is later returned to the layout, it will be returned in the same '''Route layer''' as the portal. This has ''possibly always been the case'' with portals but has not been noticed until the arrival of the '''Unified Driver Surveyor''' | + | *Recent experiments using the '''Unified Driver Surveyor''' Interface have indicated that when portals produce trains they will be placed into the same layer as the portal - so if a train that is in a '''Session layer''' enters a portal that is in a '''Route layer''' and is later returned to the layout, it will be returned in the same '''Route layer''' as the portal. This has ''possibly always been the case'' with portals but has not been noticed until the arrival of the '''Unified Driver Surveyor''' Interface |
For more details see the Trainz Wiki page [[image:WikiLink.PNG|link=]]'''[[How_to_Use_the_UDS_Interface|How to Use the UDS Interface]]'''</td> | For more details see the Trainz Wiki page [[image:WikiLink.PNG|link=]]'''[[How_to_Use_the_UDS_Interface|How to Use the UDS Interface]]'''</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
<br> | <br> | ||
− | ==The Route Layers Group== | + | =='''The Route Layers Group'''== |
− | <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 713: | Line 1,282: | ||
*A '''Ruler Layer''' if you are using rulers. Although rulers obey layer behavior (lock and hide) just like all other objects and splines, they have no properties window to show their layer or allow you to change that layer. Consider placing all rulers in a dedicated layer to make their management easier. <span style="background-color: red; color: white; font-weight: 700;"> NOTE: </span> Due to a bug in TANE/TRS19, deleting a dedicated '''Ruler Layer''' will not delete the rulers but will '''temporarily''' hide them from view. Rulers will still have to be deleted individually. | *A '''Ruler Layer''' if you are using rulers. Although rulers obey layer behavior (lock and hide) just like all other objects and splines, they have no properties window to show their layer or allow you to change that layer. Consider placing all rulers in a dedicated layer to make their management easier. <span style="background-color: red; color: white; font-weight: 700;"> NOTE: </span> Due to a bug in TANE/TRS19, deleting a dedicated '''Ruler Layer''' will not delete the rulers but will '''temporarily''' hide them from view. Rulers will still have to be deleted individually. | ||
− | <table bgcolor= | + | <table bgcolor=#000000> |
<tr valign="top"> | <tr valign="top"> | ||
<td> | <td> | ||
− | <table bgcolor=# | + | <table bgcolor=#ffffe0> |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:PencilTips.PNG|link=]]</td> | <td>[[file:PencilTips.PNG|link=]]</td> | ||
Line 731: | Line 1,300: | ||
===The "route-layer"=== | ===The "route-layer"=== | ||
− | <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 740: | Line 1,309: | ||
While all layers are equal, the "route-layer" is special. | While all layers are equal, the "route-layer" is special. | ||
− | <table | + | <table bgcolor="red" width=900> |
<tr valign="top"> | <tr valign="top"> | ||
− | <td | + | <td> |
− | + | <table bgcolor=#fcbcbc width=896> | |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:Stop.PNG|link=]]</td> | <td>[[file:Stop.PNG|link=]]</td> | ||
− | <td>'''Track objects''', such as signals, junctions and track signs, ''cannot'' be placed in any layer that is above the layer | + | <td>'''Track objects''', such as signals, junctions and track signs, ''cannot'' be placed in any layer that is above the layer containing the track that they are attached to. If the '''route-layer''' is used for all the track and track objects and this layer is left as the top layer then this will never be a problem. |
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
<br> | <br> | ||
− | <table bgcolor= | + | <table bgcolor=#000000 cellpadding=2> |
<tr valign="top"> | <tr valign="top"> | ||
<td> | <td> | ||
− | <table bgcolor=# | + | <table bgcolor=#ffffe0> |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:PencilTips.PNG|link=]]</td> | <td>[[file:PencilTips.PNG|link=]]</td> | ||
Line 768: | Line 1,341: | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | |||
− | ==The Session Layers Group== | + | =='''The Session Layers Group'''== |
− | <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 780: | Line 1,353: | ||
If you are creating more than one Session based around a particular Route, then you will probably make use of the Session Layers. | If you are creating more than one Session based around a particular Route, then you will probably make use of the Session Layers. | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#ffffb0> |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:NotePad.PNG|link=]]</td> | <td>[[file:NotePad.PNG|link=]]</td> | ||
Line 791: | Line 1,364: | ||
</td> | </td> | ||
</tr> | </tr> | ||
− | < | + | <tr valign="top"> |
− | <table | + | <td colspan=2> |
+ | <table bgcolor=#000000> | ||
+ | <tr valign="top"> | ||
+ | <td> | ||
+ | <table bgcolor=#ffffe0> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:PencilTips.PNG|link=]]</td> | <td>[[file:PencilTips.PNG|link=]]</td> | ||
<td> | <td> | ||
− | *'''It is a good idea to place ALL the consists in the same Session Layer | + | *'''It is a good idea to place ALL the consists in the same Session Layer and this is strongly <u>recommended</u> for Trainz Plus and TRS22 which have the UDS interface'''. It is also important if different consists are going to be coupled together during the running of a Session |
− | *'''When you first save a Session, give it a distinctive and informative name.''' Avoid the temptation to use '''Default''' as the name of your Session as you can easily end up with several Sessions | + | *'''When you first save a Session, give it a distinctive and informative name.''' Avoid the temptation to use '''Default''' as the name of your Session as you can easily end up with several Sessions all called '''Default''' |
+ | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br> | ||
+ | |||
+ | ===The "session-layer"=== | ||
+ | |||
+ | An empty '''session-layer''' will be automatically created when you:- | ||
+ | *load a route without also loading a session, or | ||
+ | *create a new route | ||
+ | If you add anything to the '''session-layer''' or add new layers to the '''Session Layers Group''' and do not save the session before you exit from '''Trainz''' then these changes will be lost. | ||
<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="stepBound"></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=#stepRouteSession|alt=Next Up|Top]]</td> | <td width=75>[[file:NextUp.png|link=#stepRouteSession|alt=Next Up|Top]]</td> | ||
− | <td width=75>[[file:NextDown.png|link=# | + | <td width=75>[[file:NextDown.png|link=#stepDriver|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 --> | ||
− | =''' | + | ='''The Bound Layer'''= |
− | + | This is a little used and probably little understood layer feature. It allows you to attach an object to two different layers so it can have the properties (locked/unlocked and show/hide) of both layers. The bound layer was introduced as a development tool, its sole use is as a tool in the building of routes and sessions. | |
− | + | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#c1e7e7 width=900> |
<tr valign="top"> | <tr valign="top"> | ||
− | <td>[[file: | + | <td>[[file:DotPoint.JPG|link=]]</td> |
− | <td> | + | <td>'''An object will be LOCKED and cannot be deleted or moved if its layer OR its <span style="text-decoration: underline;">bound layer</span> is locked.''' |
</tr> | </tr> | ||
− | |||
− | |||
− | |||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:DotPoint.JPG|link=]]</td> | <td>[[file:DotPoint.JPG|link=]]</td> | ||
− | <td>''' | + | <td>'''An object will be HIDDEN if its layer OR its <span style="text-decoration: underline;">bound layer</span> is hidden.''' |
</tr> | </tr> | ||
− | |||
− | |||
− | |||
− | |||
<tr valign="top"> | <tr valign="top"> | ||
− | <td>[[file: | + | <td>[[file:DotPoint.JPG|link=]]</td> |
− | + | <td>'''Rulers cannot be bound to another layer.''' | |
</tr> | </tr> | ||
</table> | </table> | ||
<br> | <br> | ||
− | + | Some applications:- | |
+ | *Temporarily locking an object by binding it to a locked layer while allowing other objects in the same unlocked layer to be moved or deleted. A simple but very effective development technique is to create a Route layer called "Locked" and then lock it. If you need to temporarily stop an object from being deleted or moved then it can be bound to the "Locked" layer. | ||
+ | *Temporarily hiding an object by binding it to a hidden layer (this will require the hidden layer to be made visible so the object can be unbound). | ||
+ | <br> | ||
+ | <table bgcolor=#000000 width=900> | ||
<tr valign="top"> | <tr valign="top"> | ||
− | <td>[[file: | + | <td> |
− | <td> | + | <table bgcolor=#ffffe0 width=896> |
+ | <tr valign="top"> | ||
+ | <td>[[file:PencilTips.PNG|link=]]</td> | ||
+ | <td>If you are going to be working with multiple objects that will be bound to a locked or hidden layer then a simple strategy is to:- | ||
+ | #Create a new empty layer called "Locked" or "Hidden" and lock or hide that layer, according to your needs | ||
+ | #Bind the individual objects to that layer as required | ||
+ | #When editing, testing or whatever you are doing has been completed simply delete the new layer. All objects that have been bound to that layer will have their '''Bound Layer''' property reset to '''none''' so the hidden objects will reappear and the locked objects will be unlocked | ||
+ | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</td> | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
<br> | <br> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | <table bgcolor=#000000 width=900> | |
− | <table | + | |
<tr valign="top"> | <tr valign="top"> | ||
− | |||
<td> | <td> | ||
− | + | <table bgcolor=#ffffe0 width=896> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<tr valign="top"> | <tr valign="top"> | ||
− | <td>[[file: | + | <td>[[file:PencilTips.PNG|link=]]</td> |
− | <td> | + | <td>If you need to remove an object from a route but cannot alter the route (e.g. it is payware or under another users kuid) then create a new hidden session layer and change the bound layer of the object to the hidden layer. This will be treated as a change to the session only and Trainz will not ask you to save the route as well as the session. |
+ | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | + | </td> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
</table> | </table> | ||
<br> | <br> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | =''' | + | =='''<span style="color: black; background-color: cyan;"> Setting the Bound Layer in Surveyor Classic (S10) </span>'''== |
<table> | <table> | ||
<tr valign="top"> | <tr valign="top"> | ||
− | <td>[[file: | + | <td>[[file:LayersBoundLayer.JPG|link=]]</td> |
− | <td> | + | <td><br> |
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#ffffff> |
+ | <tr> | ||
+ | <td colspan="2"> | ||
+ | ----</td> | ||
+ | </tr> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:Steps.PNG|link=]]</td> | <td>[[file:Steps.PNG|link=]]</td> | ||
<td><span style="font-size: 17px;">'''Steps:'''</span><br> | <td><span style="font-size: 17px;">'''Steps:'''</span><br> | ||
− | + | In the '''Properties Window''' of an object:- | |
− | # | + | #Click the '''Bounding Layer''' box or one of its '''scroll buttons''' |
− | + | #Select the layer to be used as the '''Bound Layer''' for the object (an object cannot be bound to its own layer) | |
− | + | The effects of the binding can be reversed by setting the '''Bound Layer''' back to '''''<none>'''''.</td> | |
− | + | ||
− | </td> | + | |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td colspan="2"> | <td colspan="2"> | ||
----</td> | ----</td> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</tr> | </tr> | ||
</table></td> | </table></td> | ||
− | |||
− | |||
− | |||
</tr> | </tr> | ||
</table> | </table> | ||
<br> | <br> | ||
− | + | <table cellpadding=4 bgcolor=#c1e7e7> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <table cellpadding= | + | |
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:DotPoint.JPG|link=]]</td> | <td>[[file:DotPoint.JPG|link=]]</td> | ||
− | <td>''' | + | <td>'''When a layer is deleted any objects bound to that layer will have their ''Bound Layer'' reset to ''<none>''''' |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
</table> | </table> | ||
<br> | <br> | ||
− | + | ||
− | + | =='''<span style="color: white; background-color: blue;"> Setting the Bound Layer in Surveyor 2.0 (S20) </span>'''== | |
− | + | ||
+ | '''Surveyor 2.0''' is currently only available for '''Trainz Plus Standard''' and '''Trainz Plus Gold''' subscription members.<br> | ||
<table> | <table> | ||
<tr valign="top"> | <tr valign="top"> | ||
− | <td>[[ | + | <td>[[image:BindingLayerSet_S20.png|link=|alt=Set Binding]]</td> |
<td><br> | <td><br> | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#ffffff> |
<tr> | <tr> | ||
<td colspan="2"> | <td colspan="2"> | ||
Line 1,010: | Line 1,510: | ||
<td>[[file:Steps.PNG|link=]]</td> | <td>[[file:Steps.PNG|link=]]</td> | ||
<td><span style="font-size: 17px;">'''Steps:'''</span><br> | <td><span style="font-size: 17px;">'''Steps:'''</span><br> | ||
− | In the ''' | + | Select an object using either the '''Free Move Tool''' or the '''Fine Adjustment Tool''' from the '''Tools Palette'''. In the '''Info Palette''' of the object:- |
− | # | + | #Open the '''Layer''' properties of the object |
+ | #Click the '''Bounding''' box or one of its '''scroll buttons''' | ||
#Select the layer to be used as the '''Bound Layer''' for the object (an object cannot be bound to its own layer) | #Select the layer to be used as the '''Bound Layer''' for the object (an object cannot be bound to its own layer) | ||
The effects of the binding can be reversed by setting the '''Bound Layer''' back to '''''<none>'''''.</td> | The effects of the binding can be reversed by setting the '''Bound Layer''' back to '''''<none>'''''.</td> | ||
Line 1,023: | Line 1,524: | ||
</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> | ||
<td>'''When a layer is deleted any objects bound to that layer will have their ''Bound Layer'' reset to ''<none>''''' | <td>'''When a layer is deleted any objects bound to that layer will have their ''Bound Layer'' reset to ''<none>''''' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</tr> | </tr> | ||
</table> | </table> | ||
Line 1,054: | Line 1,536: | ||
<td width=729><span id="stepDriver"></span> </td> | <td width=729><span id="stepDriver"></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=#stepRouteSession|alt=Next Up|Top]]</td> |
<td width=75>[[file:NextDown.png|link=#bottom|alt=Next Down|Next Down]]</td> | <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> | ||
Line 1,084: | Line 1,566: | ||
=='''Using Session Rules'''== | =='''Using Session Rules'''== | ||
<br> | <br> | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#ffffff> |
<tr valign="top"> | <tr valign="top"> | ||
<td width="58">[[file:RulesWiki.PNG|link=]]</td> | <td width="58">[[file:RulesWiki.PNG|link=]]</td> | ||
Line 1,095: | Line 1,577: | ||
*'''[[Session_Rule_List_with_Parameters#Message_Popup_Rule|Message Popup Rule]]''' - to open a browser window with a message | *'''[[Session_Rule_List_with_Parameters#Message_Popup_Rule|Message Popup Rule]]''' - to open a browser window with a message | ||
<br> | <br> | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#ffffff> |
<tr valign="top"> | <tr valign="top"> | ||
<td width="58">[[file:screenshot.PNG|link=]]</td> | <td width="58">[[file:screenshot.PNG|link=]]</td> | ||
Line 1,108: | Line 1,590: | ||
</table> | </table> | ||
<br> | <br> | ||
− | <table cellpadding= | + | <table cellpadding=4 bgcolor=#ffffff> |
<tr valign="top"> | <tr valign="top"> | ||
<td width="58">[[file:explanation.PNG|link=]]</td> | <td width="58">[[file:explanation.PNG|link=]]</td> | ||
Line 1,116: | Line 1,598: | ||
</table> | </table> | ||
In this example:- | In this example:- | ||
− | *The '''Trackside Check Rule''' is triggered when a specific train comes to a stop at a trackmark. This then executes the following rules:- | + | *The '''Trackside Check Rule''' is triggered when a specific train comes to a stop at a trackmark. This then executes the following rules in order:- |
**The '''Show/Hide Layer Rule''' is used to hide the layer named "People". Four passengers (three standing and one seated) are hidden. | **The '''Show/Hide Layer Rule''' is used to hide the layer named "People". Four passengers (three standing and one seated) are hidden. | ||
**The '''Show/Hide Layer Rule''' is used to hide the layer named "CNJCartsFull". The boxes and mail bags on the three platform trolleys are hidden. | **The '''Show/Hide Layer Rule''' is used to hide the layer named "CNJCartsFull". The boxes and mail bags on the three platform trolleys are hidden. | ||
Line 1,125: | Line 1,607: | ||
<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=#stepBound|alt=Next Up|Top]]</td> |
<td width=75> </td> | <td width=75> </td> | ||
<td width=75> </td> | <td width=75> </td> | ||
Line 1,134: | Line 1,616: | ||
='''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 16:03, 4 January 2023
The information in this Wiki Page applies to TANE, TRS19, Trainz Plus (in Surveyor Classic mode) and TRS22.
|
What Are Layers?
Layers can contain any objects, visible and invisible, that can be placed into a layout in Surveyor Classic using the Object, Track and Train tools and using the Placement Tool in Surveyor 2.0. The layers and their contents can be hidden from view or locked against alteration whenever required. Their main use is in the development of a Route and a Session but they can also be used as a way of providing some additional novelty during a Driver session.
Effect Layers Notes: The special ground effects layers, Clutter, TurfFX and more recently Water, are not discussed here. They are more like Textures than Layers but some aspects of their use and operations are similar to the layers covered here. These special ground effects layers are saved as part of a Route but are not associated with any Route Layer. |
Almost all of what you will see in a Trainz World will be found in layers, and mostly in the Route Layers and Session Layers.
Route Layers will contain the objects that will appear in ALL the sessions created using the current route | |
Session Layers will contain the objects that will only appear in the current session |
The Layers Tool in Surveyor Classic (S10)
Loading a Route and Loading a Session
In Summary: | ||
Route Layers are saved with the Route. Session Layers are saved with the Session. | ||
If you edit a Session Layer and later load just the Route then those edits will not appear. |
More information on creating, loading and saving Routes and Sessions can be found on the Trainz Wiki Page at Route and Session Basics |
The layers you see will depend on whether you have loaded a Route by itself (with no "child" Session) or a Session and its "parent" Route.
The first image on the left gives an example of the layers that can appear if a Route only is loaded into Surveyor. These are the layers that are saved with the Route. Note that a default "session-layer" is present.
The second image on the left gives an example of the layers that can appear if a Session based on that Route is loaded into Surveyor. It shows Route Layers and Session Layers. In both cases, the Route Layers are identical because the same Route has been loaded. A Session contains its own layers, the Session Layers, that are loaded and saved with the Session but are not loaded or saved with the Route.
|
|
Creating a New Route
|
The "Active Layer"
In Summary: | |
The Active Layer is the selected (highlighted) layer. | |
When you load the Route only into Surveyor, the first Route layer will be the Active Layer | |
When you load a Session into Surveyor, the first Session layer will be the Active Layer |
In the image above, the route-layer is the Active Layer. You can change the Active Layer at any time by clicking on the name of another layer.
|
|
Adding a New Layer
Click the Add Button |
An Add layer dialogue window will appear.
|
Deleting a Layer
|
Select the layer to be deleted and click the Delete Button. If you don't select a layer to delete then Trainz will select the current Active Layer. |
|
If the layer being deleted is empty, then the following dialogue window will appear:-
|
If the layer being deleted is NOT empty, then the following dialogue window will appear:-
| |||||
|
Merging Layers
|
Select the layer to be merged into another layer and click the Merge Button. If you don't select a layer to merge then Trainz will select the current Active Layer. |
In Summary: | |
Merging a layer into another layer will move ALL the objects from the first layer into the second layer. The first layer, which is now empty, will then be deleted. | |
Once layers have been merged they cannot be separated. |
|
The layer merge dialogue window will appear as shown below:-
|
Locking Layers
|
If you LOCK or UNLOCK a Route Layer while editing a Session then you will have made a change to the Route and will be asked to save both the Route and the Session when you exit Surveyor. |
Locking Individual Layers
To LOCK an individual layer, click on the Open Padlock icon next to its name. The layer being locked does not have to be the current Active Layer.
The objects in a LOCKED layer cannot be moved (around the layout) or deleted but they can be moved to other layers. |
|
If you attempt to add a scenery object to a locked layer you will receive the following message:-
|
Locking ALL Route Layers
Click the Lock Button |
This will LOCK ALL the layers in the Route Layers Group. The Session Layers Group will not be affected.
The Route Layers Group can be UNLOCKED by clicking the Lock Button again.
Moving a Layer
Main Points: | |
Layers can be moved up or down
|
|
A layer containing track objects (e.g. signals, switches, etc) CANNOT be placed above the layer containing the track |
|
In the example shown below a layer created in the Route Layers Group is being moved into the Session Layers Group.
|
Hiding Layers
To hide or show a layer click the Eye Icon next to its name.
|
||||||
|
Adding Objects To Layers
When an object (such as a scenery item, consist, track or track object) is added to the layout it is automatically placed in the currently Active Layer. Unfortunately, Surveyor Classic (S10) does not indicate which layer is the Active Layer unless you open the Layers Tool to look. This can lead to objects being placed into the wrong layers and while these objects can later be moved to another layer (see the section Moving Objects To Other Layers below) it would be better to correctly set the Active Layer first.
|
You cannot add objects to a layer that is LOCKED. |
If you attempt to add a scenery object to a locked layer you will receive the following message:-
|
When adding track objects (signals, speed signs, etc) to a track, the objects being added must be in the same layer as the track or in a layer below the track layer. For more information, see the section The "route-layer" above. |
|
Deleting Objects From Layers
|
You cannot delete objects from a layer that is LOCKED. |
Unfortunately Trainz does not give you a warning message when you attempt to delete an object from a locked layer, the object just refuses to be deleted.
|
Moving Objects To Other Layers
|
|||||||||||
The Layers Palette in Surveyor 2.0 (S20)
Surveyor 2.0 is currently only available for Trainz Plus Standard and Trainz Plus Gold subscription members.
Layers are found in the Layers Palette.
|
|
Open a Layer Group
To the left of each Layer Group name is a small arrow. Left click on the arrow to open up the group.
The image on the left shows that the Session Layers Group is open and its individual layers are now displayed. To close or minimise the group Left click on the arrow again. The image shows that the Session Layers Group contains 3 individual layers:-
|
Add a New Layer
You cannot create new layer groups but you can add new layers to a existing group.
Each Layer Group has a icon next to its name. Left click on the icon to add and name a new layer to that group. If you are adding a new Effect Layer then you will also have to identify the type of effect - TurfFX, Clutter or Water.
Renaming a Layer
Right click on a layer name and select Rename Layer.. from the popup menu. You will be asked to enter a new name for the layer. |
Deleting a Layer
Right click on a layer name and select Delete Layer from the popup menu. You will be given a warning that you are about to delete a layer.
|
Moving a Layer
Layers can be individually moved up and down within the same layer group or between the Route Layers Group and the Session Layers Group.
|
Left click on a layer name and, while holding the left button down, drag the layer up or down to its new position.
- depending on the contents of the layer, the process may take some time. You will be shown a progress bar during the move operation
- the move can be reversed (after it has completed) by using the Ctrl Z keys
Merging a Layer
Right click on a layer name and select Merge Layer Up from the popup menu.
|
Hiding Layers
Each individual layer has an Eye icon that controls the state (visible or hidden) of that layer. Left click on the icon to toggle its state between visible and hidden.
If the Eye is:-
- open then layer is visible in both Surveyor and Driver
- closed then layer is hidden in both Surveyor and Driver
Locking Layers
Each individual layer has a Padlock icon that controls the state (locked or unlocked) of that layer. Left click on the icon to toggle its state between locked and unlocked.
If the Padlock is:-
- open then the layer is unlocked and can be edited
- closed then the layer is locked and cannot be edited
|
Setting the Active Layer
the Active Layer is the layer where new objects will be automatically added when using the Placement Tool. The active layer is shown in the palette with its name on a blue background. In the image on the left the Rail Workers layer is the current Active Layer. The name of the current Active Layer is also shown in the Layer Palette Title Bar. To set a new Active Layer, Double Left click on a layer name. |
Move an Object to a New Layer
The Info Palette will show the layer assigned to the currently selected object. An object is selected by using the Free Move Tool (the S key) or the Fine Adjustment Tool (the D key) found in the Tools Palette.
|
||
|
|
Route Layers vs Session Layers
This topic has filled endless threads in the Trainz Forums with arguments raging on both sides.
In Summary: | |
In general, there are no "cast iron" rules that dictate what should be placed in the Route Layers Group and what should be placed in the Session Layers Group (for an exception see TRS19 Platinum Edition, Trainz Plus, TRS22 Notes below). Each Route and Session will be different and different creators have different ways of working. The main question to be asked is how many different Sessions will be created using a particular Route? |
Notes:
|
TRS19 Platinum Edition, Trainz Plus, TRS22 Notes:
|
The Route Layers Group
The Route Layer Group should be used for everything that will always appear in Driver Mode regardless of which Session is playing. |
There is nothing stopping you from placing everything in the "route-layer" of the Route Layers Group and never having to worry about dealing with layers ever again - some creators prefer to work this way. However, layers do provide you with a way of organising your scenery objects to make them more manageable, particularly in more complicated layouts. Some examples:-
- A Special Objects layer or layers that can be used to hold certain scenery objects. For example all the trees or a particular building. This can be very useful when you need to hide those objects to locate or place other objects. Trackside cameras in particular can be very difficult to find when placed in a forest.
- A Platform Objects layer can be used to hold all platform items such as seats, luggage, luggage trolleys, people, lamp posts, etc. Because these items are placed on top of a platform object they can be very difficult to move or delete without first moving the platform. The layer containing the platform can be locked allowing these objects to be easily moved or deleted.
- Hiding and Showing Objects in Driver Mode. There is a Session Rule and a Driver Command that can hide and show layers during the running of a Session. For example: a rail worker can be placed in a separate layer and positioned next to a track lever while shunting operations are underway but can be removed from the scene by hiding that layer when shunting has been completed.
- A Test Layer for experimenting. Not sure if a particular object is right for your layout? Place it in a temporary layer which you can hide and show to see any differences it makes. This is particularly useful if you are deciding between different types of grasses, for example, placed throughout the layout. If the objects prove to be unsuitable then they can all be deleted by deleting the layer. If they are suitable then the layer can be merged with another or left as a new layer.
- A Ruler Layer if you are using rulers. Although rulers obey layer behavior (lock and hide) just like all other objects and splines, they have no properties window to show their layer or allow you to change that layer. Consider placing all rulers in a dedicated layer to make their management easier. NOTE: Due to a bug in TANE/TRS19, deleting a dedicated Ruler Layer will not delete the rulers but will temporarily hide them from view. Rulers will still have to be deleted individually.
|
The "route-layer"
To avoid any confusion over which layer is the original "route-layer", this is one layer that should not be renamed or moved from the top position. |
While all layers are equal, the "route-layer" is special.
|
|
The Session Layers Group
The Session Layers Group should be used for everything that will only be seen in the currently loaded Session. |
If you are creating more than one Session based around a particular Route, then you will probably make use of the Session Layers.
Notes: Session Layers can contain:-
|
||||
|
The "session-layer"
An empty session-layer will be automatically created when you:-
- load a route without also loading a session, or
- create a new route
If you add anything to the session-layer or add new layers to the Session Layers Group and do not save the session before you exit from Trainz then these changes will be lost.
The Bound Layer
This is a little used and probably little understood layer feature. It allows you to attach an object to two different layers so it can have the properties (locked/unlocked and show/hide) of both layers. The bound layer was introduced as a development tool, its sole use is as a tool in the building of routes and sessions.
An object will be LOCKED and cannot be deleted or moved if its layer OR its bound layer is locked. | |
An object will be HIDDEN if its layer OR its bound layer is hidden. | |
Rulers cannot be bound to another layer. |
Some applications:-
- Temporarily locking an object by binding it to a locked layer while allowing other objects in the same unlocked layer to be moved or deleted. A simple but very effective development technique is to create a Route layer called "Locked" and then lock it. If you need to temporarily stop an object from being deleted or moved then it can be bound to the "Locked" layer.
- Temporarily hiding an object by binding it to a hidden layer (this will require the hidden layer to be made visible so the object can be unbound).
|
|
Setting the Bound Layer in Surveyor Classic (S10)
|
When a layer is deleted any objects bound to that layer will have their Bound Layer reset to <none> |
Setting the Bound Layer in Surveyor 2.0 (S20)
Surveyor 2.0 is currently only available for Trainz Plus Standard and Trainz Plus Gold subscription members.
|
When a layer is deleted any objects bound to that layer will have their Bound Layer reset to <none> |
Layers in Driver Mode
During the running of a Session in Driver Mode visible layers can be hidden and invisible layers revealled according to the events that occur during the Session.
The two Driver Mode scenes shown on the left illustrate this feature.
|
This effect could be achieved in two different ways:-
- A Driver Command - specific to a particular driver, or
- A Session Rule - specific to a particular driver, consist, or any driver/consist
Using a Driver Command
The driver command Layer Control hides and shows named layers.
Using Session Rules
Rules Used: |
- Trackside Check Rule - to trigger the event
- Show/Hide Layer Rule - to hide layers
- Message Popup Rule - to open a browser window with a message
Session Editor Screenshot: |
Description: |
In this example:-
- The Trackside Check Rule is triggered when a specific train comes to a stop at a trackmark. This then executes the following rules in order:-
- The Show/Hide Layer Rule is used to hide the layer named "People". Four passengers (three standing and one seated) are hidden.
- The Show/Hide Layer Rule is used to hide the layer named "CNJCartsFull". The boxes and mail bags on the three platform trolleys are hidden.
- The Message Popup Rule is used to place a message on the screen informing the player that the passengers and mail have been loaded.
Trainz Wiki
More Tutorials and Guides to Using Trainz |
This page was created by Trainz user pware in June 2018 and was last updated as shown below.