main()
{
maps\mp\_load::main();
maps\mp\dawnstuka::main();
maps\mp\dawnbomber::main();
maps\mp\mtl_dawnville_fx::main();
maps\mp\dawncannon::main();

if(level.wwx_ambmapfog) setExpFog(0.0001, 0.55, 0.6, 0.55, 0);
if(level.wwx_ambmapsound) ambientPlay("ambient_rakedawn");

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");

thread mtldawntank1();
thread mtldawnht1();
thread mtldawnht2();
thread kelly();
													
}

//tanks

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


//halftracks

mtldawnht1() {
source = getentarray ("dawnht1", "targetname");
if (isdefined(source))
for (i = 0 ; i < source.size ; i++)
{
wait(.1);
source[i] playloopsound("htfire1a");
}
}
mtldawnht2() {
source = getentarray ("dawnht2", "targetname");
if (isdefined(source))
for (i = 0 ; i < source.size ; i++)
{
wait(.1);
source[i] playloopsound("htfire2a");
}													
}

//kellyherossong

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