More information for train state
Posted: Fri Nov 17, 2017 11:38 pm
re viewtopic.php?f=28&t=27024 and viewtopic.php?f=28&t=51175
It woudl be nice to be able to get. in script, whether a train is accelerating, cruising, stopping, or stopped. I don't know if the engine internally uses cruising, or just always is accelerating along a long path, and if it uses a passive deceleration curve before hard braking....
Really the only state I'd really require is if it is accelerating. THis would greatly simplify the guessing I do in https://mods.factorio.com/mods/d3x0r/tr ... ed-limiter and the accuracy ( found while further tweaking train paramteers that there were certain deceleration rates/transitions between tracks that could make the train far exceed its regular acceleration, and even when decelerating the guess would be that it was still accelerating and the train could not stop.
On the deceleration side, I really don't want to apply the track speed penalty, or the train can end up crawling to a stop long before is intended stop.
It woudl be nice to be able to get. in script, whether a train is accelerating, cruising, stopping, or stopped. I don't know if the engine internally uses cruising, or just always is accelerating along a long path, and if it uses a passive deceleration curve before hard braking....
Really the only state I'd really require is if it is accelerating. THis would greatly simplify the guessing I do in https://mods.factorio.com/mods/d3x0r/tr ... ed-limiter and the accuracy ( found while further tweaking train paramteers that there were certain deceleration rates/transitions between tracks that could make the train far exceed its regular acceleration, and even when decelerating the guess would be that it was still accelerating and the train could not stop.
On the deceleration side, I really don't want to apply the track speed penalty, or the train can end up crawling to a stop long before is intended stop.