A.I. and distance at danger

justinroth

Well-known member
I have been bothered since I started playing Trainz by the A.I. un-prototypically stopping right on a red signal. I have tried a few methods including signal linker in conjunction with an invisible signal to no avail. Until now it has been just one of those things I've come to accept, however in a current scenario I would like the A.I. to stop short of triggering a grade crossing that has interlocking signals just past it. Does this bug anyone else or am I nitpicking? Has anyone created a rule or scripted object that may accomplish what I am trying to do?
 
Have a look at ATLS by Boat. Ive created situations where a train can go right up to a crossing without triggering the crossing. Place an inverse slave beyond the crossing will set the signals to red until the train sends an ATLS command to open the crossing. ATLS advanced demo shows some of the uses for ATLS beyond what Boat had intended.
 
Hello stagecoach,
I use ATLS rather often but I don't understand what you mean by :'place an inverse slave etc'
I have never used the inverse slave before. I tried to download (twice) your ATLS advanced demo, but it had many missing items. After spending a long time looking for them I gave up. Probably sheer clumsiness on my part.
The inverse slave would open a crossing when a train approaches. Hardly interesting!
Cornelis
 
You can change the crossing's priority so that the crossings will not activate for that particular train. I believe there is a drive command that can change a trains priory in game also.

John
 
Hi Justin,
Jointed Rail have produced a gadget called 'JR signal offset' that lets you move the stopping point away from the signal, available as a free download from their website. It installs easily in surveyor, sort of resting on top of the rails and you can slide it along to wherever you want the train to stop. http://jointedrail.com/index.php/freeware/signals.html
 
You would need to set the crossing up as ATLS to work in conjunction with the reverse slave.
The triggers would be set up with say priority 3 as non active and the arriving train would be priority 3. The train would then pass the triggers without activating the crossing and the reverse slave ahead of the crossing would make the signal think there was a train in the next section so remain red. Use the ATLS driver command when the train needs to leave to activate the crossing and delete the reverse slave and sets the signal back to automatic. If you want the train to stop further away from the signal you can use the ATLS Tram stopper.
 
Last edited:
Back
Top