Barrels + Fire Help please.

Have questions about CoD4 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
steveuk
CJ G0D!
CJ G0D!
Posts: 1330
Joined: November 21st, 2006, 12:51 pm

Barrels + Fire Help please.

Post by steveuk » April 27th, 2011, 4:54 pm

Im having troble getting fire to work on my map for COD4


Im trying to get it to work like this.


Image

i have this listed.

Caven2 .CSV file
ignore,code_post_gfx_mp
ignore,common_mp
col_map_mp,maps/mp/mp_caven2.d3dbsp
rawfile,maps/mp/mp_caven2.gsc
impactfx,mp_caven2
sound,common,mp_caven2,!all_mp
sound,generic,mp_caven2,!all_mp
sound,voiceovers,mp_caven2,!all_mp
sound,multiplayer,mp_caven2,!all_mp
include,mptypes_woodland
fx,fire/firelp_barrel_pm

caven2.gsc File
main()


{
precacheFX();
ambientFX();
}



precacheFX()

{

level._effect["ogenj"] = loadfx ("fire/firelp_barrel_pm.efx");

level._effect["dim"] = loadfx ("smoke/signal_smoke_green.efx");
}

ambientFX()

{

//ogenj
maps\mp\_fx::loopfx("ogenj", (-643, -200, 54), 3);

//dim

maps\mp\_fx::loopfx("dim", (-864, -305, 54), 3);

}

game runs ok, but i still have no fire.

Both files are in the C:\Program Files\Activision\Call of Duty 4 - Modern Warfare\raw\mp folders is this correct?

HELP PLEASE, i di have this working over a year ago, but forgotten how to do it now, so help please required.

steveuk
CJ G0D!
CJ G0D!
Posts: 1330
Joined: November 21st, 2006, 12:51 pm

Re: Barrels + Fire Help please.

Post by steveuk » April 27th, 2011, 5:10 pm

ive also just tried this with no luck of it working.
      main() {  
      level._effect["fire"] = loadfx ("fire/firelp_barrel_pm");      
     maps\mp\_fx::loopfx("fire", (-864, -305, 58), 3);        
    level._effect["smoke"] = loadfx ("smoke/steam_large_vent");    
       maps\mp\_fx::loopfx("smoke", (-864, -305, 54), 3);

steveuk
CJ G0D!
CJ G0D!
Posts: 1330
Joined: November 21st, 2006, 12:51 pm

Re: Barrels + Fire Help please. (SOLVED DONE:)

Post by steveuk » April 29th, 2011, 2:52 pm

Ok an update, got it working now, here what i used.

Open ya GSC file or make one with Notepad and add the following
main()
{
maps\mp\_load::main();

ambientPlay("ambient_backlot_ext");

game["allies"] = "sas";
game["axis"] = "opfor";
game["attackers"] = "axis";
game["defenders"] = "allies";
game["allies_soldiertype"] = "woodland";
game["axis_soldiertype"] = "woodland";

setdvar( "r_specularcolorscale", "1" );

setdvar("r_glowbloomintensity0",".25");
setdvar("r_glowbloomintensity1",".25");
setdvar("r_glowskybleedintensity0",".3");
setdvar("compassmaxrange","1800");

}
CSV File
ignore code_post_gfx_mp
ignore common_mp
ignore localized_code_post_gfx_mp
ignore localized_common_mp
col_map_mp maps/mp/mp_caven2.d3dbsp
rawfile maps/mp/mp_caven2.gsc
impactfx mp_caven2
sound common mp_caven2 !all_mp
sound generic mp_caven2 !all_mp
sound voiceovers mp_caven2 !all_mp
sound multiplayer mp_caven2 !all_mp
xmodel body_mp_usmc_specops
xmodel head_mp_usmc_tactical_mich_stripes_nomex
xmodel body_mp_usmc_sniper
xmodel head_mp_usmc_tactical_baseball_cap
xmodel body_mp_usmc_recon
xmodel head_mp_usmc_nomex
xmodel body_mp_usmc_assault
xmodel head_mp_usmc_tactical_mich
xmodel body_mp_usmc_support
xmodel head_mp_usmc_shaved_head
xmodel body_mp_arab_regular_cqb
xmodel head_mp_arab_regular_headwrap
xmodel viewhands_desert_opfor
xmodel body_mp_arab_regular_sniper
xmodel head_mp_arab_regular_sadiq
xmodel body_mp_arab_regular_engineer
xmodel head_mp_arab_regular_ski_mask
xmodel body_mp_arab_regular_assault
xmodel head_mp_arab_regular_suren
xmodel body_mp_arab_regular_support
xmodel head_mp_arab_regular_asad
fx fire/firelp_barrel_pm
REMEBER IN THE CSV FILE YOU WILL NEED TO CHANGE THE MAP NAMES T YOUR OWN MAP NAME
Here my

In your radiant open map, and select the N key and add the Values
Key: targetname
Value: barrel_fireFX_origin
In the Radiant Filezone update add the following
fx,fire/firelp_barrel_pm

Then compile your BSP and Refelection, and the update your Fast file Files, It should then work

Image

Im trying to find a differant type of FIRE, larger size and not small ones like as shown in picture.

steveuk
CJ G0D!
CJ G0D!
Posts: 1330
Joined: November 21st, 2006, 12:51 pm

Re: Barrels + Fire Help please.

Post by steveuk » April 29th, 2011, 3:22 pm

Anyone tell me how i use these kinda files, i belive they are models

firelp_large_pm.efx


Pressing right click on mouse on GRID, then selecting from menu , Script/Model then select FX/Fire/ firelp_large_pm.efx
Not sure how to use this and where to put it in either of my GCS.CSV/ ect. Help required here please

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests