Fixing Per-Material Footsteps in HL2MP: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "===src\cl_dll\hl2mp\c_hl2mp_player.h=== ====Prototype Removal==== * PlayStepSound * PrecacheFootStepSounds ===src\game_shared\hl2mp\hl2mp_player_shared.cpp=== ====Symbol Remov...")
 
No edit summary
Line 1: Line 1:
The information had 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===
===src\cl_dll\hl2mp\c_hl2mp_player.h===
====Prototype Removal====
====Prototype Removal====

Revision as of 20:46, 18 October 2020

The information had 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

src\game_shared\hl2mp\hl2mp_player_shared.cpp

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