View unanswered posts | View active topics It is currently Mon Jan 06, 2025 10:37 pm



Reply to topic  [ 3 posts ] 
 Rendering the magazine under the gun sprite 
Author Message
User avatar

Joined: Sat Jun 19, 2010 5:02 pm
Posts: 331
Location: Mekkan
Reply with quote
Post Rendering the magazine under the gun sprite
My magazine is a plasma rod which is stuck into the gun halfway. However, it gets rendered above the gun, making it look like it's on the outside, instead, not stuck in the gun.

How can I make it rendered under the gun?


Wed Jun 23, 2010 3:12 pm
Profile
User avatar

Joined: Wed Feb 17, 2010 12:07 am
Posts: 1545
Location: That small peaceful place called Hell.
Reply with quote
Post Re: Rendering the magazine under the gun sprite
Code:
DrawAfterParent = 0


Makes the Magazine appear behind the weapon

Just pop that line right into the magazine code..


Wed Jun 23, 2010 3:23 pm
Profile
User avatar

Joined: Mon Sep 28, 2009 2:15 am
Posts: 720
Location: A fucking desert.
Reply with quote
Post Re: Rendering the magazine under the gun sprite
you also need to change the jointoffset or parentoffset.


Wed Jun 23, 2010 3:32 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 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 | 14 Queries | GZIP : Off ]