Data Realms Fan Forums
http://45.55.195.193/

Rendering the magazine under the gun sprite
http://45.55.195.193/viewtopic.php?f=1&t=19079
Page 1 of 1

Author:  Awesomeness [ Wed Jun 23, 2010 3:12 pm ]
Post subject:  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?

Author:  Coops [ Wed Jun 23, 2010 3:23 pm ]
Post subject:  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..

Author:  Urch [ Wed Jun 23, 2010 3:32 pm ]
Post subject:  Re: Rendering the magazine under the gun sprite

you also need to change the jointoffset or parentoffset.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/