Trains don't slow for approach signals

OK. I have my little test interlocking. First screenshot below.
The signals are all safetran's.
The interlocking signals are 08, and the automatics are 05.

All switches have been set to normal and the route saved.
The default route for all tracks is straight through the crossovers.

All tracks are protected by an 08 signal in each direction at the interlocking.
There are at least 4 automatic signals each side of the interlocking.

When I go into driver mode, the interlocking signals are still red since the train is far away.
Once the train passes the first automatic signal, the interlocking signal changes to the indication shown in the 2nd screenshot.

I even set a rule to check multiple junctions, and set the condition for all to the default, just to make sure.

So, is this not the type of interlocking the signals are designed for?

interlockingwsignals-1.jpg


Interlocking Overview

interlockingwsignals-2.jpg


Train approaching interlocking, all switches lined straight throug
 
Clovis 2 contains many double crossovers not unlike what you have on your test route and one thing I did find was that where the first junction of an interlocking was a trailing junction almost anything was possible. I did manage to find a work-around in most instances, though not all. It is early morning here and work is a'waiting, but if nobody else solves it sooner I will have a play around with that set-up tonight....

Andy :)
 
Clovis 2 contains many double crossovers not unlike what you have on your test route and one thing I did find was that where the first junction of an interlocking was a trailing junction almost anything was possible. I did manage to find a work-around in most instances, though not all. It is early morning here and work is a'waiting, but if nobody else solves it sooner I will have a play around with that set-up tonight....

Andy :)
Well, one thing I can say is that this is interesting "work".
I'm looking forward to the release of your new route.
 
Andy;
I set up what I believe is your interlocking, set up the signals using the safetran 08 (I used pedistals, not gantry for simplicity), and set all of the junctions per your screenshot, and I still got the approach over clear with stop on the bottom.

The only time I have been able to get the clear indication on top is when I put the signal on a piece of signalled track that had no junctions!

I'll figure this out, if it takes me all night. Once I get onto something like this, I have to crack it.
 
Update:

I played with a test route in TS2009 and TS2009 SP2 beta for a couple hours and could never get the Safetran clight interlocking 08 signals to display any better than yellow on top, green on center and red on bottom.

Then I decided to try TS2006.
I created a similar route, but this one had 3 tracks, another line crossing at an angle with two double-slips, plus another set of crossovers (including one double-slip) for the other direction.

I placed the safetran 08 signals to protect the interlocking, and safetran 05 automatics along the way in either direction of the interlocking.

I set switches to default straight through the interlocking.
I placed a loco on each of the 3 tracks at one end.

Then I started driver.

First off, the signals acted differently than they do in TS2009.
The first two automatic signals ahead of each loco were green, the next was yellow, and all the rest, including the interlocking signals were red.

As the train moved forward, there were always two green and one yellow ahead of it, with all the remaining signals up the line red.

When the condition for the interlocking signals to show an indication (other than stop), it was first with the top aspect yellow, the lower two red.
When the train passed one more automatic signal, with only one clear automatic between it and the interlocking, the interlocking signal changed to: top aspect green, the lower two red.
At this point, the next signal, an automatic on the distant side of the interlocking was indicating yellow.

Next, I restarted driver, and changed the junctions so that the train would cross over from the center track to the rightmost main track.

When the loco approached, the interlocking signal indicated: top aspect yellow, the middle aspect green, and the lower red.
So, the signal was "aware" that the route was diverging, and indicated accordingly.

This is the way I would have expected these, or any 3 aspect signal to behave in TS2009. Now that I know they do behave properly in TS2006, I can speculate that TS2009 is interpreting the script differently.

Since I do not understand scripting, and don't even have any source code to look at, there is nothing further I can do here.
 
Last edited:
using trainz has mislead a lot of people to think that most signals have something to do with routing, when this really isnt the case. in the US most signals are speed indicating, including the signals i have made for TRS. you can usually guess your route by this, like with a red over yellow indication, but its really just speed control. the 08 signals are not going to tell you what route you are taking but tell you what speed you need to be observing while crossing the next set of turnouts.
But they do have the capability to show direction of a junction ahead.
You use code in your script that assigns head color based partially on Junction.direction.

Seeing ths, I am investigating the signals.gs in TS2009 compared to that in TS2006, and find much more code in TS2009, handling various new features.

By playing around with your script (after cloning the safetran clight signal 08 interlocking), I have found that the signal is always receiving information that a junction has been set to left or right, and thus displays the signal that is appropriate for left or right diverging.

There must be something different about the way in which TS2006 handles this, as these same signals, on this same route work exactly as I would expect them to in TS2006.

I am still digging into the various scripts, comapring TS2006 to TS2009.
Not having any real experience with this, but being familiar with code structure, and the general flow, I think I can locate the problem.
If nothing else, I will learn a lot of TS scripting in the process.

However, since most people who use this forum don't know anything about code, I am going to keep all of this content over in TrainzDev.
I just figured that I would mention it to you, since you are a content creator.
 
Last edited:
Back
Top