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

HP & AP Regeneration


Post New Thread Reply   
 
Thread Tools Display Modes
Fanatiker
Junior Member
Join Date: Mar 2004
Old 01-04-2006 , 11:38  
Reply With Quote #11

can you please add the possibility to give regenation by steamid
Code:
amx_regen STEAMID 5
and create a cvar for the max amount of HP/AP a player is regenerated to.

Code:
amx_regen <name/playerid/STEAMID> <hp> - Gives HP Regeneration, how fast is defined by "amx_regenhp_time"
amx_repair <name/playerid/STEAMID> <ap> - Gives AP Regeneration, how fast is defined by "amx_regenap_time"

amx_regenhp_time <time> - Defines how fast HP is regenerated.
amx_regenap_time <time> - Defines how fast AP is regenerated. 
amx_regenhp_max <value: 0-200> - Defines the max amount of HP a player is regenerated to.
amx_regenap_max <value: 0-200> - Defines the max amount of AP a player is regenerated to.
__________________
Please push up my karma!
Fanatiker is offline
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 01-04-2006 , 16:58  
Reply With Quote #12

I can add the Steam ID part, but I probably couldn't add the "max hp" part. The plugin heals them up the max hp they have. So in a Mod like my Ninja Mod, I have 700hp, it will heal me to 700hp.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
thedarkside
Junior Member
Join Date: Nov 2005
Location: Ohio
Old 01-04-2006 , 17:27  
Reply With Quote #13

Can you make it so it does it to everyone in the server automaticly.
__________________
www.adminalliance.net - The best counter-strike community on the net!
aa.nuclearfallout.net
thedarkside is offline
Send a message via AIM to thedarkside Send a message via MSN to thedarkside
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 01-04-2006 , 17:34  
Reply With Quote #14

As in without the command?

Everyone has w/e regen?
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
thedarkside
Junior Member
Join Date: Nov 2005
Location: Ohio
Old 01-04-2006 , 17:48  
Reply With Quote #15

Yes like in uwc3 mod, as you loose hp you gain say 2 hp per second no more than 100 hp.
__________________
www.adminalliance.net - The best counter-strike community on the net!
aa.nuclearfallout.net
thedarkside is offline
Send a message via AIM to thedarkside Send a message via MSN to thedarkside
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 01-04-2006 , 18:03  
Reply With Quote #16

Alright, 2hp per sec it is.

EDIT: This isn't tested, but should give everyone that joins, 2hp per sec regen and 2armor per sec regen.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
Fanatiker
Junior Member
Join Date: Mar 2004
Old 01-05-2006 , 16:54  
Reply With Quote #17

ok, the max hp/ap part is impossible, but please add the steamid part asap, otherwise i can't use this damn great plugin on my server
__________________
Please push up my karma!
Fanatiker is offline
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 01-05-2006 , 17:57  
Reply With Quote #18

May I ask why? You can use player names.

So if you wanted to give Regen to a player named "Bob" just type in console "amx_regen Bob 5" for 5hp/s

But I'm releasing the Stema ID option wiht the upcomong addon of Ammo Regeneration. Should be done in a few hours or tomorrow.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
darkcloud9sgl
Member
Join Date: Dec 2004
Old 01-05-2006 , 20:20  
Reply With Quote #19

i gotta try this one out this would be cool when ur just haveing a fun night or somethign
darkcloud9sgl is offline
Fanatiker
Junior Member
Join Date: Mar 2004
Old 01-05-2006 , 20:45  
Reply With Quote #20

simple answer: i want to bind hp and ap regeneration to a key for myself *grin*

and i'm often with changing names on my server, so i don't want to always type my name in the console

bind F6 "amx_regen STEAMID 10;amx_repair STEAMID 20"
hrrr hrrr
__________________
Please push up my karma!
Fanatiker is offline
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 21:15.


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