I'm trying to make an actor who has armor that covers his legs, but ingame the armor always shows up behind the legs instead of in front. Is there a way to change the order in which it is drawn so it the armor show up in front?
Sun Feb 18, 2018 7:37 pm
CaveCricket48
Joined: Tue Jun 12, 2007 11:52 pm Posts: 13144 Location: Here
Re: Making armor that covers legs
DrawAfterParent is what you're looking for. When set to 1, it makes the object appear in front of whatever it's attached to. 0 for it to be behind.
Here it is on the coalition soldier's helmet -
Code:
AddEffect = Attachable PresetName = Soldier Helmet A Mass = 3 Sharpness = 1 HitsMOs = 0 GetsHitByMOs = 1 SpriteFile = ContentFile FilePath = Coalition.rte/Actors/Soldier/HelmetA.bmp FrameCount = 1 SpriteOffset = Vector X = -7 Y = -4 AngularVel = 6 EntryWound = AEmitter CopyOf = Dent Metal Light ExitWound = AEmitter CopyOf = Dent Metal Light AtomGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Stuff Resolution = 4 Depth = 0 DeepCheck = 0 JointStrength = 180 JointStiffness = 0.6 // BreakWound = AEmitter // CopyOf = Wound Bone Break JointOffset = Vector X = 0 Y = 0 DrawAfterParent = 1 <------------------------------------ GibImpulseLimit = 1500 GibWoundLimit = 6
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