Linking Train Depots through names

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Post Reply
ThePhantasm
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu Jun 22, 2017 6:08 pm
Contact:

Linking Train Depots through names

Post by ThePhantasm »

TL;DR
Would be nice if I have multiple train depots that share a name - a train will simply path to the nearest open one

What ?
Similar to how OpenTTD/Transport Tycoon allows the creation of a train stop with multiple entries...
Image
Factorio's use of the train stop currently precludes the creation of a linked train stop.
But you can copy-paste a train stop name to another train-stop. It would be great if the replicated names actually linked the stops. This would reduce the need to name stops like DropOil1, DropOil2, DropOil3.
Why ?
Most mega-bases, and even many smaller bases do this anyway - it's sort of annoying and fiddly having to manually schedule trains and manually balancing them.

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2915
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: Linking Train Depots through names

Post by Optera »

Trains already go to the nearest station of a given name.

I assume you want Factorio to do path finding into platforms similar to OTTD.
OTTD scans only a few tiles ahead and decides at each junction where to go. That means trains will nicly balance into platforms but get lost a lot in complex networks without waypoints.
Factorio decides on the whole path when starting a journey. This allows trains to always find a path no matter how complicated a network is, but also leads to trains waiting in front of multi platform stations (multiple stops with same name) because the stop they picked when starting was taken by another train.

Factorio could easily remedy this by reducing wait time on blue chain signals before re-pathing happens. Currently it seems to be set to a few minutes.

christian
Long Handed Inserter
Long Handed Inserter
Posts: 64
Joined: Fri Jun 08, 2018 12:44 am
Contact:

Re: Linking Train Depots through names

Post by christian »

ThePhantasm wrote:
TL;DR
Would be nice if I have multiple train depots that share a name - a train will simply path to the nearest open one
Lol Factorio already does that.

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7351
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: Linking Train Depots through names

Post by bobingabout »

Optera wrote:Trains already go to the nearest station of a given name.

I assume you want Factorio to do path finding into platforms similar to OTTD.
OTTD scans only a few tiles ahead and decides at each junction where to go. That means trains will nicly balance into platforms but get lost a lot in complex networks without waypoints.
Factorio decides on the whole path when starting a journey. This allows trains to always find a path no matter how complicated a network is, but also leads to trains waiting in front of multi platform stations (multiple stops with same name) because the stop they picked when starting was taken by another train.

Factorio could easily remedy this by reducing wait time on blue chain signals before re-pathing happens. Currently it seems to be set to a few minutes.
isn't that what the smart signal is for? put it just before the station branches and it reconsiders which to use when it gets to the signal. kinda like presignals in OTTD
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

mrvn
Smart Inserter
Smart Inserter
Posts: 5682
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: Linking Train Depots through names

Post by mrvn »

You can also disable a station with a train in it for instant repaths.

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2915
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: Linking Train Depots through names

Post by Optera »

Somewhat recently my old trick of forcing trains to recalculate paths by having them pass through a circuit controlled signal stopped working.

Tekky
Smart Inserter
Smart Inserter
Posts: 1039
Joined: Sun Jul 31, 2016 10:53 am
Contact:

Re: Linking Train Depots through names

Post by Tekky »

In this suggestion thread and in my counter-proposal, it has been suggested that it should be possible to influence the train pathfinder using train conditions and circuit network conditions.

If this route restriction were evaluated several times, once during the initial pathfind of the train and once again when the train passes a certain location, it could also solve the problem of trains finding an empty station platform.

Post Reply

Return to “Ideas and Suggestions”