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

Rush HP Bonus v1.0 (05/19/06)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Gameplay        Approver:   v3x (159)
KoST
Senior Member
Join Date: Jul 2005
Old 05-18-2006 , 19:17   Rush HP Bonus v1.0 (05/19/06)
Reply With Quote #1

Rush HP Bonus v1.0 - by KoST
  • Features:
    • Request:
      Quote:
      Originally Posted by Curryking
      I saw Karlo's TravellMeter (v1.5.1b) that counts the meters you travelled, so the idea came up to request a plugin that combines this plugin with Health Bonus.
      It should work so, that the first 3 Persons who reached a defined amount of meters are award with 50, 30 and 10 HP. I hope this speeds up the game and finally people who ruhs every round and keeps the game flowing see that it's not for nothing ;-)
      Curry
    • actually those plugins are not combined, all written from scratch..
    • awarded hp can be configured (using rush_awards command)
  • Command:
    • rush_awards | This command allows admins to adjust the awarded hp bonus.
      example:
      Code:
      rush_awards 60 50 40 30 20 10
      which means:
      the first 6 players who reached a defined amount of units are awarded with 60, 50,40,30,20,10 HP

      the plugins default is:
      Code:
      rush_awards 50 30 10
  • Cvars:
    • rush_min_speed n (default: 200) | This is the minimum speed, a player must have before his/her total travelled distance begins to add up.
    • rush_award_distance n (default: 3000) | This is the total distance a player must reach to get hp bonus.
  • Required Module:
    • fun
      (enable in configs/modules.ini)
Attached Files
File Type: sma Get Plugin or Get Source (rush_bonus.sma - 2174 views - 5.2 KB)

Last edited by KoST; 12-08-2006 at 15:11.
KoST is offline
KoST
Senior Member
Join Date: Jul 2005
Old 05-18-2006 , 19:35  
Reply With Quote #2

Changelog:
+ v1.0 (05/19/06)
-- first release
__________________
KoST is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 05-18-2006 , 19:41  
Reply With Quote #3

Finally
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
Silver Dragon
Veteran Member
Join Date: Jan 2005
Location: Chicago, Illinois
Old 05-18-2006 , 20:33  
Reply With Quote #4

Very nice dude karma+.
__________________

Silver Dragon is offline
Send a message via AIM to Silver Dragon Send a message via MSN to Silver Dragon Send a message via Yahoo to Silver Dragon
KoST
Senior Member
Join Date: Jul 2005
Old 05-19-2006 , 17:51  
Reply With Quote #5

thx

@Curry: nice hud message
__________________
KoST is offline
Curryking
Veteran Member
Join Date: Jun 2004
Location: 51.22°N / 6.77°E
Old 05-19-2006 , 23:15  
Reply With Quote #6

I can't give so many karma I would like to give you for for such a nice plugin KoST ;-)

Curry
__________________
Full speed - no brakes!
Curryking is offline
KoST
Senior Member
Join Date: Jul 2005
Old 05-20-2006 , 11:46  
Reply With Quote #7

thx Curry

[edit]
has anyone tested this on any other mod than CS?
__________________
KoST is offline
Tang0
Senior Member
Join Date: Mar 2005
Location: 50° 3' 50" N 8° 20'
Old 06-18-2006 , 08:31  
Reply With Quote #8

Great Plugin...I love it!

Two Players noticed something I´d like to let u know...if important or not ;)

Just noticed: when I am with only one other player on the server, it counts twice when I run around while looking where the other guy is...for me or for him.

Maybe it would be a bit better if it only counts once for the same player...or it might happen that one guy gets all the 190 HPs and the other one still has 100... ;)

Zu deutsch, was zwei Spielern auffiel:

Wenn ich mit einem anderen Spieler alleine am Server spiele, dann passiert es, dass ich, je nachdem wie weit ich rennen kann ohne den anderen zu finden, zwei oder sogar alle drei Rush-Boni bekomme (z.B. wenn mein Gegner AFK ist).

Ist es möglich das vielleicht so zu ändern, dass ein und der selbe Spieler nur einmal den Bonus bekommen kann und nicht noch mehr?

Sonst hat ein Spieler wenn´s dumm kommt 190 HPs und der Gegner 100...was mich persönlich nicht so stört ;)

KoST du machst aber auch Hammerplugins!!!
__________________
Ich viel Geld für Alkohol, Weiber und schnelle Autos ausgegeben. Den Rest habe ich einfach verprasst...
Tang0 is offline
Send a message via ICQ to Tang0
KoST
Senior Member
Join Date: Jul 2005
Old 06-18-2006 , 13:45  
Reply With Quote #9

it is not a bug, it's a feature..

[edit] ok, maybe you are right.. i can add an option where you can switch this on/off
__________________
KoST is offline
qsush
Member
Join Date: Apr 2006
Location: Germany
Old 08-08-2006 , 09:01   Re: Rush HP Bonus v1.0 (05/19/06)
Reply With Quote #10

i get this error in my logs...
Quote:
L 08/08/2006 - 137:08: [AMXX] [0] 6150.attach::add_hp (line 133)
L 08/08/2006 - 137:08: [AMXX] [1] 6150.attach::player_task (line 91)
L 08/08/2006 - 14:07:25: [FUN] Invalid player 4
L 08/08/2006 - 14:07:25: [AMXX] Displaying debug trace (plugin "rush_bonus.amxx")
L 08/08/2006 - 14:07:25: [AMXX] Run time error 10: native error (native "set_user_health")
__________________

qsush is offline
Send a message via ICQ to qsush Send a message via AIM to qsush Send a message via MSN to qsush Send a message via Yahoo to qsush
Reply


Thread Tools
Display Modes

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 04:38.


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