Re: Train pathing through station
Posted: Sun Nov 19, 2017 1:49 pm
The mod is available here if anyone is interested, it's a lot easier than using the console.
Placing my contraption so a train may route anywhere except the desired station(s) will make them behave just as stupid.aaargha wrote:placing this contraption at the split before the stations might help.
aaargha wrote:I'm usingto 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.Code: Select all
/c game.player.print(game.player.selected.train.state)
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.
Thanks for this useful visualization tool.aaargha wrote:The mod is available here if anyone is interested, it's a lot easier than using the console.
awesome, thank you!kovarex wrote:Related to the bug report 54042 and fixed for 0.16