looking for a mod, that can regenerate armor

Need some nice Mods? Here, you are right!

Re: looking for a mod, that can regenerate armor

Postby sektor2111 » Wed Nov 09, 2016 5:33 pm

Barbie wrote:Is already anyone working on this?
No, I don't, I'm not coding any regenerator even I have some idea how to, without pawnlisting or foreaching anything - probably smoother like butter, but I'm interested about some God Mode regenerator if anyone has something accordingly :ironic: . Or if anyone will work at some score regenerator would be more fun... I gotta see what anything else must be regenerated - ops, I forgot, my bad, FlashLight or a portable TorchFlame.

Keep moving, I'm reading...
User avatar
sektor2111
Godlike
 
Posts: 3967
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: looking for a mod, that can regenerate armor

Postby PrinceOfFunky » Wed Nov 09, 2016 7:43 pm

Barbie wrote:Is already anyone working on this? If not, I could create a Pickup "ArmorRepair" that does the following in its timer (1s) routine, if a PlayerPawn has picked it up:
  1. look for PlayerPawn's armor inventory items whose charge is lower than its default value
  2. among these select the armor inventory item whose charge is lowest
  3. add a certain (configurable) amount to that inventory item's charge
  4. subtract that amount from own (configurable) charge; destroy myself if my charge is exhausted
What I still need then is a nice icon (a tool?) and sound while active. Any suggestions?


Putting this Pickup into game can then be done by mapper or a spawn mutator like SwarmSpawn.

If you would use the AdvancedMutator I made, you wouldn't need to create an entirely new pickup using the ValueSaver for the "regenerating" value, "DamageReduced()" to check for health changes and "PrioritizingArmor()" to check for armor charge changes. But well, it was just an advice, use what you want to use u.u lol
Image
User avatar
PrinceOfFunky
Godlike
 
Posts: 1024
Joined: Mon Aug 31, 2015 10:31 pm

Previous

Return to Modifications

Who is online

Users browsing this forum: No registered users and 1 guest