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

}

precacheFX()

{
	level._effect["flak_explosion"]		= loadfx("fx/explosions/flak88_explosion.efx");
	//level._effect["splash"] 	        = loadfx ("fx/rakemtlcem/watermove100.efx");
	level._effect["tankburn"] 	        = loadfx ("fx/fire/tank_fire_engine.efx");

}


ambientFX()

{

//watermoving

//level._effect["splash"] = loadfx ("fx/rakemtlcem/watermove100.efx");
//maps\mp\_fx::loopfx("splash", (1312,-2472,-256), 0.6);

//level._effect["splash"] = loadfx ("fx/rakemtlcem/watermove100.efx");
//maps\mp\_fx::loopfx("splash", (2920,-3784,-256), 0.6);

//level._effect["splash"] = loadfx ("fx/rakemtlcem/watermove100.efx");
//maps\mp\_fx::loopfx("splash", (2760,-3144,-256), 0.6);

//level._effect["splash"] = loadfx ("fx/rakemtlcem/watermove100.efx");
//maps\mp\_fx::loopfx("splash", (2208,-2704,-256), 0.6);

//level._effect["splash"] = loadfx ("fx/rakemtlcem/watermove100.efx");
//maps\mp\_fx::loopfx("splash", (96,-1744,-256), 0.6);

//level._effect["splash"] = loadfx ("fx/rakemtlcem/watermove100.efx");
//maps\mp\_fx::loopfx("splash", (-616,-1888,-256), 0.6);	

//level._effect["splash"] = loadfx ("fx/rakemtlcem/watermove100.efx");
//maps\mp\_fx::loopfx("splash", (1864,-1608,-256), 0.6);	

//tankfire

	if(level.ambfirefx){

		level._effect["tankburn"] = loadfx ("fx/fire/tank_fire_engine.efx");
		maps\mp\_fx::loopfx("tankburn", (1264,-5492,-110), 0.6);
		
		level._effect["tankburn"] = loadfx ("fx/fire/tank_fire_engine.efx");
		maps\mp\_fx::loopfx("tankburn", (-408,-4216,-112), 0.6);	
		
		level._effect["tankburn"] = loadfx ("fx/fire/tank_fire_engine.efx");
		maps\mp\_fx::loopfx("tankburn", (-112,-2200,-128), 0.6);	
		
		level._effect["tankburn"] = loadfx ("fx/fire/tank_fire_engine.efx");
		maps\mp\_fx::loopfx("tankburn", (2344,-2480,-160), 0.6);		
	}

}


