Fire!!

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

Moderator: Core Staff

Post Reply
HeNry
CJ Wannabe
CJ Wannabe
Posts: 29
Joined: January 15th, 2006, 2:04 pm

Fire!!

Post by HeNry » February 18th, 2008, 7:12 pm

Hy guys i was working on this tutorial for fire and smoke;

http://www.modsonline.com/Tutorials-read-448.html

But when i run the map there was a missing Fx in the air and there was no smoke and no fire.
This is my mp_mapname_fx.gsc :

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);

}
I put my mp_mapname_fx.gsc in my Call of Duty 4 Root > raw > maps > mp > folder is this ok?
Image

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

Post by steveuk » February 18th, 2008, 8:05 pm

This is what mine looks like made by Zeroy.


CSV File
======


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


(NOTE CHANGE MP_MAPNAME) if use this on yours

My GSC File:
==========

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");

}


Hope this helps out some what.

Steve

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests