View unanswered posts | View active topics It is currently Sun Jan 05, 2025 1:54 am



Reply to topic  [ 11 posts ] 
 augment the resistance of an actor to impact and weapons? 
Author Message
User avatar

Joined: Tue Jul 20, 2010 4:28 am
Posts: 30
Location: Under a giant mustache.
Reply with quote
Post 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!


Mon Sep 06, 2010 10:11 pm
Profile
User avatar

Joined: Tue Mar 16, 2010 7:38 pm
Posts: 447
Location: The Ninth Circle
Reply with quote
Post 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.


Tue Sep 07, 2010 12:46 am
Profile
User avatar

Joined: Tue Jul 20, 2010 4:28 am
Posts: 30
Location: Under a giant mustache.
Reply with quote
Post 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?


Tue Sep 07, 2010 1:11 am
Profile
User avatar

Joined: Thu Jul 08, 2010 10:24 pm
Posts: 185
Location: Big Applesauce
Reply with quote
Post 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.


Tue Sep 07, 2010 7:34 am
Profile
User avatar

Joined: Sun Apr 25, 2010 12:04 am
Posts: 303
Location: Australia
Reply with quote
Post Re: augment the resistance of an actor to impact and weapons?
Wow, I never knew that, thanks Mingebag.


Tue Sep 07, 2010 1:14 pm
Profile
User avatar

Joined: Tue Jul 20, 2010 4:28 am
Posts: 30
Location: Under a giant mustache.
Reply with quote
Post 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 ^^')


Tue Sep 07, 2010 11:11 pm
Profile
User avatar

Joined: Sat Jun 19, 2010 5:02 pm
Posts: 331
Location: Mekkan
Reply with quote
Post 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?


Tue Sep 07, 2010 11:58 pm
Profile
User avatar

Joined: Tue Jul 20, 2010 4:28 am
Posts: 30
Location: Under a giant mustache.
Reply with quote
Post 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... -_-'


Wed Sep 08, 2010 12:39 am
Profile
User avatar

Joined: Tue Mar 16, 2010 7:38 pm
Posts: 447
Location: The Ninth Circle
Reply with quote
Post 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.


Wed Sep 08, 2010 4:34 am
Profile
User avatar

Joined: Sat Jun 19, 2010 5:02 pm
Posts: 331
Location: Mekkan
Reply with quote
Post 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*


Wed Sep 08, 2010 12:59 pm
Profile
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post 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.


Wed Sep 08, 2010 1:13 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 11 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.034s | 13 Queries | GZIP : Off ]