Author Topic: Varied Footstep sounds  (Read 966 times)

Do you know the sound pack that some people use, where when you walk on bricks you can hear footsteps?
Wouldn't somebody be able to expand that and event it so certain bricks you could walk on could activate a soundpackage, like for example, I want to event a metal-like brick to make metal sounds when walked on:

onPlayerTouch --> Player --> setbrickwalksfx --> metal

or something like that? is this possible?

I'm sensing an incoming Mercs vs. Spies mode. But seriously, this would be great to have.
/support


It is possible.

Port has a mod that makes footstep sounds through events by setting a brick with a specific materials: wood, metal, planking, stone, mud, etc.
Each material has 3-4 different variants of foot step sounds. Ive seen it and it is rad.

Bother Port for it.


https://github.com/portify/GameMode_ZAMB/blob/old2/src/sound.cs#L49 (line 49 to line 160, call Player::footstepUpdateTick to make it work for a player).
https://github.com/portify/GameMode_ZAMB/tree/old2/res/sounds/footsteps (sound files)
I'm not good at coding at all, do i just fix it then download it, like you said? I mean do i replace the code with the "player::footstepUpdateTick"?