Data Realms Fan Forums
http://45.55.195.193/

Any way to make a weapon draw after an actor?
http://45.55.195.193/viewtopic.php?f=1&t=15772
Page 1 of 1

Author:  Foogooman [ Thu Jul 09, 2009 2:24 am ]
Post subject:  Any way to make a weapon draw after an actor?

I have a weapon and I want it to look like people go inside of it. It's fairly simple, I think you get what I mean.

When an actor comes into the same space as the weapon, I want to weapon to appear to be over the actor.

Author:  Grif [ Thu Jul 09, 2009 2:40 am ]
Post subject:  Re: Any way to make a weapon draw after an actor?

DrawAfterParent = 0

no guarantees

Author:  Azukki [ Thu Jul 09, 2009 2:42 am ]
Post subject:  Re: Any way to make a weapon draw after an actor?

If I remember correctly it doesn't make it go over hands or feet, so that kinda screws up everything.

And I think 1 is the value you're looking for. Wouldn't the latter drawn object be drawn over the other?

Author:  Foogooman [ Thu Jul 09, 2009 2:47 am ]
Post subject:  Re: Any way to make a weapon draw after an actor?

Grif wrote:
DrawAfterParent = 0

no guarantees



I tried that already, no luck. It still goes in front of the actors and looks weird because of another part of it that is normally supposed to be behind it.

Author:  Azukki [ Thu Jul 09, 2009 2:52 am ]
Post subject:  Re: Any way to make a weapon draw after an actor?

Well uhh...
Maybe put an attachable on the gun and see if that overlaps the actor entirely?
Grif wrote:
no guarantees

Author:  carriontrooper [ Thu Jul 09, 2009 4:59 am ]
Post subject:  Re: Any way to make a weapon draw after an actor?

You're all wrong... I just looked at the code of EX-1 (the old armgun that I based my Pain's bee and hornet launchers off) and it says DrawAfterParent = 1. In-game it looks like the gauntlet-like gun is over the arm and hand of the actor.

Author:  Azukki [ Thu Jul 09, 2009 5:10 am ]
Post subject:  Re: Any way to make a weapon draw after an actor?

I suggested 1 before, and I still don't think that will effectively put the device in front of all components of the actor, since I remember having had troubles with that and having trying both 0/1 on that variable, unsuccessfully.

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