Route and Session Basics

From TrainzOnline
Revision as of 19:03, 14 January 2022 by Pware (Talk | contribs)

Jump to: navigation, search

The information in this Wiki Page applies to TRS19 and Trainz Plus. This page is intended to provide you with an overview of the properties and features of Routes and Sessions when creating layouts for Trainz. More detailed descriptions of these various features plus instructions on getting you started with creating Routes and Sessions can be found in the Trainz Wiki How To Guides - links are provided at the end of this document.

Contents

  Top   Next Down Bottom

Trainz Worlds

The virtual worlds that Trainz creates can be classified as:-

 Route-Sessions-Games
DotPoint.JPG Routes

Routes are created in Surveyor and contain most (if not all) of what you will see in your virtual Trainz world. You can have multiple Routes, limited only by your storage space. Routes can be built to represent different geographical regions (real or imagined) and different periods of time (past, present, future). Each Route can have one or more:-

DotPoint.JPG Sessions

Sessions are also created in Surveyor but are designed to be run in Driver. Sessions contain the instructions that will control your trains when they are operating in automatic or "AI" mode in your Route. They also control the goods your trains will carry, load and unload at industries along the way. You can create different Sessions for different aspects of your railway - freight, passenger, shunting or a mixture. Sessions also control some of the environment settings in your virtual world, such as lighting, the weather and time of day. A Session can have many:-

DotPoint.JPG Driver Games (or Driver Sessions or Saved Games)
Driver Games (also known as Driver Sessions and Saved Games) are created in Driver and save the "state of play" in a running Session so you can restart it at the same point at a later time. They are optionally stamped with the date and time they were saved and the play duration.
  Top Next Up Next Down Bottom

What is a Route?

A Route (also known as a "Layout") consists of most of what you will see on the screen when using Surveyor and Driver. Things such as the landform or terrain, most (if not all) of the scenery items, the ground textures, TurfFX and Clutter Effects, plus some "environmental" features.

A Route consists of two parts:-

  1. Route Data and
  2. Route Layers.


DotPoint.JPG When you save a Route, all the items in the Route Data and Route Layers will be saved


 Route Data: 

DotPoint.JPG The Route Data stores all those features that are painted into a layout using a brush tool

This covers all those visual elements that are "painted" in Surveyor with a brush tool plus a few Environmental features.

Route Data

Route Data consists of:-

  • Landforms or Terrain - baseboards and ground height
  • Water height and spread
  • Ground Textures including the grid pattern which is a texture
  • TurfFX and Clutter - found in the Effects Layers
  • Some Environmental Data such as Latitude, Longitude, Altitude (metres), Water Color, Water Surface (rough, smooth), Snow Altitude (metres). Also, depending on what assets you have edited before you save, the Date (which decides the season of the year) can also be saved as part of the Route Data - see WikiLink.PNG How to Use Environment Tools for more details.


 Route Layers: 

DotPoint.JPG Route Layers are used to hold the scenery assets that you want to appear in all Sessions created for the Route


All scenery assets are held in layers. Route Layers give you a way of organising or grouping the assets displayed in your Route.

Route Layers

Route Layers have those scenery items that you want to always appear.

Route Layers can contain:-

  • Track and Track Objects (such as signals, switches, bridges, tunnels, speed signs, etc)
  • Most (or all) scenery items and scenery splines (such as buildings, trees, roads, fences, active industries/stations, etc)
  • Rolling Stock (including locos) -  Note:  In TRS19 Platinum Edition and Trainz Plus it is recommended that all rolling stock be placed into a Session Layer
  • Lineside and Fixed Cameras
  • Trackmarks, Triggers, Direction and Priority Marks
LinkWiki.PNG

A detailed description of Layers can be found on the Trainz Wiki Page How to Use Layers

  Top Next Up Next Down Bottom

Loading (and Creating) a Route

The TRS19 and Trainz Plus main menu screen shown below. The first option (shown highlighted in the image) opens Driver/Surveyor with all its options including loading and creating a Route.

TRS19 Main Screen options

In Driver/Surveyor a strip of thumbnails for all the installed Routes will be shown at the base of the screen. The strip will scroll horizontally if there are too many to display. Just move the mouse pointer onto any thumbnail to reveal the scroll bar device.

TRS19 Main Screen Route Selection

The  MAIN MENU  button will take you back to the starting or main screen.
The  Sort By A-Z  will give you a drop down menu of sorting options for the thumbnail list.
The MainScreenDownArrow.png button will expand the thumbnail list to fill the screen - click it again to return the thumbnails to the strip at the bottom of the screen.

The thumbnail images are colour coded.

  Payware DLC - must be purchased. DLC items cannot be deleted. To remove them use the Uninstall option in the Trainz Store from the Launcher. You can reinstall them later without any additional cost
  Installed Downloaded from the Download Station (DLS) or created by you. This includes any cloned DLC Routes and Sessions (see PageLink.PNG Cloning a Route/Session below)
  Not Installed Needs to be downloaded and installed


Creating a New Route

On the Driver/Surveyor screen the Route options are shown as a set of buttons at the bottom of the screen.

Create a New Route

