tbftss/data/missions/rothan/01 - rothan defence #1.json

195 lines
5.1 KiB
JSON

{
"name" : "Rothan Defence #1",
"description" : "A distress call from a CSN squadron has been issued, who were engaging Pandoran targets. It appears as though the enemy have magged the fighters, rather than destroy them. INF tugs are preparing to lead them out of the system, via the jumpgate. We need to destroy those tugs, and get those men and women to safety. We cannot allow the Pandorans to get hold of any of our technology.",
"requires" : 29,
"background" : "gfx/backgrounds/background05.jpg",
"planet" : "gfx/planets/rockford.png",
"music" : "music/battle/track-4.mp3",
"manualComplete" : 1,
"objectives" : [
{
"description" : "Destroy all Pandoran Tugs",
"targetName" : "Pandoran Tug",
"targetValue" : 12,
"targetType" : "TT_DESTROY"
},
{
"description" : "Rescue all CSN pilots",
"targetName" : "CSN Pilot",
"targetValue" : 12,
"targetType" : "TT_ESCAPED"
},
{
"description" : "Protect Tugs",
"targetName" : "CSN Tug",
"targetValue" : 8,
"targetType" : "TT_DESTROY",
"isCondition" : 1,
"active" : 0
},
{
"description" : "Eliminate all Pandoran fighters",
"targetName" : "ENEMY",
"targetValue" : 1,
"targetType" : "TT_DESTROY",
"isEliminateAll" : 1,
"active" : 0
},
{
"description" : "Do not allow any pilots to be killed",
"targetName" : "CSN Pilot",
"targetValue" : 1,
"targetType" : "TT_DESTROY",
"isCondition" : 1
},
{
"description" : "Do not allow any pilots to be kidnapped",
"targetName" : "CSN Pilot",
"targetValue" : 1,
"targetType" : "TT_STOLEN",
"isCondition" : 1
}
],
"player" : {
"type" : "ATAF",
"side" : "SIDE_ALLIES",
"pilot" : "Cdr. Estelle de Winter",
"squadron" : "White Knights",
"x" : 25,
"y" : 48
},
"fighters" : [
{
"name" : "Taylor",
"types" : "ATAF",
"side" : "SIDE_ALLIES",
"x" : 25,
"y" : 48,
"scatter" : 500
},
{
"name" : "CSN Pilot",
"types" : "TAF;Ray;Kingfisher;Hammerhead;Rook",
"side" : "SIDE_ALLIES",
"x" : 25,
"y" : 25,
"number" : 12,
"scatter" : 5000,
"flags" : "+EF_DISABLED+EF_NO_KILL+EF_MISSION_TARGET"
},
{
"name" : "CSN Tug",
"groupName" : "CSNTugs",
"types" : "Tug",
"side" : "SIDE_ALLIES",
"x" : 45,
"y" : 45,
"number" : 6,
"scatter" : 750,
"flags" : "+EF_AI_TARGET",
"aiFlags" : "+AIF_UNLIMITED_RANGE",
"active" : 0
},
{
"name" : "Pandoran Tug",
"types" : "INF Tug",
"side" : "SIDE_PANDORAN",
"x" : 25,
"y" : 25,
"number" : 12,
"scatter" : 5000,
"aiFlags" : "+AIF_UNLIMITED_RANGE",
"flags" : "+EF_AI_LEADER+EF_MUST_DISABLE"
},
{
"types" : "Sphinx;Thunderhead",
"side" : "SIDE_PANDORAN",
"x" : 25,
"y" : 25,
"number" : 12,
"scatter" : 0,
"aiFlags" : "+AIF_MOVES_TO_LEADER"
},
{
"types" : "Jackal;Sphinx;Thunderhead;Mantis",
"groupName" : "Reinforcements",
"side" : "SIDE_PANDORAN",
"x" : 51,
"y" : 35,
"number" : 8,
"scatter" : 0,
"aiFlags" : "+AIF_UNLIMITED_RANGE",
"active" : 0
},
{
"types" : "Jackal;Sphinx;Thunderhead;Mantis",
"groupName" : "Reinforcements",
"side" : "SIDE_PANDORAN",
"x" : 35,
"y" : 51,
"number" : 8,
"scatter" : 0,
"aiFlags" : "+AIF_UNLIMITED_RANGE",
"active" : 0
},
{
"types" : "Jackal;Sphinx;Thunderhead;Mantis",
"groupName" : "Reinforcements",
"side" : "SIDE_PANDORAN",
"x" : -1,
"y" : -1,
"number" : 8,
"scatter" : 0,
"aiFlags" : "+AIF_UNLIMITED_RANGE",
"active" : 0
}
],
"entities" : [
{
"name" : "Jumpgate",
"type" : "ET_JUMPGATE",
"x" : 45,
"y" : 45
}
],
"script" : [
{
"function" : "TIME 2",
"lines" : [
"MSG_BOX CSN Griffin;White Knights, the enemy tugs are already in position and are attaching tow ropes. They must not be allowed to get those fighters and pilots to the jumpgate.",
"MSG_BOX de Winter;Can you disable the gate remotely?",
"MSG_BOX CSN Griffin;Negative, the Pandorans have control. We're working take back command functions. Stand by.",
"MSG_BOX de Winter;Understood. Kelly, we should mag the tugs first and destroy them when its safe. Stray plasma fire could hit our pilots.",
"MSG_BOX Taylor;Agreed."
]
},
{
"function" : "OBJECTIVES_COMPLETE 1",
"lines" : [
"WAIT 2",
"MSG_BOX de Winter;Griffin, all enemy tugs have been dispatched.",
"MSG_BOX CSN Griffin;Good work, Commander. We've regained control of the gate. We're sending our own tugs through now.",
"WAIT_MSG_BOX",
"ACTIVATE_ENTITY_GROUPS CSNTugs",
"WAIT 10",
"ACTIVATE_ENTITY_GROUPS Reinforcements",
"ACTIVATE_OBJECTIVES Protect Tugs",
"MSG_BOX Taylor;Estelle, I'm picking up incoming INF fighters.",
"MSG_BOX de Winter;Hell! Protect the tugs. Make sure they get everyone home.",
"ACTIVATE_OBJECTIVES Eliminate all Pandoran fighters"
]
},
{
"function" : "ALL_OBJECTIVES_COMPLETE",
"lines" : [
"WAIT 2",
"MSG_BOX de Winter;Griffin, this is de Winter. Operation successful.",
"MSG_BOX Parks;I knew I could count on you, de Winter. Head back to Griffin.",
"WAIT_MSG_BOX",
"COMPLETE_MISSION"
]
}
]
}