Fixing Per-Material Footsteps in HL2MP
Jump to navigation
Jump to search
The information has been taken from the Prop Footsteps page, as these steps are required before making that fix. But, I have found that in Source SDK 2013 MP, Footsteps are not correct until these steps have been taken.
Code Changes
src\cl_dll\hl2mp\c_hl2mp_player.h
Prototype Removal
- PlayStepSound
- PrecacheFootStepSounds
Symbol Removal
- PlayStepSound
- PrecacheFootStepSounds
src\dlls\hl2mp_dll\hl2mp_player.cpp
Precache
In function CHL2MP_Player::Precache | |
---|---|
Remove | PrecacheFootStepSounds(); |
src\dlls\hl2mp_dll\hl2mp_player.h
Prototype Removal
- PlayStepSound
- PrecacheFootStepSounds