Debian Codegraph @

data/missions/mission18

raw
1 CustomItem {
2
3 name = Cipher #1;
4
5 model1 = gfx/rw2/cypher1.blend.raw;
6
7 texture1 = textures/game/gold.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 = Cipher #2;
20
21 model1 = gfx/rw2/cypher2.blend.raw;
22
23 texture1 = textures/game/gold.png;
24
25 bbMins = -4 -4 -6;
26
27 bbMaxs = 4 4 6;
28
29 customCarriable = 1;
30
31 };
32
33 Mission {
34
35 missionName = Ancient Tomb 5;
36
37 bsp = data/bsp/ancientTomb2.bsp;
38
39 music = music/Liquid Crystal.xm;
40
41 fogColor = 0.05 0.05 0;
42 fogMin = 1000;
43 fogMax = 3000;
44 fogDensity = 0.25;
45
46 skySphere = textures/game/overcast.png;
47
48 enemyLevel = 3;
49
50 // note - This level has a high proportion of Plasma Blobs...
51
52 enemySpawnList = NME_MACHINEGUN_BLOB|NME_SHOTGUN_BLOB|NME_MACHINEGUN_DROID|NME_GRENADE_BLOB|NME_LIGHT_PLASMA_BLOB|NME_LIGHT_PLASMA_BLOB|NME_LIGHT_PLASMA_BLOB|NME_LIGHT_PLASMA_BLOB|NME_SHOTGUN_DROID|NME_GRENADE_DROID;
53 spawnSize = 6;
54 minSpawnTime = 3500;
55 maxSpawnTime = 4500;
56
57 exitToMission = AUTO;
58
59 supplyCrateList = WEP_UZI|WEP_SHOTGUN|WEP_PLASMA_PISTOL;
60 };
61
62 Objective {
63
64 id = 1;
65 priority = OBJ_PRIORITY_PRIMARY;
66 description = Acquire first Cipher;
67 status = OBJ_INCOMPLETE;
68 active = 1;
69 completionTrigger = cipher1Trigger;
70
71 };
72
73 Objective {
74
75 id = 2;
76 priority = OBJ_PRIORITY_PRIMARY;
77 description = Acquire second Cipher;
78 status = OBJ_INCOMPLETE;
79 active = 2;
80
81 };
82
83 Objective {
84
85 id = 3;
86 priority = OBJ_PRIORITY_PRIMARY;
87 description = Open door to main Crystal Room;
88 status = OBJ_INCOMPLETE;
89 active = 3;
90 targetValue = 2;
91 completionTrigger = crystalRoomTrigger;
92
93 };
94
95 Objective {
96
97 id = 4;
98 priority = OBJ_PRIORITY_SECONDARY;
99 description = Aquire more powerful weaponary;
100 status = OBJ_INCOMPLETE;
101 active = 1;
102
103 };
104
105 // ========== Triggers for Cipher #1 ==============
106
107 Trigger {
108
109 active = 1;
110
111 type = TRIGGER_TYPE_ITEM_PICKED_UP;
112
113 action = TRIGGER_ACTION_UPDATE_OBJECTIVE;
114 name = Cipher #1;
115 targetName = eastPassage;
116 objectiveId = 1;
117
118 };
119
120 // ========== Triggers for Cipher #2 ==============
121
122 Trigger {
123
124 active = 1;
125
126 type = TRIGGER_TYPE_ITEM_PICKED_UP;
127
128 action = TRIGGER_ACTION_UPDATE_OBJECTIVE;
129 name = Cipher #2;
130 targetName = eastPassage;
131 objectiveId = 2;
132
133 };
134
135 // ========== Triggers for mission completion ==============
136
137 Trigger {
138
139 active = 1;
140
141 type = TRIGGER_TYPE_NONE;
142
143 action = TRIGGER_ACTION_UPDATE_OBJECTIVE;
144 name = cipherSwitch1;
145 objectiveId = 3;
146
147 };
148
149 Trigger {
150
151 active = 1;
152
153 type = TRIGGER_TYPE_NONE;
154
155 action = TRIGGER_ACTION_UPDATE_OBJECTIVE;
156 name = cipherSwitch2;
157 objectiveId = 3;
158
159 };
160
161 // =========== Main door trigger ==============
162
163 Trigger {
164
165 active = 1;
166
167 type = TRIGGER_TYPE_NONE;
168 action = TRIGGER_ACTION_TOGGLE_STRUCTURE;
169
170 name = crystalRoomTrigger;
171 targetName = secondPartAccess;
172
173 };
174
175 // =========== Plasma Rifle Trigger ==============
176
177 Trigger {
178
179 active = 1;
180
181 type = TRIGGER_TYPE_ITEM_PICKED_UP;
182 action = TRIGGER_ACTION_UPDATE_OBJECTIVE;
183
184 name = plasmaRifle;
185 objectiveId = 4;
186
187 };
188
189 @END@