Data Realms Fan Forums
http://45.55.195.193/

augment the resistance of an actor to impact and weapons?
http://45.55.195.193/viewtopic.php?f=1&t=19689
Page 1 of 1

Author:  kdorval14 [ Mon Sep 06, 2010 10:11 pm ]
Post subject:  augment the resistance of an actor to impact and weapons?

Hi, i need help i would like to augment the resistance of an actor to impact and weapons… but I’ve got no idea how to… so If someone may tell me how, it shoul be really nice from him (or Her)… thanks in advance!

Author:  Nocifer [ Tue Sep 07, 2010 12:46 am ]
Post subject:  Re: augment the resistance of an actor to impact and weapons?

Raise GibImpulseLimit, ImpulseDamageThreshold, and change the materials of which the actor is made. The Materials.ini in Base.rte will tell you what materials are available, and what each will provide in terms of strength, etc.

There are a couple other variables, but unless you want to make an actor nigh-invulnerable, it's not really a big deal.

Author:  kdorval14 [ Tue Sep 07, 2010 1:11 am ]
Post subject:  Re: augment the resistance of an actor to impact and weapons?

thanks alot, my good sir!
i can now increase the resistance of this little piece of meat! hahaha! :evil:


it's not that i want to do it ( i'm just curious) but if i wanna make my actor invulnerable, wich variable should i change?

Author:  Mingebag7 [ Tue Sep 07, 2010 7:34 am ]
Post subject:  Re: augment the resistance of an actor to impact and weapons?

Look for the material the actor/arm/leg/foot/hand/head whatever is made of, it should look like this:
AtomGroup = AtomGroup
AutoGenerate = 1
Material = Material
CopyOf = Military Stuff
Resolution = 4
Depth = 0
Or something similar. Add the line "StructuralIntegrity = " under the "CopyOf = " line and put a number after the equals sign. The higher the number, the more effort it takes for bullets to penetrate and thus you can make a fleshy meatbag walk through hails of sniper fire.

Author:  Dylanhutch [ Tue Sep 07, 2010 1:14 pm ]
Post subject:  Re: augment the resistance of an actor to impact and weapons?

Wow, I never knew that, thanks Mingebag.

Author:  kdorval14 [ Tue Sep 07, 2010 11:11 pm ]
Post subject:  Re: augment the resistance of an actor to impact and weapons?

nice ^^

thanks!

if anybody want to add something to the disscusion... it could teach some people some new things... ( as me ^^')

Author:  Awesomeness [ Tue Sep 07, 2010 11:58 pm ]
Post subject:  Re: augment the resistance of an actor to impact and weapons?

I created a Lua script for Ciaran that 100% accurately divides the damage the actor it is attached to takes by a number set in the script:
Code:
function Create(self)
   
   -- The defense of the character.  If you put in 2, he takes half damage.  If
   -- you put in 5, he only takes one fifth damage.  So higher is better.
   self.Defense = 10;
   
   
   self.LastHealth = self.Health;
   self.Alternate = true;
   self.Counter = 0;
end

function Update(self)

   if self.Health < self.LastHealth then
      local diff = self.LastHealth - self.Health;
      for i = 1, diff do
         self.Counter = self.Counter + 1;
         if self.Counter == self.Defense then
            self.Counter = 0;
         else
            self.Health = self.Health + 1;
         end
      end
   end
   
   self.LastHealth = self.Health;
   
end
I made it because through with the tweaks you can make I wanted bullets to still hurt him, but not as much, and I wanted him to not bleed to death in an instant. Because even if bullets don't hurt your actor at all, if you get shot for several seconds with a machine gun you'll die of bleeding.

Could this be useful to you?

Author:  kdorval14 [ Wed Sep 08, 2010 12:39 am ]
Post subject:  Re: augment the resistance of an actor to impact and weapons?

Yeah, thanks!

but 'bout the previous advice, it's not working O_o ???

still say me that i've got an error... -_-'

Author:  Nocifer [ Wed Sep 08, 2010 4:34 am ]
Post subject:  Re: augment the resistance of an actor to impact and weapons?

I'd say stick with oldfashioned .ini coding for this one. Not only is it entirely possible to do it solely with .ini coding, but it's far simpler than with Lua, and more reliable.

Author:  Awesomeness [ Wed Sep 08, 2010 12:59 pm ]
Post subject:  Re: augment the resistance of an actor to impact and weapons?

Nocifer wrote:
I'd say stick with oldfashioned .ini coding for this one. Not only is it entirely possible to do it solely with .ini coding, but it's far simpler than with Lua, and more reliable.

The Lua of my script is 100% reliable... *frown*

Author:  Lizardheim [ Wed Sep 08, 2010 1:13 pm ]
Post subject:  Re: augment the resistance of an actor to impact and weapons?

So what? It's easier to just do it the .ini way with wounds.

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