omnomnomgoat Posted April 21, 2011 Share Posted April 21, 2011 (edited) Hello I have a spell that came with a mod and i was wondering what i could do to make the sound the spell makes when it activates different. I only want it to change for this one spell. I have the mp3 file for the sound i want i just dont know how to change it or put it in Edited April 21, 2011 by omnomnomgoat Link to comment Share on other sites More sharing options...
raatorotta Posted April 21, 2011 Share Posted April 21, 2011 That needs some scripting to make custom sound for spell. That's all i know. I'm very bad at scripting and new to oblivion script so can't help, sorry :wacko: Link to comment Share on other sites More sharing options...
omnomnomgoat Posted April 21, 2011 Author Share Posted April 21, 2011 Well i have the sound i want in wav format. I tried to just put it in a normal spell (dont know why the modded spell isnt in magic effects so i dont know where it is) and the spell made no noise at all yet when i used like a lightening spell on my restoration spell (as a test) it worked fine. I figure if i could get it to work on a regular spell i can then do it for a modded spell Link to comment Share on other sites More sharing options...
fore Posted April 22, 2011 Share Posted April 22, 2011 I don't know what you mean by "put the sound in a normal spell", but it believe it can't be sufficiently done on a per spell basis. It appears that spell sounds are hard-coded (at least I could not find any text matches for spell sound names), and some mods I looked into always replace existing files, and don't create new ones. The spell sounds (look into the sounds.bsa file) are defined for each magic school plus a few effects (frost, fireball, poison). And there is no way to attach sound to a spell. So you could play your sound as part of a spell script. But that would not surpress the standard sound. Link to comment Share on other sites More sharing options...
omnomnomgoat Posted April 23, 2011 Author Share Posted April 23, 2011 (edited) well i dont mind if the normal spell sound is there as long as mine can be heard and as long as the added sound is only for the specific spell. So how would i go about putting it on the modded spell. Oh and by normal spell i mean a spell that was on the vanilla oblivion and i was doing it to test the sound because i dont know how to change the sound at all for the mod added spells Edited April 23, 2011 by omnomnomgoat Link to comment Share on other sites More sharing options...
fore Posted April 23, 2011 Share Posted April 23, 2011 - Open your spell mod with CS - Open Object Window -> "Sound" and define a new sound (if you need details, look at the TES Wiki Sound) - Check your spell in Object Window -> "Spell" and look for an "Effect Name" which has a ":" in the middle. If so, then the 2nd part of the Effect Name is the name of a Magic Effect Script. Open this script and add a line "playsound <your_sound_id>" between "begin ScriptEffectStart" and the corrsponding "end". - If your spell doesn't include a Magic Effect Script you have to ADD your own scripted Effect Item. As an example look at the vanilla "Wabbajackspell" (it's at the end of the vanilla spells in Object Window -> "Spell". It's just an example how a scripted spell can look like. Of course your spell script only needs the lines scn <spellname> begin ScriptEffectStart playsound <your_sound_id> end And don't forget to define the script as "Magic Effect" (in the script windows "Script Type" pull down menue) Hope this is enough detail to figure it out :thumbsup: Link to comment Share on other sites More sharing options...
omnomnomgoat Posted April 25, 2011 Author Share Posted April 25, 2011 (edited) figured it out (took me a while to realize it needed to be set as an active file lol) thank you very much Edited April 28, 2011 by omnomnomgoat Link to comment Share on other sites More sharing options...
Recommended Posts