Train pathing through station

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
aaargha
Filter Inserter
Filter Inserter
Posts: 329
Joined: Wed Dec 07, 2016 8:35 am
Contact:

Re: Train pathing through station

Post by aaargha »

The mod is available here if anyone is interested, it's a lot easier than using the console.

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

Re: Train pathing through station

Post by Optera »

aaargha wrote:placing this contraption at the split before the stations might help.
Placing my contraption so a train may route anywhere except the desired station(s) will make them behave just as stupid.
I had trains going from the depot deceleration track back on the main circle line for a 5 minute trip around a huge lake instead of waiting a few seconds when another train was currently decelerating into the depot.
I hope train path finding in 0.16 gets rid of this silliness.

Mimos
Long Handed Inserter
Long Handed Inserter
Posts: 73
Joined: Mon Nov 07, 2016 5:15 pm
Contact:

Re: Train pathing through station

Post by Mimos »

aaargha wrote:I'm using

Code: Select all

/c game.player.print(game.player.selected.train.state)
to see which entry from the list here it is (0 based) while hovering over a train. 6 is arrive_station and 7 is wait_station.

The Lua API holds a lot of goodies once you know where to look :)

I'm thinking of making a mod that would change the colours of trains depending on which state they're in so that it's easier to debug these kinds of issues. It shouldn't be that hard, but we'll see.
aaargha wrote:The mod is available here if anyone is interested, it's a lot easier than using the console.
Thanks for this useful visualization tool.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: Train pathing through station

Post by kovarex »

Related to the bug report 54042 and fixed for 0.16

User avatar
impetus maximus
Smart Inserter
Smart Inserter
Posts: 1299
Joined: Sat Aug 20, 2016 10:07 pm
Contact:

Re: Train pathing through station

Post by impetus maximus »

kovarex wrote:Related to the bug report 54042 and fixed for 0.16
awesome, thank you!

Post Reply

Return to “Gameplay Help”