Help - Two-Hand Weapons

Started by Cates, December 31, 2010, 10:00:10 am

Previous topic - Next topic

Cates

I'd like to have a simple two-hand weapon system that won't allow a user to equip a two-hand weapon and a shield at the same time.

I'm pretty much a novice, and have tried accomplishing this through events but have not been successful. Maybe I'm just not grasping the right way to do it.

Other mult-equipment scripts I've seen (such as one I saw in Blizz's tons tester in the script development pack) are beyond what I'm looking for. I don't want actors to be able to dual wield, for instance, so I don't need multiple weapon hands or multi-hit weapons.

The simple choice for players in my game should be for greater defense with a shield, or more offense with a two-hander. They either have a two-hand weapon without shield or a one-hander and a shield.

Any tips? Thanks!

The Niche

Guillame777's multi-equipment script. Also, I think Zer0's addons have a two handed system in there as well. Also, any system with a configuration will allow you to only set up what you want.
Level me down, I'm trying to become the anti-blizz!
Quote from: winkio on June 15, 2011, 07:30:23 pm
Ah, excellent.  You liked my amusing sideshow, yes?  I'm just a simple fool, my wit entertains the wise, and my wisdom fools the fools.



I'm like the bible, widely hated and beautifully quotable.

Dropbox is this way, not any other way!

Cates

That's the script I was tinkering with. I can see myself using that for a different project, but for this one, I was unable to enable two-handed weapons and get rid of dual wielding at the same time. Maybe I didn't understand the config right, but if I only gave one weapon slot, I couldn't use two-hand-marked weapons at all. If I kept two weapon slots, the character could dual wield or use a two-hander AND have a shield at the same time.

Any advice on configuration there?

The Niche

No idea, I just realised that it won't work the way you want it too. Try Zer0's one instead.
Level me down, I'm trying to become the anti-blizz!
Quote from: winkio on June 15, 2011, 07:30:23 pm
Ah, excellent.  You liked my amusing sideshow, yes?  I'm just a simple fool, my wit entertains the wise, and my wisdom fools the fools.



I'm like the bible, widely hated and beautifully quotable.

Dropbox is this way, not any other way!

Cates

I think I figured out a workaround for the problem. In the Guillaume script, I just took out the default shield slot, created a shield that was technically a weapon, but had no attack and boosted def just like a shield. Now, the player can use a shield and sword or a two-hander without a shield. They will still be able to dual wield, which I didn't really want, but I'll take it. Plus, I could create a couple of "shield bash" skills for certain shields, and that would be pretty cool.

Not the ideal fix, but I'm satisfied, as long as no one pipes in and says, "Whoa, that will mess up the whole time-space continuum to have a "shield" in a weapon slot!

The Niche

Y'know you can have shields regularly using Guillame's script, right?
Level me down, I'm trying to become the anti-blizz!
Quote from: winkio on June 15, 2011, 07:30:23 pm
Ah, excellent.  You liked my amusing sideshow, yes?  I'm just a simple fool, my wit entertains the wise, and my wisdom fools the fools.



I'm like the bible, widely hated and beautifully quotable.

Dropbox is this way, not any other way!

Cates

Quote from: The Niche on January 01, 2011, 05:49:08 pm
Y'know you can have shields regularly using Guillame's script, right?


Right, but the problem was I couldn't configure it in a way that made sense to me, i.e., I didn't want the player to have shield use while wielding a two-handed weapon. I tried several things with the config in the script, but didn't have success. So I came up with this workaround.

It actually opens up a nice new option, in that I'm using a skills system limited by weapon (i.e., you can't do a slashing sword move with your rapier), so I can add some skills that use a shield as a weapon, which will only be active if the player is using a shield.

The Niche

By default, that system won't let you have a two handed weapon and a shield or other weapon. Unless you give your characters multiple hands.
Level me down, I'm trying to become the anti-blizz!
Quote from: winkio on June 15, 2011, 07:30:23 pm
Ah, excellent.  You liked my amusing sideshow, yes?  I'm just a simple fool, my wit entertains the wise, and my wisdom fools the fools.



I'm like the bible, widely hated and beautifully quotable.

Dropbox is this way, not any other way!

Cates

Quote from: The Niche on January 01, 2011, 07:57:17 pm
By default, that system won't let you have a two handed weapon and a shield or other weapon. Unless you give your characters multiple hands.


Well, then obviously I wasn't doing things correctly there . . .

BUT. . .

ForeverZer0's add-on pack has exactly what I was looking for! I had not delved into it before. RESOLVED!