How to Use Portals

From TrainzOnline
Jump to: navigation, search

The information in this Wiki Page applies to TANE, TRS19, Trainz Plus and TRS22.

Contents

BlueDot10x10.png Portals are track objects that can add and remove trains during the running of a Session
BlueDot10x10.png Portals can be used to move trains from one part of a Route to another


  Top   Next Down Bottom

What is a Portal?

PortalTypeScreenShot.PNG

Portals come in a variety of forms - some resemble tunnels and others look like a section of normal track.

The basic portals supplied with Trainz can be configured to:-

BlueDot10x10.png remove trains that are sent to them or pass through them (the portals that look like track can be used to let certain trains pass through while "swallowing" others).

The removed trains can be:-

BlueDot10x10.png removed permanently, or
BlueDot10x10.png returned to the Session through the same portal or another portal after a set time delay
BlueDot10x10.png add new trains to the Session. The new trains:-
BlueDot10x10.png will have drivers with orders to follow
BlueDot10x10.png can be randomly selected from available consists


BlueDot10x10.png Portals can be "enhanced" by using Session Rules that add additional features and capabilities


Enhanced portals can have features such as:-
BlueDot10x10.png adding new trains to the Session according to a set schedule ranging from once only, once per day or at set clock times
BlueDot10x10.png varying the drivers of added trains and their commands according to a set schedule
BlueDot10x10.png varying the consists of added trains


Adding a Portal

 In Surveyor Classic (S10) 

PortalSearchSettings.PNG The quickest way to find all the train producing and consuming portals in the Surveyor Object Tool window is to set up a search filter. This will sort the portals you want from all the objects named "portal" such as tunnel portals.
Steps: To find a Portal in Content Manager:-
Set an advanced search filter by:-
DotPoint1.JPG Pressing  Ctrl  +  Shift  +  F 
DotPoint2.JPG Left Click  +  and add the filter  Name  and enter Portal (upper/lower case is not important) in its text entry box
DotPoint3.JPG Left Click  +  and add the filter  Category  and its sub-category Industry
The Objects selection window will now show only those objects that match your search criteria.
DotPoint4.JPG Open the Object Tools "fly-out" (or press the  F3  key)
The objects list will show all scenery assets that meet your entered search


Stop.PNG

The portals will NOT work correctly if the Trainz Settings - Dev Tab - Compatibility mode: from the Trainz Launcher is set to Maximize performance. This setting should be left at Maximize compatibility

 In Surveyor 2.0 (S20) 

Surveyor 2.0 is currently only available for Trainz Plus and TRS22 Platinum Edition


Steps: To find a Portal in the Assets Palette:-
DotPoint1.JPG In the Asset Palette Left Click on the Content Drop-down Box
Filter List

Portal Filter
NotePad.PNG Notes:

If the Assets Palette is not shown on the screen, then:-

Windows Menu
DotPoint1Blue.png open the Window Menu from the menu icons at the top of the screen
DotPoint2Blue.png Left Click on the Assets Palette name
to add a Tick.PNG and make it visible.
DotPoint2.JPG select Scenery Objects and enter the text Portal into the text box
DotPoint3.JPG Left Click on an entry to select it. If you are not sure about an asset then Double Left Click on the name to bring up its image and description
Portal Context menu S20
Steps: To open the Properties window of an asset, including a Portal, in Surveyor 2.0
DotPoint1.JPG Left Click on its Context Icon as shown in the image left
DotPoint2.JPG Left Click on  Edit Properties  to configure the portal
  Top Next Up Next Down Bottom

Configuring a Basic Portal

Open the properties window of a portal in the route.

PortalProperties01.PNG

Gears.PNG Settings:

This portal is set to:-

BlackDot10x10.png Produce a train every 15 minutes (but the train consist has not yet been specified)
BlackDot10x10.png Consume all trains that are sent to the portal or pass through the portal
BlackDot10x10.png The consumed trains will not be returned to the Session

NotePad.PNG Notes:

In TRS19, Trainz Plus and TRS22 the time entered is in real minutes as determined by an external clock and not according to the Trainz Clock Time which may be set to run at a higher speed (e.g. 10X normal).


Produce Trains

PortalProduceNewTrains.PNG
Steps: To add consists to be produced by the portal:-
DotPoint1.JPG CheckBox.PNG Produce new trains
DotPoint2.JPG set the desired time interval (in minutes) between the trains
DotPoint3.JPG Left Click the link Add new consist
PortalProperties02.PNG


Steps: To manually add rolling stock objects:-
DotPoint1.JPG Left Click PortalPlusIcon.PNG to manually construct a consist from the Session rolling stock list
DotPoint2.JPG Left Click Add driver to consist to add a driver from the Session list
DotPoint3.JPG Left Click Add an existing saved consist to add a saved consist from those that you have already saved as Train Consist Assets


Construct a Consist

PortalProperties04.PNG

Gears.PNG Settings:

For each vehicle in the consist you can specify:-

BlackDot10x10.png how many to add (they will be coupled together)
BlackDot10x10.png the direction the vehicle(s) will face

You can also:-

BlackDot10x10.png delete vehicles or the entire consist
BlackDot10x10.png insert additional vehicles inside the consist
BlackDot10x10.png add additional vehicles at the end of the consist
NotePad.PNG Notes:

DotPoint.JPG the first vehicle in the list will be the first vehicle produced by the portal
DotPoint.JPG it is NOT possible to easily reorder the vehicles in a consist
DotPoint.JPG to add more of the same vehicles in a different location in the consist, add the vehicles as a separate entry in the list
DotPoint.JPG add another consist and driver by a Left Click on the Add new consist link again


Add a Saved Consist

If you have already saved your consists in Trainz using the Trainz Tool then those consists can be quickly and easily added to the portal consist list.

PortalExitingConsist.PNG
Steps: To add a saved consist to a portal:-
DotPoint1.JPG Scroll through the list to find the saved consist
DotPoint2.JPG Select the consist, then either:-
Ablue.png Left Click the Tick.PNG icon to accept the selection and load it into the portal consist list, OR
Bblue.png Left Click the Cross.PNG icon to reject the selection and return to the previous screen


Add a Driver

PortalProperties03.PNG

Gears.PNG Settings:

You can:-

BlackDot10x10.png Select a new driver and icon
BlackDot10x10.png Rename the driver
BlackDot10x10.png Add driver commands
BlackDot10x10.png Delete the driver

LinkWiki.PNG

For information on adding driver commands see the Trainz Wiki Page at:-


Consume Trains

To remove trains from the Session

PortalAcceptAllTrains.PNG

Choices.PNG Choices:

CheckBox.PNG Consume trains then either

PortalOptionButtonEmpty.PNG Accept all trains to remove any and all trains that enter the portal, or
PortalOptionButtonEmpty.PNG Accept trains matching specific criteria to only remove certain trains that enter the portal

PencilTips.PNG For "dead end" portals (those that have no exit) the Accept all trains option is the option that should be used


Consume Only Specific Trains

After selecting the option Accept trains matching specific criteria a new set of controls will appear

PortalAcceptAllTrainsOpen.PNG

Gears.PNG Settings:

PortalOptionButtonFilled.PNG Accept trains matching specific criteria

BlackDot10x10.png You can set any one, any two or all three of the consist selection criteria
BlackDot10x10.png Any train that matches the entered settings will be removed from the Session as it enters the portal, other trains will be ignored

Control Options:-

DotPointBlack.JPG Specific Vehicles - normally used to specify just one particular train in the Session
BlackDot10x10.png You must select, from the Session list, the exact name given to a vehicle. This is the name that has been entered into the property window of that vehicle
BlackDot10x10.png The order of the vehicles, if there is more than one, is not important
BlackDot10x10.png You only need to select enough names to correctly identify the consist that contains the vehicle or vehicles (the locomotive name is usually sufficient)
DotPointBlack.JPG Vehicles Types - normally used to specify a number of different trains in the session e.g. all trains with a particular type of coal wagon
BlackDot10x10.png You must select, from the Session list, the general name of the type of vehicle or vehicles - this is the name shown in the Trains Tool when the vehicle is added to a layout
BlackDot10x10.png If you have identified Specific Vehicles (above) then you would normally not need to set this option
DotPointBlack.JPG Drivers - used to specify trains driven by particular drivers
BlackDot10x10.png Select the driver or drivers from the Session driver list
BlackDot10x10.png If your drivers change trains or consists during a Session then it may be useful to combine this with one of the other two options


