Closed dystopm closed 1 year ago
Add a hook aswell for PM_PlayerTrace, to control which entities get to collide with the player...
Add a hook aswell for PM_PlayerTrace, to control which entities get to collide with the player...
That's a modification that must be done on ReHLDS. PM_PlayerTrace it's a pointer to a function located in engine. Also, "exporting" this function to an AMXX plugin forces to create an interface to handle physent_t (pmtrace_t is implemented) structures, which are pending since PM_LadderMove hook implementation. If you are willing to use this in a submodule, then you can without issues.
Based on https://github.com/s1lentq/ReGameDLL_CS/pull/849