Debian Codegraph @

data/missions/mission09

raw
1 Mission {
2
3 missionName = BioMech Supply Base Outskirts;
4
5 bsp = data/bsp/enemyBase1_1.bsp;
6
7 music = music/Tales Untold.xm;
8
9 fogColor = 0.25 0.25 0.25;
10 fogMin = 0;
11 fogMax = 2500;
12 fogDensity = 0.25;
13
14 skySphere = textures/game/day2.jpg;
15 skySphereSize = 1;
16
17 enemyLevel = 2;
18
19 supplyCrateList = WEP_UZI|WEP_SHOTGUN|WEP_PLASMA_PISTOL|WEP_GRENADE_LAUNCHER;
20
21 enemySpawnList = NME_PISTOL_BLOB|NME_MACHINEGUN_BLOB|NME_SHOTGUN_BLOB|NME_PISTOL_DROID|NME_MACHINEGUN_DROID|NME_GRENADE_BLOB;
22 spawnSize = 6;
23 minSpawnTime = 4500;
24 maxSpawnTime = 6000;
25
26 startCutscene = data/cutscenes/scripts/supplyStart;
27
28 exitToMission = AUTO;
29 };
30
31 Objective {
32
33 id = 1;
34 priority = OBJ_PRIORITY_PRIMARY;
35 description = Have Spark Plug open base water door;
36 status = OBJ_INCOMPLETE;
37 active = 1;
38
39 };
40
41 Objective {
42
43 id = 3;
44 priority = OBJ_PRIORITY_PRIMARY;
45 description = Teleport in demolition Blob;
46 status = OBJ_INCOMPLETE;
47 active = 1;
48
49 };
50
51 Objective {
52
53 id = 4;
54 priority = OBJ_PRIORITY_PRIMARY;
55 description = Plant bombs in base foundations;
56 status = OBJ_INCOMPLETE;
57 targetValue = 6;
58 active = 1;
59 completionTrigger = teleportOutSilvester;
60
61 };
62
63 Objective {
64
65 id = 5;
66 priority = OBJ_PRIORITY_PRIMARY;
67 description = Rescue MIAs;
68 status = OBJ_INCOMPLETE;
69 targetValue = 4;
70 active = 1;
71
72 };
73
74 Objective {
75
76 id = 6;
77 priority = OBJ_PRIORITY_SECONDARY;
78 description = Find some better protection;
79 status = OBJ_INCOMPLETE;
80 active = 1;
81
82 };
83
84 Objective {
85
86 id = 7;
87 priority = OBJ_PRIORITY_CONDITION;
88 description = Protect Spark Plug;
89 status = OBJ_INCOMPLETE;
90 active = 1;
91
92 };
93
94 Objective {
95
96 id = 8;
97 priority = OBJ_PRIORITY_CONDITION;
98 description = Protect Silvester;
99 status = OBJ_INCOMPLETE;
100 active = 0;
101
102 };
103
104 Objective {
105
106 id = 9;
107 priority = OBJ_PRIORITY_CONDITION;
108 description = Do not allow any MIAs to be killed;
109 status = OBJ_INCOMPLETE;
110 active = 1;
111
112 };
113
114 // ============ Base Access Triggers =================
115
116 Trigger {
117
118 active = 1;
119
120 type = TRIGGER_TYPE_NONE;
121
122 action = TRIGGER_ACTION_TELEPORT_BLOB;
123
124 name = waterDoor1;
125 targetName = Spark Plug;
126
127 };
128
129 Trigger {
130
131 active = 1;
132
133 type = TRIGGER_TYPE_NONE;
134
135 action = TRIGGER_ACTION_UPDATE_OBJECTIVE;
136
137 name = waterDoor1;
138 objectiveId = 1;
139
140 };
141
142 // ============ Bridge Triggers =================
143
144 Trigger {
145
146 active = 1;
147
148 type = TRIGGER_TYPE_ENTITY_KILLED;
149
150 action = TRIGGER_ACTION_TOGGLE_STRUCTURE;
151 name = bridgeBarrierGen;
152 targetName = bridgeBarrier;
153
154 targetValue = 2;
155
156 };
157
158 // ============ MIAs =================
159
160 Trigger {
161
162 active = 1;
163
164 type = TRIGGER_TYPE_BLOB_RESCUED;
165
166 action = TRIGGER_ACTION_UPDATE_OBJECTIVE;
167 name = ANY_MIA;
168 objectiveId = 5;
169
170 };
171
172 Trigger {
173
174 active = 1;
175
176 type = TRIGGER_TYPE_ENTITY_KILLED;
177
178 action = TRIGGER_ACTION_UPDATE_OBJECTIVE;
179 name = ANY_MIA;
180 objectiveId = 9;
181
182 };
183
184 // ============ Silvester =================
185
186 Trigger {
187
188 active = 1;
189
190 type = TRIGGER_TYPE_NONE;
191
192 action = TRIGGER_ACTION_ENABLE_FEATURE;
193
194 name = demoSpawner;
195 targetName = demoSpawner;
196
197 };
198
199 Trigger {
200
201 active = 1;
202
203 type = TRIGGER_TYPE_NONE;
204
205 action = TRIGGER_ACTION_UPDATE_OBJECTIVE;
206
207 name = demoSpawner;
208 objectiveId = 3;
209
210 };
211
212 Trigger {
213
214 active = 1;
215
216 type = TRIGGER_TYPE_NONE;
217
218 action = TRIGGER_ACTION_ENABLE_OBJECTIVE;
219
220 name = demoSpawner;
221 objectiveId = 8;
222
223 };
224
225 // ============ Base foundations =================
226
227 Trigger {
228
229 active = 1;
230
231 type = TRIGGER_TYPE_NONE;
232
233 action = TRIGGER_ACTION_UPDATE_OBJECTIVE;
234 objectiveId = 4;
235 name = bombFoundation;
236
237 };
238
239 Trigger {
240
241 active = 1;
242
243 type = TRIGGER_TYPE_NONE;
244
245 action = TRIGGER_ACTION_TELEPORT_BLOB;
246 name = teleportOutSilvester;
247 targetName = Silvester;
248
249 };
250
251 // ============ Shield Belt =================
252
253 Trigger {
254
255 active = 1;
256
257 type = TRIGGER_TYPE_ITEM_PICKED_UP;
258
259 action = TRIGGER_ACTION_UPDATE_OBJECTIVE;
260 name = shieldBelt;
261 objectiveId = 6;
262
263 };
264
265 // ============ Conditions =================
266
267 Trigger {
268
269 active = 1;
270
271 type = TRIGGER_TYPE_ENTITY_KILLED;
272
273 action = TRIGGER_ACTION_UPDATE_OBJECTIVE;
274 name = Spark Plug;
275 objectiveId = 7;
276
277 };
278
279 Trigger {
280
281 active = 1;
282
283 type = TRIGGER_TYPE_ENTITY_KILLED;
284
285 action = TRIGGER_ACTION_UPDATE_OBJECTIVE;
286 name = Silvester;
287 objectiveId = 8;
288
289 };
290
291 @END@