View unanswered posts | View active topics It is currently Sat Dec 28, 2024 4:37 pm



Reply to topic  [ 6 posts ] 
 Help - draworder for Attachables on Actors 
Author Message
User avatar

Joined: Fri Aug 19, 2011 4:02 pm
Posts: 40
Reply with quote
Post Help - draworder for Attachables on Actors
So my brother wants me to create him a soldier with this spacemarine-hemisphere-helmet.
The helmet would need to be attached to the torso, so it does not rotate with the head, however torso-attachments are always drawn behind the head.
Is it possible to make this attachable draw infront of the head?


Sun Sep 18, 2011 7:29 pm
Profile WWW
User avatar

Joined: Wed Feb 17, 2010 12:07 am
Posts: 1545
Location: That small peaceful place called Hell.
Reply with quote
Post Re: Help - draworder for Attachables on Actors
Code:
DrawAfterParent = 1


Should be what your looking for.


Sun Sep 18, 2011 8:11 pm
Profile
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2073
Reply with quote
Post Re: Help - draworder for Attachables on Actors
That, and if you are using multiple attachables one a certain body/object and need them to be in a particular order, then whatever is pointed to be attached first will be the last layer.

Like so:
Code:
   AddAttachable = Attachable
      CopyOf = Blah 1
   AddAttachable = Attachable
      CopyOf = Blah 2
   AddAttachable = Attachable
      CopyOf = Blah 3

Here 'Blah 3' will be the top-most layer
Code:
   AddAttachable = Attachable
      CopyOf = Blah 3
   AddAttachable = Attachable
      CopyOf = Blah 2
   AddAttachable = Attachable
      CopyOf = Blah 1

And here 'Blah 1' will be the top-most layer.


Sun Sep 18, 2011 9:37 pm
Profile
User avatar

Joined: Fri Aug 19, 2011 4:02 pm
Posts: 40
Reply with quote
Post Re: Help - draworder for Attachables on Actors
Not quite what I need guys, i already know that stuff ;)
I hope this example makes clear what my problem is.

---
Example:
Object A
Attachable A-1 (DrawAfterParent = 0)
Attachable A-2 (DrawAfterParent = 1)
Draworder is:
Back: Attachable A-1 -> Object A -> Attachable A2 :Front
---
What I got is a AHuman:
Head
Torso(Ahuman)
ArmFG
ArmBG
Draworder is:
Back: ArmBG -> Torso -> Head -> ArmFG :Front
---
when attachign stuff it looks like that:
Head
+Attachable Head-1
Torso(Ahuman)
+Attachable Torso-1
Draworder is:
Back: [Torso->Attachable Torso-1] -> [Head -> Attachable Head-1] :Front
---

Now I want Attachable Torso-1 after Attachable Head-1!
Back: Torso -> [Head -> Attachable Head-1] -> [Attachable Torso-1] :Front
I want a Torso-Attachment to be drawn infront of the head :p


Sun Sep 18, 2011 10:05 pm
Profile WWW
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2073
Reply with quote
Post Re: Help - draworder for Attachables on Actors
Well, if the head is DAP = 0 and the body attachment is DAP = 1, everything should be nice and dandy.
Beats me.

DrawAfterParent, Y U NO DO WHAT YOU ARE SUPPOSED TO!?


Sun Sep 18, 2011 10:10 pm
Profile
User avatar

Joined: Fri Aug 19, 2011 4:02 pm
Posts: 40
Reply with quote
Post Re: Help - draworder for Attachables on Actors
MaximDude wrote:
Well, if the head is DAP = 0 and the body attachment is DAP = 1, everything should be nice and dandy.
Beats me.

DrawAfterParent, Y U NO DO WHAT YOU ARE SUPPOSED TO!?


Oh!!!
I somehow expected that (example) armBG is automatically set to DAP = 0, get what I mean?
I did not consider just turning the heads DAP to 0! I'll try it immedaitely :D


EDIT:
Ok!! Head DAP = 0 worked like a charm! Thanks MD! (MDC is awesome btw :P)


Sun Sep 18, 2011 10:20 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 6 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.038s | 13 Queries | GZIP : Off ]