02-29-2008, 11:09 PM
For what it's worth, these are the built-in weapon names/death reasons on dp2 which should help with assigning icons. (Fetched from a loop calling GetWeaponNameFromID.) When I was testing death messages, hits from both types of rocketlaunchers resulted in death reason 19; also keep in mind that sometimes the "attacker" is actually a vehicle rather than a player so you have to watch for that.
(0):(Melee)
(1):(Brassknuckle)
(2):(Golfclub)
(3):(Nightstick)
(4):(Knife)
(5):(Bat)
(6):(Shovel)
(7):(Poolstick)
(8 ):(Katana)
(9):(Chainsaw)
(10):(Dildo)
(11):(Dildo)
(12):(Vibrator)
(13):(Vibrator)
(14):(Flower)
(15):(Cane)
(16):(Grenade)
(17):(Teargas)
(18):(Molotov)
(19):(Rocket)
(20):(Rocket)
(21):(Freefall Bomb)
(22):(Colt 45)
(23):(Silenced)
(24):(Deagle)
(25):(Shotgun)
(26):(Sawed-off)
(27):(Combat Shotgun)
(28):(Uzi)
(29):(MP5)
(30):(AK-47)
(31):(M4)
(32):(Tec-9)
(33):(Rifle)
(34):(Sniper)
(35):(Rocket Launcher)
(36):(Rocket Launcher HS)
(37):(Fire)
(38):(Minigun)
(39):(Satchel)
(40):(Bomb)
(41):(Spraycan)
(42):(Fire Extinguisher)
(43):(Camera)
(44):(Nightvision)
(45):(Infrared)
(46):(Parachute)
(47):(Last Weapon)
(48):(Armour)
(49):(Rammed)
(50):(Ranover)
(51):(Explosion)
(52):(Driveby)
(53):(Drowned)
(54):(Fall)
(55):(Unknown)
(56):(Melee)
(57):(Weapon)
(58):(Flare)
(59):(Tank Grenade)
(0):(Melee)
(1):(Brassknuckle)
(2):(Golfclub)
(3):(Nightstick)
(4):(Knife)
(5):(Bat)
(6):(Shovel)
(7):(Poolstick)
(8 ):(Katana)
(9):(Chainsaw)
(10):(Dildo)
(11):(Dildo)
(12):(Vibrator)
(13):(Vibrator)
(14):(Flower)
(15):(Cane)
(16):(Grenade)
(17):(Teargas)
(18):(Molotov)
(19):(Rocket)
(20):(Rocket)
(21):(Freefall Bomb)
(22):(Colt 45)
(23):(Silenced)
(24):(Deagle)
(25):(Shotgun)
(26):(Sawed-off)
(27):(Combat Shotgun)
(28):(Uzi)
(29):(MP5)
(30):(AK-47)
(31):(M4)
(32):(Tec-9)
(33):(Rifle)
(34):(Sniper)
(35):(Rocket Launcher)
(36):(Rocket Launcher HS)
(37):(Fire)
(38):(Minigun)
(39):(Satchel)
(40):(Bomb)
(41):(Spraycan)
(42):(Fire Extinguisher)
(43):(Camera)
(44):(Nightvision)
(45):(Infrared)
(46):(Parachute)
(47):(Last Weapon)
(48):(Armour)
(49):(Rammed)
(50):(Ranover)
(51):(Explosion)
(52):(Driveby)
(53):(Drowned)
(54):(Fall)
(55):(Unknown)
(56):(Melee)
(57):(Weapon)
(58):(Flare)
(59):(Tank Grenade)