Click  CREATE ROUTE . This will start Trainz Surveyor and open the New Route Dialogue Window.

New Route dialogue window
PencilTips.PNG All these settings plus others can be easily changed at any time after the Route has been created.
Route edit From the Edit menu select Edit Route or press  Ctrl   E 

For more details see PageLink.PNG Editing a Route below.

It is strongly advised that you enter some details before clicking the tick icon to create the new route. This will save you time and hassle later.

 Route name:  Enter a name for your new Route (keep it simple)
 Session name:  Enter a name for your Session (again keep it simple) - see Notes: below
 Geographical region:  Select a region from the drop down list
Route Details
NotePad.PNG Notes:
DotPoint1.JPG You do not have to add the name of a Session but when you save a new Route without a named Session a default Session will be automatically saved with the name Default. This can later cause confusion if a multitude of different Default Sessions appear so it is recommended that a unique Session name be entered at this point.
  A Session can always be deleted later if you have no interest in creating one for your Route - see PageLink.PNG Deleting Routes and Sessions below. However a Route with a Session does have some important advantages - see PageLink.PNG What is a Session? below.
DotPoint2.JPG Setting a Geographical region sets some basic features of the Route - such as its latitude (used to determine the season of the year), the altitude (in metres) of the first baseboard, the number and types of moving road vehicles (if any), to name a few. If none of the installed regions are suitable you can download others from the DLS or create a region of your own - see WikiLink.PNG How to Create a Region Asset
DotPoint3.JPG The Working scale provides measurements that are comparable to model railroading dimensions, but the actual (physical) sizes of the layout and its assets are not altered or scaled down. It is only the Surveyor Ruler tool that will be affected. The choices are between Real scale (which is the default), G scale (100m real scale = 4.4m G scale), HO scale (100m real scale = 1.1m HO scale) and many other options.
DotPoint4.JPG The Working units choice between Metric (metres, kilometres) and Imperial (yards, miles) only affects the measurement and display of horizontal distances used for rulers and track distances, and for train speeds (km/h or mph). Note that track speed signs are always locked at either metric (km/h) or imperial (mph) and will not be altered by this selection. Altitudes are always measured and displayed using Metric units (metres).

Loading an Existing Route

You must first find and select the Route to load from those already installed. At the top of the Driver/Surveyor screen the Route search options are shown as a set of buttons.

Route Search

Type:  ROUTES  is the default selection. No need to change this.
Source:  PURCHASED  is the default selection, Click and change to  MY CONTENT  for a Route you have created (or already modified) or to  INSTALLED  for one you have downloaded from the DLS.
Region:  ALL  is the default selection. You can select a particular geographic region if required and IF the Route had a geographic region set when it was created.
Search: You can narrow down the list of Routes by typing the first few letters of its name (e.g. SA) as shown in the image above.

This will produce a display of thumbnails at the bottom of the screen.

Existing Routes

Click on the thumbnail for the Route you want to load, then click on the  EDIT ROUTE  button to load the Route into Surveyor.

Edit Route

Loading a Route Into Surveyor From Content Manager

Trainz provides a shortcut that allows you to load an existing Route directly into Surveyor for editing from Content Manager.

Load a route from CM

Steps.PNG Steps:
  1. in Content Manager select the filter Routes & Sessions
  2. select the Route to be edited
  3. use the right-mouse-button to open the Command Menu
  4. select Open..., then
  5. select Edit Asset in Surveyor

Loading After an Unexpected Shutdown

If you select a Route for loading after an unexpected shutdown of Trainz then any Route (or Route and Session) that was open and running in Trainz Surveyor or Driver will be left marked as Open for Edit. When you attempt to load this Route into Surveyor or Driver you will see a message listing the Route and Session (if any) that were affected.

Load after CTD
NotePad.PNG A similar message will appear when you load a Driver Game (see PageLink.PNG Saving and Loading Sessions in Driver below) after editing the original Route or Session that was used to create the Driver Session. It is possible that the changes you have made may affect the operation of the Driver Session.

The message is saying that the assets in the list may have been changed since the last time you loaded them and exited Trainz normally. For example if you had been editing the Route and/or Session and had experienced a crash to the desktop or had used Windows Task Manager to terminate the program.

The options you will see are:-

 Use changes    Use the edited/changed versions that are in the open database assets - there is a possibility that they may have been damaged during the shutdown and may be corrupted
 Revert changes    Ignore the edited/changed versions and load the previous versions instead
 Cancel    Cancel the Load and return to the Surveyor/Driver menu screen

You could also use the Content Manager program (select  Manage Content  from the Trainz Launcher) to Submit the open Route or Route and Session assets. This has the risk of replacing the last good copy of that asset or assets with a possibly faulty copy.

Editing a Route

DotPoint.JPG When a Route is loaded or a new Route is created all the assets you add will be automatically placed into a Route Layer

When you create a new Route (with or without a named Session), or load an existing Route without a Session, and start adding scenery assets they will automatically be placed into a Route Layer. See WikiLink.PNG How to Use Layers for more details.

Any ground textures, water, effect layers (turfFX and clutter) you add, or terrain changes (including new baseboards) you make, will be added to the Route Data.

