Raised This Month: $ Target: $400
 0% 

Subplugin Submission ZP: Regeneration


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 10-20-2008 , 14:58   ZP: Regeneration
Reply With Quote #1

The code was created by request for Zombie Plague Mod and I decided to make this as a ZP sub-plugin, though I'm not using or playing this mod. This was not tested by myself but someone else said that it works perfectly.

So, what it does?
As the title says, it makes zombies regenerate their health after being hit.
There are several CVars to configure everything as you want:
  • zp_regeneration <1|0> - enables/disables plugin.
  • zp_regen_time <#> - every x seconds zombie will get back some health.
  • zp_regen_amount <#> - how many health zombie will get on every x seconds.
  • zp_regen_nemesis <1|0> - enables/disables regeneration for Nemesis.
  • zp_regen_firstzombie <1|0> - enables/disables regeneration for the first zombie.
  • zp_regen_lastzombie <1|0> - enables/disables regeneration for the last zombie.
Modules:
Fakemeta.
To do:
Set CVar so only Nemesis/first zombie/last zombie could regenerate.
Note: To compile the plugin, you MUST have zombieplague.inc in your scripting/include folder.

Changelog:
Quote:
1.2:
  • Removed Survivor CVar though Survivor is not a zombie.
  • Added CVars to control first and last zombie regeneration.
1.1:
Added CVars to control regeneration of Nemesis.
Attached Files
File Type: sma Get Plugin or Get Source (zp_regeneration.sma - 3719 views - 2.0 KB)
__________________

Last edited by Excalibur.007; 06-27-2011 at 11:41. Reason: Fixed plugin by tei1995
hleV is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:57.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode