

main()
	{

	maps\mp\mp_Argentan_France_fx::main(); 	
	
	maps\mp\_load::main();

	maps\mp\_feuilles::main();
	
	maps\mp\mp_Argentan_bell1::main();
	maps\mp\mp_Argentan_bell2::main();
	maps\mp\mp_Argentan_bell3::main();
	maps\mp\mp_Argentan_firetank::main();
	maps\mp\mp_Argentan_metaltank::main();
	maps\mp\mp_Argentan_radio::main();
	maps\mp\mp_Argentan_piano::main();
	maps\mp\mp_Argentan_alarm::main();
	
	if(level.wwx_ambmapfog) setExpFog(0.00015, .58, .57, .57, 0);

	maps\mp\mp_Argentan_France_drown::main();
	
	if(level.wwx_ambmapsound) ambientPlay("ambient_mp_Argentan_France");
	
	game["allies"] = "american";
	game["axis"] = "german";
	game["attackers"] = "allies";
	game["defenders"] = "axis";
	game["american_soldiertype"] = "normandy";
	game["german_soldiertype"] = "normandy";

	setcvar("r_glowbloomintensity0",".25");
	setcvar("r_glowbloomintensity1",".25");
	setcvar("r_glowskybleedintensity0",".3");

	
	if(level.wwx_radiobased)
	{
		level.radio = [];
		level.radio[0] = spawn("script_model", (1856, 248, 296));
		level.radio[0].angles = (0, 106.39, 0);

		level.radio[1] = spawn("script_model", (3784, 16, 80));
		level.radio[1].angles = (0, 0.456171, 0);

		level.radio[2] = spawn("script_model", (2696, 504, 40));
		level.radio[2].angles = (0, 109.043, 0);

		level.radio[3] = spawn("script_model", (2392, -32, 56));
		level.radio[3].angles = (0, 185.043, 7.23174);

		level.radio[4] = spawn("script_model", (4920, 720, 64));
		level.radio[4].angles = (0, 5.043, 0);

		level.radio[5] = spawn("script_model", (6848, 1600, 0));
		level.radio[5].angles = (357.526, 275.319, 3.96995);

		level.radio[6] = spawn("script_model", (2784, -1176, 16));
		level.radio[6].angles = (0.669369, 256.05, 2.69276);

		level.radio[7] = spawn("script_model", (2120, -2160, 72));
		level.radio[7].angles = (0.46843, 275.043, 1.88415);

		level.radio[8] = spawn("script_model", (1932, -4126, 13));
		level.radio[8].angles = (2.80349, 288.983, 1.82355);

		level.radio[9] = spawn("script_model", (3793, -2859, -48));
		level.radio[9].angles = (0, 58.358, 0);

		level.radio[10] = spawn("script_model", (5498, -3241, 76));
		level.radio[10].angles = (356.541, 275.483, -4.95457);

		level.radio[11] = spawn("script_model", (4031, -3670, 70));
		level.radio[11].angles = (352.833, 185.058, 1.6828);

		level.radio[12] = spawn("script_model", (5220, -1558, 16));
		level.radio[12].angles = (356.64, 196.34, -12.3407);

		level.radio[13] = spawn("script_model", (5685, -2310, -46));
		level.radio[13].angles = (0.526773, 109.004, 3.96236);
	}


	






//level.rasta_cod2_rain = loadfx ("fx/misc/rain_light.efx");


//thread rasta_cod2_rain();
}

/*rasta_cod2_rain()
{
zufall = RandomInt(100);

while(1)
{
players = getentarray("player", "classname");

if(players.size > 0)
{
max_nodes = 20;
max_nodes_per_player = max_nodes/players.size;


{
for(i = 0; i < players.size; i++)
{
player = players[i];

if(isAlive(player))
{
x= 350-randomfloat(700);
y= 350-randomfloat(700);

pos = player.origin +(x,y,450) ;
trace = bulletTrace(pos,pos +(0,0,-250), true, undefined);

if(trace["fraction"] != 1) playfx(level.rasta_cod2_rain,trace["position"]);
wait 0.05;
}
}
}
}

wait 0.05;
}
}*/
