Page 1 of 1

luatrain braking_force

Posted: Mon Oct 01, 2018 9:08 pm
by ownlyme
the current issue with my mod https://mods.factorio.com/mod/OverloadedTrains is, that the computer doesn't start braking soon enough and ends up having an unrealistic instant-stop right before the signal/trainstop
i managed to hack the acceleration pretty well by setting the speed every few ticks but maybe you want to add an api there too.

Re: luatrain braking_force

Posted: Tue Oct 02, 2018 9:46 pm
by Rseding91
At the moment braking_force isn't stored in the save file and without a good reason I don't want to add the backing C++ logic and cognitive overhead of having to make sure it's handled everywhere trains would need to handle it.