Data Realms Fan Forums http://45.55.195.193/ |
|
How do I make weapons one-handed? http://45.55.195.193/viewtopic.php?f=1&t=9122 |
Page 1 of 1 |
Author: | pieman280 [ Sat Dec 15, 2007 8:57 pm ] |
Post subject: | How do I make weapons one-handed? |
How do you allow a gun to come with a shield as well? I'm trying to make a shotgun, but I wnat to be able to use a sheild at the same time. |
Author: | kamakazibob [ Sat Dec 15, 2007 9:00 pm ] |
Post subject: | Re: I know this is a really noobish question, but how do you.... |
The shield is an offhand object. Just take a look at the pistol code, as you can use that and a shield Code: JointOffset = Vector X = -3 Y = 2 DrawAfterParent = 0 OneHanded = 1 <<< This right here. StanceOffset = Vector X = 12 Y = 0 The shotgun lacks that little bit right there. So add it into whatever code your working on to make it one handed. |
Author: | pieman280 [ Sat Dec 15, 2007 9:28 pm ] |
Post subject: | Re: How do I make weapons one-handed? |
Thanks, that worked. ![]() my shotgun worked well. |
Author: | Ell [ Sun Dec 16, 2007 2:42 am ] |
Post subject: | Re: How do I make weapons one-handed? |
Much more simple than that, just add OneHanded = 1 onto the end of the script ![]() Update: Ignore that. Didn't read it proplerly... i need sleep :< |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |