Data Realms Fan Forums
http://45.55.195.193/

Weapon Handedness?
http://45.55.195.193/viewtopic.php?f=73&t=30628
Page 1 of 1

Author:  Arcalane [ Tue Mar 06, 2012 6:32 pm ]
Post subject:  Weapon Handedness?

I know there are variables for a weapon's handedness (ie, whether it requires one or two hands), but is it possible to change the value using a simple script, or are they read-only values?

Author:  Duh102 [ Wed Mar 07, 2012 5:01 pm ]
Post subject:  Re: Weapon Handedness?

I believe it is read-only, though I also believe that a one-handed weapon will be grasped by both hands if it is the only thing in the actor's hands.

I could very well be wrong on both accounts.

Author:  Arcalane [ Wed Mar 07, 2012 9:52 pm ]
Post subject:  Re: Weapon Handedness?

I'm pretty sure you're right on the latter - set a weapon to have a very high NoSupportFactor or whatever, then use it with a shield, and your accuracy should drop immensely compared to wielding it without the shield.

As for the former, I'm not sure - can't really test it myself since I don't know enough Lua to try. Ideally, I'd want to be able to toggle a weapon between single/both hand wielding using a pie menu option.

Author:  findude [ Fri Mar 09, 2012 1:18 pm ]
Post subject:  Re: Weapon Handedness?

According to the wiki, it's only accessible with a getter function HeldDevice:IsOneHanded()

Your only option is hacky replacing of the weapon with a different one.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/