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

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

      if(level.wwx_ambsmokefx)
      {
	level._effect["panzer_smoke"] 		= loadfx ("fx/smoke/thin_black_smoke_S.efx");
	maps\mp\_fx::loopfx("panzer_smoke", (-286, -2979, -60), 0.1);

	level._effect["house_smoke"] 		= loadfx ("fx/smoke/thin_black_smoke_M_duhoc.efx");
	maps\mp\_fx::loopfx("house_smoke", (-544, -120, 152), 0.5);

	level._effect["car_smoke"] 		= loadfx ("fx/smoke/vehicle_steam.efx");
	maps\mp\_fx::loopfx("car_smoke", (214, -1427, -125), 0.5);
      }
      
      if(level.wwx_ambfirefx)
      {
	level._effect["oil_lamp"] 		= loadfx ("fx/props/glow_latern.efx"); 
	maps\mp\_fx::loopfx("oil_lamp", (240, -1296, -284), 0.4);
	maps\mp\_fx::loopfx("oil_lamp", (-49, -3632, -97), 0.4);
      }
}