An example:-

PortalAcceptAllTrainsSpecifics.PNG
NotePad.PNG Notes:

In this example, the portal will remove any train that:-

DotPoint.JPG contains locomotive BR HST 125 with the running number 253007
OR has any of the following vehicles:-
DotPoint.JPG BR HST MK3 TF with any running numbers
DotPoint.JPG BR HST MK3 TRUK with any running numbers
OR is driven by any of the following drivers:-
DotPoint.JPG Alan
DotPoint.JPG Andrea


Return Consumed Trains

To return consumed trains back into the Session

PortalAcceptTrainReturns.PNG


Gears.PNG Settings:

To return the train from a different portal:-

  1. Set CheckBox.PNG Train returns through alternate portal and
  2. Enter the exact name of the alternate portal


Gears.PNG Settings:
  1. Set CheckBox.PNG Train returns after ...
  2. Set the time delay (in real minutes) between the train being consumed and produced, then select one option from:-
Choices.PNG Choices:
PortalOptionButtonEmpty.PNG Train is not loaded or unloaded - no changes will be made to the loads carried in each vehicle
PortalOptionButtonEmpty.PNG Train is loaded only - each vehicle will be loaded when it exits the portal
PortalOptionButtonEmpty.PNG Train is unloaded only - each vehicle will be unloaded when it exits the portal
PortalOptionButtonEmpty.PNG Empty trains are loaded, other trains are unloaded - vehicles that are empty when entering the portal will be loaded when they exit the portal, all other vehicles will be unloaded


BlueDot10x10.png A train that has been returned after entering a portal will return to the Session with any remaining driver commands still in its Driver Schedule. It will then immediately start obeying those commands


Stop.PNG

If the driver command that sent a train to the consuming portal was the final command in its schedule, then it will emerge from the portal with an empty Driver Schedule. It will come to a halt immediately after leaving the portal.


  Top Next Up   Bottom

Configuring an Enhanced Portal

There are a number of portals available on the DLS that have additional features or capabilities that are not found in the basic portals built into Trainz. There are also Session Rules available on the DLS that will give additional features or capabilities to the basic portals.

Quick Portal Manager Standard Edition Rule (SP2 and later)

This is a Session Rule, by pguy, that manages the portals and adds flexible timetables to their operations. It is available on the DLS.
  • <kuid2:61392:5011:45> - correct at the time this document was written

Portals and the UDS (Unified Driver Surveyor) Interface

The UDS is an option for rapid switching, in both directions, between Driver and Surveyor. It is available in TRS19 Platinum Edition and later versions of Trainz. The UDS does not affect the operation of portals but it has revealed one previously unnoticed property of portals.

A train that is driven into a portal and later returned to the layout will be returned in the same layer as the portal and not in the trains originally assigned layer. Trains that are produced by a portal will be assigned to the same layer as the portal. This has  possibly always been the case with portals  but was probably unnoticed until the arrival of the UDS. It seems to have no other noticeable effect on trains.

This could become an issue if you make the switch from Driver to Surveyor after a train has been returned to the layout from a portal. For example, if a train is originally in a Session Layer then it is part of a Session. If it is returned from a portal then it will now be in a Route Layer and will be part of the Route. If you then switch from Driver to Surveyor and save the Route then the train will be saved in the Route not in the Session. If this is an issue then the remedy is to open the property dialogue window of any wagon in the train after it has left the portal and change its assigned layer to the correct one. This will set all vehicles in that train to the same correct layer.


  Top Next Up    


Trainz Wiki

TrainzWiki.png

More Tutorials and Guides to Using Trainz


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


Personal tools