Description
[b]This addon requires [url=http://www.eventscripts.com/pages/Es_fire]es_fire[/url] to run: [url]http://forums.eventscripts.com/viewtopic.php?f=27&t=42620[/url]
Please run this if you are experiencing crashes: [url]http://forums.eventscripts.com/viewtopic.php?f=95&t=41981[/url][/b]
Randomly makes players explode when they die. Requires only ES 2.1+
Options:[syntax="es"]// ExplosiveDeaths release 3 options
// ./addons/eventscripts/explosivedeaths/explosivedeaths.cfg
// http://addons.eventscripts.com/addons/view/explosivedeaths
// Load this addon with: es_load explosivedeaths
// ***** Sound option *****
explosivedeaths_soundpercent 15
// Percent of map that can hear a player explode--set to 0 for no sound [default 15]
// ***** Explosion trigger options *****
// To configure when a player death triggers an explosion, use the following commands:
// explosivedeaths_add -weapon- -percent chance of explosion- -magnitude- -radius-
// explosivedeaths_remove -weapon-
// For reference, the magnitude of the HE grenade is 100 and the radius is 350.
// See below for a list of acceptable weapon names.
// The following options are an example. Please alter them as desired.
explosivedeaths_add #all 25 400 500
// Makes all deaths trigger an explosive death that explode 25% of the time with a magnitude of 400 and a radius of 500
explosivedeaths_add #pistol 35 400 500
// Makes pistol deaths trigger an explosive death which explodes 35% of the time with a magnitude of 400 and a radius of 500
explosivedeaths_add #pistol_headshot 75 400 500
// Makes pistol headshot deaths trigger an explosive death which explodes 75% of the time with a magnitude of 400 and a radius of 500
explosivedeaths_add #sniper_headshot 100 400 600
// Makes sniper headshot deaths trigger an explosive death which explodes 100% of the time with a magnitude of 400 and a radius of 600
explosivedeaths_add team_suicide 100 200 1000
// Makes suicide deaths an explosive death which explodes 100% of the time with a magnitude of 200 and a radius of 1000
explosivedeaths_remove #shotgun
// Makes shotgun deaths not explosive
explosivedeaths_remove knife
// Makes knife deaths not explosive
explosivedeaths_remove team
// Makes team deaths not explosive
// ***** Acceptable weapon names *****
// Below are the weapon names acceptable as explosion triggers along with their more common in-game names.
// This is just a reference--these are not options.
// The following weapon types are acceptable and allow headshots (some overlap):
// #all
// #primary
// #rifle
// #shotgun
// #smg
// #sniper
// #secondary
// #pistol
// Headshots can be speficied for the following weapons:
// deagle - Night Hawk .50C
// ak47 - CV-47
// scout - Schmidt Scout
// aug - Bullpup
// g3sg1 - D3/AU1
// galil - IDF Defender
// famas - Clarion 5.56
// m4a1 - Maverick M4A1 Carbine
// sg552 - Krieg 552
// sg550 - Krieg 550 Commando
// m249 - M249
// awp - Magnum Sniper Rifle
// tmp - Schmidt Machine Pistol
// mp5navy - KM Sub-Machine Gun
// glock - 9x19mm Sidearm
// elite - .40 Dual Elites
// m3 - Leone 12 Gauge Super
// xm1014 - Leone YG1265 Auto Shotgun
// usp - KM .45 Tactical
// mac10 - Ingram MAC-10
// ump45 - KM UMP45
// p228 - 228 Compact
// fiveseven - ES Five-Seven
// p90 - ES C90
// The following weapons do not support headshots:
// hegrenade - HE Grenade
// knife - Knife
// team - Team
// team_suicide - Suicide
// other - Kill that isn't listed (includes kills from ExplosiveDeaths explosions)[/syntax]
Please see the forum link below if you have questions or comments.