Equipping Only One of Each Weapon Type

So in RPG Maker VX Ace, I was unable to find a way to prevent equipping two of the same type of weapon when the "Dual Wield" option is on, which allows equipping of two weapons.


It may make more sense if I explain why:


Each character has a certain weapon for them. For instance, one character has an SMG. That is part of the character. So instead of having weapons, I went under the "Terms" section and changed "Weapons" to "Attachments". In short, attachments are being equipped instead of weapons. Under "Weapon Types", I have a class for each type of attachment, like "Ammo", "Magazine", "Sight", etc. The issue is equipping two of the same thing at once. For instance, equipping two scopes, or having two foregrips on a weapon. I am planning for this to be a more serious game, not like some sort ridiculous Nerf combos video, so I need a script to prevent equipping of two of the same weapons of the same type.


If you don't get it, feel free to ask for more details. If you can help, thanks in advance.
So in RPG Maker VX Ace, I was unable to find a way to prevent equipping two of the same type of weapon when the "Dual Wield" option is on, which allows equipping of two weapons.


It may make more sense if I explain why:


Each character has a certain weapon for them. For instance, one character has an SMG. That is part of the character. So instead of having weapons, I went under the "Terms" section and changed "Weapons" to "Attachments". In short, attachments are being equipped instead of weapons. Under "Weapon Types", I have a class for each type of attachment, like "Ammo", "Magazine", "Sight", etc. The issue is equipping two of the same thing at once. For instance, equipping two scopes, or having two foregrips on a weapon. I am planning for this to be a more serious game, not like some sort ridiculous Nerf combos video, so I need a script to prevent equipping of two of the same weapons of the same type.


If you don't get it, feel free to ask for more details. If you can help, thanks in advance.



What you COULD try to do is make it so that each character initially has access to each "attachment" type, and then have each attachment seal access to its own type. This would prevent equipping additional attachments of the same type, but I don't think it would affect the one already equipped. I may be wrong, though. I haven't tried doing something like this in my game so I'm not 100% certain.
What you COULD try to do is make it so that each character initially has access to each "attachment" type, and then have each attachment seal access to its own type. This would prevent equipping additional attachments of the same type, but I don't think it would affect the one already equipped. I may be wrong, though. I haven't tried doing something like this in my game so I'm not 100% certain.

Tried that. You can only seal the 5 default equip types: Weapon, Shield, Accessory, etc.
Tried that. You can only seal the 5 default equip types: Weapon, Shield, Accessory, etc.

That depends on the script/equip manager you're using.


The EDITOR can only seal the default types, but some of the equip managers provide additional options and script calls, up to dynamically changing the slots while ingame. Sorry, I don't know which script has which options, you need to compare them yourself
Tried that. You can only seal the 5 default equip types: Weapon, Shield, Accessory, etc.



Are you sure? In the base program I'm able to seal specific equip types that I've made...


Are you looking at Seal Equip or something else?


EDIT: Wait. I see what you're saying now. My bad XD

Original thread: https://forums.rpgmakerweb.com/threads/equipping-only-one-of-each-weapon-type.63520/