Page 1 of 1

Randomize train target when multiple stations have same name

Posted: Thu Jun 15, 2017 2:49 pm
by Lav
Currently when a train is scheduled to visit a station, and multiple stations share the station name, the train will proceed to the closest.

It would be better if in this situation the train chose it's destination randomly instead.

Re: Randomize train target when multiple stations have same name

Posted: Thu Jun 15, 2017 5:20 pm
by Engimage
Take a look at these suggestions
viewtopic.php?f=6&t=47695
They would solve problems I think

Re: Randomize train target when multiple stations have same name

Posted: Fri Jun 16, 2017 6:47 am
by Lubricus
If you close stations that is empty/full it good if the train goes to the closest open station. So I vote for the trains to go to the closest station.
That it's complex to solve is a great game mechanic. I love how it pops up more and more throughput problems when you expand the factory and have to come up with new way's to solve them. And an large effective train-system should demand some circuit control.

Re: Randomize train target when multiple stations have same name

Posted: Fri Jun 16, 2017 9:29 am
by darkfrei
You can close the station when it have more amount of items then another.

Re: Randomize train target when multiple stations have same name

Posted: Fri Jun 16, 2017 11:55 am
by Lav
darkfrei wrote:You can close the station when it have more amount of items then another.
Erm... What does that have to do with the suggestion? I'm considering a situation when there are multiple available stations and multiple available trains.

As it is now, all the trains will rush to the same station and only one will be able to load fully, while the rest will be standing uselessly in the waiting bay. And if the station is disabled when there's insufficient resource, all the trains will rush back to unloading station in a single herd. And then the cycle will repeat for the next closest station.

This is an absolutely annoying behaviour that even connecting all your stations with a circuit network won't fix.

Re: Randomize train target when multiple stations have same name

Posted: Fri Jun 16, 2017 1:36 pm
by darkfrei
Lav wrote: As it is now, all the trains will rush to the same station and only one will be able to load fully, while the rest will be standing uselessly in the waiting bay. And if the station is disabled when there's insufficient resource, all the trains will rush back to unloading station in a single herd.
They are going to next loading station if it was not busy, not to the unloading station.

Re: Randomize train target when multiple stations have same name

Posted: Fri Jun 16, 2017 5:16 pm
by Lubricus
I tried to levitate that problem with a hysteresis switch for the train-stations. So the station opens when it can take more than one load of cargo.
viewtopic.php?f=193&t=49319
There are ideas about conditions to skip stations viewtopic.php?f=6&t=25944
And complex combinator solutions viewtopic.php?f=193&t=25311

When you are far into the game when you are at the point when there is a problem with several trains routed to the same station so it is a good game design to let it be a tricky one to solve.
If you only are sending away one rocket it shouldn't be a problem and to do the Rockets /min game should be messy and hard not just repetitive expanding.

Re: Randomize train target when multiple stations have same name

Posted: Fri Jun 16, 2017 7:50 pm
by Tekky
Related thread:

viewtopic.php?f=6&t=49385 Train Repath When Stopped