Page 1 of 1

[0.17.55] Multi-Directional Trains Picking Paths Incorrectly Depending On Other Train's Mode

Posted: Thu Jul 11, 2019 1:02 am
by kaleb418
Currently I have two locomotives running on the same tracks, with several different stations, networks and intersections for them to go to. There is one station that is along the main track path, so I added a passing lane for trains that need to pass the station if another train is already parked there. However, when two trains head towards the intersection, the train behavior seems to glitch. The train first to arrive (the top train in the video) will stop, as expected, and wait for the other train to leave the next block. But the arriving train (the bottom one in the video) chooses to ignore the open block that it could use to head towards its destination, instead heading for the block already occupied by the already-stopped train. I've thoroughly tested the intersections: the trains can all get where they're supposed to be going and my signals are working as intended. Strangely enough, if I back up the bottom train and set the already-stopped train to "Manual" mode, the incoming train (bottom) will choose the correct path.

After testing this a bit, I found that adding another pass-through around the station in the middle allows the bottom train to maneuver around the station and continue onward. But why would the station be preventing the train from entering the block?

Please see the attached video for clarity (apologies for the low quality, Windows screwed it up when I trimmed it :/ )

Re: [0.16.51] Multi-Directional Trains Picking Paths Incorrectly Depending On Other Train's Mode

Posted: Thu Jul 11, 2019 1:32 am
by wobbycarly
I reckon if you put (chain) signals before the branch that might help.

Re: [0.16.51] Multi-Directional Trains Picking Paths Incorrectly Depending On Other Train's Mode

Posted: Thu Jul 11, 2019 1:34 am
by kaleb418
Unfortunately, if I add chain signals for trains entering the intersection, they won't enter if another train also wants to enter, rendering the passing lane useless.

Re: [0.16.51] Multi-Directional Trains Picking Paths Incorrectly Depending On Other Train's Mode

Posted: Thu Jul 11, 2019 5:08 am
by Loewchen
If you can produce this in the latest version, post the save with the player next to the train please.

Re: [0.16.51] Multi-Directional Trains Picking Paths Incorrectly Depending On Other Train's Mode

Posted: Thu Jul 11, 2019 4:31 pm
by kaleb418
Loewchen wrote:
Thu Jul 11, 2019 5:08 am
If you can produce this in the latest version, post the save with the player next to the train please.
Sure thing, I've confirmed it's reproducible in 0.17.55 and attached the save folder.

Re: [0.17.55] Multi-Directional Trains Picking Paths Incorrectly Depending On Other Train's Mode

Posted: Fri Jul 12, 2019 10:20 am
by Loewchen
This is just really bad track design/signalling.
You have a station on the west path that the northbound train would have to pass through while not in schedule, making this option so costly that it prefers the east path even though it is occupied. Only once you increase the penalty by setting the occupying train to manual will the train take the west path.
Generally you should never allow the possibility for trains to go head to head on a two way track, use chain signals or remove signals on this part of the track to prevent that. NaB.

Re: [0.17.55] Multi-Directional Trains Picking Paths Incorrectly Depending On Other Train's Mode

Posted: Fri Jul 12, 2019 3:16 pm
by kaleb418
Oh gotcha, thanks. I'm still trying to figure proper track designing out ;)