Help adding Custom sound to specific actions
RedTheSecond
Member Posts: 5
I am playing BGEE for the first time and playing as the anime character Dio as shadowdancer class. I wanted to replace the ability sound for shadowdancer's stopping time sound to the za warudo sound. I looked it up and found some guides for making custom sound sets but i cant figure out how to do this. Can anyone help?
0
Comments
First, I assume you have the sound effect you want to add already, as a .WAV file. Give that sound a valid resource name (no more than eight characters before the .WAV) and put it in your override.
Then, find the spell (Shadowstep, spsd02.SPL) and add a new effect to its ability. That new effect should be opcode 174 (Play Sound Effect), and its "resource" field should point to your new sound file.
Fields such as "probability", dispel/MR behavior, and save type should mirror the same fields in the spell's other effects. Timing mode and duration shouldn't; you want this sound to play once, so the "instant/limited" timing of doing stuff for a specified duration isn't appropriate. Instead, you either use timing mode 1 (immediately) or 4 (after a specified duration).
As a side effect, any enemies that used the ability would also play that sound. There are a few enemies that could, all in either the Siege of Dragonspear expansion or in Rasaad's BG2EE quests.
If you want to undo these changes at some later time - perhaps because you're playing a run without the anime theming - then all you have to do is delete the altered files from the override. The game will go back to using the original version of the spell without the sound effect, and everything's normal.
Basically, the program keeps a bunch of reference lists in memory to interpret the various elements of the game's resources; those lists are reloaded whenever you start the program, switch to a new game profile (i.e. going from BGEE to BG2EE), or use "Refresh Tree".