main()
{
	precacheFX();
	ambientFX();
	level.scr_sound["flak88_explode"]		= "flak88_explode";
}

precacheFX()
{
	level._effect["flak_explosion"]			= loadfx("fx/explosions/flak88_explosion.efx");

	//ambient FX
	if(level.wwx_ambsmokefx) level._effect["thin_light_smoke_M"]		= loadfx("fx/smoke/thin_light_smoke_M.efx");

}

ambientFX()
{
      if(level.wwx_ambsmokefx)
      {
	maps\mp\_fx::loopfx("thin_light_smoke_M", (-4089,969,107), 0.6, (-4089,969,197));
	maps\mp\_fx::loopfx("thin_light_smoke_M", (-5413,1113,97), 0.6, (-4089,969,187));
	maps\mp\_fx::loopfx("thin_light_smoke_M", (-2492,1649,118), 0.6, (-2492,1649,208));
	maps\mp\_fx::loopfx("thin_light_smoke_M", (-2598,946,137), 0.6, (-4089,969,227));
      }
}