Warning:
Stop.PNG Moving or deleting a section of track that is occupied by a train will cause problems particularly if the train is in a Session and you have only loaded the Route for editing. The train will most likely become a "missing asset".

Move or delete any affected trains first before editing the track by loading and editing the Session, not just the Route. See PageLink.PNG Loading an Existing Session and PageLink.PNG Editing a Session below.



You can edit the Route Characteristics at any time by selecting the Edit Route command from the Edit menu or simply pressing  Ctrl   E .

This will bring up the Edit Route dialogue window (shown below).
Route edit
NotePad.PNG Route Characteristics:-

  • Name and Description
  • assigned Geographic Region, which sets a number of different features
  • Thumbnail image
  • Working Scale and Working Units
  • Draw Distance
Edit Route dialogue window
DotPoint1.JPG You can edit the Name of the Route. This will change the route username in the config.txt file but it will not alter the route <kuid> value
DotPoint2.JPG You can select a new Region. Depending on the region selected this could affect other features such as the moving road traffic, season of the year (through the latitude tag) and altitude
DotPoint3.JPG You can edit the Route Description
DotPoint4.JPG You can change the Route Thumbnail. Clicking the  Set Thumbnail  button will take a snapshot using the current camera view which will be used as the new thumbnail
DotPoint5.JPG You can change the Route Working Scale which will only affect the measurement shown in the Surveyor Ruler tool
DotPoint6.JPG You can change the Route Working Units to  Metric  or  Imperial  which will change the display of measurements using the Surveyor Ruler (to metres or yards) and how train speeds are calculated and displayed in Driver (in km/h or mph)
DotPoint7.JPG You can set or disable the Draw Distance Cap which will affect how far away from the camera that scenery objects will be drawn. This will affect the game performance and the fps (frames per second)
DotPoint8.JPG Clicking the Tick icon will save the entered values and exit back to Surveyor. Clicking the Cross icon will cancel any entered values and exit back to Surveyor
  Top Next Up Next Down Bottom

What is a Session?

DotPoint.JPG A Session is always a part of an existing Route - you cannot have a Session that does not belong to a Route
DotPoint.JPG If you create a Route without a Session then ALL the active industries and rolling stock, time, environmental conditions, etc, will revert to their original (default) values. There will be no AI drivers and drivers will have a very limited set of available commands for manual driving

In general, while a Route provides the physical structures (or "hardware"), a Session provides the services (or "software"). While you can easily have a Route without a Session, it could be a very limited (or even a boring) experience.

A single Route can have multiple Sessions, or none, but a Session must always belong to a Route. To put it into Trainz terminology, a Session has a Route as a dependency.

A Session consists of two parts:-

  1. Session Data and
  2. Session Layers.


DotPoint.JPG When you save a Session, all the items in the Session Data and Session Layers will be saved


 Session Data: 

Session Data are often the "invisibles" that control the operation of a Session.

Session Data

Session Data contains:-

  • Drivers (names, AI commands and assigned locos)
  • Driver Commands - those available for AI and manual driving
  • Session Rules
  • Environment Settings (weather, lighting, time of day). Also, depending on what assets you have edited before you save, the Date (which decides the season of the year) can also be saved as part of the Session Data - see WikiLink.PNG How to Use Environment Tools for more details
  • Industry Settings (commodities consumed and produced)
  • Consist Settings (commodities carried)
  • Consist Locations (TRS19 Platinium Edition and Trainz Plus only)
  • Switch Settings (left or right) - but the default switch direction is stored in the Route


 Session Layers: 

DotPoint.JPG Session Layers are used to hold the scenery assets that you want to only appear in that particular Session and not in all Sessions
DotPoint.JPG Session Layers can be left empty and the Route Layers can contain all the scenery assets

Session layers

Session Layers give you a way of organising or grouping the assets displayed in your Session.

Session Layers can contain:-

  • Scenery
  • Rolling Stock (including locos) -  Note:  In TRS19 Platinum Edition and Trainz Plus it is recommended that all rolling stock be placed into a Session Layer
  • Trackmarks, Triggers, Direction and Priority Marks
NotePad.PNG While it is possible to add track and track objects (bridges, tunnels, turntables, signals, switches, etc) to Session Layers it is not recommended. These fixed assets should be placed into Route Layers.


LinkWiki.PNG

A detailed description of Layers can be found on the Trainz Wiki Page How to Use Layers


NotePad.PNG Notes:

Scenery, Rolling Stock, Triggers and Markers (Track, Direction, Priority) can be used in both Route Layers and Session Layers. Assets placed in a Route Layer will appear in all Sessions that are based on the Route. The vast majority of (if not all) scenery items will be placed in Route Layers. Assets placed in a Session Layer will only appear in the currently loaded Session.

Examples of assets that would be placed in a Session Layer instead of a Route Layer would include:-

  • products waiting at a factory for pickup in an industrial Session that are not needed in a passenger Session
  • signallers holding lanterns in a night Session or standing alongside manual track switch levers in a shunting Session
  • trackmarks and triggers that are only required in one Session and not in all Sessions
  • crowds of onlookers alongside the track in a Session recreating an historic steam train run, together with
  • historic rolling stock in a vintage train Session running on a modern Route
  Top Next Up Next Down Bottom

