Page 1 of 1

Weird pathing behavior

Posted: Fri Jan 31, 2020 12:21 pm
by RiverRob
Hi,
I've started to use bi-directional 1-2-1 trains for supply runs (building materials, fuel, etc).
I have a main depot (first screenshot) which is in the middle of everything.
I want to set up smaller depots farther away, so I came up with the design in the second screenshot.
The problem I'm running into is also in the second screenshot.
Even though there is plenty of space left in the main depot, trains are still trying to park at the small depot even though it's full already.
The third screenshot is the same idea just farther away from the main depot.
Any ideas how I can fix this? I don't think it's an LTN issue, but I can't figure this out.
Thanks in advance
mainDepot.png
mainDepot.png (1.87 MiB) Viewed 1496 times
issue1.png
issue1.png (2.47 MiB) Viewed 1496 times
issue2.png
issue2.png (1.21 MiB) Viewed 1496 times

Re: Weird pathing behavior

Posted: Fri Jan 31, 2020 12:37 pm
by planetmaker
The path finder considers different things when assigning a station to a train:
  • distance to station
  • number of occupied blocks and / number of trains in the way
  • station being currently being occupied
  • red circuit controlled signals
These are weighted and the 'closest' station given these is chosen. A fix for your situation might be that you add additional signals to your small depot which are turned red via circuit network when it is occupied by a train so that the red-signal penalty for an occupied station in the small depot is increased.

Re: Weird pathing behavior

Posted: Fri Jan 31, 2020 2:14 pm
by Optera
Pathing can't be changed by mods.
This has nothing to do with LTN.

Re: Weird pathing behavior

Posted: Fri Jan 31, 2020 2:34 pm
by RiverRob
Yep, not a mod issue, but someone using LTN might run into this depot issue if their map gets big enough.
Thanks @planetmaker, the distance was the issue. I added in a bunch of circuit controlled signals and it's fixed the issue.
The mini-Depot looks like a landing strip now lol.
Thanks for the help!
issueResolved.png
issueResolved.png (1.33 MiB) Viewed 1471 times

Re: Weird pathing behavior

Posted: Sun Feb 02, 2020 12:20 pm
by Zaflis
Some of those 1-4-1 trains are not actually 2-way trains. It matters which way you place the locomotives, using R key when placing them down.

Re: Weird pathing behavior

Posted: Sun Feb 02, 2020 4:33 pm
by RiverRob
All of the 1-4-1's are single direction and for main factories (ore, circuits, etc). The 1-2-1's are bi-directional and for building materials (miners, belts, rails, etc) and consumables (fuel).