Author
|
Message
|
SourceMod Donor
|
08-14-2010
, 23:37
[CS:S] Health Bounty v1.1.1 (Updated 8/22/10)
|
#1
|
Health Bounty
About:As a player does well on the map, a bounty is placed on his head, which grows steadily until he/she is killed. The bounty is awarded as bonus HP at the beginning of the next round. Installation:Just place health-bounty.smx in the plugins folder and your cvars will automatically be generated in cfg/sourcemod/plugin.health-bounty.cfg. Alternatively, you can extract health-bounty.zip to your mod's root directory. Admin Commands:- sm_healthbounty_set <name> <amt> - Sets a bounty of amount "amt" on player "name". Can be used by all admins with the Kick flag.
Cvar Configuration:
Code:
// Disable or enable the health bounty plugin.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_healthbounty "1"
// How much the bounty goes up by to the player who planted the bomb if the bomb explodes
// -
// Default: "5"
// Minimum: "0.000000"
sm_healthbounty_bomb "5"
// Health added to player's bounty per kill. Ignored if health_bounties.ini is in use
// -
// Default: "10"
// Minimum: "0.000000"
sm_healthbounty_bonus "10"
// 1 - Print to chat, 2 - Print to center, 0 - Disable
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "2.000000"
sm_healthbounty_display "1"
// Headshot bonus - amount of extra health added to the bounty if the bounty is killed by a headshot.
// -
// Default: "5"
// Minimum: "0.000000"
sm_healthbounty_headshot "5"
// How much the bounty should go up by whent he player rescues hostages
// -
// Default: "10"
// Minimum: "0.000000"
sm_healthbounty_hostie "10"
// Minimum kill streak required before a bounty is placed on a player. Ignored if health_bounties.ini is in use.
// -
// Default: "5"
// Minimum: "0.000000"
sm_healthbounty_kills "5"
// Highest amount that a bounty can be.
// -
// Default: "0"
// Minimum: "0.000000"
sm_healthbounty_limit "0"
// Money to add to the bounty if the player survives the round.
// -
// Default: "5"
// Minimum: "0.000000"
sm_healthbounty_round "5"
// Starting bounty amount once sm_bounty_kills is reached. Ignored if health_bounties.ini is in use.
// -
// Default: "50"
// Minimum: "0.000000"
sm_healthbounty_startamount "50"
Advanced Configuration:If you want more control over when bounties are incremented, and by what amount, you can optionally use the health_bounties.ini file, included in the attached .zip file. This file is placed in the sourcemod/configs folder.
health_bounties.ini Example:
Code:
//This file is used by Health Bounty (health-bounty.smx)
//The purpose of this file is to define non-uniform bounty increments, rather
//than increments of a constant value on each kill as the cvars provide
//To define new bounty levels, use the following format:
// "KILLS" "BOUNTY"
//For example:
//----------------------------------
// "5" "20" At five kills, the player's bounty will be 20 HP.
// "7" "10" At seven kills, the player's bounty will have 10 HP added.
// "10" "20" At ten kills, the player's bounty will have 20 HP added.
// "15" "30" At fifteen kills, the player's bounty will have 30 HP added.
//----------------------------------
//IF YOU DO NOT WANT TO USE THIS FILE AND WOULD RATHER USE THE CVARS, EITHER:
// RENAME IT
// COMMENT IT OUT
// OR LEAVE IT BLANK
//---------------------------------------------------------------------------//
; "KILLS" "BOUNTY ADDITION"
"5" "20"
"7" "10"
"10" "10"
"15" "10"
Change Log:1.1.1 (8/22/10)- Fixed bug with applying bounty increment for surviving the round.
1.1 (8/16/10)- Changed HP award time to player_spawn rather than round_start (this accommodates for Deathmatch servers).
- Added admin command to put a bounty on a player.
1.0.1 (8/15/10)- Fixed bug with limit of 0 not being infinity.
- Fixed bug with loading bounty specifications from health-bounties.ini
- Changed health-bounties.ini specification so that each kill count results in an increment of the specified bounty.
1.0 (8/14/10)
Last edited by Steell; 03-09-2011 at 13:15.
Reason: New Version: 1.1.1
|
|
|
|