Raised This Month: $32 Target: $400
 8% 

The One v1.2 w/vampire addon


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   devicenull (200)
kaddar
Member
Join Date: Jul 2004
Old 07-22-2004 , 00:26   The One v1.2 w/vampire addon
Reply With Quote #1

The idea of "The One" Teamplay plugin is that every time a player dies, all other players on his team gain health based on how many players are still alive on that team. Thus, the first player to die gives less life to all other players than the second to last player. Essentially meaning the last player on a team is incredibly hard to kill because he has gained a lot of life.

Total life that would be gained by the last player if all other players on his team dies for the counter terrorists is equal to amxx_last_ct_health_added. For the terrorists, the number is generated automatically based on amxx_last_ct_health_added. (In other words, if there are more or less terrorists, health is still split fairly).

Vampire addon allows you to set amxx_health_stolen. Defaults to 0 so is by default turned off.

cvar listing:
amxx_default_health - health at the start of a round, defaults to 100
amxx_health_stolen - how much life you gain every kill (positive), defaults to 0
amxx_last_ct_health_added - overall life added to the ct team by their own team members deaths (terrorist team is based on this and number of cts vs number of terrorists, defaults to 100, 0 to turn off

changelog
v1.2
Fixed default health cvar bugs, added amxx_health_stolen

v1.01
Fixed an uneven teams bug, added cvar amxx_default_health, allows admins to set player's life upon entering a round, test it out, let me know if it works, as it's "beta"

This is my first mod
Attached Files
File Type: sma Get Plugin or Get Source (theone.sma - 3540 views - 5.6 KB)
kaddar 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 01:33.


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