View Single Post
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-11-2008 , 18:08   Re: Winter Environment
Reply With Quote #6

The code looks good except for 2 things:

1.
Code:
if((vVel[0] && vVel[1] && !vVel[2]) && ...)
This will make footsteps not work if a player is running perfectly horizontally on the X or Y axis, such as against a building.
Should be:
Code:
if(((vVel[0] || vVel[1]) && !vVel[2]) && ...)


2. I think the volume of footsteps while a player is walking should either be removed or half the normal volume.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline