mercedes benz head light 2007 nissan altima pennsylvania state elections ancient greece map island sweet dream are made of this lyrics reasoning about numbers alum for sale pornos animal ringtones swinger party airport glasgow inn travel fall wedding flowers security systems moo point when does creative wedding invitation ferrari business software postpartum health start a business art institute of chicago fashion show free ringtone downloads for sprint u2 downloadable music word problems buying vicodin online murphy bed with book case vip discount auto automotive company finance household episodes guides smoking facts and statistics asian xxx married dating sites neil young human highway ferrari car firestone tires plus size summer clothes jobs for portuguese speakers iraq country study private insignia vegas mechanics truck bodies robie williams angel lyric homepage phone number cricket ringtones healthy diet researching stocks 1999 corolla review logo mobile sonnerie acne home remedies nude ass video which broadband electric blankets real sex pic tip on cleaning the face ussr propaganda lady night nude steam powered airplane open stock 18 wheeler jobs order phentermine islamic accounting standard math lesson for kids replica coach handbag exotic mens dress shoes custom car part and accessory auto shutdown xp professional pledge of alliegence multifunction peripherals natural woman ringtones for us cellular electric heater wall viscosity temperature chart sereno album thriller vander veen basketball shoes sex-shemale andersen products inc car audio automobile shop manual list of mortgage brokers in arizona page metric english conversion tables information on sponge electronic thesis submission adult costume thistle edinburgh butt seymore orchid show california shirt t vintage wholesale real ringtones the science of mind and behavior excelsior college celiac disease online tramadol federal prisons america email list stockholder tattoo you rolling stones join adult friend finder
For player footsteps, Valve used MASK_PLAYERSOLID_BRUSHONLY
rather than MASK_PLAYERSOLID
. This difference made it so only the static world would have dynamic footsteps. The following precedure will show how to fix this issue.
Note:This will not make any difference if PlayStepSound
is overridden by the player entity (i.e. HL2MP).
Basic Fix
src\cl_dll\c_baseplayer.cpp
Shift Trace Start Up
// Straight down
end.z -= 64;
|
→
|
// Straight down
start.z += 1;
end.z -= 64;
|
Smaller Trace Box Height
Ray_t ray;
ray.Init( start, end, GetPlayerMins(), GetPlayerMaxs() );
|
↓
|
Ray_t ray;
Vector mins = GetPlayerMins();
Vector maxs = GetPlayerMaxs();
maxs.z = mins.z + 1;
ray.Init( start, end, mins, maxs);
|
Change Trace Mask
UTIL_TraceRay( ray, MASK_PLAYERSOLID_BRUSHONLY, this, COLLISION_GROUP_PLAYER_MOVEMENT, &trace );
|
↓
|
UTIL_TraceRay( ray, MASK_PLAYERSOLID, this, COLLISION_GROUP_PLAYER_MOVEMENT, &trace );
|
src\game_shared\gamemovement.cpp
Shift Trace Start Up
// Straight down
end[2] -= 64;
|
→
|
// Straight down
start[2] += 1;
end[2] -= 64;
|
Smaller Trace Box Height & Change Trace Mask
TracePlayerBBox( start, end, MASK_PLAYERSOLID_BRUSHONLY, COLLISION_GROUP_PLAYER_MOVEMENT, trace );
|
↓
|
Ray_t ray;
Vector mins = player->GetPlayerMins();
Vector maxs = player->GetPlayerMaxs();
maxs.z = mins.z + 1;
ray.Init( start, end, mins, maxs);
UTIL_TraceRay( ray, MASK_PLAYERSOLID, player, COLLISION_GROUP_PLAYER_MOVEMENT, &trace );
|
HL2MP Override Removal
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