This doesn't appear to be strictly a modding question, but I noticed it while modding, so here goes. I'm trying to set up some animations and sound effects for the skills I'm working on, and have run into a problem concerning the <impact> tag. The animations work fine for both impact and anim, but the chosen sound effect seems to work only for the <anim> tag. No matter what I choose as my impact sfx, i get the impact sound effect (just to maximize confusion) on hitting an enemy. If nothing is hit, there is no sound effect at all. Naturally, I assumed I was doing something wrong. However, after much fruitless messing around, I realized there are plenty of existing skills with impact sound effects... like obvious fireball for instance. So this is where I got really confused. None of the games existing missile spells are making impact sound effects either, and to make matters worse, I can't even remember if they were ever there. I imagine I used to hear them, but I'm honestly not certain. So... is my game just somehow borked, or is this an actual thing? I couldn't find anything searching these forums, but I can't imagine something like this wouldn't have come up before.
It depends on the targeting of the spell that calls the sfx. If it's based on targetfloor (or a template), then it'll call the sfx regardless of whether it hits something, whereas it'll only call the sfx if it hits something if it's a normally-targeted spell.
Right, but once I started having this problem, I went and tried quite a few spells from various schools (no mods, just vanilla skills), and none of them were producing impact sound effects. Going with the same example from before, obvious fireball never produces the explosion sound effect, whether it hits a target or the floor. Can anyone confirm that they have missile spells making impact sound effects (other than impact.wav)? I don't think I messed with any game files, but I expect this problem may somehow be limited to my install.
Hey again. I don't mean to be a pain...but is there anyone who can confirm their impact sounds are working? The default obvious fireball is definitely not going boom for me. Code: <spell name="Obvious Fireball" type="missile" icon="skills/spells/fireball32.png" wand="1" > <requirements mp="18" savvyBonus="0.15" mincost="8"/> <effect type="damage" blasting="4" blastingF="0.2" affectscaster="1" /> <anim sprite="sprites/sfx/flame_buff_loop/flame_buff_loop" frames="6" framerate="50" sfx="flame" /> <impact sprite="sprites/sfx/fireball/fireball" frames="7" firstframe="0" framerate="90" centerEffect="1" sfx="explosion" /> <effect type="trigger" spell="Flamefield 1" amount="0" /> <effect type="trigger" spell="Fireball Effect" amount="0" /> <description text="It's a giant fireball. It goes BOOM. Then with the burning. Oh god, the burning. What more do you want?" /> </spell> All i get is the usual thud (impact.wav) against a target, and nothing at all when cast on the ground. I have tried a wide variety of the sounds defined in soundfx.xml on my modded skills too, all of them work find in the <anim> tag, none of them work in the <impact> tag. I just want to know if this is a bug, so i can move on to other things, or if theres something else going on. Would really appreciate any help. Thanks
I just tried fireball and I get the thump sound. It happens whether I hit a monster or a blank tile. Also, I have Ruigi's soundfx.xml fix installed so I don't know if that is changing anything different from yours. It fixes a lot of death sounds and such. I do hear a fwoosh sound when I cast fireball as well. Other than that, I don't know what sounds I am supposed to be hearing. I did see the explosion!.wav in the sfx folder, try changing your impacts line from explosion to explosion! and see if that fixes your problem. EDIT: I just tried it in mine and I didn't get the exlosion sound effects. I'm trying to rename exlosion!.xml to explosion.xml to see if that works. EDIT 2: Ruigi just posted a suggestion and I checked it out. The file explosion!.wav is referenced in there so no it is not working in my copy. Of course, I was looking at Ruigi's soundfx.xml file but it is not working there so probably not in normal DoD either.
Awesome, thank you for checking LionsDen. At least I know it's not just me (although I swear I was getting dead silence when casting fireballs on an empty tile...will have to check that again). Ruigi, searching through soundfx.xml was the first thing I did when I found a sound effect I wanted to use. I find it hard to believe that the problem lies there since, as I mentioned before, they're all working just fine when used in the anim tag. It seems odd that no one has noticed this; maybe custom missile impact sound effects just aren't used that often, and the default 'thump' doesn't stand out the same way silence would. I think I'll repost this in the bugs forum and see where it goes from there.
Ruigi did mention that there were problems with the sound fx. That's why he did his changes to soundfx.xml and posted it for others.