Peggy Footsteps
A dynamic footstep add-on that changes the sound of the step based on what you step on.
Do you enjoy hearing your blockhead take each step as he walks around? I do too, so I downloaded Hata's Footstep Add-On.
It was very nice sounding, but I thought "Hey, what if it were better?" I then took the liberty of creating an enhanced version of said Add-On that will play a different sounding footstep depending on what the color of the brick your stepping on is!
I think it's fantastic, and I don't see why I should keep it to myself, so here you go world!
Features- Different sounds based on the speed you go.
- Customizable 'running' speed.
- Customizable FX for each color.
- RTB prefs to change basic settings
Server Commands: | /pegghelp - To get this list of commands | /setMinRunSpeed <decimal> | /toggle Footsteps | /toggle Swimming | /toggle MetalSpecialFX | /clearCustomSound - to delete only the sound you have selected on your color wheel | /clearCustomSounds - to delete all sounds | /getCustomSounds | /getPeggstepPrefs | /setColorToSound<sound> |
| Dynamic sound changing based on brick color: | Dark brown- Wood Floor | Light brown/Yellow brown- Dirt | Grey- Stone | Green- Grass | Very light shades of grey- Snow | Chrome or Pearl SpecialFX - Metal | Unassigned- Sand (This can be applied using '/setColorToSound sand') |
| Special water effects: | When there are bricks beneath you but in water- Splash | When you swim actively- Slosh |
|
New Updates: Some bug fixes and better code.
Use your color wheel and the command,
/setColorToSound <sound>, to make a color play a specific sound always. Replace the sound parameter with any sounds from the list in this post and that sound will play instead of whatever sound the calculator decides. To remove your custom sounds use the command
/clearCustomSounds, and to check what colors have a custom sound, use the command
/get CustomSounds.
All Sounds:- water
- stone
- grass
- snow
- wood
- metal
- dirt
- sand
Notice:
There is a conflict between this add-on and the 3D health bar add-on (Server_3DHealthBar). The sound effects won't play from this add-on when the 3D health bar is enabled. I looked over the code, and I couldn't get a 100% answer as to why this happens (I'm guessing it's an overlap with the user of the function Armor::onNewDatablock(%this, %obj)). Because it's an error where the other add-on's code is effecting mine, I won't be making an edit to this already managed add-on. Complain to the author of the 3D health bar.Notice 2:
As of a recent update, the name of the add-on has changed, so anyone with the add-on still titled "Support_PeggFootsteps" should delete that and enable the new iteration of the mod. It should now be called "Script_PeggFootsteps".