levelDesc = "33"
maxPlayers = 2

player = {}

player[0] = 
{
  id = 0,
  name = "",
  resources = 0,
  raceID = 1,
  startPos = 0,
}

player[1] = 
{
  id = 1,
  name = "StartPos1",
  resources = 0,
  raceID = 2,
  startPos = 1,
}


function DetermChunk()
--Human
	addSquadron("hur_colonialone", "hur_colonialone", {0, 500, 0}, 0, {0, 0, 0}, 0, 0)
	addSquadron("hur_galactica", "hur_galactica", {0, 0, 0}, 0, {0, 0, 0}, 0, 0)
	addSquadron("hur_containership", "hur_containership", {500, 0, 0}, 0, {0, 0, 0}, 0, 0)
	addSquadron("hur_vipermkii", "hur_vipermkii", {500, 0, -500}, 0, {0, 0, 0}, 0, 0)
	addSquadron("hur_vipermkii", "hur_vipermkii", {900, 0, -500}, 0, {0, 0, 0}, 0, 0)
	addSquadron("hur_vipermkii", "hur_vipermkii", {1300, 0, -500}, 0, {0, 0, 0}, 0, 0)
	addSquadron("hur_vipermkii", "hur_vipermkii", {1700, 0, -500}, 0, {0, 0, 0}, 0, 0)
	addSquadron("hur_vipermkii", "hur_vipermkii", {2100, 0, -500}, 0, {0, 0, 0}, 0, 0)
	addSquadron("hur_vipermkxii", "hur_vipermkxii", {500, 0, 500}, 0, {0, 0, 0}, 0, 0)
	addSquadron("hur_vipermkxii", "hur_vipermkxii", {900, 0, 500}, 0, {0, 0, 0}, 0, 0)
	addSquadron("hur_vipermkxii", "hur_vipermkxii", {1300, 0, 500}, 0, {0, 0, 0}, 0, 0)
	addSquadron("hur_vipermkxii", "hur_vipermkxii", {1700, 0, 500}, 0, {0, 0, 0}, 0, 0)
	addSquadron("hur_vipermkxii", "hur_vipermkxii", {2100, 0, 500}, 0, {0, 0, 0}, 0, 0)
	addSquadron("hur_apollo", "hur_apollo", {800, 0, 0}, 0, {0, 0, 0}, 0, 0)
	addSquadron("hur_starbuck", "hur_starbuck", {1600, 0, 0}, 0, {0, 0, 0}, 0, 0)
--Cylon
  addSquadron("cyr_basestar_a", "cyr_basestar", {-15000, 1500, 0}, 1, {0, 0, 0}, 0, 1)
  addSquadron("cyr_raider_a1", "cyr_raider", {-16000, 1500, 0}, 1, {0, 0, 0}, 0, 1)
  addSquadron("cyr_raider_a2", "cyr_raider", {-16000, 1500, 0}, 1, {0, 0, 0}, 0, 1)
  addSquadron("cyr_raider_a3", "cyr_raider", {-16000, 1500, 0}, 1, {0, 0, 0}, 0, 1)
  addSquadron("cyr_raider_a4", "cyr_raider", {-16000, 1500, 0}, 1, {0, 0, 0}, 0, 1)
  addSquadron("cyr_raider_a5", "cyr_raider", {-16000, 1500, 0}, 1, {0, 0, 0}, 0, 1)
  addSquadron("cyr_raider_a6", "cyr_raider", {-16000, 1500, 0}, 1, {0, 0, 0}, 0, 1)
  addSquadron("cyr_raider_a7", "cyr_raider", {-16000, 1500, 0}, 1, {0, 0, 0}, 0, 1)
  addSquadron("cyr_raider_a8", "cyr_raider", {-16000, 1500, 0}, 1, {0, 0, 0}, 0, 1)
  addSquadron("cyr_raider_a9", "cyr_raider", {-16000, 1500, 0}, 1, {0, 0, 0}, 0, 1)
  addSquadron("cyr_raider_a10", "cyr_raider", {-16000, 1500, 0}, 1, {0, 0, 0}, 0, 1)
  addSquadron("cyr_basestar_b", "cyr_basestar", {-15000, 1500, 0}, 1, {0, 0, 0}, 0, 1)
  addSquadron("cyr_raider_b1", "cyr_raider", {-16000, 1500, 0}, 1, {0, 0, 0}, 0, 1)
  addSquadron("cyr_raider_b2", "cyr_raider", {-16000, 1500, 0}, 1, {0, 0, 0}, 0, 1)
  addSquadron("cyr_raider_b3", "cyr_raider", {-16000, 1500, 0}, 1, {0, 0, 0}, 0, 1)
  addSquadron("cyr_raider_b4", "cyr_raider", {-16000, 1500, 0}, 1, {0, 0, 0}, 0, 1)
  addSquadron("cyr_raider_b5", "cyr_raider", {-16000, 1500, 0}, 1, {0, 0, 0}, 0, 1)
  addSquadron("cyr_raider_b6", "cyr_raider", {-16000, 1500, 0}, 1, {0, 0, 0}, 0, 1)
  addSquadron("cyr_raider_b7", "cyr_raider", {-16000, 1500, 0}, 1, {0, 0, 0}, 0, 1)
  addSquadron("cyr_raider_b8", "cyr_raider", {-16000, 1500, 0}, 1, {0, 0, 0}, 0, 1)
  addSquadron("cyr_raider_b9", "cyr_raider", {-16000, 1500, 0}, 1, {0, 0, 0}, 0, 1)
  addSquadron("cyr_raider_b10", "cyr_raider", {-16000, 1500, 0}, 1, {0, 0, 0}, 0, 1)
