Fixes the sliding movement without capping max FPS. Enjoy the game at 300 frames per second without a weird, annoying movement.
=================================
JOIN OUR DISCORD FOR MORE INFORMATION/HELP/TECH SUPPORT
Discord.gg
=================================
Install instructions in the included Readme.txt file.
Fully compatible with Widescreen Patch
This mod is banned in speedruns (reason on bottom)
How does it work?
This is a band-aid fix. I could instead rewrite the code to use delta fps, but I couldn't be bothered. This one is easier to make, easier to change and achieves very similar result.
In the vanilla game player's character has acceleration and decceleration. Meaning when you press Forward, the character gains speed for each frame you hold the Forward key, until he reaches the top speed.
On 30FPS it works fine, and it takes the character less than 0.2s to reach the full speed.
On higher FPSes however you accelerate for longer. I believe there is also some interpolation going on, leftover of multiplayer code that's in SP too, which causes teh player to stand in place while accelerating, cause the game caps his movement. Didn't acually look further, coudln't be bothered.
My patch completely gets rid of that acceleration/decceleration. Meaning the moment you press Forward, your character will start walking at the top possible speed. This may sound bad, but it's actually not that different and the movement feels more fluid. And, that's what most other FPS games do too.
The movement may seem a tiny bit faster in the buildings/metal floors. That's because building floor actually reduces acceleration speed in normal game, but since this mod gets rid of it, we reach the top speed faster. Needless to say, that makes this mod banned in speedrunning.
Author: Kuba4ful
Special thanks to: AntonioR Software for writing instructions how to compile Chrome's Java Source Code and which SDK to use, and for making the Widescreen Patch mod.