Page 1 of 1

effects

Posted: April 15th, 2010, 5:02 pm
by Rukariox
Could anyone explain effects like smoke and where i can find the effects

Re: effects

Posted: April 15th, 2010, 6:05 pm
by Oi!mel
Do you mean in Maps? the effects are in raw/fx. Open it with the Effects Editor from mod tools. Save it, and add it with a script.

So for example.
You found a effect. You saved it in /raw/fx/example/effect.efx

Than you add to your zone files:

Code: Select all

fx,example/effect
and now you can use your effect.
The best is to make a mp_map_fx.gsc

Code: Select all

main()
{
	level._effect["example"] = loadfx ("example/effect");
	maps\mp\_fx::loopfx("example", (-512, 0, -210), 9); //Change the coordinats (x, y, z), time

}
Than you add the following line to your map.gsc

Code: Select all

maps\mp\mp_map_fx::main();
The effect is now in your map.