View unanswered posts | View active topics It is currently Thu Jan 09, 2025 3:56 pm



Reply to topic  [ 4 posts ] 
 holding gun wrong? 

Is it good for 1st mod?
Good 0%  0%  [ 0 ]
Crap 0%  0%  [ 0 ]
not bad 0%  0%  [ 0 ]
looks good 0%  0%  [ 0 ]
looks like crap! 100%  100%  [ 1 ]
Total votes : 1

 holding gun wrong? 
Author Message

Joined: Mon Dec 22, 2008 11:51 pm
Posts: 138
Location: Standing on the edge of a large pit of lava facing away from it.
Reply with quote
Post holding gun wrong?
One this is just editing so it has coding from the dummy sniper so don’t kill me.
I need to know how to make my actor hold the gun right, why my magazine is floating and also why my bullets start so far back?
I know the sprite sucks and the sound is now a bit better...
Edit:added a new wepon and kida fixed the offsets


Last edited by JJA79 on Wed Feb 18, 2009 5:52 pm, edited 3 times in total.



Sat Feb 14, 2009 2:51 am
Profile
User avatar

Joined: Tue Nov 18, 2008 1:03 am
Posts: 342
Location: Spathiwa
Reply with quote
Post Re: holding gun wrong?
well first of all you need to fiddle with the offsets of weapons(the least fun portion of modding as its pretty much guess and check)theres some good info on it at the wiki.


Sat Feb 14, 2009 3:14 am
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: holding gun wrong?
no, it isnt guess and check at all actually. offsets are taken from the spriteoffset of the gun/magazine, and are sometime in relation to other offsets (jointoffset for example).
the jointoffset is where the hand connects to the gun
the supportoffset is where the support arm connects to the gun (keep it farther back, because if you go too far out when you sharp-aim the hand just drops away)
the muzzleoffset is where the bullets come out. if theyre starting too far back, raise the X value.
the stanceoffset is where the gun is held in relation to the arm joint.
the sharpstanceoffset is where the gun is held when sharpaiming, in relation to the arm joint.
also, remember which way the X and Y axis go.
Code:
  -Y
-X  +X
  +Y

your magazine is positioned off the gun likely because you did the sprite or jointoffset incorrectly. sprite offsets are negative values, and jointoffset is from the center.


Sat Feb 14, 2009 3:37 am
Profile WWW

Joined: Mon Dec 22, 2008 11:51 pm
Posts: 138
Location: Standing on the edge of a large pit of lava facing away from it.
Reply with quote
Post Re: holding gun wrong?
Well I made it a bit better now and added a new weapon just as overpowered as the 1st one but I can’t make my magazine go to the right spot.


Wed Feb 18, 2009 5:53 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: Google [Bot]


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.045s | 19 Queries | GZIP : Off ]