Can trains choose stations?

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
NameLips
Inserter
Inserter
Posts: 44
Joined: Mon Jun 27, 2016 11:53 pm
Contact:

Can trains choose stations?

Post by NameLips »

I'm trying to make a 4-track RORO station (like you would in TTD). Unfortunately, the only way I can see to do this in Factorio is to put a separate train stop on each track. As far as I can tell, you can only put ONE of those 4 stops in the train's schedule, and it cannot choose to stop at any of the other 3 stops.

Lets assume I have some system to sort what trains drop off, so it literally does not matter which stop it unloads at. I want a train to choose when it arrives which of the 4 stops to use. So if 3 of the stops are occupied by trains, it will pick whatever stop is empty and unload its contents there.
reallyLost
Inserter
Inserter
Posts: 39
Joined: Wed Apr 20, 2016 2:12 pm
Contact:

Re: Can trains choose stations?

Post by reallyLost »

You can give multiple train stops the same name. The train will pick whichever one has the fewest number of occupied blocks along the route. However, it chooses that path before it leaves the previous station and doesn't re-check very often to see if faster routes open up (something like once every 30 sec and only if it's stopped at a red signal, I think). So to handle that you add a 'queuing' stop just before your four stops, with a wait condition of 0 seconds. The train will stop there just long enough to figure out which of the four actual stops it should pick.
NameLips
Inserter
Inserter
Posts: 44
Joined: Mon Jun 27, 2016 11:53 pm
Contact:

Re: Can trains choose stations?

Post by NameLips »

OK thanks! I didn't actually think there was a way.
Post Reply

Return to “Gameplay Help”