View unanswered posts | View active topics It is currently Thu Jan 09, 2025 10:38 pm



Reply to topic  [ 4 posts ] 
 Pictures 
Author Message
User avatar

Joined: Fri Mar 13, 2009 2:31 am
Posts: 217
Location: Earth... I think
Reply with quote
Post 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


Mon Aug 24, 2009 11:47 pm
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post 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.


Tue Aug 25, 2009 12:40 am
Profile
User avatar

Joined: Fri Oct 17, 2008 9:46 pm
Posts: 5212
Location: The Grills Locker.
Reply with quote
Post 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.


Tue Aug 25, 2009 6:02 pm
Profile WWW
User avatar

Joined: Mon Oct 06, 2008 2:04 am
Posts: 1559
Reply with quote
Post 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.


Tue Aug 25, 2009 9:36 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users


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.031s | 13 Queries | GZIP : Off ]