MISSION

name:    "c01.t02.name"
type:    "Training"
system:  "Janus"
region:  "Janek"

objective:  "c01.t02.obj"
sitrep:     "c01.t02.sitrep"

start:   "01/09:23:00"

ship: {
   name:       Archon,
   design:     Orion,
   loc:        (0, 0, 0),
   count:      1,
   iff:        1,
   command_ai: 0,
}

/*****/

element: {
   name:    Stallions,
   design:  Falcon,
   count:   20,
   maint_count: 5,
   dead_count: 5,
   carrier: Archon,
   iff:     1,
   loadout: { ship: -1, name: "ACM Medium Range" },
   }

element: {
   name:    Echo,
   design:  Falcon,
   squadron: Stallions,
   loc:     (1e3, 2e3, 0),
   mission: sweep,
   objective: { cmd: intercept, tgt: Alpha },
   objective: { cmd: intercept, tgt: Bravo },
   player:  1,
   alert:   true,
   count:   2,
   iff:     1,
   loadout: { ship: -1, name: "ACM Medium Range" },

   navpt:   { cmd: vector, loc: ( 5e3,-10e3, 0), speed: 500 },
   navpt:   { cmd: vector, loc: (12e3,-25e3, 0), speed: 500 },
   navpt:   { cmd: sweep,  loc: (40e3,    0, 0), speed: 500 },
   navpt:   { cmd: sweep,  loc: (30e3, 30e3, 0), speed: 500 },
   navpt:   { cmd: rtb,    loc: (   0, 30e3, 0), speed: 250 }
}

/***/

element: {
   name:    Alpha,
   design:  TargetDrone,
   loc:     (-12e3, -50e3, 0),
   count:   4,
   iff:     2,

   navpt:   { cmd: vector, loc: (-8e3, -50e3, 0), speed: 400 },
   navpt:   { cmd: vector, loc: (30e3, -30e3, 0), speed: 400 },
   navpt:   { cmd: vector, loc: (30e3,     0, 0), speed: 400 },
   navpt:   { cmd: vector, loc: (50e3,  50e3, 0), speed: 400 },
}

element: {
   name:    Bravo,
   design:  TargetDrone,
   loc:     (5e3,  50e3, 0),
   count:   4,
   iff:     2,

   navpt:   { cmd: vector, loc: (10e3,  40e3, 0), speed: 400 },
   navpt:   { cmd: vector, loc: (20e3,  25e3, 0), speed: 400 },
   navpt:   { cmd: vector, loc: (50e3,     0, 0), speed: 400 },
   navpt:   { cmd: vector, loc: (50e3, -50e3, 0), speed: 400 },
}

element: {
   name:    Delta,
   design:  Viper,
   loc:     (40e3,  60e3, 0),
   count:   2,
   iff:     200,
   loadout: { ship: -1, name: "ACM Medium Range" },

   navpt:   { cmd: sweep, loc: (15e3,  -40e3, 0), speed: 750 },
}


event: {
   id:              101,
   event:           Message,
   trigger:         Destroyed,
   trigger_ship:    "Alpha 1",
}

event: {
   id:              102,
   event:           Message,
   trigger:         Destroyed,
   trigger_ship:    "Alpha 2",
}

event: {
   id:              103,
   event:           Message,
   trigger:         Destroyed,
   trigger_ship:    "Alpha 3",
}

event: {
   id:              104,
   event:           Message,
   trigger:         Destroyed,
   trigger_ship:    "Alpha 4",
}



event: {
   id:              106,
   event:           Message,
   trigger:         Destroyed,
   trigger_ship:    "Bravo 1",
}

event: {
   id:              107,
   event:           Message,
   trigger:         Destroyed,
   trigger_ship:    "Bravo 2",
}

event: {
   id:              108,
   event:           Message,
   trigger:         Destroyed,
   trigger_ship:    "Bravo 3",
}

event: {
   id:              109,
   event:           Message,
   trigger:         Destroyed,
   trigger_ship:    "Bravo 4",
}


event: {
   id:              120,
   event:           Message,
   trigger:         Destroyed,
   trigger_ship:    "Delta 1",
}

event: {
   id:              121,
   event:           Message,
   trigger:         Destroyed,
   trigger_ship:    "Delta 2",
}


// VOICE-OVER


event: { id: 151, event: Message, time:   2, sound: "Vox/Train/Train-02-01.ogg",  message: "c01.t02.e151" }
event: { id: 152, event: Message, time:  25, sound: "Vox/Train/Train-02-02a.ogg", message: "c01.t02.e152" }
event: { id: 153, event: Message, time:  42, sound: "Vox/Train/Train-02-02b.ogg", message: "c01.t02.e153" }
event: { id: 154, event: Message, time:  55, sound: "Vox/Train/Train-02-03.ogg",  message: "c01.t02.e154" }
event: { id: 155, event: Message, time:  90, sound: "Vox/Train/Train-02-04.ogg",  message: "c01.t02.e155" }

event: {
   id:              199,
   event:           Message,
   trigger:         "Event (ANY)",
   trigger_param:   (101, 102, 103, 104), 
}

event: {
   id:              200, 
   event:           Message,
   sound:           "Vox/Train/Train-02-05.ogg",  
   message:         "Good!",
   trigger:         "Event (ALL)",
   trigger_param:   (155, 199), 
   delay:           1
}

event: {
   id:              201,
   event:           Message,
   sound:           "Vox/Train/Train-02-06.ogg",  message: "c01.t02.e201",
   trigger:         Event,
   trigger_param:   200,
   delay:           5
}

event: { 
   id:              205,
   event:           Message,
   sound:           "Vox/Train/Train-02-07.ogg",
   message:         "c01.t01.e205",
   trigger:         "Event (ALL)",
   trigger_param:   (101, 102, 103, 104, 201), 
   delay: 1
}


event: {
   id:              210,
   event:           Message,
   sound:           "Vox/Train/Train-02-08.ogg",
   message:         "c01.t01.e210",
   trigger:         "Event (ALL)",
   trigger_param:   (205, 106, 107, 108, 109),
}

event: {
   id:              211,
   event:           Message,
   sound:           "Vox/Train/Train-02-09.ogg",
   message:         "c01.t01.e211",
   trigger:         Event,
   trigger_param:   210,
   delay:           3
}


event: {
   id:              212,
   event:           IFF,
   event_param:     2,
   event_ship:      "Delta 1",
   trigger:         Event,
   trigger_param:   211,
   delay:           3
}

event: {
   id:              213,
   event:           Message,
   sound:           "Vox/Train/Train-02-10.ogg",
   event_message:   "c01.t01.e213",
   trigger:         "Event",
   trigger_param:   211,
   delay:           25
}

event: {
   id:              215,
   event:           Message,
   sound:           "Vox/Train/Train-02-11.ogg",
   event_message:   "c01.t01.e215",
   trigger:         "Event (ALL)",
   trigger_param:   (120, 121),
}

event: { 
   id:              300,
   event:           Message, 
   message:         "c01.t01.e300",
   sound:           "Vox/Train/Train-02-12.ogg", 
   trigger:         Navpoint,
   trigger_param:   5,
   trigger_ship:    Echo
}

event: {
   id:              301,
   event:           Message,
   message:         "c01.t01.e301",
   sound:           "Vox/Train/Train-02-13.ogg",
   trigger:         Event, 
   trigger_param:   300, 
   delay:           18
}
