andrei-drexler / ironwail

High-performance QuakeSpasm fork
GNU General Public License v2.0
565 stars 51 forks source link

[REQUEST] Fix the swim up / jump key #355

Open Sol1vaN opened 2 weeks ago

Sol1vaN commented 2 weeks ago

Quake jump key don't works in proper way when the player dive into the water like other games: Ion Fury, Duke Nukem 3D, Quake 3, etc.

I mean, in the following video, I demostrate the jump key is much more slow like than swim up key, look: https://youtu.be/qSGI8LUCc_A

This happens from the very first vanilla quake 1, and never has been solved. So, it possible that Ironwail can do the exception and at last do the jump key works right? Cheers.

andrey-budko commented 2 weeks ago

In some ports, there's a variable called cl_smartjump for this.

JoeQuake: https://github.com/j0zzz/JoeQuake/blob/f037f93926a29d2f37b0439da658bbc6b30232a0/trunk/cl_input.c#L165

FuhQuake: https://github.com/QuakeEngines/FuhQuake-mirror/blob/c89864a58a1af7bcb81a384e2d426f3b962f33a9/source/cl_input.c#L162

ezquake: https://github.com/QW-Group/ezquake-source/blob/c8c53f1349663fba297a002158c05410d64a7e09/src/cl_input.c#L416

Sol1vaN commented 2 weeks ago

hum, i have no idea about that source ports. so, it can be possible to implement this solution on ironwail?