-
Notifications
You must be signed in to change notification settings - Fork 53
/
armour.ufo
382 lines (314 loc) · 5.97 KB
/
armour.ufo
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
/* Description of the armour items:
useable
Parameter that defines which team can use it:
phalanx, alien, civilian
protection ("dmgweight" values)
See "damagetypes" below (the ones without the "_").
rating ("dmgtype" values)
See "damagetypes" below (the ones with the "_").
See also scripts.c:Com_ParseDamageTypes
*/
// TODO/FIXME: Is the model parameter needed in the armour definitions?
// if the damage type starts with _ it is marked as translatable and thus shown
// in the menus, if there is no such character the damagetype will not be shown.
damagetypes standard
{
"_normal" // Most often for phalanx weapons
"normal_light" // Pistols and other light firearms
"normal_spray" // SMG, flechette shells and other weapons that spray several bullets
"normal_medium"
"normal_heavy"
"normal_steelblade" // Combat knife
"normal_monomolecularblade" // Kerrblade and similar blades to ensure superior tech better against armour
"normal_needle" // Needler and heavy Needler (very small damage, but large number of shots and high pierce).
"_blast"
"_fire"
"fire_light" // Currently unused
"fire_medium" // Currently unused
"fire_heavy" // Currently unused
"fire_flamer" // Flamethrower only for now
"_shock" // Flashbang grenade only for now
"_laser"
"laser_light"
"laser_medium"
"laser_heavy"
"_plasma"
"plasma_light"
"plasma_medium"
"plasma_heavy"
"plasma_pierce"
"_particlebeam"
"particlebeam_light"
"particlebeam_medium"
"particlebeam_heavy"
"_stun_electro"
"_stun_gas"
"smoke"
"incendiary"
}
// =======================
// PHALANX ARMOURS
// =======================
item armour_light
{
name "_Combat Armour"
image "armour/light"
type "armour"
shape "0 0 3 4"
center "0 0 -5"
scale 0.7
price 1400
size 60
weight 7000
armourpath "light"
useable "phalanx"
protection {
normal_light 20
normal_medium 15
normal_heavy 10
normal_spray 8
normal_steelblade 10
normal_monomolecularblade 5
normal_needle 0
blast 25
fire_medium 15
fire_heavy 5
fire_flamer 1
incendiary 0
shock 0
plasma_light 15
plasma_medium 15
plasma_heavy 10
plasma_pierce 0
laser_light 5
laser_medium 5
laser_heavy 5
particlebeam_light 0
particlebeam_medium 0
particlebeam_heavy 0
stun_electro 0
stun_gas 0
}
rating {
normal 20
blast 20
fire 10
shock 0
plasma 15
laser 5
particlebeam 0
stun_electro 0
stun_gas 0
}
}
item armour_medium
{
name "_Nanocomposite Armour"
image "armour/medium"
type "armour"
shape "0 0 3 4"
center "0 0 -5"
scale 0.7
price 7500
size 120
weight 9000
useable "phalanx"
armourpath "medium"
protection {
normal_light 40
normal_medium 30
normal_heavy 30
normal_spray 12
normal_steelblade 30
normal_monomolecularblade 20
normal_needle 3
blast 50
fire_medium 30
fire_heavy 15
fire_flamer 3
incendiary 0
shock 0
plasma_light 25
plasma_medium 30
plasma_heavy 40
plasma_pierce 0
laser_light 10
laser_medium 10
laser_heavy 10
particlebeam_light 10
particlebeam_medium 20
particlebeam_heavy 20
stun_electro 15
stun_gas 30
}
rating {
normal 40
blast 50
fire 25
shock 0
plasma 40
laser 10
particlebeam 20
stun_electro 15
stun_gas 30
}
}
item armour_power
{
name "_Power Armour"
image "armour/power"
type "armour"
shape "0 0 3 4"
center "0 0 -5"
scale 0.7
price 32000
size 150
weight 14000
useable "phalanx"
armourpath "power"
protection {
normal_light 50
normal_medium 50
normal_heavy 50
normal_spray 20
normal_steelblade 50
normal_monomolecularblade 50
normal_needle 5
blast 70
fire_medium 50
fire_heavy 50
fire_flamer 5
incendiary 30
shock 999
plasma_light 35
plasma_medium 50
plasma_heavy 60
plasma_pierce 0
laser_light 15
laser_medium 15
laser_heavy 15
particlebeam_light 30
particlebeam_medium 40
particlebeam_heavy 50
stun_electro 30
stun_gas 999
}
rating {
normal 50
blast 70
fire 50
shock 100
plasma 50
laser 15
particlebeam 50
stun_electro 30
stun_gas 100
}
}
// =======================
// ALIEN ARMOURS
// =======================
item armour_light_alien
{
name "_Alien Body Armour"
image "armour/taman_light"
type "armour"
shape "0 0 3 4"
center "0 0 -5"
scale 0.7
price 1400
weight 7000
size 50
useable "alien"
armourpath "light"
protection {
normal_spray 8
normal_light 15
normal_medium 20
normal_heavy 5
normal_steelblade 30
normal_monomolecularblade 0
normal_needle 1
blast 20
fire_medium 25
fire_heavy 10
fire_flamer 1
incendiary 0
shock 0
laser_light 5
laser_medium 5
laser_heavy 5
plasma_light 30
plasma_medium 30
plasma_heavy 20
plasma_pierce 0
particlebeam_light 10
particlebeam_medium 20
particlebeam_heavy 20
stun_electro 0
stun_gas 0
}
rating {
normal 20
blast 20
fire 20
shock 0
plasma 30
laser 5
particlebeam 20
stun_electro 0
stun_gas 0
}
}
item armour_medium_alien
{
name "_Medium Alien Armour"
image "armour/taman_medium"
type "armour"
shape "0 0 3 4"
center "0 0 -5"
scale 0.7
price 7500
weight 12000
size 75
useable "alien"
armourpath "medium"
protection {
normal_spray 25
normal_light 60
normal_medium 50
normal_heavy 25
normal_steelblade 60
normal_monomolecularblade 15
normal_needle 3
blast 50
fire_medium 35
fire_heavy 10
fire_flamer 2
incendiary 45
shock 0
laser_light 30
laser_medium 30
laser_heavy 30
plasma_light 50
plasma_medium 40
plasma_heavy 25
plasma_pierce 0
particlebeam_light 30
particlebeam_medium 40
particlebeam_heavy 50
stun_electro 15
stun_gas 30
}
rating {
normal 40
blast 50
fire 35
shock 30
plasma 50
laser 30
particlebeam 50
stun_electro 15
stun_gas 30
}
}