#Mission Info

$Version: 0.10
$Name:  XSTR("Fickle Loyalties", -1)
$Author: Droid803
$Created: 07/01/08 at 15:02:28
$Modified: 01/18/12 at 13:36:49
$Notes:
This is a FRED2_OPEN created mission.
$End Notes:

$Mission Desc:
 XSTR("Battle of the Kestrel
", -1)
$end_multi_text

+Game Type Flags: 1

+Flags: 393216
+Fog Near Mult: 1.000000

+Fog Far Mult: 1.000000


+Disallow Support: 1

+Hull Repair Ceiling: 0.000000

+Subsystem Repair Ceiling: 100.000000

+Viewer pos: -270.754913, 874.072693, 474.176086
+Viewer orient:
	0.261810, 0.000001, 0.965119,
	-0.424603, 0.898023, 0.115182,
	-0.866699, -0.439948, 0.235112


$Skybox Model: starfield.pof

$AI Profile: FS2 RETAIL

#Sexp_variables

$Variables:
(
		0		"beams"		"0"		"number"
		1		"KestrelFlip"		"0"		"number"
)

#Command Briefing

#Briefing
$start_briefing
$num_stages: 3
$start_stage
$multi_text
 XSTR("This will be our last patrol to search out any ships that can help us contact $f Command. If we fail to find anyone, we will have to make the long trip to Sirius HQ.", -1)
$end_multi_text
$voice: none.wav
$camera_pos: -790.551086, 2216.750732, -2118.344238
$camera_orient:
	1.000000, 0.000000, 0.000000,
	0.000000, 0.866025, 0.500000,
	0.000000, -0.500000, 0.866025
$camera_time: 500
$num_lines: 0
$num_icons: 2
$Flags: 0
$Formula: ( true ) 
$start_icon
$type: 18
$team: Friendly
$class: GTC Leviathan
$pos: 497.525055, 604.300049, 1396.389282
$label: Trafalgar
+id: 1
$hlight: 0
$mirror: 0
$multi_text
$end_multi_text
$end_icon
$start_icon
$type: 18
$team: Friendly
$class: GTC Fenris
$pos: 175.614243, 377.699890, 868.083252
$label: Mathis
+id: 2
$hlight: 0
$mirror: 0
$multi_text
$end_multi_text
$end_icon
$end_stage
$start_stage
$multi_text
 XSTR("The $f Mathis was set to relieve the $f GTCv $f Kestrel in a few hours. It should still be on patrol in their sector. We have no idea if it is hostile or friendly. Be ready for anything.", -1)
$end_multi_text
$voice: none.wav
$camera_pos: -790.551086, 2216.750732, -2118.344238
$camera_orient:
	1.000000, 0.000000, 0.000000,
	0.000000, 0.866025, 0.500000,
	0.000000, -0.500000, 0.866025
$camera_time: 500
$num_lines: 0
$num_icons: 3
$Flags: 0
$Formula: ( true ) 
$start_icon
$type: 18
$team: Friendly
$class: GTC Leviathan
$pos: 497.525055, 604.300049, 1396.389282
$label: Trafalgar
+id: 1
$hlight: 0
$mirror: 0
$multi_text
$end_multi_text
$end_icon
$start_icon
$type: 18
$team: Friendly
$class: GTC Fenris
$pos: 175.614243, 377.699890, 868.083252
$label: Mathis
+id: 2
$hlight: 0
$mirror: 0
$multi_text
$end_multi_text
$end_icon
$start_icon
$type: 28
$team: Unknown
$class: GTCv Deimos
$pos: -2566.340576, -400.000031, 3212.391602
$label: Kestrel
+id: 3
$hlight: 1
$mirror: 1
$multi_text
$end_multi_text
$end_icon
$end_stage
$start_stage
$multi_text
 XSTR("If the $f Kestrel is hostile, we will do our best to disable it. We should avoid destroying these ships at all costs until we know more about what is going on. However, in self defense, you are authorized to neutralize all targets engaging you. Good luck out there.", -1)
$end_multi_text
$voice: none.wav
$camera_pos: 311.922668, 823.038330, 231.872116
$camera_orient:
	1.000000, 0.000000, 0.000000,
	0.000000, 0.866025, 0.500000,
	0.000000, -0.500000, 0.866025
$camera_time: 500
$num_lines: 0
$num_icons: 4
$Flags: 0
$Formula: ( true ) 
$start_icon
$type: 18
$team: Friendly
$class: GTC Leviathan
$pos: 367.574890, 604.300049, 752.959961
$label: Trafalgar
+id: 1
$hlight: 0
$mirror: 0
$multi_text
$end_multi_text
$end_icon
$start_icon
$type: 18
$team: Friendly
$class: GTC Fenris
$pos: 146.762451, 377.699860, 811.421692
$label: Mathis
+id: 2
$hlight: 0
$mirror: 0
$multi_text
$end_multi_text
$end_icon
$start_icon
$type: 28
$team: Unknown
$class: GTCv Deimos
$pos: -2566.340576, -400.000031, 3212.391602
$label: Kestrel
+id: 3
$hlight: 1
$mirror: 1
$multi_text
$end_multi_text
$end_icon
$start_icon
$type: 1
$team: Friendly
$class: GTF Myrmidon
$pos: 466.516602, 604.299377, 650.065125
$label: Alpha
+id: 4
$hlight: 0
$mirror: 0
$multi_text
$end_multi_text
$end_icon
$end_stage
$end_briefing

#Debriefing_info

$Num stages: 5

$Formula: ( is-event-true-delay 
   "All_Friendlies_Cleared" 
   0 
)
$Multi text
    XSTR("This is an excellent turn of events, pilots. We have an additional ship and another wing of fighters in our force. Our chances of survival have increased dramatically.

Of even greater significance is that the Kestrel's nav computers have the location of the GTD Adellan, flagship of the 4th battlegroup. With this information, we will be able to rejoin GTVA forces in this area. We will jump back to the depot, resupply and then we'll join with the Adellan.", -1)
$end_multi_text
$Voice: none.wav
$Recommendation text:
    XSTR("", -1)
$end_multi_text

$Formula: ( is-event-true-delay 
   "Fail:Mathis Died" 
   0 
)
$Multi text
    XSTR("In this costly debacle, we lost the GTC Mathis, one of our two cruisers. This loss decreases our chances of survival greatly.", -1)
$end_multi_text
$Voice: none.wav
$Recommendation text:
    XSTR("Disable the Sarnid's rear beam cannon quickly, then focus on intercepting the fighters and bombers.", -1)
$end_multi_text

$Formula: ( is-event-true-delay 
   "Fail:Trafalgar Died" 
   0 
)
$Multi text
    XSTR("In this costly debacle, we lost the GTC Trafalgar, one of our two cruisers. This loss decreases our chances of survival greatly.", -1)
$end_multi_text
$Voice: none.wav
$Recommendation text:
    XSTR("Disable the Sarnid's rear beam cannon quickly, then focus on intercepting the fighters and bombers.", -1)
$end_multi_text

$Formula: ( is-event-true-delay 
   "Fail: Kestrel Died" 
   0 
)
$Multi text
    XSTR("Although the crew onboard the Kestrel managed to secure the ship, the NTCv Sarnid destroyed the Kestrel. This operation is a failure. It is only a matter of time before the NTF ships in the area hunt us down.", -1)
$end_multi_text
$Voice: none.wav
$Recommendation text:
    XSTR("The Sarnid's two forward beam cannons are the sole threat to the Kestrel's survival. Disabling a single beam should allow the Mathis and Trafalgar to destroy the Sarnid before the Kestrel is lost.", -1)
$end_multi_text

$Formula: ( and 
   ( is-event-false-delay 
      "All_Friendlies_Cleared" 
      0 
   )
   ( is-event-false-delay 
      "Fail:Mathis Died" 
      0 
   )
   ( is-event-false-delay 
      "Fail:Trafalgar Died" 
      0 
   )
   ( is-event-false-delay 
      "Fail: Kestrel Died" 
      0 
   )
)
$Multi text
    XSTR("You did not have authorization to return to base, pilot. Your actions jeopardized the lives of those involved in this mission and the GTVA's objectives in this theatre. Desertion is grounds for a court martial, and you are confined to quarters pending your preliminary hearing. Until a military court decides otherwise, you are hereby stripped of your wings and all privileges bestowed upon you as an officer of the Galactic Terran-Vasudan Alliance.", -1)
$end_multi_text
$Voice: none.wav
$Recommendation text:
    XSTR("Do not jump out unless ordered to do so", -1)
$end_multi_text

#Players		;! 1 total

$Starting Shipname: Alpha 1
$Ship Choices: (
	"GTF Myrmidon"	4
)

+Weaponry Pool: (
	"Subach HL-7"	24
	"Prometheus R"	16
	"Rockeye"	840
	"Tempest"	2440
	"Hornet"	1000
)

#Objects		;! 26 total

$Name: Alpha 1		;! Object #0
$Class: GTF Myrmidon
$Team: Friendly
$Location: -8.579868, 604.299988, 78.526489
$Orientation:
	0.914922, 0.000000, 0.403632,
	-0.105305, 0.965368, 0.238697,
	-0.389653, -0.260893, 0.883236
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 100
+Initial Hull: 100
+Subsystem: Pilot
+Primary Banks: ( "Subach HL-7" "Subach HL-7" )
+Secondary Banks: ( "Rockeye" "Rockeye" "Tempest" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" "player-start" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 10

$Name: Alpha 2		;! Object #1
$Class: GTF Myrmidon
$Team: Friendly
$Location: -35.702477, 604.299988, -11.505798
$Orientation:
	0.918928, 0.000000, 0.394425,
	-0.102998, 0.965303, 0.239963,
	-0.380740, -0.261133, 0.887044
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
+Primary Banks: ( "Subach HL-7" "Subach HL-7" )
+Secondary Banks: ( "Rockeye" "Rockeye" "Tempest" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 10

$Name: Alpha 3		;! Object #2
$Class: GTF Myrmidon
$Team: Friendly
$Location: 60.655529, 604.299988, 71.098206
$Orientation:
	0.911644, 0.000000, 0.410982,
	-0.106459, 0.965868, 0.236149,
	-0.396954, -0.259036, 0.880527
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
+Primary Banks: ( "Subach HL-7" "Subach HL-7" )
+Secondary Banks: ( "Rockeye" "Rockeye" "Tempest" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 10

$Name: Alpha 4		;! Object #3
$Class: GTF Myrmidon
$Team: Friendly
$Location: 21.426060, 604.299988, -46.265644
$Orientation:
	0.916328, 0.000000, 0.400429,
	-0.103685, 0.965895, 0.237269,
	-0.386773, -0.258935, 0.885076
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
+Primary Banks: ( "Subach HL-7" "Subach HL-7" )
+Secondary Banks: ( "Rockeye" "Rockeye" "Tempest" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 10

$Name: Mathis		;! Object #4
$Class: GTC Fenris
$Team: Friendly
$Location: -176.899994, 377.700012, -211.600006
$Orientation:
	0.891620, 0.000000, 0.452785,
	-0.068161, 0.988604, 0.134222,
	-0.447625, -0.150537, 0.881459
$AI Behavior: None
$AI Goals: ( goals ( ai-waypoints-once "Mathis Path 1" 50 ) )
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 84
+Initial Shields: 100
+Subsystem: Pilot
+Subsystem: turret01
+Subsystem: turret02
+Subsystem: turret03
+Subsystem: turret04
+Subsystem: turret05
+Subsystem: turret06
+Subsystem: turret07
+Subsystem: turret08
+Subsystem: turret09a-01-main
$Arrival Location: Hyperspace
$Arrival Cue: ( true ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" "no-shields" "escort" )
+Flags2: ( )
+Respawn priority: 0
+Escort priority: 20
+Orders Accepted: 0		;! note that this is a bitfield!!!
+Group: 0
+Use Table Score:
+Score: 100
$Texture Replace:
+old: nameplate
+new: np_gtc_mathis

$Name: Trafalgar		;! Object #5
$Class: GTC Leviathan
$Team: Friendly
$Location: 202.300003, 604.299988, -311.500000
$Orientation:
	0.908357, 0.000000, 0.418196,
	-0.086022, 0.978615, 0.186848,
	-0.409253, -0.205699, 0.888932
$AI Behavior: None
$AI Goals: ( goals ( ai-waypoints-once "Trafalgar Path 1" 50 ) )
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 86
+Initial Shields: 100
+Subsystem: Pilot
+Subsystem: turret01
+Subsystem: turret02
+Primary Banks: ( "Green Beam" )
+Subsystem: turret03
+Subsystem: turret04
+Subsystem: turret05
+Subsystem: turret06
+Subsystem: turret07
+Subsystem: turret08
+Subsystem: turret09a-01-main
+Sbank Ammo: ( 0 )
$Arrival Location: Hyperspace
$Arrival Cue: ( true ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" "no-shields" "escort" )
+Flags2: ( )
+Respawn priority: 0
+Escort priority: 30
+Orders Accepted: 0		;! note that this is a bitfield!!!
+Group: 0
+Use Table Score:
+Score: 200
$Texture Replace:
+old: nameplate
+new: np_gtc_trafalgar

$Name: Kestrel		;! Object #6
$Class: GTCv Deimos
$Team: Friendly
$Location: -1500.000000, -400.000000, 3400.000000
$Orientation:
	0.847255, 0.000000, -0.531186,
	0.000000, 1.000000, 0.000000,
	0.531186, 0.000000, 0.847255
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 72
+Initial Shields: 100
+Subsystem: Pilot
+Subsystem: turret01
+Subsystem: turret02
+Subsystem: turret03
+Subsystem: turret04
+Subsystem: turret05
+Subsystem: turret06
+Subsystem: turret07
+Subsystem: turret08
+Subsystem: turret09
+Subsystem: turret10
+Subsystem: turret11
+Subsystem: turret12
+Subsystem: turret13
+Subsystem: turret14
+Subsystem: turret15
+Subsystem: turret16
+Subsystem: turret17
+Subsystem: turret18
+Subsystem: turret19
+Subsystem: turret20
+Subsystem: turret21
+Subsystem: turret22
+Subsystem: turret23
+Subsystem: turret24
+Subsystem: turret25
+Sbank Ammo: ( 0 )
+Subsystem: turret26
+Sbank Ammo: ( 0 )
$Arrival Location: Hyperspace
$Arrival Cue: ( true ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" "protect-ship" "no-shields" "escort" "beam-protect-ship" )
+Flags2: ( )
+Respawn priority: 0
+Escort priority: 80
+Orders Accepted: 0		;! note that this is a bitfield!!!
+Group: 0
+Use Table Score:
+Score: 800
$Texture Replace:
+old: nameplate
+new: np_gtcv_kestrel

$Name: Epsilon 1		;! Object #7
$Class: GTF Myrmidon
$Team: Hostile
$Location: -1127.653931, 0.000025, 2237.608887
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Hull: 100
+Subsystem: Pilot
+Secondary Banks: ( "Rockeye" "Hornet" "Tempest" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" "invulnerable" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 10

$Name: Epsilon 2		;! Object #8
$Class: GTF Myrmidon
$Team: Hostile
$Location: -1148.443726, 0.000088, 2211.481934
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Hull: 100
+Subsystem: Pilot
+Secondary Banks: ( "Rockeye" "Hornet" "Tempest" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" "invulnerable" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 10

$Name: Epsilon 3		;! Object #9
$Class: GTF Myrmidon
$Team: Hostile
$Location: -1099.323608, -0.000012, 2202.753174
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Hull: 100
+Subsystem: Pilot
+Secondary Banks: ( "Rockeye" "Hornet" "Tempest" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" "invulnerable" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 10

$Name: Epsilon 4		;! Object #10
$Class: GTF Myrmidon
$Team: Hostile
$Location: -1124.224487, 0.000129, 2174.653564
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Hull: 100
+Subsystem: Pilot
+Secondary Banks: ( "Rockeye" "Hornet" "Tempest" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" "invulnerable" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 10

$Name: Epsilon 5		;! Object #11
$Class: GTF Myrmidon
$Team: Hostile
$Location: -1159.639771, -0.000058, 2170.061035
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Hull: 100
+Subsystem: Pilot
+Secondary Banks: ( "Rockeye" "Hornet" "Tempest" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" "invulnerable" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 10

$Name: Epsilon 6		;! Object #12
$Class: GTF Myrmidon
$Team: Hostile
$Location: -1075.131714, -0.000061, 2169.739014
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Hull: 100
+Subsystem: Pilot
+Secondary Banks: ( "Rockeye" "Hornet" "Tempest" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" "invulnerable" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 10

$Name: Delta 1		;! Object #13
$Class: GTF Myrmidon
$Team: Friendly
$Location: -1739.554321, 0.000023, 2928.208984
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 67
+Subsystem: Pilot
+Primary Banks: ( "Subach HL-7" "Subach HL-7" )
+Secondary Banks: ( "Rockeye" "Rockeye" "Tempest" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" "invulnerable" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 10

$Name: Delta 2		;! Object #14
$Class: GTF Myrmidon
$Team: Friendly
$Location: -1783.402222, -0.000035, 2906.680664
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 67
+Subsystem: Pilot
+Primary Banks: ( "Subach HL-7" "Subach HL-7" )
+Secondary Banks: ( "Rockeye" "Rockeye" "Tempest" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" "invulnerable" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 10

$Name: Delta 3		;! Object #15
$Class: GTF Myrmidon
$Team: Friendly
$Location: -1676.205444, 0.000087, 2898.556396
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 67
+Subsystem: Pilot
+Primary Banks: ( "Subach HL-7" "Subach HL-7" )
+Secondary Banks: ( "Rockeye" "Rockeye" "Tempest" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" "invulnerable" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 10

$Name: Delta 4		;! Object #16
$Class: GTF Myrmidon
$Team: Friendly
$Location: -1735.528931, 0.000032, 2870.441406
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 67
+Subsystem: Pilot
+Primary Banks: ( "Subach HL-7" "Subach HL-7" )
+Secondary Banks: ( "Rockeye" "Rockeye" "Tempest" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" "invulnerable" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 10

$Name: Sarnid		;! Object #17
$Class: GTCv Deimos
$Team: Hostile
$Location: -1750.000000, 200.000000, -2300.000000
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$AI Goals: ( goals ( ai-waypoints-once "Sarnid Move To Engage" 50 ) )
$Cargo 1:  XSTR("Nothing", -1)
+Initial Hull: 100
+Initial Shields: 100
+Subsystem: Pilot
+Subsystem: turret01
+Subsystem: turret02
+Subsystem: turret03
+Subsystem: turret04
+Subsystem: turret05
+Subsystem: turret06
+Subsystem: turret07
+Subsystem: turret08
+Subsystem: turret09
+Primary Banks: ( "Terran Turret" )
+Subsystem: turret10
+Primary Banks: ( "Terran Turret" )
+Subsystem: turret11
+Subsystem: turret12
+Subsystem: turret13
+Subsystem: turret14
+Subsystem: turret15
+Subsystem: turret16
+Primary Banks: ( "Terran Turret" )
+Subsystem: turret17
+Subsystem: turret18
+Subsystem: turret19
+Subsystem: turret20
+Primary Banks: ( "Terran Turret" )
+Subsystem: turret21
+Subsystem: turret22
+Subsystem: turret23
+Subsystem: turret24
+Subsystem: turret25
+Sbank Ammo: ( 0 )
+Subsystem: turret26
+Sbank Ammo: ( 0 )
$Arrival Location: Hyperspace
+Arrival Delay: 13
$Arrival Cue: ( is-event-true-delay "CueSarnid" 0 ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" "no-shields" "escort" )
+Flags2: ( )
+Respawn priority: 0
+Escort priority: 60
+Orders Accepted: 1		;! note that this is a bitfield!!!
+Group: 0
+Use Table Score:
+Score: 800
$Texture Replace:
+old: nameplate
+new: np_ntcv_sarnid

$Name: Sagittarius 1		;! Object #18
$Class: GTF Hercules
$Team: Hostile
$Location: -1570.763306, -0.000510, 552.202148
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
+Primary Banks: ( "Prometheus R" "Prometheus R" )
+Secondary Banks: ( "Hornet#Weak" "Hornet#Weak" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 10

$Name: Sagittarius 2		;! Object #19
$Class: GTF Hercules
$Team: Hostile
$Location: -1604.251343, -0.000562, 514.938354
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
+Primary Banks: ( "Prometheus R" "Prometheus R" )
+Secondary Banks: ( "Hornet#Weak" "Hornet#Weak" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 10

$Name: Sagittarius 3		;! Object #20
$Class: GTF Hercules
$Team: Hostile
$Location: -1500.538940, -0.000544, 501.098999
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
+Primary Banks: ( "Prometheus R" "Prometheus R" )
+Secondary Banks: ( "Hornet#Weak" "Hornet#Weak" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 10

$Name: Sagittarius 4		;! Object #21
$Class: GTF Hercules
$Team: Hostile
$Location: -1553.406250, -0.000552, 462.171753
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
+Primary Banks: ( "Prometheus R" "Prometheus R" )
+Secondary Banks: ( "Hornet#Weak" "Hornet#Weak" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 10

$Name: Sagittarius 5		;! Object #22
$Class: GTF Hercules
$Team: Hostile
$Location: -1622.804810, -0.000640, 437.494751
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
+Primary Banks: ( "Prometheus R" "Prometheus R" )
+Secondary Banks: ( "Hornet#Weak" "Hornet#Weak" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 10

$Name: Sagittarius 6		;! Object #23
$Class: GTF Hercules
$Team: Hostile
$Location: -1486.550659, -0.000641, 432.018188
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
+Primary Banks: ( "Prometheus R" "Prometheus R" )
+Secondary Banks: ( "Hornet#Weak" "Hornet#Weak" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 10

$Name: Gemini 1		;! Object #24
$Class: GTB Zeus
$Team: Hostile
$Location: -1115.204590, 0.000034, 513.042542
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
+Secondary Banks: ( "Rebel Bomb" "Rebel Bomb" "Rebel Bomb" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 10

$Name: Gemini 2		;! Object #25
$Class: GTB Zeus
$Team: Hostile
$Location: -1094.370117, 0.000044, 484.767914
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
+Secondary Banks: ( "Rebel Bomb" "Rebel Bomb" "Rebel Bomb" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 10

#Wings		;! 5 total

$Name: Alpha
$Waves: 1
$Wave Threshold: 0
$Special Ship: 0		;! Alpha 1

$Arrival Location: Hyperspace
$Arrival Cue: ( true ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Ships: (		;! 4 total
	"Alpha 1"
	"Alpha 2"
	"Alpha 3"
	"Alpha 4"
)
+Hotkey: 0
+Flags: ( )

$Name: Delta
$Waves: 1
$Wave Threshold: 0
$Special Ship: 0		;! Delta 1

$Arrival Location: Hyperspace
$Arrival Cue: ( true ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Ships: (		;! 4 total
	"Delta 1"
	"Delta 2"
	"Delta 3"
	"Delta 4"
)
$AI Goals: ( goals ( ai-chase-wing "Epsilon" 50 ) ( ai-guard "Alpha 1" 40 ) )
+Flags: ( )
+Wave Delay Min: 30
+Wave Delay Max: 40

$Name: Epsilon
$Waves: 1
$Wave Threshold: 0
$Special Ship: 0		;! Epsilon 1

$Arrival Location: Hyperspace
$Arrival Cue: ( true ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Ships: (		;! 6 total
	"Epsilon 1"
	"Epsilon 2"
	"Epsilon 3"
	"Epsilon 4"
	"Epsilon 5"
	"Epsilon 6"
)
$AI Goals: ( goals ( ai-chase-wing "Delta" 50 ) ( ai-chase-wing "Alpha" 40 ) )
+Flags: ( )
+Wave Delay Min: 30
+Wave Delay Max: 40

$Name: Sagittarius
$Waves: 1
$Wave Threshold: 0
$Special Ship: 0		;! Sagittarius 1

$Arrival Location: In front of ship
+Arrival Distance: 500
$Arrival Anchor: Sarnid
+Arrival delay: 5
$Arrival Cue: ( has-arrived-delay 0 "Sarnid" ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Ships: (		;! 6 total
	"Sagittarius 1"
	"Sagittarius 2"
	"Sagittarius 3"
	"Sagittarius 4"
	"Sagittarius 5"
	"Sagittarius 6"
)
$AI Goals: ( goals ( ai-guard "Sarnid" 50 ) )
+Flags: ( )
+Wave Delay Min: 5
+Wave Delay Max: 6

$Name: Gemini
$Waves: 1
$Wave Threshold: 0
$Special Ship: 0		;! Gemini 1

$Arrival Location: Near Ship
+Arrival Distance: 2000
$Arrival Anchor: Trafalgar
$Arrival Cue: ( percent-ships-destroyed 
   50 
   "Sagittarius" 
)
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Ships: (		;! 2 total
	"Gemini 1"
	"Gemini 2"
)
$AI Goals: ( goals ( ai-chase "Trafalgar" 50 ) )
+Flags: ( )

#Events		;! 35 total

$Formula: ( when 
   ( true ) 
   ( beam-free-all "Mathis" ) 
   ( beam-free-all "Trafalgar" ) 
   ( ship-guardian-threshold 
      42 
      "Alpha 2" 
   )
   ( ship-guardian-threshold 
      42 
      "Alpha 3" 
   )
   ( ship-guardian-threshold 
      42 
      "Alpha 4" 
   )
   ( cap-waypoint-speed "Mathis" 10 ) 
   ( cap-waypoint-speed "Trafalgar" 10 ) 
   ( send-message-list 
      "Kestrel" 
      "High" 
      "Start_00" 
      0 
      "Mathis" 
      "High" 
      "Start_01" 
      5000 
      "Kestrel" 
      "High" 
      "Start_02" 
      5000 
      "Trafalgar" 
      "High" 
      "Start_03" 
      5000 
   )
   ( turret-lock 
      "Kestrel" 
      "turret01" 
      "turret02" 
      "turret04" 
      "turret06" 
      "turret14" 
      "turret16" 
      "turret17" 
      "turret19" 
      "turret21" 
   )
   ( ship-guardian-threshold 
      62 
      "Kestrel" 
   )
)
+Name: Start Events
+Repeat Count: 1
+Interval: 1
+Team: 0

$Formula: ( when 
   ( and 
      ( has-time-elapsed 5 ) 
      ( = @KestrelFlip[0] 0 ) 
   )
   ( change-iff "Hostile" "Kestrel" ) 
   ( turret-lock 
      "Kestrel" 
      "turret03" 
      "turret05" 
      "turret09" 
      "turret10" 
      "turret13" 
      "turret15" 
      "turret22" 
      "turret25" 
      "turret26" 
   )
   ( turret-free 
      "Kestrel" 
      "turret01" 
      "turret02" 
      "turret04" 
      "turret06" 
      "turret14" 
      "turret16" 
      "turret17" 
      "turret19" 
      "turret21" 
   )
)
+Name: Kestrel_Flip1
+Repeat Count: 10000
+Interval: 10
+Team: 1

$Formula: ( when 
   ( and 
      ( has-time-elapsed 10 ) 
      ( = @KestrelFlip[0] 0 ) 
   )
   ( change-iff "Friendly" "Kestrel" ) 
   ( turret-free 
      "Kestrel" 
      "turret03" 
      "turret05" 
      "turret09" 
      "turret10" 
      "turret13" 
      "turret15" 
      "turret22" 
      "turret25" 
      "turret26" 
   )
   ( turret-lock 
      "Kestrel" 
      "turret01" 
      "turret02" 
      "turret04" 
      "turret06" 
      "turret14" 
      "turret16" 
      "turret17" 
      "turret19" 
      "turret21" 
   )
)
+Name: Kestrel_Flip2
+Repeat Count: 10000
+Interval: 10
+Team: 1

$Formula: ( when 
   ( is-destroyed-delay 0 "Epsilon" ) 
   ( send-message 
      "Trafalgar" 
      "High" 
      "Epsilon_Dead" 
   )
)
+Name: Directive:Destroy Epsilon
+Repeat Count: 1
+Interval: 1
+Objective:  XSTR("Destroy Epsilon", -1)
+Team: 0

$Formula: ( when 
   ( has-arrived-delay 0 "Sarnid" ) 
   ( add-goal 
      "Mathis" 
      ( ai-waypoints-once 
         "Mathis Attack" 
         70 
      )
   )
   ( add-goal 
      "Trafalgar" 
      ( ai-waypoints-once 
         "Trafalgar Attack" 
         70 
      )
   )
   ( send-message 
      "Trafalgar" 
      "High" 
      "Sarnid" 
   )
   ( validate-goal "Destroy Sarnid" ) 
   ( ship-subsys-guardian-threshold 
      42 
      "Sarnid" 
      "turret23" 
   )
   ( ship-subsys-guardian-threshold 
      42 
      "Sarnid" 
      "turret24" 
   )
   ( ship-guardian 
      "Delta 1" 
      "Delta 2" 
      "Delta 3" 
      "Delta 4" 
   )
   ( beam-lock "Mathis" "turret02" ) 
   ( beam-lock "Trafalgar" "turret02" ) 
)
+Name: Sarnid_Arrive
+Repeat Count: 1
+Interval: 1
+Team: 0

$Formula: ( when 
   ( true ) 
   ( send-message-list 
      "Sarnid" 
      "High" 
      "Sarnid_talk00" 
      0 
      "Mathis" 
      "High" 
      "Sarnid_talk01" 
      5000 
      "Sarnid" 
      "High" 
      "Sarnid_talk02" 
      5000 
   )
)
+Name: Sarnid_Talk
+Repeat Count: 1
+Interval: 1
+Chained: 5
+Team: 0

$Formula: ( when 
   ( true ) 
   ( fire-beam 
      "Sarnid" 
      "turret11" 
      "Trafalgar" 
   )
)
+Name: Sarnid_FireSideBeam
+Repeat Count: 100
+Interval: 26
+Chained: 20
+Team: 0

$Formula: ( when 
   ( true ) 
   ( fire-beam 
      "Sarnid" 
      "turret11" 
      "Mathis" 
   )
)
+Name: Sarnid_FireSideBeam
+Repeat Count: 100
+Interval: 26
+Chained: 13
+Team: 0

$Formula: ( when 
   ( is-destroyed-delay 0 "Sarnid" ) 
   ( send-message 
      "Trafalgar" 
      "High" 
      "Sarnid_Dead" 
   )
   ( clear-goals "Mathis" ) 
   ( clear-goals "Trafalgar" ) 
)
+Name: Directive:Destroy Sarnid
+Repeat Count: 1
+Interval: 1
+Objective:  XSTR("Destroy Sarnid", -1)
+Team: 0

$Formula: ( when 
   ( is-destroyed-delay 0 "Sagittarius" ) 
   ( do-nothing ) 
)
+Name: Directive:Destroy Saggitarius
+Repeat Count: 1
+Interval: 1
+Objective:  XSTR("Destroy Sagittarius", -1)
+Team: 0

$Formula: ( when 
   ( is-destroyed-delay 0 "Gemini" ) 
   ( do-nothing ) 
)
+Name: Directive:Destroy Gemini
+Repeat Count: 1
+Interval: 1
+Objective:  XSTR("Destroy Gemini", -1)
+Team: 0

$Formula: ( when 
   ( and 
      ( is-event-true-delay 
         "Directive:Destroy Sarnid" 
         10 
      )
      ( is-event-true-delay 
         "Directive:Destroy Saggitarius" 
         10 
      )
      ( is-event-true-delay 
         "Directive:Destroy Gemini" 
         0 
      )
   )
   ( send-message 
      "Trafalgar" 
      "High" 
      "Area Clear" 
   )
)
+Name: Area_Clear
+Repeat Count: 1
+Interval: 1
+Team: 0

$Formula: ( when 
   ( true ) 
   ( add-goal 
      "Mathis" 
      ( ai-warp-out 89 ) 
   )
   ( add-goal 
      "Trafalgar" 
      ( ai-warp-out 89 ) 
   )
   ( add-goal 
      "Kestrel" 
      ( ai-warp-out 89 ) 
   )
)
+Name: GTVA_Exit
+Repeat Count: 1
+Interval: 1
+Chained: 10
+Team: 0

$Formula: ( when 
   ( has-departed-delay 
      0 
      "Mathis" 
      "Trafalgar" 
      "Kestrel" 
   )
   ( do-nothing ) 
)
+Name: All_Friendlies_Cleared
+Repeat Count: 1
+Interval: 1
+Team: 0

$Formula: ( when 
   ( has-departed-delay 0 "Alpha 1" ) 
   ( do-nothing ) 
)
+Name: Depart
+Repeat Count: 1
+Interval: 1
+Chained: 0
+Objective:  XSTR("Depart", -1)
+Team: 0

$Formula: ( when 
   ( has-departed-delay 0 "Trafalgar" ) 
   ( do-nothing ) 
)
+Name: Directive:Defend Trafalgar
+Repeat Count: 1
+Interval: 1
+Objective:  XSTR("Protect Trafalgar", -1)
+Team: 0

$Formula: ( when 
   ( has-departed-delay 0 "Mathis" ) 
   ( do-nothing ) 
)
+Name: Directive:Defend Mathis
+Repeat Count: 1
+Interval: 1
+Objective:  XSTR("Protect Mathis", -1)
+Team: 0

$Formula: ( when 
   ( is-destroyed-delay 0 "Mathis" ) 
   ( send-message 
      "Trafalgar" 
      "High" 
      "MathisDie" 
   )
   ( add-goal 
      "Trafalgar" 
      ( ai-warp-out 89 ) 
   )
)
+Name: Fail:Mathis Died
+Repeat Count: 1
+Interval: 1
+Team: 0

$Formula: ( when 
   ( has-departed-delay 0 "Alpha 1" ) 
   ( do-nothing ) 
)
+Name: RTB(Fail)
+Repeat Count: 1
+Interval: 1
+Chained: 0
+Objective:  XSTR("Depart", -1)
+Team: 0

$Formula: ( when 
   ( is-destroyed-delay 0 "Trafalgar" ) 
   ( send-message 
      "Mathis" 
      "High" 
      "TrafalgarDie" 
   )
   ( add-goal 
      "Mathis" 
      ( ai-warp-out 89 ) 
   )
)
+Name: Fail:Trafalgar Died
+Repeat Count: 1
+Interval: 1
+Team: 0

$Formula: ( when 
   ( has-departed-delay 0 "Alpha 1" ) 
   ( do-nothing ) 
)
+Name: RTB(Fail)
+Repeat Count: 1
+Interval: 1
+Chained: 0
+Objective:  XSTR("Depart", -1)
+Team: 0

$Formula: ( when 
   ( has-time-elapsed 15 ) 
   ( ship-vulnerable 
      "Delta 1" 
      "Delta 2" 
      "Delta 3" 
      "Delta 4" 
      "Epsilon 1" 
      "Epsilon 2" 
      "Epsilon 3" 
      "Epsilon 4" 
      "Epsilon 5" 
      "Epsilon 6" 
   )
)
+Name: Delta_Vulnerable
+Repeat Count: 1
+Interval: 1
+Team: 0

$Formula: ( when 
   ( has-arrived-delay 0 "Sagittarius" ) 
   ( send-message 
      "Mathis" 
      "High" 
      "Saggy_00" 
   )
)
+Name: SaggiWarn
+Repeat Count: 1
+Interval: 1
+Team: 0

$Formula: ( when 
   ( has-arrived-delay 0 "Gemini" ) 
   ( send-message 
      "Trafalgar" 
      "High" 
      "Gemin_00" 
   )
)
+Name: GeminiWarn
+Repeat Count: 1
+Interval: 1
+Team: 1

$Formula: ( when 
   ( has-time-elapsed 82 ) 
   ( send-message-list 
      "Kestrel" 
      "High" 
      "NTF_Kestrel00" 
      0 
      "Kestrel" 
      "High" 
      "NTF_Kestrel01" 
      5000 
   )
)
+Name: CueSarnid
+Repeat Count: 1
+Interval: 1

$Formula: ( when 
   ( is-event-true-delay "CueSarnid" 54 ) 
   ( change-iff "Friendly" "Kestrel" ) 
   ( send-message-list 
      "Kestrel" 
      "High" 
      "Kestrel_00" 
      0 
      "Sarnid" 
      "High" 
      "Kestrel_01" 
      5000 
      "Trafalgar" 
      "High" 
      "Kestrel_02" 
      5000 
   )
   ( modify-variable @KestrelFlip[0] 1 ) 
   ( ship-subsys-guardian-threshold 
      0 
      "Sarnid" 
      "turret23" 
   )
   ( ship-subsys-guardian-threshold 
      0 
      "Sarnid" 
      "turret24" 
   )
   ( ship-no-guardian "Kestrel" ) 
)
+Name: GTVA_Comm
+Repeat Count: 1
+Interval: 1
+Team: 0

$Formula: ( when 
   ( true ) 
   ( fire-beam 
      "Sarnid" 
      "turret23" 
      "Kestrel" 
   )
   ( fire-beam 
      "Sarnid" 
      "turret24" 
      "Kestrel" 
   )
)
+Name: Sarnid_Attack
+Repeat Count: 100
+Interval: 12
+Chained: 6
+Team: 0

$Formula: ( when 
   ( or 
      ( < 
         ( distance "Mathis" "Kestrel" ) 
         3000 
      )
      ( < 
         ( distance "Trafalgar" "Kestrel" ) 
         3000 
      )
   )
   ( clear-goals "Mathis" "Trafalgar" ) 
)
+Name: Stop Advance
+Repeat Count: 1
+Interval: 1
+Team: 0

$Formula: ( when 
   ( has-departed-delay 0 "Kestrel" ) 
   ( do-nothing ) 
)
+Name: Directive: Defend Kestrel
+Repeat Count: 1
+Interval: 1
+Objective:  XSTR("Protect Kestrel", -1)
+Team: 0

$Formula: ( when 
   ( is-destroyed-delay 0 "Kestrel" ) 
   ( send-message 
      "Trafalgar" 
      "High" 
      "KestrelDie" 
   )
)
+Name: Fail: Kestrel Died
+Repeat Count: 1
+Interval: 1
+Team: 0

$Formula: ( when 
   ( has-departed-delay 0 "Alpha 1" ) 
   ( do-nothing ) 
)
+Name: RTB(Fail)
+Repeat Count: 1
+Interval: 1
+Chained: 0
+Objective:  XSTR("Depart", -1)
+Team: 0

$Formula: ( when 
   ( < ( hits-left "Sarnid" ) 80 ) 
   ( sabotage-subsystem 
      "Sarnid" 
      "turret17" 
      100 
   )
)
+Name: Adjustment: Kill Side Flak
+Repeat Count: 1
+Interval: 1
+Team: 0

$Formula: ( when 
   ( has-time-elapsed 18 ) 
   ( validate-goal "Defend Kestrel" ) 
   ( training-msg "DirectivesUpdate" ) 
)
+Name: DirectiveSwitch
+Repeat Count: 1
+Interval: 1
+Team: 0

$Formula: ( when 
   ( and 
      ( not 
         ( is-destroyed-delay 0 "Kestrel" ) 
      )
      ( is-event-true-delay 
         "Sarnid_Arrive" 
         2 
      )
   )
   ( fire-beam 
      "Trafalgar" 
      "turret02" 
      "Sarnid" 
   )
)
+Name: beam1
+Repeat Count: 100
+Interval: 12
+Team: 0

$Formula: ( when 
   ( and 
      ( not 
         ( is-destroyed-delay 0 "Kestrel" ) 
      )
      ( is-event-true-delay 
         "Sarnid_Arrive" 
         0 
      )
   )
   ( fire-beam 
      "Mathis" 
      "turret02" 
      "Sarnid" 
   )
)
+Name: beam2
+Repeat Count: 100
+Interval: 9
+Team: 0

#Goals		;! 4 total

$Type: Primary
+Name: Defend Cruisers
$MessageNew:  XSTR("Protect Mathis and Trafalagar", -1)
$end_multi_text
$Formula: ( and 
   ( is-event-true-delay 
      "Directive:Defend Trafalgar" 
      0 
   )
   ( is-event-true-delay 
      "Directive:Defend Mathis" 
      0 
   )
)
+Score: 1000

$Type: Primary
+Name: Defend Kestrel
$MessageNew:  XSTR("Protect Kestrel", -1)
$end_multi_text
$Formula: ( is-event-true-delay 
   "Directive: Defend Kestrel" 
   0 
)
+Invalid
+Score: 500

$Type: Secondary
+Name: Destroy Sarnid
$MessageNew:  XSTR("Destroy Sarnid", -1)
$end_multi_text
$Formula: ( is-destroyed-delay 0 "Sarnid" ) 
+Invalid
+Score: 100

$Type: Primary
+Name: Scout
$MessageNew:  XSTR("Investigate Kestrel", -1)
$end_multi_text
$Formula: ( is-event-true-delay 
   "DirectiveSwitch" 
   0 
)
+No music

#Waypoints		;! 5 lists total

$Name: Mathis Path 1
$List: (		;! 1 points in list
	( -1300.000000, 0.000000, 2000.000000 )
)

$Name: Trafalgar Path 1
$List: (		;! 1 points in list
	( -1000.000000, 0.000000, 2300.000000 )
)

$Name: Mathis Attack
$List: (		;! 1 points in list
	( -849.732727, 160.644989, 865.697327 )
)

$Name: Trafalgar Attack
$List: (		;! 1 points in list
	( -983.903870, 400.988342, 674.971130 )
)

$Name: Sarnid Move To Engage
$List: (		;! 1 points in list
	( -1750.000000, 0.000000, 1000.000000 )
)

#Messages		;! 22 total


$Name: Start_00
$Team: -1
$MessageNew:  XSTR("This is the GTCv Kestrel, sending a distress call to all GTVA ships! We're in combat with rebel operatives onboard the ship!", -1)
$end_multi_text
+Persona: Wingman 1
+AVI Name: Head-CM5

$Name: Start_01
$Team: -1
$MessageNew:  XSTR("Kestrel, what exactly is the situation?", -1)
$end_multi_text
+Persona: Large Ship
+AVI Name: Head-CM1

$Name: Start_02
$Team: -1
$MessageNew:  XSTR("They've gained control of the engine rooms, but thankfully not navigation and communication. If they do, they're going to jump out and that'll be the end. We're going to try to retake the ship before that happens.", -1)
$end_multi_text
+Persona: Wingman 1
+AVI Name: Head-CM5

$Name: Start_03
$Team: -1
$MessageNew:  XSTR("Understood Kestrel. Alpha wing, assist Delta in engaging Epsilon wing! We're going to have to cover the Kestrel for now.", -1)
$end_multi_text
+Persona: Large Ship
+AVI Name: Head-CM3

$Name: Epsilon_Dead
$Team: -1
$MessageNew:  XSTR("We've neutralized epsilon wing, but stay sharp, people.", -1)
$end_multi_text
+Persona: Large Ship
+AVI Name: Head-CM3

$Name: Sarnid
$Team: -1
$MessageNew:  XSTR("Detecting corvette class jump signature. The Sarnid is coming in!", -1)
$end_multi_text
+Persona: Large Ship
+AVI Name: Head-CM3

$Name: Sarnid_talk00
$Team: -1
$MessageNew:  XSTR("This is the NTCv Sarnid. All craft, you are to surrender your vessels to the Neo Terran Front or face destruction.", -1)
$end_multi_text
+Persona: Large Ship
+AVI Name: Head-CM4

$Name: Sarnid_Dead
$Team: -1
$MessageNew:  XSTR("The Sarnid is going down. Watch out for the shockwave, pilots!", -1)
$end_multi_text
+Persona: Large Ship
+AVI Name: Head-CM3

$Name: Kestrel_00
$Team: -1
$MessageNew:  XSTR("This is the GTCv Kestrel, we've cornered the NTF presence in navigation. Sorry for the wait.", -1)
$end_multi_text
+Persona: Large Ship
+AVI Name: Head-CM5

$Name: Kestrel_01
$Team: -1
$MessageNew:  XSTR("Target the Kestrel with forward beam cannons!", -1)
$end_multi_text
+Persona: Large Ship
+AVI Name: Head-CM4

$Name: Kestrel_02
$Team: -1
$MessageNew:  XSTR("Pilots, disarm those beam cannons quickly!", -1)
$end_multi_text
+Persona: Large Ship
+AVI Name: Head-CM1

$Name: MathisDie
$Team: -1
$MessageNew:  XSTR("The Mathis is going down! The situation is too hot, we're bugging out.", -1)
$end_multi_text
+Persona: Large Ship
+AVI Name: Head-CM3

$Name: TrafalgarDie
$Team: -1
$MessageNew:  XSTR("The Trafalgar is going down! Abort mission! We're bugging out!", -1)
$end_multi_text
+Persona: Large Ship
+AVI Name: Head-CM1

$Name: Saggy_00
$Team: -1
$MessageNew:  XSTR("Sagittarius wing on attack vector. Intercept them, pilots.", -1)
$end_multi_text
+Persona: Large Ship
+AVI Name: Head-CM1

$Name: Gemin_00
$Team: -1
$MessageNew:  XSTR("A pair of bombers have just jumped in, Alpha wing, they're targeting us!", -1)
$end_multi_text
+Persona: Large Ship
+AVI Name: Head-CM3

$Name: NTF_Kestrel00
$Team: -1
$MessageNew:  XSTR("NTCv Kestrel to all NTF ships, requesting backup. We're under attack by a pair of cruisers!", -1)
$end_multi_text
+Persona: Large Ship
+AVI Name: Head-CM4

$Name: NTF_Kestrel01
$Team: -1
$MessageNew:  XSTR("This is the Neo Terran Front, all GTVA pilots stand down and surrender. We have control of the NTCv Kestrel.", -1)
$end_multi_text
+Persona: Large Ship
+AVI Name: Head-CM3

$Name: Sarnid_talk01
$Team: -1
$MessageNew:  XSTR("Negative, Sarnid, we will not surrender!", -1)
$end_multi_text
+Persona: Large Ship
+AVI Name: Head-CM1

$Name: Sarnid_talk02
$Team: -1
$MessageNew:  XSTR("Very well. Open fire!", -1)
$end_multi_text
+Persona: Large Ship
+AVI Name: Head-CM4

$Name: KestrelDie
$Team: -1
$MessageNew:  XSTR("We've lost the Kestrel! All units, we're pulling out.", -1)
$end_multi_text
+Persona: Large Ship
+AVI Name: Head-CM3

$Name: Area Clear
$Team: -1
$MessageNew:  XSTR("The area's clear. Let's head back to resupply.", -1)
$end_multi_text
+Persona: Large Ship
+AVI Name: Head-CM3

$Name: DirectivesUpdate
$Team: -1
$MessageNew:  XSTR("Mission Objectives Updated", -1)
$end_multi_text

#Reinforcements		;! 0 total


#Background bitmaps		;! 54 total

$Num stars: 2000
$Ambient light level: 7895160

$Bitmap List:
$Sun: SunSiriusA
+Angles: 6.195914 0.000000 3.228857
+Scale: 2.000000
$Sun: SunSiriusB
+Angles: 0.034907 0.000000 2.967057
+Scale: 0.200000
$Starbitmap: NebulB3-Main
+Angles: 4.345866 2.792525 0.000000
+ScaleX: 5.000000
+ScaleY: 5.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB2-Main
+Angles: 4.276053 0.000000 5.916662
+ScaleX: 4.000000
+ScaleY: 4.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB4-Whisp
+Angles: 4.345866 2.792525 5.585049
+ScaleX: 4.000000
+ScaleY: 4.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB7-Whisp
+Angles: 4.188787 1.570795 0.000000
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB6-Whisp
+Angles: 4.520399 2.356193 0.000000
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB8-Whisp
+Angles: 4.101521 5.585049 0.349066
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB9-Whisp
+Angles: 4.188787 5.934115 0.436332
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB4-Whisp
+Angles: 4.188787 2.617992 0.610865
+ScaleX: 2.000000
+ScaleY: 2.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB10-Whisp
+Angles: 4.101521 3.141590 0.436332
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB1-Main
+Angles: 0.000000 0.000000 1.745328
+ScaleX: 5.000000
+ScaleY: 5.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB3-Main
+Angles: 0.000000 0.000000 4.380773
+ScaleX: 5.000000
+ScaleY: 5.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB5-Whisp
+Angles: 0.663225 0.000000 5.393063
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB7-Whisp
+Angles: 0.174533 0.942477 4.014254
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB8-Whisp
+Angles: 0.785398 5.585049 5.131264
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB9-Whisp
+Angles: 0.069813 0.000000 1.221730
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB10-Whisp
+Angles: 0.000000 4.520399 4.712385
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB11-Whisp
+Angles: 0.000000 5.916662 2.007127
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB12-Whisp
+Angles: 5.916662 1.570795 1.483529
+ScaleX: 4.000000
+ScaleY: 4.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB13-Whisp
+Angles: 5.061451 1.570795 1.919861
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB14-Whisp
+Angles: 0.872664 3.926988 4.345866
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB6-Whisp
+Angles: 0.872664 5.846848 2.076940
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB5-Whisp
+Angles: 0.872664 0.698131 2.356193
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB11-Whisp
+Angles: 0.436332 0.174533 1.308996
+ScaleX: 4.000000
+ScaleY: 4.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB5-Whisp
+Angles: 4.712385 2.076940 6.091194
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB6-Whisp
+Angles: 4.625119 5.759582 6.195914
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB11-Whisp
+Angles: 4.520399 0.000000 0.349066
+ScaleX: 2.000000
+ScaleY: 2.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB13-Whisp
+Angles: 4.712385 1.570795 0.174533
+ScaleX: 2.000000
+ScaleY: 2.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB10-Whisp
+Angles: 5.585049 3.926988 4.014254
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB13-Whisp
+Angles: 4.363320 1.570795 0.174533
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB14-Whisp
+Angles: 4.363320 0.349066 5.934115
+ScaleX: 4.000000
+ScaleY: 4.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB4-Whisp
+Angles: 4.363320 2.356193 5.393063
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB5-Whisp
+Angles: 4.014254 3.141590 4.886918
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB6-Whisp
+Angles: 4.014254 3.054324 4.886918
+ScaleX: 4.000000
+ScaleY: 4.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB7-Whisp
+Angles: 4.014254 0.000000 0.872664
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB5-Whisp
+Angles: 4.014254 0.349066 0.872664
+ScaleX: 2.000000
+ScaleY: 2.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB9-Whisp
+Angles: 1.570795 0.000000 0.000000
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB13-Whisp
+Angles: 1.396262 0.000000 0.000000
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB8-Whisp
+Angles: 1.919861 0.785398 0.000000
+ScaleX: 4.000000
+ScaleY: 4.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB6-Whisp
+Angles: 0.698131 2.356193 2.076940
+ScaleX: 2.000000
+ScaleY: 2.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB8-Whisp
+Angles: 0.349066 3.490656 1.884954
+ScaleX: 2.000000
+ScaleY: 2.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB10-Whisp
+Angles: 0.261799 3.665189 3.316123
+ScaleX: 2.000000
+ScaleY: 2.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB11-Whisp
+Angles: 0.261799 0.506145 3.054324
+ScaleX: 2.000000
+ScaleY: 2.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB6-Whisp
+Angles: 0.226893 3.141590 3.630282
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulB4-Whisp
+Angles: 0.174533 0.000000 4.520399
+ScaleX: 2.000000
+ScaleY: 2.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulA4-Whisp
+Angles: 0.174533 5.759582 0.698131
+ScaleX: 2.000000
+ScaleY: 2.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulA6-Whisp
+Angles: 0.174533 0.000000 0.872664
+ScaleX: 4.000000
+ScaleY: 4.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulA9-Whisp
+Angles: 0.174533 4.712385 0.872664
+ScaleX: 2.000000
+ScaleY: 2.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulA7-Whisp
+Angles: 0.000000 1.570795 0.872664
+ScaleX: 2.000000
+ScaleY: 2.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulA11-Whisp
+Angles: 0.174533 4.712385 0.610865
+ScaleX: 2.000000
+ScaleY: 2.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulA10-Whisp
+Angles: 0.000000 0.000000 0.523598
+ScaleX: 4.000000
+ScaleY: 4.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulA3-Whisp
+Angles: 5.934115 0.000000 0.000000
+ScaleX: 3.000000
+ScaleY: 3.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulA12-Whisp
+Angles: 6.038835 0.698131 0.174533
+ScaleX: 2.000000
+ScaleY: 2.000000
+DivX: 1
+DivY: 1
$Starbitmap: NebulA5-Whisp
+Angles: 5.759582 5.585049 6.108648
+ScaleX: 2.000000
+ScaleY: 2.000000
+DivX: 1
+DivY: 1
$Starbitmap: planeta_rojo
+Angles: 2.617992 2.757618 2.251473
+ScaleX: 4.000000
+ScaleY: 4.000000
+DivX: 1
+DivY: 1

#Asteroid Fields

#Music

$Event Music: Mithril (Alcibiades Gamble)
$Briefing Music: Brief4

#End

