View unanswered posts | View active topics It is currently Mon Jan 13, 2025 5:37 pm



Reply to topic  [ 28 posts ]  Go to page Previous  1, 2
 Regenerating Ronins with Self Sealing Wounds 
Author Message
User avatar

Joined: Tue Sep 28, 2010 8:15 pm
Posts: 1288
Location: Heck if I know.
Reply with quote
Post Re: Regenerating Ronins with Self Sealing Wounds
Could you, by any chance, make a slower-regenerating version of this for more of the vanilla actors? I rather like using these guys as my regular fighters, because it makes the game more interesting if people can take a beating and come back from it after resting a bit.


Last edited by Nighthawk on Tue May 08, 2012 12:31 am, edited 1 time in total.



Mon Apr 02, 2012 3:17 am
Profile
User avatar

Joined: Mon Sep 28, 2009 2:15 am
Posts: 720
Location: A fucking desert.
Reply with quote
Post Re: Regenerating Ronins with Self Sealing Wounds
Combos well with Razor PSC's health-injections.


Mon Apr 02, 2012 2:15 pm
Profile
User avatar

Joined: Sun Sep 11, 2011 11:48 pm
Posts: 59
Reply with quote
Post Re: Regenerating Ronins with Self Sealing Wounds
ok just wondering, how do i put the regen ronins together because i have 2 sets of ronins (the origional ones) and the regen and i want the vanilla ronins gone but want their weapons. it would be a great help if someone can give me a tip for that also if they do combine will it be compatible with cortex shock?


Sat Apr 07, 2012 11:14 pm
Profile
User avatar

Joined: Fri Aug 12, 2011 9:23 pm
Posts: 1416
Location: North-Ish
Reply with quote
Post Re: Regenerating Ronins with Self Sealing Wounds
I am pretty sure that they are an entirely different set of actors. They can be switched out with the regular Ronin, but it will take some tweaking. Same with the Cortex Shock, but I don't see why you would need these when you could just use the medkit supplied in the game.


Sun Apr 08, 2012 3:33 am
Profile
User avatar

Joined: Tue Aug 09, 2011 7:38 am
Posts: 16
Reply with quote
Post Re: Regenerating Ronins with Self Sealing Wounds
Found a bug. When soldiers take fall damage, they won't regenerate hp past the damage they took. For example, Dafred falls, and his health drops to 60, he will not regenerate past 60, even if he is shot, he will regenerate to 60, and no further.


Thu May 03, 2012 7:36 am
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: Regenerating Ronins with Self Sealing Wounds
I don't think it is a bug.

I think, the wounds heal the actor the same amount of damage they recieved while getting the wound. Like, the shot took 10 hp and they get them back slowly.

And as falling won't produce wounds, I think that's the explanation for it.

Keyword: Think.


Thu May 03, 2012 10:50 pm
Profile
User avatar

Joined: Wed May 18, 2011 2:44 am
Posts: 491
Location: Dank dreams.
Reply with quote
Post Re: Regenerating Ronins with Self Sealing Wounds
How could I apply regeneration to other Actors,Crafts,or etc..


Sun May 06, 2012 6:52 pm
Profile
User avatar

Joined: Tue Aug 09, 2011 7:38 am
Posts: 16
Reply with quote
Post Re: Regenerating Ronins with Self Sealing Wounds
DAME777 wrote:
How could I apply regeneration to other Actors,Crafts,or etc..

That, is a good question.


Sun May 06, 2012 8:24 pm
Profile
User avatar

Joined: Sun Dec 25, 2011 7:23 am
Posts: 269
Reply with quote
Post Re: Regenerating Ronins with Self Sealing Wounds
Just slap the custom wounds I've made onto whatever actor you want.
Use the custom wound I've placed on the shield for the wounds of the craft.


Sun May 06, 2012 8:29 pm
Profile
User avatar

Joined: Wed May 18, 2011 2:44 am
Posts: 491
Location: Dank dreams.
Reply with quote
Post Re: Regenerating Ronins with Self Sealing Wounds
I was looking for some Lua file but thanks for helping me take the lazy way :) .


Sun May 06, 2012 10:44 pm
Profile

Joined: Fri Sep 10, 2010 1:48 am
Posts: 666
Location: Halifax, Canada
Reply with quote
Post Re: Regenerating Ronins with Self Sealing Wounds
This'll do that. Just stick it in the relevant sections of the actor's script or put it in a lua file and use it as the script.
Code:
function Create(self)
   self.HealTimer = Timer();
   self.HealInterval = 5000 --Change to whatever interval you want between healing, in milliseconds. Currently set to 5 seconds.
   self.HealTimer:Reset();
   self.HealAmount = 1; --Change to whatever amount you want to heal the actor by
end
function Update(self)
   if self.HealTimer:IsPastSimMS(self.HealInterval) then
      if self.Health < 100 then
         self.Health = self.Health + self.HealAmount;
      end
      if self.Health > 100 then
         self.Health = 100;
      end
      self.HealTimer:Reset();
   end
end


Mon May 07, 2012 10:29 pm
Profile
User avatar

Joined: Wed May 18, 2011 2:44 am
Posts: 491
Location: Dank dreams.
Reply with quote
Post Re: Regenerating Ronins with Self Sealing Wounds
Thanks :) .


Tue May 08, 2012 2:35 am
Profile
User avatar

Joined: Mon May 23, 2011 3:41 pm
Posts: 269
Reply with quote
Post Re: Regenerating Ronins with Self Sealing Wounds
Bad Boy wrote:
This'll do that. Just stick it in the relevant sections of the actor's script or put it in a lua file and use it as the script.
Code:
function Create(self)
   self.HealTimer = Timer();
   self.HealInterval = 5000 --Change to whatever interval you want between healing, in milliseconds. Currently set to 5 seconds.
   self.HealTimer:Reset();
   self.HealAmount = 1; --Change to whatever amount you want to heal the actor by
end
function Update(self)
   if self.HealTimer:IsPastSimMS(self.HealInterval) then
      if self.Health < 100 then
         self.Health = self.Health + self.HealAmount;
      end
      if self.Health > 100 then
         self.Health = 100;
      end
      self.HealTimer:Reset();
   end
end

Now pls tell me how to make self healing wounds


Thu May 31, 2012 7:23 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 28 posts ]  Go to page Previous  1, 2

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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.046s | 13 Queries | GZIP : Off ]