Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 89 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Tutorials

»
CoD4 Mapping
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
Exploding Barrels
Versions: You must be logged in to view history.
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

4)Rebuild your map and test it out.

Written By: Hellrazor

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»