Modding, Mission Design, and Coding > The FRED Workshop

[WIP] Rekt Galaxies

<< < (20/20)

Bryan See:
I've posted my first mission but nobody seemed to answer. I offered my aspects behind this in the next post.

What do you say? What's next?

Bryan See:
Work on the second mission plus one extra red-alert mission, a third mission, and possibly fourth, fifth, sixth, seventh and eighth missions have begun and I intend to put it on a fast track.

All of them take place in Sol, and somewhere around this time between Mission 4 and Mission 5, there's the point where the Mortal Engines movie begins with Salzhaken being eaten by London as surveyed by one of the Ancient forces, who also spotted Airhaven, Shan Guo and the Shield Wall. The sixth and seventh mission overlap with the movie's events, namely the skirmish with Shrike on Airhaven and the Anti-Tractionists' air raid against London as well as Thaddeus' attempted escape onboard his airship. The eighth mission takes place in the atmosphere, where a Battle of Exegol-like fight with Cylons occur, with a crossover with the Mortal Engines occuring here as a dogfight with the Jenny Haniver (the players are required to destroy it in order to advance). Beyond that, I'm still have nothing to say, but it will involve the Combine, with more other alien menaces are being teased.

Bryan See:
Here is the real, first mission. It has two branches, one is red-alert and a normal mission end. Spoilers ahead, please read with caution.

Spoiler:
--- Code: ---#Mission Info

$Version: 0.10
$Name:  XSTR("The Death of History", -1)
$Author: Bryan See
$Created: 02/05/20 at 18:50:14
$Modified: 02/08/20 at 01:12:12
$Notes:
This is a FRED2_OPEN created mission.
$End Notes:

$Mission Desc:
 XSTR("The 314th Griffins, ACa Zenobia, spearheads an armed reconnaissance mission in the asteroid field.", -1)
$end_multi_text
+Game Type Flags: 1
+Flags: 0
+Fog Near Mult: 1.000000

+Fog Far Mult: 1.000000

+Disallow Support: 0
+Hull Repair Ceiling: 0.000000
+Subsystem Repair Ceiling: 100.000000

+Viewer pos: 0.000000, 3474.555420, -5958.278809
+Viewer orient:
1.000000, 0.000000, -0.000000,
0.000000, 0.866025, 0.500000,
0.000000, -0.500000, 0.866025
+SquadReassignName: 314th Griffins

$Starting wing names: ( "Aleph" "Beth" "Gimel" )
$Squadron wing names: ( "Aleph" "Beth" "Gimel" "Daleth" "He" )
$Team-versus-team wing names: ( "Aleph" "Zayin" )

$Skybox Model: StarField.pof

$AI Profile: RG Ep1

#Sexp_variables

$Variables:
(
0 "!RG0101aStage" "0" "number"
1 "boolDerelictDeparted" "0" "number"
2 "boolDerelictDestroyed" "0" "number"
3 "saveexist" "0" "number"
)

#Cutscenes

$Fiction Viewer Cutscene: RGEp1_Intro.mp4
+formula: ( true )

#Command Briefing

