#Mission Info

$Version: 0.10
$Name:  XSTR("A Fateful Day", -1)
$Author: CRZgatecrusher
$Created: 12/07/22 at 12:35:47
$Modified: 12/10/22 at 09:59:28
$Notes:
This is a FRED2_OPEN created mission.
$End Notes:

$Mission Desc:
 XSTR("Put mission description here
", -1)
$end_multi_text
+Game Type Flags: 1
+Flags: 1024
+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: 210.801041, 2427.964600, -3344.764160
+Viewer orient:
	0.999622, 0.000005, 0.027501,
	-0.007557, 0.961555, 0.274507,
	-0.026442, -0.274611, 0.961192


$AI Profile: WM

#Command Briefing

$Stage Text:
 XSTR("My own personal ship, let's hope it's smooth sailing until my first job. I have to stopover at star port 3 near neptune. Hopefully I'll be able to refuel and rearm there.", -1)
$end_multi_text
$Ani Filename: <default>
+Wave Filename: none

#Briefing
$start_briefing
$num_stages: 0
$end_briefing

#Debriefing_info

$Num stages: 1

$Formula: ( is-event-true-delay 
   "Mission Complete" 
   0 
)
$Multi text
    XSTR("I made it out alive. What was that strange ship?", -1)
$end_multi_text
$Voice: none.wav
$Recommendation text:
    XSTR("Hopefully the stopover will allow me to find a contract.", -1)
$end_multi_text

#Players		;! 1 total

$Starting Shipname: Alpha 1
$Ship Choices: (
)

+Weaponry Pool: (
	"UD-D Kayser"	16
	"Balor"	16
	"Vulcan"	16
	"Rapier"	16
	"Firestorm"	16
	"Vajra"	16
	"Vishnan Proximity Gun"	16
	"Ammo Pack"	16
	"Repair System"	16
	"Shivan Malak"	16
	"Finalizing Cause"	16
	"Shivan Super Pulse Laser"	16
	"Shivan Kikodan"	16
	"Shivan Heavy Pulse Laser"	16
	"Kiya"	16
	"Amirani"	16
	"Sarissa"	17
	"Enyalius"	16
	"Tornado"	500
	"Harpoon"	500
	"Harpoon#Weak"	500
	"TAG-A"	500
	"TAG-C"	500
	"Stiletto II"	500
	"Helios"	500
	"Rockeye#Shivan"	500
	"Tempest#Shivan"	500
	"Hornet#Shivan"	500
	"Hornet#Weak#Shivan"	500
	"Tornado D#Shivan"	500
	"Harpoon D#Shivan"	500
	"Trebuchet#Shivan"	500
	"Shivan Disruptor"	500
	"Shivan Bomb"	500
	"Shivan Megabomb"	500
	"TAG-D"	500
	"Vishnan Missile"	500
	"Vishnan Subspace Missile"	500
	"Dart"	500
	"Slammer"	500
	"Hellfire"	500
	"Grimler"	500
	"Jackhammer"	500
	"Sledgehammer"	500
	"Vigilant Spectrum"	500
	"Fractal Judgment"	500
	"Wraith"	506
	"Thundercloud"	500
	"Spectre"	500
	"Phantom"	500
	"Massacre"	536
	"Wraith#Training"	500
	"ThundercloudS1"	500
	"ThundercloudS3"	500
	"Xiphos"	1
)

#Objects		;! 6 total

$Name: Alpha 1		;! Object #0
$Class: GTF Aurora
$Team: Friendly
$Location: -0.597458, 0.000000, 2.262451
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$Cargo 1:  XSTR("Nothing", -1)
+Initial Hull: 100
+Subsystem: Pilot
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" "player-start" )
+Flags2: ( )
+Respawn priority: 0
+Score: 8

$Name: EVI		;! Object #1
$Class: GTF Pegasus
$Team: Unknown
$Location: -6407.829102, -0.004883, 9093.423828
$Orientation:
	0.523367, 0.000000, -0.852109,
	0.000000, 1.000000, 0.000000,
	0.852109, 0.000000, 0.523367
$AI Goals: ( goals ( ai-evade-ship "Thousand Eyes" 60 ) )
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
+Primary Banks: ( "" )
+Secondary Banks: ( "" "" )
+Sbank Ammo: ( 0 0 )
$Arrival Location: Hyperspace
$Arrival Cue: ( is-event-true-delay 
   "Thousand Eyes Arrive" 
   5 
)
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" "guardian" "stealth" )
+Flags2: ( )
+Respawn priority: 0
+Hotkey: 8
+Use Table Score:
+Score: 10

$Name: Thousand Eyes		;! Object #2
$Class: UEFg Karuna
$Team: Hostile
$Team Color Setting: 1stFleet
$Location: -1357.186523, 926.019531, 10931.625977
$Orientation:
	-0.999999, 0.000000, -0.001593,
	0.000000, 1.000000, 0.000000,
	0.001593, 0.000000, -0.999999
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Initial Shields: 100
+Subsystem: Pilot
+Subsystem: turret01
+Subsystem: turret02
+Subsystem: turret03
+Subsystem: turret04
+Subsystem: turret05
+Subsystem: turret28
$Damage: 100
+Subsystem: turret29
$Damage: 100
+Subsystem: turret30
+Subsystem: turret31
$Damage: 100
+Subsystem: turret32
$Damage: 100
+Subsystem: turret35
$Damage: 100
+Subsystem: turret36
+Subsystem: turret37
+Subsystem: turret38
$Damage: 100
+Subsystem: turret39
$Damage: 100
+Subsystem: turret40
+Subsystem: turret41
$Damage: 100
+Subsystem: turret42
$Damage: 100
+Subsystem: turret43
$Damage: 100
+Subsystem: turret44
$Damage: 100
+Subsystem: turret45
$Damage: 100
+Subsystem: turret46
+Subsystem: turret47
$Damage: 100
+Subsystem: turret48
$Damage: 100
+Subsystem: turret49
$Damage: 100
+Subsystem: turret50
$Damage: 100
+Subsystem: turret51
$Damage: 100
+Subsystem: Turret52
+Subsystem: Turret53
$Arrival Location: Hyperspace
$Arrival Cue: ( is-event-true-delay 
   "Setup Event" 
   10 
)
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" "no-shields" )
+Flags2: ( )
+Respawn priority: 0
+Orders Accepted List: ( "attack ship" )
+Use Table Score:
+Score: 300

$Name: Cancer 1		;! Object #3
$Class: GTF Loki
$Team: Hostile
$Location: 193.294922, 0.010742, 13725.505859
$Orientation:
	-0.999965, 0.000000, 0.008407,
	0.000000, 1.000000, 0.000000,
	-0.008407, 0.000000, -0.999965
$AI Goals: ( goals ( ai-chase-any 50 ) )
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
+Primary Banks: ( "Subach HL-7" "Prometheus S" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" )
+Flags2: ( )
+Respawn priority: 0
+Use Table Score:
+Score: 7

$Name: Cancer 2		;! Object #4
$Class: GTF Loki
$Team: Hostile
$Location: 224.773193, 15.554416, 13771.874023
$Orientation:
	-0.999965, 0.000000, 0.008407,
	0.000000, 1.000000, 0.000000,
	-0.008407, 0.000000, -0.999965
$AI Goals: ( goals ( ai-chase-any 50 ) )
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
+Primary Banks: ( "Subach HL-7" "Prometheus S" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" )
+Flags2: ( )
+Respawn priority: 0
+Use Table Score:
+Score: 7

$Name: Cancer 3		;! Object #5
$Class: GTF Loki
$Team: Hostile
$Location: 162.600586, 15.554416, 13772.396484
$Orientation:
	-0.999965, 0.000000, 0.008407,
	0.000000, 1.000000, 0.000000,
	-0.008407, 0.000000, -0.999965
$AI Goals: ( goals ( ai-chase-any 50 ) )
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
+Primary Banks: ( "Subach HL-7" "Prometheus S" )
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" )
+Flags2: ( )
+Respawn priority: 0
+Use Table Score:
+Score: 7

#Wings		;! 2 total

$Name: Cancer
$Waves: 3
$Wave Threshold: 1
$Special Ship: 0		;! Cancer 1
$Arrival Location: Docking Bay
+Arrival Distance: 0
$Arrival Anchor: Thousand Eyes
+Arrival delay: 10
$Arrival Cue: ( is-event-true-delay 
   "Fighters Launched" 
   10 
)
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Ships: (		;! 3 total
	"Cancer 1"
	"Cancer 2"
	"Cancer 3"
)
+Hotkey: 8
+Flags: ( )
+Wave Delay Min: 5
+Wave Delay Max: 10

$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: (		;! 1 total
	"Alpha 1"
)
+Hotkey: 0
+Flags: ( )

#Events		;! 7 total

$Formula: ( when 
   ( true ) 
   ( mission-set-subspace 1 ) 
   ( never-warp "Alpha 1" ) 
)
+Name: Setup Event
+Repeat Count: 1
+Interval: 1

$Formula: ( when 
   ( has-time-elapsed 15 ) 
   ( send-message-list 
      "Thousand Eyes" 
      "Normal" 
      "Thousand Eyes Arrives - 1" 
      0 
      "Alpha 1" 
      "Normal" 
      "Thousand Eyes Arrives - 2" 
      3000 
      "Thousand Eyes" 
      "Normal" 
      "Thousand Eyes Arrives - 3" 
      3000 
      "Alpha 1" 
      "Normal" 
      "Thousand Eyes Arrives - 4" 
      2500 
      "Thousand Eyes" 
      "Normal" 
      "Thousand Eyes Arrives - 5" 
      4500 
   )
)
+Name: Thousand Eyes Arrive
+Repeat Count: 1
+Interval: 1
+Chained: 0

$Formula: ( when 
   ( true ) 
   ( lua-SHIPAbilities-set-enabled 
      150 
      150 
      3 
      "EVI" 
      ( false ) 
   )
   ( send-message 
      "Thousand Eyes" 
      "Normal" 
      "Fighters Launched - 1" 
   )
)
+Name: Fighters Launched
+Repeat Count: 1
+Interval: 1
+Chained: 17

$Formula: ( when 
   ( and 
      ( lua-Areturn-abilityReady 3 ) 
      ( > ( lua-Areturn-EnergyStored ) 60 ) 
   )
   ( lua-Abilities-activate-ability 
      3 
      "Thousand Eyes" 
   )
)
+Name: Launch missiles
+Repeat Count: -1
+Trigger Count: 50
+Interval: 25
+Chained: 10

$Formula: ( when 
   ( or 
      ( < ( hits-left "Thousand Eyes" ) 25 ) 
      ( is-destroyed-delay 0 "Cancer" ) 
   )
   ( send-message 
      "Thousand Eyes" 
      "Normal" 
      "Thousand Eyes Leave - 1" 
   )
   ( add-goal 
      "Cancer" 
      ( ai-warp-out 150 ) 
   )
   ( add-goal 
      "Thousand Eyes" 
      ( ai-warp-out 89 ) 
   )
   ( allow-warp "Alpha 1" ) 
   ( add-goal "EVI" ( ai-warp-out 89 ) ) 
)
+Name: Mission Complete
+Repeat Count: 1
+Interval: 1
+Objective:  XSTR("Create an Opening", -1)

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

$Formula: ( when 
   ( and 
      ( not 
         ( is-event-true-delay 
            "Mission Complete" 
            0 
         )
      )
      ( key-pressed "Alt-J" ) 
   )
   ( send-message 
      "Alpha 1" 
      "Normal" 
      "Attempt Jump Before Leave - 1" 
   )
)
+Name: Player Attempts Jump
+Repeat Count: 1
+Interval: 1

#Goals		;! 0 total


#Waypoints		;! 0 lists total


#Messages		;! 9 total


$Name: Start Of Mission - 1
$Team: -1
$MessageNew:  XSTR("First trip in this new ship, Almost approaching the exit as we speak.", -1)
$end_multi_text
+Persona: Keys

$Name: Thousand Eyes Arrives - 1
$Team: -1
$MessageNew:  XSTR("Do you know there is a toll for this here route?", -1)
$end_multi_text
+Persona: Captain Blastclaw

$Name: Thousand Eyes Arrives - 2
$Team: -1
$MessageNew:  XSTR("I have no money to give you, sorry.", -1)
$end_multi_text
+Persona: Keys

$Name: Thousand Eyes Arrives - 3
$Team: -1
$MessageNew:  XSTR("Then Prepare to Eject!", -1)
$end_multi_text
+Persona: Captain Blastclaw

$Name: Thousand Eyes Arrives - 4
$Team: -1
$MessageNew:  XSTR("Are you crazy? No-one can survive exiting subspace without a ship? Flight Suits are not enough!", -1)
$end_multi_text
+Persona: Keys

$Name: Thousand Eyes Arrives - 5
$Team: -1
$MessageNew:  XSTR("Well, prepare to die then!", -1)
$end_multi_text
+Persona: Captain Blastclaw

$Name: Fighters Launched - 1
$Team: -1
$MessageNew:  XSTR("Fighters Attack!", -1)
$end_multi_text
+Persona: Captain Blastclaw

$Name: Thousand Eyes Leave - 1
$Team: -1
$MessageNew:  XSTR("Ok. ok you can go now!", -1)
$end_multi_text
+Persona: Captain Blastclaw

$Name: Attempt Jump Before Leave - 1
$Team: -1
$MessageNew:  XSTR("Piece of junk!", -1)
$end_multi_text
+Persona: Keys

#Reinforcements		;! 0 total


#Background bitmaps		;! 0 total

$Num stars: 500
$Ambient light level: 7895160

$Bitmap List:
+Flags: ( "corrected angles" )

#Asteroid Fields

#Music

$Event Music: None
$Briefing Music: None

#End

