summaryrefslogtreecommitdiffhomepage
path: root/data/content/Campaigns/02/Templates/IS_Patrol_01.def
blob: 7ddb607a1530f93e838bfc8069a6674b660f6461 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
MISSION_TEMPLATE

name:       "Fighter Patrol 1"
type:       PATROL
degrees:    true

alias:      { name: A1, code: player_carrier    }
alias:      { name: A2, code: player_squadron   }

callsign:   { name: Player,  iff: 1 }
callsign:   { name: Hector,  iff: 1 }
callsign:   { name: Alpha,   iff: 2 }
callsign:   { name: Bravo,   iff: 2 }
callsign:   { name: Charlie, iff: 2 }
callsign:   { name: Delta,   iff: 2 }
callsign:   { name: Echo,    iff: 2 }

element: {
   name:    Player,
   design:  Falcon,
   squadron: A2,
   commander: A1,
   rloc:    { ref: A1, dex: 20e3, dex_var: 1e3 },
   mission: patrol,

   player:  1,
   alert:   true,
   count:   2,
   iff:     1,

   navpt:   { cmd: patrol, rloc: { ref: A1,       dex: 140e3, dex_var: 35e3, az:   0, az_var: 30 }, speed: 750 },
   navpt:   { cmd: patrol, rloc: { ref: "this:1", dex: 130e3, dex_var: 15e3, az:  90, az_var: 30 }, speed: 750 },
   navpt:   { cmd: patrol, rloc: { ref: "this:2", dex: 100e3, dex_var: 15e3, az: 180, az_var: 30 }, speed: 750 },
   navpt:   { cmd: vector, rloc: { ref: A1,       dex: 40e3,                 az: 150, az_var:  5 }, speed: 500 },
   navpt:   { cmd: rtb,    rloc: { ref: A1,       dex: 20e3,                 az: 180, az_var:  0 }, speed: 250 },
 
   objective: { cmd: patrol,            tgt_desc: "inbound enemy units" },
   objective: { cmd: defend, tgt: Ward, tgt_desc: "the star freighter"  },
   objective: { cmd: rtb },

   loadout: { ship: -1, name: "ACM Medium Range" },
}

element: {
   name:    Hector,
   design:  Stormhawk,
   squadron: A2,
   commander: A1,
   rloc:    { ref: A1, dex: 60e3, dex_var: 20e3 },
   mission: patrol,
   count:   2,
   iff:     1,
}

optional: {
    min: 0,
    max: 1,

    element: {
       name:    Ward,
       design:  IM2800,
       rloc:    { ref: "Player:3", dex: 40e3, dex_var: 17e3 },
       count:   1,
       iff:     0,
       intel:   known,
       navpt:   { cmd: vector, rloc: { ref: "Player:2", dex: 30e3, dex_var: 10e3 }, speed: 400 },
       navpt:   { cmd: vector, rloc: { ref: "Player:1", dex: 50e3, dex_var: 10e3 }, speed: 400 },
    },

    element: {
       name:    Ward,
       design:  IM2800,
       rloc:    { ref: "Player:1", dex: 40e3, dex_var: 17e3 },
       count:   1,
       iff:     0,
       intel:   known,
       navpt:   { cmd: vector, rloc: { ref: "Player:2", dex: 30e3, dex_var: 10e3 }, speed: 400 },
       navpt:   { cmd: vector, rloc: { ref: "Player:3", dex: 50e3, dex_var: 10e3 }, speed: 400 },
    },
}

optional: {
    min: 3,
    max: 4,

    element: {
       name:    Alpha,
       design:  Viper,
       rloc:    { ref: "Player:1", dex: 30e3, dex_var: 5e3 },
       count:   4,
       iff:     2,
       loadout: { ship: -1, name: "ACM Medium Range" },
       intel:   known,
    },

    element: {
       name:    Bravo,
       design:  Razor,
       rloc:    { ref: "Player:2", dex: 20e3, dex_var: 5e3 },
       count:   3,
       iff:     2,
       loadout: { ship: -1, name: "ACM Medium Range" },
       intel:   secret,
    },

    element: {
       name:    Charlie,
       design:  Viper,
       rloc:    { ref: "Player:2", dex: 33e3, dex_var: 5e3 },
       count:   3,
       iff:     2,
       loadout: { ship: -1, name: "ACM Medium Range" },
       intel:   known,
    },

    element: {
       name:    Delta,
       design:  Viper,
       rloc:    { ref: "Player:3", dex: 25e3, dex_var: 5e3 },
       count:   3,
       iff:     2,
       loadout: { ship: -1, name: "ACM Medium Range" },
       intel:   known,
    },

    element: {
       name:    Echo,
       design:  Razor,
       rloc:    { ref: "Player:3", dex: 45e3, dex_var: 9e3 },
       count:   3,
       iff:     2,
       loadout: { ship: -1, name: "ACM Medium Range" },
       intel:   secret,
    },
}