AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   HP & AP Regeneration (https://forums.alliedmods.net/showthread.php?t=22721)

Kensai 01-02-2006 16:30

HP & AP Regeneration
 
1 Attachment(s)
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

atomic 01-02-2006 16:33

What is HP Regeneration? :oops:

Kensai 01-02-2006 16:41

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.

NoobSack ^_- 01-02-2006 16:51

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.

badboyz 01-02-2006 21:03

Good Job! Another good plugin by Kensai

Kensai 01-02-2006 22:09

Quote:

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

8) 8)

EDIT: I;m gonan add an armor regen cmd. :twisted:

Kensai 01-02-2006 22:53

**Updated**

Added an Armor cmd.

SweatyBanana 01-03-2006 08:09

Can you do .5 hp per second?

Like less than one.

so it heals 1 hp in 2 seconds.

Kensai 01-03-2006 17:53

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

EDIT: Btw, thnx for approval Geesu. 8)

Kensai 01-03-2006 18:23

Updated, added the CVARs.


All times are GMT -4. The time now is 19:50.

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