Data Realms Fan Forums http://45.55.195.193/ |
|
How to make an actor not lose his limbs http://45.55.195.193/viewtopic.php?f=1&t=19676 |
Page 1 of 1 |
Author: | Awesomeness [ Sat Sep 04, 2010 1:40 pm ] |
Post subject: | How to make an actor not lose his limbs |
I want to make an actor that is unable to lose his limbs, and be pretty much invincible. (Unless smooshed) How do I do that? I've set the limits I see for things like gib wounds to 99999, and his health to 9999 every frame, but that only makes him a flying torso that bleeds oceans after a bunch of hits that can't die unless smooshed. How can I make his limbs not come off? |
Author: | 411570N3 [ Sat Sep 04, 2010 1:55 pm ] |
Post subject: | Re: How to make an actor not lose his limbs |
Set limb JointStrength to ridiculous. Set limb gibwound limit to ridiculous. |
Author: | Awesomeness [ Sat Sep 04, 2010 2:22 pm ] |
Post subject: | Re: How to make an actor not lose his limbs |
(If you're wondering why he's called Mr. Boom, it's because he has infinite explosives.) He still loses his limbs! It's not as easy, but if 10 or so grenades blow up right next to him, he loses his limbs! This is my code: Code: AddActor = AHuman CopyOf = Ronin Soldier PresetName = Mr. Boom Description = Dimitri, trained for use in demolitions and popping out of drop crates. Buyable = 1 ScriptPath = BomberMan.rte/Lua/BomberMan.lua Health = 9999 AimDistance = 45 GoldValue = -20 Head = Attachable CopyOf = Ronin Head 3 JointStrength = 999999 GibWoundLimit = 999999 ParentOffset = Vector X = 0 Y = -10 FGArm = Arm CopyOf = Ronin Soldier Arm FG A JointStrength = 999999 GibWoundLimit = 999999 ParentOffset = Vector X = -1 Y = -5 BGArm = Arm CopyOf = Ronin Soldier Arm BG A JointStrength = 999999 GibWoundLimit = 999999 ParentOffset = Vector X = 4 Y = -7 FGLeg = Leg CopyOf = Ronin Soldier Leg FG A JointStrength = 999999 GibWoundLimit = 999999 ParentOffset = Vector X = 1 Y = 1 BGLeg = Leg CopyOf = Ronin Soldier Leg BG A JointStrength = 999999 GibWoundLimit = 999999 ParentOffset = Vector X = 4 Y = 1 Mass = 40 ImpulseDamageThreshold = 999999//1900 GibImpulseLimit = 999999//3000 GibWoundLimit = 999999//9 How can I make him completely not lose his limbs? |
Author: | 411570N3 [ Sat Sep 04, 2010 2:24 pm ] |
Post subject: | Re: How to make an actor not lose his limbs |
Try JointStiffness = 1. If that doesn't work, try 0. If that doesn't work, take the one that worked better, then make his limbs out of a high bounce material or much heavier. |
Author: | Awesomeness [ Sat Sep 04, 2010 2:41 pm ] |
Post subject: | Re: How to make an actor not lose his limbs |
Both 0 and 1 made him weaker, and I'm pribably just mess him up if I tried to change the material. He's pretty resilient as is, but is there a way to create new limbs when his old ones do come off? |
Author: | 411570N3 [ Sat Sep 04, 2010 2:54 pm ] |
Post subject: | Re: How to make an actor not lose his limbs |
Not without replacing the entire actor. |
Author: | Awesomeness [ Sun Sep 05, 2010 6:39 pm ] |
Post subject: | Re: How to make an actor not lose his limbs |
Lastly, is there a way to check if an actor has a certain limb? I want him to always have grenades, but I'm afraid if he loses his arm, and can't hold a grenade, it'll try to give him a grenade over and over. |
Author: | Grif [ Sun Sep 05, 2010 6:52 pm ] |
Post subject: | Re: How to make an actor not lose his limbs |
You can check for the presence of limbs with the attachable loopthrough that Mail2345 came up with. It's not very efficient, though, so you don't want to do it all that often. Also, limbs (and all other parts of actors) are prone to popping off, regardless of attachment strength, when too many collisions/impacts/etc happen too fast. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |