Debian Codegraph @

data/missions/mission17

raw
1 CustomItem {
2
3 name = Red Gem;
4
5 model1 = gfx/rw2/diamond.blend.raw;
6
7 texture1 = textures/game/redGem.png;
8
9 bbMins = -4 -4 -4;
10
11 bbMaxs = 4 4 4;
12
13 customCarriable = 1;
14
15 };
16
17 CustomItem {
18
19 name = Orange Gem;
20
21 model1 = gfx/rw2/diamond.blend.raw;
22
23 texture1 = textures/game/orangeGem.png;
24
25 bbMins = -4 -4 -4;
26
27 bbMaxs = 4 4 4;
28
29 customCarriable = 1;
30
31 };
32
33
34 CustomItem {
35
36 name = Yellow Gem;
37
38 model1 = gfx/rw2/diamond.blend.raw;
39
40 texture1 = textures/game/yellowGem.png;
41
42 bbMins = -4 -4 -4;
43
44 bbMaxs = 4 4 4;
45
46 customCarriable = 1;
47
48 };
49
50 CustomItem {
51
52 name = Green Gem;
53
54 model1 = gfx/rw2/diamond.blend.raw;
55
56 texture1 = textures/game/greenGem.png;
57
58 bbMins = -4 -4 -4;
59
60 bbMaxs = 4 4 4;
61
62 customCarriable = 1;
63
64 };
65
66 CustomItem {
67
68 name = Blue Gem;
69
70 model1 = gfx/rw2/diamond.blend.raw;
71
72 texture1 = textures/game/blueGem.png;
73
74 bbMins = -4 -4 -4;
75
76 bbMaxs = 4 4 4;
77
78 customCarriable = 1;
79
80 };
81
82 CustomItem {
83
84 name = Purple Gem;
85
86 model1 = gfx/rw2/diamond.blend.raw;
87
88 texture1 = textures/game/purpleGem.png;
89
90 bbMins = -4 -4 -4;
91
92 bbMaxs = 4 4 4;
93
94 customCarriable = 1;
95
96 };
97
98 //============== Main Mission Data =======================
99
100 Mission {
101
102 missionName = Ancient Tomb Entrance;
103
104 bsp = data/bsp/ancientTomb1.bsp;
105
106 music = music/Dark.s3m;
107
108 startCutscene = data/cutscenes/scripts/ancientTomb1Start;
109
110 fogColor = 0 0 0;
111 fogMin = 1000;
112 fogMax = 3000;
113 fogDensity = 0.25;
114
115 skySphere = textures/game/starsky2.png;
116 skySphereSize = 10;
117
118 enemyLevel = 3;
119
120 enemySpawnList = NME_PISTOL_BLOB|NME_MACHINEGUN_BLOB|NME_SHOTGUN_BLOB|NME_PISTOL_DROID|NME_MACHINEGUN_DROID|NME_GRENADE_BLOB|NME_LIGHT_PLASMA_BLOB;
121 spawnSize = 4;
122 minSpawnTime = 3000;
123 maxSpawnTime = 4500;
124
125 exitToMission = AUTO;
126
127 supplyCrateList = WEP_UZI|WEP_SHOTGUN|WEP_PLASMA_PISTOL;
128 };
129
130 Objective {
131
132 id = 1;
133 priority = OBJ_PRIORITY_PRIMARY;
134 description = Locate secret tomb entrance;
135 status = OBJ_INCOMPLETE;
136 active = 1;
137
138 };
139
140 Objective {
141
142 id = 2;
143 priority = OBJ_PRIORITY_PRIMARY;
144 description = Find Red Gem;
145 status = OBJ_INCOMPLETE;
146 active = 1;
147
148 };
149
150 Objective {
151
152 id = 3;
153 priority = OBJ_PRIORITY_PRIMARY;
154 description = Find Orange Gem;
155 status = OBJ_INCOMPLETE;
156 active = 1;
157
158 };
159
160 Objective {
161
162 id = 4;
163 priority = OBJ_PRIORITY_PRIMARY;
164 description = Find Yellow Gem;
165 status = OBJ_INCOMPLETE;
166 active = 1;
167
168 };
169
170 Objective {
171
172 id = 5;
173 priority = OBJ_PRIORITY_PRIMARY;
174 description = Find Green Gem;
175 status = OBJ_INCOMPLETE;
176 active = 1;
177
178 };
179
180 Objective {
181
182 id = 6;
183 priority = OBJ_PRIORITY_PRIMARY;
184 description = Find Blue Gem;
185 status = OBJ_INCOMPLETE;
186 active = 1;
187
188 };
189
190 Objective {
191
192 id = 7;
193 priority = OBJ_PRIORITY_PRIMARY;
194 description = Find Purple Gem;
195 status = OBJ_INCOMPLETE;
196 active = 1;
197
198 };
199
200 Objective {
201
202 id = 8;
203 priority = OBJ_PRIORITY_PRIMARY;
204 description = Open main tomb door;
205 status = OBJ_INCOMPLETE;
206 active = 1;
207
208 };
209
210 // ================= Secret Entrance ================
211
212
213 Trigger {
214
215 active = 1;
216
217 type = TRIGGER_TYPE_NONE;
218
219 action = TRIGGER_ACTION_UPDATE_OBJECTIVE;
220 name = floodedTunnelEntrance;
221 objectiveId = 1;
222
223 };
224
225 // ================= All Gems ================
226
227
228 Trigger {
229
230 active = 1;
231
232 type = TRIGGER_TYPE_ITEM_PICKED_UP;
233
234 action = TRIGGER_ACTION_UPDATE_OBJECTIVE;
235 name = Red Gem;
236 objectiveId = 2;
237
238 };
239
240 Trigger {
241
242 active = 1;
243
244 type = TRIGGER_TYPE_ITEM_PICKED_UP;
245
246 action = TRIGGER_ACTION_UPDATE_OBJECTIVE;
247 name = Orange Gem;
248 objectiveId = 3;
249
250 };
251
252 Trigger {
253
254 active = 1;
255
256 type = TRIGGER_TYPE_ITEM_PICKED_UP;
257
258 action = TRIGGER_ACTION_UPDATE_OBJECTIVE;
259 name = Yellow Gem;
260 objectiveId = 4;
261
262 };
263
264 Trigger {
265
266 active = 1;
267
268 type = TRIGGER_TYPE_ITEM_PICKED_UP;
269
270 action = TRIGGER_ACTION_UPDATE_OBJECTIVE;
271 name = Green Gem;
272 objectiveId = 5;
273
274 };
275
276 Trigger {
277
278 active = 1;
279
280 type = TRIGGER_TYPE_ITEM_PICKED_UP;
281
282 action = TRIGGER_ACTION_UPDATE_OBJECTIVE;
283 name = Blue Gem;
284 objectiveId = 6;
285
286 };
287
288 Trigger {
289
290 active = 1;
291
292 type = TRIGGER_TYPE_ITEM_PICKED_UP;
293
294 action = TRIGGER_ACTION_UPDATE_OBJECTIVE;
295 name = Purple Gem;
296 objectiveId = 7;
297
298 };
299
300 // ================= Tomb Door ================
301
302 Trigger {
303
304 active = 1;
305
306 type = TRIGGER_TYPE_NONE;
307
308 action = TRIGGER_ACTION_UPDATE_OBJECTIVE;
309 name = tombEntrance;
310 objectiveId = 8;
311
312 };
313
314 @END@