MISSION_TEMPLATE

name:   "Zolon Patrol"
type:   "Patrol"
system: "Tarsus"
region: "Tarsus"

degrees: true

alias:      { name: ZCS, elem: "Consular Starship", loc: (0,0,0)  }
alias:      { name: ZD1, elem: "ZD02" }
alias:      { name: ZD2, elem: "ZD03" }
alias:      { name: A1,  elem: "Atlas" }

callsign:   { name: ZF1,     iff: 4 }
callsign:   { name: ZF2,     iff: 4 }
callsign:   { name: ZF3,     iff: 4 }

alias: {
   name:    Player,
   code:    player,
   mission: patrol,

   navpt:   { cmd: patrol, rloc: { ref: ZCS, dex: 40e3, dex_var: 15e3, az:   0, az_var: 10 }, speed: 750 },
   navpt:   { cmd: patrol, rloc: { ref: ZCS, dex: 40e3, dex_var: 15e3, az:  90, az_var: 10 }, speed: 750 },
   navpt:   { cmd: patrol, rloc: { ref: ZCS, dex: 40e3, dex_var: 15e3, az: 170, az_var: 10 }, speed: 750 },

   objective: { cmd: patrol, tgt_desc: "suspected enemy units" },
}


// ZOLON FORCES:

element: {
   name:      ZF1,
   design:    ZZF,
   mission:   Assault,

   intel:     Secret,
   count:     4,
   command_ai:1,
   iff:       4,
   playable:  false,
   region:    Theramin,
   loc:       (-20000, -25000, 0),
}

element: {
   name:      ZF2,
   design:    ZZA,
   mission:   Assault,

   intel:     Secret,
   count:     4,
   command_ai:1,
   iff:       4,
   playable:  false,
   region:    Theramin,
   loc:       (-30000, -25000, 0),
}

element: {
   name:      ZF3,
   design:    ZZF,
   mission:   Patrol,

   intel:     Secret,
   count:     4,
   command_ai:1,
   iff:       4,
   playable:  false,
   region:    Theramin,
   loc:       (-40000, -25000, 0),
}



// ZOLON EVENTS:

event: {
   id:              1,
   time:            200.0,
   event:           Jump,
   event_ship:      "ZF1 1",
   event_target:    Tarsus,
   trigger:         Time,
}

event: {
   id:              2,
   time:            201.0,
   event:           Jump,
   event_ship:      "ZF1 2",
   event_target:    Tarsus,
   trigger:         Time,
}

event: {
   id:              3,
   time:            203.0,
   event:           Jump,
   event_ship:      "ZF1 3",
   event_target:    Tarsus,
   trigger:         Time,
}

event: {
   id:              4,
   time:            203.5,
   event:           Jump,
   event_ship:      "ZF1 4",
   event_target:    Tarsus,
   trigger:         Time,
}

event: {
   id:              5,
   event:           Objective,
   event_ship:      ZF1,
   event_param:     10,
   event_target:    ZCS,

   trigger:         Event,
   trigger_param:   4,
   delay:           2,
}

event: {
   id:              6,
   time:            0.0,
   delay:           180.0,
   event:           Jump,
   event_ship:      "ZF1 1",
   event_target:    Theramin,
   trigger:         Destroyed,
   trigger_ship:    ZCS,
}

event: {
   id:              7,
   time:            0.0,
   delay:           181.0,
   event:           Jump,
   event_ship:      "ZF1 2",
   event_target:    Theramin,
   trigger:         Destroyed,
   trigger_ship:    ZCS,
}

event: {
   id:              8,
   time:            0.0,
   delay:           182.0,
   event:           Jump,
   event_ship:      "ZF1 3",
   event_target:    Theramin,
   trigger:         Destroyed,
   trigger_ship:    ZCS,
}

event: {
   id:              9,
   time:            0.0,
   delay:           183.0,
   event:           Jump,
   event_ship:      "ZF1 4",
   event_target:    Theramin,
   trigger:         Destroyed,
   trigger_ship:    ZCS,
}




event: {
   id:              11,
   time:            220.0,
   event:           Jump,
   event_ship:      "ZF2 1",
   event_target:    Tarsus,
   trigger:         Time,
}

event: {
   id:              12,
   time:            221.0,
   event:           Jump,
   event_ship:      "ZF2 2",
   event_target:    Tarsus,
   trigger:         Time,
}

event: {
   id:              13,
   time:            223.0,
   event:           Jump,
   event_ship:      "ZF2 3",
   event_target:    Tarsus,
   trigger:         Time,
}

event: {
   id:              14,
   time:            223.5,
   event:           Jump,
   event_ship:      "ZF2 4",
   event_target:    Tarsus,
   trigger:         Time,
}

event: {
   id:              15,
   event:           Objective,
   event_ship:      ZF2,
   event_param:     10,
   event_target:    ZCS,

   trigger:         Event,
   trigger_param:   14,
   delay:           2,
}

event: {
   id:              16,
   time:            0.0,
   delay:           180.0,
   event:           Jump,
   event_ship:      "ZF2 1",
   event_target:    Theramin,
   trigger:         Destroyed,
   trigger_ship:    ZCS,
}

