07-20-2011, 16:48
Hello
Something I havent seen before anywhere, explodable barrels, such as quarry ones:
Some other info:
Sound: explo_metal_rand
Item: barrel_mp
Health: 150
Max Broken Pieces: 25
FXs:
level.breakables_fx["oilspill"]["burn"] = loadfx ("props/barrel_fire");
level.breakables_fx["oilspill"]["spark"] = loadfx("impacts/small_metalhit_1");
level.breakables_fx["barrel"]["explode"] = loadfx ("props/barrelExp");
level.breakables_fx["barrel"]["burn_start"] = loadfx ("props/barrel_ignite");
level.breakables_fx["barrel"]["burn"] = loadfx ("props/barrel_fire_top");
minDamage: 1
maxDamage: 250
blastRadius: 250
Something I havent seen before anywhere, explodable barrels, such as quarry ones:
Code:
Barrel = spawn( "script_model", position );
Barrel.angles = (0,0,0);
Barrel setModel( "com_barrel_benzin" );
BarrelS = spawn( "script_model", position );
BarrelS CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
BarrelS.angles = (90,0,0);
Barrel thread maps\mp\_explosive_barrels::explodable_barrel_think();
Some other info:
Sound: explo_metal_rand
Item: barrel_mp
Health: 150
Max Broken Pieces: 25
FXs:
level.breakables_fx["oilspill"]["burn"] = loadfx ("props/barrel_fire");
level.breakables_fx["oilspill"]["spark"] = loadfx("impacts/small_metalhit_1");
level.breakables_fx["barrel"]["explode"] = loadfx ("props/barrelExp");
level.breakables_fx["barrel"]["burn_start"] = loadfx ("props/barrel_ignite");
level.breakables_fx["barrel"]["burn"] = loadfx ("props/barrel_fire_top");
minDamage: 1
maxDamage: 250
blastRadius: 250