Loading (and Creating) a Session

Creating a New Session

DotPoint.JPG To create a new Session you must first create a new Route or identify an existing Route

A new Session can be created in two ways:-

 Method DotPoint1.JPG Automatically When a New Route is Created 
Route Details Follow the steps shown in the section PageLink.PNG Creating a New Route above by entering:-
  • a Route name for the new Route
  • a Session name for the new Session
  • a Geographical region
  • Working scale and Working units
 Method DotPoint2.JPG From an Existing Route 


NotePad.PNG Remember that a Route can have many individual Sessions so a new Session can be added to an existing Route that already has Sessions installed.

The first step is to locate (but not load) the Route as described in the section PageLink.PNG Loading an Existing Route above.

Once you have selected the Route from its thumbnail, click the  VIEW SESSIONS  button.

View Sessions

Then click the  CREATE SESSION  button. If no other Session exists for this Route then this will be the only choice available to you.

Create Session

 

Both methods will load the Route into Surveyor and create a new Session with all its values/parameters set at default levels.

Loading an Existing Session

There are two different ways to load existing Sessions into Surveyor.

 Method DotPoint1.JPG Search For the Session 
The easiest way to load an existing Session is to use the search tools at the top of the Driver/Surveyor screen.

Session Search

Type:  ROUTES  is the default selection. Change this to  SESSIONS .
Source:  PURCHASED  is the default selection, Click and change to  MY CONTENT  for a Session you have created (or already modified) or to  INSTALLED  for one you have downloaded from the DLS.
Gameplay:  ALL  is the default selection. There is no need to change this
Search: If required you can narrow down the list of Sessions by typing the first few letters of its name.


This will produce a list of Session thumbnails at the bottom of the screen. As with the Route thumbnails, the list can be scrolled horizontally.

Existing Sessions

The same colour coding system used in the Route thumbnails also applies to Session thumbnails.

  Payware DLC - must be purchased. DLC items cannot be deleted. To remove them use the Uninstall option in the Trainz Store from the Launcher. You can reinstall them later without any additional cost
  Installed Downloaded from the Download Station (DLS) or created by you. This includes any cloned DLC Routes and Sessions (see PageLink.PNG Cloning a Route/Session below)
  Not Installed Needs to be downloaded and installed


Click on the thumbnail for the Session you want to load and then click on the  EDIT SESSION  button. This will load BOTH the Route and the Session into Surveyor.

Edit Session

NotePad.PNG If the  EDIT SESSION  option is not present then the selected Session is a saved Driver Game (a "game" saved when in Driver) and cannot be edited. See the section PageLink.PNG Saving and Loading Sessions in Driver below.


 Method DotPoint2.JPG Select the Route First 
Select the Route as described in the section PageLink.PNG Loading an Existing Route above. Then click the  VIEW SESSIONS  button.

View Sessions

This will display a list of thumbnails for all the Sessions in that Route. Select the Session thumbnail you need and then click the  EDIT SESSION  button.

Edit Session

Again, both the selected Route and its Session will be loaded into Surveyor.

NotePad.PNG If the  EDIT SESSION  option is not present then the selected Session is a saved Driver Game (a "game" saved when in Driver) and cannot be edited. See the section PageLink.PNG Saving and Loading Sessions in Driver below.
 

Loading a Session Into Surveyor From Content Manager

Trainz provides a shortcut that allows you to load an existing Session directly into Surveyor for editing from Content Manager.

Load a session from CM

Steps.PNG Steps:
  1. in Content Manager select the filter Routes & Sessions
  2. select the Session to be loaded and edited in Surveyor
  3. use the right-mouse-button to open the Command Menu
  4. select Open..., then
  5. select Edit Asset in Surveyor

Both the Route and the Session will be loaded into Surveyor for editing.

Loading a Session into Driver From Surveyor

To start Driver simply select a Session as described above in Loading an Existing Session and click the  DRIVE SESSION  button.

Driver Game

This will load both the Session and the Route into Driver.

You can save your "game play" in Driver at anytime. See PageLink.PNG Saving and Loading Sessions in Driver below.

Loading a Session into Driver From Content Manager

Trainz provides a shortcut that allows you to load an existing Session directly into Driver from Content Manager.

Load a session from CM

Steps.PNG Steps:
  1. in Content Manager select the filter Routes & Sessions
  2. select the Session to drive
  3. use the right-mouse-button to open the Command Menu
  4. select Open..., then
  5. select Open Asset in Driver

The Session and its parent Route will be loaded into Driver and the simulation will be started.

Editing a Session

DotPoint.JPG When a Session is loaded into Surveyor or a new Session is created for an existing Route, all the assets you add will be automatically placed into a Session Layer

When you create a new Session, or load an existing Session, and start adding scenery assets in Surveyor they will automatically be placed into a Session Layer. See the Trainz Wiki Page WikiLink.PNG How to Use Layers for more details.

Any changes made to the Session Rules (including drivers and their commands), the Environment Tools, Industry or Rolling Stock settings, will be added to the Session Data.

There are also other changes that will be added to the Session Data.


