Hellrazor will show you how to make exploding barrels in Call of Duty 4.
1) I used this barrel: prefabs/interactable_objects/prop_barrel_benzin.map
I checked a couple of the prefab barrels in this folder and all seem to have the necessary properties set.
"targetname" is already set for this to work. If you go into the prefab you'll see a targetname of "explodable_barrel". You don't need to touch this though.
2) put this line into your maps\mp\.gsc file: maps\mp\_explosive_barrels::main();
This is the script that makes the barrel explode.
3) Update Zone File: add these files to the right column and save. rawfile,maps/mp/_explosive_barrels.gsc xmodel,com_barrel_piece xmodel,com_barrel_piece2 fx,props/barrel_ignite fx,props/barrel_fire_top