tbftss/data/missions/clarke/02 - clarke defence #2.json

121 lines
3.0 KiB
JSON

{
"name" : "Clarke Defence #2",
"description" : "We have successfully punched our way through several squadrons of Pandoran fighters, but their capital ships are fast approaching Dublin. Your objective is to take down two of their corvettes: INF Dirk and INF Blackjack. Ensure the Khepri-class bombers can get in close enough to delivery a strike.",
"requires" : 12,
"background" : "gfx/backgrounds/background06.jpg",
"planet" : "gfx/planets/bluePlanet.png",
"music" : "music/battle/heroism.ogg",
"manualComplete" : 1,
"objectives" : [
{
"description" : "Destroy INF Dirk",
"targetName" : "INF Dirk",
"targetValue" : 1,
"targetType" : "TT_DESTROY"
},
{
"description" : "Eliminate escorts",
"targetName" : "Pandoran",
"targetValue" : 4,
"targetType" : "TT_DESTROY"
},
{
"description" : "Eliminate reinforcements",
"targetName" : "Reinforcements",
"targetValue" : 4,
"targetType" : "TT_DESTROY",
"active": 0
}
],
"player" : {
"type" : "Firefly",
"side" : "SIDE_ALLIES",
"pilot" : "1st Lt. Angus Carlyle",
"squadron" : "Sentinels",
"x" : 45,
"y" : 45
},
"fighters" : [
{
"name" : "ALLIES",
"types" : "Firefly;Nymph;Leopard;Hyena-A;Hyena-B",
"side" : "SIDE_ALLIES",
"x" : 45,
"y" : 45,
"number" : 8,
"scatter" : 500
},
{
"name" : "ALLIES",
"types" : "Lynx",
"side" : "SIDE_ALLIES",
"x" : 45,
"y" : 45,
"number" : 4,
"scatter" : 500
},
{
"name" : "Pandoran",
"types" : "Jackal;Sphinx;Mantis",
"side" : "SIDE_PANDORAN",
"x" : 20,
"y" : 40,
"number" : 4,
"scatter" : 0,
"aiFlags" : "+AIF_MOVES_TO_LEADER"
},
{
"name" : "Pandoran",
"groupName" : "Reinforcements",
"types" : "Jackal;Sphinx;Mantis",
"side" : "SIDE_PANDORAN",
"x" : 45,
"y" : 25,
"number" : 4,
"scatter" : 0,
"aiFlags" : "+AIF_MOVES_TO_LEADER",
"active" : 0
}
],
"capitalShips" : [
{
"name" : "INF Dirk",
"types" : "INF Corvette 01",
"side" : "SIDE_PANDORAN",
"x" : 39,
"y" : 39,
"flags" : "EF_AI_LEADER"
}
],
"script" : [
{
"function" : "ENEMIES_KILLED 4",
"lines" : [
"WAIT 1",
"ACTIVATE_ENTITY_GROUPS Reinforcements",
"ACTIVATE_OBJECTIVES Eliminate reinforcements",
"MSG_BOX Wingmate;Commander, enemy reinforcements are enroute. Looks like more INF fighters.",
"MSG_BOX Carlyle;Dammit! Let's make sure we down the Dirk before any more turn up."
]
},
{
"function" : "Destroy INF Dirk",
"lines" : [
"WAIT 1",
"MSG_BOX Carlyle;INF Dirk has been downed."
]
},
{
"function" : "ALL_OBJECTIVES_COMPLETE",
"lines" : [
"WAIT 1",
"MSG_BOX Carlyle;This is Carlyle. Enemy corvette has been destroyed. All other fighters scratched.",
"MSG_BOX Control;That's good work, Commander. We're preparing to engage more enemies, so we can't put our feet up just yet.",
"MSG_BOX Carlyle;Hell. Okay, we'll return momentarily. Carlyle out.",
"WAIT_MSG_BOX",
"COMPLETE_MISSION"
]
}
]
}