diff --git a/data/missions/clarke/05 - clarke defence #5.json b/data/missions/clarke/05 - clarke defence #5.json index 859c28c..2433849 100644 --- a/data/missions/clarke/05 - clarke defence #5.json +++ b/data/missions/clarke/05 - clarke defence #5.json @@ -5,22 +5,180 @@ "background" : "gfx/backgrounds/background06.jpg", "planet" : "gfx/planets/bluePlanet.png", "music" : "music/battle/heroism.ogg", - "unwinnable" : 1, "objectives" : [ { - "description" : "Eliminate all enemy forces", - "targetName" : "Enemy", + "description" : "Eliminate support group #1", + "targetName" : "group-1", + "targetValue" : 5, + "targetType" : "TT_DESTROY" + }, + { + "description" : "Eliminate support group #2", + "targetName" : "group-2", + "targetValue" : 5, + "targetType" : "TT_DESTROY", + "active" : 0 + }, + { + "description" : "Destroy INF Alysha's Calling", + "targetName" : "Alysha's Calling", "targetValue" : 1, "targetType" : "TT_DESTROY", - "isEliminateAll" : 1 + "active" : 0 + }, + { + "description" : "Destroy incoming threat", + "targetName" : "swarmers-1", + "targetValue" : 24, + "targetType" : "TT_DESTROY", + "active" : 0 + }, + { + "description" : "Eliminate Swarmers", + "targetName" : "Swarmer", + "targetValue" : 50, + "targetType" : "TT_DESTROY", + "active" : 0 } ], "player" : { - "type" : "Lynx", + "type" : "Rook", "side" : "SIDE_ALLIES", - "pilot" : "-", - "squadron" : "-", - "x" : 25, - "y" : 45 - } + "pilot" : "Jessica Welch", + "squadron" : "Twilight Lancers", + "x" : 5, + "y" : 5 + }, + "fighters" : [ + { + "types" : "TAF;Ray;Kingfisher;Hammerhead", + "side" : "SIDE_ALLIES", + "x" : 5, + "y" : 5, + "number" : 7, + "scatter" : 600 + }, + { + "name" : "Pandoran", + "groupName" : "group-1", + "types" : "Jackal;Mantis", + "side" : "SIDE_PANDORAN", + "x" : 12, + "y" : 12, + "number" : 5, + "scatter" : 600 + }, + { + "name" : "Pandoran", + "groupName" : "group-2", + "types" : "Jackal;Mantis", + "side" : "SIDE_PANDORAN", + "x" : 12, + "y" : -1, + "number" : 5, + "scatter" : 0, + "active" : 0 + }, + { + "name" : "Unknown", + "groupName" : "swarmers-1", + "types" : "Swarmer", + "side" : "SIDE_PANDORAN", + "x" : -1, + "y" : 12, + "number" : 8, + "scatter" : 0, + "active" : 0 + }, + { + "name" : "Unknown", + "groupName" : "swarmers-1", + "types" : "Swarmer", + "side" : "SIDE_PANDORAN", + "x" : -1, + "y" : 18, + "number" : 8, + "scatter" : 0, + "active" : 0 + }, + { + "name" : "Unknown", + "groupName" : "swarmers-1", + "types" : "Swarmer", + "side" : "SIDE_PANDORAN", + "x" : -1, + "y" : 24, + "number" : 8, + "scatter" : 0, + "active" : 0 + } + ], + "spawners" : [ + { + "name" : "SwarmerSpawner", + "types" : "Swarmer", + "side" : "SIDE_PANDORAN", + "interval" : 1, + "total" : 50, + "step" : 1, + "offscreen" : 1, + "active" : 0 + } + ], + "script" : [ + { + "function" : "TIME 2", + "lines" : [ + "MSG_BOX Welch;First squadron sighted. Moving to intercept." + ] + }, + { + "function" : "ENEMIES_KILLED 5", + "lines" : [ + "WAIT 1", + "ACTIVATE_OBJECTIVES Eliminate support group #2", + "ACTIVATE_ENTITY_GROUPS group-2", + "MSG_BOX Welch;First squadron taken down, preparing to engage second." + ] + }, + { + "function" : "ENEMIES_KILLED 10", + "lines" : [ + "WAIT 1", + "MSG_BOX Welch;Second squadron down. Moving up the field to engage Alysha's Calling.", + "ACTIVATE_OBJECTIVES Destroy INF Alysha's Calling", + "WAIT_MSG_BOX", + "ACTIVATE_ENTITY_GROUPS swarmers-1", + "MSG_BOX CSN Thunderbird;Welch, we are tracking a large number of fast-moving heading your way. IDs don't match anything we currently have on record.", + "MSG_BOX Welch;Missiles?", + "MSG_BOX CSN Thunderbird;Too large. We'll relay more information as we get it. Be prepared to engage.", + "ACTIVATE_OBJECTIVES Destroy incoming threat" + ] + }, + { + "function" : "ENEMIES_KILLED 25", + "lines" : [ + "MSG_BOX Wingmate;Whatever these things are, they're not hard to dispatch.", + "MSG_BOX Welch;No, but there's a lot of them ...", + "WAIT_MSG_BOX", + "ACTIVATE_OBJECTIVES Eliminate Swarmers", + "ACTIVATE_SPAWNERS SwarmerSpawner", + "MSG_BOX CSN Thunderbird;Welch, we're detecting more of the swarmer things heading your way.", + "MSG_BOX Welch;How many more?", + "MSG_BOX CSN Thunderbird;Tracking around three dozen, and the numbers are rising." + ] + }, + { + "function" : "OBJECTIVES_COMPLETE 4", + "lines" : [ + "MSG_BOX Welch;Thunderbird, this is Welch. Swarmers have been taken care of.", + "MSG_BOX CSN Thunderbird;Good to hear, Commander. We're pulling you out there, to assist the other squadrons.", + "MSG_BOX Welch;What about Alysha?", + "MSG_BOX CSN Thunderbird;The target is no longer a priority. Clarke's frontline is collapsing. They need reinforcement, ASAP.", + "MSG_BOX Welch;Understood. Heading there now.", + "WAIT_MSG_BOX", + "COMPLETE_MISSION" + ] + } + ] }