{
	"name" : "Antomis Offence #1",
	"description" : "With the mercenary threat seen off and Tzac's initial attacks thwarted, it's time to begin pushing back against Christabel's forces. We plan to capture a number of their commanders, to help build a better picture of the forces at Mace, before moving into the system. As always, mag the targets and do not allow them to be killed.",
	"background" : "gfx/backgrounds/background02.jpg",
	"planet" : "gfx/planets/bluePlanet.png",
	"music" : "music/battle/Vehicle - OGA - Col Legno.ogg",
	"requires" : 44,
	"manualComplete" : 1,
	"objectives" : [
		{
			"description" : "Capture squadron commander",
			"targetName" : "Tzac Commander",
			"targetValue" : 2,
			"targetType" : "TT_DISABLE"
		},
		{
			"description" : "Do not kill squadron commander",
			"targetName" : "Tzac Commander",
			"targetValue" : 1,
			"targetType" : "TT_DESTROY",
			"isCondition" : 1
		},
		{
			"description" : "Eliminate Tzac fighters",
			"targetName" : "Rebels-1",
			"targetValue" : 8,
			"targetType" : "TT_DESTROY"
		},
		{
			"description" : "Protect Tzac Commanders",
			"targetName" : "Mercs",
			"targetValue" : 24,
			"targetType" : "TT_DESTROY",
			"hideNumbers" : 1,
			"active" : 0
		}
	],
	"player" : {
		"type" : "Ray",
		"side" : "SIDE_ALLIES",
		"pilot" : "2nd Lt. Jim Goddard",
		"squadron" : "Midnight Runners",
		"x" : 45,
		"y" : 25
	},
	"fighters" : [
		{
			"name" : "Wing Commander",
			"types" : "Leopard",
			"side" : "SIDE_ALLIES",
			"x" : 45,
			"y" : 25,
			"number" : 1,
			"scatter" : 500,
			"flags" : "+EF_AI_LEADER",
			"aiFlags" : "+AIF_UNLIMITED_RANGE"
		},
		{
			"types" : "Rook;Kingfisher;Nymph;Firefly",
			"side" : "SIDE_ALLIES",
			"x" : 45,
			"y" : 25,
			"number" : 8,
			"scatter" : 900,
			"aiFlags" : "+AIF_MOVES_TO_LEADER"
		},
		{
			"name" : "Tzac Commander",
			"types" : "SK-31",
			"side" : "SIDE_TZAC",
			"x" : 35,
			"y" : 25,
			"scatter" : 1000,
			"flags" : "+EF_AI_LEADER+EF_MUST_DISABLE+EF_MISSION_TARGET+EF_AI_TARGET",
			"aiFlags" : "+AIF_WANDERS"
		},
		{
			"name" : "Tzac Commander",
			"types" : "SK-34",
			"side" : "SIDE_TZAC",
			"x" : 35,
			"y" : 25,
			"scatter" : 1000,
			"flags" : "+EF_MUST_DISABLE+EF_MISSION_TARGET+EF_AI_TARGET",
			"aiFlags" : "+AIF_MOVES_TO_LEADER"
		},
		{
			"groupName" : "Rebels-1",
			"types" : "Shale;Razor",
			"side" : "SIDE_TZAC",
			"x" : 35,
			"y" : 25,
			"number" : 8,
			"scatter" : 1000,
			"aiFlags" : "+AIF_MOVES_TO_LEADER"
		},
		{
			"groupName" : "Mercs",
			"types" : "Dart;Rocket Dart",
			"side" : "SIDE_MERC",
			"x" : 15,
			"y" : -1,
			"number" : 8,
			"scatter" : 1000,
			"aiFlags" : "+AIF_UNLIMITED_RANGE+AIF_ASSASSIN",
			"active" : 0
		},
		{
			"groupName" : "Mercs",
			"types" : "Dart;Rocket Dart",
			"side" : "SIDE_MERC",
			"x" : 25,
			"y" : -1,
			"number" : 8,
			"scatter" : 1000,
			"aiFlags" : "+AIF_TARGET_FOCUS+AIF_UNLIMITED_RANGE+AIF_ASSASSIN",
			"active" : 0
		},
		{
			"groupName" : "Mercs",
			"types" : "Dart;Rocket Dart",
			"side" : "SIDE_MERC",
			"x" : 35,
			"y" : -1,
			"number" : 8,
			"scatter" : 1000,
			"aiFlags" : "+AIF_UNLIMITED_RANGE+AIF_ASSASSIN",
			"active" : 0
		}
	],
	"script" : [
		{
			"function" : "TIME 1",
			"lines" : [
				"MSG_BOX Wing Commander;Tzac fighters spotted, both commanders are here. Goddard, disable those fighters as soon as you can."
			]
		},
		{
			"function" : "Capture squadron commander",
			"lines" : [
				"MSG_BOX Goddard;Squadron commanders disabled."
			]
		},
		{
			"function" : "OBJECTIVES_COMPLETE 2",
			"lines" : [
				"WAIT 1",
				"MSG_BOX Wing Commander;Great work, everyone. We just need to wait for the tugs to arrive and bring these guys in.",
				"WAIT_MSG_BOX",
				"WAIT 5",
				"MSG_BOX Goddard;Commander, I'm reading incoming fighter signature: Darts.",
				"MSG_BOX Wing Commander;I'll bet my house those are mercenaries, and given that the relationship with Tzac didn't end amicably they're probably targetting the commanders. We can't afford to lose them.",
				"WAIT_MSG_BOX",
				"ACTIVATE_ENTITY_GROUPS Mercs",
				"ACTIVATE_OBJECTIVES Protect Tzac Commanders"
			]
		},
		{
			"function" : "ALL_OBJECTIVES_COMPLETE",
			"lines" : [
				"WAIT 1",
				"MSG_BOX Goddard;All Darts have been dispatched, Commander.",
				"MSG_BOX Wing Commander;Good. Not often we end up having to protect the enemy from another.",
				"MSG_BOX Wing Commander;Tugs are on the way. Should be here in the next few minutes",
				"WAIT_MSG_BOX",
				"COMPLETE_MISSION"
			]
		}
	]
}
