Data Realms Fan Forums
http://45.55.195.193/

Pictures
http://45.55.195.193/viewtopic.php?f=1&t=16350
Page 1 of 1

Author:  ZevN47 [ Mon Aug 24, 2009 11:47 pm ]
Post subject:  Pictures

I am making an actor but I'm having trouble getting the arms right They are in the right spot but the one I want in the foreground is in the background for some reason how do I make it not do that

Also the head has the same problem but its not as bad b/c It blends in with the body

Author:  Duh102 [ Tue Aug 25, 2009 12:40 am ]
Post subject:  Re: Pictures

DrawAfterParent is supposed to control what is drawn when, not sure if it's actually functional. Things drawn after are "on top of" things drawn before.

Author:  Areku [ Tue Aug 25, 2009 6:02 pm ]
Post subject:  Re: Pictures

DrawAfterParent is functional, but only in some situations. Attachables, for example, can be put in front of/behind of their parents with it, but limbs, even though they are a kind of attachable, can not.

Author:  LowestFormOfWit [ Tue Aug 25, 2009 9:36 pm ]
Post subject:  Re: Pictures

Yeah, limb positions are defined by their position on the torso.
Here is the relevant code of a normal Dummy:
Quote:
Head = Attachable
CopyOf = Dummy Head A
ParentOffset = Vector
X = -1
Y = -13
Jetpack = AEmitter
CopyOf = Jetpack
ParentOffset = Vector
X = -6
Y = -1
JumpTime = 4 // Secs
FGArm = Arm
CopyOf = Dummy Arm FG A
ParentOffset = Vector
X = 0
Y = -8
BGArm = Arm
CopyOf = Dummy Arm BG A
ParentOffset = Vector
X = 4
Y = -9

FGLeg = Leg
CopyOf = Dummy Leg FG A
ParentOffset = Vector
X = 0
Y = 1
BGLeg = Leg
CopyOf = Dummy Leg BG A
ParentOffset = Vector
X = 2
Y = 1

This is where all limbs are defined under where the actual actor (Torso) is defined. The text in green is what determines what the FG and BG arms are. They reference the preset names of the arms that were defined earlier in the ini. If your arms are swapped, simply switch out the PresetNames.

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