event: {
   id:              17,
   time:            0.0,
   delay:           181.0,
   event:           Jump,
   event_ship:      "ZF2 2",
   event_target:    Theramin,
   trigger:         Destroyed,
   trigger_ship:    ZCS,
}

event: {
   id:              18,
   time:            0.0,
   delay:           182.0,
   event:           Jump,
   event_ship:      "ZF2 3",
   event_target:    Theramin,
   trigger:         Destroyed,
   trigger_ship:    ZCS,
}

event: {
   id:              19,
   time:            0.0,
   delay:           183.0,
   event:           Jump,
   event_ship:      "ZF2 4",
   event_target:    Theramin,
   trigger:         Destroyed,
   trigger_ship:    ZCS,
}



event: {
   id:              21,
   time:            300.0,
   event:           Jump,
   event_ship:      "ZF3 1",
   event_target:    Tarsus,
   trigger:         Time,
}

event: {
   id:              22,
   time:            301.0,
   event:           Jump,
   event_ship:      "ZF3 2",
   event_target:    Tarsus,
   trigger:         Time,
}

event: {
   id:              23,
   time:            303.0,
   event:           Jump,
   event_ship:      "ZF3 3",
   event_target:    Tarsus,
   trigger:         Time,
}

event: {
   id:              24,
   time:            303.5,
   event:           Jump,
   event_ship:      "ZF3 4",
   event_target:    Tarsus,
   trigger:         Time,
}

event: {
   id:              26,
   time:            0.0,
   delay:           180.0,
   event:           Jump,
   event_ship:      "ZF3 1",
   event_target:    Theramin,
   trigger:         Destroyed,
   trigger_ship:    ZCS,
}

event: {
   id:              27,
   time:            0.0,
   delay:           181.0,
   event:           Jump,
   event_ship:      "ZF3 2",
   event_target:    Theramin,
   trigger:         Destroyed,
   trigger_ship:    ZCS,
}

event: {
   id:              28,
   time:            0.0,
   delay:           182.0,
   event:           Jump,
   event_ship:      "ZF3 3",
   event_target:    Theramin,
   trigger:         Destroyed,
   trigger_ship:    ZCS,
}

event: {
   id:              29,
   time:            0.0,
   delay:           183.0,
   event:           Jump,
   event_ship:      "ZF3 4",
   event_target:    Theramin,
   trigger:         Destroyed,
   trigger_ship:    ZCS,
}



event: {
   id:              50,
   time:            300.0,
   event:           Jump,
   event_ship:      "ZD1",
   event_target:    Tarsus,
   trigger:         Time,
}

event: {
   id:              51,
   time:            315.0,
   event:           Jump,
   event_ship:      "ZD2",
   event_target:    Tarsus,
   trigger:         Time,
}


event: {
   id:              52,
   event:           Objective,
   event_ship:      ZD1,
   event_param:     10,
   event_target:    ZCS,

   trigger:         Event,
   trigger_param:   4,
   delay:           2,
}

event: {
   id:              53,
   event:           Objective,
   event_ship:      ZD2,
   event_param:     10,
   event_target:    ZCS,

   trigger:         Event,
   trigger_param:   4,
   delay:           2,
}


event: {
   id:              54,
   time:            0.0,
   delay:           190.0,
   event:           Jump,
   event_ship:      "ZD1",
   event_target:    Theramin,
   trigger:         Destroyed,
   trigger_ship:    ZCS,
}

event: {
   id:              55,
   time:            0.0,
   delay:           201.0,
   event:           Jump,
   event_ship:      "ZD2",
   event_target:    Theramin,
   trigger:         Destroyed,
   trigger_ship:    ZCS,
}



event: {
   id:              100,
   time:            230.0,
   event:           Message,
   sound:           "Vox/Misc/A02-02.ogg",
   event_message:   "vox.misc.a02-02",
   event_source:    A1,
}

event: {
   id:              101,
   time:            233.0,
   event:           Message,
   sound:           "Vox/Misc/A02-03.ogg",
   event_message:   "vox.misc.a02-03",
   event_source:    A1,
}

event: {
   id:              102,
   time:            238.0,
   event:           Objective,
   sound:           "Vox/Misc/A02-04.ogg",
   event_message:   "vox.misc.a02-04",
   event_source:    A1,
   event_param:     4,
   event_target:    ZCS,
}

event: {
   id:              110,
   time:            0,
   delay:           110,
   event:           Message,
   sound:           "Vox/Misc/A02-07.ogg",
   event_message:   "vox.misc.a02-07",
   event_source:    A1,
   trigger:         Destroyed,
   trigger_ship:    ZCS,
}

event: {
   id:              111,
   time:            0,
   delay:           112,
   event:           Message,
   sound:           "Vox/Misc/A02-08.ogg",
   event_message:   "vox.misc.a02-08",
   event_source:    A1,
   trigger:         Destroyed,
   trigger_ship:    ZCS,
}

// EOF
