-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,18 @@ | ||
# MomSurfFix | ||
Momentum mod surf fix ported to csgo | ||
# Currently WIP! | ||
Momentum mod surf/ramp fix ported to csgo and css. | ||
## About | ||
That fix modifies ``CGameMovement::TryPlayerMove()`` function to behave like momentum mod ones. [Whole function](https://github.com/momentum-mod/game/blob/develop/mp/src/game/shared/momentum/mom_gamemovement.cpp#L1838-L2282) was recreated on sourcepawn and replaced default ``CGameMovement::TryPlayerMove()``. By modifying that function and applying all fixes that momentum mod team has done, you'll get quite good surf/ramp glitch fix. | ||
|
||
## Requirements | ||
* [Dhooks with detour support](https://forums.alliedmods.net/showpost.php?p=2588686&postcount=589); | ||
* SourceMod 1.10 or higher. | ||
|
||
## Available cvars | ||
* **momsurffix_ramp_bumpcount** - Left from original momentum mods function, helps with fixing surf/ramp bugs; | ||
* **momsurffix_ramp_initial_retrace_length** - Left from original momentum mods function, amount of units used in offset for retraces; | ||
* **momsurffix_enable_asm_optimizations** - Enables ASM optimizations, that may improve performance of the plugin; | ||
* **momsurffix_enable_noclip_workaround** - Enables workaround to prevent issue #1. | ||
|
||
## Special thanks to | ||
* [Momentum mod team for the actual fix](https://momentum-mod.org/); | ||
* [Guys from bhoptimer discord for testing](https://discord.gg/jyA9q5k); |