ZeroK-RTS / Zero-K

Open source RTS game running on the Spring/Recoil engine
https://zero-k.info
GNU General Public License v2.0
687 stars 205 forks source link

"Jump on prediction" for transports #4510

Open Hawkybird opened 3 years ago

Hawkybird commented 3 years ago

I'd like a "Jump on prediction" option for transports like the newtons do. Allow jumpbots to jump before hitting the ground after being dropped by transports to negate fall damage.

Arch-Shaman commented 3 years ago

This is currently implemented in FW: https://github.com/Arch-Shaman/ZK-Futurewars-Mod/blob/Stable/LuaRules/Gadgets/unit_fallavoidance.lua

It can be PR'd if desired. In its implementation, the unit jumps to its relative forward position at 95% jump range once it gets below 50elmo AGL. (Also avoids jumping into water!)

This is also not limited to just transports either. Unit cannons are affected too!

GoogleFrog commented 3 years ago

A vital feature of Newton cannon autojump is that players have plenty of time to change the jump location while their unit flies through the air. The physics of transport tossing does not have this lenient window within which to give alternate commands. I'd rather have the units be given no automatic orders than have an automatic order override player agency.

This is all for thinking about the default UI. I'm not all that motivated to add this feature as an obscure bit of UI that only a handful of people will find.