You can edit the Session Characteristics at any time by selecting the Edit Session command from the Edit Menu or by simply pressing  Ctrl   R .
This will bring up the Edit Session dialogue window which is more commonly called the Session Editor (shown below).

For more details on editing a Session see the Trainz Wiki Page at WikiLink.PNG The Session Editor.
Session edit
NotePad.PNG Session Characteristics:-

  • Name and Description
  • Session Rules which control/set:-
    • drivers and their consists
    • driver commands
    • time of day/night
    • events
    • and much, much more
Edit Session dialogue window
DotPoint1.JPG You can edit the Name of the Session. This will change the session username in the config.txt file but it will not alter the session <kuid> value
DotPoint2.JPG You can edit the Session Description
DotPoint3.JPG You can add, delete and edit the Session Rules

You can edit the Environment Controls of a Session by selecting the Edit Environment command from the Edit Menu.
This will bring up the Edit Environment dialogue window, more commonly called the Environment Tools.

For more details on editing the Environment see the Trainz Wiki Page at WikiLink.PNG The Environment Tools
Environment edit
NotePad.PNG Environment Controls:-

  • lighting conditions
  • weather and cloud cover
  • water color and water surface
  • wind speed (for SpeedTree assets only)
  • fog and snow
  • season (by the date and latitude)
  • world origin
  Top Next Up Next Down Bottom

Saving a Route and a Session

Routes and Sessions are saved from the System Menu on the Surveyor screen.

Save
DotPoint.JPG Selecting  Save  or pressing  Ctrl   S  will save the Route, or the Route and the Session, with the previously entered name(s) when they were loaded or created. You will be asked to confirm both the names (and can change them) and the Save command.

DotPoint.JPG Selecting  Save As...  will save the Route, or the Route and the Session, with the previously entered name(s) when they were loaded or created. You will be asked to confirm both the names (and can change them) and the Save As command.


NotePad.PNG Notes on Saving:

DotPoint.JPG Routes that have been downloaded and installed from the DLS (freeware) or DLC (payware) can be edited and saved as new Routes. When they are saved they will be given a new <kuid> that will include your personal identity code, so they will become Your Content and can be found using the  MY CONTENT  search option. The original Route will not be altered or replaced by your new version. You are allowed to copy (edit and save) purchased DLC Routes for your personal use only but they cannot be uploaded to the DLS.
DotPoint.JPG Sessions that have been downloaded and installed from the DLS (freeware) or DLC (payware) can be edited and saved as new Sessions and will also become Your Content. The originals will not be replaced by your new version. You are allowed to copy (edit and save) purchased DLC Sessions for your personal use only but they cannot be uploaded to the DLS.
 Note:  If your copied Session was created using a DLS or DLC Route then it will still need the original DLS/DLC Route. If you delete the original Route then your Session will no longer work. This restriction does not apply for any new Session you create for a copied DLS/DLC Route. The new Session will be based on the copied Route and not the original.
 
Stop.PNG Copied and edited assets are subject to copyright laws and they remain the property of the original creator
Stop.PNG Under no circumstances are you to upload copied assets to the DLS or any 3rd party web site without the permission of the original creator
DotPoint.JPG If you decide to create a new Session and leave its name as Default then a new Default Session will be created to add to any others also named Default that may already be present in a Route - this is possible because they will all have different <kuid> values. This is why it is not a good idea to use Default as a Session name.
DotPoint.JPG Many scenery assets actually have their properties stored in the Session Data even when the assets themselves are in Route Layers. Editing the properties of these assets is considered to be a change to the Session and will result in a Save command requesting that the Session be saved as well as the Route. You can decide whether or not to save the Session.

These assets include:-

  • junction switches - the left/right switch direction is stored in the Session (but the switch default direction is stored in the Route)
  • industries - the commodities and quantities loaded/unloaded are stored in the Session
  • industry enabled wagons - the commodities and quantities carried are stored in the Session
  • consist locations - this is stored in the Session (TRS19 Platinum Edition and Trainz Plus only). See the Trainz Wiki Page WikiLink.PNG How to Use the UDS Interface for more details.
  • named route objects - while the name is stored in the Route, adding or changing the name is treated as a change to the Session
DotPoint.JPG It is possible for Trainz to request that the Route and/or Session be saved when no obvious changes have occurred. This can happen when a Route/Session with an earlier asset build number has been loaded into Surveyor. For example - loading a Route with an asset build number of 3.7 (from TRS12 SP1) into TRS19 SP3 which uses asset build number 4.8 for all its Routes and Sessions.

Saving a New Route and Session

If you have created a new Route and select Save or Save As..., then you will be presented with the following Save Route Dialogue Windows.

First Save First Save As
In both cases the name of the Route that was entered when it was created will be shown and you can change the name, even in the Save option. However, there is no option in either case to change the name of the created Session.

Saving an Existing Route

