View unanswered posts | View active topics It is currently Mon Dec 30, 2024 11:01 pm



Reply to topic  [ 6 posts ] 
 Rifle not gun 
Author Message

Joined: Thu Mar 06, 2008 10:05 pm
Posts: 7
Location: Norway
Reply with quote
Post Rifle not gun
When i used the Gun Template for making a new gun i got a problem.
It looks like he`s holding a gun and not a rifle. How do i fix that?

And does enyone have a smart tip to find the x and y without guessing and then starting the game?

And can enyone explain how the x and y work in this game? its a bit different from other programs i have.

Sorry for my bad English, and thanks for helping! :grin:

:arrow: Crav3r


Sat Mar 22, 2008 9:37 pm
Profile
User avatar

Joined: Sun Mar 04, 2007 11:22 pm
Posts: 254
Location: In my happy and/or unhappy place.
Reply with quote
Post Re: Rifle not gun
First of all, you have to sprite your own gun, don't expect it to be that simple, that you download something, and it has exactly what you want it to. You have to make your own sprites.

Second...
Offset Help Guide


Sat Mar 22, 2008 9:51 pm
Profile WWW

Joined: Thu Mar 06, 2008 10:05 pm
Posts: 7
Location: Norway
Reply with quote
Post Re: Rifle not gun
I have made a sprite for it :-o


Sat Mar 22, 2008 10:09 pm
Profile
User avatar

Joined: Sun Nov 25, 2007 6:29 am
Posts: 400
Reply with quote
Post Re: Rifle not gun
But it's not that simple. If you make a rifle sprite, the game doesn't just go "OOH RIFLE" and change variables. You have to go in and do it yourself. The variable you're looking for is HeldOffest of something.


Sat Mar 22, 2008 10:15 pm
Profile
User avatar

Joined: Fri Dec 29, 2006 7:42 pm
Posts: 1871
Location: UK
Reply with quote
Post Re: Rifle not gun
Offsets.

Ew.

Joint Offset is where the FG hand holds the gun.

Support Offset Is where the BG hand holds the gun.

Stance Offset is where the gun is held normally.

Sharp Stance Offset is where it is held in sharp aim.

All of these are calculated from the sprite offset, which is calculated from the top left of the sprite. and is also the center of gravity for a sprite. If you make it way out there, the gun will rotate around some unknown point in space.
Didn't feel like making another post. Sup TD.
-Ctrl


Sat Mar 22, 2008 10:35 pm
Profile

Joined: Thu Mar 06, 2008 10:05 pm
Posts: 7
Location: Norway
Reply with quote
Post Re: Rifle not gun
I know more than you think about this.. i just didn`t know this.
Thanks Anyway! :grin:


Sun Mar 23, 2008 5:16 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 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.036s | 13 Queries | GZIP : Off ]