AI junction switching

jm2009

New member
Probably obvious to all the Trainz pros out there... but does a train under AI control automatically throw switches to get to it's specified route?

If not, is there a driver command that will set a switch to allow the train to get to it's intended destination?

Thanks!
 
Hi Jm :wave:

AI switching is not the most reliable.

To make it reliable use the following rules

Path Command
AutoDrive
Copy Commands

Makes things reliable

Cheers

Lots :wave:
 
jm2009,

Is this with 2009 or an earlier version?

According to the development notes, 2009 WBE shipped with an AI revision - but it is planned for an upgrade when the 2009 EE comes along.

There was quite a bit of of work on the AI between the last Beta and the published version - as was noted.

I've found that using "navigate to" commands more useful in 2009.
In the older versions one could instruct the driver to navigate all theough the network with one "drive to" - 2009 has problems with that part..

Colin
 
I have also had great luck so far with the Navigate To... command in the latest version of TS2009. My AI drivers now wait patiently at the signals and switch the tracks they need rather than locking up the route and driving backwards when they get bored after waiting too long.

In the older versions, the AI would run backwards and any other way they could te get around junctions if they could. This made it very frustrating and unpredicatble when setting up sessions because the sessions would work one day, but then become totally buggered the next.

John
 
To answer my replies,

I'm running Trainz 2006. I was having a problem with a simple layout that included 2 ovals that shared a section of track (so it required 2 junctions). 1 train runs the outer loop, the other the inner loop.

The AI just couldn't seem to figure out how to throw one switch to allow the "outer loop" train to stay on the outer loop. For some reason, after setting that switch in Surveyor to the outer loop, the AI now works and changes both junctions as required...
 
A loop can have no junctions, or a minimum of two junctions, but not one junction. The Trainz AI looks two junctions ahead, so if the train in question is waiting to enter a loop the AI looks to the first junction ahead and throws it to enter the loop. So far so good. But the AI then looks for the next junction and attempts to set it, but it can't. In a one-junction loop the two junctions ahead are the same junction.

If you add a second junction to the loop (use invisible track and levers if you don't want to 'see' the junction) all will be well....

Andy :)
 
Back
Top