Joined: Sat Jun 19, 2010 5:02 pm Posts: 331 Location: Mekkan
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
Coops
Joined: Wed Feb 17, 2010 12:07 am Posts: 1545 Location: That small peaceful place called Hell.
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
Urch
Joined: Mon Sep 28, 2009 2:15 am Posts: 720 Location: A fucking desert.
Re: Rendering the magazine under the gun sprite
you also need to change the jointoffset or parentoffset.
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