DUAL WIELD / TWO-HANDED FIX

RPG Maker VX Ace

Fixes two-handed weapons for dual wielders

  • Trihan
  • 06/28/2013 09:39 AM
  • 11522 views
By default, if you make an actor dual wield, and you have a two-handed weapon (one that's set to seal shield) the actor can equip a 2H weapon in both hands. This is because when you set a character to dual wield, they get two weapon slots rather than a weapon and shield, so seal shield doesn't actually affect any of the slots they have.

This script fixes that to treat "seal shield" as a "seal second weapon" feature as well, disallowing a second weapon to be equipped when you have a 2H weapon in the main hand. The second slot will be visually disabled. If you have an empty main-hand and a 1H weapon in the off-hand, your off-hand weapon will be removed if you put a 2H weapon in the main hand.

Posts

Pages: 1
Sweet man! Great job.
I tried using the script and it isn't working. I'm using Yanfly's enemy hp and visual battlers scipt, both put after this one. Any solutions?
author=Novalux
I tried using the script and it isn't working. I'm using Yanfly's enemy hp and visual battlers scipt, both put after this one. Any solutions?
What isn't working? I also have both of those scripts, and many more besides, and it is working splendidly.
author=kentona
author=Novalux
I tried using the script and it isn't working. I'm using Yanfly's enemy hp and visual battlers scipt, both put after this one. Any solutions?
What isn't working? I also have both of those scripts, and many more besides, and it is working splendidly.

I want to have a character that dual wields axes and can also use a bow. But when I put the seal equip trait on the bow and equip it, it still allows the character to use an axe in the other hand.
Trihan
"It's more like a big ball of wibbly wobbly...timey wimey...stuff."
3359
I'm not sure what to tell you Novalux: in my tests if I have a character set to "dual wield" and equip them with two one-handed weapons, equipping something with "seal shield" will unequip the second weapon and grey out the slot so you can't put anything else in it.
I noticed something.

This only allows for the main hand to equip a weapon.

But, if I desired a character to be left-handed (actually, this is the case in my current project), the weapon with the Seal Shields status could not be left-hand equipped.

"What is the meaning of this?" ~Kain-FFIV (a lefty)

Sorry for the necropost, but I think this should be addressed.
Trihan
"It's more like a big ball of wibbly wobbly...timey wimey...stuff."
3359
Generally RM doesn't so much have the concept of "hands" so it wasn't really something I thought about when I originally coded this. I'll take a look at it and see if I can't sort this for you.
FTR, if one wants it with RM, it must be scripted. Yanfly has written this.
Pages: 1