Skip to content

Commit

Permalink
Fix snow footsteps
Browse files Browse the repository at this point in the history
Make them sound like snow, not dirt.
  • Loading branch information
robotboy655 committed Jun 6, 2014
1 parent 2f1fd73 commit 2d57b27
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
28 changes: 28 additions & 0 deletions garrysmod/scripts/sounds/hl2_game_sounds_physics.txt
Expand Up @@ -181,6 +181,34 @@
}
}

"Snow.StepLeft"
{

"CompatibilityAttenuation" "1.0"
"pitch" "PITCH_NORM"
"volume" "1.0"
"rndwave"
{
"wave" "player/footsteps/snow1.wav"
"wave" "player/footsteps/snow2.wav"
"wave" "player/footsteps/snow3.wav"
}
}

"Snow.StepRight"
{

"CompatibilityAttenuation" "1.0"
"pitch" "PITCH_NORM"
"volume" "1.0"
"rndwave"
{
"wave" "player/footsteps/snow4.wav"
"wave" "player/footsteps/snow5.wav"
"wave" "player/footsteps/snow6.wav"
}
}

"Dirt.StepLeft"
{
"soundlevel" "SNDLVL_75dB"
Expand Down
3 changes: 3 additions & 0 deletions garrysmod/scripts/surfaceproperties.txt
Expand Up @@ -697,6 +697,9 @@
"base" "dirt"
"density" "800"
"friction" "0.35"

"stepleft" "Snow.StepLeft"
"stepright" "Snow.StepRight"

"audiohardnessfactor" "0.25"
}
Expand Down

0 comments on commit 2d57b27

Please sign in to comment.