Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin

DoD Bleeding

by Zor · 2006-07-08 · 2 replies · 7969 views · 295 downloads

Read the thread (3 posts)

From the first post

This plugin harks back to the old days of Original DoD, back to 2000. When DoD Beta had bleeding in the game. This made it different from most games as you had to patch yourself up. Not the best of things happened if you didn't. Well with this plugin you can make your DoD 1.6 into an image of your DoD Beta 1.3 server!
rn
rnENSURE TO ADD THIS BEFORE YOUR TK MANAGER!!!! IF NOT TKS WON'T GET CAUGHT!!!
rn
rnIf you wish not to see messages about bleeding you must set a local variable in your config.cfg so you WONT get the messages about bleeding. Here are the messages that will be blocked if you set these variables:
rn
rn
- Tells server you have bound your key alreadyrnsetinfo dod_bleeding_set 1rnrn- Stops the autoswitchrnsetinfo dod_bleeding_noswitch 1rnrn- Tells the plugin not to look for use key as a way to patchrnsetinfo dod_bleeding_nousekey 1rnrn- Tells the plugin not to show you a message at the beginingrnsetinfo dod_bleeding_noannounce 1

rn
rn
v0.1rn	- Be!rn	- Alot of work from the original was ripped out, some things remain.  I havern	  been testing this on my server and it works finernv0.1arn	- Added says from original and a bit of fixes so as to show bled out ppl how to patchrn	- Added a function to allow a user to bind a key using the chatrnv0.1brn	- Fixed the binding using global chatrn	- Added pausing abilitiesrnv0.1crn	- Added bot checking code rn	** Thanks goes out to J. Cricket for reporting this error **rnv0.2rn	- Added blood splatter ( Thanks goes to FireStorm for Blood )rnv0.2arn	- Removed the need to bind of a key.  The binding still works, but user can justrn	use the +use, the same one for his grenades / door / hook_objectsrn	- Changed the MOTD Look to a REAL MOTD Window!rnv0.2brn	- Fixed up errors with not showing the spritesrnv0.2crn	- Fixed up some aspects of the pluginrn	- Added a Message to Players that they Are Bleeding unless they have used the bandagernv0.2drn	- Fixed the buttons pressed stuff, kept showing motdrnv0.2ern	- Added local variable for checking to see if bleeding is set for individual usersrn	as they join the serverrnv0.2frn	- Changed the way I handle say messages so that its not so rigidrnv0.2grn	- Changed the display of Message to Respawnrn	- Added a server side cvar to show motd each time they die from bleedingrn	- Added british medic soundsrnv0.2hrn	- Fixed up an error on my part for not including generic and headrnV0.2irn	- Fixed medic call when deadrn	- Fixed error with enginern	- Removed anoying code outputrnv0.2jrn	- Fixed the disconnect errorrnv0.3rn	- Updated it for amxmodx v 1.5rn	- Added a local var check to see if the player wants to use his use key or notrnv0.3arn	- Fixed error within client_PreThink, where client is thinking but not on the serverrnv0.4rn	- Added bot patchingrn	- Fixed the deployed bugrn	- Cleaned up the code a bitrnv0.4arn	- Fixed it up to work with is_in_viewcone for the botsrnv0.5rn	- Changed to different motd file naming conventionrn	- Added a task to check local vars instead of all at oncern	- Added debug codern	- Changed the MOTD to reflect changes in the setinforn	- Changed the setinfo as the lines were too long

rn
rn
ToDo:rn- I need to work on the bleeding by teamates...cant figure out how to throw the rndeath by teamate, have tried using the message but not working...testing callingrnthe function directly within the plugin.rn- Want to look at having it as a useable weapon type thingrn- Look at a menu for binding keysrn- Look at droping all weapons, then reload all weapons when patching

