Fire!!
Posted: 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.
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.
I put my mp_mapname_fx.gsc in my Call of Duty 4 Root > raw > maps > mp > folder is this ok?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);
}