When a train has to pass through its destination in the wrong direction to get to it the pathfinding penalty for passing through a station that isn't the train's destination is applied. This can cause unexpected behaviour where trains never go to the closest possible destination.
[1.1.13] Train pathing past destination in wrong direction adds pathfinding penalty
- SpeckledFleebeedoo
- Burner Inserter
- Posts: 17
- Joined: Thu Nov 26, 2020 3:44 pm
- Contact:
[1.1.13] Train pathing past destination in wrong direction adds pathfinding penalty
- Attachments
-
- factorio-previous.log
- (18.48 KiB) Downloaded 106 times
-
- factorio-current.log
- (18.58 KiB) Downloaded 100 times
Locomotive aficionado. Also known as Train Tech
Re: [1.1.13] Train pathing past destination in wrong direction adds pathfinding penalty
This might be intended.
A train stop usually denotes a place where a train does stop and not a through-line.
And that status usually doesn't change with the direction of the train.
However what might be interesting:
Change the train stop penalties from static values to individual properties for each train stop itself.
So in your case you could define the penalty for the inner stop as 0 since your track layout makes it a must-pass-station.
A train stop usually denotes a place where a train does stop and not a through-line.
And that status usually doesn't change with the direction of the train.
However what might be interesting:
Change the train stop penalties from static values to individual properties for each train stop itself.
So in your case you could define the penalty for the inner stop as 0 since your track layout makes it a must-pass-station.
Re: [1.1.13] Train pathing past destination in wrong direction adds pathfinding penalty
Based on fast discussion, this is not considered a bug, as this behaviour can be generally used and avoided based on what you need.
Re: [1.1.13] Train pathing past destination in wrong direction adds pathfinding penalty
I am the person who found this Issue while asking for help to Discord community.
I struggled a lot to understand why my rail circuit won't work as intended and my trains always pick up the longest station rather that the shortest one until Swan told me to change the turn around track before the train drive past the train station as pics below:
Before: (Blue-IN station)
After:
While changing this it fixed my issue, I'm thinking about people finding themselves with the same situation as mine and struggling to understand what's wrong.
Thanks for SpeckledFleebeedoo to report my issue here and for help, same for Swan.