this fork creates an inter-plugin API for third party plugins to take advantage of the deep engine hooks and precise movement data that this plugin provides. it detours tryplayermove so it has movement authority, and by exposing that, we can have server-accurate data.
untested on public servers or with multiple clients. performance might be an issue. mainly intended for LAN use right now. this stuff is a bit over my head, i just created this because because i needed this data for some TAS stuff i'm doing. a ton of stuff might actually be broken, i ripped out the profiler beacuse it confused me. you may need to make some changes and profile it again, because i cannot imagine the performance impact is small, and it is possible i have just broken stuff too.
- documentation for the API can be found here
- original documentation for momsurffix2 can be found here
- an article about surf physics can be found here if you want to learn what all of this means
this is a plugin to test api functionality. chat commands will begin logging API forwards for a client:
- start: /sm_momsurf_test @me 1
- stop: /sm_momsurf_test @me 0
- logs are here: addons/sourcemod/logs/momsurffix2-api/PlayerName_SteamID.log
100% to gammacase and the momentum mod guys, all i did was add forwards and (maybe) break something.