DotPoint.JPG If you have loaded the Route only and not the Session and HAVE NOT edited any Session Data or Session Layers, then selecting Save will produce the following Save Route Dialogue Window.
Save Route with no Session
  • The Overwrite existing route and Do not save session options are automatically selected. The Route will be saved (Overwritten using its current name) but no Session will be saved.
  • You can select the Save new route and session option and enter a new name for the Route. The Route will be saved with its new name (the original Route will not be changed). A new Session will be created using the name Default and it will be added to the new Route. Because you did not originally load a Session, the Session will be saved with the Default values for all settings.
  • You can select the Overwrite existing route and Create new session options and enter a new name for the Session. The Route will be saved (Overwritten using its current name). A new Session will be created using the name you enter and it will be added to the Route. Because you did not originally load a Session, the new Session will be saved with Default values for all settings.
DotPoint.JPG If you have loaded the Route only and not the Session and HAVE edited Session Data or Session Layers, then selecting Save will produce the following Save Route Dialogue Window.
Save Route with Session
  • The Overwrite existing route and Create new session options are automatically selected. Enter a new name for the Session - it is not recommended that you leave it as Default. The Route with be saved (Overwritten using its current name). A new Session will be created using the name you enter and it will be added to the existing Route.
  • You can select the Overwrite existing route and Do not save session options. The Route with be saved (Overwritten using its current name) but no Session will be saved. Any changes you have made to the Session Data or Session Layers will be lost.
  • You can select the Save new route and session option and enter a new name for the Route. The Route will be saved with its new name (the original Route will not be changed). A new Session named Default will be saved and added to the new Route.

Saving an Existing Route and Session

DotPoint.JPG If you have loaded a Route and a Session and have edited the Route or the Route and the Session then selecting Save will produce the following Save Route Dialogue Window.
Save Route and Session
  • The Overwrite existing route and Overwrite existing session options are automatically selected. Both the Route and Session will be saved (Overwritten using their current names).
  • You can select the Save new route and session option and enter a new name for the Route. The Route will be saved with its new name (the original Route will not be changed). A new Session will be created using the same name as the original Session and it will be added to the new Route.
  • You can select the Overwrite existing route and Do not save session options. The Route with be saved (Overwritten using its current name) but no Session will be saved. Any changes you have made to the Session Data or Session Layers will be lost.
  • You can select the Overwrite existing route and Create new session options. Enter a new name for the Session. The Route with be saved (Overwritten using its current name). A new Session will be created using the name you enter and it will be added to the existing Route.


DotPoint.JPG If you have loaded a Route and a Session and have edited the Session (Data or Layers) only and not the Route then selecting Save will produce the following Save Session Dialogue Window.
Save Session
  • The Overwrite existing session option is automatically selected. The Session will be saved (Overwritten using its current name). The Route will not be changed.
  • You can select the Create new session option. You can enter a new name for the Session or use the suggested name which will include the date, time and Session runtime. A new Session will be created using the entered name and it will be added to the existing Route. The Route will not be changed.


Saving a Route and Session Using the UDS

TRS19 Platinium Edition and Trainz Plus have an additional feature, the UDS (Unified Driver Surveyor) Interface, that allows you to quickly switch from Driver to Surveyor and back to Driver again without having to restart the Session from the start. You can edit a Route and Session while in Surveyor and then switch back to Driver to continue the Session where you left it.

This powerful ability does come with a warning. If you save the edited Session before switching back into Driver then all the moving consists will be saved in their new positions. Other changes, such as the status of Session Rules, will also be saved in new states. See the Trainz Wiki Page WikiLink.PNG How to Use the UDS Interface for more details.

Most of the problems users seem to be experiencing with the UDS, judging from the posts in the Trainz Forums, is when saving their edited Session before switching back into Driver mode.

DotPoint.JPG Using Driver Mode involves driving consists (either manually or through the AI) and activating rules. These will change the Session Data
DotPoint.JPG Overwriting the Session will save changes to the consist locations and the Session Rules


NotePad.PNG Note:

An important change that has been introduced by the UDS is that train vehicle placement is now saved as part of the Session, even if those vehicles have been placed in Route Layers.
PencilTips.PNG For this reason, in TRS19 Platinum Edition and in Trainz Plus it is strongly recommended that all consists be placed into a Session Layer and become part of a Session instead of the Route


When you are in Driver Mode at least one of the consists will probably be moving. Some of the Session Rules may have already been completed while others may still be running or waiting for events (e.g. triggers to be activated). If, after switching to Surveyor Mode, you then choose to save using the Overwrite existing session option then you will be replacing your original starting Session with a new one with the consists saved in their new positions and the Session Rules saved in their new states. So when you later load and restart the Session things will not be the same as they were in the original or starting Session.

 Unless you have a particular reason for overwriting the original Session  then the recommended save options are:-

Line740.png
Option DotPoint1.JPG Do not save session
  UDS-DoNotSaveSession.png

This will only save the Route using its existing name. This will save any edits that you have made to the Route but not to the Session.

Line740.png
Option DotPoint2.JPG Create new session
  UDS-CreateNewSession.png

This will save the Route using its existing name. It will also save the Session using a new name you enter in the text box below the option (Stage 3 in the example shown). The original Session will not be altered. This is useful when you want to test out changes to consists, industry settings, Rules, driver commands, etc but do not want to destroy the original Session.

Line740.png

