Forum > Serverside Modding
[QUESTION] How to make a spell play a sound (Only function)
(1/4) > >>
Ulec:
1) Pretty self-explanatory. All I want is to be able to create a spell whose sole function is to play a soundfile uncut regardless of any interruptions and whatnot.
What I've done so far was to edit the SpellVisual.dbc, SoundEtnries.dbc and Spell.dbc to make this happen. However upon launching WoW it gave me an error which indicated that SoundEntries.dbc lacked a column (was 29 columns there, however the game expected there to be a total of 30 columns).
I have spotted which column corresponds to the spell visual (already knew) in the Spell.dbc, changed it to the ID of the spell visual that I have created. And I've figured out which column sets the sound effect for the spell visual and changed it to the Id of the entry that I've created in SoundEntries.dbc.
The spell has no global or normal cooldown, has no attributes and no mechs. It only has an effect, a visual, an icon and a name. The visual is also plain simple. No visual effects - ironically - yet just a sound effect.
2) If this does not work I'll resort to lua and create something resembling an addon to do accomplish what I need. However then I'll need to figure out how to make the said sound get heard by anyone within range.
If anyone could help me with either of those, I'd totally appreciate it.
Best Regards, Can (Ulec)
Steff:
Have a look at point 4
viewtopic.php?f=26&t=98
Ulec:
I don't get how that is relevant to my issue. I extracted data from locale-enUs.MPQ alone. I mean I've done it countless times before, I'm sure that is not the issue.
Ulec:
I get it now. The issue was most possible regarding the 7th point there. Will let you know whether it's working or not.
Ulec:
I figured out the issue but now I can't get the sound to work.
I'm sure that my SoundEntries.dbc and Spell.dbc entries are alright. However I have no clue regarding the flags or columns of the SpellVisual.dbc other than the columns 12 and 13 (11 and 12 for me while viewing on Taliis or another DBC editor)
I set the value at column 12 to 1 to enable the 'missile sound' and enter the sound entry ID to the 13rd column. However it doesn't paly anything.
I've tested the sound in-game by playing it through a script. The sound file is working fine. I think I'm just having a problem with the SpellVisual.dbc. Would appreciate any help.
Navigation
[0] Message Index
[#] Next page
|