Equipping Only One of Each Weapon Type

ACE RyanAnayaMc

New to Game Making
Veteran
Joined
Jul 8, 2013
Messages
48
Reaction score
1
First Language
English
Primarily Uses
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.
 

Feliaria

Good with Ideas, Bad with Execution
Veteran
Joined
Feb 4, 2016
Messages
364
Reaction score
50
First Language
English
Primarily Uses
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.
 

ACE RyanAnayaMc

New to Game Making
Veteran
Joined
Jul 8, 2013
Messages
48
Reaction score
1
First Language
English
Primarily Uses
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.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
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
 
Last edited by a moderator:

Feliaria

Good with Ideas, Bad with Execution
Veteran
Joined
Feb 4, 2016
Messages
364
Reaction score
50
First Language
English
Primarily Uses
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
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,049
Messages
1,018,546
Members
137,835
Latest member
yetisteven
Top