If you have have NOT edited anything while in Surveyor and select  Save  then you will be shown the Save Driver Session dialogue window to save the Session in its current state as a Driver Game (also called a Game or Driver Game). This is exactly the same as pressing  Ctrl   S  while in Driver.
alte=Save Driver Session
The Driver Game will appear in the Select Session menu for the Route. Loading it will resume Driver at the point where it was saved.

  Top Next Up Next Down Bottom

Exiting Surveyor

If you exit Surveyor after editing without saving then you will be prompted to Save.

Unsaved  Route  Unsaved  Session 
Exit Route Save Exit Session Save
DotPoint.JPG Selecting  Don't Save  will exit Surveyor without saving. Any changes you have made will be lost.
DotPoint.JPG Selecting  Save  will exit Surveyor after saving. You will be prompted to select what to save as described in the section PageLink.PNG Saving a Route and a Session above
DotPoint.JPG Selecting  Cancel  will cancel the save command and return you to Surveyor.
  Top Next Up Next Down Bottom

Cloning a Route/Session

DotPoint.JPG A Clone is an exact or duplicate copy of an asset. Routes and Sessions can be cloned
DotPoint.JPG Cloned Routes and Sessions can be edited and saved as Your Content
DotPoint.JPG Cloned DLC Routes and Sessions  CANNOT  be uploaded to the DLS


Cloning a Route or a Session allows you to work on a duplicate copy of the original. All changes that you make will be saved in the cloned copy leaving the original copy unchanged.

Stop.PNG Cloned assets are subject to copyright laws and they remain the property of the original creator. You are allowed to clone DLC Routes and Sessions for your personal use only.
Stop.PNG Under no circumstances are you to upload cloned assets to the DLS or any 3rd party web site without the permission of the original creator


NotePad.PNG Notes on Cloning:

DotPoint.JPG Routes that have been downloaded and installed from the DLS (freeware) or DLC (payware) can be saved (cloned) as new Routes. When they are cloned they will be given a new <kuid> that will include your personal identity code, so they will become Your Content and can be found using the  MY CONTENT  search option. The original Routes will not be altered or replaced by your clones. You are allowed to clone purchased DLC Routes for your personal use only but they cannot be uploaded to the DLS.
DotPoint.JPG Sessions that have been downloaded and installed from the DLS (freeware) or DLC (payware) can be cloned as new Sessions and will also become Your Content. The original Sessions will not be altered or replaced by your clones. You are allowed to clone purchased DLC Sessions for your personal use only but they cannot be uploaded to the DLS.
 Note:  If your cloned Session was created using a DLS or DLC Route then it will still need the original Route. If you delete the original Route then your cloned Session will no longer work. This restriction does not apply to any new Session you create for a cloned DLS/DLC Route. The new Session will be based on the cloned Route and not the original. Both will be classified as Your Content.

Using Surveyor

Routes and Sessions that have been loaded into Surveyor can be cloned using the  Save As...  command from the Surveyor  System Menu 

RouteSaveAsMenu.png CloneSaveAs.png

Enter a new name or edit the original name (as shown above) for your cloned Route or Session.

If you are saving the Route and the Session (the Save new route and session option above) then the Route will be cloned with your new or edited name and the Session will be cloned using its original name but it will use your cloned route as its dependency instead of the original.

If the second option (Save new session) is selected then only the Session will be cloned with your new or edited name (make sure that you change the "Default" to something else) but it will still use the original (uncloned) Route.

Using Content Manager

 1. Select the Route or Session to Clone 

Cloning a route

Steps.PNG Steps:
  1. In Content Manager select the filter Routes & Sessions
  2. select the Route or Session to be cloned
  3. either
    • from the Content Menu select Clone OR
    • press  Ctrl   D 


A Task Window will open to display the result.
Clone task completed

In the image above the original Route has been cloned and given a new <kuid> value.

The newly cloned Route will be shown in Content Manager as a New Asset that is Open for Editing.


Steps.PNG Steps:
  1. close the Task Window
  2. select the Open for Editing filter.

New Asset

 2. Rename the Clone (an Optional Step) 
You can give the cloned Route or Session a new name and a new description. Note that these changes will not appear until after the New Asset has been submitted.


Steps.PNG Steps:
  1. right mouse click the New Asset.
  2. select Open...
  3. select Edit Config File Text.