$Stage Text:
 XSTR("Welcome

This is Admiral Im'halus, commanding officer of the $f ACa $f Zenobia. I extend a warm welcome to all new warriors, crew and young nuggets who have recently joined us in Deneb.

The $f Zenobia serves as flagship of Battle Group 28, based in the Crab Nebula. As some of our people's finest and strongest, you were predestined to join your fellow brothers and sisters serving the Empire's mighty navies today.

I know what thought may be residing within your minds. It may appear you are just a tiny piece of a vast dynasty. But in this empire, we are all the same. The role that everyone plays, our warriors as well as our citizens, is critical in maintaining our Empire.

Serve it well, and your name will forever be engraved in history and you will bathe in eternal glory.", -1)
$end_multi_text
$Ani Filename: <default>
+Wave Filename: none

$Stage Text:
 XSTR("Updates from the Front

We have some grave news. Imperial forces has launched Operation Clean Sweep, however their efforts have failed to halt the $h Cylon advance, despite propaganda to the contrary. The loss cut deep into our morale among those enlisted.

Intelligence reports the enemy have established their own territory abutting Imperial systems including Ross 128, Delta Serpentis and Beta Aquilae, where a major battle occured resulting in the loss of the $f GVD $f $f Chnum and twelve $f Vasudan warships.

If this keeps up at this rate, a $h Cylon victory will not only be inevitable, but also imminent in a few sectons.", -1)
$end_multi_text
$Ani Filename: <default>
+Wave Filename: none

$Stage Text:
 XSTR("Current Objectives

Our fleet will focus on what lies on the other side of the newly activated Deneb subspace portal. We must determine where the node leads and the extent of the $h Cylon presence there. Above all, we shall begin the push towards this system. We will have nothing to fear, no matter what they got. Our numbers will overcome them, and our weapons will bring swift death. If we must prevent the $h Cylons from abutting our systems, then we will do so and shall emerge victorious in the end. We always do.", -1)
$end_multi_text
$Ani Filename: <default>
+Wave Filename: none

$Stage Text:
 XSTR("Kato fighter

You are currently gifted with the privilege of flying the faithful $b Kato fighter, that has been in service ever since we first discovered subspace. While it may not be the most resilient in battle, it is very swift and her ability to use any of our armaments is unparallelled. With this privilege comes the ability to wield our light weapons. Choose wisely and true. They may just save your life.", -1)
$end_multi_text
$Ani Filename: <default>
+Wave Filename: none

#Briefing
$start_briefing
$num_stages: 4
$start_stage
$multi_text
 XSTR("At 1133 standard centars, the $f ACa $f Zenobia and its battlegroup entered the newly activated subspace portal in Deneb and emerged to our current position in this unexplored star system. The $f Zenobia then began a full sensor scan of the system. What we have found is rather inconclusive and inconsistent. Since then, we have been unable to identify any single ship within the immediate vicinity, nor detect any traces of communication whatsoever.", -1)
$end_multi_text
$voice: none.wav
$camera_pos: 0.000000, 3474.555420, -5958.278809
$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: 26
$team: Friendly
$class: AG Knossos
$pos: 1005.817017, -9.341553, 146.177734
$label:  XSTR("Deneb Knossos", -1)
+id: 1
$hlight: 0
$mirror: 0
$multi_text
$end_multi_text
$end_icon
$start_icon
$type: 5
$team: Friendly
$class: ACa Akrotiri
$pos: -1136.253296, -9.341797, 76.005371
$label:  XSTR("Zenobia", -1)
+id: 2
$hlight: 0
$mirror: 0
$multi_text
$end_multi_text
$end_icon
$end_stage
$start_stage
$multi_text
 XSTR("This is where all of you come in. $f Zenobia $f Tactical has pinpointed several areas in the system where chances of discovering any trace of civilisation is likely. The 65th and 1116th have been sent to patrol the inner and outer system, respectively, while we scout the asteroid field in one of the largest planet's LaGrange points. The density of the field makes it a hazardous place, but it also scrambles any external sensor sweeps.", -1)
$end_multi_text
$voice: none.wav
$camera_pos: 0.000000, 3474.555420, -5958.278809
$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: 1
$Flags: 1
$Formula: ( true )
$start_icon
$type: 5
$team: Friendly
$class: ACa Akrotiri
$pos: 126.445351, -9.342041, 7.035156
$label:  XSTR("Zenobia", -1)
+id: 2
$hlight: 0
$mirror: 0
$multi_text
$end_multi_text
$end_icon
$end_stage
$start_stage
$multi_text
 XSTR("We will launch and explore the areas identified by $f Tactical. You will fly as $f Aleph $f 2, while I will be flying as $f Aleph $f 1. Your task will be to patrol and identify any ships found in the area. $f Zenobia $f Control will be uploading the NAV coordinates to your flight computer. Once you have arrived at the designated area, follow the pattern and keep your scans active at maximum.", -1)
$end_multi_text
$voice: none.wav
$camera_pos: 0.000000, 3474.555420, -5958.278809
$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: 1
$Flags: 2
$Formula: ( true )
$start_icon
$type: 1
$team: Friendly
$class: AF Kato
$pos: 11.429710, -9.341553, -38.292480
$label:  XSTR("Aleph", -1)
+id: 3
$hlight: 0
$mirror: 0
$multi_text
$end_multi_text
$end_icon
$end_stage
$start_stage
$multi_text
 XSTR("This is your first true combat assignment, so do not attempt to underestimate its importance, young nuggets. However, we do not yet know what we're dealing with, so stay alert. Keep your eyes peeled, and be prepared to face any unexpected developments.

Everyone, clear? Time to lock and load, people.", -1)
$end_multi_text
$voice: none.wav
$camera_pos: 0.000000, 3474.555420, -5958.278809
$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: 1
$Flags: 0
$Formula: ( true )
$start_icon
$type: 1
$team: Friendly
$class: AF Kato
$pos: 11.429710, -9.341553, -38.292480
$label:  XSTR("Aleph", -1)
+id: 3
$hlight: 0
$mirror: 0
$multi_text
$end_multi_text
$end_icon
$end_stage
$end_briefing

#Debriefing_info

$Num stages: 1

$Formula: ( = @boolDerelictDestroyed[0] 1 )
$Multi text
    XSTR("The $h Cylon presence in the system was unexpected. Given the number of ships our wings have encountered, we knew an enemy basestar had to be lurking somewhere within. We haven't received any single explanation as to why they are here in the first place, given their movement. I think we'll be kept updated in due course.

Still, stopping the lone $h Cylon $h Heavy $h Raider from achieving its objectives demonstrated what we expect you as a warrior. By doing so, we disrupted their long-term plans.

We may be called in to reinforce the vessels attacking the $h Cylon basestar. Prepare for your next assignment, pilot.", -1)
$end_multi_text
$Voice: none.wav
$Recommendation text:
    XSTR("", -1)
$end_multi_text

#Alternate Types:
$Alt: Unknown Class

#end


#Players ;! 1 total

$Starting Shipname: Aleph 2
$Ship Choices: (
)

+Weaponry Pool: (
"Pharnec" 4
"Crete" 4
"Wrath" 40
"Punisher" 400
)

#Objects ;! 10 total

$Name: Aleph 1 ;! Object #0
$Class: AF Kato
$Team: Friendly
$Location: -0.730223, 0.000011, -1894.401489
$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
$Arrival Location: Hyperspace
$Arrival Cue: ( false )
$Departure Location: Hyperspace
$Departure Cue: ( false )
$Determination: 10
+Flags: ( "cargo-known" "red-alert-carry" )
+Flags2: ( "no-subspace-drive" )
+Respawn priority: 0
+Orders Accepted: 0 ;! note that this is a bitfield!!!
+Group: 0
+Use Table Score:
+Score: 8

$Name: Aleph 2 ;! Object #1
$Class: AF Kato
$Team: Friendly
$Location: 8.186206, 3.008100, -2178.259766
$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
$Arrival Location: Hyperspace
$Arrival Cue: ( false )
$Departure Location: Hyperspace
$Departure Cue: ( false )
$Determination: 10
+Flags: ( "cargo-known" "player-start" "red-alert-carry" )
+Flags2: ( "no-subspace-drive" )
+Respawn priority: 0
+Orders Accepted: 0 ;! note that this is a bitfield!!!
+Group: 0
+Use Table Score:
+Score: 8

$Name: Aleph 3 ;! Object #2
$Class: AF Kato
$Team: Friendly
$Location: -20.359474, -33.545689, -2047.987061
$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
$Arrival Location: Hyperspace
$Arrival Cue: ( false )
$Departure Location: Hyperspace
$Departure Cue: ( false )
$Determination: 10
+Flags: ( "cargo-known" "red-alert-carry" )
+Flags2: ( "no-subspace-drive" )
+Respawn priority: 0
+Orders Accepted: 0 ;! note that this is a bitfield!!!
+Group: 0
+Use Table Score:
+Score: 8

$Name: Aleph 4 ;! Object #3
$Class: AF Kato
$Team: Friendly
$Location: 32.361729, 14.862584, -1993.345703
$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
$Arrival Location: Hyperspace
$Arrival Cue: ( false )
$Departure Location: Hyperspace
$Departure Cue: ( false )
$Determination: 10
+Flags: ( "cargo-known" "red-alert-carry" )
+Flags2: ( "no-subspace-drive" )
+Respawn priority: 0
+Orders Accepted: 0 ;! note that this is a bitfield!!!
+Group: 0
+Use Table Score:
+Score: 8

$Name: Unidentified ;! Object #4
$Class: PyroGX
$Alt: Unknown Class

$Team: Unknown_Ally
$Location: -1016.246094, -353.571655, 10892.894531
$Orientation:
0.161728, -0.958887, 0.233196,
0.027963, 0.240665, 0.970206,
-0.986439, -0.150389, 0.065735
$AI Behavior: None
+AI Class: None
$AI Goals: ( goals ( ai-play-dead 200 ) )
$Cargo 1:  XSTR("Nothing", -1)
+Initial Hull: 48
+Initial Shields: 100
+Subsystem: Pilot
+Subsystem: sensors
$Damage: 100
+Subsystem: communication
$Damage: 100
+Subsystem: weapons
$Damage: 100
+Subsystem: navigation
$Damage: 100
+Subsystem: engine
$Damage: 100
$Arrival Location: Hyperspace
$Arrival Cue: ( is-event-true-delay
   "Reading signal"
   0
)
$Departure Location: Hyperspace
$Departure Cue: ( false )
$Determination: 10
+Flags: ( "protect-ship" "no-shields" "no-arrival-warp" "hidden-from-sensors" "scannable" "red-alert-carry" "beam-protect-ship" "flak-protect-ship" "laser-protect-ship" "missile-protect-ship" )
+Flags2: ( )
+Respawn priority: 0
+Orders Accepted: 0 ;! note that this is a bitfield!!!
+Group: 0
+Use Table Score:
+Score: 30

$Name: Capricorn 1 ;! Object #5
$Class: Heavy Raider
$Team: Hostile
$Location: -631.054382, -353.571777, 10642.882813
$Orientation:
1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000,
0.000000, 0.000000, 1.000000
$AI Behavior: None
+AI Class: Virus infected
$AI Goals: ( goals ( ai-dock "Unidentified" "bottom dock" "Fighter Dock" 200 ) ( ai-ignore-new "Aleph 1" 199 ) ( ai-ignore-new "Aleph 2" 198 ) ( ai-ignore-new "Aleph 3" 197 ) ( ai-ignore-new "Aleph 4" 196 ) )
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 100
+Initial Hull: 100
+Initial Shields: 100
+Subsystem: Pilot
$Arrival Location: Near Ship
+Arrival Distance: 765
$Arrival Anchor: Unidentified
$Arrival Cue: ( is-event-true-delay
   "02 - Cylons arrive"
   0
)
$Departure Location: Hyperspace
$Departure Cue: ( or
   ( has-docked-delay
      "Capricorn 1"
      "Unidentified"
      1
      ( functional-if-then-else
         ( skill-level-at-least "Medium" )
         ( functional-if-then-else
            ( skill-level-at-least "Hard" )
            ( rand 3 7 )
            ( rand 8 13 )
         )
         ( rand 14 19 )
      )
   )
   ( is-destroyed-delay
      ( rand 3 9 )
      "Unidentified"
   )
)
$Determination: 10
+Flags: ( "no-shields" "red-alert-carry" "don't-collide-invisible" )
+Flags2: ( "no-ets" )
+Respawn priority: 0
+Orders Accepted: 0 ;! note that this is a bitfield!!!
+Group: 0
+Use Table Score:
+Score: 20

$Name: Auriga 1 ;! Object #6
$Class: Meteor
$Team: Hostile
$Location: 1659.243530, -0.000488, 4517.007324
$Orientation:
1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000,
0.000000, 0.000000, 1.000000
$AI Behavior: None
+AI Class: Deckhand
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Initial Shields: 100
+Subsystem: Pilot
$Arrival Location: Hyperspace
$Arrival Cue: ( false )
$Departure Location: Hyperspace
$Departure Cue: ( false )
$Determination: 10
+Flags: ( "no-shields" )
+Flags2: ( )
+Respawn priority: 0
+Orders Accepted: 0 ;! note that this is a bitfield!!!
+Group: 0
+Use Table Score:
+Score: 13

$Name: Auriga 2 ;! Object #7
$Class: Meteor
$Team: Hostile
$Location: 1845.749878, -0.000488, 4498.202637
$Orientation:
1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000,
0.000000, 0.000000, 1.000000
$AI Behavior: None
+AI Class: Deckhand
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Initial Shields: 100
+Subsystem: Pilot
$Arrival Location: Hyperspace
$Arrival Cue: ( false )
$Departure Location: Hyperspace
$Departure Cue: ( false )
$Determination: 10
+Flags: ( "no-shields" )
+Flags2: ( )
+Respawn priority: 0
+Orders Accepted: 0 ;! note that this is a bitfield!!!
+Group: 0
+Use Table Score:
+Score: 13

$Name: Auriga 3 ;! Object #8
$Class: Meteor
$Team: Hostile
$Location: 1526.231812, -0.000488, 4415.240234
$Orientation:
1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000,
0.000000, 0.000000, 1.000000
$AI Behavior: None
+AI Class: Deckhand
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Initial Shields: 100
+Subsystem: Pilot
$Arrival Location: Hyperspace
$Arrival Cue: ( false )
$Departure Location: Hyperspace
$Departure Cue: ( false )
$Determination: 10
+Flags: ( "no-shields" )
+Flags2: ( )
+Respawn priority: 0
+Orders Accepted: 0 ;! note that this is a bitfield!!!
+Group: 0
+Use Table Score:
+Score: 13

$Name: Auriga 4 ;! Object #9
$Class: Meteor
$Team: Hostile
$Location: 1657.934082, -0.000488, 4443.701172
$Orientation:
1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000,
0.000000, 0.000000, 1.000000
$AI Behavior: None
+AI Class: Deckhand
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Initial Shields: 100
+Subsystem: Pilot
$Arrival Location: Hyperspace
$Arrival Cue: ( false )
$Departure Location: Hyperspace
$Departure Cue: ( false )
$Determination: 10
+Flags: ( "no-shields" )
+Flags2: ( )
+Respawn priority: 0
+Orders Accepted: 0 ;! note that this is a bitfield!!!
+Group: 0
+Use Table Score:
+Score: 13

#Wings ;! 2 total

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

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

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

$Arrival Location: Near Ship
+Arrival Distance: 155
$Arrival Anchor: Capricorn 1
$Arrival Cue: ( has-arrived-delay 0 "Capricorn 1" )
$Departure Location: Hyperspace
$Departure Cue: ( false )
$Ships: ( ;! 4 total
"Auriga 1"
"Auriga 2"
"Auriga 3"
"Auriga 4"
)
$AI Goals: ( goals ( ai-chase-wing "Aleph" 200 ) )
+Flags: ( )

#Events ;! 37 total

$Formula: ( when ( true ) ( do-nothing ) )
+Name: Initial Events
+Repeat Count: 1
+Interval: 1

$Formula: ( when
   ( = @!RG0101aStage[0] 0 )
   ( do-nothing )
)
+Name: 00 - Check Saved Data
+Repeat Count: 1
+Interval: 1

$Formula: ( when
   ( and
      ( or
         ( and
            ( is-event-true-delay
               "00 - Check Saved Data"
               0
            )
            ( true )
         )
         ( = @saveexist[0] 0 )
      )
      ( is-event-true-msecs-delay
         "Initial Events"
         1
      )
      ( = @!RG0101aStage[0] 0 )
   )
   ( script-eval "sm()" )
   ( modify-variable @!RG0101aStage[0] 1 )
)
+Name: Goto 01
+Repeat Count: 1
+Interval: 1

$Formula: ( when ( true ) ( do-nothing ) )
+Name: Goto 02
+Repeat Count: 1
+Interval: 1

$Formula: ( when
   ( = @!RG0101aStage[0] 1 )
   ( do-nothing )
)
+Name: 01 - Mission Start
+Repeat Count: 1
+Interval: 1

$Formula: ( when
   ( true )
   ( send-message-list
      "Aleph 1"
      "High"
      "We have arrived"
      0
      "#Zenobia Control"
      "High"
      "Acknowledged Aleph"
      6705
   )
)
+Name: First comms
+Repeat Count: 1
+Interval: 1
+Chained: 1

$Formula: ( when
   ( true )
   ( add-nav-waypoint "NAV 1" "NAVWP1" 0 )
)
+Name: NAV setup
+Repeat Count: 1
+Interval: 1
+Chained: 9

$Formula: ( when
   ( true )
   ( select-nav "NAV 1" )
)
+Name: Select NAV 1
+Repeat Count: 1
+Interval: 1
+Chained: 1

$Formula: ( when
   ( <
      ( distance "Aleph 2" "NAVWP1:1" )
      1000
   )
   ( set-nav-visited "NAV 1" )
)
+Name: Dir NAV 1
+Repeat Count: 1
+Interval: 1
+Chained: 0
+Objective:  XSTR("Fly to NAV 1", -1)

$Formula: ( when
   ( true )
   ( restrict-nav "NAV 1" )
)
+Name: Restrict NAV 1
+Repeat Count: 1
+Interval: 1
+Chained: 3

$Formula: ( when
   ( is-event-true-delay "Dir NAV 1" 0 )
   ( send-message-list
      "#Aleph 2"
      "High"
      "Reading signal"
      0
      "Aleph 1"
      "High"
      "Ack A2"
      6660
   )
)
+Name: Reading signal
+Repeat Count: 1
+Interval: 1

$Formula: ( when
   ( is-event-true-delay
      "Fighter discovered"
      0
   )
   ( do-nothing )
)
+Name: Dir Signal
+Repeat Count: 1
+Interval: 1
+Objective:  XSTR("Investigate signal", -1)

$Formula: ( when
   ( has-arrived-delay 0 "Unidentified" )
   ( deactivate-glow-points
      "Unidentified"
   )
)
+Name: Derelict setup
+Repeat Count: 1
+Interval: 1

$Formula: ( when
   ( <
      ( distance "Aleph 2" "Unidentified" )
      2000
   )
   ( ship-visible "Unidentified" )
)
+Name: Fighter discovered
+Repeat Count: 1
+Interval: 1

$Formula: ( when
   ( true )
   ( send-message
      "#Aleph 2"
      "High"
      "Confirmed"
   )
)
+Name: Confirmed
+Repeat Count: 1
+Interval: 1
+Chained: 7

$Formula: ( when
   ( true )
   ( modify-variable @!RG0101aStage[0] 2 )
)
+Name: It's a trap
+Repeat Count: 1
+Interval: 1
+Chained: 9

$Formula: ( when
   ( = @!RG0101aStage[0] 2 )
   ( do-nothing )
)
+Name: 02 - Cylons arrive
+Repeat Count: 1
+Interval: 1

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

$Formula: ( when
   ( has-arrived-delay 0 "Capricorn 1" )
   ( send-message
      "#Aleph 2"
      "High"
      "Hostile contacts"
   )
)
+Name: Hostile contacts
+Repeat Count: 1
+Interval: 1

$Formula: ( when
   ( true )
   ( send-message
      "Aleph 1"
      "High"
      "Going for Derelict"
   )
)
+Name: Going for Derelict
+Repeat Count: 1
+Interval: 1
+Chained: 6

$Formula: ( when
   ( is-destroyed-delay 0 "Unidentified" )
   ( do-nothing )
)
+Name: Dir Destroy Derelict
+Repeat Count: 1
+Interval: 1
+Chained: 0
+Objective:  XSTR("Destroy derelict", -1)

$Formula: ( when-argument
   ( any-of
      "Aleph 1"
      "Aleph 2"
      "Aleph 3"
      "Aleph 4"
   )
   ( true )
   ( clear-goals "Capricorn 1" )
   ( add-goal
      "Capricorn 1"
      ( ai-evade-ship "<argument>" 200 )
   )
)
+Name: Clear Hvy Raider orders
+Repeat Count: 1
+Interval: 1
+Chained: 0

$Formula: ( when
   ( has-docked-delay
      "Unidentified"
      "Capricorn 1"
      1
      0
   )
   ( do-nothing )
)
+Name: Derelict docked
+Repeat Count: 1
+Interval: 1

$Formula: ( when
   ( and
      ( and
         ( has-docked-delay
            "Capricorn 1"
            "Unidentified"
            1
            0
         )
         ( not
            ( is-destroyed-delay 0 "Unidentified" )
         )
      )
      ( has-departed-delay 0 "Capricorn 1" )
   )
   ( send-message
      "#Aleph 2"
      "High"
      "Derelict + Cylon jumped"
   )
   ( modify-variable
      @boolDerelictDeparted[0]
      1
   )
)
+Name: Derelict + Cylon jumped
+Repeat Count: 1
+Interval: 1

$Formula: ( when
   ( is-destroyed-delay 0 "Unidentified" )
   ( send-message
      "#Aleph 2"
      "High"
      "Derelict destroyed"
   )
   ( modify-variable
      @boolDerelictDestroyed[0]
      1
   )
)
+Name: Derelict destroyed
+Repeat Count: 1
+Interval: 1

$Formula: ( when
   ( is-destroyed-delay
      0
      "Auriga"
      "Capricorn 1"
   )
   ( send-message
      "#Aleph 2"
      "High"
      "Cylons cleared"
   )
)
+Name: Cylons cleared
+Repeat Count: 1
+Interval: 1

$Formula: ( when
   ( and
      ( is-destroyed-delay 0 "Auriga" )
      ( has-departed-delay 0 "Capricorn 1" )
   )
   ( send-message
      "#Aleph 2"
      "High"
      "Cylons cleared + 1 escaped"
   )
)
+Name: Cylons cleared + 1 escaped
+Repeat Count: 1
+Interval: 1

$Formula: ( when
   ( or
      ( is-event-true-delay
         "Cylons cleared"
         6
      )
      ( is-event-true-delay
         "Cylons cleared + 1 escaped"
         6
      )
   )
   ( modify-variable @!RG0101aStage[0] 3 )
)
+Name: On to next mission
+Repeat Count: 1
+Interval: 1

$Formula: ( when
   ( = @!RG0101aStage[0] 3 )
   ( do-nothing )
)
+Name: 03 - Mission end
+Repeat Count: 1
+Interval: 1

$Formula: ( when
   ( and
      ( = @boolDerelictDestroyed[0] 1 )
      ( is-event-true-delay
         "03 - Mission end"
         0
      )
   )
   ( do-nothing )
)
+Name: Derelict destroyed?
+Repeat Count: 1
+Interval: 1

$Formula: ( when
   ( true )
   ( send-message
      "#Zenobia Control"
      "High"
      "Return to base"
   )
)
+Name: Return to base
+Repeat Count: 1
+Interval: 1
+Chained: 0

$Formula: ( when ( true ) ( do-nothing ) )
+Name: Fade out
+Repeat Count: 1
+Interval: 1
+Chained: 5

$Formula: ( when ( true ) ( end-mission ) )
+Name: End mission
+Repeat Count: 1
+Interval: 1
+Chained: 0

$Formula: ( when
   ( and
      ( = @boolDerelictDeparted[0] 1 )
      ( is-event-true-delay
         "03 - Mission end"
         0
      )
   )
   ( do-nothing )
)
+Name: Derelict departed?
+Repeat Count: 1
+Interval: 1

$Formula: ( when
   ( true )
   ( send-message
      "Aleph 1"
      "High"
      "We have arrived"
   )
)
+Name: Derelict gone
+Repeat Count: 1
+Interval: 1
+Chained: 0

$Formula: ( when ( true ) ( fade-out ) )
+Name: Fade out
+Repeat Count: 1
+Interval: 1
+Chained: 6

$Formula: ( when ( true ) ( red-alert ) )
+Name: Red alert
+Repeat Count: 1
+Interval: 1
+Chained: 2

#Goals ;! 1 total

$Type: Primary
+Name: Destroy Cylons
$MessageNew:  XSTR("Search asteroid field", -1)
$end_multi_text
$Formula: ( or
   ( is-destroyed-delay
      0
      "Capricorn 1"
      "Auriga"
   )
   ( and
      ( is-destroyed-delay 0 "Capricorn 1" )
      ( has-departed-delay 0 "Auriga" )
   )
)

#Waypoints ;! 1 lists total

$Name: NAVWP1
$List: ( ;! 1 points in list
( -1032.767456, 861.076660, 5105.364258 )
)

#Messages ;! 15 total


$Name: We have arrived
$Team: -1
$MessageNew:  XSTR("Aleph wing has arrived in the asteroid field.  All fighters, assume formation.  We're going to get through this fast and clean.", -1)
$end_multi_text

$Name: Acknowledged Aleph
$Team: -1
$MessageNew:  XSTR("Acknowledged, Aleph.  We've transmitted the search pattern into your navigational computer.  There should be the first NAV point highlighted in your HUD.  Good luck.", -1)
$end_multi_text

$Name: Reading signal
$Team: -1
$MessageNew:  XSTR("I'm reading something... a faint energy signature.  Unable to trace the source, but it's coming from somewhere near our position.", -1)
$end_multi_text

$Name: Ack A2
$Team: -1
$MessageNew:  XSTR("My sensors just picking it up too, Aleph 2.  Let's go check it out and be on a lookout.", -1)
$end_multi_text

$Name: Fighter discovered
$Team: -1
$MessageNew:  XSTR("It's a derelict fighter!  It must have come from one of the terrestrial planets in this system...", -1)
$end_multi_text

$Name: Confirmed
$Team: -1
$MessageNew:  XSTR("Confirmed, it's a fighter from one of those planets.  Should we destroy it?", -1)
$end_multi_text

$Name: Hostile contacts
$Team: -1
$MessageNew:  XSTR("New hostile contacts!  Reading one Heavy Raider and four Meteor escorts.  What are they doing here?", -1)
$end_multi_text

$Name: Going for Derelict
$Team: -1
$MessageNew:  XSTR("They're going for the derelict!  They must have anticipated our presence!  We must stop them!", -1)
$end_multi_text

$Name: Derelict docked
$Team: -1
$MessageNew:  XSTR("They have docked with the derelict!  Stop them before they jump out!", -1)
$end_multi_text

$Name: Derelict + Cylon jumped
$Team: -1
$MessageNew:  XSTR("They've jumped!  With the derelict in tow.", -1)
$end_multi_text

$Name: Derelict destroyed
$Team: -1
$MessageNew:  XSTR("The derelict has been destroyed.  The Cylons wouldn't get anything from it after all.", -1)
$end_multi_text

$Name: Cylons cleared
$Team: -1
$MessageNew:  XSTR("All Cylon forces have been destroyed.", -1)
$end_multi_text

$Name: Cylons cleared + 1 escaped
$Team: -1
$MessageNew:  XSTR("We have destroyed all Cylon forces, but one escaped.", -1)
$end_multi_text

$Name: Derelict gone
$Team: -1
$MessageNew:  XSTR("They've taken the derelict to somewhere... I know where it is.  Get ready, everyone.  We'll be going there.", -1)
$end_multi_text

$Name: Return to base
$Team: -1
$MessageNew:  XSTR("All fighters, you are to return to base.  We're sending out a full assault force to execute a clean sweep of the area.", -1)
$end_multi_text

#Reinforcements ;! 0 total


#Background bitmaps ;! 0 total

$Num stars: 500
$Ambient light level: 7895160

$Bitmap List:
$Sun: SunSol
+Angles: 0.000000 0.000000 0.000000
+Scale: 1.000000

#Asteroid Fields

$Density: 512
+Field Type: 0
+Debris Genre: 0
+Field Debris Type: 0
+Field Debris Type: 2
$Average Speed: 0.999861
$Minimum: -5000.000000, -5000.000000, -2000.000000
$Maximum: 5000.000000, 5000.000000, 25000.000000

#Music

$Event Music: None
$Briefing Music: None

#End
--- End code ---

Bryan See:
The first mission and subsequent ones have undergone drastic changes because I felt I wanted to give the player character development as well as world building to extend the 2018 Mortal Engines movie universe, of which the mod is based on.

Things are going on at ModDB, and a first teaser trailer was released.


EDIT: I've forgot to provide a link to the ModDB page, which is being updated regularly.

Navigation

[0] Message Index

[*] Previous page

Go to full version