--cameras
  addCamera("Cam_Init", {-542, 500, -40965}, {3960, 1963, -43268})
--worldbounds
	setWorldBoundsInner({0, 0, 0}, {30000, 30000, 30000})
--SOBGroups
	createSOBGroup("sg_Galactica")
	addToSOBGroup("hur_galactica", "sg_Galactica")
	createSOBGroup("sg_Cylon_1")
	addToSOBGroup("cyr_basestar_a", "sg_Cylon_1")
	addToSOBGroup("cyr_raider_a1", "sg_Cylon_1")
	addToSOBGroup("cyr_raider_a2", "sg_Cylon_1")
	addToSOBGroup("cyr_raider_a3", "sg_Cylon_1")
	addToSOBGroup("cyr_raider_a4", "sg_Cylon_1")
	addToSOBGroup("cyr_raider_a5", "sg_Cylon_1")
	addToSOBGroup("cyr_raider_a6", "sg_Cylon_1")
	addToSOBGroup("cyr_raider_a7", "sg_Cylon_1")
	addToSOBGroup("cyr_raider_a8", "sg_Cylon_1")
	addToSOBGroup("cyr_raider_a9", "sg_Cylon_1")
	addToSOBGroup("cyr_raider_a10", "sg_Cylon_1")
	createSOBGroup("sg_Cylon_2")
	addToSOBGroup("cyr_basestar_b", "sg_Cylon_2")
	addToSOBGroup("cyr_raider_b1", "sg_Cylon_2")
	addToSOBGroup("cyr_raider_b2", "sg_Cylon_2")
	addToSOBGroup("cyr_raider_b3", "sg_Cylon_2")
	addToSOBGroup("cyr_raider_b4", "sg_Cylon_2")
	addToSOBGroup("cyr_raider_b5", "sg_Cylon_2")
	addToSOBGroup("cyr_raider_b6", "sg_Cylon_2")
	addToSOBGroup("cyr_raider_b7", "sg_Cylon_2")
	addToSOBGroup("cyr_raider_b8", "sg_Cylon_2")
	addToSOBGroup("cyr_raider_b9", "sg_Cylon_2")
	addToSOBGroup("cyr_raider_b10", "sg_Cylon_2")
	createSOBGroup("sg_Cylon_Base1")
	addToSOBGroup("cyr_basestar_a", "sg_Cylon_Base1")
	createSOBGroup("sg_Cylon_Base2")
	addToSOBGroup("cyr_basestar_b", "sg_Cylon_Base2")
end

function NonDetermChunk()
  fogSetActive(0)
  setGlareIntensity(0)
  setLevelShadowColour(0,0,0,1)
  loadBackground("m12")
  setSensorsManagerCameraDistances(1000, 100000)
  setDefaultMusic("Data:sound/music/battle/33mission")
end