The config.txt file will open in your default text editor. You can then edit both the Title (username) and the Description of the Route or Session.

  1. locate the line that starts with username.
  2. edit the text on that line between the Quote (") marks (but do not delete the quote marks) to change it to the new name of this Route/Session.
  3. locate the line that starts with description.
  4. edit the text on that line between the Quote (") marks (but do not delete the quote marks) to edit the description of this Route/Session.
  5. save (usually  Ctrl   S )
  6. exit the text editor.


 3. Submit the Clone (a Necessary Step) 

DotPoint.JPG When submitted a cloned DLC Route or Session will be described as Payware, Modified

Steps.PNG Steps:
  1. right mouse click the New Asset.
  2. select Submit Edits

The New Asset entry will vanish from the Open for Editing display. Open the Content Manager filter Today to check that it has been correctly submitted. If you have renamed the clone than it should appear using its new name.



NotePad.PNG Notes:

You can rename a cloned Route or a cloned Session in Surveyor but the clone would still have to be submitted in Content Manager first using its original name and then loaded into Surveyor. You would then have two Routes or Sessions with the same name to select from - one would be the original and the other the clone, and telling them apart may not be simple. You can use the Driver/Surveyor main screen  MY CONTENT  source filter to locate and load the correct cloned Route or Session because the clone will have your <kuid> code and not its original code.

Route edit

Load the cloned Route or Session into Surveyor, then

  • to rename a Route open the Edit menu and select Edit Route, or press  Ctrl   E  - see PageLink.PNG Editing a Route above
  • to rename a Session open the Edit menu and select Edit Session, or press  Ctrl   R  - see PageLink.PNG Editing a Session above

Both will also allow you to edit the Name and Description of the cloned Route/Session.

  Top Next Up Next Down Bottom

Saving and Loading Driver Games in Driver

Saving Driver Games

DotPoint.JPG Driver Games (sometimes called "Saved Games" or "Driver Sessions") are "Game States" saved while in Driver Mode

Driver Games save the "state of play" in Driver - the position of consists, the commodities and levels in rolling stock and industries, the state of the Driver Command queues, Session Rules, clock time, etc. Once saved, the Driver Game can be loaded back into Driver to continue the play at the point where it was saved.

When you are in Driver select  Save  from the System Menu or press  Ctrl   S .

Save Menu

This will display the Save Driver Session dialogue window showing the name of the current Session with a date and time stamp (shown left below). If you click the Tick then this will be the name used for the saved game. Alternatively, you could enter your own unique name (shown right below).

The space below the entered name will display any other saved Driver Games for that Session.

Save Driver Game Save Driver Game

Loading Driver Games

Saved Driver Games will be shown with their Sessions for a selected Route. The section PageLink.PNG Loading an Existing Session shows two different methods of displaying saved Sessions and their Driver Games.
Method DotPoint1.JPG will display ALL the saved Sessions and Driver Games which may be a very long list.
Method DotPoint2.JPG will display ALL the saved Sessions and Driver Games for a selected Route, which should be a much shorter list.

Using Method 2: select the Route first and then click the  VIEW SESSIONS  button. This will display a list of thumbnails for all the Sessions and Driver Games in that Route.

Load Driver Game
NotePad.PNG Notes:

DotPoint.JPG Where a Route has multiple Sessions and Driver Games they will all be shown by their thumbnails with no way of telling which Driver Games belong to which Session.
DotPoint.JPG It can also be difficult to tell which thumbnail is a Session and which is a Driver Game, especially if you have removed the date/time stamp Trainz automatically adds to the name of a Driver Game. A simple way to tell is to click on a thumbnail to see if the  EDIT SESSION  button is still visible. If it is not, because Driver Games cannot be edited, then the thumbnail is for a Driver Game.

Where there is only one session in a Route, the Session will be the first thumbnail shown in the list followed by the Driver Games. Note that the Session is selected by default.

Select (hightlight) the Driver Game you want to load and click the  DRIVE SESSION  button.

Driver Game

This will load the Driver Game, the Session and the Route into Driver.

Warning:
Stop.PNG If you load a Driver Game after you have edited the original Route or Session that was used to create it, then you will receive a message warning you that changes have been made to the original assets. The changes could affect the operation of the Driver Game.
 
Warning assets have changed You will have the options of:-

 Cancel  - the Driver Game will NOT be loaded, or
 Ok  - load the Driver Game wirh the changes

If the changes to the Route or Session have been:-

  • minor and non-operational, such as scenery assets (trees, buildings, etc) then the Driver Game can be safely loaded.
  • more significant operational changes, such as triggers, trackmarks, active industries, consists, tracks, etc, then it may not be wise to load and run the Driver Game.


Only you can be the judge.


  Top Next Up   Bottom

Deleting Routes and Sessions

All the Surveyor and Driver screens for loading Routes and Sessions have a  DELETE ...  button as an option. Selecting a thumbnail and clicking  DELETE ...  will delete the selected thumbnail and the Route/Session it represents.

Warning:
Stop.PNG If you delete a Route you will also delete all Sessions (including Driver Games) created using that Route
Stop.PNG If you delete a Session you will also delete all Driver Games created using that Session


DotPoint.JPG Deleting a Driver Game will only delete that Driver Game, not the Session or Route it was created from


If you need a more selective way of deleting Routes, Sessions and Driver Games, then use Content Manager from the Trainz Launch Screen. Select the Filter Routes & Sessions.

CM list of routes and sessions

The Type column will identify each entry as a Route, Session or Misc. Misc in this case means a saved Driver Game.

You can delete Routes and/or Sessions individually but if you delete a Route by itself then its dependant Sessions and Driver Games will be shown as faulty with Missing dependencies. Likewise, if you delete a Session by itself then its dependant Driver Games will be shown as faulty with Missing dependencies.

  Top Next Up    


Trainz Wiki

TrainzWiki.png

Route and Session Building Guides

 

More Tutorials and Guides to Using Trainz


This page was created by Trainz user pware in September 2021 and was last updated as shown below.


Personal tools