Does Anyone Have A Single Simple Walk Sound Script?

So in my game I just wan't this really simple script that
plays a footstep sound when the player moves.

Maybe it could randomly change the pitch of the noise every time it plays,
but beggars can't be choosy.

Every Script I find online wan't me to do Region Event's or Terrian Tags I just
want it to play one noise no matter what tile you step on...
BTW: I don't wan't an event to do this either just a script.

If someone could find a script for this or make me one I'll give you
my highest regards.

Thanks!!!
Haven't tested it yet, but this should do the trick. It works for regions or terrain tags.

https://github.com/theoallen/RGSS3/blob/master/Footstep Sound.rb
Haven't tested it yet, but this should do the trick. It works for regions or terrain tags.

https://github.com/theoallen/RGSS3/blob/master/Footstep Sound.rb
Sorry this didn't help...
What is the issue, then? I just put this script into my project to test, and it seems to be working.

Change line 39 to be false, and change line 57 to be 0 instead of 1. It seems to play that walking sound on every tile, no matter the region or the tile tag.
What is the issue, then? I just put this script into my project to test, and it seems to be working.

Change line 39 to be false, and change line 57 to be 0 instead of 1. It seems to play that walking sound on every tile, no matter the region or the tile tag.
Hmm It works just not with my game....
I'll try to figure out what the problem is thanks for you help though!
Oh wait it worked... Thanks!
Glad I could help!

Technically, it is using terrain tags. Just, tilesets by default use tag 0 on tiles. If you do end up using terrain tags in your game, be sure to copy and paste line 57, like...

0 => RPG::SE.new("Knock",80,150),
1 => RPG::SE.new("Knock",80,150),
2 => RPG::SE.new("Knock",80,150),

And so on, so that this works with all tags. But, if you never end up using any terrain tags ever, just leave it as is!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/does-anyone-have-a-single-simple-walk-sound-script.102753/