Art of War Central
View in iTunes
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
The next MODSonair show will air LIVE on:
03/14/2010 12:03 EST

Time remaining:
We Dontated to PixelEquity
"A total overhaul mod changes or redefines the gameplay style of the original game, while keeping it in the original game's universe or plot." 3
 
Site News   |   Aggregated News   |   Forums   |   Tutorials   |   Downloads   |   Projects   |   Weblinks
Latest Forum Threads 
CoD4 Scripting.. Posts: (7) Views: (57) by Cnopicilin
CoD4 General.. Posts: (20) Views: (120) by Cnopicilin
CoD4 MP Mapping.. Posts: (2) Views: (12) by vT-Ownage
News Around the .. Posts: (5) Views: (46) by vT-Ownage
CoD4 MP Mapping.. Posts: (2) Views: (48) by Vistrum
L4D2 Mapping.. Posts: (14) Views: (180) by Vistrum
CoD4 MP Mapping.. Posts: (7) Views: (96) by Vistrum
CoD4 MP Mapping.. Posts: (1) Views: (6) by Pokeloca
CoD4 MP Mapping.. Posts: (4) Views: (34) by {UST}Hogan
CoD2 Scripting.. Posts: (6) Views: (154) by inanbayram
Back to Home Page
MODSCON 2010 L4D2 Contest
Dr. Nano Free for the iPhone and iPod Touch
Register/Login to Add a Tutorial
Tutorials
CoD4 Mapping
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
Creating level effects
Versions: You must be logged in to view history.
Ok, so now you want to add some fire? smoke? maybe other effect? Thanks Marshall2006.

Creating a burning barrel with smoke ~ contained bonfire



--

Mapping

Open your map. (assuming it currently works, tried and tested)

Right click on the grid, select Misc > Model..

..Locate the CoD4Root > raw > xmodel > folder.

Select the model called com_barrel_fire.

Place the Barrel where you want it.. obviously.

Right click on the grid, select Light,

Press key N..

..Add the following keys and values:

 

 

Code:

 

 

Close that window, but with the Light selected, press key K

This should open the color selection box, select a yellow / orange color.

Place the Light directly over the barrel, but 16 units above the barrel.

Why 16 units above?

So that the flame simulates white light, not to mention preventing shadows.

Save.

--

Pre-Script

With the map open, press key 1. (to select grid size 1)

Select the light, switch your grid panel, to X and Y. (birdseye view)

Put your cursor in the middle of the light..

.. take note of the X and Y co-ordinates.

Then switch to the Z view panel. (side view)

Once again place your cursor in the centre of the light..

.. take note of the Z co-ordinates.

This is shown below all:

 

 

 

--

.GSC Files Creation

If you don't allready have a .GSC file, now's the time.

Create a text file on your Desktop, and open it up.

Copy and Paste the following:


Code:

Take a look at this extract from the .GSC file:


Code:

Now insert your noted co-ordinates into the following lines:


Code:

Code:

NOTE:

Enter the co-ordinates into those lines, in this order: (from left to right)

X, Y, Z

Make sure that you deduct 8 units from the noted co-ordinates

for the fire effect~

Make sure that you deduct 12 units from the noted co-ordinates

for the smoke effect~

--

Once that is finished, save as the text file as mp_testmap.gsc.

(or whatever your map is called)

Move that new .GSC file into the following folder:


Code:

Remember to repack your FastFiles once changing the .GSC files.

Also remember to recompile Reflections, when adding new effects.



NOTE:

If you want to find more effects, not only fire and smoke..

..then explore the fx folder, located below
 
Code: