View unanswered posts | View active topics It is currently Thu Dec 26, 2024 5:06 am



Reply to topic  [ 4 posts ] 
 Weapon Handedness? 
Author Message
User avatar

Joined: Sun Jan 28, 2007 10:32 pm
Posts: 1609
Location: UK
Reply with quote
Post 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?


Tue Mar 06, 2012 6:32 pm
Profile YIM
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post 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.


Wed Mar 07, 2012 5:01 pm
Profile
User avatar

Joined: Sun Jan 28, 2007 10:32 pm
Posts: 1609
Location: UK
Reply with quote
Post 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.


Wed Mar 07, 2012 9:52 pm
Profile YIM
User avatar

Joined: Tue Dec 12, 2006 3:10 pm
Posts: 495
Location: Uncertain quantum state
Reply with quote
Post 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.


Fri Mar 09, 2012 1:18 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.057s | 13 Queries | GZIP : Off ]