DoD DropHealthKit Source
- DukeHacks Extension REQUIRED! -
DESCRIPTION:
Players drop a "ration" (healthkit) on death for other players to pick it up and regain health!
Players can be allowed to drop their healthkit while being alive as well.
- no additional models are required, players don't need to download anything!
- using "ration_box01.mdl" (DoD:Source standard model)
- HealthKits can be plain or colorized with the team's color of the dropping player
- Given health can be adjusted by cvar!
- Maximum health a player can reach can be defined by cvar
- Everyone, only Teammates, only Enemies can pickup healthkits (defined by cvar!)
- Time the healthkit stays on the map can be adjusted by cvar
- players with health lower than your set max health just need to "run over" a healthpack to pick it up
- players can drop their healthkit by "dropammo" command and pick it
up again to drop it later on (no health added for picking up you own healthkit again!)
USAGE:
CVARs:
PHP Code:
// <#> = amount of HP to add to a player picking up a healthkit
// -
// Default: "25"
// Minimum: "5.000000"
// Maximum: "95.000000"
dod_drophealthkit_addhealth "25"
// <1/0> = enable/disable allowing alive players to drop their healthkit
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
dod_drophealthkit_alivedrop "1"
// <1/0> = enable/disable dropping a healthkit on players' death
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
dod_drophealthkit_deaddrop "1"
// <#> = number of seconds a dropped healthkit stays on the map
// -
// Default: "30"
// Minimum: "5.000000"
// Maximum: "60.000000"
dod_drophealthkit_lifetime "30"
// <#> = maximum amount of healthpoints a player can reach
// -
// Default: "100"
// Minimum: "50.000000"
// Maximum: "200.000000"
dod_drophealthkit_maxhealth "100"
// <0/1/2> = set who can pickup dropped healthkits: 0 = everyone, 1 = only teammates, 2 = only enemies
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "2.000000"
dod_drophealthkit_pickuprule "0"
// <1/0> = use team's color of dropping player to colorize healthkit
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
dod_drophealthkit_useteamcolor "0"
CHANGELOG: - 16 November 2008 - Version 1.0
* Initial Release
- 18 November 2008 - Version 1.1
- New Features:
* maximum amount of health a player can reach can now be defined
(see new cvar "dod_drophealthkit_maxhealth")
* healthkit pickup can now be limited to a group of players
(see new cvar "dod_drophealthkit_pickuprule")
- 22 November 2008 - Version 1.2 NEW!
- New Features:
* players can be allowed to drop their healthkit while being alive
(command "dropammo" that usually drops an ammobox is used.
So if a player has a healthkit on first button press (default is [H]) player's healthkit is dropped if he has one,
pressing the button again will drop the ammobox like usually!
(see new cvar "dod_drophealthkit_alivedrop")
* dropping healthkits on death/alive can be enabled/disabled
independently from each other!
- Bugfixes:
* fixed invalid Handle errors
- General Changes:
* renamed cvar "dod_drophealthkit_source" to
"dod_drophealthkit_deaddrop"
SCREENSHOTS
PLEASE NOTE:
You do NOT need to add any of the above CVars to neither your
server.cfg nor to your sourcemod.cfg! The plugins create their
own config files on first startup in the folder
"/orangebox/dod/cfg/dod_drophealthkit_source/"
on your gameserver! Just edit those files to your needs and you're done!
+++++++++++++++++++++++++++++++++++++++++++++ ++++++
DOWNLOAD!
(according to the rules, NO registration is required and the download can be reached within a few clicks! Source and pre-compiled Plugins included!)
For extended Support please be sure to join our
Community and post your feature requests and bug reports there!