Added an inter-plugin API for consistency of surf physics.
See forwards in include/momsurffix2.inc.
Explanation of surf physics here: https://rampsliders.wiki/doku.php?id=physics%3Asurfsdk13
Momentum mod surf/ramp fix ported to CSGO and CSS.
TF2 support is currently available under this fork (https://github.com/JoinedSenses/MomSurfFix/tree/TF2-Fork).
That fix modifies CGameMovement::TryPlayerMove()
function to behave like momentum mod ones. Whole function 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.
- SourceMod 1.11.0.6711 or higher.
- 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_noclip_workaround - Enables workaround to prevent issue #1.