Raised This Month: $51 Target: $400
 12% 

HP & AP Regeneration


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Geesu (62)
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 01-02-2006 , 16:30   HP & AP Regeneration
Reply With Quote #1

HP Regeneration

Description
Lets admins give players Health & Armor Regeneration.

Needs Fun & Cstrike Modules

Credits
Thanks Chronic and v3x for helping fix my errors.
thanks to Noobsack for helping test this baby out.

Commands
amx_regen <name> <hp> - Gives HP Regeneration, how fast is defined by "amx_regenhp_time"
amx_regen_maxhp_reset - Resets the Max HP for when Mods that gives xtra hp are turned off.

amx_repair <name> <ap> - Gives AP Regeneration, how fast is defined by "amx_regenap_time"
amx_regen_maxap_reset - Resets the Max AP for when Mods that gives xtra hp are turned off.

CVARs
amx_regenhp_time <time> - Defines how fast HP is regenerated.
amx_regenap_time <time> - Defines how fast AP is regenerated.

Changelog
v1.5 - Updated the chat messages to reflect the cvar time.
v1.4 - Added a CVAR for how fast regen works.
v1.3 - Added a Armor Regen cmd as well
v1.2 - Fixed some errors.
v1.1 - Added a msg when cmd is entered.
v1.0 - First version
Attached Files
File Type: sma Get Plugin or Get Source (regen.sma - 8730 views - 5.5 KB)

Last edited by Kensai; 07-24-2006 at 18:46.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
atomic
Veteran Member
Join Date: Jan 2005
Location: What The Foot?
Old 01-02-2006 , 16:33  
Reply With Quote #2

What is HP Regeneration?
__________________
atomic is offline
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 01-02-2006 , 16:41  
Reply With Quote #3

You heal health.

Like you have 100 hp lets say. you get hit, down to 45 hp, you'll start healing by the specified amount.

I'll add commands to first post.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
NoobSack ^_-
Member
Join Date: Oct 2005
Old 01-02-2006 , 16:51  
Reply With Quote #4

I have used this plugin during the testing of it..

very nice plugin, can be used for mods in WC3, Ninja, SH, regular server management, allowing all players to have regen would enable a "king of the hill" type gameplay


amx_regen <name> <hp/s> - Gives Regeneration
amx_regen_maxhp_reset - Resets the Max HP for when Mods that gives xtra hp are turned off.

Code:
amx_regen <name> <hp/s> - Gives Regeneration
i would suggest to most players.. only 1hp per second. 5 was... WOW unstoppable.
__________________
Post a response here or at
www.OregonCS.com - On my Forums.

NoobSack ^_- is offline
badboyz
Member
Join Date: Dec 2005
Location: East Brunswick NJ
Old 01-02-2006 , 21:03  
Reply With Quote #5

Good Job! Another good plugin by Kensai
__________________

Warcraft3 FT -=oG=- Clan
69.248.82.68:27016

-=oG=- Normal Server ~Tryout~
69.248.82.68:27023
-=oG=- Clan Website
badboyz is offline
Send a message via AIM to badboyz Send a message via MSN to badboyz
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 01-02-2006 , 22:09  
Reply With Quote #6

Quote:
Originally Posted by badboyz
Good Job! Another good plugin by Kensai


EDIT: I;m gonan add an armor regen cmd.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 01-02-2006 , 22:53  
Reply With Quote #7

**Updated**

Added an Armor cmd.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 01-03-2006 , 08:09  
Reply With Quote #8

Can you do .5 hp per second?

Like less than one.

so it heals 1 hp in 2 seconds.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 01-03-2006 , 17:53  
Reply With Quote #9

I can add a cvar for the time. Gimme a sec.

EDIT: Btw, thnx for approval Geesu.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 01-03-2006 , 18:23  
Reply With Quote #10

Updated, added the CVARs.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
Reply



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 17:36.


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