Train acceleration/deceleration formulas

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
icedevml
Burner Inserter
Burner Inserter
Posts: 12
Joined: Sun Jul 03, 2016 1:13 pm
Contact:

Train acceleration/deceleration formulas

Post by icedevml »

Hello!

I have a mod which is playing with train speeds and it would be useful for me to know exactly how to calculate train acceleration or deceleration in next tick, given a LuaTrain object. Could someone (devs?) provide formulas for that? It would be also good to have some API for calculating that and maybe some possibility to control acceleration/engine parameters/etc.

Post Reply

Return to “Modding interface requests”