How to Use Driver Setup Rule
(Removed duplicated sections) |
m (added Trainz Plus where needed, replaced references to multiple Trainz versions with "Trainz") |
||
Line 1: | Line 1: | ||
− | The information in this Wiki Page applies to | + | The information in this Wiki Page applies to '''TANE''', '''TRS19''' and '''Trainz Plus'''. |
__TOC__ | __TOC__ | ||
Line 38: | Line 38: | ||
<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> | ||
− | #Open the [[file:WikiLink.PNG|link=]] '''[[How to Use Session Editor|Session Editor]]''' by selecting '''Edit Session''' from the '''Surveyor Main Menu''' in TANE | + | #Open the [[file:WikiLink.PNG|link=]] '''[[How to Use Session Editor|Session Editor]]''' by selecting '''Edit Session''' from the '''Surveyor Main Menu''' in '''TANE''' and '''TRS19''' or the '''Surveyor Edit Menu''' in '''TRS19 SP1''' and '''Trainz Plus''' |
#Select the '''Driver Setup Rule''' shown left (it is usually the rule at the top of the list) | #Select the '''Driver Setup Rule''' shown left (it is usually the rule at the top of the list) | ||
#Click the '''Edit''' button at the bottom of the '''Session Editor''' window</td> | #Click the '''Edit''' button at the bottom of the '''Session Editor''' window</td> | ||
Line 83: | Line 83: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:Gears.PNG|link=]]</td> | <td>[[file:Gears.PNG|link=]]</td> | ||
− | <td><span style="font-size: 17px;">'''TRS19 Settings:'''</span><br> | + | <td><span style="font-size: 17px;">'''TRS19/Trainz Plus Settings:'''</span><br> |
*If '''Checked [[file:CheckBox.PNG|link=]]''' All existing drivers will be removed so all trains will become "empty" (no drivers). When used with the '''Generate new Drivers for empty trains''' option, it will produce a new list of randomly selected drivers for all trains. | *If '''Checked [[file:CheckBox.PNG|link=]]''' All existing drivers will be removed so all trains will become "empty" (no drivers). When used with the '''Generate new Drivers for empty trains''' option, it will produce a new list of randomly selected drivers for all trains. | ||
*If '''Unchecked [[file:CheckBoxOff.PNG|link=]]''' All existing drivers will remain with their previously assigned trains.</td> | *If '''Unchecked [[file:CheckBoxOff.PNG|link=]]''' All existing drivers will remain with their previously assigned trains.</td> | ||
Line 146: | Line 146: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>[[file:DotPoint.JPG|link=]]</td> | <td>[[file:DotPoint.JPG|link=]]</td> | ||
− | <td>This issue has been '''FIXED''' in the latest '''beta | + | <td>This issue has been '''FIXED''' in the latest '''beta''' versions of '''TRS19 SP1''' and '''Trainz Plus'''</td> |
</tr> | </tr> | ||
</table> | </table> | ||
Line 367: | Line 367: | ||
<td>[[file:Bug.png|link=]]</td> | <td>[[file:Bug.png|link=]]</td> | ||
<td><span style="font-size: 17px;">'''TANE Known Issues:'''</span><br> | <td><span style="font-size: 17px;">'''TANE Known Issues:'''</span><br> | ||
− | If a '''Repeat''' command is present in the ''Command Bar'' and all the other commands are then deleted, the '''Repeat''' command will remain in the ''Command Bar'' and cannot be removed. Because there are no other commands to be repeated this will not cause a problem. However when later adding new commands the presence of the '''Repeat''' command can be easily overlooked. This bug has been fixed in '''TRS19'''. | + | If a '''Repeat''' command is present in the ''Command Bar'' and all the other commands are then deleted, the '''Repeat''' command will remain in the ''Command Bar'' and cannot be removed. Because there are no other commands to be repeated this will not cause a problem. However when later adding new commands the presence of the '''Repeat''' command can be easily overlooked. This bug has been fixed in '''TRS19''' and '''Trainz Plus'''. |
<table cellpadding="4" bgcolor=#bbffbb width="640"> | <table cellpadding="4" bgcolor=#bbffbb width="640"> | ||
<tr valign="top"> | <tr valign="top"> | ||
Line 424: | Line 424: | ||
</table> | </table> | ||
<br> | <br> | ||
− | The Rule properties window will open to show all the ''Driver Commands'' that have been installed in ''' | + | The Rule properties window will open to show all the ''Driver Commands'' that have been installed in '''Trainz''' on your system. This list includes the commands that are built in and those that have been downloaded from the DLS. |
<table> | <table> | ||
<tr valign="top"> | <tr valign="top"> |
Revision as of 20:46, 1 November 2019
The information in this Wiki Page applies to TANE, TRS19 and Trainz Plus.
Contents |
Driver Setup Rule
The Driver Setup Rule assigns drivers to consists and issues them with Driver Commands. | |
Driver Commands are lists of instructions or "orders" that drivers are tasked to complete under the control of the Trainz AI system. |
A list of available Driver Commands can be found on the Trainz Wiki Page at:- |
The Driver Setup Rule is automatically added to the Session Editor of every Session.
|
Adding New Drivers
After selecting the Driver Setup Rule and clicking the Edit button, the Driver Setup Properties Window will be shown. The image below shows the properties window if it is opened with no locomotives placed in the layout.
|
If your session uses a rule that will expect to find a particular driver in charge of a train (e.g. driver Charlie in the Trigger Check Rule) then manually assign Charlie as the driver of a train and do not select the option Remove all existing Drivers first. |
When using the Driver Setup Rule for the first time with no drivers assigned to existing trains, the Generate new Drivers for empty trains option will immediately assign drivers to each train. Each time a new train is added to the layout, it will be automatically assigned a driver. |
|
|
Settings:
|
|
|
Adding a large number of drivers to the Driver Setup can cause Timeout errors particularly if certain driver script libraries are being used. Exactly how many is a "large number" will depend on other factors.
|
Editing the Driver List
When drivers and trains have been added to the rule, it will appear as shown below.
|
Adding Driver Commands
The grey area below the driver details (name, loco, owner) is the Driver Command Bar. This is where the driving instructions (the "train orders") used by the Trainz AI system are given to the driver.
Shown below is a Command Bar after two Driver Commands have been added. Each command has its own icon. Move the mouse pointer onto a command icon to reveal a tooltip showing the contents of the command, as shown in the image. |
|
Notes: When a driver command has been executed in Driver Mode by the Trainz AI system, it will be deleted from the Command Bar and the next command in the sequence will then be executed. This will continue until the last command has been executed and deleted. Then the AI control of the train will terminate. |
Deleting Driver Commands
To remove a command from the Command Bar...
|
The "Repeat" Command
The "Repeat" command is a special built in command that allows all the driver commands to be repeated endlessly. |
|
|
|
|
Driver Command Rule
The Driver Command Rule controls which Driver Commands will be available in a Session. This applies to both:-
|
|
Removing commands such as Navigate To will force players to manually drive trains when in Driver Mode instead of allowing them to use the Trainz AI system to do all the work. |
The Driver Command Rule is automatically added to the Session Editor of every Session.
|
The Rule properties window will open to show all the Driver Commands that have been installed in Trainz on your system. This list includes the commands that are built in and those that have been downloaded from the DLS.
|
Trainz Wiki
More Tutorials and Guides to Using Trainz |