Description
Distributes part of the damage each player takes to surrounding players. Requires only ES 2.0+
Options:[syntax="es"]// SplashDamage release 3 options
// ./addons/eventscripts/splashdamage/splashdamage.cfg
// http://addons.eventscripts.com/addons/view/splashdamage
// Load this addon with: es_load splashdamage
// ***** Options *****
// To configure when a splash damage is applied, use the following commands:
// splashdamage_add -weapon- -percent transferred- -radius-
// splashdamage_remove -weapon-
// For reference, the radius of the HE grenade is 350.
// See below for a list of acceptable weapon names.
// The following options are an example. Please alter them as desired.
splashdamage_add #all 30 200
// Makes all damage deal transfer 30% as splash damage with a radius of 200
splashdamage_add #shotgun 50 400
// Makes shotgun damage transfer 50% as splash damage with a radius of 400
splashdamage_add #sniper 15 200
// Makes sniper damage transfer 15% as splash damage with a radius of 200
splashdamage_add #all_headshot 65 200
// Makes all headshot damage transfer 65% as splash damage with a radius of 200
splashdamage_remove knife
// Makes knife damage deal no splash damage
splashdamage_remove team
// Makes team damage deal no splash damage
splashdamage_remove team_self
// Makes self-inflicted damage deal no splash damage
splashdamage_remove other
// Makes other damage deal no splash damage
// ***** Acceptable weapon names *****
// Below are the weapon names acceptable as splash damage 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_self - Self-inflicted
// other - Damage that isn't listed[/syntax]
Please see the forum link below if you have questions or comments.