main()
{
maps\mp\_load::main();
//maps\mp\citybombs::main();
maps\mp\mtl_bremen_fx::main();
//maps\mp\citycannon::main();
//maps\mp\brentank::main();


level._effect["snow_light"]	= loadfx ("fx/misc/snow_light_mp_railyard.efx");

if(level.wwx_ambmapfog) setExpFog(0.0001, 0.55, 0.6, 0.55, 0);
if(level.wwx_ambmapfog) setCullFog (0, 6500, .68, .68, .68, 0);
if(level.wwx_ambmapsound) ambientPlay("ambient_rakecity");

//low display setting, deletes some background and details in the map for faster FPS option	
	if(getcvar("v2_display") == "low"){
		optional = getentarray("setting", "targetname");
		for(p=0;p<optional.size;p++){
			optional[p] delete();
		}
	}
	else{
		maps\mp\_fx::loopfx("snow_light", (120,-512,355), 0.6, (120,-512,455));
	}
	

game["allies"] = "american";
game["axis"] = "german";
game["attackers"] = "allies";
game["defenders"] = "axis";
game["american_soldiertype"] = "normandy";
game["german_soldiertype"] = "winterlight";


setCvar("r_glowbloomintensity0", "1");
setCvar("r_glowbloomintensity1", "1");
setcvar("r_glowskybleedintensity0",".5");

if(level.wwx_ambsoundfx) thread mtlcitytank1();
if(level.wwx_ambsoundfx) thread serenity1();
													
}

//tanks

mtlcitytank1() {
source = getentarray ("citytank1", "targetname");
if (isdefined(source))
for (i = 0 ; i < source.size ; i++)
{
wait(.1);
source[i] playloopsound("citytank1a");
}
}

//serenitysong

serenity1() {
source = getentarray ("bremsong1", "targetname");
if (isdefined(source))
for (i = 0 ; i < source.size ; i++)
{
wait(.1);
source[i] playloopsound("rakebrem");
}						
}						