Code:
// #####################################################################
// ## Change which weapons cause GIB explosions on death HERE ##
// #####################################################################
public gib_wpncheck(iWeapon) {
switch (iWeapon) {
case CSW_P228 : return false
case CSW_SCOUT : return false
case CSW_HEGRENADE : return true
case CSW_XM1014 : return false
case CSW_MAC10 : return false
case CSW_AUG : return false
case CSW_SMOKEGRENADE : return true
case CSW_ELITE : return false
case CSW_FIVESEVEN : return false
case CSW_UMP45 : return false
case CSW_SG550 : return false
case CSW_GALI : return false
case CSW_FAMAS : return false
case CSW_USP : return false
case CSW_GLOCK18 : return false
case CSW_AWP : return false
case CSW_MP5NAVY : return false
case CSW_M249 : return false
case CSW_M3 : return false
case CSW_M4A1 : return false
case CSW_TMP : return false
case CSW_G3SG1 : return false
case CSW_FLASHBANG : return true
case CSW_DEAGLE : return false
case CSW_SG552 : return false
case CSW_AK47 : return false
case CSW_P90 : return false
}
return false
}
Here we have the weapon ids and if they cause gib explosion or not . . .
I would like to know what the weapon Ids are for
The Specialists Mod or where I could find a list of them so that I could change them. Also I would like to know where the damage is defined to 250 so that I could lower it to 100.
Quote:
1.1 changes ( by |2ob ) :
*ported to AMX Mod X
*gib explosion happens after a damage higher than 250
|
You can find the plugin and .sma files here:
http://forums.alliedmods.net/showthr...p?t=2039+blood
Thanks, and if this is too vague then please say so.
~David
__________________