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

precacheFX()
{

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

}


ambientFX()
{
if(level.wwx_ambsmokefx) level._effect["thin_light_smoke_L"] = loadfx ("fx/smoke/thin_light_smoke_L.efx");

if(level.wwx_ambsmokefx) level._effect["fogbank_small_duhoc"] = loadfx ("fx/misc/fogbank_small_duhoc.efx");

if(level.wwx_ambfliesfx) level._effect["insects_carcass_flies"] = loadfx ("fx/misc/insects_carcass_flies.efx");

if(level.wwx_ambfirefx) level._effect["building_fire_distant"] = loadfx ("fx/fire/building_fire_distant.efx");

}
