Page 2 of 2

Re: Train pathing through station

Posted: Sun Nov 19, 2017 1:49 pm
by aaargha
The mod is available here if anyone is interested, it's a lot easier than using the console.

Re: Train pathing through station

Posted: Sun Nov 19, 2017 9:19 pm
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.

Re: Train pathing through station

Posted: Sat Nov 25, 2017 11:28 am
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.

Re: Train pathing through station

Posted: Tue Dec 12, 2017 3:52 pm
by kovarex
Related to the bug report 54042 and fixed for 0.16

Re: Train pathing through station

Posted: Wed Dec 13, 2017 12:59 pm
by impetus maximus
kovarex wrote:Related to the bug report 54042 and fixed for 0.16
awesome, thank you!