Rail pathing - forcing my preferred pathing
Posted: Fri Jun 21, 2019 7:27 pm
Greetings engineers.
I am trying to create a rail segment that will prioritize a line over another, which means I should add a penalty (but not block) the other rail going in the same direction. The idea is the inner two rails on a 4-rail spot, the inner two rails are prioritized and treated as a basically freeway, and the outer lanes would be treated as your roadway traffic exit or onramp lines.
Since I have to have a full length set of rails for your exit/onramp lanes in addition to the freeway lanes, the pathing will consider them equal until a corner (in which I've already got that sorted..I think). https://wiki.factorio.com/Railway/Train_path_finding was very useful in telling me what penalties I can add. I'd rather not have a pair of useless train stops at every stretch to skew the preference. I have more signals on the exit/onramp than on the freeway lanes. Any way I can add score by signals alone (game option?)? Any other way I could prefer the inner two lanes OTHER than wasteful items that don't get used?
Thanks for any suggestions!
I am trying to create a rail segment that will prioritize a line over another, which means I should add a penalty (but not block) the other rail going in the same direction. The idea is the inner two rails on a 4-rail spot, the inner two rails are prioritized and treated as a basically freeway, and the outer lanes would be treated as your roadway traffic exit or onramp lines.
Since I have to have a full length set of rails for your exit/onramp lanes in addition to the freeway lanes, the pathing will consider them equal until a corner (in which I've already got that sorted..I think). https://wiki.factorio.com/Railway/Train_path_finding was very useful in telling me what penalties I can add. I'd rather not have a pair of useless train stops at every stretch to skew the preference. I have more signals on the exit/onramp than on the freeway lanes. Any way I can add score by signals alone (game option?)? Any other way I could prefer the inner two lanes OTHER than wasteful items that don't get used?
Thanks for any suggestions!