Weapon/Armor Sound Effects

I'm looking for a plugin that would causes different sound effects to occur depending on which weapon/armor the player/enemy has.


The Sound Effect would only happen on specific tagged skills.


Since Enemies cannot equip items, enemies would instead be tagged as using said equipment.


Example:


Actor A has Sword/Plate Armor


Enemy A has Dagger/Mail Armor


Actor A Hits Enemy A with a tagged skill,  making the 1. Sword swing SE 2. Sword Hit Mail Armor SE


Enemy A Hits and Crits Actor A with a tagged skill, making the 1. Dagger swing SE 2. Dagger Crit Hit Plate Armor SE


Actor A misses Enemy A with a tagged skill, making the 1. Sword swing 2. Sword Evasion Swing SE


So to clarify, the SEs must be specific on the weapon types


Each weapon has those different SEs


Swing


Hit on different armor types


Hit crit on different armor types


Miss


I was using Theo TSBS before(Ace)


Let me know if you're interested, I could help further in the logic as of how to make it.
I'd like to do this, however I'd prefer to use a json file as well as notetags. Is that okay?
Fine by me, even better.
The SE play from animation right?


Meanwhile, It's actually hard to make because animation doesn't have a notetag.
Wouldn't work with animations, it have to be tied up with weapon/armor types
Wouldn't work with animations, it have to be tied up with weapon/armor types

Can you elaborate more on that?


Basically what I was thinking of doing was to dynamically replace the impact sounds of animations depending the weapon/armor type of the user/target. You just use a certain placeholder sound effect file when making your animation, for the impact sound.


This way, if you want to have an animation where the enemy is hit more than once, you can do so with the appropriate sound effects. This seems like the best way to do it to me.


Swing/miss sounds would be done separately in a different way.
Can you elaborate more on that?


Basically what I was thinking of doing was to dynamically replace the impact sounds of animations depending the weapon/armor type of the user/target. You just use a certain placeholder sound effect file when making your animation, for the impact sound.


This way, if you want to have an animation where the enemy is hit more than once, you can do so with the appropriate sound effects. This seems like the best way to do it to me.


Swing/miss sounds would be done separately in a different way.

Then would I need to put that placeholder SE on every used animation?


How about the skills that aren't using this sound while using that same animation, do I need to make a duplicate animation without that placeholder SE?
I've actually thought of a better way. You could define in a parameter which sound effects would get replaced globally. Or you could define for individual skills which sound effect(s) get replaced as a notetag. Of course, the replacing only happens if the skill has the notetag enabling it. How about that?
I like that, though l fear that replacing method may mess with my random SEs plugin which I use to randomly take a SE from a .json list if the name is the same like this:


"BD/BDPirate2/attack1": ["BD/BDPirate2/attack1","BD/BDPirate2/attack2","BD/BDPirate2/attack3"],


I would hope to do the same for those weapon SEs
3 days
3 days
3 days
I'm getting close to finishing it.
Script


Sample json file


There's one issue where the sounds will play even if the attack misses, but that isn't caused by this plugin, that's the way default Rpg Maker MV works: the animation and its sound effects play on misses. Which doesn't make a lot of sense when you have a sound effect meant to represent a hit. I'd like to address and "fix" it eventually, but since this is a default bug/issue I'll release the plugin as is for now. Make sure to read the help for the plugin. It requires Battle Engine Core.
Script


Sample json file


There's one issue where the sounds will play even if the attack misses, but that isn't caused by this plugin, that's the way default Rpg Maker MV works: the animation and its sound effects play on misses. Which doesn't make a lot of sense when you have a sound effect meant to represent a hit. I'd like to address and "fix" it eventually, but since this is a default bug/issue I'll release the plugin as is for now. Make sure to read the help for the plugin. It requires Battle Engine Core.

Thanks for your work, ill report any bugs I see 🙂

Original thread: https://forums.rpgmakerweb.com/threads/weapon-armor-sound-effects.57350/