Addon Details

Watch - Add Favorite


Does this version work for you?
14
w00ts
w00t!2

CheapBleed - Version 7

posted on 2007-05-07 20:17:09
by SuperDave



Description

Makes players lose health and emit blood as well as a pain sound every few seconds after being hurt. Requires only ES 2.0.0.248+ Options:[syntax="es"]// CheapBleed release 7 options // ./addons/eventscripts/cheapbleed/cheapbleed.cfg // http://addons.eventscripts.com/addons/view/cheapbleed // Load this addon with: es_load cheapbleed // ***** Damage options ***** // NOTE: Bleeding counts as point_hurt damage. // Percent of damage taken a player will lose on the first bleed cheapbleed_damage_initial 30 // Percent of damage taken by previous bleed that will be lost on the next bleed cheapbleed_damage_attenuation 45 // ***** Delay options ***** // Number of seconds between taking damage and the first bleed cheapbleed_delay_initial 3 // Percent of previous bleed delay that will be the delay for the next bleed cheapbleed_delay_attenuation 150 // ***** Sound options ***** // Percent of the map around a player that can hear when that player bleeds--set to 0 for no sound cheapbleed_sound_percent 10 // Use the following server command to add bleed sounds: // cheapbleed_addsound -"sound relative to ./sound/"- // Sounds are marked for download automatically. // Place your cheapbleed_addsound commands below: // Uncomment the following default options if you wish to use them: // cheapbleed_addsound "npc/barnacle/barnacle_crunch2.wav" // cheapbleed_addsound "npc/barnacle/barnacle_crunch3.wav" // cheapbleed_addsound "physics/flesh/flesh_squishy_impact_hard1.wav" // cheapbleed_addsound "physics/flesh/flesh_squishy_impact_hard2.wav" // cheapbleed_addsound "physics/flesh/flesh_squishy_impact_hard3.wav" // cheapbleed_addsound "physics/flesh/flesh_squishy_impact_hard4.wav" // cheapbleed_addsound "player/pl_pain6.wav" // cheapbleed_addsound "player/suit_sprint.wav" // cheapbleed_addsound "vo/npc/male01/pain01.wav" // cheapbleed_addsound "vo/npc/male01/pain02.wav" // cheapbleed_addsound "vo/npc/male01/pain03.wav" // cheapbleed_addsound "vo/npc/male01/pain04.wav" // cheapbleed_addsound "vo/npc/male01/pain05.wav" // cheapbleed_addsound "vo/npc/male01/pain06.wav" // The following server command can be used to remove bleed sounds: // cheapbleed_removesound -"sound relative to ./sound/"- // Due to the fact bleed sounds can be added and removed above, this command will not be used by most users // ***** Event documentation ***** // The following event will fire while CheapBleed is loaded: // player_bleed // - Fires when a player bleeds // event_var(userid) - Userid of the player who bled // event_var(dmg_health) - Amount of health lost from the bleed // event_var(attacker) - Userid of the player who caused the bleeding // This event also provides event_var(es_steamid), event_var(es_username), and all the other event_vars that accompany // event_var(userid). More information can be found here: http://www.eventscripts.com/pages/Extended_event_variables[/syntax] Please see the forum link below if you have questions or comments.

Installation

Install with:[syntax="es"]es_install cheapbleed[/syntax]Load once for [b]cheapbleed.cfg[/b] to appear:[syntax="es"]es_load cheapbleed[/syntax]Configure your options in [b]cheapbleed.cfg[/b] and then reload the addon.

Version Notes For 7

Updated on: 2008-09-14 21:19:48 EST by SuperDave (View Zip Contents)
- Updated to use cfglib - Updated to allow custom bleed sounds

( Previous Versions )