rn
rnThis is the info on v1.0 fixed version by Feurstorm
rn
rn
USAGE (cvars for amxx.cfg):rn===========================rnrndod_bleeding_enabled <1/0> = enable/disable DoD Bleeding by defaultrn 1 = Bleeding is enbaledrn 0 = Bleeding is disabledrnrndod_bleeding_mindamage <#> = set amount of damage that a player has torn take to start bleeding.rn set it to 0 to make players start bleedingrn no matter how much damage was caused,rn choose a higher value if you don't want peoplern to start bleeding after only small damage byrn for example a detonating grenade some meters away.rnrndod_bleeding_bleedbyworld <1/0> = enable/disable bleeding after falling downrn and losing health or being hit by a mortarrn on dod_caen for example.rn 1 = start bleeding by "world" damagesrn 0 = only start bleeding by weapon damagernrndod_bleeding_dmgcenter <#> = set how many healthpoints a player that isrn bleeding loses per second for body center hitsrnrndod_bleeding_dmgextremities <#> = set how many healthpoints a player that isrn bleeding loses per second for body extremities hitsrnrndod_bleeding_messages <#> = set how many times bleeding players shouldrn get the "Your are Bleeding" announcement afterrn they managed to bandage the first timernrnPlease Note:rnNo matter to what value (other than 0)rnyou set this, the player will always get thernannouncement until he manages to bandage for thernfirst time, then it counts as first message!rnSo usually setting this to 1 does the trick andrnplayers won't be announced anymore after they foundrnout how to bandage!rnrnrnrnDESCRIPTION:rn============rnrnThis Plugin will add some realism to your servers!rn- Wounded players will start to bleed and lose healthrn until they bandage their wounds!rn- While bandaging they can only use their melee weapon!rn- If you don't bandage you bleed to death!rn- Bleeding is handled like every other standard weapon,rn if you shoot someone and he bleeds to death, you receivern the kill and the deathmessage will show you as the killer!rn- HLStats proof! Bleeding kills are handled like kills withrn any other standard weapon and will be listed in the stats!rn rnrnrnrnCHANGELOG:rn==========rnrnThis plugin was originally made by Zor,rnas it was kind of abandoned i will continuernwork on it with Zor's permission!rnrn- 04.08.2007 Version 0.9rn - imported Zor's version "0.4a"rn - changed cvar namesrn - changed to pcvar usagern - removed motd, client-commands & setinfosrn from now on the "use"-key is the only wayrn to bandage!rn - replaced Engine with FakeMeta modulern - added hudmessage as announcement forrn bleeding playersrn - added textmessage after respawn for playersrn that were bleeding but did not bandagern - added multilanguage support for thosern announcementsrn - blocked "suicide" logmessage and replaced itrn with a "X killed Y with bleeding" messagern - completely HLStats proof now! Bleeding kills arern handled like any other standard weapon's kills,rn now more "suicides" because of bleeding!rn A nice little icon for your HLStats is includedrn as well!rn - finally fixed "deployed"-bug, players with arn deployed mg/bar/fg42 now undeploy and switchrn to knife/spade as well when bandagingrn - fixed bots not switching to melee weapons whenrn bandagingrnrn- 09.08.2007 Version 1.0rn - fixed blood squeezing "out of the air" insteadrn of the bleeding player.rn - fixed overhead-icons disappearingrn - added cvar "dod_bleeding_bleedbyworld" to define ifrn players should start to bleed after falling off andrn losing health.(set to 1) or if they schould justrn start bleeding after beeing hit by a weapon (set to 0)rn - added cvar "dod_bleeding_mindamage" to define the minimumrn of damage that has to be caused to a player to start bleeding.rn - moved announcement hudmessage to the left of the screen, so itrn doesn't influence players view while finishing their firefightrn before bandaging

Files

bleeding_motd.txt Config / Docs 1 KB 148 dl Download
sprites.zip Archive 6 KB 138 dl Download
dod_bleeding_v0.5.sma Plugin Source 25 KB 3 dl Download Compile
dod_bleeding_v1.0.sma Plugin Source 17 KB 6 dl Download Compile

Archived builds from the server loose

These compiled builds sat loose in the server's script folder rather than attached to a post. They are matched to this release by comparing their decompiled Pawn against the source published above, so treat the attribution as strong but not certain. Versions come from the register_plugin() call recovered from the bytecode.

CPlayer.cpp Module Source 1 KB Download
CPlayer.h Module Source 446 B Download
moduleconfig.cpp Module Source 3 KB Download
bleeding_motd_105.txt Docs 1 KB Download
dod_bleeding_110.sma v0.4 22 KB Download Compile
dod_bleeding_128.sma v0.3 30 KB Download Compile
dod_bleeding_722.sma v0.1b 18 KB Download Compile
dod_bleeding_modded_172.sma v0.2i_modded 7 KB Download Compile
bleeding_motd.txt Docs 1 KB Download

