Factorio

Factorio

View Stats:
Spyderborg May 11, 2018 @ 12:23pm
Automatic train not working
I tried to set up a basic railway to bring oil from the drill site to my base. Only one train and one railway. The train has a locomotive on either end facing opposite directions (since I read that auto trains will never reverse). I'm trying to set it up so that the train returns to the drill site once its tank has been emptied, and then return to my base once it's full:

https://steamuserimages-a.akamaihd.net/ugc/918050228301039027/1DD6C4F5C4DB6CFA49F2FD2EA7C56995370118B4/

In the screenshot the train is completely empty, so why doesn't it go back to the Sgtazza stations (the drill site)? It's not saying "no path", it just seems like the condition isn't being recognized.
< >
Showing 1-9 of 9 comments
Jupiter3927 May 11, 2018 @ 12:27pm 
Are your train stops rotated so the train can get them?
Trains won't reverse and they won't go past a stop to stop there unless there's some way to turn around.
KatherineOfSky May 11, 2018 @ 12:33pm 
Do you have any signals on the track?
Spyderborg May 11, 2018 @ 12:38pm 
Originally posted by Jupiter3927:
Are your train stops rotated so the train can get them?
Trains won't reverse and they won't go past a stop to stop there unless there's some way to turn around.

I'm not really sure what you mean, the train stops are rotated so that the arrows are pointing in the direction that the train approaches on arrival. This also isn't a loop, it's a single rail with 2 dead ends and I want the train to go back and forth on it.


Originally posted by KatherineOfSky:
Do you have any signals on the track?
Nope. should I? I'm still a noob to this game
Jupiter3927 May 11, 2018 @ 12:40pm 
Your stops should be the right way then.
Signals are only useful if you have more than 1 train on a line ever.
Fin_Voleur May 11, 2018 @ 12:52pm 
Try setting it to "cargo inventory empty" instead of "fluid = 0"

I don't know why that would fix it but it's worth a shot, thats usually how I have my trains set up.
AlexMBrennan May 11, 2018 @ 12:56pm 
In the screenshot the train is completely empty, so why doesn't it go back to the Sgtazza stations (the drill site)?
You didn't select the fluid type to be used in the comparision so this condition cannot possibly work* - either choose whichever fluid the train is supposed to carry (e.g. "crude oil = 0"), or change the condition to "inventory empty".

* Imagine a train carrying water and oil - how is the game supposed to know whether you want the train to wait until
1) oil is empty
2) water is empty
3) oil and water are empty
4) oil or water are empty
without you telling the game?
Last edited by AlexMBrennan; May 11, 2018 @ 12:58pm
Fin_Voleur May 11, 2018 @ 12:56pm 
Nevermind I think I see what it is.

In the lower left of the GUI you need to select the type of fluid the train is evaluating as equal to 0.

I don't usually do fluid conditions but I would be willing to bet this could fix it!
Spyderborg May 11, 2018 @ 1:04pm 
Oh wow. That did it. Thanks everyone :D
Lunacy May 11, 2018 @ 1:05pm 
You can also add "OR" inactivity or Wait for Time Passed as a failsafe so it doesn't get stuck at a station
< >
Showing 1-9 of 9 comments
Per page: 1530 50

Date Posted: May 11, 2018 @ 12:23pm
Posts: 9