Beginner's Problem in Trainz AI

lrt505

Light Rail Trainz
The situation is that I am attempting to run AI Trainz on a route being built. I am using "Portals" to produce trains on the mainline, and "VSR Station Platform" (by Bloodnok) as the train stations. However, problems come.

  1. How to stop AI trains at the stations, then continue running after loading passengers?
  2. How to control the speed of the train?
  3. At the end of the route, how to reverse trains (my train is a double-direction EMU)?
Solutions is hardly found on the search engine. Thank you for answers.
 
Hi lrt505,

To stop a train at a station using AI, issue the train with a Navigate To (station name) command, followed by a Load command.

To control the speed, you can use speed signs - these are available on the Trackside tab (indicated by a signal).

If a train is instructed to go back to a previous station, it will change direction automatically.

Shane
 
Hi lrt505,

To stop a train at a station using AI, issue the train with a Navigate To (station name) command, followed by a Load command.

To control the speed, you can use speed signs - these are available on the Trackside tab (indicated by a signal).

If a train is instructed to go back to a previous station, it will change direction automatically.

Shane

There are multiple AI trains, doesn't it matter?

And is it in "Edit Session-> Rules"?
 
Last edited:
That means if I have three stops "Stop 1" "Stop 2" "Stop 3", I should use commend

Navigate To "Stop 1"
Load
Navigate To "Stop 2"
Load
Navigate To "Stop 3"
Load

However, how to set the commends to be default of all drivers? Since drivers and trains are generated by the portal.
 
Last edited:
Driver Setup is the correct place. You need to add a driver for each of your trains (unless they are portal-controlled) using the Add Driver option. Once this is done, select the appropriate train by clicking the link next to the driver name. Underneath each driver is a space for adding commands - click the green arrow in a circle icon to add commands.

Shane
 
Yes. I am having a problem on how to:

Add commands on drivers of "portal-controlled" trains.

I am willing to have a fully automated route system.
 
For portal controlled trains, you need to use the ? icon on the same tab the portal was added from (which is the Buildings tab) then clicking the portal. The box that appears can be used to configure it, by ticking 'produce new trains', then following the advice given above (as the screen that appears is similar to Driver Setup.

Shane
 
For portal controlled trains, you need to use the ? icon on the same tab the portal was added from (which is the Buildings tab) then clicking the portal. The box that appears can be used to configure it, by ticking 'produce new trains', then following the advice given above (as the screen that appears is similar to Driver Setup.

Shane

I have just tried this. I have found that if I have assigned only one train (one driver) in the portal, there may only be ONE train existing between the two portals. Otherwise, the second train will not comply to the commands.

Also, are there any commends and scripts preventing trains (Light Rail, with no block signals) from head-tail collision?
 
Take a look at pguy's QuickPortalManager's. I think they give you many more options for controlling trains emitted from a portal. He has excellent documentation on using them here. pguy's website
 
I have just tried this. I have found that if I have assigned only one train (one driver) in the portal, there may only be ONE train existing between the two portals. Otherwise, the second train will not comply to the commands.
Every train issued by the portal will have its own driver and the commands you assigned. Depending on how often you set the portal to emit a train and how long each train is in the route, there might only be one train at a time on the route. For every train that is emitted, one should leave the route or very soon you will have too many clogging the tracks.
Also, are there any commends and scripts preventing trains (Light Rail, with no block signals) from head-tail collision?
If you don't want to see any signals, use invisible signals to control the spacing. The trains will obey but you wont see them. (the signals that is) You will see the trains.
 
Back
Top