The thread

All 3 posts from 2 people on DoD Bleeding, kept as they were written.

Zor
started this thread
Posts: 688
Threads: 75
Joined: Jun 2006
07-08-2006, 09:44 AM #1

This plugin harks back to the old days of Original DoD, back to 2000. When DoD Beta had bleeding in the game. This made it different from most games as you had to patch yourself up. Not the best of things happened if you didn't. Well with this plugin you can make your DoD 1.6 into an image of your DoD Beta 1.3 server!rnrnENSURE TO ADD THIS BEFORE YOUR TK MANAGER!!!! IF NOT TKS WON'T GET CAUGHT!!!rnrnIf you wish not to see messages about bleeding you must set a local variable in your config.cfg so you WONT get the messages about bleeding. Here are the messages that will be blocked if you set these variables:rnrn

- Tells server you have bound your key alreadyrnsetinfo dod_bleeding_set 1rnrn- Stops the autoswitchrnsetinfo dod_bleeding_noswitch 1rnrn- Tells the plugin not to look for use key as a way to patchrnsetinfo dod_bleeding_nousekey 1rnrn- Tells the plugin not to show you a message at the beginingrnsetinfo dod_bleeding_noannounce 1rn
rnrn
rnv0.1rn	- Be!rn	- Alot of work from the original was ripped out, some things remain.  I havern	  been testing this on my server and it works finernv0.1arn	- Added says from original and a bit of fixes so as to show bled out ppl how to patchrn	- Added a function to allow a user to bind a key using the chatrnv0.1brn	- Fixed the binding using global chatrn	- Added pausing abilitiesrnv0.1crn	- Added bot checking code rn	** Thanks goes out to J. Cricket for reporting this error **rnv0.2rn	- Added blood splatter ( Thanks goes to FireStorm for Blood )rnv0.2arn	- Removed the need to bind of a key.  The binding still works, but user can justrn	use the +use, the same one for his grenades / door / hook_objectsrn	- Changed the MOTD Look to a REAL MOTD Window!rnv0.2brn	- Fixed up errors with not showing the spritesrnv0.2crn	- Fixed up some aspects of the pluginrn	- Added a Message to Players that they Are Bleeding unless they have used the bandagernv0.2drn	- Fixed the buttons pressed stuff, kept showing motdrnv0.2ern	- Added local variable for checking to see if bleeding is set for individual usersrn	as they join the serverrnv0.2frn	- Changed the way I handle say messages so that its not so rigidrnv0.2grn	- Changed the display of Message to Respawnrn	- Added a server side cvar to show motd each time they die from bleedingrn	- Added british medic soundsrnv0.2hrn	- Fixed up an error on my part for not including generic and headrnV0.2irn	- Fixed medic call when deadrn	- Fixed error with enginern	- Removed anoying code outputrnv0.2jrn	- Fixed the disconnect errorrnv0.3rn	- Updated it for amxmodx v 1.5rn	- Added a local var check to see if the player wants to use his use key or notrnv0.3arn	- Fixed error within client_PreThink, where client is thinking but not on the serverrnv0.4rn	- Added bot patchingrn	- Fixed the deployed bugrn	- Cleaned up the code a bitrnv0.4arn	- Fixed it up to work with is_in_viewcone for the botsrnv0.5rn	- Changed to different motd file naming conventionrn	- Added a task to check local vars instead of all at oncern	- Added debug codern	- Changed the MOTD to reflect changes in the setinforn	- Changed the setinfo as the lines were too longrn
rnrn
rnToDo:rn- I need to work on the bleeding by teamates...cant figure out how to throw the rndeath by teamate, have tried using the message but not working...testing callingrnthe function directly within the plugin.rn- Want to look at having it as a useable weapon type thingrn- Look at a menu for binding keysrn- Look at droping all weapons, then reload all weapons when patchingrn
rnrnThis is the info on v1.0 fixed version by Feurstormrnrn
rnUSAGE (cvars for amxx.cfg):rn===========================rnrndod_bleeding_enabled <1/0> = enable/disable DoD Bleeding by defaultrn 1 = Bleeding is enbaledrn 0 = Bleeding is disabledrnrndod_bleeding_mindamage <#> = set amount of damage that a player has torn take to start bleeding.rn set it to 0 to make players start bleedingrn no matter how much damage was caused,rn choose a higher value if you don't want peoplern to start bleeding after only small damage byrn for example a detonating grenade some meters away.rnrndod_bleeding_bleedbyworld <1/0> = enable/disable bleeding after falling downrn and losing health or being hit by a mortarrn on dod_caen for example.rn 1 = start bleeding by "world" damagesrn 0 = only start bleeding by weapon damagernrndod_bleeding_dmgcenter <#> = set how many healthpoints a player that isrn bleeding loses per second for body center hitsrnrndod_bleeding_dmgextremities <#> = set how many healthpoints a player that isrn bleeding loses per second for body extremities hitsrnrndod_bleeding_messages <#> = set how many times bleeding players shouldrn get the "Your are Bleeding" announcement afterrn they managed to bandage the first timernrnPlease Note:rnNo matter to what value (other than 0)rnyou set this, the player will always get thernannouncement until he manages to bandage for thernfirst time, then it counts as first message!rnSo usually setting this to 1 does the trick andrnplayers won't be announced anymore after they foundrnout how to bandage!rnrnrnrnDESCRIPTION:rn============rnrnThis Plugin will add some realism to your servers!rn- Wounded players will start to bleed and lose healthrn until they bandage their wounds!rn- While bandaging they can only use their melee weapon!rn- If you don't bandage you bleed to death!rn- Bleeding is handled like every other standard weapon,rn if you shoot someone and he bleeds to death, you receivern the kill and the deathmessage will show you as the killer!rn- HLStats proof! Bleeding kills are handled like kills withrn any other standard weapon and will be listed in the stats!rn rnrnrnrnCHANGELOG:rn==========rnrnThis plugin was originally made by Zor,rnas it was kind of abandoned i will continuernwork on it with Zor's permission!rnrn- 04.08.2007 Version 0.9rn - imported Zor's version "0.4a"rn - changed cvar namesrn - changed to pcvar usagern - removed motd, client-commands & setinfosrn from now on the "use"-key is the only wayrn to bandage!rn - replaced Engine with FakeMeta modulern - added hudmessage as announcement forrn bleeding playersrn - added textmessage after respawn for playersrn that were bleeding but did not bandagern - added multilanguage support for thosern announcementsrn - blocked "suicide" logmessage and replaced itrn with a "X killed Y with bleeding" messagern - completely HLStats proof now! Bleeding kills arern handled like any other standard weapon's kills,rn now more "suicides" because of bleeding!rn A nice little icon for your HLStats is includedrn as well!rn - finally fixed "deployed"-bug, players with arn deployed mg/bar/fg42 now undeploy and switchrn to knife/spade as well when bandagingrn - fixed bots not switching to melee weapons whenrn bandagingrnrn- 09.08.2007 Version 1.0rn - fixed blood squeezing "out of the air" insteadrn of the bleeding player.rn - fixed overhead-icons disappearingrn - added cvar "dod_bleeding_bleedbyworld" to define ifrn players should start to bleed after falling off andrn losing health.(set to 1) or if they schould justrn start bleeding after beeing hit by a weapon (set to 0)rn - added cvar "dod_bleeding_mindamage" to define the minimumrn of damage that has to be caused to a player to start bleeding.rn - moved announcement hudmessage to the left of the screen, so itrn doesn't influence players view while finishing their firefightrn before bandagingrn
F Fyrmn472
posted here
Posts: 13
Threads: 1
Joined: Mar 2005
08-17-2006, 10:32 PM #2

Will this plugin work now with a current version of Amxx?rnrnAs you know Zor the Mod League uses this plugin but the old plugin wouldn't work with versions past amxx 1.60.

Zor
started this thread
Posts: 688
Threads: 75
Joined: Jun 2006
11-26-2013, 08:02 AM #3

Long overdue upload of an update done forever ago! Sohood asked and I checked around for this. Now there are 2 versions I found. First one was mine, thats the v0.5 and the second was the v1.0 The 1.0 is a fixed version of v0.4a by FeuerSturm. Please let me know which one works best!rnrnCheers!

DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC