AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   DoD DropHealthKit Source v1.2 (requires Dukehacks Extension!) [22nd November 2008] (https://forums.alliedmods.net/showthread.php?t=80602)

FeuerSturm 11-16-2008 15:37

DoD DropHealthKit Source v1.2 (requires Dukehacks Extension!) [22nd November 2008]
 
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!

monkie 11-16-2008 23:17

Re: DoD DropHealthKit Source v1.0 (requires Dukehacks Extension!) [16th November 2008
 
Fantasic work, FeuerSturm! :up:

I'd like to request one more feature here, add a CVAR like dod_drophealthkit_maxhealth which allow maximum HP exceeds 100.

FeuerSturm 11-18-2008 12:45

Re: DoD DropHealthKit Source v1.1 (requires Dukehacks Extension!) [18th November 2008
 
Quote:

Originally Posted by monkie (Post 714780)
Fantasic work, FeuerSturm! :up:

I'd like to request one more feature here, add a CVAR like dod_drophealthkit_maxhealth which allow maximum HP exceeds 100.

CHANGELOG:
  • 18 November 2008 - Version 1.1 NEW!
    - 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")
Please be sure to delete your "/orangebox/dod/cfg/dod_drophealthkit_source/" folder
to have the config file re-created with the additional cvars! :mrgreen:

BenSib 11-18-2008 17:06

Re: DoD DropHealthKit Source v1.1 (requires Dukehacks Extension!) [18th November 2008
 
I had a Dream ... and you realized it. Big Thanks Feuersturm!

monkie 11-18-2008 20:35

Re: DoD DropHealthKit Source v1.1 (requires Dukehacks Extension!) [18th November 2008
 
O hell, a big hug to FeuerSturm :mrgreen:

colwulf 11-19-2008 15:03

Re: DoD DropHealthKit Source v1.1 (requires Dukehacks Extension!) [18th November 2008
 
I will be installing on my server tonight if you all are interested the ip is 63.209.36.115 DOD:s if you all wana come check it out.. should be installed and working around 6pm CST

FeuerSturm 11-22-2008 12:46

Re: DoD DropHealthKit Source v1.2 (requires Dukehacks Extension!) [22nd November 2008
 
I'm proud to announce the release of version 1.2!

Now players can drop their healthkit like an ammobox (same command = same key)
and it's handled like an ammobox as well, so players can pick their healthkit up again after dropping it (no health added).

CHANGELOG:
  • 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"
Please be sure to delete your
"\orangebox\dod\cfg\dod_drophealthkit_source\ "
folder and restart your server to have the new/changed cvars
in the config file!

Enjoy! :mrgreen:

monkie 11-22-2008 22:57

Re: DoD DropHealthKit Source v1.2 (requires Dukehacks Extension!) [22nd November 2008
 
thank u again for another sweet update :P

Laser32 02-04-2009 05:21

Re: DoD DropHealthKit Source v1.2 (requires Dukehacks Extension!) [22nd November 2008
 
[SM] Plugin dod_drophealthkit_source.smx failed to load: Required extension "Dukehacks Extension" file("dukehacks.ext") not running.

???

FeuerSturm 02-05-2009 00:14

Re: DoD DropHealthKit Source v1.2 (requires Dukehacks Extension!) [22nd November 2008
 
Quote:

Originally Posted by FeuerSturm (Post 714652)
- DukeHacks Extension REQUIRED! -



All times are GMT -4. The time now is 12:48.

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