Skip to content
bkane edited this page Jul 19, 2016 · 3 revisions

Overriding Existing Sound Effects

Create a Prefab and attach the KMSoundOverride script to it. Select the sound effect you wish to override from the dropdown for the Override Effect. Then connect an AudioClip to the AudioClip reference. Make sure your Prefab is tagged with mod.bundle and that's it!

Adding New Sound Effects

To add a new sound effect the game, simply ensure your AudioClip is tagged with mod.bundle. To play it from a script, add the KMAudio script and then call PlaySoundAtTransform with the name of your AudioClip (and the transform for where in space you wish to play it). This will play the sound through Keep Talking's audio system and ensure it responds properly to volume controls.