FeuerSturm
08-04-2007, 12:41 PM
This plugin was originally made by Zor and i will
continue work on it with his permission!
//
// DESCRIPTION:
// ============
//
// This Plugin will add some realism to your servers!
// - Wounded players will start to bleed and lose health
// until they bandage their wounds!
// - While bandaging they can only use their melee weapon!
// - If you don't bandage you bleed to death!
// - Bleeding is handled like every other standard weapon,
// if you shoot someone and he bleeds to death, you receive
// the kill and the deathmessage will show you as the killer!
// - HLStats proof! Bleeding kills are handled like kills with
// any other standard weapon and will be listed in the stats!
//
//
// USAGE (cvars for amxx.cfg):
// ===========================
//
// dod_bleeding_enabled <1/0> = enable/disable DoD Bleeding by default
// 1 = Bleeding is enbaled
// 0 = Bleeding is disabled
//
// dod_bleeding_mindamage <#> = set amount of damage that a player has to
// take to start bleeding.
// set it to 0 to make players start bleeding
// no matter how much damage was caused,
// choose a higher value if you don't want people
// to start bleeding after only small damage by
// for example a detonating grenade some meters away.
//
// dod_bleeding_bleedbyworld <1/0> = enable/disable bleeding after falling down
// and losing health or being hit by a mortar
// on dod_caen for example.
// 1 = start bleeding by "world" damages
// 0 = only start bleeding by weapon damage
//
// dod_bleeding_dmgcenter <#> = set how many healthpoints a player that is
// bleeding loses per second for body center hits
//
// dod_bleeding_dmgextremities <#> = set how many healthpoints a player that is
// bleeding loses per second for body extremities hits
//
// dod_bleeding_messages <#> = set how many times bleeding players should
// get the "Your are Bleeding" announcement after
// they managed to bandage the first time
//
// Please Note:
// No matter to what value (other than 0)
// you set this, the player will always get the
// announcement until he manages to bandage for the
// first time, then it counts as first message!
// So usually setting this to 1 does the trick and
// players won't be announced anymore after they found
// out how to bandage!
//
//
// CHANGELOG:
// ==========
//
// This plugin was originally made by Zor,
// as it was kind of abandoned i will continue
// work on it with Zor's permission!
//
// - 04.08.2007 Version 0.9
// - imported Zor's version "0.4a"
// - changed cvar names
// - changed to pcvar usage
// - removed motd, client-commands & setinfos
// from now on the "use"-key is the only way
// to bandage!
// - replaced Engine with FakeMeta module
// - added hudmessage as announcement for
// bleeding players
// - added textmessage after respawn for players
// that were bleeding but did not bandage
// - added multilanguage support for those
// announcements
// - blocked "suicide" logmessage and replaced it
// with a "X killed Y with bleeding" message
// - completely HLStats proof now! Bleeding kills are
// handled like any other standard weapon's kills,
// now more "suicides" because of bleeding!
// A nice little icon for your HLStats is included
// as well!
// - finally fixed "deployed"-bug, players with a
// deployed mg/bar/fg42 now undeploy and switch
// to knife/spade as well when bandaging
// - fixed bots not switching to melee weapons when
// bandaging
//
// - 09.08.2007 Version 1.0
// - fixed blood squeezing "out of the air" instead
// of the bleeding player.
// - fixed overhead-icons disappearing
// - added cvar "dod_bleeding_bleedbyworld" to define if
// players should start to bleed after falling off and
// losing health.(set to 1) or if they schould just
// start bleeding after beeing hit by a weapon (set to 0)
// - added cvar "dod_bleeding_mindamage" to define the minimum
// of damage that has to be caused to a player to start bleeding.
// - moved announcement hudmessage to the left of the screen, so it
// doesn't influence players view while finishing their firefight
// before bandaging
//
Please be sure do download the sprites the plugin uses and
place into the folder "/dod/sprites/" on your gameserver!
A nice little pic for your HLStats is included as well, if you
are running HLStats for your server and have access to the
"hlstatsimg" folder, be sure to grab it as well!
If you want to see a preview of the HLStats, please don't
hesitate to take a look at my HLStats (http://www.clan-sod.eu/sites/index.php?show=5) and browse to "Weapon statistics"!
If you experience any problems, please let me know!
Enjoy!
continue work on it with his permission!
//
// DESCRIPTION:
// ============
//
// This Plugin will add some realism to your servers!
// - Wounded players will start to bleed and lose health
// until they bandage their wounds!
// - While bandaging they can only use their melee weapon!
// - If you don't bandage you bleed to death!
// - Bleeding is handled like every other standard weapon,
// if you shoot someone and he bleeds to death, you receive
// the kill and the deathmessage will show you as the killer!
// - HLStats proof! Bleeding kills are handled like kills with
// any other standard weapon and will be listed in the stats!
//
//
// USAGE (cvars for amxx.cfg):
// ===========================
//
// dod_bleeding_enabled <1/0> = enable/disable DoD Bleeding by default
// 1 = Bleeding is enbaled
// 0 = Bleeding is disabled
//
// dod_bleeding_mindamage <#> = set amount of damage that a player has to
// take to start bleeding.
// set it to 0 to make players start bleeding
// no matter how much damage was caused,
// choose a higher value if you don't want people
// to start bleeding after only small damage by
// for example a detonating grenade some meters away.
//
// dod_bleeding_bleedbyworld <1/0> = enable/disable bleeding after falling down
// and losing health or being hit by a mortar
// on dod_caen for example.
// 1 = start bleeding by "world" damages
// 0 = only start bleeding by weapon damage
//
// dod_bleeding_dmgcenter <#> = set how many healthpoints a player that is
// bleeding loses per second for body center hits
//
// dod_bleeding_dmgextremities <#> = set how many healthpoints a player that is
// bleeding loses per second for body extremities hits
//
// dod_bleeding_messages <#> = set how many times bleeding players should
// get the "Your are Bleeding" announcement after
// they managed to bandage the first time
//
// Please Note:
// No matter to what value (other than 0)
// you set this, the player will always get the
// announcement until he manages to bandage for the
// first time, then it counts as first message!
// So usually setting this to 1 does the trick and
// players won't be announced anymore after they found
// out how to bandage!
//
//
// CHANGELOG:
// ==========
//
// This plugin was originally made by Zor,
// as it was kind of abandoned i will continue
// work on it with Zor's permission!
//
// - 04.08.2007 Version 0.9
// - imported Zor's version "0.4a"
// - changed cvar names
// - changed to pcvar usage
// - removed motd, client-commands & setinfos
// from now on the "use"-key is the only way
// to bandage!
// - replaced Engine with FakeMeta module
// - added hudmessage as announcement for
// bleeding players
// - added textmessage after respawn for players
// that were bleeding but did not bandage
// - added multilanguage support for those
// announcements
// - blocked "suicide" logmessage and replaced it
// with a "X killed Y with bleeding" message
// - completely HLStats proof now! Bleeding kills are
// handled like any other standard weapon's kills,
// now more "suicides" because of bleeding!
// A nice little icon for your HLStats is included
// as well!
// - finally fixed "deployed"-bug, players with a
// deployed mg/bar/fg42 now undeploy and switch
// to knife/spade as well when bandaging
// - fixed bots not switching to melee weapons when
// bandaging
//
// - 09.08.2007 Version 1.0
// - fixed blood squeezing "out of the air" instead
// of the bleeding player.
// - fixed overhead-icons disappearing
// - added cvar "dod_bleeding_bleedbyworld" to define if
// players should start to bleed after falling off and
// losing health.(set to 1) or if they schould just
// start bleeding after beeing hit by a weapon (set to 0)
// - added cvar "dod_bleeding_mindamage" to define the minimum
// of damage that has to be caused to a player to start bleeding.
// - moved announcement hudmessage to the left of the screen, so it
// doesn't influence players view while finishing their firefight
// before bandaging
//
Please be sure do download the sprites the plugin uses and
place into the folder "/dod/sprites/" on your gameserver!
A nice little pic for your HLStats is included as well, if you
are running HLStats for your server and have access to the
"hlstatsimg" folder, be sure to grab it as well!
If you want to see a preview of the HLStats, please don't
hesitate to take a look at my HLStats (http://www.clan-sod.eu/sites/index.php?show=5) and browse to "Weapon statistics"!
If you experience any problems, please let me know!
Enjoy!