This addon plays a random sound when a player bumps into something. Currently includes a very modest 16 sounds (4 of which are repurposed sounds already present in SRB2Kart.)
CONFIGURATION
Set "bonk_mode" to On or Off. That's it.
ADDING NEW BONKS
Create an archive with the sounds you want. Create a Lua script and run either of the following functions:
PREEMPTIVE FAQ
CONFIGURATION
Set "bonk_mode" to On or Off. That's it.
ADDING NEW BONKS
Create an archive with the sounds you want. Create a Lua script and run either of the following functions:
Bonk_Add({sfx = "sfx_id", name = "Readable Name"})
Bonk_Add({sfx = "sfx_id", name = "Readable Name", voice = true})
- If your sound effect's filename is DSBONK69, then sfx_id should be sfx_bonk69.
- Readable Name is currently unused, but this may change in the future and it's better for organization if you fill these out anyway.
- If you include "voice = true", then the vanilla bonk sound will play alongside your voice clip, since it sounds nicer that way.
- To add multiple bonks with the same function, copy the contents of the curly braces ({} ← these things). Separate multiple {}s with commas.
Bonk_Add({sfx = "sfx_id", name = "Readable Name"}, {sfx = "sfx_id2", name = "Readable Name 2"}, {sfx = "sfx_id3", name = "Readable Name 3"})
PREEMPTIVE FAQ
- Q: Why can't I set a specific bonk sound?
A: Why are you bonking enough for it to matter? - Q: Why aren't there hell-bonks?
A: Why are you bonking enough for it to matter? - Q: Can I use HORNMOD sounds for this too?
A: Yes. Note that allowing HORNMOD to allocate sounds will apply a flag that makes sounds audible at 4 times the normal distance.