Page 1 of 1

Avoiding train making loops in two-way rail system?

Posted: Mon Nov 09, 2020 7:48 pm
by UndefinedOre
I have a homegrown rail grid that has two-way tracks.
LTN-enabled trains often first arrive at a destination from depot facing to the opposite direction to station.
There is no such problem with vanilla trains.
Example:
Train first arrives to ltn station with direction 1. Then it stops and immediately schedules path with direction 2.
Why doesn't it schedule the correct path at the start?
Any workarounds?
ltn.png
ltn.png (1.67 MiB) Viewed 2004 times

Re: Avoiding train making loops in two-way rail system?

Posted: Tue Nov 10, 2020 7:17 am
by Nosferatu
Ltn creates a temporary stop directly before the real stop.
Can you confirm by looking at the train schedule that the first stop you mentioned is that temp stop?

I can't see the rest of your train system but do you really need that track to be bidirectional?

Re: Avoiding train making loops in two-way rail system?

Posted: Tue Nov 10, 2020 3:40 pm
by Optera
The temp stop is exactly on the rail attached to the real stop.
If trains run around between those it's a base game issue.

Re: Avoiding train making loops in two-way rail system?

Posted: Tue Nov 10, 2020 3:43 pm
by boskid
Optera wrote: Tue Nov 10, 2020 3:40 pmIf trains run around between those it's a base game issue.
Temporary stop is by design counted as 2 possible path goals, one for each direction. Trying to limit this to only a single direction would require other means to provide which direction is the right one. I am not considering this to be a base game issue of any sort.

Re: Avoiding train making loops in two-way rail system?

Posted: Tue Nov 10, 2020 5:41 pm
by Optera
boskid wrote: Tue Nov 10, 2020 3:43 pm
Optera wrote: Tue Nov 10, 2020 3:40 pmIf trains run around between those it's a base game issue.
Temporary stop is by design counted as 2 possible path goals, one for each direction. Trying to limit this to only a single direction would require other means to provide which direction is the right one. I am not considering this to be a base game issue of any sort.
You're right, I misread the OP as trains reaching the temp stop, then make head.
His station design simply allows trains going to the temp stop from the wrong side.