Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
effectinfo.inc
Go to the documentation of this file.
1// docs: https://www.quakewiki.net/darkplaces-wiki/effectinfo-scripting-reference/
2// use `cl_particles_reloadeffects` to reload effects without restarting engine
3// use `chase_active 1` and `cl_lockview 1` to see effects from different perspectives
4// `dumpeffectinfo` currently doesn't work so edit effectinfo.txt manually, just try to keep the files in sync
5// always add new effects to the bottom of the list
6
7// `tex` are indices into particles/particlefont.tga (see particles/particlefont-template.tga for numbers)
8// the first index is inclusive, second exclusive (so `tex 0 8` will use images 0 though 7)
9// unless they're equal (`tex 69 69` is the same as `tex 69 70`)
10
11// item respawn effect
13// flare particle and light
15 MY(alpha_min) = 128;
16 MY(alpha_max) = 128;
17 MY(alpha_fade) = 128;
18 MY(color_min) = "0x63F2EA";
19 MY(color_max) = "0x63f2EA";
20 MY(countabsolute) = 1;
21 MY(lightcolor) = '0.4 0.9 0.9';
22 MY(lightradiusfade) = 200;
23 MY(lightradius) = 200;
24 MY(size_min) = 20;
25 MY(size_max) = 20;
26 MY(type) = "static";
27}
28// cloud of particles which expand rapidly and then slow to form a ball
30 MY(airfriction) = 2;
31 MY(alpha_min) = 64;
32 MY(alpha_max) = 64;
33 MY(alpha_fade) = 64;
34 MY(color_min) = "0x63F2EA";
35 MY(color_max) = "0x63f2EA";
36 MY(count) = 50;
37 MY(liquidfriction) = 2;
38 MY(originjitter) = '16.0 16.0 16.0';
39 MY(size_min) = 2;
40 MY(size_max) = 2;
41 MY(type) = "static";
42 MY(velocityjitter) = '32.0 32.0 32.0';
43}
44
45// laser impact
47// decal
49 MY(alpha_min) = 256;
50 MY(alpha_max) = 256;
51 MY(countabsolute) = 1;
52 MY(lightcolor) = '4.0 0.2 0.2';
53 MY(lightradiusfade) = 1000;
54 MY(lightradius) = 200;
55 MY(originjitter) = '16.0 16.0 16.0';
56 MY(size_min) = 24;
57 MY(size_max) = 24;
58 MY(tex_min) = 47;
59 MY(tex_max) = 47;
60 MY(type) = "decal";
61}
62// flare effect
64 MY(alpha_min) = 256;
65 MY(alpha_max) = 256;
66 MY(alpha_fade) = 1024;
67 MY(color_min) = "0xFF2010";
68 MY(color_max) = "0xFF2010";
69 MY(countabsolute) = 1;
70 MY(size_min) = 24;
71 MY(size_max) = 24;
72 MY(tex_min) = 39;
73 MY(tex_max) = 39;
74 MY(type) = "static";
75}
76// sparks that rapidly expand and rapidly slow down to form an interesting spherical effect
78 MY(airfriction) = 6;
79 MY(alpha_min) = 256;
80 MY(alpha_max) = 256;
81 MY(alpha_fade) = 1024;
82 MY(color_min) = "0x800000";
83 MY(color_max) = "0xFF8020";
84 MY(count) = 128;
85 MY(liquidfriction) = 6;
86 MY(size_min) = 4;
87 MY(size_max) = 4;
88 MY(type) = "spark";
89 MY(velocityjitter) = '256.0 256.0 256.0';
90}
91
92// machinegun bullet impact
94// bullet impact decal
96 MY(alpha_min) = 256;
97 MY(alpha_max) = 256;
98 MY(countabsolute) = 1;
99 MY(originjitter) = '6.0 6.0 6.0';
100 MY(size_min) = 5;
101 MY(size_max) = 5;
102 MY(tex_min) = 56;
103 MY(tex_max) = 59;
104 MY(type) = "decal";
105}
106// dust/smoke drifting away from the impact
107SUB(TE_SPIKE) {
108 MY(alpha_min) = 255;
109 MY(alpha_max) = 255;
110 MY(alpha_fade) = 256;
111 MY(color_min) = "0x101010";
112 MY(color_max) = "0x101010";
113 MY(count) = 4;
114 MY(sizeincrease) = 3;
115 MY(size_min) = 3;
116 MY(size_max) = 3;
117 MY(tex_max) = 8;
118 MY(type) = "smoke";
119 MY(velocityjitter) = '8.0 8.0 8.0';
120}
121// dust/smoke staying at the impact
122SUB(TE_SPIKE) {
123 MY(alpha_min) = 255;
124 MY(alpha_max) = 255;
125 MY(alpha_fade) = 128;
126 MY(color_min) = "0x505050";
127 MY(color_max) = "0x505050";
128 MY(count) = 0.500000;
129 MY(sizeincrease) = 4;
130 MY(size_min) = 4;
131 MY(size_max) = 4;
132 MY(tex_max) = 8;
133 MY(type) = "smoke";
134}
135// bouncing sparks
136SUB(TE_SPIKE) {
137 MY(alpha_max) = 256;
138 MY(alpha_fade) = 256;
139 MY(bounce) = 1.500000;
140 MY(color_min) = "0x8f4333";
141 MY(color_max) = "0xfff31b";
142 MY(count) = 10;
143 MY(gravity) = 1;
144 MY(size_min) = 0.400000;
145 MY(size_max) = 0.400000;
146 MY(type) = "spark";
147 MY(velocityjitter) = '64.0 64.0 64.0';
148 MY(velocityoffset) = '0.0 0.0 80.0';
149}
150
151// electro combo explosion
153// decal
155 MY(alpha_min) = 256;
156 MY(alpha_max) = 256;
157 MY(countabsolute) = 1;
158 MY(lightcolor) = '2.0 2.5 3.0';
159 MY(lightradiusfade) = 200;
160 MY(lightradius) = 400;
161 MY(originjitter) = '34.0 34.0 34.0';
162 MY(size_min) = 64;
163 MY(size_max) = 64;
164 MY(tex_min) = 59;
165 MY(tex_max) = 59;
166 MY(type) = "decal";
167}
168// flare effect
170 MY(alpha_min) = 256;
171 MY(alpha_max) = 256;
172 MY(alpha_fade) = 128;
173 MY(color_min) = "0x80C0FF";
174 MY(color_max) = "0x80C0FF";
175 MY(countabsolute) = 1;
176 MY(size_min) = 48;
177 MY(size_max) = 48;
178 MY(tex_min) = 38;
179 MY(tex_max) = 38;
180 MY(type) = "static";
181}
182// large sparks
184 MY(airfriction) = 4;
185 MY(alpha_min) = 256;
186 MY(alpha_max) = 256;
187 MY(alpha_fade) = 256;
188 MY(bounce) = 1.500000;
189 MY(color_min) = "0x2030FF";
190 MY(color_max) = "0x80C0FF";
191 MY(count) = 10;
192 MY(liquidfriction) = 16;
193 MY(size_min) = 32;
194 MY(size_max) = 32;
195 MY(type) = "static";
196 MY(velocityjitter) = '512.0 512.0 512.0';
197}
198
199// quake effect
201// decal
203 MY(alpha_min) = 256;
204 MY(alpha_max) = 256;
205 MY(countabsolute) = 1;
206 MY(originjitter) = '6.0 6.0 6.0';
207 MY(size_min) = 3;
208 MY(size_max) = 3;
209 MY(tex_min) = 56;
210 MY(tex_max) = 59;
211 MY(type) = "decal";
212}
213// dust/smoke drifting away from the impact
215 MY(alpha_min) = 255;
216 MY(alpha_max) = 255;
217 MY(alpha_fade) = 256;
218 MY(color_min) = "0x101010";
219 MY(color_max) = "0x101010";
220 MY(count) = 4;
221 MY(sizeincrease) = 3;
222 MY(size_min) = 3;
223 MY(size_max) = 3;
224 MY(tex_max) = 8;
225 MY(type) = "smoke";
226 MY(velocityjitter) = '8.0 8.0 8.0';
227}
228// dust/smoke staying at the impact
230 MY(alpha_min) = 255;
231 MY(alpha_max) = 255;
232 MY(alpha_fade) = 128;
233 MY(color_min) = "0x505050";
234 MY(color_max) = "0x505050";
235 MY(count) = 0.500000;
236 MY(sizeincrease) = 4;
237 MY(size_min) = 4;
238 MY(size_max) = 4;
239 MY(tex_max) = 8;
240 MY(type) = "smoke";
241}
242// sparks that disappear on impact
244 MY(alpha_max) = 256;
245 MY(alpha_fade) = 768;
246 MY(bounce) = -1;
247 MY(color_min) = "0x8f4333";
248 MY(color_max) = "0xfff31b";
249 MY(count) = 15;
250 MY(gravity) = 1;
251 MY(size_min) = 0.400000;
252 MY(size_max) = 0.400000;
253 MY(type) = "spark";
254 MY(velocityjitter) = '64.0 64.0 64.0';
255 MY(velocityoffset) = '0.0 0.0 80.0';
256}
257
258// quake effect
260// decal
262 MY(alpha_min) = 256;
263 MY(alpha_max) = 256;
264 MY(countabsolute) = 1;
265 MY(lightcolor) = '0.2 0.2 1.5';
266 MY(lightradiusfade) = 500;
267 MY(lightradius) = 100;
268 MY(originjitter) = '6.0 6.0 6.0';
269 MY(size_min) = 3;
270 MY(size_max) = 3;
271 MY(tex_min) = 56;
272 MY(tex_max) = 59;
273 MY(type) = "decal";
274}
275// dust/smoke drifting away from the impact
277 MY(alpha_min) = 255;
278 MY(alpha_max) = 255;
279 MY(alpha_fade) = 256;
280 MY(color_min) = "0x101010";
281 MY(color_max) = "0x101010";
282 MY(count) = 4;
283 MY(sizeincrease) = 3;
284 MY(size_min) = 3;
285 MY(size_max) = 3;
286 MY(tex_max) = 8;
287 MY(type) = "smoke";
288 MY(velocityjitter) = '8.0 8.0 8.0';
289}
290// dust/smoke staying at the impact
292 MY(alpha_min) = 255;
293 MY(alpha_max) = 255;
294 MY(alpha_fade) = 128;
295 MY(color_min) = "0x505050";
296 MY(color_max) = "0x505050";
297 MY(count) = 0.500000;
298 MY(sizeincrease) = 4;
299 MY(size_min) = 4;
300 MY(size_max) = 4;
301 MY(tex_max) = 8;
302 MY(type) = "smoke";
303}
304// sparks that disappear on impact
306 MY(alpha_max) = 256;
307 MY(alpha_fade) = 768;
308 MY(bounce) = -1;
309 MY(color_min) = "0x8f4333";
310 MY(color_max) = "0xfff31b";
311 MY(count) = 15;
312 MY(gravity) = 1;
313 MY(size_min) = 0.400000;
314 MY(size_max) = 0.400000;
315 MY(type) = "spark";
316 MY(velocityjitter) = '64.0 64.0 64.0';
317 MY(velocityoffset) = '0.0 0.0 80.0';
318}
319
320// shotgun pellet impact
322// decal
324 MY(alpha_min) = 256;
325 MY(alpha_max) = 256;
326 MY(countabsolute) = 1;
327 MY(originjitter) = '6.0 6.0 6.0';
328 MY(size_min) = 3;
329 MY(size_max) = 3;
330 MY(tex_min) = 56;
331 MY(tex_max) = 59;
332 MY(type) = "decal";
333}
334// dust/smoke drifting away from the impact
336 MY(alpha_min) = 128;
337 MY(alpha_max) = 128;
338 MY(alpha_fade) = 64;
339 MY(color_min) = "0x101010";
340 MY(color_max) = "0x101010";
341 MY(count) = 0.800000;
342 MY(sizeincrease) = 3;
343 MY(size_min) = 3;
344 MY(size_max) = 3;
345 MY(tex_max) = 8;
346 MY(type) = "smoke";
347 MY(velocityjitter) = '8.0 8.0 8.0';
348}
349// dust/smoke staying at the impact
351 MY(alpha_min) = 128;
352 MY(alpha_max) = 128;
353 MY(alpha_fade) = 64;
354 MY(color_min) = "0x505050";
355 MY(color_max) = "0x505050";
356 MY(count) = 0.200000;
357 MY(sizeincrease) = 4;
358 MY(size_min) = 4;
359 MY(size_max) = 4;
360 MY(tex_max) = 8;
361 MY(type) = "smoke";
362}
363// bouncing sparks
365 MY(alpha_max) = 64;
366 MY(alpha_fade) = 64;
367 MY(bounce) = 1.500000;
368 MY(color_min) = "0x8f4333";
369 MY(color_max) = "0xfff31b";
370 MY(count) = 2.500000;
371 MY(gravity) = 1;
372 MY(size_min) = 0.400000;
373 MY(size_max) = 0.400000;
374 MY(type) = "spark";
375 MY(velocityjitter) = '64.0 64.0 64.0';
376 MY(velocityoffset) = '0.0 0.0 80.0';
377}
378
379// crylink impact effect
381// decal
383 MY(alpha_min) = 256;
384 MY(alpha_max) = 256;
385 MY(countabsolute) = 1;
386 MY(originjitter) = '12.0 12.0 12.0';
387 MY(size_min) = 8;
388 MY(size_max) = 8;
389 MY(tex_min) = 47;
390 MY(tex_max) = 47;
391 MY(type) = "decal";
392}
393// purple flare effect
395 MY(alpha_min) = 256;
396 MY(alpha_max) = 256;
397 MY(alpha_fade) = 512;
398 MY(color_min) = "0x504060";
399 MY(color_max) = "0x504060";
400 MY(countabsolute) = 1;
401 MY(size_min) = 8;
402 MY(size_max) = 8;
403 MY(tex_min) = 39;
404 MY(tex_max) = 39;
405 MY(type) = "static";
406}
407// purple sparks
409 MY(alpha_min) = 128;
410 MY(alpha_max) = 128;
411 MY(alpha_fade) = 384;
412 MY(bounce) = 1.500000;
413 MY(color_min) = "0xA040C0";
414 MY(color_max) = "0xFFFFFF";
415 MY(count) = 6;
416 MY(gravity) = 1;
417 MY(size_min) = 1;
418 MY(size_max) = 1;
419 MY(type) = "spark";
420 MY(velocityjitter) = '128.0 128.0 128.0';
421 MY(velocityoffset) = '0.0 0.0 80.0';
422}
423
424// mortar/hagar explosion (smaller than rocket)
426// decal
428 MY(alpha_min) = 256;
429 MY(alpha_max) = 256;
430 MY(countabsolute) = 1;
431 MY(lightcolor) = '4.0 2.0 0.5';
432 MY(lightradiusfade) = 300;
433 MY(lightradius) = 150;
434 MY(originjitter) = '40.0 40.0 40.0';
435 MY(size_min) = 48;
436 MY(size_max) = 48;
437 MY(tex_min) = 8;
438 MY(tex_max) = 16;
439 MY(type) = "decal";
440}
441// flare effect
443 MY(alpha_min) = 192;
444 MY(alpha_max) = 192;
445 MY(alpha_fade) = 64;
446 MY(color_min) = "0x404040";
447 MY(color_max) = "0x404040";
448 MY(countabsolute) = 1;
449 MY(size_min) = 48;
450 MY(size_max) = 48;
451 MY(tex_min) = 35;
452 MY(tex_max) = 37;
453 MY(type) = "static";
454}
455// fire effect which expands then slows
457 MY(airfriction) = 4;
458 MY(alpha_min) = 128;
459 MY(alpha_max) = 128;
460 MY(alpha_fade) = 256;
461 MY(bounce) = 1.500000;
462 MY(color_min) = "0x902010";
463 MY(color_max) = "0xFFD080";
464 MY(count) = 64;
465 MY(liquidfriction) = 4;
466 MY(notunderwater) = true;
467 MY(originjitter) = '8.0 8.0 8.0';
468 MY(size_min) = 16;
469 MY(size_max) = 16;
470 MY(tex_min) = 48;
471 MY(tex_max) = 55;
472 MY(type) = "static";
473 MY(velocityjitter) = '256.0 256.0 256.0';
474}
475// underwater bubbles
477 MY(alpha_min) = 128;
478 MY(alpha_max) = 256;
479 MY(alpha_fade) = 64;
480 MY(bounce) = 1.500000;
481 MY(color_min) = "0x404040";
482 MY(color_max) = "0x808080";
483 MY(count) = 16;
484 MY(gravity) = -0.125000;
485 MY(liquidfriction) = 0.250000;
486 MY(originjitter) = '16.0 16.0 16.0';
487 MY(size_min) = 3;
488 MY(size_max) = 3;
489 MY(tex_min) = 62;
490 MY(tex_max) = 62;
491 MY(type) = "bubble";
492 MY(underwater) = true;
493 MY(velocityjitter) = '96.0 96.0 96.0';
494}
495// bouncing sparks
497 MY(airfriction) = 0.200000;
498 MY(alpha_min) = 256;
499 MY(alpha_max) = 256;
500 MY(alpha_fade) = 384;
501 MY(bounce) = 1.500000;
502 MY(color_min) = "0x903010";
503 MY(color_max) = "0xFFD030";
504 MY(count) = 16;
505 MY(gravity) = 1;
506 MY(liquidfriction) = 0.800000;
507 MY(notunderwater) = true;
508 MY(size_min) = 2;
509 MY(size_max) = 2;
510 MY(type) = "spark";
511 MY(velocityjitter) = '256.0 256.0 256.0';
512 MY(velocityoffset) = '0.0 0.0 80.0';
513}
514
515// quake effect
517// decal
519 MY(alpha_min) = 256;
520 MY(alpha_max) = 256;
521 MY(countabsolute) = 1;
522 MY(lightcolor) = '4.0 2.0 8.0';
523 MY(lightradiusfade) = 700;
524 MY(lightradius) = 350;
525 MY(originjitter) = '40.0 40.0 40.0';
526 MY(size_min) = 48;
527 MY(size_max) = 48;
528 MY(tex_min) = 8;
529 MY(tex_max) = 16;
530 MY(type) = "decal";
531}
532// smoke cloud
534 MY(alpha_min) = 32;
535 MY(alpha_max) = 32;
536 MY(alpha_fade) = 64;
537 MY(color_min) = "0x202020";
538 MY(color_max) = "0x404040";
539 MY(count) = 16;
540 MY(notunderwater) = true;
541 MY(size_min) = 12;
542 MY(size_max) = 12;
543 MY(tex_max) = 8;
544 MY(type) = "smoke";
545 MY(velocityjitter) = '48.0 48.0 48.0';
546}
547// underwater bubbles
549 MY(alpha_min) = 128;
550 MY(alpha_max) = 256;
551 MY(alpha_fade) = 64;
552 MY(bounce) = 1.500000;
553 MY(color_min) = "0x404040";
554 MY(color_max) = "0x808080";
555 MY(count) = 16;
556 MY(gravity) = -0.125000;
557 MY(liquidfriction) = 0.250000;
558 MY(originjitter) = '16.0 16.0 16.0';
559 MY(size_min) = 3;
560 MY(size_max) = 3;
561 MY(tex_min) = 62;
562 MY(tex_max) = 62;
563 MY(type) = "bubble";
564 MY(underwater) = true;
565 MY(velocityjitter) = '96.0 96.0 96.0';
566}
567// sparks which go through walls
569 MY(airfriction) = 0.200000;
570 MY(alpha_max) = 256;
571 MY(alpha_fade) = 512;
572 MY(color_min) = "0x903010";
573 MY(color_max) = "0xFFD030";
574 MY(count) = 64;
575 MY(gravity) = 1;
576 MY(liquidfriction) = 0.800000;
577 MY(notunderwater) = true;
578 MY(size_min) = 1;
579 MY(size_max) = 1;
580 MY(type) = "spark";
581 MY(velocityjitter) = '256.0 256.0 256.0';
582 MY(velocityoffset) = '0.0 0.0 80.0';
583}
584
585// quake effect
587// decal
589 MY(alpha_min) = 256;
590 MY(alpha_max) = 256;
591 MY(countabsolute) = 1;
592 MY(lightcolor) = '1.6 0.8 2.0';
593 MY(lightradiusfade) = 1200;
594 MY(lightradius) = 600;
595 MY(originjitter) = '40.0 40.0 40.0';
596 MY(size_min) = 48;
597 MY(size_max) = 48;
598 MY(tex_min) = 8;
599 MY(tex_max) = 16;
600 MY(type) = "decal";
601}
602// smoke cloud
604 MY(alpha_min) = 32;
605 MY(alpha_max) = 32;
606 MY(alpha_fade) = 64;
607 MY(color_min) = "0x202020";
608 MY(color_max) = "0x404040";
609 MY(count) = 16;
610 MY(notunderwater) = true;
611 MY(size_min) = 12;
612 MY(size_max) = 12;
613 MY(tex_max) = 8;
614 MY(type) = "smoke";
615 MY(velocityjitter) = '48.0 48.0 48.0';
616}
617// underwater bubbles
619 MY(alpha_min) = 128;
620 MY(alpha_max) = 256;
621 MY(alpha_fade) = 64;
622 MY(bounce) = 1.500000;
623 MY(color_min) = "0x404040";
624 MY(color_max) = "0x808080";
625 MY(count) = 16;
626 MY(gravity) = -0.125000;
627 MY(liquidfriction) = 0.250000;
628 MY(originjitter) = '16.0 16.0 16.0';
629 MY(size_min) = 3;
630 MY(size_max) = 3;
631 MY(tex_min) = 62;
632 MY(tex_max) = 62;
633 MY(type) = "bubble";
634 MY(underwater) = true;
635 MY(velocityjitter) = '96.0 96.0 96.0';
636}
637// sparks which go through walls
639 MY(airfriction) = 0.200000;
640 MY(alpha_max) = 256;
641 MY(alpha_fade) = 512;
642 MY(color_min) = "0x903010";
643 MY(color_max) = "0xFFD030";
644 MY(count) = 64;
645 MY(gravity) = 1;
646 MY(liquidfriction) = 0.800000;
647 MY(notunderwater) = true;
648 MY(size_min) = 1;
649 MY(size_max) = 1;
650 MY(type) = "spark";
651 MY(velocityjitter) = '256.0 256.0 256.0';
652 MY(velocityoffset) = '0.0 0.0 80.0';
653}
654
655// bloody impact effect indicating damage
658 MY(airfriction) = 1;
659 MY(alpha_min) = 256;
660 MY(alpha_max) = 256;
661 MY(alpha_fade) = 64;
662 MY(bounce) = -1;
663 MY(count) = 0.167000;
664 MY(liquidfriction) = 4;
665 MY(size_min) = 8;
666 MY(size_max) = 8;
667 MY(staincolor_min) = "0x808080";
668 MY(staincolor_max) = "0x808080";
669 MY(staintex_min) = 16;
670 MY(staintex_max) = 24;
671 MY(tex_min) = 24;
672 MY(tex_max) = 32;
673 MY(type) = "blood";
674 MY(velocityjitter) = '64.0 64.0 64.0';
675 MY(velocitymultiplier) = 1;
676}
677
678// sparks (quake effect)
679DEF(TE_SPARK);
680SUB(TE_SPARK) {
681 MY(alpha_min) = 64;
682 MY(alpha_max) = 256;
683 MY(alpha_fade) = 768;
684 MY(bounce) = -1;
685 MY(color_min) = "0x8f4333";
686 MY(color_max) = "0xfff31b";
687 MY(count) = 0.500000;
688 MY(gravity) = 1;
689 MY(size_min) = 0.400000;
690 MY(size_max) = 0.600000;
691 MY(tex_min) = 40;
692 MY(tex_max) = 40;
693 MY(type) = "spark";
694 MY(velocityjitter) = '64.0 64.0 64.0';
695 MY(velocitymultiplier) = 1;
696 MY(velocityoffset) = '0.0 0.0 80.0';
697}
698
699// vortex impact
700DEF(TE_PLASMABURN);
701// decal
702SUB(TE_PLASMABURN) {
703 MY(alpha_min) = 256;
704 MY(alpha_max) = 256;
705 MY(countabsolute) = 1;
706 MY(lightcolor) = '1.0 1.0 1.0';
707 MY(lightradiusfade) = 400;
708 MY(lightradius) = 200;
709 MY(originjitter) = '16.0 16.0 16.0';
710 MY(size_min) = 24;
711 MY(size_max) = 24;
712 MY(tex_min) = 47;
713 MY(tex_max) = 47;
714 MY(type) = "decal";
715}
716// flare effect
717SUB(TE_PLASMABURN) {
718 MY(alpha_min) = 256;
719 MY(alpha_max) = 256;
720 MY(alpha_fade) = 512;
721 MY(color_min) = "0x80C0FF";
722 MY(color_max) = "0x80C0FF";
723 MY(countabsolute) = 1;
724 MY(size_min) = 8;
725 MY(size_max) = 8;
726 MY(tex_min) = 37;
727 MY(tex_max) = 37;
728 MY(type) = "static";
729}
730// small sparks which form a sphere as they slow down
731SUB(TE_PLASMABURN) {
732 MY(airfriction) = 8;
733 MY(alpha_min) = 256;
734 MY(alpha_max) = 256;
735 MY(alpha_fade) = 1024;
736 MY(bounce) = 2;
737 MY(color_min) = "0x2030FF";
738 MY(color_max) = "0x80C0FF";
739 MY(count) = 128;
740 MY(liquidfriction) = 8;
741 MY(size_min) = 1;
742 MY(size_max) = 2;
743 MY(type) = "spark";
744 MY(velocityjitter) = '128.0 128.0 128.0';
745}
746
747// quake effect
748DEF(TE_SMALLFLASH);
749SUB(TE_SMALLFLASH) {
750 MY(lightcolor) = '2.0 2.0 2.0';
751 MY(lightradiusfade) = 1000;
752 MY(lightradius) = 200;
753}
754
755// quake effect
756DEF(TE_FLAMEJET);
757SUB(TE_FLAMEJET) {
758 MY(airfriction) = 1;
759 MY(alpha_min) = 64;
760 MY(alpha_max) = 128;
761 MY(alpha_fade) = 384;
762 MY(bounce) = 1.100000;
763 MY(color_min) = "0x6f0f00";
764 MY(color_max) = "0xe3974f";
765 MY(count) = 0.500000;
766 MY(gravity) = -1;
767 MY(liquidfriction) = 4;
768 MY(size_min) = 4;
769 MY(size_max) = 4;
770 MY(type) = "smoke";
771 MY(velocityjitter) = '128.0 128.0 128.0';
772 MY(velocitymultiplier) = 1;
773}
774
775// quake effect
778 MY(alpha_min) = 256;
779 MY(alpha_max) = 256;
780 MY(alpha_fade) = 256;
781 MY(color_min) = "0x6f0f00";
782 MY(color_max) = "0xe3974f";
783 MY(count) = 32;
784 MY(gravity) = 0.050000;
785 MY(originjitter) = '128.0 128.0 32.0';
786 MY(originoffset) = '0.0 0.0 32.0';
787 MY(size_min) = 12;
788 MY(size_max) = 12;
789 MY(type) = "alphastatic";
790 MY(velocityjitter) = '128.0 128.0 0.0';
791 MY(velocityoffset) = '0.0 0.0 256.0';
792}
793
794// player teleport effect
797 MY(airfriction) = 1;
798 MY(alpha_min) = 64;
799 MY(alpha_max) = 128;
800 MY(alpha_fade) = 256;
801 MY(color_min) = "0xA0A0A0";
802 MY(color_max) = "0xFFFFFF";
803 MY(count) = 56;
804 MY(liquidfriction) = 4;
805 MY(originjitter) = '16.0 16.0 28.0';
806 MY(originoffset) = '0.0 0.0 28.0';
807 MY(size_min) = 10;
808 MY(size_max) = 10;
809 MY(type) = "static";
810 MY(velocityjitter) = '0.0 0.0 256.0';
811}
812
813// vortex beam
816 MY(alpha_min) = 128;
817 MY(alpha_max) = 128;
818 MY(alpha_fade) = 256;
819 MY(color_min) = "0xFFFFFF";
820 MY(color_max) = "0xFFFFFF";
821 MY(countabsolute) = 1;
822 MY(size_min) = 4;
823 MY(size_max) = 4;
824 MY(tex_min) = 200;
825 MY(tex_max) = 200;
826 MY(type) = "beam";
827}
828SUB(TE_TEI_G3) {
829 MY(airfriction) = -4;
830 MY(alpha_min) = 256;
831 MY(alpha_max) = 256;
832 MY(alpha_fade) = 512;
833 MY(color_min) = "0x202020";
834 MY(color_max) = "0x404040";
835 MY(size_min) = 1;
836 MY(size_max) = 1;
837 MY(trailspacing) = 4;
838 MY(type) = "smoke";
839 MY(velocityjitter) = '8.0 8.0 8.0';
840}
841
842// smoke effect
843DEF(TE_TEI_SMOKE);
844SUB(TE_TEI_SMOKE) {
845 MY(alpha_min) = 256;
846 MY(alpha_max) = 256;
847 MY(alpha_fade) = 512;
848 MY(color_min) = "0x202020";
849 MY(color_max) = "0x404040";
850 MY(count) = 0.167000;
851 MY(originjitter) = '1.5 1.5 1.5';
852 MY(size_min) = 5;
853 MY(size_max) = 5;
854 MY(tex_max) = 8;
855 MY(type) = "smoke";
856 MY(velocityjitter) = '6.0 6.0 6.0';
857 MY(velocitymultiplier) = 1;
858}
859
860// rocket explosion (bigger than mortar and hagar)
861DEF(TE_TEI_BIGEXPLOSION);
862// decal
863SUB(TE_TEI_BIGEXPLOSION) {
864 MY(alpha_min) = 256;
865 MY(alpha_max) = 256;
866 MY(countabsolute) = 1;
867 MY(lightcolor) = '4.0 2.0 0.5';
868 MY(lightradiusfade) = 500;
869 MY(lightradius) = 500;
870 MY(originjitter) = '40.0 40.0 40.0';
871 MY(size_min) = 72;
872 MY(size_max) = 72;
873 MY(tex_min) = 8;
874 MY(tex_max) = 16;
875 MY(type) = "decal";
876}
877// flare effect
878SUB(TE_TEI_BIGEXPLOSION) {
879 MY(alpha_min) = 192;
880 MY(alpha_max) = 192;
881 MY(alpha_fade) = 64;
882 MY(color_min) = "0x404040";
883 MY(color_max) = "0x404040";
884 MY(countabsolute) = 1;
885 MY(size_min) = 72;
886 MY(size_max) = 72;
887 MY(tex_min) = 35;
888 MY(tex_max) = 37;
889 MY(type) = "static";
890}
891// fire effect
892SUB(TE_TEI_BIGEXPLOSION) {
893 MY(airfriction) = 4;
894 MY(alpha_min) = 128;
895 MY(alpha_max) = 128;
896 MY(alpha_fade) = 256;
897 MY(bounce) = 1.500000;
898 MY(color_min) = "0x902010";
899 MY(color_max) = "0xFFD080";
900 MY(count) = 128;
901 MY(liquidfriction) = 4;
902 MY(notunderwater) = true;
903 MY(originjitter) = '8.0 8.0 8.0';
904 MY(size_min) = 16;
905 MY(size_max) = 16;
906 MY(tex_min) = 48;
907 MY(tex_max) = 55;
908 MY(type) = "static";
909 MY(velocityjitter) = '512.0 512.0 512.0';
910}
911// underwater bubbles
912SUB(TE_TEI_BIGEXPLOSION) {
913 MY(alpha_min) = 128;
914 MY(alpha_max) = 256;
915 MY(alpha_fade) = 64;
916 MY(bounce) = 1.500000;
917 MY(color_min) = "0x404040";
918 MY(color_max) = "0x808080";
919 MY(count) = 32;
920 MY(gravity) = -0.125000;
921 MY(liquidfriction) = 0.250000;
922 MY(originjitter) = '16.0 16.0 16.0';
923 MY(size_min) = 3;
924 MY(size_max) = 3;
925 MY(tex_min) = 62;
926 MY(tex_max) = 62;
927 MY(type) = "bubble";
928 MY(underwater) = true;
929 MY(velocityjitter) = '144.0 144.0 144.0';
930}
931// bouncing sparks
932SUB(TE_TEI_BIGEXPLOSION) {
933 MY(airfriction) = 0.200000;
934 MY(alpha_min) = 256;
935 MY(alpha_max) = 256;
936 MY(alpha_fade) = 384;
937 MY(bounce) = 1.500000;
938 MY(color_min) = "0x903010";
939 MY(color_max) = "0xFFD030";
940 MY(count) = 64;
941 MY(gravity) = 1;
942 MY(liquidfriction) = 0.800000;
943 MY(notunderwater) = true;
944 MY(size_min) = 2;
945 MY(size_max) = 2;
946 MY(type) = "spark";
947 MY(velocityjitter) = '384.0 384.0 384.0';
948 MY(velocityoffset) = '0.0 0.0 80.0';
949}
950
951// electro explosion
952DEF(TE_TEI_PLASMAHIT);
953// decal
954SUB(TE_TEI_PLASMAHIT) {
955 MY(alpha_min) = 256;
956 MY(alpha_max) = 256;
957 MY(countabsolute) = 1;
958 MY(lightcolor) = '2.4 4.8 8.0';
959 MY(lightradiusfade) = 600;
960 MY(lightradius) = 200;
961 MY(originjitter) = '20.0 20.0 20.0';
962 MY(size_min) = 32;
963 MY(size_max) = 32;
964 MY(tex_min) = 59;
965 MY(tex_max) = 59;
966 MY(type) = "decal";
967}
968// flare effect
969SUB(TE_TEI_PLASMAHIT) {
970 MY(alpha_min) = 256;
971 MY(alpha_max) = 256;
972 MY(alpha_fade) = 512;
973 MY(color_min) = "0x80C0FF";
974 MY(color_max) = "0x80C0FF";
975 MY(countabsolute) = 1;
976 MY(size_min) = 32;
977 MY(size_max) = 32;
978 MY(tex_min) = 38;
979 MY(tex_max) = 38;
980 MY(type) = "static";
981}
982// cloud of bouncing sparks
983SUB(TE_TEI_PLASMAHIT) {
984 MY(alpha_min) = 256;
985 MY(alpha_max) = 256;
986 MY(alpha_fade) = 1024;
987 MY(bounce) = 1.500000;
988 MY(color_min) = "0x2030FF";
989 MY(color_max) = "0x80C0FF";
990 MY(count) = 0.500000;
991 MY(size_min) = 2;
992 MY(size_max) = 4;
993 MY(type) = "spark";
994 MY(velocityjitter) = '512.0 512.0 512.0';
995}
996
997// bloody impact effect indicating damage
998DEF(blood);
999SUB(blood) {
1000 MY(airfriction) = 0.400000;
1001 MY(alpha_min) = 1560;
1002 MY(alpha_max) = 2560;
1003 MY(alpha_fade) = 7000;
1004 MY(blend) = "invmod";
1005 MY(bounce) = -1;
1006 MY(color_min) = "0xA8FFFF";
1007 MY(color_max) = "0xA8FFFFF";
1008 MY(count) = 0.400000;
1009 MY(sizeincrease) = 20;
1010 MY(size_min) = 5;
1011 MY(size_max) = 11;
1012 MY(staincolor_min) = "0x808080";
1013 MY(staincolor_max) = "0x808080";
1014 MY(stainsize_min) = 1;
1015 MY(stainsize_max) = 2;
1016 MY(staintex_min) = 16;
1017 MY(staintex_max) = 24;
1018 MY(stretchfactor) = 20;
1019 MY(tex_min) = 24;
1020 MY(tex_max) = 32;
1021 MY(type) = "spark";
1022 MY(velocityjitter) = '99.0 99.0 55.0';
1023}
1024//blood mist
1025SUB(blood) {
1026 MY(alpha_min) = 100;
1027 MY(alpha_max) = 256;
1028 MY(alpha_fade) = 400;
1029 MY(blend) = "invmod";
1030 MY(color_min) = "0x000000";
1031 MY(color_max) = "0x420000";
1032 MY(countabsolute) = 1;
1033 MY(originjitter) = '11.0 11.0 11.0';
1034 MY(sizeincrease) = 20;
1035 MY(size_min) = 25;
1036 MY(size_max) = 30;
1037 MY(tex_min) = 24;
1038 MY(tex_max) = 32;
1039 MY(type) = "alphastatic";
1040}
1041
1042// player teleport effect
1043DEF(teleport);
1044SUB(teleport) {
1045 MY(airfriction) = 2;
1046 MY(alpha_max) = 256;
1047 MY(alpha_fade) = 100;
1048 MY(bounce) = 1.500000;
1049 MY(color_min) = "0x807aff";
1050 MY(color_max) = "0x4463d5";
1051 MY(count) = 500;
1052 MY(originjitter) = '1.0 1.0 1.0';
1053 MY(size_min) = 1;
1054 MY(size_max) = 1;
1055 MY(stretchfactor) = 0.600000;
1056 MY(tex_min) = 64;
1057 MY(tex_max) = 64;
1058 MY(type) = "spark";
1059 MY(velocityjitter) = '1000.0 1000.0 1500.0';
1060 MY(velocitymultiplier) = 0.500000;
1061}
1062SUB(teleport) {
1063 MY(alpha_min) = 190;
1064 MY(alpha_max) = 190;
1065 MY(alpha_fade) = 180;
1066 MY(color_min) = "0x807aff";
1067 MY(color_max) = "0x4463d5";
1068 MY(countabsolute) = 1;
1069 MY(sizeincrease) = -80;
1070 MY(size_min) = 150;
1071 MY(size_max) = 150;
1072 MY(tex_min) = 65;
1073 MY(tex_max) = 65;
1074 MY(type) = "smoke";
1075}
1076
1077// normal super gory blood trail (used by gibs)
1078DEF(TR_BLOOD);
1079SUB(TR_BLOOD) {
1080 MY(airfriction) = -2;
1081 MY(alpha_min) = 384;
1082 MY(alpha_max) = 984;
1083 MY(alpha_fade) = 1492;
1084 MY(blend) = "invmod";
1085 MY(bounce) = -1;
1086 MY(color_min) = "0xA8FFFF";
1087 MY(color_max) = "0xA8FFFF";
1088 MY(gravity) = 0.400000;
1089 MY(liquidfriction) = 1;
1090 MY(sizeincrease) = -5;
1091 MY(size_min) = 4;
1092 MY(size_max) = 19;
1093 MY(staincolor_min) = "0x808080";
1094 MY(staincolor_max) = "0x808080";
1095 MY(stainsize_min) = 1;
1096 MY(stainsize_max) = 2;
1097 MY(staintex_min) = 16;
1098 MY(staintex_max) = 24;
1099 MY(stretchfactor) = 7;
1100 MY(tex_min) = 24;
1101 MY(tex_max) = 32;
1102 MY(trailspacing) = 20;
1103 MY(type) = "spark";
1104 MY(velocityjitter) = '64.0 64.0 64.0';
1105 MY(velocitymultiplier) = -0.100000;
1106}
1107// splash around gib
1108SUB(TR_BLOOD) {
1109 MY(alpha_min) = 684;
1110 MY(alpha_max) = 684;
1111 MY(alpha_fade) = 7492;
1112 MY(color_min) = "0xA8FFFF";
1113 MY(color_max) = "0xA8FFFF";
1114 MY(sizeincrease) = 500;
1115 MY(size_min) = 4;
1116 MY(size_max) = 6;
1117 MY(tex_min) = 24;
1118 MY(tex_max) = 32;
1119 MY(trailspacing) = 42;
1120 MY(type) = "blood";
1121}
1122
1123// thinner blood trail (used by quake zombies)
1124DEF(TR_SLIGHTBLOOD);
1125SUB(TR_SLIGHTBLOOD) {
1126 MY(airfriction) = 1;
1127 MY(alpha_min) = 384;
1128 MY(alpha_max) = 384;
1129 MY(alpha_fade) = 192;
1130 MY(bounce) = -1;
1131 MY(color_min) = "0xA8FFFF";
1132 MY(color_max) = "0xA8FFFF";
1133 MY(liquidfriction) = 4;
1134 MY(size_min) = 8;
1135 MY(size_max) = 8;
1136 MY(staincolor_min) = "0x808080";
1137 MY(staincolor_max) = "0x808080";
1138 MY(staintex_min) = 16;
1139 MY(staintex_max) = 24;
1140 MY(tex_min) = 24;
1141 MY(tex_max) = 32;
1142 MY(trailspacing) = 64;
1143 MY(type) = "blood";
1144 MY(velocityjitter) = '64.0 64.0 64.0';
1145 MY(velocitymultiplier) = 0.500000;
1146}
1147
1148// func_stardust effect, used in some maps to indicate teleporters
1151 MY(airfriction) = 0.200000;
1152 MY(alpha_min) = 64;
1153 MY(alpha_max) = 128;
1154 MY(alpha_fade) = 128;
1155 MY(color_min) = "0xfff368";
1156 MY(color_max) = "0xfff368";
1157 MY(count) = 37.500000;
1158 MY(gravity) = -0.100000;
1159 MY(liquidfriction) = 0.800000;
1160 MY(originjitter) = '16.0 16.0 64.0';
1161 MY(size_min) = 1;
1162 MY(size_max) = 2;
1163 MY(type) = "static";
1164 MY(velocityjitter) = '32.0 32.0 0.0';
1165}
1166
1167// flare particle and light
1168DEF(item_respawn);
1169SUB(item_respawn) {
1170 MY(alpha_min) = 128;
1171 MY(alpha_max) = 128;
1172 MY(alpha_fade) = 128;
1173 MY(color_min) = "0x63F2EA";
1174 MY(color_max) = "0x63f2EA";
1175 MY(countabsolute) = 1;
1176 MY(size_min) = 32;
1177 MY(size_max) = 32;
1178 MY(type) = "static";
1179}
1180// cloud of particles which expand rapidly and then slow to form a ball
1181SUB(item_respawn) {
1182 MY(alpha_min) = 256;
1183 MY(alpha_max) = 256;
1184 MY(alpha_fade) = 1280;
1185 MY(color_min) = "0x63F2EA";
1186 MY(color_max) = "0x63f2EA";
1187 MY(count) = 128;
1188 MY(size_min) = 2;
1189 MY(size_max) = 2;
1190 MY(tex_min) = 41;
1191 MY(tex_max) = 41;
1192 MY(type) = "spark";
1193 MY(velocityjitter) = '256.0 256.0 256.0';
1194}
1195
1196DEF(jumppad_activate);
1197SUB(jumppad_activate) {
1198 MY(lightcolor) = '2.0 2.0 2.0';
1199 MY(lightradiusfade) = 2000;
1200 MY(lightradius) = 200;
1201}
1202
1203DEF(laser_muzzleflash);
1204// glow and light
1205SUB(laser_muzzleflash) {
1206 MY(airfriction) = 10;
1207 MY(alpha_min) = 256;
1208 MY(alpha_max) = 512;
1209 MY(alpha_fade) = 6280;
1210 MY(color_min) = "0xcc0000";
1211 MY(color_max) = "0xff0000";
1212 MY(countabsolute) = 1;
1213 MY(lightcolor) = '3.0 0.1 0.1';
1214 MY(lightradiusfade) = 2000;
1215 MY(lightradius) = 200;
1216 MY(sizeincrease) = -100;
1217 MY(size_min) = 10;
1218 MY(size_max) = 15;
1219 MY(stretchfactor) = 2;
1220 MY(tex_min) = 65;
1221 MY(tex_max) = 65;
1222 MY(type) = "smoke";
1223}
1224// electricity
1225SUB(laser_muzzleflash) {
1226 MY(airfriction) = 10;
1227 MY(alpha_min) = 256;
1228 MY(alpha_max) = 512;
1229 MY(alpha_fade) = 6280;
1230 MY(color_min) = "0xb44215";
1231 MY(color_max) = "0xff0000";
1232 MY(count) = 3;
1233 MY(originjitter) = '2.0 2.0 2.0';
1234 MY(startangle_min) = -180;
1235 MY(startangle_max) = 180;
1236 MY(spin_min) = 4000;
1237 MY(spin_max) = -4000;
1238 MY(sizeincrease) = -100;
1239 MY(size_min) = 5;
1240 MY(size_max) = 7;
1241 MY(stretchfactor) = 2.300000;
1242 MY(tex_min) = 43;
1243 MY(tex_max) = 43;
1244 MY(type) = "spark";
1245 MY(velocityjitter) = '150.0 150.0 150.0';
1246 MY(velocitymultiplier) = 0.200000;
1247}
1248// fire
1249SUB(laser_muzzleflash) {
1250 MY(airfriction) = 12;
1251 MY(alpha_min) = 256;
1252 MY(alpha_max) = 512;
1253 MY(alpha_fade) = 6280;
1254 MY(color_min) = "0xff4200";
1255 MY(color_max) = "0xff0000";
1256 MY(count) = 6;
1257 MY(originjitter) = '2.0 2.0 2.0';
1258 MY(sizeincrease) = -100;
1259 MY(size_min) = 7;
1260 MY(size_max) = 9;
1261 MY(stretchfactor) = 2;
1262 MY(tex_min) = 8;
1263 MY(tex_max) = 15;
1264 MY(type) = "spark";
1265 MY(velocityjitter) = '100.0 100.0 100.0';
1266 MY(velocitymultiplier) = 0.200000;
1267}
1268
1269DEF(laser_impact);
1270// decal
1271SUB(laser_impact) {
1272 MY(alpha_min) = 256;
1273 MY(alpha_max) = 256;
1274 MY(countabsolute) = 1;
1275 MY(lightcolor) = '8.0 0.4 0.4';
1276 MY(lightradiusfade) = 500;
1277 MY(lightradius) = 200;
1278 MY(originjitter) = '14.0 14.0 14.0';
1279 MY(size_min) = 24;
1280 MY(size_max) = 24;
1281 MY(tex_min) = 47;
1282 MY(tex_max) = 47;
1283 MY(type) = "decal";
1284}
1285// flare effect
1286SUB(laser_impact) {
1287 MY(alpha_min) = 256;
1288 MY(alpha_max) = 256;
1289 MY(alpha_fade) = 1024;
1290 MY(color_min) = "0xFF2010";
1291 MY(color_max) = "0xFF2010";
1292 MY(countabsolute) = 1;
1293 MY(size_min) = 24;
1294 MY(size_max) = 24;
1295 MY(tex_min) = 39;
1296 MY(tex_max) = 39;
1297 MY(type) = "static";
1298}
1299// sparks that rapidly expand and rapidly slow down to form an interesting spherical effect
1300SUB(laser_impact) {
1301 MY(airfriction) = 6;
1302 MY(alpha_min) = 256;
1303 MY(alpha_max) = 256;
1304 MY(alpha_fade) = 1024;
1305 MY(color_min) = "0x800000";
1306 MY(color_max) = "0xFF8020";
1307 MY(count) = 128;
1308 MY(liquidfriction) = 6;
1309 MY(size_min) = 4;
1310 MY(size_max) = 4;
1311 MY(type) = "spark";
1312 MY(velocityjitter) = '256.0 256.0 256.0';
1313}
1314SUB(laser_impact) {
1315 MY(alpha_min) = 128;
1316 MY(alpha_max) = 256;
1317 MY(alpha_fade) = 256;
1318 MY(color_min) = "0x800000";
1319 MY(color_max) = "0xFF8020";
1320 MY(count) = 4;
1321 MY(originjitter) = '1.0 1.0 1.0';
1322 MY(sizeincrease) = 6;
1323 MY(size_min) = 12;
1324 MY(size_max) = 12;
1325 MY(tex_min) = 48;
1326 MY(tex_max) = 55;
1327 MY(type) = "smoke";
1328 MY(velocityjitter) = '16.0 16.0 16.0';
1329 MY(velocitymultiplier) = 0.010000;
1330}
1331
1332DEF(shotgun_muzzleflash);
1333SUB(shotgun_muzzleflash) {
1334 MY(alpha_min) = 256;
1335 MY(alpha_max) = 256;
1336 MY(alpha_fade) = 512;
1337 MY(color_min) = "0x202020";
1338 MY(color_max) = "0x404040";
1339 MY(count) = 1.500000;
1340 MY(lightcolor) = '2.0 1.5 0.2';
1341 MY(lightradiusfade) = 2000;
1342 MY(lightradius) = 200;
1343 MY(originjitter) = '1.5 1.5 1.5';
1344 MY(sizeincrease) = 12;
1345 MY(size_min) = 5;
1346 MY(size_max) = 5;
1347 MY(tex_max) = 8;
1348 MY(type) = "smoke";
1349 MY(velocityjitter) = '6.0 6.0 6.0';
1350 MY(velocitymultiplier) = 0.050000;
1351}
1352SUB(shotgun_muzzleflash) {
1353 MY(airfriction) = 5;
1354 MY(alpha_max) = 128;
1355 MY(alpha_fade) = 1024;
1356 MY(color_min) = "0xffdb96";
1357 MY(color_max) = "0xff5400";
1358 MY(count) = 16;
1359 MY(originjitter) = '1.0 1.0 1.0';
1360 MY(size_min) = 10;
1361 MY(size_max) = 20;
1362 MY(stretchfactor) = 2.500000;
1363 MY(tex_min) = 48;
1364 MY(tex_max) = 55;
1365 MY(type) = "spark";
1366 MY(velocityjitter) = '100.0 100.0 100.0';
1367 MY(velocitymultiplier) = 0.500000;
1368}
1369
1370// shotgun pellet impact
1371DEF(shotgun_impact);
1372// decal
1373SUB(shotgun_impact) {
1374 MY(alpha_min) = 256;
1375 MY(alpha_max) = 256;
1376 MY(countabsolute) = 1;
1377 MY(originjitter) = '10.0 10.0 10.0';
1378 MY(size_min) = 5;
1379 MY(size_max) = 8;
1380 MY(tex_min) = 56;
1381 MY(tex_max) = 59;
1382 MY(type) = "decal";
1383}
1384// dust/smoke drifting away from the impact
1385SUB(shotgun_impact) {
1386 MY(airfriction) = 5;
1387 MY(alpha_min) = 300;
1388 MY(alpha_max) = 550;
1389 MY(alpha_fade) = 756;
1390 MY(color_min) = "0x473a37";
1391 MY(color_max) = "0x0b0a07";
1392 MY(count) = 1;
1393 MY(notunderwater) = true;
1394 MY(startangle_max) = 360;
1395 MY(spin_min) = -50;
1396 MY(spin_max) = 50;
1397 MY(sizeincrease) = 25;
1398 MY(size_min) = 10;
1399 MY(size_max) = 20;
1400 MY(tex_max) = 8;
1401 MY(type) = "alphastatic";
1402 MY(velocityjitter) = '150.0 150.0 150.0';
1403 MY(velocitymultiplier) = 0.200000;
1404}
1405// dust/smoke staying at the impact
1406SUB(shotgun_impact) {
1407 MY(airfriction) = 5;
1408 MY(alpha_min) = 200;
1409 MY(alpha_max) = 350;
1410 MY(alpha_fade) = 500;
1411 MY(bounce) = 6;
1412 MY(color_min) = "0x201d1a";
1413 MY(color_max) = "0x000000";
1414 MY(count) = 0.200000;
1415 MY(notunderwater) = true;
1416 MY(startangle_max) = 360;
1417 MY(spin_min) = -50;
1418 MY(spin_max) = 50;
1419 MY(sizeincrease) = 74;
1420 MY(size_min) = 10;
1421 MY(size_max) = 11;
1422 MY(tex_min) = 36;
1423 MY(tex_max) = 36;
1424 MY(type) = "alphastatic";
1425 MY(velocityjitter) = '11.0 11.0 11.0';
1426 MY(velocitymultiplier) = 0.030000;
1427}
1428// sparks
1429SUB(shotgun_impact) {
1430 MY(airfriction) = 1.100000;
1431 MY(alpha_max) = 356;
1432 MY(alpha_fade) = 268;
1433 MY(bounce) = 1.500000;
1434 MY(color_min) = "0xFDFFD9";
1435 MY(color_max) = "0xFDFFD9";
1436 MY(count) = 0.500000;
1437 MY(gravity) = 1;
1438 MY(notunderwater) = true;
1439 MY(originjitter) = '1.0 1.0 1.0';
1440 MY(size_min) = 0.600000;
1441 MY(size_max) = 0.600000;
1442 MY(tex_min) = 40;
1443 MY(tex_max) = 40;
1444 MY(type) = "spark";
1445 MY(velocityjitter) = '200.0 200.0 200.0';
1446 MY(velocitymultiplier) = 0.200000;
1447}
1448
1449DEF(uzi_muzzleflash);
1450SUB(uzi_muzzleflash) {
1451 MY(alpha_min) = 256;
1452 MY(alpha_max) = 256;
1453 MY(alpha_fade) = 512;
1454 MY(color_min) = "0x202020";
1455 MY(color_max) = "0x404040";
1456 MY(count) = 1;
1457 MY(gravity) = -0.100000;
1458 MY(lightcolor) = '2.0 1.5 0.2';
1459 MY(lightradiusfade) = 2000;
1460 MY(lightradius) = 200;
1461 MY(originjitter) = '1.5 1.5 1.5';
1462 MY(size_min) = 5;
1463 MY(size_max) = 5;
1464 MY(tex_max) = 8;
1465 MY(type) = "static";
1466 MY(velocityjitter) = '1.0 1.0 1.0';
1467 MY(velocitymultiplier) = 0.030000;
1468}
1469SUB(uzi_muzzleflash) {
1470 MY(airfriction) = 12;
1471 MY(alpha_max) = 256;
1472 MY(alpha_fade) = 6000;
1473 MY(color_min) = "0xff9c00";
1474 MY(color_max) = "0xffd200";
1475 MY(count) = 3;
1476 MY(originjitter) = '1.0 1.0 1.0';
1477 MY(size_min) = 0.300000;
1478 MY(size_max) = 0.400000;
1479 MY(stretchfactor) = 0.150000;
1480 MY(tex_min) = 40;
1481 MY(tex_max) = 40;
1482 MY(type) = "spark";
1483 MY(velocityjitter) = '555.0 555.0 555.0';
1484 MY(velocitymultiplier) = 3;
1485}
1486
1487DEF(machinegun_impact);
1488// decal
1489SUB(machinegun_impact) {
1490 MY(alpha_min) = 256;
1491 MY(alpha_max) = 256;
1492 MY(countabsolute) = 1;
1493 MY(lightcolor) = '6.0 3.6 0.6';
1494 MY(lightradiusfade) = 800;
1495 MY(lightradius) = 80;
1496 MY(originjitter) = '10.0 10.0 10.0';
1497 MY(size_min) = 5;
1498 MY(size_max) = 5;
1499 MY(tex_min) = 56;
1500 MY(tex_max) = 59;
1501 MY(type) = "decal";
1502}
1503// dust/smoke drifting away from the impact
1504SUB(machinegun_impact) {
1505 MY(airfriction) = 5;
1506 MY(alpha_min) = 300;
1507 MY(alpha_max) = 550;
1508 MY(alpha_fade) = 456;
1509 MY(color_min) = "0x473a37";
1510 MY(color_max) = "0x0b0a07";
1511 MY(count) = 1.500000;
1512 MY(notunderwater) = true;
1513 MY(startangle_max) = 360;
1514 MY(spin_min) = -50;
1515 MY(spin_max) = 50;
1516 MY(sizeincrease) = 15;
1517 MY(size_min) = 10;
1518 MY(size_max) = 20;
1519 MY(tex_max) = 8;
1520 MY(type) = "alphastatic";
1521 MY(velocityjitter) = '150.0 150.0 150.0';
1522 MY(velocitymultiplier) = 0.100000;
1523}
1524// dust/smoke staying at the impact
1525SUB(machinegun_impact) {
1526 MY(airfriction) = 5;
1527 MY(alpha_min) = 200;
1528 MY(alpha_max) = 350;
1529 MY(alpha_fade) = 500;
1530 MY(bounce) = 6;
1531 MY(color_min) = "0x201d1a";
1532 MY(color_max) = "0x000000";
1533 MY(count) = 0.500000;
1534 MY(notunderwater) = true;
1535 MY(startangle_max) = 360;
1536 MY(spin_min) = -50;
1537 MY(spin_max) = 50;
1538 MY(sizeincrease) = 74;
1539 MY(size_min) = 10;
1540 MY(size_max) = 11;
1541 MY(tex_min) = 36;
1542 MY(tex_max) = 36;
1543 MY(type) = "alphastatic";
1544 MY(velocityjitter) = '11.0 11.0 11.0';
1545 MY(velocitymultiplier) = 0.030000;
1546}
1547// debris
1548SUB(machinegun_impact) {
1549 MY(airfriction) = 1;
1550 MY(alpha_min) = 300;
1551 MY(alpha_max) = 550;
1552 MY(alpha_fade) = 256;
1553 MY(bounce) = 1.700000;
1554 MY(color_min) = "0x63493e";
1555 MY(color_max) = "0xffffff";
1556 MY(count) = 1;
1557 MY(gravity) = 1.400000;
1558 MY(notunderwater) = true;
1559 MY(startangle_max) = 360;
1560 MY(spin_min) = -500;
1561 MY(spin_max) = 500;
1562 MY(size_min) = 1;
1563 MY(size_max) = 5;
1564 MY(tex_min) = 66;
1565 MY(tex_max) = 68;
1566 MY(type) = "alphastatic";
1567 MY(velocityjitter) = '350.0 350.0 350.0';
1568 MY(velocitymultiplier) = 0.200000;
1569}
1570// sparks
1571SUB(machinegun_impact) {
1572 MY(airfriction) = 2;
1573 MY(alpha_min) = 256;
1574 MY(alpha_max) = 256;
1575 MY(alpha_fade) = 168;
1576 MY(bounce) = 1;
1577 MY(color_min) = "0xFDFFD9";
1578 MY(color_max) = "0xFDFFD9";
1579 MY(count) = 1;
1580 MY(gravity) = 1;
1581 MY(notunderwater) = true;
1582 MY(originjitter) = '1.0 1.0 1.0';
1583 MY(size_min) = 0.300000;
1584 MY(size_max) = 0.300000;
1585 MY(tex_min) = 40;
1586 MY(tex_max) = 40;
1587 MY(type) = "spark";
1588 MY(velocityjitter) = '300.0 300.0 300.0';
1589 MY(velocitymultiplier) = 0.200000;
1590}
1591
1592DEF(grenadelauncher_muzzleflash);
1593SUB(grenadelauncher_muzzleflash) {
1594 MY(airfriction) = 12;
1595 MY(alpha_min) = 256;
1596 MY(alpha_max) = 256;
1597 MY(alpha_fade) = 512;
1598 MY(color_min) = "0x202020";
1599 MY(color_max) = "0x404040";
1600 MY(count) = 1.500000;
1601 MY(lightcolor) = '2.0 1.5 0.2';
1602 MY(lightradiusfade) = 2000;
1603 MY(lightradius) = 200;
1604 MY(originjitter) = '1.5 1.5 1.5';
1605 MY(size_min) = 5;
1606 MY(size_max) = 5;
1607 MY(tex_max) = 8;
1608 MY(type) = "smoke";
1609 MY(velocityjitter) = '20.0 20.0 20.0';
1610 MY(velocitymultiplier) = 0.030000;
1611}
1612SUB(grenadelauncher_muzzleflash) {
1613 MY(airfriction) = 5;
1614 MY(alpha_max) = 128;
1615 MY(alpha_fade) = 1024;
1616 MY(color_min) = "0xffdb96";
1617 MY(color_max) = "0xff5400";
1618 MY(count) = 16;
1619 MY(originjitter) = '1.0 1.0 1.0';
1620 MY(size_min) = 10;
1621 MY(size_max) = 20;
1622 MY(stretchfactor) = 2.500000;
1623 MY(tex_min) = 48;
1624 MY(tex_max) = 55;
1625 MY(type) = "spark";
1626 MY(velocityjitter) = '100.0 100.0 100.0';
1627 MY(velocitymultiplier) = 0.500000;
1628}
1629
1630// mortar trail
1631DEF(TR_GRENADE);
1632// smoke
1633SUB(TR_GRENADE) {
1634 MY(alpha_min) = 300;
1635 MY(alpha_max) = 400;
1636 MY(alpha_fade) = 384;
1637 MY(bounce) = 1;
1638 MY(color_min) = "0x101010";
1639 MY(color_max) = "0x000000";
1640 MY(originjitter) = '1.0 1.0 1.0';
1641 MY(sizeincrease) = 8;
1642 MY(size_min) = 2;
1643 MY(size_max) = 3;
1644 MY(tex_max) = 8;
1645 MY(trailspacing) = 4;
1646 MY(type) = "smoke";
1647 MY(velocityjitter) = '1.0 1.0 1.0';
1648 MY(velocitymultiplier) = -0.020000;
1649}
1650// fire
1651SUB(TR_GRENADE) {
1652 MY(airfriction) = 8;
1653 MY(alpha_min) = 100;
1654 MY(alpha_max) = 156;
1655 MY(alpha_fade) = 456;
1656 MY(color_min) = "0xffb672";
1657 MY(color_max) = "0x811200";
1658 MY(notunderwater) = true;
1659 MY(sizeincrease) = -6;
1660 MY(size_min) = 3;
1661 MY(size_max) = 5;
1662 MY(tex_min) = 48;
1663 MY(tex_max) = 55;
1664 MY(trailspacing) = 4;
1665 MY(type) = "static";
1666 MY(velocityjitter) = '32.0 32.0 32.0';
1667 MY(velocitymultiplier) = -1;
1668}
1669// bubbles
1670SUB(TR_GRENADE) {
1671 MY(alpha_min) = 256;
1672 MY(alpha_max) = 256;
1673 MY(alpha_fade) = 256;
1674 MY(bounce) = 1.500000;
1675 MY(color_min) = "0x404040";
1676 MY(color_max) = "0x808080";
1677 MY(gravity) = -0.125000;
1678 MY(liquidfriction) = 4;
1679 MY(size_min) = 1;
1680 MY(size_max) = 1;
1681 MY(tex_min) = 62;
1682 MY(tex_max) = 62;
1683 MY(trailspacing) = 16;
1684 MY(type) = "bubble";
1685 MY(underwater) = true;
1686 MY(velocityjitter) = '16.0 16.0 16.0';
1687}
1688
1689// hookbomb trail
1690DEF(TR_KNIGHTSPIKE);
1691// smoke
1692SUB(TR_KNIGHTSPIKE) {
1693 MY(alpha_min) = 300;
1694 MY(alpha_max) = 400;
1695 MY(alpha_fade) = 600;
1696 MY(bounce) = 1;
1697 MY(color_min) = "0x303030";
1698 MY(color_max) = "0x000000";
1699 MY(gravity) = -0.110000;
1700 MY(notunderwater) = true;
1701 MY(originjitter) = '2.0 2.0 2.0';
1702 MY(sizeincrease) = 11;
1703 MY(size_min) = 3;
1704 MY(size_max) = 3;
1705 MY(tex_max) = 8;
1706 MY(trailspacing) = 6;
1707 MY(type) = "smoke";
1708 MY(velocityjitter) = '3.0 3.0 3.0';
1709 MY(velocitymultiplier) = -0.020000;
1710}
1711// marker
1712SUB(TR_KNIGHTSPIKE) {
1713 MY(alpha_min) = 256;
1714 MY(alpha_max) = 256;
1715 MY(alpha_fade) = 720;
1716 MY(color_min) = "0x666666";
1717 MY(color_max) = "0x000000";
1718 MY(sizeincrease) = -0.100000;
1719 MY(size_min) = 1;
1720 MY(size_max) = 1;
1721 MY(tex_min) = 62;
1722 MY(tex_max) = 62;
1723 MY(trailspacing) = 2;
1724 MY(type) = "alphastatic";
1725}
1726// bubbles
1727SUB(TR_KNIGHTSPIKE) {
1728 MY(alpha_min) = 256;
1729 MY(alpha_max) = 256;
1730 MY(alpha_fade) = 256;
1731 MY(bounce) = 1.500000;
1732 MY(color_min) = "0x404040";
1733 MY(color_max) = "0x808080";
1734 MY(gravity) = -0.125000;
1735 MY(liquidfriction) = 4;
1736 MY(size_min) = 1;
1737 MY(size_max) = 1;
1738 MY(tex_min) = 62;
1739 MY(tex_max) = 62;
1740 MY(trailspacing) = 32;
1741 MY(type) = "bubble";
1742 MY(underwater) = true;
1743 MY(velocityjitter) = '16.0 16.0 16.0';
1744}
1745
1746DEF(grenade_explode);
1747// decal
1748SUB(grenade_explode) {
1749 MY(alpha_min) = 256;
1750 MY(alpha_max) = 256;
1751 MY(countabsolute) = 1;
1752 MY(lightcolor) = '8.0 3.0 1.0';
1753 MY(lightradiusfade) = 400;
1754 MY(lightradius) = 250;
1755 MY(originjitter) = '26.0 26.0 26.0';
1756 MY(size_min) = 48;
1757 MY(size_max) = 48;
1758 MY(tex_min) = 8;
1759 MY(tex_max) = 16;
1760 MY(type) = "decal";
1761}
1762// fire effect which expands then slows
1763SUB(grenade_explode) {
1764 MY(airfriction) = 8;
1765 MY(alpha_min) = 128;
1766 MY(alpha_max) = 228;
1767 MY(alpha_fade) = 356;
1768 MY(bounce) = 4.500000;
1769 MY(color_min) = "0xe03f00";
1770 MY(color_max) = "0x5e0000";
1771 MY(count) = 40;
1772 MY(liquidfriction) = 8;
1773 MY(notunderwater) = true;
1774 MY(originjitter) = '8.0 8.0 8.0';
1775 MY(sizeincrease) = 20;
1776 MY(size_min) = 16;
1777 MY(size_max) = 26;
1778 MY(tex_min) = 48;
1779 MY(tex_max) = 55;
1780 MY(type) = "static";
1781 MY(velocityjitter) = '256.0 256.0 256.0';
1782}
1783// fire effect which make bright dot inside
1784SUB(grenade_explode) {
1785 MY(airfriction) = 8;
1786 MY(alpha_min) = 228;
1787 MY(alpha_max) = 328;
1788 MY(alpha_fade) = 756;
1789 MY(bounce) = 1;
1790 MY(color_min) = "0xe03f00";
1791 MY(color_max) = "0xffdf92";
1792 MY(count) = 15;
1793 MY(liquidfriction) = 8;
1794 MY(notunderwater) = true;
1795 MY(originjitter) = '8.0 8.0 8.0';
1796 MY(sizeincrease) = 40;
1797 MY(size_min) = 6;
1798 MY(size_max) = 16;
1799 MY(tex_min) = 48;
1800 MY(tex_max) = 55;
1801 MY(type) = "static";
1802 MY(velocityjitter) = '256.0 256.0 256.0';
1803}
1804// smoke
1805SUB(grenade_explode) {
1806 MY(airfriction) = 5;
1807 MY(alpha_min) = 300;
1808 MY(alpha_max) = 550;
1809 MY(alpha_fade) = 556;
1810 MY(bounce) = 6;
1811 MY(color_min) = "0x000000";
1812 MY(color_max) = "0x111111";
1813 MY(count) = 10;
1814 MY(notunderwater) = true;
1815 MY(sizeincrease) = 34;
1816 MY(size_min) = 20;
1817 MY(size_max) = 40;
1818 MY(tex_max) = 8;
1819 MY(type) = "alphastatic";
1820 MY(velocityjitter) = '256.0 256.0 256.0';
1821}
1822// underwater bubbles
1823SUB(grenade_explode) {
1824 MY(alpha_min) = 128;
1825 MY(alpha_max) = 256;
1826 MY(alpha_fade) = 64;
1827 MY(bounce) = 1.500000;
1828 MY(color_min) = "0x404040";
1829 MY(color_max) = "0x808080";
1830 MY(count) = 32;
1831 MY(gravity) = -0.125000;
1832 MY(liquidfriction) = 0.250000;
1833 MY(originjitter) = '16.0 16.0 16.0';
1834 MY(size_min) = 3;
1835 MY(size_max) = 6;
1836 MY(tex_min) = 62;
1837 MY(tex_max) = 62;
1838 MY(type) = "bubble";
1839 MY(underwater) = true;
1840 MY(velocityjitter) = '196.0 196.0 196.0';
1841}
1842// underwatershockwave
1843SUB(grenade_explode) {
1844 MY(alpha_min) = 40;
1845 MY(alpha_max) = 40;
1846 MY(alpha_fade) = 300;
1847 MY(countabsolute) = 1;
1848 MY(sizeincrease) = 1500;
1849 MY(size_min) = 5;
1850 MY(size_max) = 5;
1851 MY(tex_min) = 33;
1852 MY(tex_max) = 33;
1853 MY(type) = "smoke";
1854 MY(underwater) = true;
1855 MY(velocitymultiplier) = 0.300000;
1856}
1857// bouncing sparks
1858SUB(grenade_explode) {
1859 MY(airfriction) = 1;
1860 MY(alpha_min) = 644;
1861 MY(alpha_max) = 956;
1862 MY(alpha_fade) = 484;
1863 MY(bounce) = 1.600000;
1864 MY(color_min) = "0xffa35b";
1865 MY(color_max) = "0xfff2be";
1866 MY(count) = 16;
1867 MY(gravity) = 1;
1868 MY(liquidfriction) = 0.800000;
1869 MY(notunderwater) = true;
1870 MY(originjitter) = '16.0 16.0 16.0';
1871 MY(size_min) = 1;
1872 MY(size_max) = 0.100000;
1873 MY(tex_min) = 40;
1874 MY(tex_max) = 40;
1875 MY(type) = "spark";
1876 MY(velocityjitter) = '424.0 424.0 624.0';
1877 MY(velocityoffset) = '0.0 0.0 80.0';
1878}
1879// debris
1880SUB(grenade_explode) {
1881 MY(airfriction) = 0.500000;
1882 MY(alpha_min) = 644;
1883 MY(alpha_max) = 956;
1884 MY(alpha_fade) = 684;
1885 MY(bounce) = 1.600000;
1886 MY(color_min) = "0x6a3d25";
1887 MY(color_max) = "0xcac5b4";
1888 MY(count) = 12;
1889 MY(gravity) = 1.300000;
1890 MY(notunderwater) = true;
1891 MY(startangle_min) = -180;
1892 MY(startangle_max) = 180;
1893 MY(spin_min) = -1000;
1894 MY(spin_max) = 1000;
1895 MY(size_min) = 2;
1896 MY(size_max) = 6;
1897 MY(tex_min) = 66;
1898 MY(tex_max) = 68;
1899 MY(type) = "alphastatic";
1900 MY(velocityjitter) = '324.0 324.0 524.0';
1901}
1902
1903DEF(electro_muzzleflash);
1904SUB(electro_muzzleflash) {
1905 MY(alpha_min) = 256;
1906 MY(alpha_max) = 256;
1907 MY(alpha_fade) = 512;
1908 MY(color_min) = "0x283880";
1909 MY(color_max) = "0x283880";
1910 MY(countabsolute) = 1;
1911 MY(lightcolor) = '1.5 3.0 6.0';
1912 MY(lightradiusfade) = 2000;
1913 MY(lightradius) = 200;
1914 MY(originjitter) = '1.5 1.5 1.5';
1915 MY(sizeincrease) = -10;
1916 MY(size_min) = 15;
1917 MY(size_max) = 15;
1918 MY(tex_min) = 65;
1919 MY(tex_max) = 65;
1920 MY(type) = "smoke";
1921 MY(velocityjitter) = '6.0 6.0 6.0';
1922 MY(velocitymultiplier) = 0.010000;
1923}
1924SUB(electro_muzzleflash) {
1925 MY(airfriction) = 2;
1926 MY(alpha_min) = 110;
1927 MY(alpha_max) = 228;
1928 MY(alpha_fade) = 2024;
1929 MY(color_min) = "0xD9FDFF";
1930 MY(color_max) = "0xD9FDFF";
1931 MY(count) = 7;
1932 MY(originjitter) = '1.0 1.0 1.0';
1933 MY(size_min) = 5;
1934 MY(size_max) = 15;
1935 MY(stretchfactor) = 1.500000;
1936 MY(tex_min) = 8;
1937 MY(tex_max) = 15;
1938 MY(type) = "spark";
1939 MY(velocityjitter) = '150.0 150.0 150.0';
1940 MY(velocitymultiplier) = 0.500000;
1941}
1942SUB(electro_muzzleflash) {
1943 MY(airfriction) = 8;
1944 MY(alpha_min) = 110;
1945 MY(alpha_max) = 228;
1946 MY(alpha_fade) = 1024;
1947 MY(color_min) = "0xD9FDFF";
1948 MY(color_max) = "0xD9FDFF";
1949 MY(count) = 5;
1950 MY(gravity) = 1.300000;
1951 MY(originjitter) = '1.0 1.0 1.0';
1952 MY(size_min) = 7;
1953 MY(size_max) = 6;
1954 MY(stretchfactor) = 0.100000;
1955 MY(tex_min) = 41;
1956 MY(tex_max) = 41;
1957 MY(type) = "spark";
1958 MY(velocityjitter) = '350.0 350.0 350.0';
1959 MY(velocitymultiplier) = 2.500000;
1960}
1961
1962// electro trail
1963DEF(TR_NEXUIZPLASMA);
1964// glowing vapor trail
1965SUB(TR_NEXUIZPLASMA) {
1966 MY(alpha_min) = 256;
1967 MY(alpha_max) = 256;
1968 MY(alpha_fade) = 968;
1969 MY(color_min) = "0x283880";
1970 MY(color_max) = "0x283880";
1971 MY(lightcolor) = '1.5 3.0 6.0';
1972 MY(lightradius) = 90;
1973 MY(size_min) = 3;
1974 MY(size_max) = 3;
1975 MY(tex_min) = 38;
1976 MY(tex_max) = 38;
1977 MY(trailspacing) = 2;
1978 MY(type) = "static";
1979 MY(velocitymultiplier) = -0.100000;
1980}
1981// bright sparks
1982SUB(TR_NEXUIZPLASMA) {
1983 MY(airfriction) = 12;
1984 MY(alpha_min) = 444;
1985 MY(alpha_max) = 512;
1986 MY(alpha_fade) = 1866;
1987 MY(bounce) = 1;
1988 MY(color_min) = "0x629dff";
1989 MY(color_max) = "0x0018ff";
1990 MY(count) = 1.500000;
1991 MY(originjitter) = '1.0 1.0 1.0';
1992 MY(sizeincrease) = -20;
1993 MY(size_min) = 2;
1994 MY(size_max) = 4;
1995 MY(tex_min) = 42;
1996 MY(tex_max) = 42;
1997 MY(trailspacing) = 12;
1998 MY(type) = "snow";
1999 MY(velocityjitter) = '50.0 50.0 50.0';
2000 MY(velocityoffset) = '0.0 0.0 15.0';
2001}
2002
2003DEF(electro_impact);
2004// decal
2005SUB(electro_impact) {
2006 MY(alpha_min) = 256;
2007 MY(alpha_max) = 256;
2008 MY(countabsolute) = 1;
2009 MY(lightcolor) = '3.1 4.4 10.0';
2010 MY(lightradiusfade) = 250;
2011 MY(lightradius) = 250;
2012 MY(originjitter) = '17.0 17.0 17.0';
2013 MY(size_min) = 32;
2014 MY(size_max) = 32;
2015 MY(tex_min) = 59;
2016 MY(tex_max) = 59;
2017 MY(type) = "decal";
2018}
2019// shockwave
2020SUB(electro_impact) {
2021 MY(alpha_min) = 40;
2022 MY(alpha_max) = 40;
2023 MY(alpha_fade) = 350;
2024 MY(color_min) = "0x80C0FF";
2025 MY(color_max) = "0x80C0FF";
2026 MY(countabsolute) = 1;
2027 MY(sizeincrease) = 1000;
2028 MY(size_min) = 32;
2029 MY(size_max) = 32;
2030 MY(tex_min) = 33;
2031 MY(tex_max) = 33;
2032 MY(type) = "smoke";
2033 MY(velocitymultiplier) = 44;
2034}
2035// flare effect
2036SUB(electro_impact) {
2037 MY(alpha_min) = 256;
2038 MY(alpha_max) = 256;
2039 MY(alpha_fade) = 512;
2040 MY(color_min) = "0x80C0FF";
2041 MY(color_max) = "0x80C0FF";
2042 MY(countabsolute) = 1;
2043 MY(size_min) = 12;
2044 MY(size_max) = 32;
2045 MY(tex_min) = 38;
2046 MY(tex_max) = 38;
2047 MY(type) = "static";
2048}
2049// cloud of bouncing sparks
2050SUB(electro_impact) {
2051 MY(airfriction) = 6;
2052 MY(alpha_min) = 256;
2053 MY(alpha_max) = 256;
2054 MY(alpha_fade) = 1024;
2055 MY(bounce) = 2;
2056 MY(color_min) = "0x629dff";
2057 MY(color_max) = "0x0018ff";
2058 MY(count) = 30;
2059 MY(gravity) = -0.300000;
2060 MY(originjitter) = '1.0 1.0 1.0';
2061 MY(startangle_min) = -180;
2062 MY(startangle_max) = 180;
2063 MY(spin_min) = -9999;
2064 MY(spin_max) = 9999;
2065 MY(sizeincrease) = -50;
2066 MY(size_min) = 36;
2067 MY(size_max) = 36;
2068 MY(tex_min) = 42;
2069 MY(tex_max) = 42;
2070 MY(type) = "smoke";
2071 MY(velocityjitter) = '512.0 512.0 512.0';
2072}
2073// inner cloud of smoke
2074SUB(electro_impact) {
2075 MY(airfriction) = 30;
2076 MY(alpha_min) = 200;
2077 MY(alpha_max) = 256;
2078 MY(alpha_fade) = 512;
2079 MY(color_min) = "0x629dff";
2080 MY(color_max) = "0x0018ff";
2081 MY(count) = 30;
2082 MY(originjitter) = '20.0 20.0 20.0';
2083 MY(sizeincrease) = 50;
2084 MY(size_min) = 20;
2085 MY(size_max) = 24;
2086 MY(tex_max) = 8;
2087 MY(type) = "smoke";
2088 MY(velocityjitter) = '320.0 320.0 320.0';
2089}
2090
2091DEF(electro_ballexplode);
2092// decal
2093SUB(electro_ballexplode) {
2094 MY(alpha_min) = 256;
2095 MY(alpha_max) = 256;
2096 MY(countabsolute) = 1;
2097 MY(lightcolor) = '3.1 4.4 10.0';
2098 MY(lightradiusfade) = 250;
2099 MY(lightradius) = 250;
2100 MY(originjitter) = '17.0 17.0 17.0';
2101 MY(size_min) = 32;
2102 MY(size_max) = 32;
2103 MY(tex_min) = 59;
2104 MY(tex_max) = 59;
2105 MY(type) = "decal";
2106}
2107// flare effect
2108SUB(electro_ballexplode) {
2109 MY(alpha_min) = 256;
2110 MY(alpha_max) = 256;
2111 MY(alpha_fade) = 512;
2112 MY(color_min) = "0x80C0FF";
2113 MY(color_max) = "0x80C0FF";
2114 MY(countabsolute) = 1;
2115 MY(size_min) = 32;
2116 MY(size_max) = 32;
2117 MY(tex_min) = 38;
2118 MY(tex_max) = 38;
2119 MY(type) = "static";
2120}
2121// cloud of bouncing sparks
2122SUB(electro_ballexplode) {
2123 MY(alpha_min) = 256;
2124 MY(alpha_max) = 256;
2125 MY(alpha_fade) = 1024;
2126 MY(bounce) = 2;
2127 MY(color_min) = "0xFDFFD9";
2128 MY(color_max) = "0xFDFFD9";
2129 MY(count) = 64;
2130 MY(originjitter) = '1.0 1.0 1.0';
2131 MY(size_min) = 1;
2132 MY(size_max) = 2;
2133 MY(stretchfactor) = 0.400000;
2134 MY(tex_min) = 41;
2135 MY(tex_max) = 41;
2136 MY(type) = "spark";
2137 MY(velocityjitter) = '512.0 512.0 512.0';
2138}
2139// inner cloud of smoke
2140SUB(electro_ballexplode) {
2141 MY(alpha_min) = 256;
2142 MY(alpha_max) = 256;
2143 MY(alpha_fade) = 512;
2144 MY(color_min) = "0x202020";
2145 MY(color_max) = "0x404040";
2146 MY(count) = 8;
2147 MY(originjitter) = '20.0 20.0 20.0';
2148 MY(size_min) = 24;
2149 MY(size_max) = 24;
2150 MY(tex_max) = 8;
2151 MY(type) = "smoke";
2152 MY(velocityjitter) = '32.0 32.0 32.0';
2153}
2154
2155DEF(electro_combo);
2156// decal
2157SUB(electro_combo) {
2158 MY(alpha_min) = 256;
2159 MY(alpha_max) = 256;
2160 MY(countabsolute) = 1;
2161 MY(lightcolor) = '4.0 5.0 6.0';
2162 MY(lightradiusfade) = 300;
2163 MY(lightradius) = 400;
2164 MY(originjitter) = '17.0 17.0 17.0';
2165 MY(size_min) = 64;
2166 MY(size_max) = 64;
2167 MY(tex_min) = 59;
2168 MY(tex_max) = 59;
2169 MY(type) = "decal";
2170}
2171// flare effect
2172SUB(electro_combo) {
2173 MY(alpha_min) = 128;
2174 MY(alpha_max) = 128;
2175 MY(alpha_fade) = 64;
2176 MY(color_min) = "0x80C0FF";
2177 MY(color_max) = "0x80C0FF";
2178 MY(countabsolute) = 1;
2179 MY(size_min) = 48;
2180 MY(size_max) = 48;
2181 MY(tex_min) = 38;
2182 MY(tex_max) = 38;
2183 MY(type) = "static";
2184}
2185// large sparks
2186SUB(electro_combo) {
2187 MY(airfriction) = 6;
2188 MY(alpha_min) = 156;
2189 MY(alpha_max) = 156;
2190 MY(alpha_fade) = 156;
2191 MY(bounce) = 2;
2192 MY(color_min) = "0x2030FF";
2193 MY(color_max) = "0x80C0FF";
2194 MY(count) = 5;
2195 MY(liquidfriction) = 16;
2196 MY(sizeincrease) = 50;
2197 MY(size_min) = 32;
2198 MY(size_max) = 32;
2199 MY(tex_max) = 7;
2200 MY(type) = "static";
2201 MY(velocityjitter) = '512.0 512.0 512.0';
2202}
2203SUB(electro_combo) {
2204 MY(alpha_min) = 444;
2205 MY(alpha_max) = 512;
2206 MY(alpha_fade) = 500;
2207 MY(bounce) = 1.600000;
2208 MY(color_min) = "0xa9cacf";
2209 MY(color_max) = "0x0054ff";
2210 MY(count) = 32;
2211 MY(originjitter) = '1.0 1.0 1.0';
2212 MY(size_min) = 2;
2213 MY(size_max) = 4;
2214 MY(stretchfactor) = 2;
2215 MY(tex_min) = 41;
2216 MY(tex_max) = 41;
2217 MY(type) = "spark";
2218 MY(velocityjitter) = '128.0 128.0 128.0';
2219 MY(velocitymultiplier) = 0.300000;
2220}
2221// inner cloud of smoke
2222SUB(electro_combo) {
2223 MY(alpha_min) = 256;
2224 MY(alpha_max) = 256;
2225 MY(alpha_fade) = 256;
2226 MY(color_min) = "0x202020";
2227 MY(color_max) = "0x404040";
2228 MY(count) = 0.125000;
2229 MY(originjitter) = '20.0 20.0 20.0';
2230 MY(size_min) = 24;
2231 MY(size_max) = 24;
2232 MY(tex_max) = 8;
2233 MY(type) = "smoke";
2234 MY(velocityjitter) = '32.0 32.0 32.0';
2235}
2236// shockwave
2237SUB(electro_combo) {
2238 MY(alpha_min) = 64;
2239 MY(alpha_max) = 64;
2240 MY(alpha_fade) = 40;
2241 MY(color_min) = "0xa9cacf";
2242 MY(color_max) = "0x0054ff";
2243 MY(countabsolute) = 1;
2244 MY(size_min) = 120;
2245 MY(size_max) = 120;
2246 MY(tex_min) = 33;
2247 MY(tex_max) = 33;
2248 MY(type) = "smoke";
2249 MY(velocitymultiplier) = 0.300000;
2250}
2251
2252DEF(crylink_muzzleflash);
2253SUB(crylink_muzzleflash) {
2254 MY(alpha_min) = 128;
2255 MY(alpha_max) = 128;
2256 MY(alpha_fade) = 2024;
2257 MY(color_min) = "0xdd9cff";
2258 MY(color_max) = "0xff0090";
2259 MY(count) = 0.500000;
2260 MY(lightcolor) = '1.6 0.2 2.0';
2261 MY(lightradiusfade) = 2000;
2262 MY(lightradius) = 200;
2263 MY(size_min) = 15;
2264 MY(size_max) = 20;
2265 MY(tex_min) = 65;
2266 MY(tex_max) = 65;
2267 MY(type) = "smoke";
2268 MY(velocitymultiplier) = 0.010000;
2269}
2270SUB(crylink_muzzleflash) {
2271 MY(airfriction) = 12;
2272 MY(alpha_max) = 128;
2273 MY(alpha_fade) = 1024;
2274 MY(color_min) = "0xA080C0";
2275 MY(color_max) = "0xA080C0";
2276 MY(count) = 5;
2277 MY(originjitter) = '1.0 1.0 1.0';
2278 MY(size_min) = 5;
2279 MY(size_max) = 10;
2280 MY(stretchfactor) = 1.500000;
2281 MY(tex_min) = 35;
2282 MY(tex_max) = 36;
2283 MY(type) = "spark";
2284 MY(velocityjitter) = '200.0 200.0 200.0';
2285 MY(velocitymultiplier) = 0.300000;
2286}
2287
2288DEF(crylink_impact);
2289// decal
2290SUB(crylink_impact) {
2291 MY(alpha_min) = 256;
2292 MY(alpha_max) = 256;
2293 MY(countabsolute) = 1;
2294 MY(originjitter) = '12.0 12.0 12.0';
2295 MY(size_min) = 24;
2296 MY(size_max) = 24;
2297 MY(tex_min) = 47;
2298 MY(tex_max) = 47;
2299 MY(type) = "decal";
2300}
2301// purple flare effect
2302SUB(crylink_impact) {
2303 MY(alpha_min) = 256;
2304 MY(alpha_max) = 256;
2305 MY(alpha_fade) = 512;
2306 MY(color_min) = "0x504060";
2307 MY(color_max) = "0x504060";
2308 MY(countabsolute) = 1;
2309 MY(size_min) = 24;
2310 MY(size_max) = 24;
2311 MY(tex_min) = 39;
2312 MY(tex_max) = 39;
2313 MY(type) = "static";
2314}
2315// purple sparks
2316SUB(crylink_impact) {
2317 MY(alpha_min) = 256;
2318 MY(alpha_max) = 256;
2319 MY(alpha_fade) = 1024;
2320 MY(bounce) = 2;
2321 MY(color_min) = "0xA040C0";
2322 MY(color_max) = "0xA040C0";
2323 MY(count) = 40;
2324 MY(size_min) = 6;
2325 MY(size_max) = 6;
2326 MY(tex_min) = 41;
2327 MY(tex_max) = 41;
2328 MY(type) = "spark";
2329 MY(velocityjitter) = '512.0 512.0 512.0';
2330}
2331// purple splash
2332SUB(crylink_impact) {
2333 MY(alpha_min) = 256;
2334 MY(alpha_max) = 256;
2335 MY(alpha_fade) = 512;
2336 MY(color_min) = "0xE070FF";
2337 MY(color_max) = "0xE070FF";
2338 MY(count) = 1.500000;
2339 MY(size_min) = 16;
2340 MY(size_max) = 16;
2341 MY(type) = "static";
2342 MY(velocityjitter) = '32.0 32.0 32.0';
2343}
2344// purple splash
2345SUB(crylink_impact) {
2346 MY(alpha_min) = 256;
2347 MY(alpha_max) = 256;
2348 MY(alpha_fade) = 1024;
2349 MY(color_min) = "0xE070FF";
2350 MY(color_max) = "0xE070FF";
2351 MY(count) = 3;
2352 MY(size_min) = 16;
2353 MY(size_max) = 16;
2354 MY(type) = "static";
2355 MY(velocityjitter) = '256.0 256.0 256.0';
2356}
2357
2358DEF(nex_muzzleflash);
2359SUB(nex_muzzleflash) {
2360 MY(airfriction) = 9;
2361 MY(alpha_min) = 328;
2362 MY(alpha_max) = 328;
2363 MY(alpha_fade) = 4000;
2364 MY(color_min) = "0x202020";
2365 MY(color_max) = "0x0072ff";
2366 MY(count) = 12;
2367 MY(lightcolor) = '2.0 2.5 3.0';
2368 MY(lightradiusfade) = 200;
2369 MY(lightradius) = 200;
2370 MY(originjitter) = '4.0 4.0 4.0';
2371 MY(sizeincrease) = -100;
2372 MY(size_min) = 16;
2373 MY(size_max) = 16;
2374 MY(stretchfactor) = 2;
2375 MY(tex_min) = 48;
2376 MY(tex_max) = 55;
2377 MY(type) = "spark";
2378 MY(velocityjitter) = '180.0 180.0 180.0';
2379 MY(velocitymultiplier) = 1.400000;
2380}
2381SUB(nex_muzzleflash) {
2382 MY(airfriction) = 9;
2383 MY(alpha_max) = 128;
2384 MY(alpha_fade) = 1024;
2385 MY(color_min) = "0xD9FDFF";
2386 MY(color_max) = "0xD9FDFF";
2387 MY(count) = 50;
2388 MY(originjitter) = '1.0 1.0 1.0';
2389 MY(size_min) = 1;
2390 MY(size_max) = 1;
2391 MY(tex_min) = 41;
2392 MY(tex_max) = 41;
2393 MY(type) = "spark";
2394 MY(velocityjitter) = '600.0 600.0 600.0';
2395 MY(velocitymultiplier) = 1.500000;
2396}
2397
2398// vortex beam
2399DEF(nex_beam);
2400SUB(nex_beam) {
2401 MY(airfriction) = 5;
2402 MY(alpha_min) = 64;
2403 MY(alpha_max) = 128;
2404 MY(alpha_fade) = 64;
2405 MY(color_min) = "0x1680A0";
2406 MY(color_max) = "0x1680A0";
2407 MY(sizeincrease) = 2;
2408 MY(size_min) = 4;
2409 MY(size_max) = 4;
2410 MY(tex_min) = 32;
2411 MY(tex_max) = 32;
2412 MY(trailspacing) = 64;
2413 MY(type) = "static";
2414}
2415// drifting smoke
2416SUB(nex_beam) {
2417 MY(airfriction) = 9;
2418 MY(alpha_min) = 32;
2419 MY(alpha_max) = 64;
2420 MY(alpha_fade) = 32;
2421 MY(color_min) = "0x5080A0";
2422 MY(color_max) = "0x5080A0";
2423 MY(sizeincrease) = 8;
2424 MY(size_min) = 1;
2425 MY(size_max) = 1;
2426 MY(tex_max) = 8;
2427 MY(trailspacing) = 12;
2428 MY(type) = "static";
2429 MY(velocityjitter) = '64.0 64.0 64.0';
2430}
2431// bright core
2432SUB(nex_beam) {
2433 MY(alpha_min) = 256;
2434 MY(alpha_max) = 256;
2435 MY(alpha_fade) = 1280;
2436 MY(color_min) = "0x80CDFF";
2437 MY(color_max) = "0x80CDFF";
2438 MY(size_min) = 4;
2439 MY(size_max) = 4;
2440 MY(trailspacing) = 12;
2441 MY(type) = "static";
2442}
2443// sparks
2444SUB(nex_beam) {
2445 MY(airfriction) = 5;
2446 MY(alpha_min) = 64;
2447 MY(alpha_max) = 128;
2448 MY(alpha_fade) = 80;
2449 MY(color_min) = "0x1680A0";
2450 MY(color_max) = "0x1680A0";
2451 MY(gravity) = -0.010000;
2452 MY(size_min) = 1;
2453 MY(size_max) = 1;
2454 MY(tex_min) = 63;
2455 MY(tex_max) = 63;
2456 MY(trailspacing) = 16;
2457 MY(type) = "snow";
2458}
2459
2460DEF(nex_impact);
2461// decal
2462SUB(nex_impact) {
2463 MY(alpha_min) = 256;
2464 MY(alpha_max) = 256;
2465 MY(countabsolute) = 1;
2466 MY(lightcolor) = '4.0 6.0 8.0';
2467 MY(lightradiusfade) = 250;
2468 MY(lightradius) = 200;
2469 MY(originjitter) = '14.0 14.0 14.0';
2470 MY(startangle_min) = -180;
2471 MY(startangle_max) = 180;
2472 MY(size_min) = 24;
2473 MY(size_max) = 24;
2474 MY(tex_min) = 47;
2475 MY(tex_max) = 47;
2476 MY(type) = "decal";
2477}
2478// rotating something
2479SUB(nex_impact) {
2480 MY(alpha_min) = 55;
2481 MY(alpha_max) = 55;
2482 MY(alpha_fade) = 50;
2483 MY(color_min) = "0x1680A0";
2484 MY(color_max) = "0x1680A0";
2485 MY(count) = 5;
2486 MY(startangle_min) = 180;
2487 MY(startangle_max) = -180;
2488 MY(spin_min) = 500;
2489 MY(spin_max) = -500;
2490 MY(sizeincrease) = 20;
2491 MY(size_min) = 25;
2492 MY(size_max) = 28;
2493 MY(tex_min) = 46;
2494 MY(tex_max) = 46;
2495 MY(type) = "smoke";
2496}
2497// shockwave
2498SUB(nex_impact) {
2499 MY(alpha_min) = 50;
2500 MY(alpha_max) = 50;
2501 MY(alpha_fade) = 400;
2502 MY(color_min) = "0x1680A0";
2503 MY(color_max) = "0x1680A0";
2504 MY(countabsolute) = 1;
2505 MY(sizeincrease) = 900;
2506 MY(size_min) = 16;
2507 MY(size_max) = 16;
2508 MY(tex_min) = 33;
2509 MY(tex_max) = 33;
2510 MY(type) = "static";
2511}
2512// shockwave2
2513SUB(nex_impact) {
2514 MY(alpha_min) = 50;
2515 MY(alpha_max) = 50;
2516 MY(alpha_fade) = 100;
2517 MY(color_min) = "0x1680A0";
2518 MY(color_max) = "0x1680A0";
2519 MY(countabsolute) = 1;
2520 MY(sizeincrease) = 500;
2521 MY(size_min) = 5;
2522 MY(size_max) = 5;
2523 MY(tex_min) = 65;
2524 MY(tex_max) = 65;
2525 MY(type) = "static";
2526}
2527// flare effect
2528SUB(nex_impact) {
2529 MY(alpha_min) = 256;
2530 MY(alpha_max) = 256;
2531 MY(alpha_fade) = 256;
2532 MY(color_min) = "0x80C0FF";
2533 MY(color_max) = "0x80C0FF";
2534 MY(countabsolute) = 1;
2535 MY(size_min) = 8;
2536 MY(size_max) = 8;
2537 MY(tex_min) = 37;
2538 MY(tex_max) = 37;
2539 MY(type) = "static";
2540}
2541// small sparks which glow brightly but live briefly
2542SUB(nex_impact) {
2543 MY(airfriction) = 9;
2544 MY(alpha_max) = 128;
2545 MY(alpha_fade) = 512;
2546 MY(bounce) = 2;
2547 MY(color_min) = "0xD9FDFF";
2548 MY(color_max) = "0xD9FDFF";
2549 MY(count) = 64;
2550 MY(size_min) = 4;
2551 MY(size_max) = 4;
2552 MY(stretchfactor) = 3;
2553 MY(tex_min) = 41;
2554 MY(tex_max) = 41;
2555 MY(type) = "spark";
2556 MY(velocityjitter) = '600.0 600.0 600.0';
2557 MY(velocitymultiplier) = 0.500000;
2558}
2559// small sparks that live longer
2560SUB(nex_impact) {
2561 MY(airfriction) = 2;
2562 MY(alpha_min) = 255;
2563 MY(alpha_max) = 255;
2564 MY(alpha_fade) = 112;
2565 MY(bounce) = 1.600000;
2566 MY(color_min) = "0xD9FDFF";
2567 MY(color_max) = "0xD9FDFF";
2568 MY(count) = 16;
2569 MY(gravity) = 1;
2570 MY(size_min) = 2;
2571 MY(size_max) = 2;
2572 MY(stretchfactor) = 0.700000;
2573 MY(tex_min) = 41;
2574 MY(tex_max) = 41;
2575 MY(type) = "spark";
2576 MY(velocityjitter) = '300.0 300.0 600.0';
2577 MY(velocitymultiplier) = 2.500000;
2578}
2579
2580DEF(hagar_muzzleflash);
2581SUB(hagar_muzzleflash) {
2582 MY(alpha_min) = 256;
2583 MY(alpha_max) = 256;
2584 MY(alpha_fade) = 512;
2585 MY(color_min) = "0x202020";
2586 MY(color_max) = "0x404040";
2587 MY(count) = 2;
2588 MY(lightcolor) = '2.0 1.5 0.2';
2589 MY(lightradiusfade) = 2000;
2590 MY(lightradius) = 200;
2591 MY(originjitter) = '1.5 1.5 1.5';
2592 MY(size_min) = 5;
2593 MY(size_max) = 5;
2594 MY(tex_max) = 8;
2595 MY(type) = "smoke";
2596 MY(velocityjitter) = '6.0 6.0 6.0';
2597 MY(velocitymultiplier) = 0.010000;
2598}
2599SUB(hagar_muzzleflash) {
2600 MY(airfriction) = 12;
2601 MY(alpha_max) = 128;
2602 MY(alpha_fade) = 1024;
2603 MY(color_min) = "0xff8400";
2604 MY(color_max) = "0xff4200";
2605 MY(count) = 15;
2606 MY(originjitter) = '1.0 1.0 1.0';
2607 MY(startangle_min) = -180;
2608 MY(startangle_max) = 180;
2609 MY(spin_min) = -400;
2610 MY(spin_max) = 400;
2611 MY(size_min) = 5;
2612 MY(size_max) = 10;
2613 MY(stretchfactor) = 2;
2614 MY(tex_min) = 48;
2615 MY(tex_max) = 55;
2616 MY(type) = "spark";
2617 MY(velocityjitter) = '200.0 200.0 200.0';
2618 MY(velocitymultiplier) = 0.500000;
2619}
2620
2621DEF(hagar_bounce);
2622SUB(hagar_bounce) {
2623 MY(alpha_min) = 256;
2624 MY(alpha_max) = 256;
2625 MY(alpha_fade) = 256;
2626 MY(color_min) = "0x202020";
2627 MY(color_max) = "0x404040";
2628 MY(count) = 2;
2629 MY(lightcolor) = '2.0 1.5 0.2';
2630 MY(lightradiusfade) = 300;
2631 MY(lightradius) = 60;
2632 MY(originjitter) = '1.5 1.5 1.5';
2633 MY(size_min) = 5;
2634 MY(size_max) = 5;
2635 MY(tex_max) = 8;
2636 MY(type) = "smoke";
2637 MY(velocityjitter) = '6.0 6.0 6.0';
2638 MY(velocitymultiplier) = 0.010000;
2639}
2640SUB(hagar_bounce) {
2641 MY(airfriction) = 12;
2642 MY(alpha_max) = 256;
2643 MY(alpha_fade) = 256;
2644 MY(bounce) = 1.500000;
2645 MY(color_min) = "0xFFFDD9";
2646 MY(color_max) = "0xFFFDD9";
2647 MY(count) = 15;
2648 MY(gravity) = 1;
2649 MY(originjitter) = '1.0 1.0 1.0';
2650 MY(size_min) = 3;
2651 MY(size_max) = 3;
2652 MY(tex_min) = 40;
2653 MY(tex_max) = 40;
2654 MY(type) = "spark";
2655 MY(velocityjitter) = '600.0 600.0 600.0';
2656 MY(velocitymultiplier) = 0.500000;
2657}
2658
2659DEF(hagar_explode);
2660// decal
2661SUB(hagar_explode) {
2662 MY(alpha_min) = 256;
2663 MY(alpha_max) = 256;
2664 MY(countabsolute) = 1;
2665 MY(lightcolor) = '8.0 4.0 1.0';
2666 MY(lightradiusfade) = 400;
2667 MY(lightradius) = 120;
2668 MY(originjitter) = '14.0 14.0 14.0';
2669 MY(size_min) = 28;
2670 MY(size_max) = 38;
2671 MY(tex_min) = 8;
2672 MY(tex_max) = 16;
2673 MY(type) = "decal";
2674}
2675// fire effect which make bright dot inside
2676SUB(hagar_explode) {
2677 MY(airfriction) = 8;
2678 MY(alpha_min) = 80;
2679 MY(alpha_max) = 200;
2680 MY(alpha_fade) = 356;
2681 MY(bounce) = 1.500000;
2682 MY(color_min) = "0xffe955";
2683 MY(color_max) = "0xff5a00";
2684 MY(count) = 3.500000;
2685 MY(liquidfriction) = 8;
2686 MY(notunderwater) = true;
2687 MY(originjitter) = '8.0 8.0 8.0';
2688 MY(sizeincrease) = 5;
2689 MY(size_min) = 16;
2690 MY(size_max) = 26;
2691 MY(tex_min) = 48;
2692 MY(tex_max) = 55;
2693 MY(type) = "smoke";
2694 MY(velocityjitter) = '156.0 156.0 156.0';
2695}
2696// fire effect which expands then slows
2697SUB(hagar_explode) {
2698 MY(airfriction) = 12;
2699 MY(alpha_min) = 128;
2700 MY(alpha_max) = 256;
2701 MY(alpha_fade) = 456;
2702 MY(bounce) = 1.500000;
2703 MY(color_min) = "0x8f0d00";
2704 MY(color_max) = "0xff5a00";
2705 MY(count) = 12;
2706 MY(liquidfriction) = 8;
2707 MY(notunderwater) = true;
2708 MY(originjitter) = '8.0 8.0 8.0';
2709 MY(sizeincrease) = 15;
2710 MY(size_min) = 20;
2711 MY(size_max) = 26;
2712 MY(tex_min) = 48;
2713 MY(tex_max) = 55;
2714 MY(type) = "static";
2715 MY(velocityjitter) = '286.0 286.0 286.0';
2716}
2717// smoke
2718SUB(hagar_explode) {
2719 MY(airfriction) = 5;
2720 MY(alpha_min) = 200;
2721 MY(alpha_max) = 500;
2722 MY(alpha_fade) = 600;
2723 MY(bounce) = 2;
2724 MY(color_min) = "0x000000";
2725 MY(color_max) = "0x111111";
2726 MY(count) = 7;
2727 MY(notunderwater) = true;
2728 MY(sizeincrease) = 20;
2729 MY(size_min) = 20;
2730 MY(size_max) = 40;
2731 MY(tex_max) = 8;
2732 MY(type) = "alphastatic";
2733 MY(velocityjitter) = '244.0 244.0 244.0';
2734}
2735// underwater bubbles
2736SUB(hagar_explode) {
2737 MY(alpha_min) = 128;
2738 MY(alpha_max) = 256;
2739 MY(alpha_fade) = 64;
2740 MY(bounce) = 1.500000;
2741 MY(color_min) = "0x404040";
2742 MY(color_max) = "0x808080";
2743 MY(count) = 16;
2744 MY(gravity) = -0.125000;
2745 MY(liquidfriction) = 0.250000;
2746 MY(originjitter) = '16.0 16.0 16.0';
2747 MY(size_min) = 3;
2748 MY(size_max) = 3;
2749 MY(tex_min) = 62;
2750 MY(tex_max) = 62;
2751 MY(type) = "bubble";
2752 MY(underwater) = true;
2753 MY(velocityjitter) = '96.0 96.0 96.0';
2754}
2755// bouncing sparks
2756SUB(hagar_explode) {
2757 MY(airfriction) = 1;
2758 MY(alpha_min) = 644;
2759 MY(alpha_max) = 956;
2760 MY(alpha_fade) = 684;
2761 MY(bounce) = 1.600000;
2762 MY(color_min) = "0xffa35b";
2763 MY(color_max) = "0xfff2be";
2764 MY(count) = 4;
2765 MY(gravity) = 1;
2766 MY(liquidfriction) = 0.800000;
2767 MY(notunderwater) = true;
2768 MY(originjitter) = '16.0 16.0 16.0';
2769 MY(size_min) = 1;
2770 MY(size_max) = 0.100000;
2771 MY(tex_min) = 40;
2772 MY(tex_max) = 40;
2773 MY(type) = "spark";
2774 MY(velocityjitter) = '224.0 224.0 224.0';
2775 MY(velocityoffset) = '0.0 0.0 80.0';
2776}
2777
2778DEF(rocketlauncher_muzzleflash);
2779SUB(rocketlauncher_muzzleflash) {
2780 MY(airfriction) = 2;
2781 MY(alpha_min) = 256;
2782 MY(alpha_max) = 256;
2783 MY(alpha_fade) = 256;
2784 MY(color_min) = "0x202020";
2785 MY(color_max) = "0x404040";
2786 MY(count) = 10;
2787 MY(originjitter) = '1.5 1.5 1.5';
2788 MY(sizeincrease) = 20;
2789 MY(size_min) = 1;
2790 MY(size_max) = 1;
2791 MY(tex_max) = 8;
2792 MY(type) = "smoke";
2793 MY(velocityjitter) = '40.0 40.0 40.0';
2794 MY(velocitymultiplier) = -0.130000;
2795}
2796SUB(rocketlauncher_muzzleflash) {
2797 MY(airfriction) = 9;
2798 MY(alpha_min) = 10;
2799 MY(alpha_max) = 25;
2800 MY(alpha_fade) = 20;
2801 MY(color_min) = "0xFFFDD9";
2802 MY(color_max) = "0xFFFDD9";
2803 MY(count) = 6;
2804 MY(originjitter) = '3.0 3.0 3.0';
2805 MY(startangle_min) = -180;
2806 MY(startangle_max) = 180;
2807 MY(spin_min) = -30;
2808 MY(spin_max) = 30;
2809 MY(sizeincrease) = 20;
2810 MY(size_min) = 5;
2811 MY(size_max) = 10;
2812 MY(tex_min) = 35;
2813 MY(tex_max) = 36;
2814 MY(type) = "smoke";
2815 MY(velocityjitter) = '100.0 100.0 100.0';
2816 MY(velocitymultiplier) = 0.300000;
2817}
2818
2819// rocket trail
2820DEF(TR_ROCKET);
2821// smoke
2822SUB(TR_ROCKET) {
2823 MY(alpha_min) = 200;
2824 MY(alpha_max) = 300;
2825 MY(alpha_fade) = 200;
2826 MY(bounce) = 1;
2827 MY(color_min) = "0x000000";
2828 MY(color_max) = "0x666666";
2829 MY(lightcolor) = '6.0 4.0 1.0';
2830 MY(lightradius) = 150;
2831 MY(notunderwater) = true;
2832 MY(originjitter) = '2.0 2.0 2.0';
2833 MY(startangle_min) = -180;
2834 MY(startangle_max) = 180;
2835 MY(spin_min) = -30;
2836 MY(spin_max) = 30;
2837 MY(sizeincrease) = 11;
2838 MY(size_min) = 3;
2839 MY(size_max) = 4;
2840 MY(tex_max) = 8;
2841 MY(trailspacing) = 10;
2842 MY(type) = "smoke";
2843 MY(velocityjitter) = '3.0 3.0 3.0';
2844 MY(velocitymultiplier) = -0.020000;
2845}
2846// fire
2847SUB(TR_ROCKET) {
2848 MY(airfriction) = 8;
2849 MY(alpha_min) = 100;
2850 MY(alpha_max) = 144;
2851 MY(alpha_fade) = 588;
2852 MY(color_min) = "0xffdf72";
2853 MY(color_max) = "0x812f00";
2854 MY(sizeincrease) = -30;
2855 MY(size_min) = 7;
2856 MY(size_max) = 7;
2857 MY(tex_min) = 48;
2858 MY(tex_max) = 55;
2859 MY(trailspacing) = 4;
2860 MY(type) = "static";
2861 MY(velocityjitter) = '32.0 32.0 32.0';
2862 MY(velocitymultiplier) = -1.500000;
2863}
2864// bubbles
2865SUB(TR_ROCKET) {
2866 MY(alpha_min) = 256;
2867 MY(alpha_max) = 256;
2868 MY(alpha_fade) = 256;
2869 MY(bounce) = 1.500000;
2870 MY(gravity) = -0.125000;
2871 MY(liquidfriction) = 4;
2872 MY(size_min) = 1;
2873 MY(size_max) = 2;
2874 MY(tex_min) = 62;
2875 MY(tex_max) = 62;
2876 MY(trailspacing) = 16;
2877 MY(type) = "bubble";
2878 MY(underwater) = true;
2879 MY(velocityjitter) = '16.0 16.0 16.0';
2880 MY(velocitymultiplier) = -0.310000;
2881}
2882// sparks
2883SUB(TR_ROCKET) {
2884 MY(airfriction) = 5;
2885 MY(alpha_min) = 444;
2886 MY(alpha_max) = 512;
2887 MY(alpha_fade) = 1866;
2888 MY(bounce) = 1;
2889 MY(color_min) = "0xFFFDD9";
2890 MY(color_max) = "0xFFFDD9";
2891 MY(notunderwater) = true;
2892 MY(originjitter) = '1.0 1.0 1.0';
2893 MY(size_min) = 0.500000;
2894 MY(size_max) = 0.500000;
2895 MY(stretchfactor) = 0.300000;
2896 MY(tex_min) = 40;
2897 MY(tex_max) = 40;
2898 MY(trailspacing) = 20;
2899 MY(type) = "spark";
2900 MY(velocityjitter) = '100.0 100.0 100.0';
2901 MY(velocitymultiplier) = -0.310000;
2902}
2903
2904// rocket explosion (bigger than mortar and hagar)
2905DEF(rocket_explode);
2906SUB(rocket_explode) {
2907 MY(alpha_min) = 256;
2908 MY(alpha_max) = 256;
2909 MY(countabsolute) = 1;
2910 MY(lightcolor) = '8.0 5.0 1.0';
2911 MY(lightradiusfade) = 750;
2912 MY(lightradius) = 400;
2913 MY(originjitter) = '23.0 23.0 23.0';
2914 MY(size_min) = 72;
2915 MY(size_max) = 72;
2916 MY(tex_min) = 8;
2917 MY(tex_max) = 16;
2918 MY(type) = "decal";
2919}
2920// fire effect
2921SUB(rocket_explode) {
2922 MY(airfriction) = 8;
2923 MY(alpha_min) = 200;
2924 MY(alpha_max) = 256;
2925 MY(alpha_fade) = 512;
2926 MY(bounce) = 1.500000;
2927 MY(color_min) = "0x8f0d00";
2928 MY(color_max) = "0xff5a00";
2929 MY(count) = 32;
2930 MY(liquidfriction) = 8;
2931 MY(notunderwater) = true;
2932 MY(originjitter) = '8.0 8.0 8.0';
2933 MY(sizeincrease) = 45;
2934 MY(size_min) = 33;
2935 MY(size_max) = 44;
2936 MY(tex_min) = 48;
2937 MY(tex_max) = 55;
2938 MY(type) = "static";
2939 MY(velocityjitter) = '512.0 512.0 512.0';
2940}
2941// fire effect 2
2942SUB(rocket_explode) {
2943 MY(airfriction) = 19;
2944 MY(alpha_min) = 200;
2945 MY(alpha_max) = 256;
2946 MY(alpha_fade) = 612;
2947 MY(bounce) = 2.500000;
2948 MY(color_min) = "0xea691b";
2949 MY(color_max) = "0xeed05a";
2950 MY(count) = 14;
2951 MY(liquidfriction) = 19;
2952 MY(notunderwater) = true;
2953 MY(originjitter) = '8.0 8.0 8.0';
2954 MY(sizeincrease) = 55;
2955 MY(size_min) = 33;
2956 MY(size_max) = 44;
2957 MY(tex_min) = 48;
2958 MY(tex_max) = 55;
2959 MY(type) = "smoke";
2960 MY(velocityjitter) = '912.0 912.0 912.0';
2961}
2962// smoke
2963SUB(rocket_explode) {
2964 MY(airfriction) = 5;
2965 MY(alpha_min) = 200;
2966 MY(alpha_max) = 450;
2967 MY(alpha_fade) = 456;
2968 MY(bounce) = 2;
2969 MY(color_min) = "0x000000";
2970 MY(color_max) = "0x111111";
2971 MY(count) = 32;
2972 MY(notunderwater) = true;
2973 MY(sizeincrease) = 44;
2974 MY(size_min) = 20;
2975 MY(size_max) = 40;
2976 MY(tex_max) = 8;
2977 MY(type) = "alphastatic";
2978 MY(velocityjitter) = '444.0 444.0 444.0';
2979}
2980// underwater bubbles
2981SUB(rocket_explode) {
2982 MY(alpha_min) = 128;
2983 MY(alpha_max) = 256;
2984 MY(alpha_fade) = 64;
2985 MY(bounce) = 1.500000;
2986 MY(color_min) = "0x404040";
2987 MY(color_max) = "0x808080";
2988 MY(count) = 32;
2989 MY(gravity) = -0.125000;
2990 MY(liquidfriction) = 0.250000;
2991 MY(originjitter) = '16.0 16.0 16.0';
2992 MY(size_min) = 3;
2993 MY(size_max) = 3;
2994 MY(tex_min) = 62;
2995 MY(tex_max) = 62;
2996 MY(type) = "bubble";
2997 MY(underwater) = true;
2998 MY(velocityjitter) = '144.0 144.0 144.0';
2999}
3000// underwatershockwave
3001SUB(rocket_explode) {
3002 MY(alpha_min) = 40;
3003 MY(alpha_max) = 40;
3004 MY(alpha_fade) = 300;
3005 MY(countabsolute) = 1;
3006 MY(sizeincrease) = 1900;
3007 MY(size_min) = 30;
3008 MY(size_max) = 30;
3009 MY(tex_min) = 33;
3010 MY(tex_max) = 33;
3011 MY(type) = "smoke";
3012 MY(underwater) = true;
3013 MY(velocitymultiplier) = 0.300000;
3014}
3015// bouncing sparks
3016SUB(rocket_explode) {
3017 MY(airfriction) = 1;
3018 MY(alpha_min) = 644;
3019 MY(alpha_max) = 956;
3020 MY(alpha_fade) = 484;
3021 MY(bounce) = 1.600000;
3022 MY(color_min) = "0xffa35b";
3023 MY(color_max) = "0xfff2be";
3024 MY(count) = 16;
3025 MY(gravity) = 1;
3026 MY(liquidfriction) = 0.800000;
3027 MY(notunderwater) = true;
3028 MY(originjitter) = '16.0 16.0 16.0';
3029 MY(size_min) = 1;
3030 MY(size_max) = 0.100000;
3031 MY(tex_min) = 40;
3032 MY(tex_max) = 40;
3033 MY(type) = "spark";
3034 MY(velocityjitter) = '424.0 424.0 624.0';
3035 MY(velocityoffset) = '0.0 0.0 80.0';
3036}
3037// debris
3038SUB(rocket_explode) {
3039 MY(airfriction) = 0.500000;
3040 MY(alpha_min) = 644;
3041 MY(alpha_max) = 956;
3042 MY(alpha_fade) = 684;
3043 MY(bounce) = 1.600000;
3044 MY(color_min) = "0x6a3d25";
3045 MY(color_max) = "0xcac5b4";
3046 MY(count) = 12;
3047 MY(gravity) = 1.300000;
3048 MY(notunderwater) = true;
3049 MY(startangle_min) = -180;
3050 MY(startangle_max) = 180;
3051 MY(spin_min) = -1000;
3052 MY(spin_max) = 1000;
3053 MY(size_min) = 2;
3054 MY(size_max) = 6;
3055 MY(tex_min) = 66;
3056 MY(tex_max) = 68;
3057 MY(type) = "alphastatic";
3058 MY(velocityjitter) = '324.0 324.0 524.0';
3059}
3060
3061DEF(grapple_muzzleflash);
3062SUB(grapple_muzzleflash) {
3063 MY(lightcolor) = '1.0 0.0 0.0';
3064 MY(lightradiusfade) = 800;
3065 MY(lightradius) = 160;
3066}
3067
3068DEF(grapple_impact);
3069SUB(grapple_impact) {
3070 MY(lightcolor) = '1.0 0.0 0.0';
3071 MY(lightradiusfade) = 800;
3072 MY(lightradius) = 160;
3073}
3074
3075DEF(nex242_misc_laser_beam);
3076SUB(nex242_misc_laser_beam) {
3077 MY(alpha_min) = 256;
3078 MY(alpha_max) = 256;
3079 MY(alpha_fade) = 64;
3080 MY(color_min) = "0xff0000";
3081 MY(color_max) = "0xff0000";
3082 MY(countabsolute) = 1;
3083 MY(sizeincrease) = 1;
3084 MY(size_min) = 1;
3085 MY(size_max) = 1;
3086 MY(tex_min) = 200;
3087 MY(tex_max) = 200;
3088 MY(type) = "beam";
3089}
3090
3091DEF(nex242_misc_laser_beam_end);
3092SUB(nex242_misc_laser_beam_end) {
3093 MY(alpha_min) = 128;
3094 MY(alpha_max) = 256;
3095 MY(alpha_fade) = 768;
3096 MY(bounce) = -1;
3097 MY(color_min) = "0x8f4333";
3098 MY(color_max) = "0xfff31b";
3099 MY(count) = 0.500000;
3100 MY(gravity) = 1;
3101 MY(size_min) = 0.400000;
3102 MY(size_max) = 0.400000;
3103 MY(type) = "spark";
3104 MY(velocityjitter) = '64.0 64.0 64.0';
3105 MY(velocitymultiplier) = 100;
3106}
3107
3108DEF(nex242_misc_laser_beam_fast);
3109SUB(nex242_misc_laser_beam_fast) {
3110 MY(alpha_min) = 256;
3111 MY(alpha_max) = 256;
3112 MY(alpha_fade) = 640;
3113 MY(color_min) = "0xff0000";
3114 MY(color_max) = "0xff0000";
3115 MY(countabsolute) = 1;
3116 MY(sizeincrease) = 0.100000;
3117 MY(size_min) = 1;
3118 MY(size_max) = 1;
3119 MY(tex_min) = 200;
3120 MY(tex_max) = 200;
3121 MY(type) = "beam";
3122}
3123
3124DEF(nex242_misc_laser_beam_fast_end);
3125SUB(nex242_misc_laser_beam_fast_end) {
3126 MY(alpha_min) = 128;
3127 MY(alpha_max) = 256;
3128 MY(alpha_fade) = 768;
3129 MY(bounce) = -1;
3130 MY(color_min) = "0x8f4333";
3131 MY(color_max) = "0xfff31b";
3132 MY(count) = 0.500000;
3133 MY(gravity) = 1;
3134 MY(size_min) = 0.400000;
3135 MY(size_max) = 0.400000;
3136 MY(type) = "spark";
3137 MY(velocityjitter) = '64.0 64.0 64.0';
3138 MY(velocitymultiplier) = 100;
3139}
3140
3141DEF(nex242_misc_laser_green_beam);
3142SUB(nex242_misc_laser_green_beam) {
3143 MY(alpha_min) = 256;
3144 MY(alpha_max) = 256;
3145 MY(alpha_fade) = 64;
3146 MY(color_min) = "0x00ff00";
3147 MY(color_max) = "0x00ff00";
3148 MY(countabsolute) = 1;
3149 MY(sizeincrease) = 1;
3150 MY(size_min) = 1;
3151 MY(size_max) = 1;
3152 MY(tex_min) = 200;
3153 MY(tex_max) = 200;
3154 MY(type) = "beam";
3155}
3156
3157DEF(nex242_misc_laser_green_beam_end);
3158SUB(nex242_misc_laser_green_beam_end) {
3159 MY(alpha_min) = 128;
3160 MY(alpha_max) = 256;
3161 MY(alpha_fade) = 768;
3162 MY(bounce) = -1;
3163 MY(color_min) = "0x8f4333";
3164 MY(color_max) = "0xfff31b";
3165 MY(count) = 0.500000;
3166 MY(gravity) = 1;
3167 MY(size_min) = 0.400000;
3168 MY(size_max) = 0.400000;
3169 MY(type) = "spark";
3170 MY(velocityjitter) = '64.0 64.0 64.0';
3171 MY(velocitymultiplier) = 100;
3172}
3173
3174DEF(nex242_misc_laser_blue_beam);
3175SUB(nex242_misc_laser_blue_beam) {
3176 MY(alpha_min) = 256;
3177 MY(alpha_max) = 256;
3178 MY(alpha_fade) = 64;
3179 MY(color_min) = "0x0000ff";
3180 MY(color_max) = "0x0000ff";
3181 MY(countabsolute) = 1;
3182 MY(sizeincrease) = 1;
3183 MY(size_min) = 1;
3184 MY(size_max) = 1;
3185 MY(tex_min) = 200;
3186 MY(tex_max) = 200;
3187 MY(type) = "beam";
3188}
3189
3190DEF(nex242_misc_laser_blue_beam_end);
3191SUB(nex242_misc_laser_blue_beam_end) {
3192 MY(alpha_min) = 128;
3193 MY(alpha_max) = 256;
3194 MY(alpha_fade) = 768;
3195 MY(bounce) = -1;
3196 MY(color_min) = "0x8f4333";
3197 MY(color_max) = "0xfff31b";
3198 MY(count) = 0.500000;
3199 MY(gravity) = 1;
3200 MY(size_min) = 0.400000;
3201 MY(size_max) = 0.400000;
3202 MY(type) = "spark";
3203 MY(velocityjitter) = '64.0 64.0 64.0';
3204 MY(velocitymultiplier) = 100;
3205}
3206
3207DEF(nex242_misc_laser_yellow_beam);
3208SUB(nex242_misc_laser_yellow_beam) {
3209 MY(alpha_min) = 256;
3210 MY(alpha_max) = 256;
3211 MY(alpha_fade) = 64;
3212 MY(color_min) = "0xffff00";
3213 MY(color_max) = "0xffff00";
3214 MY(countabsolute) = 1;
3215 MY(sizeincrease) = 1;
3216 MY(size_min) = 1;
3217 MY(size_max) = 1;
3218 MY(tex_min) = 200;
3219 MY(tex_max) = 200;
3220 MY(type) = "beam";
3221}
3222
3223DEF(nex242_misc_laser_yellow_beam_end);
3224SUB(nex242_misc_laser_yellow_beam_end) {
3225 MY(alpha_min) = 128;
3226 MY(alpha_max) = 256;
3227 MY(alpha_fade) = 768;
3228 MY(bounce) = -1;
3229 MY(color_min) = "0x8f4333";
3230 MY(color_max) = "0xfff31b";
3231 MY(count) = 0.500000;
3232 MY(gravity) = 1;
3233 MY(size_min) = 0.400000;
3234 MY(size_max) = 0.400000;
3235 MY(type) = "spark";
3236 MY(velocityjitter) = '64.0 64.0 64.0';
3237 MY(velocitymultiplier) = 100;
3238}
3239
3240DEF(nex242_misc_laser_cyan_beam);
3241SUB(nex242_misc_laser_cyan_beam) {
3242 MY(alpha_min) = 256;
3243 MY(alpha_max) = 256;
3244 MY(alpha_fade) = 64;
3245 MY(color_min) = "0x00ffff";
3246 MY(color_max) = "0x00ffff";
3247 MY(countabsolute) = 1;
3248 MY(sizeincrease) = 1;
3249 MY(size_min) = 1;
3250 MY(size_max) = 1;
3251 MY(tex_min) = 200;
3252 MY(tex_max) = 200;
3253 MY(type) = "beam";
3254}
3255
3256DEF(nex242_misc_laser_cyan_beam_end);
3257SUB(nex242_misc_laser_cyan_beam_end) {
3258 MY(alpha_min) = 128;
3259 MY(alpha_max) = 256;
3260 MY(alpha_fade) = 768;
3261 MY(bounce) = -1;
3262 MY(color_min) = "0x8f4333";
3263 MY(color_max) = "0xfff31b";
3264 MY(count) = 0.500000;
3265 MY(gravity) = 1;
3266 MY(size_min) = 0.400000;
3267 MY(size_max) = 0.400000;
3268 MY(type) = "spark";
3269 MY(velocityjitter) = '64.0 64.0 64.0';
3270 MY(velocitymultiplier) = 100;
3271}
3272
3273DEF(nex242_misc_laser_magenta_beam);
3274SUB(nex242_misc_laser_magenta_beam) {
3275 MY(alpha_min) = 256;
3276 MY(alpha_max) = 256;
3277 MY(alpha_fade) = 64;
3278 MY(color_min) = "0xff00ff";
3279 MY(color_max) = "0xff00ff";
3280 MY(countabsolute) = 1;
3281 MY(sizeincrease) = 1;
3282 MY(size_min) = 1;
3283 MY(size_max) = 1;
3284 MY(tex_min) = 200;
3285 MY(tex_max) = 200;
3286 MY(type) = "beam";
3287}
3288
3289DEF(nex242_misc_laser_magenta_beam_end);
3290SUB(nex242_misc_laser_magenta_beam_end) {
3291 MY(alpha_min) = 128;
3292 MY(alpha_max) = 256;
3293 MY(alpha_fade) = 768;
3294 MY(bounce) = -1;
3295 MY(color_min) = "0x8f4333";
3296 MY(color_max) = "0xfff31b";
3297 MY(count) = 0.500000;
3298 MY(gravity) = 1;
3299 MY(size_min) = 0.400000;
3300 MY(size_max) = 0.400000;
3301 MY(type) = "spark";
3302 MY(velocityjitter) = '64.0 64.0 64.0';
3303 MY(velocitymultiplier) = 100;
3304}
3305
3306DEF(nex242_misc_laser_white_beam);
3307SUB(nex242_misc_laser_white_beam) {
3308 MY(alpha_min) = 256;
3309 MY(alpha_max) = 256;
3310 MY(alpha_fade) = 64;
3311 MY(color_min) = "0xffffff";
3312 MY(color_max) = "0xffffff";
3313 MY(countabsolute) = 1;
3314 MY(sizeincrease) = 1;
3315 MY(size_min) = 1;
3316 MY(size_max) = 1;
3317 MY(tex_min) = 200;
3318 MY(tex_max) = 200;
3319 MY(type) = "beam";
3320}
3321
3322DEF(nex242_misc_laser_white_beam_end);
3323SUB(nex242_misc_laser_white_beam_end) {
3324 MY(alpha_min) = 128;
3325 MY(alpha_max) = 256;
3326 MY(alpha_fade) = 768;
3327 MY(bounce) = -1;
3328 MY(color_min) = "0x8f4333";
3329 MY(color_max) = "0xfff31b";
3330 MY(count) = 0.500000;
3331 MY(gravity) = 1;
3332 MY(size_min) = 0.400000;
3333 MY(size_max) = 0.400000;
3334 MY(type) = "spark";
3335 MY(velocityjitter) = '64.0 64.0 64.0';
3336 MY(velocitymultiplier) = 100;
3337}
3338
3339DEF(nex242_misc_laser_black_beam);
3340SUB(nex242_misc_laser_black_beam) {
3341 MY(alpha_min) = 256;
3342 MY(alpha_max) = 256;
3343 MY(alpha_fade) = 64;
3344 MY(color_min) = "0x000000";
3345 MY(color_max) = "0x000000";
3346 MY(countabsolute) = 1;
3347 MY(sizeincrease) = 1;
3348 MY(size_min) = 1;
3349 MY(size_max) = 1;
3350 MY(tex_min) = 200;
3351 MY(tex_max) = 200;
3352 MY(type) = "beam";
3353}
3354
3355DEF(nex242_misc_laser_black_beam_end);
3356SUB(nex242_misc_laser_black_beam_end) {
3357 MY(alpha_min) = 128;
3358 MY(alpha_max) = 256;
3359 MY(alpha_fade) = 768;
3360 MY(bounce) = -1;
3361 MY(color_min) = "0x8f4333";
3362 MY(color_max) = "0xfff31b";
3363 MY(count) = 0.500000;
3364 MY(gravity) = 1;
3365 MY(size_min) = 0.400000;
3366 MY(size_max) = 0.400000;
3367 MY(type) = "spark";
3368 MY(velocityjitter) = '64.0 64.0 64.0';
3369 MY(velocitymultiplier) = 100;
3370}
3371
3372DEF(nex242_misc_laser_orange_beam);
3373SUB(nex242_misc_laser_orange_beam) {
3374 MY(alpha_min) = 256;
3375 MY(alpha_max) = 256;
3376 MY(alpha_fade) = 64;
3377 MY(color_min) = "0xff6600";
3378 MY(color_max) = "0xff6600";
3379 MY(countabsolute) = 1;
3380 MY(sizeincrease) = 1;
3381 MY(size_min) = 1;
3382 MY(size_max) = 1;
3383 MY(tex_min) = 200;
3384 MY(tex_max) = 200;
3385 MY(type) = "beam";
3386}
3387
3388DEF(nex242_misc_laser_orange_beam_end);
3389SUB(nex242_misc_laser_orange_beam_end) {
3390 MY(alpha_min) = 128;
3391 MY(alpha_max) = 256;
3392 MY(alpha_fade) = 768;
3393 MY(bounce) = -1;
3394 MY(color_min) = "0x8f4333";
3395 MY(color_max) = "0xfff31b";
3396 MY(count) = 0.500000;
3397 MY(gravity) = 1;
3398 MY(size_min) = 0.400000;
3399 MY(size_max) = 0.400000;
3400 MY(type) = "spark";
3401 MY(velocityjitter) = '64.0 64.0 64.0';
3402 MY(velocitymultiplier) = 100;
3403}
3404
3405// bigger crylink impact effect
3406DEF(crylink_impactbig);
3407// decal
3408SUB(crylink_impactbig) {
3409 MY(alpha_min) = 256;
3410 MY(alpha_max) = 256;
3411 MY(countabsolute) = 1;
3412 MY(originjitter) = '12.0 12.0 12.0';
3413 MY(size_min) = 24;
3414 MY(size_max) = 24;
3415 MY(tex_min) = 47;
3416 MY(tex_max) = 47;
3417 MY(type) = "decal";
3418}
3419// purple flare effect
3420SUB(crylink_impactbig) {
3421 MY(alpha_min) = 256;
3422 MY(alpha_max) = 256;
3423 MY(alpha_fade) = 512;
3424 MY(color_min) = "0x504060";
3425 MY(color_max) = "0x504060";
3426 MY(countabsolute) = 1;
3427 MY(size_min) = 24;
3428 MY(size_max) = 24;
3429 MY(tex_min) = 39;
3430 MY(tex_max) = 39;
3431 MY(type) = "static";
3432}
3433// purple sparks
3434SUB(crylink_impactbig) {
3435 MY(alpha_min) = 256;
3436 MY(alpha_max) = 256;
3437 MY(alpha_fade) = 1024;
3438 MY(bounce) = 2;
3439 MY(color_min) = "0xA040C0";
3440 MY(color_max) = "0xA040C0";
3441 MY(count) = 40;
3442 MY(size_min) = 6;
3443 MY(size_max) = 6;
3444 MY(tex_min) = 41;
3445 MY(tex_max) = 41;
3446 MY(type) = "spark";
3447 MY(velocityjitter) = '512.0 512.0 512.0';
3448}
3449// purple splash
3450SUB(crylink_impactbig) {
3451 MY(alpha_min) = 256;
3452 MY(alpha_max) = 256;
3453 MY(alpha_fade) = 512;
3454 MY(color_min) = "0xE070FF";
3455 MY(color_max) = "0xE070FF";
3456 MY(count) = 1.500000;
3457 MY(size_min) = 16;
3458 MY(size_max) = 16;
3459 MY(type) = "static";
3460 MY(velocityjitter) = '32.0 32.0 32.0';
3461}
3462// purple splash
3463SUB(crylink_impactbig) {
3464 MY(alpha_min) = 256;
3465 MY(alpha_max) = 256;
3466 MY(alpha_fade) = 1024;
3467 MY(color_min) = "0xE070FF";
3468 MY(color_max) = "0xE070FF";
3469 MY(count) = 3;
3470 MY(size_min) = 16;
3471 MY(size_max) = 16;
3472 MY(type) = "static";
3473 MY(velocityjitter) = '256.0 256.0 256.0';
3474}
3475
3476#include "effectinfo_gentle.inc"
3477
3478DEF(laser_deadly);
3479// decal
3480SUB(laser_deadly) {
3481 MY(alpha_min) = 256;
3482 MY(alpha_max) = 256;
3483 MY(countabsolute) = 1;
3484 MY(originjitter) = '6.0 6.0 6.0';
3485 MY(size_min) = 5;
3486 MY(size_max) = 5;
3487 MY(tex_min) = 56;
3488 MY(tex_max) = 59;
3489 MY(type) = "decal";
3490}
3491// dust/smoke drifting away from the impact
3492SUB(laser_deadly) {
3493 MY(airfriction) = 7;
3494 MY(alpha_max) = 64;
3495 MY(alpha_fade) = 64;
3496 MY(color_min) = "0xFFFFFF";
3497 MY(color_max) = "0xFFFFFF";
3498 MY(count) = 0.025000;
3499 MY(liquidfriction) = 16;
3500 MY(originjitter) = '1.0 1.0 1.0';
3501 MY(sizeincrease) = 2;
3502 MY(size_min) = 3;
3503 MY(size_max) = 3;
3504 MY(tex_min) = 48;
3505 MY(tex_max) = 55;
3506 MY(type) = "smoke";
3507 MY(velocityjitter) = '15.0 15.0 15.0';
3508 MY(velocitymultiplier) = 20;
3509}
3510// sparks
3511SUB(laser_deadly) {
3512 MY(airfriction) = 5;
3513 MY(alpha_min) = 256;
3514 MY(alpha_max) = 256;
3515 MY(alpha_fade) = 768;
3516 MY(bounce) = 1;
3517 MY(color_min) = "0xFDFFD9";
3518 MY(color_max) = "0xFDFFD9";
3519 MY(count) = 0.025000;
3520 MY(gravity) = 1;
3521 MY(notunderwater) = true;
3522 MY(originjitter) = '1.0 1.0 1.0';
3523 MY(size_min) = 0.600000;
3524 MY(size_max) = 0.600000;
3525 MY(tex_min) = 40;
3526 MY(tex_max) = 40;
3527 MY(type) = "spark";
3528 MY(velocityjitter) = '100.0 100.0 100.0';
3529 MY(velocitymultiplier) = 100;
3530}
3531
3532DEF(torch_small);
3533// fire
3534SUB(torch_small) {
3535 MY(alpha_min) = 200;
3536 MY(alpha_max) = 256;
3537 MY(alpha_fade) = 512;
3538 MY(color_min) = "0x8f0d00";
3539 MY(color_max) = "0xff5a00";
3540 MY(count) = 8;
3541 MY(gravity) = -0.500000;
3542 MY(originjitter) = '5.0 5.0 5.0';
3543 MY(sizeincrease) = -1;
3544 MY(size_min) = 1;
3545 MY(size_max) = 11;
3546 MY(tex_min) = 48;
3547 MY(tex_max) = 55;
3548 MY(type) = "smoke";
3549 MY(velocityjitter) = '1.0 1.0 50.0';
3550}
3551// smoke
3552SUB(torch_small) {
3553 MY(alpha_min) = 200;
3554 MY(alpha_max) = 256;
3555 MY(alpha_fade) = 200;
3556 MY(color_min) = "0x000000";
3557 MY(color_max) = "0x111111";
3558 MY(count) = 4;
3559 MY(gravity) = -0.300000;
3560 MY(originjitter) = '3.0 3.0 3.0';
3561 MY(sizeincrease) = 5;
3562 MY(size_min) = 5;
3563 MY(size_max) = 10;
3564 MY(tex_max) = 8;
3565 MY(type) = "alphastatic";
3566 MY(velocityjitter) = '11.0 11.0 50.0';
3567}
3568
3569DEF(fountain01);
3570SUB(fountain01) {
3571 MY(alpha_max) = 100;
3572 MY(alpha_fade) = 100;
3573 MY(bounce) = 1;
3574 MY(color_min) = "0x7cbaff";
3575 MY(color_max) = "0xcfd1ff";
3576 MY(count) = 16;
3577 MY(gravity) = 0.600000;
3578 MY(originjitter) = '5.0 5.0 5.0';
3579 MY(sizeincrease) = 20;
3580 MY(size_min) = 10;
3581 MY(size_max) = 15;
3582 MY(tex_max) = 8;
3583 MY(type) = "snow";
3584 MY(velocityjitter) = '81.0 81.0 150.0';
3585 MY(velocitymultiplier) = 2;
3586}
3587
3588DEF(hookbomb_explode);
3589// decal
3590SUB(hookbomb_explode) {
3591 MY(airfriction) = 10;
3592 MY(alpha_max) = 256;
3593 MY(alpha_fade) = 200;
3594 MY(bounce) = 1.500000;
3595 MY(color_min) = "0x807aff";
3596 MY(color_max) = "0x4463d5";
3597 MY(count) = 25;
3598 MY(originjitter) = '10.0 10.0 10.0';
3599 MY(sizeincrease) = -160;
3600 MY(size_min) = 150;
3601 MY(size_max) = 200;
3602 MY(tex_min) = 38;
3603 MY(tex_max) = 38;
3604 MY(type) = "static";
3605 MY(velocityjitter) = '550.0 550.0 550.0';
3606}
3607// decal in the air
3608SUB(hookbomb_explode) {
3609 MY(alpha_min) = 256;
3610 MY(alpha_max) = 265;
3611 MY(alpha_fade) = 100;
3612 MY(color_min) = "0x807aff";
3613 MY(color_max) = "0x4463d5";
3614 MY(countabsolute) = 3;
3615 MY(originoffset) = '0.0 0.0 6.0';
3616 MY(sizeincrease) = -60;
3617 MY(size_min) = 160;
3618 MY(size_max) = 200;
3619 MY(tex_min) = 38;
3620 MY(tex_max) = 38;
3621 MY(type) = "static";
3622}
3623// decal on the ground
3624SUB(hookbomb_explode) {
3625 MY(alpha_min) = 256;
3626 MY(alpha_max) = 256;
3627 MY(countabsolute) = 1;
3628 MY(originjitter) = '6.0 6.0 6.0';
3629 MY(size_min) = 80;
3630 MY(size_max) = 100;
3631 MY(tex_min) = 39;
3632 MY(tex_max) = 39;
3633 MY(type) = "decal";
3634}
3635// some sparks
3636SUB(hookbomb_explode) {
3637 MY(airfriction) = 2;
3638 MY(alpha_min) = 256;
3639 MY(alpha_max) = 256;
3640 MY(alpha_fade) = 456;
3641 MY(bounce) = 1.500000;
3642 MY(color_min) = "0x807aff";
3643 MY(color_max) = "0x4463d5";
3644 MY(count) = 30;
3645 MY(gravity) = 1;
3646 MY(originjitter) = '1.0 1.0 1.0';
3647 MY(sizeincrease) = -60;
3648 MY(size_min) = 20;
3649 MY(size_max) = 30;
3650 MY(tex_min) = 38;
3651 MY(tex_max) = 38;
3652 MY(type) = "spark";
3653 MY(velocityjitter) = '1900.0 1900.0 1300.0';
3654 MY(velocitymultiplier) = 0.500000;
3655}
3656
3657DEF(EF_MGTURRETTRAIL);
3658// smoke
3659SUB(EF_MGTURRETTRAIL) {
3660 MY(alpha_min) = 128;
3661 MY(alpha_max) = 196;
3662 MY(alpha_fade) = 768;
3663 MY(color_min) = "0xd0d0a0";
3664 MY(color_max) = "0xffffff";
3665 MY(gravity) = -0.010000;
3666 MY(notunderwater) = true;
3667 MY(sizeincrease) = -8;
3668 MY(size_min) = 5;
3669 MY(size_max) = 4;
3670 MY(tex_max) = 8;
3671 MY(trailspacing) = 10;
3672 MY(type) = "smoke";
3673}
3674// bubbles
3675SUB(EF_MGTURRETTRAIL) {
3676 MY(alpha_min) = 256;
3677 MY(alpha_max) = 256;
3678 MY(alpha_fade) = 256;
3679 MY(bounce) = 1.500000;
3680 MY(color_min) = "0x404040";
3681 MY(color_max) = "0x808080";
3682 MY(gravity) = -0.125000;
3683 MY(liquidfriction) = 4;
3684 MY(size_min) = 1;
3685 MY(size_max) = 1;
3686 MY(tex_min) = 62;
3687 MY(tex_max) = 62;
3688 MY(trailspacing) = 32;
3689 MY(type) = "bubble";
3690 MY(underwater) = true;
3691 MY(velocityjitter) = '16.0 16.0 16.0';
3692}
3693
3694DEF(fire_big);
3695// fire
3696SUB(fire_big) {
3697 MY(alpha_min) = 200;
3698 MY(alpha_max) = 356;
3699 MY(alpha_fade) = 512;
3700 MY(bounce) = 2;
3701 MY(color_min) = "0x8f0d00";
3702 MY(color_max) = "0xff5a00";
3703 MY(count) = 26;
3704 MY(gravity) = -0.500000;
3705 MY(originjitter) = '33.0 33.0 33.0';
3706 MY(sizeincrease) = -3;
3707 MY(size_min) = 11;
3708 MY(size_max) = 31;
3709 MY(tex_min) = 48;
3710 MY(tex_max) = 55;
3711 MY(type) = "smoke";
3712 MY(velocityjitter) = '22.0 22.0 50.0';
3713}
3714// smoke
3715SUB(fire_big) {
3716 MY(alpha_min) = 200;
3717 MY(alpha_max) = 256;
3718 MY(alpha_fade) = 200;
3719 MY(bounce) = 2;
3720 MY(color_min) = "0x000000";
3721 MY(color_max) = "0x111111";
3722 MY(count) = 11;
3723 MY(gravity) = -0.300000;
3724 MY(originjitter) = '44.0 44.0 44.0';
3725 MY(sizeincrease) = 11;
3726 MY(size_min) = 22;
3727 MY(size_max) = 33;
3728 MY(tex_max) = 8;
3729 MY(type) = "alphastatic";
3730 MY(velocityjitter) = '11.0 11.0 50.0';
3731}
3732
3733#define flare(name, colormin, colormax) \
3734 DEF(name##_flare); \
3735 SUB(name##_flare) /* smoke */ { \
3736 MY(alpha_min) = 200; \
3737 MY(alpha_max) = 256; \
3738 MY(alpha_fade) = 160; \
3739 MY(bounce) = 1; \
3740 MY(color_min) = colormin; \
3741 MY(color_max) = colormax; \
3742 MY(count) = 10.500000; \
3743 MY(gravity) = -0.240000; \
3744 MY(originjitter) = '2.0 2.0 0.0'; \
3745 MY(sizeincrease) = 11; \
3746 MY(size_min) = 1; \
3747 MY(size_max) = 11; \
3748 MY(tex_max) = 8; \
3749 MY(type) = "alphastatic"; \
3750 MY(velocityjitter) = '15.0 15.0 30.0'; \
3751 }
3752
3753flare(red, "0xff0000", "0xdc7171")
3754flare(blue, "0x0000ff", "0x7194dc")
3755#undef flare
3756
3757DEF(smoke_ring);
3758// smoke
3759SUB(smoke_ring) {
3760 MY(airfriction) = 3;
3761 MY(alpha_min) = 100;
3762 MY(alpha_max) = 156;
3763 MY(alpha_fade) = 200;
3764 MY(bounce) = 1.100000;
3765 MY(color_min) = "0x111111";
3766 MY(color_max) = "0x979797";
3767 MY(count) = 45;
3768 MY(gravity) = 0.100000;
3769 MY(notunderwater) = true;
3770 MY(sizeincrease) = 21;
3771 MY(size_min) = 1;
3772 MY(size_max) = 11;
3773 MY(tex_max) = 8;
3774 MY(type) = "smoke";
3775 MY(velocityjitter) = '190.0 190.0 50.0';
3776}
3777
3778DEF(smoke_large);
3779// smoke
3780SUB(smoke_large) {
3781 MY(airfriction) = 7;
3782 MY(alpha_min) = 140;
3783 MY(alpha_max) = 256;
3784 MY(alpha_fade) = 190;
3785 MY(bounce) = 1.100000;
3786 MY(color_min) = "0x9e895f";
3787 MY(color_max) = "0xffd39b";
3788 MY(count) = 25;
3789 MY(gravity) = -0.150000;
3790 MY(notunderwater) = true;
3791 MY(sizeincrease) = 21;
3792 MY(size_min) = 11;
3793 MY(size_max) = 21;
3794 MY(tex_max) = 8;
3795 MY(type) = "alphastatic";
3796 MY(velocityjitter) = '390.0 390.0 390.0';
3797}
3798
3799DEF(sparks);
3800SUB(sparks) {
3801 MY(airfriction) = 3;
3802 MY(alpha_max) = 256;
3803 MY(alpha_fade) = 256;
3804 MY(bounce) = 1.500000;
3805 MY(color_min) = "0xFFFDD9";
3806 MY(color_max) = "0xFFFDD9";
3807 MY(count) = 15;
3808 MY(gravity) = 1;
3809 MY(originjitter) = '1.0 1.0 1.0';
3810 MY(size_min) = 1;
3811 MY(size_max) = 3;
3812 MY(tex_min) = 40;
3813 MY(tex_max) = 40;
3814 MY(type) = "spark";
3815 MY(velocityjitter) = '300.0 300.0 200.0';
3816 MY(velocitymultiplier) = 1.500000;
3817}
3818
3819DEF(electricity_sparks);
3820SUB(electricity_sparks) {
3821 MY(airfriction) = 3;
3822 MY(alpha_max) = 256;
3823 MY(alpha_fade) = 556;
3824 MY(bounce) = 1.500000;
3825 MY(color_min) = "0x807aff";
3826 MY(color_max) = "0x4463d5";
3827 MY(count) = 35;
3828 MY(gravity) = 1;
3829 MY(originjitter) = '1.0 1.0 1.0';
3830 MY(size_min) = 1;
3831 MY(size_max) = 3;
3832 MY(tex_min) = 40;
3833 MY(tex_max) = 40;
3834 MY(type) = "spark";
3835 MY(velocityjitter) = '300.0 300.0 300.0';
3836 MY(velocitymultiplier) = 0.500000;
3837}
3838
3839DEF(steam);
3840SUB(steam) {
3841 MY(airfriction) = 5;
3842 MY(alpha_min) = 140;
3843 MY(alpha_max) = 256;
3844 MY(alpha_fade) = 190;
3845 MY(bounce) = 1.100000;
3846 MY(color_min) = "0xfffbdf";
3847 MY(color_max) = "0xffffff";
3848 MY(count) = 1;
3849 MY(gravity) = -0.250000;
3850 MY(notunderwater) = true;
3851 MY(sizeincrease) = 7;
3852 MY(size_min) = 1;
3853 MY(size_max) = 3;
3854 MY(tex_max) = 8;
3855 MY(type) = "smoke";
3856 MY(velocityjitter) = '19.0 19.0 19.0';
3857 MY(velocitymultiplier) = 14;
3858}
3859
3860DEF(smoking);
3861SUB(smoking) {
3862 MY(airfriction) = -1;
3863 MY(alpha_min) = 100;
3864 MY(alpha_max) = 256;
3865 MY(alpha_fade) = 100;
3866 MY(bounce) = 1.500000;
3867 MY(color_min) = "0x292929";
3868 MY(color_max) = "0x000000";
3869 MY(count) = 10;
3870 MY(gravity) = -0.100000;
3871 MY(originjitter) = '10.0 10.0 10.0';
3872 MY(sizeincrease) = 5;
3873 MY(size_min) = 10;
3874 MY(size_max) = 40;
3875 MY(tex_max) = 8;
3876 MY(type) = "alphastatic";
3877 MY(velocityjitter) = '5.0 5.0 20.0';
3878}
3879
3880// golden dust (create it once per second to cover large area in small yellow particles)
3881DEF(goldendust);
3882SUB(goldendust) {
3883 MY(alpha_min) = 256;
3884 MY(alpha_max) = 256;
3885 MY(alpha_fade) = 70;
3886 MY(bounce) = 1.500000;
3887 MY(color_min) = "0xff9600";
3888 MY(color_max) = "0xffefb8";
3889 MY(count) = 25;
3890 MY(originjitter) = '500.0 500.0 500.0';
3891 MY(sizeincrease) = -0.300000;
3892 MY(size_min) = 2;
3893 MY(size_max) = 3;
3894 MY(tex_min) = 38;
3895 MY(tex_max) = 38;
3896 MY(type) = "snow";
3897 MY(velocityjitter) = '0.1 0.1 0.1';
3898}
3899
3900DEF(healing_fx);
3901SUB(healing_fx) {
3902 MY(airfriction) = -0.500000;
3903 MY(alpha_min) = 256;
3904 MY(alpha_max) = 256;
3905 MY(alpha_fade) = 200;
3906 MY(bounce) = 1.500000;
3907 MY(color_min) = "0xff0000";
3908 MY(color_max) = "0xfd705b";
3909 MY(count) = 3;
3910 MY(gravity) = -0.100000;
3911 MY(originjitter) = '5.0 5.0 50.0';
3912 MY(sizeincrease) = -0.050000;
3913 MY(size_min) = 3;
3914 MY(size_max) = 7;
3915 MY(tex_min) = 75;
3916 MY(tex_max) = 75;
3917 MY(type) = "static";
3918 MY(velocityjitter) = '40.0 40.0 5.0';
3919 MY(velocitymultiplier) = 0.200000;
3920}
3921
3922DEF(armorrepair_fx);
3923SUB(armorrepair_fx) {
3924 MY(airfriction) = 5;
3925 MY(alpha_min) = 200;
3926 MY(alpha_max) = 256;
3927 MY(alpha_fade) = 256;
3928 MY(bounce) = 1.500000;
3929 MY(color_min) = "0x00ff00";
3930 MY(color_max) = "0x81f13d";
3931 MY(count) = 3;
3932 MY(gravity) = -0.010000;
3933 MY(originjitter) = '5.0 5.0 50.0';
3934 MY(sizeincrease) = -0.050000;
3935 MY(size_min) = 3;
3936 MY(size_max) = 7;
3937 MY(tex_min) = 76;
3938 MY(tex_max) = 76;
3939 MY(type) = "static";
3940 MY(velocityjitter) = '200.0 200.0 5.0';
3941 MY(velocitymultiplier) = 0.500000;
3942}
3943
3944DEF(ammoregen_fx);
3945SUB(ammoregen_fx) {
3946 MY(airfriction) = -1;
3947 MY(alpha_min) = 256;
3948 MY(alpha_max) = 256;
3949 MY(alpha_fade) = 192;
3950 MY(bounce) = 1.500000;
3951 MY(color_min) = "0x0000ff";
3952 MY(color_max) = "0x5576ed";
3953 MY(count) = 3;
3954 MY(gravity) = 0.100000;
3955 MY(originjitter) = '10.0 10.0 30.0';
3956 MY(sizeincrease) = -0.050000;
3957 MY(size_min) = 3;
3958 MY(size_max) = 7;
3959 MY(tex_min) = 77;
3960 MY(tex_max) = 81;
3961 MY(type) = "static";
3962 MY(velocityjitter) = '40.0 40.0 2.0';
3963 MY(velocitymultiplier) = 0.200000;
3964 MY(velocityoffset) = '0.0 0.0 10.0';
3965}
3966
3967// red-yellow flame like fx
3968DEF(rage);
3969SUB(rage) {
3970 MY(airfriction) = 2;
3971 MY(alpha_min) = 128;
3972 MY(alpha_max) = 256;
3973 MY(alpha_fade) = 384;
3974 MY(color_min) = "0xff0000";
3975 MY(color_max) = "0xff7800";
3976 MY(count) = 2;
3977 MY(gravity) = -0.100000;
3978 MY(originjitter) = '8.0 8.0 8.0';
3979 MY(sizeincrease) = 20;
3980 MY(size_min) = 1;
3981 MY(size_max) = 3;
3982 MY(tex_min) = 35;
3983 MY(tex_max) = 37;
3984 MY(type) = "smoke";
3985 MY(velocityjitter) = '20.0 20.0 20.0';
3986 MY(velocityoffset) = '0.0 0.0 5.0';
3987}
3988
3989// pieces of glass or ice falling on the floor
3990DEF(iceorglass);
3991SUB(iceorglass) {
3992 MY(airfriction) = 3;
3993 MY(alpha_min) = 256;
3994 MY(alpha_max) = 256;
3995 MY(bounce) = 2;
3996 MY(color_min) = "0xffffff";
3997 MY(color_max) = "0xb2d3e6";
3998 MY(count) = 15;
3999 MY(gravity) = 1.300000;
4000 MY(originjitter) = '30.0 30.0 30.0';
4001 MY(size_min) = 3;
4002 MY(size_max) = 7;
4003 MY(tex_min) = 44;
4004 MY(tex_max) = 44;
4005 MY(time_min) = 1;
4006 MY(time_max) = 3;
4007 MY(type) = "alphastatic";
4008 MY(velocityjitter) = '100.0 100.0 100.0';
4009}
4010
4011// cover small area in poison gas, spawn it once per second
4012DEF(poisonfield);
4013SUB(poisonfield) {
4014 MY(airfriction) = 1;
4015 MY(alpha_min) = 256;
4016 MY(alpha_max) = 256;
4017 MY(alpha_fade) = 50;
4018 MY(bounce) = 1.500000;
4019 MY(color_min) = "0x00ff00";
4020 MY(color_max) = "0x7db843";
4021 MY(count) = 15;
4022 MY(gravity) = -0.010000;
4023 MY(originjitter) = '333.0 333.0 50.0';
4024 MY(sizeincrease) = 30;
4025 MY(size_min) = 1;
4026 MY(size_max) = 1;
4027 MY(tex_max) = 8;
4028 MY(type) = "smoke";
4029 MY(velocityjitter) = '5.0 5.0 5.0';
4030}
4031
4032// cover small area in dark fog, spawn it once per second
4033DEF(darkfield);
4034SUB(darkfield) {
4035 MY(airfriction) = 1;
4036 MY(alpha_min) = 256;
4037 MY(alpha_max) = 256;
4038 MY(alpha_fade) = 100;
4039 MY(bounce) = 1.500000;
4040 MY(color_min) = "0x600089";
4041 MY(color_max) = "0x000000";
4042 MY(count) = 6;
4043 MY(gravity) = -0.020000;
4044 MY(originjitter) = '333.0 333.0 0.0';
4045 MY(sizeincrease) = 20;
4046 MY(size_min) = 1;
4047 MY(size_max) = 1;
4048 MY(tex_max) = 8;
4049 MY(type) = "smoke";
4050 MY(velocityjitter) = '10.0 10.0 50.0';
4051}
4052SUB(darkfield) {
4053 MY(alpha_min) = 256;
4054 MY(alpha_max) = 256;
4055 MY(alpha_fade) = 100;
4056 MY(color_min) = "0x600089";
4057 MY(color_max) = "0x000000";
4058 MY(count) = 3;
4059 MY(gravity) = -0.002000;
4060 MY(originjitter) = '333.0 333.0 0.0';
4061 MY(sizeincrease) = 20;
4062 MY(size_min) = 1;
4063 MY(size_max) = 1;
4064 MY(tex_min) = 48;
4065 MY(tex_max) = 55;
4066 MY(type) = "smoke";
4067}
4068
4069// cover small area in icy mist, spawn it once per second
4070DEF(icefield);
4071SUB(icefield) {
4072 MY(airfriction) = 1;
4073 MY(alpha_min) = 256;
4074 MY(alpha_max) = 256;
4075 MY(alpha_fade) = 100;
4076 MY(bounce) = 1.500000;
4077 MY(color_min) = "0x008aff";
4078 MY(color_max) = "0x75e7ff";
4079 MY(count) = 6;
4080 MY(gravity) = -0.020000;
4081 MY(originjitter) = '333.0 333.0 0.0';
4082 MY(sizeincrease) = 20;
4083 MY(size_min) = 1;
4084 MY(size_max) = 1;
4085 MY(tex_max) = 8;
4086 MY(type) = "smoke";
4087 MY(velocityjitter) = '10.0 10.0 50.0';
4088}
4089SUB(icefield) {
4090 MY(alpha_min) = 256;
4091 MY(alpha_max) = 256;
4092 MY(alpha_fade) = 100;
4093 MY(color_min) = "0x008aff";
4094 MY(color_max) = "0x75e7ff";
4095 MY(count) = 3;
4096 MY(gravity) = -0.002000;
4097 MY(originjitter) = '333.0 333.0 0.0';
4098 MY(sizeincrease) = 20;
4099 MY(size_min) = 1;
4100 MY(size_max) = 1;
4101 MY(tex_min) = 48;
4102 MY(tex_max) = 55;
4103 MY(type) = "smoke";
4104}
4105
4106// cover very small area in flames, spawn it 3 times per second (or more often to get better looking fire at cost of fps hit )
4107DEF(firefield);
4108// flames that go up
4109SUB(firefield) {
4110 MY(airfriction) = 1;
4111 MY(alpha_min) = 50;
4112 MY(alpha_max) = 256;
4113 MY(alpha_fade) = 200;
4114 MY(bounce) = 1.500000;
4115 MY(color_min) = "0x8f0d00";
4116 MY(color_max) = "0xff5a00";
4117 MY(count) = 100;
4118 MY(gravity) = -0.060000;
4119 MY(originjitter) = '180.0 180.0 0.0';
4120 MY(sizeincrease) = 20;
4121 MY(size_min) = 1;
4122 MY(size_max) = 1;
4123 MY(tex_min) = 48;
4124 MY(tex_max) = 55;
4125 MY(type) = "smoke";
4126 MY(velocityjitter) = '5.0 5.0 30.0';
4127}
4128// flames that stay on the ground
4129SUB(firefield) {
4130 MY(alpha_min) = 50;
4131 MY(alpha_max) = 256;
4132 MY(alpha_fade) = 200;
4133 MY(color_min) = "0x8f0d00";
4134 MY(color_max) = "0xff5a00";
4135 MY(count) = 50;
4136 MY(originjitter) = '180.0 180.0 0.0';
4137 MY(sizeincrease) = 40;
4138 MY(size_min) = 1;
4139 MY(size_max) = 1;
4140 MY(tex_min) = 48;
4141 MY(tex_max) = 55;
4142 MY(type) = "smoke";
4143}
4144// smoke
4145SUB(firefield) {
4146 MY(alpha_min) = 256;
4147 MY(alpha_max) = 256;
4148 MY(alpha_fade) = 70;
4149 MY(color_min) = "0x000000";
4150 MY(color_max) = "0x111111";
4151 MY(count) = 20;
4152 MY(gravity) = -0.020000;
4153 MY(originjitter) = '180.0 180.0 0.0';
4154 MY(sizeincrease) = 7;
4155 MY(size_min) = 1;
4156 MY(size_max) = 1;
4157 MY(tex_max) = 8;
4158 MY(type) = "alphastatic";
4159}
4160
4161// flamethrower, spawn it as fast as you can 20 times per second or more, it needs direction
4162DEF(flamethrower);
4163// fast fire
4164SUB(flamethrower) {
4165 MY(airfriction) = 1.200000;
4166 MY(alpha_min) = 50;
4167 MY(alpha_max) = 256;
4168 MY(alpha_fade) = 250;
4169 MY(bounce) = 1.500000;
4170 MY(color_min) = "0x8f0d00";
4171 MY(color_max) = "0xff5a00";
4172 MY(count) = 3;
4173 MY(gravity) = -0.060000;
4174 MY(sizeincrease) = 20;
4175 MY(size_min) = 5;
4176 MY(size_max) = 5;
4177 MY(tex_min) = 48;
4178 MY(tex_max) = 55;
4179 MY(type) = "smoke";
4180 MY(velocityjitter) = '40.0 40.0 11.0';
4181 MY(velocitymultiplier) = 30;
4182}
4183// slow fire
4184SUB(flamethrower) {
4185 MY(airfriction) = 1.200000;
4186 MY(alpha_min) = 50;
4187 MY(alpha_max) = 256;
4188 MY(alpha_fade) = 200;
4189 MY(bounce) = 1.500000;
4190 MY(color_min) = "0x8f0d00";
4191 MY(color_max) = "0xff5a00";
4192 MY(count) = 2.500000;
4193 MY(gravity) = -0.060000;
4194 MY(sizeincrease) = 20;
4195 MY(size_min) = 5;
4196 MY(size_max) = 5;
4197 MY(tex_min) = 48;
4198 MY(tex_max) = 55;
4199 MY(type) = "smoke";
4200 MY(velocityjitter) = '40.0 40.0 40.0';
4201 MY(velocitymultiplier) = 20;
4202}
4203// very slow and small fire
4204SUB(flamethrower) {
4205 MY(airfriction) = 0.300000;
4206 MY(alpha_min) = 50;
4207 MY(alpha_max) = 256;
4208 MY(alpha_fade) = 200;
4209 MY(bounce) = 1.500000;
4210 MY(color_min) = "0x8f0d00";
4211 MY(color_max) = "0xff5a00";
4212 MY(count) = 1.500000;
4213 MY(gravity) = -0.060000;
4214 MY(sizeincrease) = 10;
4215 MY(size_min) = 5;
4216 MY(size_max) = 5;
4217 MY(tex_min) = 48;
4218 MY(tex_max) = 55;
4219 MY(type) = "smoke";
4220 MY(velocityjitter) = '30.0 30.0 30.0';
4221 MY(velocitymultiplier) = 10;
4222}
4223// decreasing fire
4224SUB(flamethrower) {
4225 MY(airfriction) = 0.300000;
4226 MY(alpha_min) = 50;
4227 MY(alpha_max) = 256;
4228 MY(alpha_fade) = 200;
4229 MY(bounce) = 1.500000;
4230 MY(color_min) = "0x8f0d00";
4231 MY(color_max) = "0xff5a00";
4232 MY(count) = 2;
4233 MY(gravity) = -0.060000;
4234 MY(sizeincrease) = -10;
4235 MY(size_min) = 20;
4236 MY(size_max) = 30;
4237 MY(tex_min) = 48;
4238 MY(tex_max) = 55;
4239 MY(type) = "smoke";
4240 MY(velocityjitter) = '10.0 10.0 10.0';
4241 MY(velocitymultiplier) = 15;
4242}
4243// smoke
4244SUB(flamethrower) {
4245 MY(airfriction) = 1;
4246 MY(alpha_min) = 256;
4247 MY(alpha_max) = 256;
4248 MY(alpha_fade) = 90;
4249 MY(color_min) = "0x000000";
4250 MY(color_max) = "0x111111";
4251 MY(count) = 0.500000;
4252 MY(originjitter) = '10.0 10.0 10.0';
4253 MY(sizeincrease) = 7;
4254 MY(size_min) = 5;
4255 MY(size_max) = 15;
4256 MY(tex_max) = 8;
4257 MY(type) = "alphastatic";
4258 MY(velocitymultiplier) = 20;
4259 MY(velocityoffset) = '0.0 0.0 10.0';
4260}
4261
4262// port-o-launch trail
4263DEF(TR_WIZSPIKE);
4264// glowing vapor trail
4265SUB(TR_WIZSPIKE) {
4266 MY(alpha_min) = 256;
4267 MY(alpha_max) = 256;
4268 MY(alpha_fade) = 968;
4269 MY(color_min) = "0x404040";
4270 MY(color_max) = "0x404040";
4271 MY(lightcolor) = '1.5 3.0 6.0';
4272 MY(lightradius) = 90;
4273 MY(size_min) = 3;
4274 MY(size_max) = 3;
4275 MY(tex_min) = 62;
4276 MY(tex_max) = 62;
4277 MY(trailspacing) = 4;
4278 MY(type) = "static";
4279 MY(velocitymultiplier) = -0.100000;
4280}
4281// bright sparks
4282SUB(TR_WIZSPIKE) {
4283 MY(airfriction) = 12;
4284 MY(alpha_min) = 444;
4285 MY(alpha_max) = 512;
4286 MY(alpha_fade) = 1866;
4287 MY(bounce) = 1;
4288 MY(color_min) = "0x404040";
4289 MY(color_max) = "0x404040";
4290 MY(count) = 1.500000;
4291 MY(originjitter) = '1.0 1.0 1.0';
4292 MY(sizeincrease) = -20;
4293 MY(size_min) = 2;
4294 MY(size_max) = 4;
4295 MY(tex_min) = 42;
4296 MY(tex_max) = 42;
4297 MY(trailspacing) = 12;
4298 MY(type) = "snow";
4299 MY(velocityjitter) = '50.0 50.0 50.0';
4300 MY(velocityoffset) = '0.0 0.0 15.0';
4301}
4302
4303// TAG trail
4304DEF(TR_VORESPIKE);
4305// glowing vapor trail
4306SUB(TR_VORESPIKE) {
4307 MY(alpha_min) = 256;
4308 MY(alpha_max) = 256;
4309 MY(alpha_fade) = 968;
4310 MY(color_min) = "0x804000";
4311 MY(color_max) = "0x804000";
4312 MY(lightcolor) = '1.5 3.0 6.0';
4313 MY(lightradius) = 90;
4314 MY(size_min) = 3;
4315 MY(size_max) = 3;
4316 MY(tex_min) = 62;
4317 MY(tex_max) = 62;
4318 MY(trailspacing) = 4;
4319 MY(type) = "static";
4320 MY(velocitymultiplier) = -0.100000;
4321}
4322// bright sparks
4323SUB(TR_VORESPIKE) {
4324 MY(airfriction) = 12;
4325 MY(alpha_min) = 444;
4326 MY(alpha_max) = 512;
4327 MY(alpha_fade) = 1866;
4328 MY(bounce) = 1;
4329 MY(color_min) = "0xff8000";
4330 MY(color_max) = "0xff8000";
4331 MY(count) = 1.500000;
4332 MY(originjitter) = '1.0 1.0 1.0';
4333 MY(sizeincrease) = -20;
4334 MY(size_min) = 2;
4335 MY(size_max) = 4;
4336 MY(tex_min) = 42;
4337 MY(tex_max) = 42;
4338 MY(trailspacing) = 12;
4339 MY(type) = "snow";
4340 MY(velocityjitter) = '50.0 50.0 50.0';
4341 MY(velocityoffset) = '0.0 0.0 15.0';
4342}
4343
4344DEF(flac_explode);
4345SUB(flac_explode) {
4346 MY(alpha_min) = 256;
4347 MY(alpha_max) = 256;
4348 MY(countabsolute) = 1;
4349 MY(lightcolor) = '8.0 4.0 1.0';
4350 MY(lightradiusfade) = 400;
4351 MY(lightradius) = 150;
4352 MY(originjitter) = '40.0 40.0 40.0';
4353 MY(size_min) = 18;
4354 MY(size_max) = 28;
4355 MY(tex_min) = 8;
4356 MY(tex_max) = 16;
4357 MY(type) = "decal";
4358}
4359// fire effect which make bright dot inside
4360SUB(flac_explode) {
4361 MY(airfriction) = 8;
4362 MY(alpha_min) = 128;
4363 MY(alpha_max) = 256;
4364 MY(alpha_fade) = 456;
4365 MY(bounce) = 1.500000;
4366 MY(color_min) = "0xffe955";
4367 MY(color_max) = "0xff5a00";
4368 MY(count) = 3;
4369 MY(liquidfriction) = 8;
4370 MY(notunderwater) = true;
4371 MY(originjitter) = '8.0 8.0 8.0';
4372 MY(sizeincrease) = 5;
4373 MY(size_min) = 6;
4374 MY(size_max) = 16;
4375 MY(tex_min) = 48;
4376 MY(tex_max) = 55;
4377 MY(type) = "smoke";
4378 MY(velocityjitter) = '156.0 156.0 156.0';
4379}
4380// fire effect which expands then slows
4381SUB(flac_explode) {
4382 MY(airfriction) = 12;
4383 MY(alpha_min) = 128;
4384 MY(alpha_max) = 256;
4385 MY(alpha_fade) = 456;
4386 MY(bounce) = 1.500000;
4387 MY(color_min) = "0x8f0d00";
4388 MY(color_max) = "0xff5a00";
4389 MY(count) = 6;
4390 MY(liquidfriction) = 8;
4391 MY(notunderwater) = true;
4392 MY(originjitter) = '8.0 8.0 8.0';
4393 MY(sizeincrease) = 15;
4394 MY(size_min) = 10;
4395 MY(size_max) = 16;
4396 MY(tex_min) = 48;
4397 MY(tex_max) = 55;
4398 MY(type) = "static";
4399 MY(velocityjitter) = '256.0 256.0 256.0';
4400}
4401// smoke
4402SUB(flac_explode) {
4403 MY(airfriction) = 5;
4404 MY(alpha_min) = 500;
4405 MY(alpha_max) = 600;
4406 MY(alpha_fade) = 556;
4407 MY(bounce) = 2;
4408 MY(color_min) = "0x000000";
4409 MY(color_max) = "0x111111";
4410 MY(count) = 5;
4411 MY(notunderwater) = true;
4412 MY(sizeincrease) = 20;
4413 MY(size_min) = 10;
4414 MY(size_max) = 20;
4415 MY(tex_max) = 8;
4416 MY(type) = "alphastatic";
4417 MY(velocityjitter) = '244.0 244.0 244.0';
4418}
4419// underwater bubbles
4420SUB(flac_explode) {
4421 MY(alpha_min) = 128;
4422 MY(alpha_max) = 256;
4423 MY(alpha_fade) = 64;
4424 MY(bounce) = 1.500000;
4425 MY(color_min) = "0x404040";
4426 MY(color_max) = "0x808080";
4427 MY(count) = 8;
4428 MY(gravity) = -0.125000;
4429 MY(liquidfriction) = 0.250000;
4430 MY(originjitter) = '16.0 16.0 16.0';
4431 MY(size_min) = 1;
4432 MY(size_max) = 2;
4433 MY(tex_min) = 62;
4434 MY(tex_max) = 62;
4435 MY(type) = "bubble";
4436 MY(underwater) = true;
4437 MY(velocityjitter) = '96.0 96.0 96.0';
4438}
4439// bouncing sparks
4440SUB(flac_explode) {
4441 MY(airfriction) = 0.200000;
4442 MY(alpha_min) = 256;
4443 MY(alpha_max) = 256;
4444 MY(alpha_fade) = 384;
4445 MY(bounce) = 1.500000;
4446 MY(color_min) = "0x903010";
4447 MY(color_max) = "0xFFD030";
4448 MY(count) = 4;
4449 MY(gravity) = 1;
4450 MY(liquidfriction) = 0.800000;
4451 MY(notunderwater) = true;
4452 MY(size_min) = 2;
4453 MY(size_max) = 2;
4454 MY(tex_min) = 40;
4455 MY(tex_max) = 40;
4456 MY(type) = "spark";
4457 MY(velocityjitter) = '256.0 256.0 256.0';
4458 MY(velocityoffset) = '0.0 0.0 80.0';
4459}
4460
4461// bullet trail (somewhat like a tracer)
4462DEF(tr_bullet);
4463SUB(tr_bullet) {
4464 MY(alpha) = '500 600 10000';
4465 MY(color_min) = "0xf03000";
4466 MY(color_max) = "0xff6010";
4467 MY(countabsolute) = 1;
4468 MY(sizeincrease) = -3;
4469 MY(size_min) = 0.6;
4470 MY(size_max) = 0.8;
4471 my(tex_min) = 200;
4472 my(tex_max) = 200;
4473 MY(type) = "beam";
4474}
4475SUB(tr_bullet) {
4476 MY(airfriction) = -4;
4477 MY(alpha) = '256 256 350';
4478 MY(color_min) = "0x202020";
4479 MY(color_max) = "0x404040";
4480 MY(notunderwater) = true;
4481 MY(sizeincrease) = 0.4;
4482 MY(size_min) = 1;
4483 MY(size_max) = 2;
4484 MY(tex_min) = 0;
4485 MY(tex_max) = 8;
4486 MY(trailspacing) = 16;
4487 MY(type) = "smoke";
4488 MY(velocityjitter) = '4 4 4';
4489}
4490SUB(tr_bullet) {
4491 MY(alpha_min) = 256;
4492 MY(alpha_max) = 256;
4493 MY(alpha_fade) = 128;
4494 MY(bounce) = 1.500000;
4495 MY(color_min) = "0x404040";
4496 MY(color_max) = "0x808080";
4497 MY(gravity) = -0.125000;
4498 MY(liquidfriction) = 4;
4499 MY(size_min) = 0.5;
4500 MY(size_max) = 0.6;
4501 MY(tex_min) = 62;
4502 MY(tex_max) = 62;
4503 MY(trailspacing) = 16;
4504 MY(type) = "bubble";
4505 MY(underwater) = true;
4506 MY(velocityjitter) = '16.0 16.0 16.0';
4507}
4508
4509// smoke emitter for small pipes
4510DEF(smoking_smallemitter);
4511SUB(smoking_smallemitter) {
4512 MY(airfriction) = -1;
4513 MY(alpha_min) = 200;
4514 MY(alpha_max) = 256;
4515 MY(alpha_fade) = 100;
4516 MY(color_min) = "0x292929";
4517 MY(color_max) = "0x000000";
4518 MY(count) = 10;
4519 MY(gravity) = -0.100000;
4520 MY(originjitter) = '10.0 10.0 10.0';
4521 MY(sizeincrease) = 20;
4522 MY(size_min) = 6;
4523 MY(size_max) = 15;
4524 MY(tex_max) = 8;
4525 MY(type) = "alphastatic";
4526 MY(velocityjitter) = '5.0 5.0 20.0';
4527}
4528
4529// crylink trail
4530DEF(TR_CRYLINKPLASMA);
4531// plasma smoke
4532SUB(TR_CRYLINKPLASMA) {
4533 MY(alpha_min) = 256;
4534 MY(alpha_max) = 256;
4535 MY(alpha_fade) = 1024;
4536 MY(color_min) = "0x5522aa";
4537 MY(color_max) = "0x6622ff";
4538 MY(sizeincrease) = 8;
4539 MY(size_min) = 2;
4540 MY(size_max) = 2;
4541 MY(tex_min) = 32;
4542 MY(tex_max) = 32;
4543 MY(trailspacing) = 128;
4544 MY(type) = "static";
4545 MY(velocityjitter) = '8.0 8.0 8.0';
4546 MY(velocitymultiplier) = -0.010000;
4547}
4548// crylink main trail
4549SUB(TR_CRYLINKPLASMA) {
4550 MY(alpha_min) = 256;
4551 MY(alpha_max) = 256;
4552 MY(alpha_fade) = 2600;
4553 MY(color_min) = "0x5522aa";
4554 MY(color_max) = "0x6622ff";
4555 MY(sizeincrease) = 15;
4556 MY(size_min) = 3;
4557 MY(size_max) = 3;
4558 MY(tex_min) = 3;
4559 MY(tex_max) = 3;
4560 MY(trailspacing) = 16;
4561 MY(type) = "static";
4562 MY(velocityjitter) = '2.0 2.0 2.0';
4563 MY(velocitymultiplier) = 0.010000;
4564}
4565
4566DEF(cherryblossom);
4567SUB(cherryblossom) {
4568 MY(airfriction) = 1;
4569 MY(alpha_min) = 128;
4570 MY(alpha_max) = 256;
4571 MY(alpha_fade) = 32;
4572 MY(bounce) = 1.500000;
4573 MY(color_min) = "0xb123ff";
4574 MY(color_max) = "0xb183ff";
4575 MY(count) = 1.500000;
4576 MY(gravity) = 0.050000;
4577 MY(liquidfriction) = 1;
4578 MY(originjitter) = '16.0 16.0 16.0';
4579 MY(size_min) = 1.500000;
4580 MY(size_max) = 2;
4581 MY(tex_min) = 40;
4582 MY(tex_max) = 40;
4583 MY(type) = "static";
4584 MY(velocityjitter) = '32.0 32.0 0.0';
4585}
4586
4587DEF(alien_blood);
4588SUB(alien_blood) {
4589 MY(airfriction) = 0.400000;
4590 MY(alpha_min) = 1560;
4591 MY(alpha_max) = 2560;
4592 MY(alpha_fade) = 7000;
4593 MY(blend) = "invmod";
4594 MY(bounce) = -1;
4595 MY(color_min) = "0xDC9BCD";
4596 MY(color_max) = "0xDC9BCD";
4597 MY(count) = 0.400000;
4598 MY(sizeincrease) = 20;
4599 MY(size_min) = 5;
4600 MY(size_max) = 11;
4601 MY(staincolor_min) = "0xDC9BCD";
4602 MY(staincolor_max) = "0xDC9BCD";
4603 MY(stainsize_min) = 1;
4604 MY(stainsize_max) = 2;
4605 MY(staintex_min) = 16;
4606 MY(staintex_max) = 24;
4607 MY(stretchfactor) = 25;
4608 MY(tex_min) = 24;
4609 MY(tex_max) = 32;
4610 MY(type) = "spark";
4611 MY(velocityjitter) = '99.0 99.0 55.0';
4612}
4613// blood mist
4614SUB(alien_blood) {
4615 MY(alpha_min) = 3000;
4616 MY(alpha_max) = 5560;
4617 MY(alpha_fade) = 12000;
4618 MY(blend) = "invmod";
4619 MY(color_min) = "0xDC9BCD";
4620 MY(color_max) = "0xDC9BCD";
4621 MY(countabsolute) = 1;
4622 MY(originjitter) = '11.0 11.0 11.0';
4623 MY(sizeincrease) = 20;
4624 MY(size_min) = 25;
4625 MY(size_max) = 30;
4626 MY(tex_min) = 24;
4627 MY(tex_max) = 32;
4628 MY(type) = "smoke";
4629}
4630
4631DEF(robot_blood);
4632SUB(robot_blood) {
4633 MY(airfriction) = 1;
4634 MY(alpha_min) = 256;
4635 MY(alpha_max) = 256;
4636 MY(alpha_fade) = 64;
4637 MY(bounce) = -1;
4638 MY(color_min) = "0xff3000";
4639 MY(color_max) = "0xff7373";
4640 MY(count) = 0.167000;
4641 MY(gravity) = 1;
4642 MY(liquidfriction) = 4;
4643 MY(size_min) = 1;
4644 MY(size_max) = 2;
4645 MY(tex_min) = 70;
4646 MY(tex_max) = 70;
4647 MY(type) = "spark";
4648 MY(velocityjitter) = '264.0 264.0 264.0';
4649 MY(velocityoffset) = '0.0 0.0 100.0';
4650}
4651// shockwave
4652SUB(robot_blood) {
4653 MY(alpha_max) = 90;
4654 MY(alpha_fade) = 1000;
4655 MY(color_min) = "0xff8400";
4656 MY(color_max) = "0xffbb72";
4657 MY(countabsolute) = 1;
4658 MY(originjitter) = '11.0 11.0 11.0';
4659 MY(sizeincrease) = 800;
4660 MY(size_min) = 2;
4661 MY(size_max) = 2;
4662 MY(tex_min) = 74;
4663 MY(tex_max) = 74;
4664 MY(type) = "smoke";
4665}
4666// electo sparks
4667SUB(robot_blood) {
4668 MY(alpha_min) = 256;
4669 MY(alpha_max) = 256;
4670 MY(alpha_fade) = 5120;
4671 MY(color_min) = "0xff3000";
4672 MY(color_max) = "0xff8585";
4673 MY(count) = 0.100000;
4674 MY(originjitter) = '41.0 41.0 21.0';
4675 MY(startangle_min) = -180;
4676 MY(startangle_max) = 180;
4677 MY(spin_min) = 4000;
4678 MY(spin_max) = -4000;
4679 MY(size_min) = 20;
4680 MY(size_max) = 40;
4681 MY(tex_min) = 71;
4682 MY(tex_max) = 73;
4683 MY(type) = "smoke";
4684}
4685
4686DEF(alien_TR_BLOOD);
4687SUB(alien_TR_BLOOD) {
4688 MY(airfriction) = -2;
4689 MY(alpha_min) = 384;
4690 MY(alpha_max) = 984;
4691 MY(alpha_fade) = 1492;
4692 MY(blend) = "invmod";
4693 MY(bounce) = -1;
4694 MY(color_min) = "0xC080B0";
4695 MY(color_max) = "0xC080B0";
4696 MY(gravity) = 0.400000;
4697 MY(liquidfriction) = 1;
4698 MY(sizeincrease) = -5;
4699 MY(size_min) = 4;
4700 MY(size_max) = 19;
4701 MY(staincolor_min) = "0xC080B0";
4702 MY(staincolor_max) = "0xC080B0";
4703 MY(stainsize_min) = 1;
4704 MY(stainsize_max) = 2;
4705 MY(staintex_min) = 16;
4706 MY(staintex_max) = 24;
4707 MY(stretchfactor) = 7;
4708 MY(tex_min) = 24;
4709 MY(tex_max) = 32;
4710 MY(trailspacing) = 20;
4711 MY(type) = "spark";
4712 MY(velocityjitter) = '64.0 64.0 64.0';
4713 MY(velocitymultiplier) = -0.100000;
4714}
4715
4716// splash around gib
4717SUB(TR_BLOOD) {
4718 MY(alpha_min) = 684;
4719 MY(alpha_max) = 684;
4720 MY(alpha_fade) = 7492;
4721 MY(color_min) = "0xA8FFFF";
4722 MY(color_max) = "0xA8FFFF";
4723 MY(sizeincrease) = 500;
4724 MY(size_min) = 4;
4725 MY(size_max) = 6;
4726 MY(tex_min) = 24;
4727 MY(tex_max) = 32;
4728 MY(trailspacing) = 42;
4729 MY(type) = "blood";
4730}
4731
4732DEF(robot_TR_BLOOD);
4733SUB(robot_TR_BLOOD) {
4734 MY(airfriction) = -2;
4735 MY(alpha_min) = 384;
4736 MY(alpha_max) = 984;
4737 MY(alpha_fade) = 1892;
4738 MY(blend) = "invmod";
4739 MY(bounce) = -1;
4740 MY(color_min) = "0xC0D890";
4741 MY(color_max) = "0xC0D890";
4742 MY(gravity) = 0.400000;
4743 MY(liquidfriction) = 1;
4744 MY(sizeincrease) = -6;
4745 MY(size_min) = 4;
4746 MY(size_max) = 13;
4747 MY(staincolor_min) = "0x808080";
4748 MY(staincolor_max) = "0x808080";
4749 MY(stainsize_min) = 1;
4750 MY(stainsize_max) = 3;
4751 MY(staintex_min) = 16;
4752 MY(staintex_max) = 24;
4753 MY(stretchfactor) = 6;
4754 MY(tex_min) = 24;
4755 MY(tex_max) = 32;
4756 MY(trailspacing) = 16;
4757 MY(type) = "spark";
4758 MY(velocityjitter) = '64.0 64.0 64.0';
4759 MY(velocitymultiplier) = -0.300000;
4760}
4761// fire
4762SUB(robot_TR_BLOOD) {
4763 MY(airfriction) = 4;
4764 MY(alpha_min) = 128;
4765 MY(alpha_max) = 256;
4766 MY(alpha_fade) = 900;
4767 MY(color_min) = "0x902010";
4768 MY(color_max) = "0xff3600";
4769 MY(gravity) = -1;
4770 MY(liquidfriction) = 4;
4771 MY(notunderwater) = true;
4772 MY(sizeincrease) = 10;
4773 MY(size_min) = 5;
4774 MY(size_max) = 20;
4775 MY(stretchfactor) = 5;
4776 MY(tex_min) = 48;
4777 MY(tex_max) = 55;
4778 MY(trailspacing) = 16;
4779 MY(type) = "spark";
4780 MY(velocityjitter) = '44.0 44.0 44.0';
4781}
4782// arcs
4783SUB(robot_TR_BLOOD) {
4784 MY(alpha_min) = 1128;
4785 MY(alpha_max) = 1256;
4786 MY(alpha_fade) = 44900;
4787 MY(color_min) = "0xff3000";
4788 MY(color_max) = "0xff8585";
4789 MY(startangle_min) = -180;
4790 MY(startangle_max) = 180;
4791 MY(spin_min) = 4000;
4792 MY(spin_max) = -4000;
4793 MY(size_min) = 25;
4794 MY(size_max) = 30;
4795 MY(tex_min) = 71;
4796 MY(tex_max) = 73;
4797 MY(trailspacing) = 128;
4798 MY(type) = "smoke";
4799 MY(velocityjitter) = '44.0 44.0 44.0';
4800}
4801
4802DEF(alien_TR_SLIGHTBLOOD);
4803SUB(alien_TR_SLIGHTBLOOD) {
4804 MY(airfriction) = 1;
4805 MY(alpha_min) = 384;
4806 MY(alpha_max) = 384;
4807 MY(alpha_fade) = 192;
4808 MY(bounce) = -1;
4809 MY(color_min) = "0xC080B0";
4810 MY(color_max) = "0xC080B0";
4811 MY(liquidfriction) = 4;
4812 MY(size_min) = 80;
4813 MY(size_max) = 80;
4814 MY(staincolor_min) = "0x808080";
4815 MY(staincolor_max) = "0x808080";
4816 MY(staintex_min) = 16;
4817 MY(staintex_max) = 24;
4818 MY(tex_min) = 24;
4819 MY(tex_max) = 32;
4820 MY(trailspacing) = 64;
4821 MY(type) = "blood";
4822 MY(velocityjitter) = '64.0 64.0 64.0';
4823 MY(velocitymultiplier) = 0.500000;
4824}
4825
4826DEF(robot_TR_SLIGHTBLOOD);
4827SUB(robot_TR_SLIGHTBLOOD) {
4828 MY(airfriction) = 1;
4829 MY(alpha_min) = 384;
4830 MY(alpha_max) = 384;
4831 MY(alpha_fade) = 192;
4832 MY(bounce) = -1;
4833 MY(color_min) = "0xC0D890";
4834 MY(color_max) = "0xC0D890";
4835 MY(liquidfriction) = 4;
4836 MY(size_min) = 8;
4837 MY(size_max) = 8;
4838 MY(staincolor_min) = "0x808080";
4839 MY(staincolor_max) = "0x808080";
4840 MY(staintex_min) = 16;
4841 MY(staintex_max) = 24;
4842 MY(tex_min) = 24;
4843 MY(tex_max) = 32;
4844 MY(trailspacing) = 64;
4845 MY(type) = "blood";
4846 MY(velocityjitter) = '64.0 64.0 64.0';
4847 MY(velocitymultiplier) = 0.500000;
4848}
4849
4850DEF(item_pickup);
4851// flare particle and light
4852SUB(item_pickup) {
4853 MY(alpha_min) = 128;
4854 MY(alpha_max) = 64;
4855 MY(alpha_fade) = 64;
4856 MY(color_min) = "0x63F2EA";
4857 MY(color_max) = "0xB0C5C4";
4858 MY(countabsolute) = 1;
4859 MY(size_min) = 8;
4860 MY(size_max) = 16;
4861 MY(type) = "static";
4862}
4863// cloud of particles which expand rapidly and then slow to form a ball
4864SUB(item_pickup) {
4865 MY(alpha_min) = 256;
4866 MY(alpha_max) = 256;
4867 MY(alpha_fade) = 1280;
4868 MY(color_min) = "0x63F2EA";
4869 MY(color_max) = "0xB0C5C4";
4870 MY(count) = 32;
4871 MY(size_min) = 1;
4872 MY(size_max) = 1;
4873 MY(tex_min) = 41;
4874 MY(tex_max) = 41;
4875 MY(type) = "spark";
4876 MY(velocityjitter) = '256.0 256.0 256.0';
4877}
4878
4879DEF(bloodshower);
4880SUB(bloodshower) {
4881 MY(alpha_min) = 156;
4882 MY(alpha_max) = 656;
4883 MY(alpha_fade) = 1664;
4884 MY(blend) = "invmod";
4885 MY(bounce) = -1;
4886 MY(color_min) = "0xA8FFFF";
4887 MY(color_max) = "0xA8FFFFF";
4888 MY(count) = 125;
4889 MY(gravity) = 1;
4890 MY(liquidfriction) = 4;
4891 MY(size_min) = 8;
4892 MY(size_max) = 28;
4893 MY(staincolor_min) = "0x808080";
4894 MY(staincolor_max) = "0x808080";
4895 MY(stainsize_min) = 1;
4896 MY(stainsize_max) = 2;
4897 MY(staintex_min) = 16;
4898 MY(staintex_max) = 24;
4899 MY(stretchfactor) = 3;
4900 MY(tex_min) = 24;
4901 MY(tex_max) = 32;
4902 MY(type) = "spark";
4903 MY(velocityjitter) = '764.0 764.0 764.0';
4904}
4905// center blood
4906SUB(bloodshower) {
4907 MY(alpha_min) = 156;
4908 MY(alpha_max) = 656;
4909 MY(alpha_fade) = 1664;
4910 MY(blend) = "invmod";
4911 MY(color_min) = "0xA8FFFF";
4912 MY(color_max) = "0xA8FFFFF";
4913 MY(countabsolute) = 0.100000;
4914 MY(originjitter) = '50.0 50.0 50.0';
4915 MY(sizeincrease) = 300;
4916 MY(size_min) = 1;
4917 MY(size_max) = 28;
4918 MY(tex_min) = 24;
4919 MY(tex_max) = 32;
4920 MY(type) = "smoke";
4921}
4922
4923DEF(alien_bloodshower);
4924SUB(alien_bloodshower) {
4925 MY(alpha_min) = 156;
4926 MY(alpha_max) = 656;
4927 MY(alpha_fade) = 1664;
4928 MY(blend) = "invmod";
4929 MY(bounce) = -1;
4930 MY(color_min) = "0xC080B0";
4931 MY(color_max) = "0xC080B0";
4932 MY(count) = 125;
4933 MY(gravity) = 1;
4934 MY(liquidfriction) = 4;
4935 MY(size_min) = 8;
4936 MY(size_max) = 28;
4937 MY(staincolor_min) = "0xC080B0";
4938 MY(staincolor_max) = "0xC080B0";
4939 MY(stainsize_min) = 1;
4940 MY(stainsize_max) = 2;
4941 MY(staintex_min) = 16;
4942 MY(staintex_max) = 24;
4943 MY(stretchfactor) = 3;
4944 MY(tex_min) = 24;
4945 MY(tex_max) = 32;
4946 MY(type) = "spark";
4947 MY(velocityjitter) = '764.0 764.0 764.0';
4948}
4949// center blood
4950SUB(bloodshower) {
4951 MY(alpha_min) = 156;
4952 MY(alpha_max) = 656;
4953 MY(alpha_fade) = 1664;
4954 MY(blend) = "invmod";
4955 MY(color_min) = "0xA8FFFF";
4956 MY(color_max) = "0xA8FFFFF";
4957 MY(countabsolute) = 0.100000;
4958 MY(originjitter) = '50.0 50.0 50.0';
4959 MY(sizeincrease) = 300;
4960 MY(size_min) = 1;
4961 MY(size_max) = 28;
4962 MY(tex_min) = 24;
4963 MY(tex_max) = 32;
4964 MY(type) = "smoke";
4965}
4966
4967DEF(robot_bloodshower);
4968SUB(robot_bloodshower) {
4969 MY(alpha_min) = 156;
4970 MY(alpha_max) = 656;
4971 MY(alpha_fade) = 1664;
4972 MY(blend) = "invmod";
4973 MY(bounce) = -1;
4974 MY(color_min) = "0xC0D890";
4975 MY(color_max) = "0xC0D890";
4976 MY(count) = 100;
4977 MY(gravity) = 1;
4978 MY(liquidfriction) = 4;
4979 MY(size_min) = 8;
4980 MY(size_max) = 28;
4981 MY(staincolor_min) = "0xC0D890";
4982 MY(staincolor_max) = "0xC0D890";
4983 MY(stainsize_min) = 1;
4984 MY(stainsize_max) = 2;
4985 MY(staintex_min) = 16;
4986 MY(staintex_max) = 24;
4987 MY(stretchfactor) = 3;
4988 MY(tex_min) = 24;
4989 MY(tex_max) = 32;
4990 MY(type) = "spark";
4991 MY(velocityjitter) = '764.0 764.0 764.0';
4992}
4993// arc
4994SUB(robot_bloodshower) {
4995 MY(alpha_min) = 1128;
4996 MY(alpha_max) = 1256;
4997 MY(alpha_fade) = 4200;
4998 MY(color_min) = "0xff3000";
4999 MY(color_max) = "0xff8585";
5000 MY(count) = 2.500000;
5001 MY(originjitter) = '150.0 150.0 150.0';
5002 MY(startangle_min) = -180;
5003 MY(startangle_max) = 180;
5004 MY(spin_min) = 99;
5005 MY(spin_max) = -99;
5006 MY(size_min) = 25;
5007 MY(size_max) = 40;
5008 MY(tex_min) = 71;
5009 MY(tex_max) = 73;
5010 MY(type) = "smoke";
5011 MY(velocityjitter) = '44.0 44.0 44.0';
5012}
5013// shockwave
5014SUB(robot_bloodshower) {
5015 MY(alpha_min) = 11;
5016 MY(alpha_max) = 125;
5017 MY(alpha_fade) = 990;
5018 MY(color_min) = "0xff3000";
5019 MY(color_max) = "0xff8585";
5020 MY(count) = 2.500000;
5021 MY(sizeincrease) = 3000;
5022 MY(size_min) = 5;
5023 MY(size_max) = 50;
5024 MY(tex_min) = 74;
5025 MY(tex_max) = 74;
5026 MY(type) = "smoke";
5027}
5028
5029#define ground_quake(name, colormin, colormax) \
5030 DEF(name##_ground_quake); \
5031 SUB(name##_ground_quake) /* smoke */ { \
5032 MY(airfriction) = 3; \
5033 MY(alpha_min) = 100; \
5034 MY(alpha_max) = 126; \
5035 MY(alpha_fade) = 200; \
5036 MY(bounce) = 1.100000; \
5037 MY(color_min) = "0x111111"; \
5038 MY(color_max) = "0xbbbbbb"; \
5039 MY(count) = 90; \
5040 MY(gravity) = 0.500000; \
5041 MY(notunderwater) = true; \
5042 MY(sizeincrease) = 100; \
5043 MY(size_min) = 20; \
5044 MY(size_max) = 50; \
5045 MY(tex_max) = 8; \
5046 MY(time_min) = 5; \
5047 MY(time_max) = 10; \
5048 MY(type) = "smoke"; \
5049 MY(velocityjitter) = '190.0 190.0 50.0'; \
5050 } \
5051 SUB(name##_ground_quake) { \
5052 MY(airfriction) = 4; \
5053 MY(alpha_min) = 100; \
5054 MY(alpha_max) = 126; \
5055 MY(alpha_fade) = 200; \
5056 MY(bounce) = 1.200000; \
5057 MY(color_min) = "0x111111"; \
5058 MY(color_max) = "0x979797"; \
5059 MY(count) = 40; \
5060 MY(gravity) = 0.200000; \
5061 MY(notunderwater) = true; \
5062 MY(sizeincrease) = 60; \
5063 MY(size_min) = 10; \
5064 MY(size_max) = 30; \
5065 MY(tex_max) = 8; \
5066 MY(time_min) = 10; \
5067 MY(time_max) = 15; \
5068 MY(type) = "smoke"; \
5069 MY(velocityjitter) = '190.0 190.0 50.0'; \
5070 } \
5071 SUB(name##_ground_quake) { \
5072 MY(alpha_min) = 200; \
5073 MY(alpha_max) = 356; \
5074 MY(alpha_fade) = 512; \
5075 MY(bounce) = 6; \
5076 MY(color_min) = colormin; \
5077 MY(color_max) = colormax; \
5078 MY(count) = 16; \
5079 MY(gravity) = -0.500000; \
5080 MY(originjitter) = '33.0 33.0 33.0'; \
5081 MY(sizeincrease) = 5; \
5082 MY(size_min) = 4; \
5083 MY(size_max) = 20; \
5084 MY(tex_min) = 48; \
5085 MY(tex_max) = 55; \
5086 MY(time_min) = 15; \
5087 MY(time_max) = 25; \
5088 MY(type) = "smoke"; \
5089 MY(velocityjitter) = '22.0 22.0 50.0'; \
5090 } \
5091 SUB(name##_ground_quake) /* smoke */ { \
5092 MY(alpha_min) = 200; \
5093 MY(alpha_max) = 256; \
5094 MY(alpha_fade) = 200; \
5095 MY(bounce) = 2; \
5096 MY(color_min) = "0x000000"; \
5097 MY(color_max) = "0xffffff"; \
5098 MY(count) = 11; \
5099 MY(gravity) = -0.300000; \
5100 MY(originjitter) = '44.0 44.0 44.0'; \
5101 MY(sizeincrease) = 11; \
5102 MY(size_min) = 22; \
5103 MY(size_max) = 33; \
5104 MY(tex_max) = 8; \
5105 MY(time_min) = 25; \
5106 MY(time_max) = 35; \
5107 MY(type) = "alphastatic"; \
5108 MY(velocityjitter) = '11.0 11.0 50.0'; \
5109 } \
5110 /**/
5111
5112ground_quake(red, "0x9E6A64", "0x91302D")
5113ground_quake(blue, "0x64679E", "0x2D4C91")
5114#undef ground_quake
5115
5117
5118// Team / hit vaporizer effects
5119#define TE_TEI_G3(name, colormin1, colormax1, colormin2, colormax2) \
5120 DEF(TE_TEI_G3##name); \
5121 SUB(TE_TEI_G3##name) { \
5122 MY(alpha_min) = 128; \
5123 MY(alpha_max) = 128; \
5124 MY(alpha_fade) = 256; \
5125 MY(color_min) = colormin1; \
5126 MY(color_max) = colormax1; \
5127 MY(countabsolute) = 1; \
5128 MY(size_min) = 4; \
5129 MY(size_max) = 4; \
5130 MY(tex_min) = 200; \
5131 MY(tex_max) = 200; \
5132 MY(type) = "beam"; \
5133 } \
5134 SUB(TE_TEI_G3##name) { \
5135 MY(airfriction) = -4; \
5136 MY(alpha_min) = 256; \
5137 MY(alpha_max) = 256; \
5138 MY(alpha_fade) = 512; \
5139 MY(color_min) = colormin2; \
5140 MY(color_max) = colormax2; \
5141 MY(sizeincrease) = 3; \
5142 MY(size_min) = 0.300000; \
5143 MY(size_max) = 0.300000; \
5144 MY(tex_min) = 46; \
5145 MY(tex_max) = 46; \
5146 MY(trailspacing) = 8; \
5147 MY(type) = "smoke"; \
5148 MY(velocityjitter) = '3.0 3.0 3.0'; \
5149 } \
5150 DEF(TE_TEI_G3##name##_HIT); \
5151 SUB(TE_TEI_G3##name##_HIT) { \
5152 MY(alpha_min) = 128; \
5153 MY(alpha_max) = 128; \
5154 MY(alpha_fade) = 256; \
5155 MY(color_min) = colormin1; \
5156 MY(color_max) = colormax1; \
5157 MY(countabsolute) = 1; \
5158 MY(size_min) = 8; \
5159 MY(size_max) = 8; \
5160 MY(tex_min) = 200; \
5161 MY(tex_max) = 200; \
5162 MY(type) = "beam"; \
5163 } \
5164 SUB(TE_TEI_G3##name##_HIT) /* rings */ { \
5165 MY(airfriction) = -4; \
5166 MY(alpha_min) = 256; \
5167 MY(alpha_max) = 256; \
5168 MY(alpha_fade) = 512; \
5169 MY(color_min) = "0xFFFFFF"; \
5170 MY(color_max) = colormax1; \
5171 MY(sizeincrease) = -2; \
5172 MY(size_min) = 2; \
5173 MY(size_max) = 2; \
5174 MY(trailspacing) = 20; \
5175 MY(type) = "smoke"; \
5176 MY(velocityjitter) = '2.0 2.0 2.0'; \
5177 } \
5178 SUB(TE_TEI_G3##name##_HIT) { \
5179 MY(airfriction) = -4; \
5180 MY(alpha_min) = 256; \
5181 MY(alpha_max) = 256; \
5182 MY(alpha_fade) = 512; \
5183 MY(color_min) = colormin1; \
5184 MY(color_max) = colormax1; \
5185 MY(sizeincrease) = -6; \
5186 MY(size_min) = 10; \
5187 MY(size_max) = 10; \
5188 MY(trailspacing) = 40; \
5189 MY(type) = "smoke"; \
5190 } \
5191 /**/
5192TE_TEI_G3(RED, "0xFF0000", "0xFF0011", "0x200000", "0x400000")
5193TE_TEI_G3(BLUE, "0x0000FF", "0x1100FF", "0x000020", "0x000040")
5194TE_TEI_G3(YELLOW, "0xffff00", "0xffff11", "0x202000", "0x404000")
5195TE_TEI_G3(PINK, "0xFF00FF", "0xFF11FF", "0x200020", "0x400040")
5196#undef TE_TEI_G3
5197
5199
5200#include "effectinfo_onslaught.inc"
5201
5202DEF(firemine);
5203SUB(firemine) {
5204 MY(airfriction) = 1.200000;
5205 MY(alpha_min) = 50;
5206 MY(alpha_max) = 256;
5207 MY(alpha_fade) = 250;
5208 MY(bounce) = 1.500000;
5209 MY(color_min) = "0x8f0d00";
5210 MY(color_max) = "0xff5a00";
5211 MY(count) = 0.500000;
5212 MY(gravity) = -0.060000;
5213 MY(sizeincrease) = 5;
5214 MY(size_min) = 1;
5215 MY(size_max) = 1;
5216 MY(tex_min) = 48;
5217 MY(tex_max) = 55;
5218 MY(trailspacing) = 2;
5219 MY(type) = "smoke";
5220 MY(velocityjitter) = '10.0 10.0 2.0';
5221}
5222// slowfire
5223SUB(firemine) {
5224 MY(airfriction) = 1.200000;
5225 MY(alpha_min) = 50;
5226 MY(alpha_max) = 256;
5227 MY(alpha_fade) = 200;
5228 MY(bounce) = 1.500000;
5229 MY(color_min) = "0x8f0d00";
5230 MY(color_max) = "0xff5a00";
5231 MY(count) = 0.500000;
5232 MY(gravity) = -0.060000;
5233 MY(sizeincrease) = 5;
5234 MY(size_min) = 1;
5235 MY(size_max) = 1;
5236 MY(tex_min) = 48;
5237 MY(tex_max) = 55;
5238 MY(trailspacing) = 2;
5239 MY(type) = "smoke";
5240 MY(velocityjitter) = '10.0 10.0 10.0';
5241}
5242// very slow and small fire
5243SUB(firemine) {
5244 MY(airfriction) = 0.300000;
5245 MY(alpha_min) = 50;
5246 MY(alpha_max) = 256;
5247 MY(alpha_fade) = 200;
5248 MY(bounce) = 1.500000;
5249 MY(color_min) = "0x8f0d00";
5250 MY(color_max) = "0xff5a00";
5251 MY(count) = 0.500000;
5252 MY(gravity) = -0.060000;
5253 MY(sizeincrease) = 2;
5254 MY(size_min) = 1;
5255 MY(size_max) = 1;
5256 MY(tex_min) = 48;
5257 MY(tex_max) = 55;
5258 MY(trailspacing) = 4;
5259 MY(type) = "smoke";
5260 MY(velocityjitter) = '8.0 8.0 8.0';
5261}
5262// decreasing fire
5263SUB(firemine) {
5264 MY(airfriction) = 0.300000;
5265 MY(alpha_min) = 50;
5266 MY(alpha_max) = 256;
5267 MY(alpha_fade) = 200;
5268 MY(bounce) = 1.500000;
5269 MY(color_min) = "0x8f0d00";
5270 MY(color_max) = "0xff5a00";
5271 MY(count) = 0.500000;
5272 MY(gravity) = -0.060000;
5273 MY(sizeincrease) = -3;
5274 MY(size_min) = 5;
5275 MY(size_max) = 7;
5276 MY(tex_min) = 48;
5277 MY(tex_max) = 55;
5278 MY(trailspacing) = 4;
5279 MY(type) = "smoke";
5280 MY(velocityjitter) = '3.0 3.0 3.0';
5281}
5282// smoke
5283SUB(firemine) {
5284 MY(airfriction) = 1;
5285 MY(alpha_min) = 256;
5286 MY(alpha_max) = 256;
5287 MY(alpha_fade) = 90;
5288 MY(color_min) = "0x000000";
5289 MY(color_max) = "0x111111";
5290 MY(count) = 0.500000;
5291 MY(originjitter) = '2.0 2.0 2.0';
5292 MY(sizeincrease) = 1;
5293 MY(size_min) = 1;
5294 MY(size_max) = 4;
5295 MY(tex_max) = 8;
5296 MY(trailspacing) = 8;
5297 MY(type) = "alphastatic";
5298 MY(velocityoffset) = '0.0 0.0 3.0';
5299}
5300// fastfire
5301SUB(firemine) {
5302 MY(airfriction) = 1.200000;
5303 MY(alpha_min) = 50;
5304 MY(alpha_max) = 256;
5305 MY(alpha_fade) = 1600;
5306 MY(bounce) = 1.500000;
5307 MY(color_min) = "0x8f0d00";
5308 MY(color_max) = "0xff5a00";
5309 MY(count) = 0.500000;
5310 MY(size_min) = 12;
5311 MY(size_max) = 12;
5312 MY(tex_min) = 48;
5313 MY(tex_max) = 55;
5314 MY(trailspacing) = 1;
5315 MY(type) = "smoke";
5316}
5317// light only
5318SUB(firemine) {
5319 MY(lightcolor) = '2.7 2.7 0.6';
5320 MY(lightradiusfade) = 50000;
5321 MY(lightradius) = 50;
5322 MY(trailspacing) = 16;
5323}
5324
5325DEF(fireball);
5326SUB(fireball) {
5327 MY(airfriction) = 1.200000;
5328 MY(alpha_min) = 50;
5329 MY(alpha_max) = 256;
5330 MY(alpha_fade) = 250;
5331 MY(bounce) = 1.500000;
5332 MY(color_min) = "0x8f0d00";
5333 MY(color_max) = "0xff5a00";
5334 MY(count) = 0.500000;
5335 MY(gravity) = -0.060000;
5336 MY(sizeincrease) = 20;
5337 MY(size_min) = 5;
5338 MY(size_max) = 5;
5339 MY(tex_min) = 48;
5340 MY(tex_max) = 55;
5341 MY(trailspacing) = 2;
5342 MY(type) = "smoke";
5343 MY(velocityjitter) = '40.0 40.0 11.0';
5344}
5345// slow fire
5346SUB(fireball) {
5347 MY(airfriction) = 1.200000;
5348 MY(alpha_min) = 50;
5349 MY(alpha_max) = 256;
5350 MY(alpha_fade) = 200;
5351 MY(bounce) = 1.500000;
5352 MY(color_min) = "0x8f0d00";
5353 MY(color_max) = "0xff5a00";
5354 MY(count) = 0.500000;
5355 MY(gravity) = -0.060000;
5356 MY(sizeincrease) = 20;
5357 MY(size_min) = 5;
5358 MY(size_max) = 5;
5359 MY(tex_min) = 48;
5360 MY(tex_max) = 55;
5361 MY(trailspacing) = 2;
5362 MY(type) = "smoke";
5363 MY(velocityjitter) = '40.0 40.0 40.0';
5364}
5365// very slow and small fire
5366SUB(fireball) {
5367 MY(airfriction) = 0.300000;
5368 MY(alpha_min) = 50;
5369 MY(alpha_max) = 256;
5370 MY(alpha_fade) = 200;
5371 MY(bounce) = 1.500000;
5372 MY(color_min) = "0x8f0d00";
5373 MY(color_max) = "0xff5a00";
5374 MY(count) = 0.500000;
5375 MY(gravity) = -0.060000;
5376 MY(sizeincrease) = 10;
5377 MY(size_min) = 5;
5378 MY(size_max) = 5;
5379 MY(tex_min) = 48;
5380 MY(tex_max) = 55;
5381 MY(trailspacing) = 4;
5382 MY(type) = "smoke";
5383 MY(velocityjitter) = '30.0 30.0 30.0';
5384}
5385// decreasing fire
5386SUB(fireball) {
5387 MY(airfriction) = 0.300000;
5388 MY(alpha_min) = 50;
5389 MY(alpha_max) = 256;
5390 MY(alpha_fade) = 200;
5391 MY(bounce) = 1.500000;
5392 MY(color_min) = "0x8f0d00";
5393 MY(color_max) = "0xff5a00";
5394 MY(count) = 0.500000;
5395 MY(gravity) = -0.060000;
5396 MY(sizeincrease) = -10;
5397 MY(size_min) = 20;
5398 MY(size_max) = 30;
5399 MY(tex_min) = 48;
5400 MY(tex_max) = 55;
5401 MY(trailspacing) = 4;
5402 MY(type) = "smoke";
5403 MY(velocityjitter) = '10.0 10.0 10.0';
5404}
5405// smoke
5406SUB(fireball) {
5407 MY(airfriction) = 1;
5408 MY(alpha_min) = 256;
5409 MY(alpha_max) = 256;
5410 MY(alpha_fade) = 90;
5411 MY(color_min) = "0x000000";
5412 MY(color_max) = "0x111111";
5413 MY(count) = 0.500000;
5414 MY(originjitter) = '10.0 10.0 10.0';
5415 MY(sizeincrease) = 7;
5416 MY(size_min) = 5;
5417 MY(size_max) = 15;
5418 MY(tex_max) = 8;
5419 MY(trailspacing) = 8;
5420 MY(type) = "alphastatic";
5421 MY(velocityoffset) = '0.0 0.0 10.0';
5422}
5423// fast fire
5424SUB(fireball) {
5425 MY(airfriction) = 1.200000;
5426 MY(alpha_min) = 50;
5427 MY(alpha_max) = 256;
5428 MY(alpha_fade) = 1600;
5429 MY(bounce) = 1.500000;
5430 MY(color_min) = "0x8f0d00";
5431 MY(color_max) = "0xff5a00";
5432 MY(count) = 0.500000;
5433 MY(size_min) = 48;
5434 MY(size_max) = 48;
5435 MY(tex_min) = 48;
5436 MY(tex_max) = 55;
5437 MY(trailspacing) = 1;
5438 MY(type) = "smoke";
5439}
5440// light only
5441SUB(fireball) {
5442 MY(lightcolor) = '2.7 2.7 0.6';
5443 MY(lightradiusfade) = 3000;
5444 MY(lightradius) = 300;
5445 MY(trailspacing) = 16;
5446}
5447
5448DEF(fireball_laser);
5449SUB(fireball_laser) {
5450 MY(alpha_min) = 192;
5451 MY(alpha_max) = 256;
5452 MY(alpha_fade) = 2560;
5453 MY(color_min) = "0x800000";
5454 MY(color_max) = "0xFF8020";
5455 MY(count) = 10;
5456 MY(size_min) = 1;
5457 MY(size_max) = 1;
5458 MY(stretchfactor) = 0.700000;
5459 MY(type) = "spark";
5460 MY(velocityjitter) = '1.0 1.0 1.0';
5461 MY(velocitymultiplier) = 10;
5462}
5463
5464// rocket explosion (bigger than mortar and hagar)
5465DEF(fireball_explode);
5466// decal
5467SUB(fireball_explode) {
5468 MY(alpha_min) = 256;
5469 MY(alpha_max) = 256;
5470 MY(countabsolute) = 1;
5471 MY(lightcolor) = '4.0 2.0 0.5';
5472 MY(lightradiusfade) = 500;
5473 MY(lightradius) = 500;
5474 MY(originjitter) = '56.0 56.0 56.0';
5475 MY(size_min) = 72;
5476 MY(size_max) = 72;
5477 MY(tex_min) = 8;
5478 MY(tex_max) = 16;
5479 MY(type) = "decal";
5480}
5481// flare effect
5482SUB(fireball_explode) {
5483 MY(alpha_min) = 192;
5484 MY(alpha_max) = 192;
5485 MY(alpha_fade) = 64;
5486 MY(color_min) = "0x404040";
5487 MY(color_max) = "0x404040";
5488 MY(countabsolute) = 1;
5489 MY(size_min) = 72;
5490 MY(size_max) = 72;
5491 MY(tex_min) = 35;
5492 MY(tex_max) = 37;
5493 MY(type) = "static";
5494}
5495// fire effect
5496SUB(fireball_explode) {
5497 MY(airfriction) = 4;
5498 MY(alpha_min) = 128;
5499 MY(alpha_max) = 128;
5500 MY(alpha_fade) = 256;
5501 MY(bounce) = 1.500000;
5502 MY(color_min) = "0x902010";
5503 MY(color_max) = "0xFFD080";
5504 MY(count) = 128;
5505 MY(liquidfriction) = 4;
5506 MY(notunderwater) = true;
5507 MY(originjitter) = '8.0 8.0 8.0';
5508 MY(size_min) = 16;
5509 MY(size_max) = 16;
5510 MY(tex_min) = 48;
5511 MY(tex_max) = 55;
5512 MY(type) = "static";
5513 MY(velocityjitter) = '512.0 512.0 512.0';
5514}
5515// underwater bubbles
5516SUB(fireball_explode) {
5517 MY(alpha_min) = 128;
5518 MY(alpha_max) = 256;
5519 MY(alpha_fade) = 64;
5520 MY(bounce) = 1.500000;
5521 MY(color_min) = "0x404040";
5522 MY(color_max) = "0x808080";
5523 MY(count) = 32;
5524 MY(gravity) = -0.125000;
5525 MY(liquidfriction) = 0.250000;
5526 MY(originjitter) = '16.0 16.0 16.0';
5527 MY(size_min) = 3;
5528 MY(size_max) = 3;
5529 MY(tex_min) = 62;
5530 MY(tex_max) = 62;
5531 MY(type) = "bubble";
5532 MY(underwater) = true;
5533 MY(velocityjitter) = '144.0 144.0 144.0';
5534}
5535// bouncing sparks
5536SUB(fireball_explode) {
5537 MY(airfriction) = 0.200000;
5538 MY(alpha_min) = 256;
5539 MY(alpha_max) = 256;
5540 MY(alpha_fade) = 384;
5541 MY(bounce) = 1.500000;
5542 MY(color_min) = "0x903010";
5543 MY(color_max) = "0xFFD030";
5544 MY(count) = 64;
5545 MY(gravity) = 1;
5546 MY(liquidfriction) = 0.800000;
5547 MY(notunderwater) = true;
5548 MY(size_min) = 2;
5549 MY(size_max) = 2;
5550 MY(type) = "spark";
5551 MY(velocityjitter) = '384.0 384.0 384.0';
5552 MY(velocityoffset) = '0.0 0.0 80.0';
5553}
5554
5555DEF(fireball_muzzleflash);
5556SUB(fireball_muzzleflash) {
5557 MY(alpha_min) = 256;
5558 MY(alpha_max) = 256;
5559 MY(alpha_fade) = 512;
5560 MY(color_min) = "0x202020";
5561 MY(color_max) = "0x404040";
5562 MY(count) = 2;
5563 MY(lightcolor) = '2.0 1.5 0.2';
5564 MY(lightradiusfade) = 2000;
5565 MY(lightradius) = 200;
5566 MY(originjitter) = '1.5 1.5 1.5';
5567 MY(size_min) = 5;
5568 MY(size_max) = 5;
5569 MY(tex_max) = 8;
5570 MY(type) = "smoke";
5571 MY(velocityjitter) = '6.0 6.0 6.0';
5572 MY(velocitymultiplier) = 0.010000;
5573}
5574SUB(fireball_muzzleflash) {
5575 MY(airfriction) = 12;
5576 MY(alpha_max) = 128;
5577 MY(alpha_fade) = 1024;
5578 MY(color_min) = "0xFFFDD9";
5579 MY(color_max) = "0xFFFDD9";
5580 MY(count) = 15;
5581 MY(originjitter) = '1.0 1.0 1.0';
5582 MY(size_min) = 3;
5583 MY(size_max) = 3;
5584 MY(tex_min) = 40;
5585 MY(tex_max) = 40;
5586 MY(type) = "spark";
5587 MY(velocityjitter) = '300.0 300.0 300.0';
5588 MY(velocitymultiplier) = 0.500000;
5589}
5590
5591DEF(fireball_preattack_muzzleflash);
5592SUB(fireball_preattack_muzzleflash) {
5593 MY(alpha_min) = 256;
5594 MY(alpha_max) = 256;
5595 MY(alpha_fade) = 512;
5596 MY(color_min) = "0x202020";
5597 MY(color_max) = "0x404040";
5598 MY(count) = 2;
5599 MY(lightcolor) = '2.0 1.5 0.2';
5600 MY(lightradiusfade) = 2000;
5601 MY(lightradius) = 200;
5602 MY(originjitter) = '1.5 1.5 1.5';
5603 MY(size_min) = 5;
5604 MY(size_max) = 5;
5605 MY(tex_max) = 8;
5606 MY(type) = "smoke";
5607 MY(velocityjitter) = '6.0 6.0 6.0';
5608 MY(velocitymultiplier) = 0.010000;
5609}
5610SUB(fireball_preattack_muzzleflash) {
5611 MY(airfriction) = 12;
5612 MY(alpha_max) = 128;
5613 MY(alpha_fade) = 1024;
5614 MY(color_min) = "0xFFFDD9";
5615 MY(color_max) = "0xFFFDD9";
5616 MY(count) = 15;
5617 MY(originjitter) = '1.0 1.0 1.0';
5618 MY(size_min) = 3;
5619 MY(size_max) = 3;
5620 MY(tex_min) = 40;
5621 MY(tex_max) = 40;
5622 MY(type) = "spark";
5623 MY(velocityjitter) = '300.0 300.0 300.0';
5624 MY(velocitymultiplier) = 0.500000;
5625}
5626
5627DEF(fireball_bfgdamage);
5628SUB(fireball_bfgdamage) {
5629 MY(alpha_min) = 256;
5630 MY(alpha_max) = 256;
5631 MY(alpha_fade) = 512;
5632 MY(color_min) = "0x202020";
5633 MY(color_max) = "0x404040";
5634 MY(count) = 2;
5635 MY(lightcolor) = '2.0 1.5 0.2';
5636 MY(lightradiusfade) = 2000;
5637 MY(lightradius) = 200;
5638 MY(originjitter) = '1.5 1.5 1.5';
5639 MY(size_min) = 5;
5640 MY(size_max) = 5;
5641 MY(tex_max) = 8;
5642 MY(type) = "smoke";
5643 MY(velocityjitter) = '6.0 6.0 6.0';
5644 MY(velocitymultiplier) = 0.010000;
5645}
5646SUB(fireball_bfgdamage) {
5647 MY(airfriction) = 12;
5648 MY(alpha_max) = 128;
5649 MY(alpha_fade) = 1024;
5650 MY(color_min) = "0xFFFDD9";
5651 MY(color_max) = "0xFFFDD9";
5652 MY(count) = 15;
5653 MY(originjitter) = '1.0 1.0 1.0';
5654 MY(size_min) = 3;
5655 MY(size_max) = 3;
5656 MY(tex_min) = 40;
5657 MY(tex_max) = 40;
5658 MY(type) = "spark";
5659 MY(velocityjitter) = '300.0 300.0 300.0';
5660 MY(velocitymultiplier) = 0.500000;
5661}
5662
5664// fire
5666 MY(alpha_min) = 200;
5667 MY(alpha_max) = 356;
5668 MY(alpha_fade) = 512;
5669 MY(bounce) = 2;
5670 MY(color_min) = "0x8f0d00";
5671 MY(color_max) = "0xff5a00";
5672 MY(count) = 100;
5673 MY(gravity) = -0.500000;
5674 MY(originjitter) = '12.0 12.0 24.0';
5675 MY(originoffset) = '0.0 0.0 10.0';
5676 MY(sizeincrease) = -1;
5677 MY(size_min) = 5;
5678 MY(size_max) = 21;
5679 MY(tex_min) = 48;
5680 MY(tex_max) = 55;
5681 MY(type) = "smoke";
5682 MY(velocityjitter) = '22.0 22.0 50.0';
5683}
5684// smoke
5685SUB(EF_FLAME) {
5686 MY(alpha_min) = 100;
5687 MY(alpha_max) = 156;
5688 MY(alpha_fade) = 200;
5689 MY(bounce) = 2;
5690 MY(color_min) = "0x000000";
5691 MY(color_max) = "0x444444";
5692 MY(count) = 30;
5693 MY(gravity) = -0.500000;
5694 MY(originjitter) = '6.0 6.0 24.0';
5695 MY(originoffset) = '0.0 0.0 40.0';
5696 MY(sizeincrease) = 6;
5697 MY(size_min) = 11;
5698 MY(size_max) = 15;
5699 MY(tex_max) = 8;
5700 MY(type) = "alphastatic";
5701 MY(velocityjitter) = '11.0 11.0 50.0';
5702}
5703
5704// rifle bullet trail (somewhat like a tracer)
5705DEF(tr_rifle);
5706SUB(tr_rifle) {
5707 MY(alpha_min) = 256;
5708 MY(alpha_max) = 256;
5709 MY(alpha_fade) = 2560;
5710 MY(color_min) = "0x800000";
5711 MY(color_max) = "0xFF8020";
5712 MY(size_min) = 1.500000;
5713 MY(size_max) = 1.500000;
5714 MY(stretchfactor) = 1;
5715 MY(trailspacing) = 128;
5716 MY(type) = "spark";
5717 MY(velocitymultiplier) = 0.700000;
5718}
5719SUB(tr_rifle) {
5720 MY(airfriction) = -4;
5721 MY(alpha_min) = 256;
5722 MY(alpha_max) = 256;
5723 MY(alpha_fade) = 256;
5724 MY(color_min) = "0x202020";
5725 MY(color_max) = "0x404040";
5726 MY(notunderwater) = true;
5727 MY(sizeincrease) = 0.400000;
5728 MY(size_min) = 4;
5729 MY(size_max) = 4;
5730 MY(tex_max) = 8;
5731 MY(trailspacing) = 8;
5732 MY(type) = "smoke";
5733 MY(velocityjitter) = '4.0 4.0 4.0';
5734}
5735SUB(tr_rifle) {
5736 MY(alpha_min) = 256;
5737 MY(alpha_max) = 256;
5738 MY(alpha_fade) = 128;
5739 MY(bounce) = 1.500000;
5740 MY(color_min) = "0x404040";
5741 MY(color_max) = "0x808080";
5742 MY(gravity) = -0.125000;
5743 MY(liquidfriction) = 4;
5744 MY(size_min) = 2;
5745 MY(size_max) = 2;
5746 MY(tex_min) = 62;
5747 MY(tex_max) = 62;
5748 MY(trailspacing) = 32;
5749 MY(type) = "bubble";
5750 MY(underwater) = true;
5751 MY(velocityjitter) = '16.0 16.0 16.0';
5752}
5753
5754// rocket guiding start
5755DEF(rocket_guide);
5756// underwater bubbles
5757SUB(rocket_guide) {
5758 MY(alpha_min) = 128;
5759 MY(alpha_max) = 256;
5760 MY(alpha_fade) = 64;
5761 MY(bounce) = 1.500000;
5762 MY(color_min) = "0x404040";
5763 MY(color_max) = "0x808080";
5764 MY(count) = 2;
5765 MY(gravity) = -0.125000;
5766 MY(liquidfriction) = 0.250000;
5767 MY(originjitter) = '8.0 8.0 8.0';
5768 MY(size_min) = 1.500000;
5769 MY(size_max) = 1.500000;
5770 MY(tex_min) = 62;
5771 MY(tex_max) = 62;
5772 MY(type) = "bubble";
5773 MY(underwater) = true;
5774 MY(velocityjitter) = '48.0 48.0 48.0';
5775 MY(velocitymultiplier) = -0.100000;
5776}
5777// bouncing sparks
5778SUB(rocket_guide) {
5779 MY(airfriction) = 0.200000;
5780 MY(alpha_min) = 256;
5781 MY(alpha_max) = 256;
5782 MY(alpha_fade) = 984;
5783 MY(bounce) = 1.500000;
5784 MY(color_min) = "0x903010";
5785 MY(color_max) = "0xFFD030";
5786 MY(count) = 8;
5787 MY(gravity) = 1;
5788 MY(liquidfriction) = 0.800000;
5789 MY(notunderwater) = true;
5790 MY(size_min) = 0.300000;
5791 MY(size_max) = 0.700000;
5792 MY(stretchfactor) = 0.400000;
5793 MY(tex_min) = 40;
5794 MY(tex_max) = 40;
5795 MY(type) = "spark";
5796 MY(velocityjitter) = '156.0 156.0 156.0';
5797 MY(velocitymultiplier) = -0.300000;
5798 MY(velocityoffset) = '0.0 0.0 80.0';
5799}
5800SUB(rocket_guide) {
5801 MY(alpha_min) = 100;
5802 MY(alpha_max) = 100;
5803 MY(alpha_fade) = 500;
5804 MY(color_min) = "0x903010";
5805 MY(color_max) = "0xFFD030";
5806 MY(countabsolute) = 1;
5807 MY(sizeincrease) = 300;
5808 MY(size_min) = 10;
5809 MY(size_max) = 10;
5810 MY(tex_min) = 65;
5811 MY(tex_max) = 65;
5812 MY(type) = "smoke";
5813}
5814
5815// gauntlet laser
5816DEF(laser_gauntlet);
5817SUB(laser_gauntlet) {
5818 MY(airfriction) = 10;
5819 MY(alpha_min) = 128;
5820 MY(alpha_max) = 512;
5821 MY(alpha_fade) = 6280;
5822 MY(color_min) = "0xb44215";
5823 MY(color_max) = "0x880000";
5824 MY(count) = 3;
5825 MY(originjitter) = '2.0 2.0 2.0';
5826 MY(startangle_min) = -180;
5827 MY(startangle_max) = 180;
5828 MY(spin_min) = 4000;
5829 MY(spin_max) = -4000;
5830 MY(sizeincrease) = -100;
5831 MY(size_min) = 7;
5832 MY(size_max) = 10;
5833 MY(stretchfactor) = 2.300000;
5834 MY(tex_min) = 43;
5835 MY(tex_max) = 43;
5836 MY(type) = "spark";
5837 MY(velocityjitter) = '150.0 150.0 150.0';
5838 MY(velocitymultiplier) = 0.200000;
5839}
5840SUB(laser_gauntlet) {
5841 MY(airfriction) = 12;
5842 MY(alpha_min) = 256;
5843 MY(alpha_max) = 512;
5844 MY(alpha_fade) = 6280;
5845 MY(color_min) = "0xff4200";
5846 MY(color_max) = "0xff0000";
5847 MY(count) = 6;
5848 MY(originjitter) = '2.0 2.0 2.0';
5849 MY(sizeincrease) = -100;
5850 MY(size_min) = 7;
5851 MY(size_max) = 9;
5852 MY(stretchfactor) = 2;
5853 MY(tex_min) = 8;
5854 MY(tex_max) = 15;
5855 MY(type) = "spark";
5856 MY(velocityjitter) = '100.0 100.0 100.0';
5857 MY(velocitymultiplier) = 0.200000;
5858}
5859
5860DEF(laser_gauntletmuzzleflash);
5861// glow and light
5862SUB(laser_gauntletmuzzleflash) {
5863 MY(airfriction) = 10;
5864 MY(alpha_min) = 256;
5865 MY(alpha_max) = 512;
5866 MY(alpha_fade) = 6280;
5867 MY(color_min) = "0x220000";
5868 MY(color_max) = "0x880000";
5869 MY(countabsolute) = 1;
5870 MY(lightcolor) = '3.0 0.1 0.1';
5871 MY(lightradiusfade) = 500;
5872 MY(lightradius) = 150;
5873 MY(sizeincrease) = -100;
5874 MY(size_min) = 10;
5875 MY(size_max) = 15;
5876 MY(stretchfactor) = 2;
5877 MY(tex_min) = 65;
5878 MY(tex_max) = 65;
5879 MY(type) = "smoke";
5880}
5881// electricity
5882SUB(laser_gauntletmuzzleflash) {
5883 MY(airfriction) = 10;
5884 MY(alpha_min) = 128;
5885 MY(alpha_max) = 512;
5886 MY(alpha_fade) = 6280;
5887 MY(color_min) = "0xb44215";
5888 MY(color_max) = "0x880000";
5889 MY(count) = 3;
5890 MY(originjitter) = '2.0 2.0 2.0';
5891 MY(startangle_min) = -180;
5892 MY(startangle_max) = 180;
5893 MY(spin_min) = 4000;
5894 MY(spin_max) = -4000;
5895 MY(sizeincrease) = -100;
5896 MY(size_min) = 7;
5897 MY(size_max) = 10;
5898 MY(stretchfactor) = 2.300000;
5899 MY(tex_min) = 43;
5900 MY(tex_max) = 43;
5901 MY(type) = "spark";
5902 MY(velocityjitter) = '150.0 150.0 150.0';
5903 MY(velocitymultiplier) = 0.200000;
5904}
5905// fire
5906SUB(laser_gauntletmuzzleflash) {
5907 MY(airfriction) = 12;
5908 MY(alpha_min) = 256;
5909 MY(alpha_max) = 512;
5910 MY(alpha_fade) = 6280;
5911 MY(color_min) = "0xff4200";
5912 MY(color_max) = "0xff0000";
5913 MY(count) = 6;
5914 MY(originjitter) = '2.0 2.0 2.0';
5915 MY(sizeincrease) = -100;
5916 MY(size_min) = 7;
5917 MY(size_max) = 9;
5918 MY(stretchfactor) = 2;
5919 MY(tex_min) = 8;
5920 MY(tex_max) = 15;
5921 MY(type) = "spark";
5922 MY(velocityjitter) = '100.0 100.0 100.0';
5923 MY(velocitymultiplier) = 0.200000;
5924}
5925
5926// torch flame, spawn it as fast as you can 20 times per second or more, supports direction but not required
5927DEF(torchflame);
5928// fast fire
5929SUB(torchflame) {
5930 MY(airfriction) = 1.200000;
5931 MY(alpha_min) = 50;
5932 MY(alpha_max) = 256;
5933 MY(alpha_fade) = 250;
5934 MY(color_min) = "0x8f0d00";
5935 MY(color_max) = "0xff5a00";
5936 MY(count) = 3;
5937 MY(gravity) = -0.060000;
5938 MY(sizeincrease) = 20;
5939 MY(size_min) = 5;
5940 MY(size_max) = 5;
5941 MY(tex_min) = 48;
5942 MY(tex_max) = 55;
5943 MY(type) = "smoke";
5944 MY(velocityjitter) = '40.0 40.0 11.0';
5945 MY(velocitymultiplier) = 30;
5946}
5947// slow fire
5948SUB(torchflame) {
5949 MY(airfriction) = 1.200000;
5950 MY(alpha_min) = 50;
5951 MY(alpha_max) = 256;
5952 MY(alpha_fade) = 200;
5953 MY(color_min) = "0x8f0d00";
5954 MY(color_max) = "0xff5a00";
5955 MY(count) = 2.500000;
5956 MY(gravity) = -0.060000;
5957 MY(sizeincrease) = 20;
5958 MY(size_min) = 5;
5959 MY(size_max) = 5;
5960 MY(tex_min) = 48;
5961 MY(tex_max) = 55;
5962 MY(type) = "smoke";
5963 MY(velocityjitter) = '40.0 40.0 40.0';
5964 MY(velocitymultiplier) = 20;
5965}
5966// very slow and small fire
5967SUB(torchflame) {
5968 MY(airfriction) = 0.300000;
5969 MY(alpha_min) = 50;
5970 MY(alpha_max) = 256;
5971 MY(alpha_fade) = 200;
5972 MY(color_min) = "0x8f0d00";
5973 MY(color_max) = "0xff5a00";
5974 MY(count) = 1.500000;
5975 MY(gravity) = -0.060000;
5976 MY(sizeincrease) = 10;
5977 MY(size_min) = 5;
5978 MY(size_max) = 5;
5979 MY(tex_min) = 48;
5980 MY(tex_max) = 55;
5981 MY(type) = "smoke";
5982 MY(velocityjitter) = '30.0 30.0 30.0';
5983 MY(velocitymultiplier) = 10;
5984}
5985// decreasing fire
5986SUB(torchflame) {
5987 MY(airfriction) = 0.300000;
5988 MY(alpha_min) = 50;
5989 MY(alpha_max) = 256;
5990 MY(alpha_fade) = 200;
5991 MY(color_min) = "0x8f0d00";
5992 MY(color_max) = "0xff5a00";
5993 MY(count) = 2;
5994 MY(gravity) = -0.060000;
5995 MY(sizeincrease) = -10;
5996 MY(size_min) = 20;
5997 MY(size_max) = 30;
5998 MY(tex_min) = 48;
5999 MY(tex_max) = 55;
6000 MY(type) = "smoke";
6001 MY(velocityjitter) = '10.0 10.0 10.0';
6002 MY(velocitymultiplier) = 15;
6003}
6004// smoke
6005SUB(torchflame) {
6006 MY(airfriction) = 1;
6007 MY(alpha_min) = 256;
6008 MY(alpha_max) = 256;
6009 MY(alpha_fade) = 90;
6010 MY(color_min) = "0x000000";
6011 MY(color_max) = "0x111111";
6012 MY(count) = 0.500000;
6013 MY(originjitter) = '10.0 10.0 10.0';
6014 MY(sizeincrease) = 7;
6015 MY(size_min) = 5;
6016 MY(size_max) = 15;
6017 MY(tex_max) = 8;
6018 MY(type) = "alphastatic";
6019 MY(velocitymultiplier) = 20;
6020 MY(velocityoffset) = '0.0 0.0 10.0';
6021}
6022
6024
6025DEF(electro_lightning);
6026SUB(electro_lightning) {
6027 MY(alpha_min) = 256;
6028 MY(alpha_max) = 256;
6029 MY(countabsolute) = 1;
6030 MY(lightcolor) = '3.1 4.4 10.0';
6031 MY(lightradiusfade) = 500;
6032 MY(lightradius) = 50;
6033 MY(originjitter) = '2.0 2.0 2.0';
6034 MY(size_min) = 16;
6035 MY(size_max) = 16;
6036 MY(tex_min) = 59;
6037 MY(tex_max) = 59;
6038 MY(type) = "decal";
6039}
6040SUB(electro_lightning) {
6041 MY(alpha_min) = 100;
6042 MY(alpha_max) = 206;
6043 MY(alpha_fade) = 1724;
6044 MY(color_min) = "0x2030FF";
6045 MY(color_max) = "0x80C0FF";
6046 MY(count) = 300;
6047 MY(originjitter) = '1.5 1.5 1.5';
6048 MY(sizeincrease) = 10;
6049 MY(size_min) = 6;
6050 MY(size_max) = 6;
6051 MY(tex_min) = 65;
6052 MY(tex_max) = 65;
6053 MY(type) = "spark";
6054 MY(velocityjitter) = '6.0 6.0 6.0';
6055 MY(velocitymultiplier) = 2000;
6056}
6057SUB(electro_lightning) {
6058 MY(airfriction) = 2;
6059 MY(alpha_min) = 110;
6060 MY(alpha_max) = 170;
6061 MY(alpha_fade) = 1500;
6062 MY(color_min) = "0xDDFDFF";
6063 MY(color_max) = "0xFDFDFF";
6064 MY(count) = 30;
6065 MY(originjitter) = '1.0 1.0 1.0';
6066 MY(size_min) = 2;
6067 MY(size_max) = 5;
6068 MY(stretchfactor) = 1.500000;
6069 MY(tex_min) = 8;
6070 MY(tex_max) = 15;
6071 MY(type) = "spark";
6072 MY(velocityjitter) = '150.0 150.0 150.0';
6073 MY(velocitymultiplier) = 0.500000;
6074}
6075SUB(electro_lightning) {
6076 MY(airfriction) = 8;
6077 MY(alpha_min) = 110;
6078 MY(alpha_max) = 170;
6079 MY(alpha_fade) = 1500;
6080 MY(color_min) = "0xFDFDFF";
6081 MY(color_max) = "0xF9FDFF";
6082 MY(count) = 50;
6083 MY(gravity) = 1.300000;
6084 MY(originjitter) = '1.0 1.0 1.0';
6085 MY(size_min) = 2;
6086 MY(size_max) = 3;
6087 MY(stretchfactor) = 0.100000;
6088 MY(tex_min) = 41;
6089 MY(tex_max) = 41;
6090 MY(type) = "spark";
6091 MY(velocityjitter) = '350.0 350.0 350.0';
6092 MY(velocitymultiplier) = 2.500000;
6093}
6094
6095DEF(gauntlet_lightning);
6096SUB(gauntlet_lightning) {
6097 MY(alpha_min) = 256;
6098 MY(alpha_max) = 256;
6099 MY(alpha_fade) = 1024;
6100 MY(color_min) = "0x280000";
6101 MY(color_max) = "0x280000";
6102 MY(count) = 300;
6103 MY(originjitter) = '1.5 1.5 1.5';
6104 MY(sizeincrease) = 15;
6105 MY(size_min) = 3;
6106 MY(size_max) = 3;
6107 MY(tex_min) = 65;
6108 MY(tex_max) = 65;
6109 MY(type) = "spark";
6110 MY(velocityjitter) = '6.0 6.0 6.0';
6111 MY(velocitymultiplier) = 2000;
6112}
6113SUB(gauntlet_lightning) {
6114 MY(airfriction) = 2;
6115 MY(alpha_min) = 110;
6116 MY(alpha_max) = 228;
6117 MY(alpha_fade) = 1024;
6118 MY(color_min) = "0xDD0000";
6119 MY(color_max) = "0xFD0000";
6120 MY(count) = 30;
6121 MY(originjitter) = '1.0 1.0 1.0';
6122 MY(size_min) = 2;
6123 MY(size_max) = 5;
6124 MY(stretchfactor) = 1.500000;
6125 MY(tex_min) = 8;
6126 MY(tex_max) = 15;
6127 MY(type) = "spark";
6128 MY(velocityjitter) = '150.0 150.0 150.0';
6129 MY(velocitymultiplier) = 0.500000;
6130}
6131SUB(gauntlet_lightning) {
6132 MY(airfriction) = 8;
6133 MY(alpha_min) = 110;
6134 MY(alpha_max) = 228;
6135 MY(alpha_fade) = 600;
6136 MY(color_min) = "0xFD0000";
6137 MY(color_max) = "0xF90000";
6138 MY(count) = 50;
6139 MY(gravity) = 1.300000;
6140 MY(originjitter) = '1.0 1.0 1.0';
6141 MY(size_min) = 2;
6142 MY(size_max) = 3;
6143 MY(stretchfactor) = 0.100000;
6144 MY(tex_min) = 41;
6145 MY(tex_max) = 41;
6146 MY(type) = "spark";
6147 MY(velocityjitter) = '350.0 350.0 350.0';
6148 MY(velocitymultiplier) = 2.500000;
6149}
6150
6151DEF(crylink_joinexplode);
6152// decal
6153SUB(crylink_joinexplode) {
6154 MY(alpha_min) = 256;
6155 MY(alpha_max) = 256;
6156 MY(countabsolute) = 1;
6157 MY(originjitter) = '12.0 12.0 12.0';
6158 MY(size_min) = 24;
6159 MY(size_max) = 24;
6160 MY(tex_min) = 47;
6161 MY(tex_max) = 47;
6162 MY(type) = "decal";
6163}
6164// purple flare effect
6165SUB(crylink_joinexplode) {
6166 MY(alpha_min) = 256;
6167 MY(alpha_max) = 256;
6168 MY(alpha_fade) = 512;
6169 MY(color_min) = "0x504060";
6170 MY(color_max) = "0x504060";
6171 MY(countabsolute) = 1;
6172 MY(size_min) = 24;
6173 MY(size_max) = 24;
6174 MY(tex_min) = 39;
6175 MY(tex_max) = 39;
6176 MY(type) = "static";
6177}
6178// purple sparks
6179SUB(crylink_joinexplode) {
6180 MY(alpha_min) = 256;
6181 MY(alpha_max) = 256;
6182 MY(alpha_fade) = 1024;
6183 MY(bounce) = 2;
6184 MY(color_min) = "0xA040C0";
6185 MY(color_max) = "0xA040C0";
6186 MY(count) = 40;
6187 MY(size_min) = 6;
6188 MY(size_max) = 6;
6189 MY(tex_min) = 41;
6190 MY(tex_max) = 41;
6191 MY(type) = "spark";
6192 MY(velocityjitter) = '512.0 512.0 512.0';
6193}
6194// purple splash
6195SUB(crylink_joinexplode) {
6196 MY(alpha_min) = 256;
6197 MY(alpha_max) = 256;
6198 MY(alpha_fade) = 512;
6199 MY(color_min) = "0xE070FF";
6200 MY(color_max) = "0xE070FF";
6201 MY(count) = 1.500000;
6202 MY(size_min) = 16;
6203 MY(size_max) = 16;
6204 MY(type) = "static";
6205 MY(velocityjitter) = '32.0 32.0 32.0';
6206}
6207// purple splash
6208SUB(crylink_joinexplode) {
6209 MY(alpha_min) = 256;
6210 MY(alpha_max) = 256;
6211 MY(alpha_fade) = 1024;
6212 MY(color_min) = "0xE070FF";
6213 MY(color_max) = "0xE070FF";
6214 MY(count) = 3;
6215 MY(size_min) = 16;
6216 MY(size_max) = 16;
6217 MY(type) = "static";
6218 MY(velocityjitter) = '256.0 256.0 256.0';
6219}
6220
6221// sparks for keepaway ball touch
6222DEF(kaball_sparks);
6223SUB(kaball_sparks) {
6224 MY(airfriction) = 3;
6225 MY(alpha_max) = 256;
6226 MY(alpha_fade) = 556;
6227 MY(bounce) = 1.500000;
6228 MY(color_min) = "0xa9cacf";
6229 MY(color_max) = "0x0054ff";
6230 MY(count) = 35;
6231 MY(gravity) = 1;
6232 MY(originjitter) = '1.0 1.0 1.0';
6233 MY(size_min) = 1;
6234 MY(size_max) = 3;
6235 MY(tex_min) = 40;
6236 MY(tex_max) = 40;
6237 MY(type) = "spark";
6238 MY(velocityjitter) = '300.0 300.0 300.0';
6239 MY(velocitymultiplier) = 0.500000;
6240}
6241
6242// weak rifle bullet trail (somewhat like a tracer)
6243DEF(tr_rifle_weak);
6244SUB(tr_rifle_weak) {
6245 MY(alpha_min) = 256;
6246 MY(alpha_max) = 256;
6247 MY(alpha_fade) = 2560;
6248 MY(color_min) = "0x800000";
6249 MY(color_max) = "0xFF8020";
6250 MY(size_min) = 1.500000;
6251 MY(size_max) = 1.500000;
6252 MY(stretchfactor) = 1;
6253 MY(trailspacing) = 128;
6254 MY(type) = "spark";
6255 MY(velocitymultiplier) = 0.700000;
6256}
6257SUB(tr_rifle_weak) {
6258 MY(airfriction) = -4;
6259 MY(alpha_min) = 256;
6260 MY(alpha_max) = 256;
6261 MY(alpha_fade) = 256;
6262 MY(color_min) = "0x202020";
6263 MY(color_max) = "0x404040";
6264 MY(notunderwater) = true;
6265 MY(sizeincrease) = 0.400000;
6266 MY(size_min) = 4;
6267 MY(size_max) = 4;
6268 MY(tex_max) = 8;
6269 MY(trailspacing) = 48;
6270 MY(type) = "smoke";
6271 MY(velocityjitter) = '4.0 4.0 4.0';
6272}
6273SUB(tr_rifle_weak) {
6274 MY(alpha_min) = 256;
6275 MY(alpha_max) = 256;
6276 MY(alpha_fade) = 128;
6277 MY(bounce) = 1.500000;
6278 MY(color_min) = "0x404040";
6279 MY(color_max) = "0x808080";
6280 MY(gravity) = -0.125000;
6281 MY(liquidfriction) = 4;
6282 MY(size_min) = 2;
6283 MY(size_max) = 2;
6284 MY(tex_min) = 62;
6285 MY(tex_max) = 62;
6286 MY(trailspacing) = 192;
6287 MY(type) = "bubble";
6288 MY(underwater) = true;
6289 MY(velocityjitter) = '16.0 16.0 16.0';
6290}
6291
6292// red smoke emiter
6293DEF(red_smoke);
6294SUB(red_smoke) {
6295 MY(airfriction) = -1;
6296 MY(alpha_min) = 32;
6297 MY(alpha_max) = 64;
6298 MY(alpha_fade) = 32;
6299 MY(color_min) = "0xff8866";
6300 MY(color_max) = "0x331100";
6301 MY(count) = 2;
6302 MY(gravity) = -0.007000;
6303 MY(startangle_max) = 360;
6304 MY(spin_min) = -30;
6305 MY(spin_max) = 30;
6306 MY(size_min) = 60;
6307 MY(size_max) = 120;
6308 MY(tex_max) = 8;
6309 MY(type) = "smoke";
6310 MY(velocitymultiplier) = 5;
6311}
6312
6313// pipe smoke emiter
6314DEF(pipe_smoke);
6315SUB(pipe_smoke) {
6316 MY(airfriction) = -1;
6317 MY(alpha_min) = 32;
6318 MY(alpha_max) = 64;
6319 MY(alpha_fade) = 48;
6320 MY(color_min) = "0x999999";
6321 MY(color_max) = "0x555555";
6322 MY(count) = 2;
6323 MY(gravity) = -0.015000;
6324 MY(startangle_max) = 360;
6325 MY(spin_min) = -180;
6326 MY(spin_max) = 180;
6327 MY(sizeincrease) = 35;
6328 MY(size_min) = 5;
6329 MY(size_max) = 10;
6330 MY(tex_max) = 8;
6331 MY(type) = "smoke";
6332 MY(velocityjitter) = '0.0 0.0 5.0';
6333 MY(velocitymultiplier) = 15;
6334}
6335
6336// seeker missile and flac trail
6337DEF(TR_SEEKER);
6338SUB(TR_SEEKER) {
6339 MY(alpha_min) = 200;
6340 MY(alpha_max) = 300;
6341 MY(alpha_fade) = 200;
6342 MY(bounce) = 1;
6343 MY(color_min) = "0x000000";
6344 MY(color_max) = "0x666666";
6345 MY(lightcolor) = '6.0 2.0 1.0';
6346 MY(lightradius) = 100;
6347 MY(notunderwater) = true;
6348 MY(originjitter) = '2.0 2.0 2.0';
6349 MY(startangle_min) = -180;
6350 MY(startangle_max) = 180;
6351 MY(spin_min) = -30;
6352 MY(spin_max) = 30;
6353 MY(sizeincrease) = 11;
6354 MY(size_min) = 2;
6355 MY(size_max) = 2;
6356 MY(tex_max) = 8;
6357 MY(trailspacing) = 10;
6358 MY(type) = "smoke";
6359 MY(velocityjitter) = '3.0 3.0 3.0';
6360 MY(velocitymultiplier) = -0.020000;
6361}
6362// fire
6363SUB(TR_SEEKER) {
6364 MY(airfriction) = 8;
6365 MY(alpha_min) = 100;
6366 MY(alpha_max) = 144;
6367 MY(alpha_fade) = 588;
6368 MY(color_min) = "0xff9172";
6369 MY(color_max) = "0x810013";
6370 MY(sizeincrease) = -30;
6371 MY(size_min) = 5;
6372 MY(size_max) = 5;
6373 MY(tex_min) = 48;
6374 MY(tex_max) = 55;
6375 MY(trailspacing) = 4;
6376 MY(type) = "static";
6377 MY(velocityjitter) = '32.0 32.0 32.0';
6378 MY(velocitymultiplier) = -1.500000;
6379}
6380// bubbles
6381SUB(TR_SEEKER) {
6382 MY(alpha_min) = 256;
6383 MY(alpha_max) = 256;
6384 MY(alpha_fade) = 256;
6385 MY(bounce) = 1.500000;
6386 MY(gravity) = -0.125000;
6387 MY(liquidfriction) = 4;
6388 MY(size_min) = 1;
6389 MY(size_max) = 2;
6390 MY(tex_min) = 62;
6391 MY(tex_max) = 62;
6392 MY(trailspacing) = 16;
6393 MY(type) = "bubble";
6394 MY(underwater) = true;
6395 MY(velocityjitter) = '16.0 16.0 16.0';
6396 MY(velocitymultiplier) = -0.310000;
6397}
6398// sparks
6399SUB(TR_SEEKER) {
6400 MY(airfriction) = 5;
6401 MY(alpha_min) = 444;
6402 MY(alpha_max) = 512;
6403 MY(alpha_fade) = 1866;
6404 MY(bounce) = 1;
6405 MY(color_min) = "0xFFD9E9";
6406 MY(color_max) = "0xFFD9E9";
6407 MY(notunderwater) = true;
6408 MY(originjitter) = '1.0 1.0 1.0';
6409 MY(size_min) = 0.500000;
6410 MY(size_max) = 0.500000;
6411 MY(stretchfactor) = 0.200000;
6412 MY(tex_min) = 40;
6413 MY(tex_max) = 40;
6414 MY(trailspacing) = 20;
6415 MY(type) = "spark";
6416 MY(velocityjitter) = '100.0 100.0 100.0';
6417 MY(velocitymultiplier) = -0.250000;
6418}
6419
6420#include "effectinfo_vehicles.inc"
6421
6422// generic explosion size:big (biggest explosion ever)
6423DEF(explosion_big);
6424// decal
6425SUB(explosion_big) {
6426 MY(alpha_min) = 256;
6427 MY(alpha_max) = 256;
6428 MY(countabsolute) = 1;
6429 MY(lightcolor) = '8.0 4.0 0.0';
6430 MY(lightradiusfade) = 1750;
6431 MY(lightradius) = 600;
6432 MY(originjitter) = '23.0 23.0 23.0';
6433 MY(size_min) = 172;
6434 MY(size_max) = 172;
6435 MY(tex_min) = 8;
6436 MY(tex_max) = 16;
6437 MY(type) = "decal";
6438}
6439// shockwave
6440SUB(explosion_big) {
6441 MY(alpha_min) = 56;
6442 MY(alpha_max) = 56;
6443 MY(alpha_fade) = 330;
6444 MY(color_min) = "0x8f0d00";
6445 MY(color_max) = "0xff5a00";
6446 MY(countabsolute) = 1;
6447 MY(sizeincrease) = 4400;
6448 MY(size_min) = 72;
6449 MY(size_max) = 72;
6450 MY(tex_min) = 33;
6451 MY(tex_max) = 33;
6452 MY(type) = "static";
6453}
6454// fire effect
6455SUB(explosion_big) {
6456 MY(airfriction) = 8;
6457 MY(alpha_min) = 200;
6458 MY(alpha_max) = 256;
6459 MY(alpha_fade) = 712;
6460 MY(color_min) = "0x8f0d00";
6461 MY(color_max) = "0xff5a00";
6462 MY(count) = 64;
6463 MY(liquidfriction) = 8;
6464 MY(notunderwater) = true;
6465 MY(originjitter) = '80.0 80.0 80.0';
6466 MY(sizeincrease) = 45;
6467 MY(size_min) = 133;
6468 MY(size_max) = 144;
6469 MY(tex_min) = 48;
6470 MY(tex_max) = 55;
6471 MY(type) = "static";
6472 MY(velocityjitter) = '2512.0 2512.0 2512.0';
6473}
6474// fire rays
6475SUB(explosion_big) {
6476 MY(airfriction) = -5;
6477 MY(alpha_min) = 200;
6478 MY(alpha_max) = 256;
6479 MY(alpha_fade) = 800;
6480 MY(color_min) = "0x8f0d00";
6481 MY(color_max) = "0xff5a00";
6482 MY(count) = 64;
6483 MY(liquidfriction) = 8;
6484 MY(notunderwater) = true;
6485 MY(originjitter) = '40.0 40.0 40.0';
6486 MY(sizeincrease) = 45;
6487 MY(size_min) = 133;
6488 MY(size_max) = 144;
6489 MY(stretchfactor) = 10;
6490 MY(tex_min) = 48;
6491 MY(tex_max) = 55;
6492 MY(type) = "spark";
6493 MY(velocityjitter) = '512.0 512.0 512.0';
6494}
6495// smoke
6496SUB(explosion_big) {
6497 MY(airfriction) = 8;
6498 MY(alpha_min) = 300;
6499 MY(alpha_max) = 650;
6500 MY(alpha_fade) = 456;
6501 MY(color_min) = "0x4F4B46";
6502 MY(color_max) = "0x000000";
6503 MY(count) = 32;
6504 MY(notunderwater) = true;
6505 MY(sizeincrease) = 244;
6506 MY(size_min) = 50;
6507 MY(size_max) = 100;
6508 MY(tex_max) = 8;
6509 MY(type) = "alphastatic";
6510 MY(velocityjitter) = '3444.0 3444.0 3444.0';
6511}
6512// bouncing sparks
6513SUB(explosion_big) {
6514 MY(airfriction) = 1;
6515 MY(alpha_min) = 644;
6516 MY(alpha_max) = 956;
6517 MY(alpha_fade) = 1284;
6518 MY(color_min) = "0xffa35b";
6519 MY(color_max) = "0xfff2be";
6520 MY(count) = 34;
6521 MY(gravity) = 1;
6522 MY(liquidfriction) = 0.800000;
6523 MY(notunderwater) = true;
6524 MY(originjitter) = '160.0 160.0 160.0';
6525 MY(size_min) = 3;
6526 MY(size_max) = 4;
6527 MY(stretchfactor) = 0.700000;
6528 MY(tex_min) = 40;
6529 MY(tex_max) = 40;
6530 MY(type) = "spark";
6531 MY(velocityjitter) = '924.0 924.0 924.0';
6532 MY(velocityoffset) = '0.0 0.0 370.0';
6533}
6534// debris
6535SUB(explosion_big) {
6536 MY(airfriction) = 0.500000;
6537 MY(alpha_min) = 444;
6538 MY(alpha_max) = 1356;
6539 MY(alpha_fade) = 1184;
6540 MY(color_min) = "0xFFFFFF";
6541 MY(color_max) = "0xcac5b4";
6542 MY(count) = 16;
6543 MY(gravity) = 2.300000;
6544 MY(notunderwater) = true;
6545 MY(startangle_min) = -180;
6546 MY(startangle_max) = 180;
6547 MY(spin_min) = -1000;
6548 MY(spin_max) = 1000;
6549 MY(sizeincrease) = -5;
6550 MY(size_min) = 10;
6551 MY(size_max) = 16;
6552 MY(tex_min) = 66;
6553 MY(tex_max) = 68;
6554 MY(type) = "alphastatic";
6555 MY(velocityjitter) = '1800.0 1800.0 1800.0';
6556 MY(velocityoffset) = '0.0 0.0 970.0';
6557}
6558// underwater bubbles
6559SUB(explosion_big) {
6560 MY(alpha_min) = 128;
6561 MY(alpha_max) = 256;
6562 MY(alpha_fade) = 64;
6563 MY(bounce) = 1.500000;
6564 MY(color_min) = "0x404040";
6565 MY(color_max) = "0x808080";
6566 MY(count) = 32;
6567 MY(gravity) = -0.125000;
6568 MY(liquidfriction) = 0.250000;
6569 MY(originjitter) = '160.0 160.0 160.0';
6570 MY(size_min) = 3;
6571 MY(size_max) = 3;
6572 MY(tex_min) = 62;
6573 MY(tex_max) = 62;
6574 MY(type) = "bubble";
6575 MY(underwater) = true;
6576 MY(velocityjitter) = '444.0 444.0 444.0';
6577}
6578// underwatershockwave
6579SUB(explosion_big) {
6580 MY(alpha_min) = 40;
6581 MY(alpha_max) = 40;
6582 MY(alpha_fade) = 300;
6583 MY(countabsolute) = 1;
6584 MY(sizeincrease) = 2900;
6585 MY(size_min) = 30;
6586 MY(size_max) = 30;
6587 MY(tex_min) = 33;
6588 MY(tex_max) = 33;
6589 MY(type) = "smoke";
6590 MY(underwater) = true;
6591 MY(velocitymultiplier) = 0.300000;
6592}
6593
6594// generic explosion size:medium (it leaves rising smoke for a longer time)
6595DEF(explosion_medium);
6596// shockwave
6597SUB(explosion_medium) {
6598 MY(alpha_min) = 56;
6599 MY(alpha_max) = 56;
6600 MY(alpha_fade) = 330;
6601 MY(color_min) = "0x8f0d00";
6602 MY(color_max) = "0xff5a00";
6603 MY(countabsolute) = 1;
6604 MY(sizeincrease) = 2400;
6605 MY(size_min) = 72;
6606 MY(size_max) = 72;
6607 MY(tex_min) = 33;
6608 MY(tex_max) = 33;
6609 MY(type) = "static";
6610}
6611// fire effect
6612SUB(explosion_medium) {
6613 MY(airfriction) = 8;
6614 MY(alpha_min) = 200;
6615 MY(alpha_max) = 256;
6616 MY(alpha_fade) = 712;
6617 MY(color_min) = "0x8f0d00";
6618 MY(color_max) = "0xff5a00";
6619 MY(count) = 32;
6620 MY(liquidfriction) = 8;
6621 MY(notunderwater) = true;
6622 MY(originjitter) = '30.0 30.0 30.0';
6623 MY(startangle_min) = -180;
6624 MY(startangle_max) = 180;
6625 MY(spin_min) = -500;
6626 MY(spin_max) = 500;
6627 MY(sizeincrease) = 45;
6628 MY(size_min) = 133;
6629 MY(size_max) = 144;
6630 MY(tex_min) = 48;
6631 MY(tex_max) = 55;
6632 MY(type) = "static";
6633 MY(velocityjitter) = '1512.0 1512.0 1512.0';
6634}
6635// fire effect 2
6636SUB(explosion_medium) {
6637 MY(airfriction) = 8;
6638 MY(alpha_min) = 200;
6639 MY(alpha_max) = 256;
6640 MY(alpha_fade) = 612;
6641 MY(color_min) = "0x8f0d00";
6642 MY(color_max) = "0xff5a00";
6643 MY(count) = 32;
6644 MY(gravity) = -2;
6645 MY(liquidfriction) = 8;
6646 MY(notunderwater) = true;
6647 MY(originjitter) = '30.0 30.0 30.0';
6648 MY(startangle_min) = -180;
6649 MY(startangle_max) = 180;
6650 MY(spin_min) = -150;
6651 MY(spin_max) = 150;
6652 MY(sizeincrease) = 40;
6653 MY(size_min) = 73;
6654 MY(size_max) = 94;
6655 MY(tex_min) = 48;
6656 MY(tex_max) = 55;
6657 MY(type) = "static";
6658 MY(velocityjitter) = '1512.0 1512.0 1512.0';
6659}
6660// fire rays
6661SUB(explosion_medium) {
6662 MY(airfriction) = -3;
6663 MY(alpha_min) = 200;
6664 MY(alpha_max) = 256;
6665 MY(alpha_fade) = 800;
6666 MY(color_min) = "0x8f0d00";
6667 MY(color_max) = "0xff5a00";
6668 MY(count) = 14;
6669 MY(liquidfriction) = 8;
6670 MY(notunderwater) = true;
6671 MY(originjitter) = '40.0 40.0 40.0';
6672 MY(sizeincrease) = 40;
6673 MY(size_min) = 43;
6674 MY(size_max) = 74;
6675 MY(stretchfactor) = 8;
6676 MY(tex_min) = 48;
6677 MY(tex_max) = 55;
6678 MY(type) = "spark";
6679 MY(velocityjitter) = '512.0 512.0 512.0';
6680}
6681// smoke
6682SUB(explosion_medium) {
6683 MY(airfriction) = 3;
6684 MY(alpha_min) = 300;
6685 MY(alpha_max) = 650;
6686 MY(alpha_fade) = 756;
6687 MY(color_min) = "0x4F4B46";
6688 MY(color_max) = "0x000000";
6689 MY(count) = 5;
6690 MY(notunderwater) = true;
6691 MY(originjitter) = '100.0 100.0 100.0';
6692 MY(startangle_min) = -180;
6693 MY(startangle_max) = 180;
6694 MY(spin_min) = -20;
6695 MY(spin_max) = 20;
6696 MY(sizeincrease) = -30;
6697 MY(size_min) = 250;
6698 MY(size_max) = 300;
6699 MY(tex_max) = 8;
6700 MY(type) = "alphastatic";
6701 MY(velocityjitter) = '200.0 200.0 200.0';
6702}
6703// smoke 2
6704SUB(explosion_medium) {
6705 MY(airfriction) = 3;
6706 MY(alpha_min) = 300;
6707 MY(alpha_max) = 650;
6708 MY(alpha_fade) = 256;
6709 MY(color_min) = "0x4F4B46";
6710 MY(color_max) = "0x000000";
6711 MY(count) = 10;
6712 MY(gravity) = -0.300000;
6713 MY(notunderwater) = true;
6714 MY(originjitter) = '100.0 100.0 100.0';
6715 MY(startangle_min) = -180;
6716 MY(startangle_max) = 180;
6717 MY(spin_min) = -20;
6718 MY(spin_max) = 20;
6719 MY(sizeincrease) = 50;
6720 MY(size_min) = 50;
6721 MY(size_max) = 100;
6722 MY(tex_max) = 8;
6723 MY(type) = "alphastatic";
6724 MY(velocityjitter) = '500.0 500.0 500.0';
6725 MY(velocityoffset) = '0.0 0.0 200.0';
6726}
6727// smoke rays
6728SUB(explosion_medium) {
6729 MY(alpha_min) = 140;
6730 MY(alpha_max) = 255;
6731 MY(alpha_fade) = 350;
6732 MY(color_min) = "0x4F4B46";
6733 MY(color_max) = "0x000000";
6734 MY(count) = 13;
6735 MY(notunderwater) = true;
6736 MY(originjitter) = '40.0 40.0 40.0';
6737 MY(sizeincrease) = 100;
6738 MY(size_min) = 150;
6739 MY(size_max) = 200;
6740 MY(stretchfactor) = 50;
6741 MY(tex_max) = 8;
6742 MY(type) = "spark";
6743 MY(velocityjitter) = '250.0 250.0 250.0';
6744}
6745// bouncing sparks
6746SUB(explosion_medium) {
6747 MY(airfriction) = 1;
6748 MY(alpha_min) = 644;
6749 MY(alpha_max) = 956;
6750 MY(alpha_fade) = 984;
6751 MY(color_min) = "0xffa35b";
6752 MY(color_max) = "0xfff2be";
6753 MY(count) = 14;
6754 MY(gravity) = 1;
6755 MY(liquidfriction) = 0.800000;
6756 MY(notunderwater) = true;
6757 MY(originjitter) = '100.0 100.0 100.0';
6758 MY(size_min) = 2;
6759 MY(size_max) = 3;
6760 MY(stretchfactor) = 0.700000;
6761 MY(tex_min) = 40;
6762 MY(tex_max) = 40;
6763 MY(type) = "spark";
6764 MY(velocityjitter) = '624.0 624.0 624.0';
6765 MY(velocityoffset) = '0.0 0.0 370.0';
6766}
6767// underwater bubbles
6768SUB(explosion_medium) {
6769 MY(alpha_min) = 128;
6770 MY(alpha_max) = 256;
6771 MY(alpha_fade) = 64;
6772 MY(bounce) = 1.500000;
6773 MY(color_min) = "0x404040";
6774 MY(color_max) = "0x808080";
6775 MY(count) = 32;
6776 MY(gravity) = -0.125000;
6777 MY(liquidfriction) = 0.250000;
6778 MY(originjitter) = '160.0 160.0 160.0';
6779 MY(size_min) = 3;
6780 MY(size_max) = 3;
6781 MY(tex_min) = 62;
6782 MY(tex_max) = 62;
6783 MY(type) = "bubble";
6784 MY(underwater) = true;
6785 MY(velocityjitter) = '444.0 444.0 444.0';
6786}
6787// underwatershockwave
6788SUB(explosion_medium) {
6789 MY(alpha_min) = 40;
6790 MY(alpha_max) = 40;
6791 MY(alpha_fade) = 300;
6792 MY(countabsolute) = 1;
6793 MY(sizeincrease) = 2900;
6794 MY(size_min) = 30;
6795 MY(size_max) = 30;
6796 MY(tex_min) = 33;
6797 MY(tex_max) = 33;
6798 MY(type) = "smoke";
6799 MY(underwater) = true;
6800 MY(velocitymultiplier) = 0.300000;
6801}
6802
6803// generic explosion size:small (its fire only, made to support other explosions)
6804DEF(explosion_small);
6805// shockwave
6806SUB(explosion_small) {
6807 MY(alpha_min) = 56;
6808 MY(alpha_max) = 56;
6809 MY(alpha_fade) = 330;
6810 MY(color_min) = "0x8f0d00";
6811 MY(color_max) = "0xff5a00";
6812 MY(countabsolute) = 1;
6813 MY(sizeincrease) = 2400;
6814 MY(size_min) = 22;
6815 MY(size_max) = 22;
6816 MY(tex_min) = 33;
6817 MY(tex_max) = 33;
6818 MY(type) = "static";
6819}
6820// fire effect
6821SUB(explosion_small) {
6822 MY(airfriction) = 5;
6823 MY(alpha_min) = 200;
6824 MY(alpha_max) = 256;
6825 MY(alpha_fade) = 1212;
6826 MY(color_min) = "0x8f0d00";
6827 MY(color_max) = "0xff5a00";
6828 MY(count) = 16;
6829 MY(liquidfriction) = 8;
6830 MY(notunderwater) = true;
6831 MY(startangle_min) = -180;
6832 MY(startangle_max) = 180;
6833 MY(spin_min) = -500;
6834 MY(spin_max) = 500;
6835 MY(sizeincrease) = 45;
6836 MY(size_min) = 1;
6837 MY(size_max) = 44;
6838 MY(tex_min) = 48;
6839 MY(tex_max) = 55;
6840 MY(type) = "static";
6841 MY(velocityjitter) = '512.0 512.0 512.0';
6842}
6843// fire effect 2
6844SUB(explosion_small) {
6845 MY(airfriction) = 8;
6846 MY(alpha_min) = 200;
6847 MY(alpha_max) = 256;
6848 MY(alpha_fade) = 812;
6849 MY(color_min) = "0x8f0d00";
6850 MY(color_max) = "0xff5a00";
6851 MY(count) = 16;
6852 MY(liquidfriction) = 8;
6853 MY(notunderwater) = true;
6854 MY(startangle_min) = -180;
6855 MY(startangle_max) = 180;
6856 MY(spin_min) = -150;
6857 MY(spin_max) = 150;
6858 MY(sizeincrease) = 40;
6859 MY(size_min) = 73;
6860 MY(size_max) = 94;
6861 MY(tex_min) = 48;
6862 MY(tex_max) = 55;
6863 MY(type) = "static";
6864 MY(velocityjitter) = '912.0 912.0 912.0';
6865}
6866// fire rays
6867SUB(explosion_small) {
6868 MY(airfriction) = -3;
6869 MY(alpha_min) = 200;
6870 MY(alpha_max) = 256;
6871 MY(alpha_fade) = 1300;
6872 MY(color_min) = "0x8f0d00";
6873 MY(color_max) = "0xff5a00";
6874 MY(count) = 14;
6875 MY(liquidfriction) = 8;
6876 MY(notunderwater) = true;
6877 MY(originjitter) = '40.0 40.0 40.0';
6878 MY(sizeincrease) = 30;
6879 MY(size_min) = 13;
6880 MY(size_max) = 54;
6881 MY(stretchfactor) = 8;
6882 MY(tex_min) = 48;
6883 MY(tex_max) = 55;
6884 MY(type) = "spark";
6885 MY(velocityjitter) = '512.0 512.0 512.0';
6886}
6887// underwater bubbles
6888SUB(explosion_small) {
6889 MY(alpha_min) = 128;
6890 MY(alpha_max) = 256;
6891 MY(alpha_fade) = 64;
6892 MY(bounce) = 1.500000;
6893 MY(color_min) = "0x404040";
6894 MY(color_max) = "0x808080";
6895 MY(count) = 32;
6896 MY(gravity) = -0.125000;
6897 MY(liquidfriction) = 0.250000;
6898 MY(originjitter) = '160.0 160.0 160.0';
6899 MY(size_min) = 1;
6900 MY(size_max) = 3;
6901 MY(tex_min) = 62;
6902 MY(tex_max) = 62;
6903 MY(type) = "bubble";
6904 MY(underwater) = true;
6905 MY(velocityjitter) = '144.0 144.0 144.0';
6906}
6907// underwatershockwave
6908SUB(explosion_small) {
6909 MY(alpha_min) = 40;
6910 MY(alpha_max) = 40;
6911 MY(alpha_fade) = 300;
6912 MY(countabsolute) = 1;
6913 MY(sizeincrease) = 1200;
6914 MY(size_min) = 30;
6915 MY(size_max) = 30;
6916 MY(tex_min) = 33;
6917 MY(tex_max) = 33;
6918 MY(type) = "smoke";
6919 MY(underwater) = true;
6920}
6921
6922// big smoke ( for spamming on damaged stuff )
6923DEF(smoke_big);
6924SUB(smoke_big) {
6925 MY(airfriction) = 4;
6926 MY(alpha_min) = 200;
6927 MY(alpha_max) = 750;
6928 MY(alpha_fade) = 200;
6929 MY(color_min) = "0x4F4B46";
6930 MY(color_max) = "0x000000";
6931 MY(count) = 3;
6932 MY(gravity) = -0.500000;
6933 MY(notunderwater) = true;
6934 MY(originjitter) = '55.0 55.0 55.0';
6935 MY(startangle_min) = -180;
6936 MY(startangle_max) = 180;
6937 MY(spin_min) = -20;
6938 MY(spin_max) = 20;
6939 MY(sizeincrease) = 15;
6940 MY(size_min) = 30;
6941 MY(size_max) = 60;
6942 MY(tex_max) = 8;
6943 MY(type) = "alphastatic";
6944 MY(velocityjitter) = '140.0 140.0 200.0';
6945 MY(velocityoffset) = '0.0 0.0 200.0';
6946}
6947
6948// small smoke ( more precise than big one, for spamming on damaged parts like raptors spinner )
6949DEF(smoke_small);
6950SUB(smoke_small) {
6951 MY(airfriction) = 4;
6952 MY(alpha_min) = 200;
6953 MY(alpha_max) = 750;
6954 MY(alpha_fade) = 200;
6955 MY(color_min) = "0x4F4B46";
6956 MY(color_max) = "0x000000";
6957 MY(count) = 3;
6958 MY(gravity) = -0.500000;
6959 MY(notunderwater) = true;
6960 MY(startangle_min) = -180;
6961 MY(startangle_max) = 180;
6962 MY(spin_min) = -20;
6963 MY(spin_max) = 20;
6964 MY(sizeincrease) = -10;
6965 MY(size_min) = 60;
6966 MY(size_max) = 100;
6967 MY(tex_max) = 8;
6968 MY(type) = "alphastatic";
6969 MY(velocityjitter) = '40.0 40.0 400.0';
6970 MY(velocityoffset) = '0.0 0.0 200.0';
6971}
6972
6973// metal impact effect
6974DEF(impact_metal);
6975SUB(impact_metal) {
6976 MY(alpha_min) = 25;
6977 MY(alpha_max) = 64;
6978 MY(alpha_fade) = 50;
6979 MY(color_min) = "0x000000";
6980 MY(color_max) = "0x886666";
6981 MY(count) = 1;
6982 MY(gravity) = -0.010000;
6983 MY(originjitter) = '20.0 20.0 5.0';
6984 MY(sizeincrease) = 10;
6985 MY(size_min) = 3;
6986 MY(size_max) = 6;
6987 MY(tex_max) = 8;
6988 MY(type) = "alphastatic";
6989}
6990// sparks
6991SUB(impact_metal) {
6992 MY(airfriction) = 2;
6993 MY(alpha_min) = 255;
6994 MY(alpha_max) = 255;
6995 MY(alpha_fade) = 112;
6996 MY(bounce) = 1.800000;
6997 MY(color_min) = "0xFFCC22";
6998 MY(color_max) = "0xFF4422";
6999 MY(count) = 2;
7000 MY(gravity) = 1;
7001 MY(size_min) = 2;
7002 MY(size_max) = 2;
7003 MY(stretchfactor) = 0.500000;
7004 MY(tex_min) = 41;
7005 MY(tex_max) = 41;
7006 MY(type) = "spark";
7007 MY(velocityjitter) = '200.0 200.0 300.0';
7008 MY(velocitymultiplier) = 2;
7009}
7010
7011// stone impact effect
7012DEF(impact_stone);
7013SUB(impact_stone) {
7014 MY(alpha_min) = 50;
7015 MY(alpha_max) = 128;
7016 MY(alpha_fade) = 75;
7017 MY(color_min) = "0x000000";
7018 MY(color_max) = "0xcc9966";
7019 MY(count) = 1;
7020 MY(gravity) = -0.010000;
7021 MY(originjitter) = '20.0 20.0 5.0';
7022 MY(sizeincrease) = 15;
7023 MY(size_min) = 3;
7024 MY(size_max) = 6;
7025 MY(tex_max) = 8;
7026 MY(type) = "alphastatic";
7027}
7028// debris
7029SUB(impact_stone) {
7030 MY(airfriction) = 0.500000;
7031 MY(alpha_min) = 450;
7032 MY(alpha_max) = 750;
7033 MY(alpha_fade) = 300;
7034 MY(bounce) = 1.200000;
7035 MY(color_min) = "0x000000";
7036 MY(color_max) = "0x886644";
7037 MY(count) = 1;
7038 MY(gravity) = 1.300000;
7039 MY(notunderwater) = true;
7040 MY(startangle_min) = -180;
7041 MY(startangle_max) = 180;
7042 MY(spin_min) = -1000;
7043 MY(spin_max) = 1000;
7044 MY(size_min) = 1;
7045 MY(size_max) = 2;
7046 MY(tex_min) = 66;
7047 MY(tex_max) = 68;
7048 MY(type) = "alphastatic";
7049 MY(velocityjitter) = '124.0 124.0 324.0';
7050}
7051
7052// wood impact effect
7053DEF(impact_wood);
7054SUB(impact_wood) {
7055 MY(alpha_min) = 50;
7056 MY(alpha_max) = 128;
7057 MY(alpha_fade) = 75;
7058 MY(color_min) = "0x000000";
7059 MY(color_max) = "0xcc9966";
7060 MY(count) = 1;
7061 MY(gravity) = -0.010000;
7062 MY(originjitter) = '20.0 20.0 5.0';
7063 MY(sizeincrease) = 10;
7064 MY(size_min) = 3;
7065 MY(size_max) = 6;
7066 MY(tex_max) = 8;
7067 MY(type) = "alphastatic";
7068}
7069// sparks
7070SUB(impact_wood) {
7071 MY(airfriction) = 2;
7072 MY(alpha_min) = 255;
7073 MY(alpha_max) = 255;
7074 MY(alpha_fade) = 75;
7075 MY(bounce) = 1.500000;
7076 MY(color_min) = "0x221100";
7077 MY(color_max) = "0x221100";
7078 MY(count) = 2;
7079 MY(gravity) = 1;
7080 MY(size_min) = 1;
7081 MY(size_max) = 8;
7082 MY(tex_min) = 41;
7083 MY(tex_max) = 41;
7084 MY(type) = "spark";
7085 MY(velocityjitter) = '180.0 180.0 260.0';
7086 MY(velocitymultiplier) = 2;
7087}
7088
7089// flesh impact effect
7090DEF(impact_flesh);
7091SUB(impact_flesh) {
7092 MY(alpha_min) = 100;
7093 MY(alpha_max) = 256;
7094 MY(alpha_fade) = 400;
7095 MY(color_min) = "0x000000";
7096 MY(color_max) = "0x420000";
7097 MY(count) = 0.500000;
7098 MY(originjitter) = '11.0 11.0 11.0';
7099 MY(size_min) = 8;
7100 MY(size_max) = 12;
7101 MY(tex_max) = 8;
7102 MY(type) = "alphastatic";
7103}
7104// blood splash
7105SUB(impact_flesh) {
7106 MY(airfriction) = 1;
7107 MY(alpha_min) = 256;
7108 MY(alpha_max) = 256;
7109 MY(alpha_fade) = 64;
7110 MY(bounce) = -1;
7111 MY(color_min) = "0xA8FFFF";
7112 MY(color_max) = "0xA8FFFFF";
7113 MY(count) = 0.300000;
7114 MY(liquidfriction) = 4;
7115 MY(size_min) = 2;
7116 MY(size_max) = 6;
7117 MY(staincolor_min) = "0x808080";
7118 MY(staincolor_max) = "0x808080";
7119 MY(staintex_min) = 16;
7120 MY(staintex_max) = 24;
7121 MY(tex_min) = 24;
7122 MY(tex_max) = 32;
7123 MY(type) = "blood";
7124 MY(velocityjitter) = '96.0 96.0 96.0';
7125 MY(velocitymultiplier) = 5;
7126}
7127
7128// hagar trail
7129DEF(tr_hagar);
7130// smoke
7131SUB(tr_hagar) {
7132 MY(alpha_min) = 300;
7133 MY(alpha_max) = 400;
7134 MY(alpha_fade) = 780;
7135 MY(bounce) = 1;
7136 MY(color_min) = "0x101010";
7137 MY(color_max) = "0x000000";
7138 MY(originjitter) = '1.0 1.0 1.0';
7139 MY(sizeincrease) = 10;
7140 MY(size_min) = 3;
7141 MY(size_max) = 2;
7142 MY(tex_max) = 8;
7143 MY(trailspacing) = 4;
7144 MY(type) = "smoke";
7145 MY(velocityjitter) = '1.0 1.0 1.0';
7146 MY(velocitymultiplier) = -0.020000;
7147}
7148// fire
7149SUB(tr_hagar) {
7150 MY(airfriction) = 8;
7151 MY(alpha_min) = 100;
7152 MY(alpha_max) = 144;
7153 MY(alpha_fade) = 988;
7154 MY(color_min) = "0xffdf72";
7155 MY(color_max) = "0x811200";
7156 MY(notunderwater) = true;
7157 MY(sizeincrease) = -15;
7158 MY(size_min) = 5;
7159 MY(size_max) = 2;
7160 MY(tex_min) = 48;
7161 MY(tex_max) = 55;
7162 MY(trailspacing) = 4;
7163 MY(type) = "static";
7164 MY(velocityjitter) = '32.0 32.0 32.0';
7165 MY(velocitymultiplier) = -1;
7166}
7167// bubbles
7168SUB(tr_hagar) {
7169 MY(alpha_min) = 256;
7170 MY(alpha_max) = 256;
7171 MY(alpha_fade) = 256;
7172 MY(bounce) = 1.500000;
7173 MY(color_min) = "0x404040";
7174 MY(color_max) = "0x808080";
7175 MY(gravity) = -0.125000;
7176 MY(liquidfriction) = 4;
7177 MY(size_min) = 1;
7178 MY(size_max) = 1;
7179 MY(tex_min) = 62;
7180 MY(tex_max) = 62;
7181 MY(trailspacing) = 16;
7182 MY(type) = "bubble";
7183 MY(underwater) = true;
7184 MY(velocityjitter) = '16.0 16.0 16.0';
7185}
7186
7187// laser damage effect
7188DEF(damage_blaster);
7189SUB(damage_blaster) {
7190 MY(airfriction) = -0.350000;
7191 MY(alpha_min) = 128;
7192 MY(alpha_max) = 16;
7193 MY(alpha_fade) = 128;
7194 MY(color_min) = "0x880000";
7195 MY(color_max) = "0xff4400";
7196 MY(count) = 3;
7197 MY(notunderwater) = true;
7198 MY(originjitter) = '2.0 2.0 2.0';
7199 MY(startangle_max) = 180;
7200 MY(spin_min) = -30;
7201 MY(spin_max) = 30;
7202 MY(sizeincrease) = 8;
7203 MY(size_min) = 2;
7204 MY(size_max) = 4;
7205 MY(tex_max) = 8;
7206 MY(type) = "smoke";
7207 MY(velocityjitter) = '0.4 0.4 0.6';
7208}
7209
7210// shotgun damage effect, normal blood
7211DEF(damage_shotgun);
7212SUB(damage_shotgun) {
7213 MY(airfriction) = 1;
7214 MY(alpha_min) = 256;
7215 MY(alpha_max) = 256;
7216 MY(alpha_fade) = 64;
7217 MY(bounce) = -1;
7218 MY(color_min) = "0xA8FFFF";
7219 MY(color_max) = "0xA8FFFFF";
7220 MY(count) = 0.600000;
7221 MY(liquidfriction) = 4;
7222 MY(size_min) = 2;
7223 MY(size_max) = 4;
7224 MY(staincolor_min) = "0x808080";
7225 MY(staincolor_max) = "0x808080";
7226 MY(staintex_min) = 16;
7227 MY(staintex_max) = 24;
7228 MY(tex_min) = 24;
7229 MY(tex_max) = 32;
7230 MY(type) = "blood";
7231 MY(velocityjitter) = '64.0 64.0 64.0';
7232 MY(velocitymultiplier) = 5;
7233}
7234// blood mist
7235SUB(damage_shotgun) {
7236 MY(alpha_min) = 100;
7237 MY(alpha_max) = 256;
7238 MY(alpha_fade) = 400;
7239 MY(color_min) = "0x000000";
7240 MY(color_max) = "0x420000";
7241 MY(count) = 1;
7242 MY(originjitter) = '1.0 1.0 1.0';
7243 MY(size_min) = 8;
7244 MY(size_max) = 16;
7245 MY(tex_max) = 8;
7246 MY(type) = "alphastatic";
7247}
7248
7249// shotgun damage effect, alien blood
7250DEF(alien_damage_shotgun);
7251SUB(alien_damage_shotgun) {
7252 MY(airfriction) = 1;
7253 MY(alpha_min) = 256;
7254 MY(alpha_max) = 256;
7255 MY(alpha_fade) = 64;
7256 MY(bounce) = -1;
7257 MY(color_min) = "0xDC9BCD";
7258 MY(color_max) = "0xDC9BCD";
7259 MY(count) = 0.600000;
7260 MY(liquidfriction) = 4;
7261 MY(size_min) = 2;
7262 MY(size_max) = 4;
7263 MY(staincolor_min) = "0x808080";
7264 MY(staincolor_max) = "0x808080";
7265 MY(staintex_min) = 16;
7266 MY(staintex_max) = 24;
7267 MY(tex_min) = 24;
7268 MY(tex_max) = 32;
7269 MY(type) = "blood";
7270 MY(velocityjitter) = '64.0 64.0 64.0';
7271 MY(velocitymultiplier) = 5;
7272}
7273// blood mist
7274SUB(alien_damage_shotgun) {
7275 MY(alpha_min) = 100;
7276 MY(alpha_max) = 256;
7277 MY(alpha_fade) = 400;
7278 MY(color_min) = "0x000000";
7279 MY(color_max) = "0x204010";
7280 MY(count) = 1;
7281 MY(originjitter) = '1.0 1.0 1.0';
7282 MY(size_min) = 8;
7283 MY(size_max) = 16;
7284 MY(tex_max) = 8;
7285 MY(type) = "alphastatic";
7286}
7287
7288// shotgun damage effect, robot blood
7289DEF(robot_damage_shotgun);
7290SUB(robot_damage_shotgun) {
7291 MY(airfriction) = 1;
7292 MY(alpha_min) = 256;
7293 MY(alpha_max) = 256;
7294 MY(alpha_fade) = 64;
7295 MY(bounce) = -1;
7296 MY(color_min) = "0xC0D890";
7297 MY(color_max) = "0xC0D890";
7298 MY(count) = 0.600000;
7299 MY(liquidfriction) = 4;
7300 MY(size_min) = 2;
7301 MY(size_max) = 4;
7302 MY(staincolor_min) = "0x808080";
7303 MY(staincolor_max) = "0x808080";
7304 MY(staintex_min) = 16;
7305 MY(staintex_max) = 24;
7306 MY(tex_min) = 24;
7307 MY(tex_max) = 32;
7308 MY(type) = "blood";
7309 MY(velocityjitter) = '64.0 64.0 64.0';
7310 MY(velocitymultiplier) = 5;
7311}
7312// blood mist
7313SUB(robot_damage_shotgun) {
7314 MY(alpha_min) = 100;
7315 MY(alpha_max) = 256;
7316 MY(alpha_fade) = 400;
7317 MY(color_min) = "0x000000";
7318 MY(color_max) = "0x301860";
7319 MY(count) = 1;
7320 MY(originjitter) = '1.0 1.0 1.0';
7321 MY(size_min) = 8;
7322 MY(size_max) = 16;
7323 MY(tex_max) = 8;
7324 MY(type) = "alphastatic";
7325}
7326
7327// machinegun damage effect, normal blood
7328DEF(damage_machinegun);
7329SUB(damage_machinegun) {
7330 MY(airfriction) = 1;
7331 MY(alpha_min) = 256;
7332 MY(alpha_max) = 256;
7333 MY(alpha_fade) = 64;
7334 MY(bounce) = -1;
7335 MY(color_min) = "0xA8FFFF";
7336 MY(color_max) = "0xA8FFFFF";
7337 MY(count) = 0.300000;
7338 MY(liquidfriction) = 4;
7339 MY(size_min) = 2;
7340 MY(size_max) = 4;
7341 MY(staincolor_min) = "0x808080";
7342 MY(staincolor_max) = "0x808080";
7343 MY(staintex_min) = 16;
7344 MY(staintex_max) = 24;
7345 MY(tex_min) = 24;
7346 MY(tex_max) = 32;
7347 MY(type) = "blood";
7348 MY(velocityjitter) = '32.0 32.0 32.0';
7349 MY(velocitymultiplier) = 5;
7350}
7351// blood mist
7352SUB(damage_machinegun) {
7353 MY(alpha_min) = 100;
7354 MY(alpha_max) = 256;
7355 MY(alpha_fade) = 400;
7356 MY(color_min) = "0x000000";
7357 MY(color_max) = "0x420000";
7358 MY(count) = 1;
7359 MY(size_min) = 6;
7360 MY(size_max) = 12;
7361 MY(tex_max) = 8;
7362 MY(type) = "alphastatic";
7363}
7364
7365// machinegun damage effect, alien blood
7366DEF(alien_damage_machinegun);
7367SUB(alien_damage_machinegun) {
7368 MY(airfriction) = 1;
7369 MY(alpha_min) = 256;
7370 MY(alpha_max) = 256;
7371 MY(alpha_fade) = 64;
7372 MY(bounce) = -1;
7373 MY(color_min) = "0xDC9BCD";
7374 MY(color_max) = "0xDC9BCD";
7375 MY(count) = 0.300000;
7376 MY(liquidfriction) = 4;
7377 MY(size_min) = 2;
7378 MY(size_max) = 4;
7379 MY(staincolor_min) = "0x808080";
7380 MY(staincolor_max) = "0x808080";
7381 MY(staintex_min) = 16;
7382 MY(staintex_max) = 24;
7383 MY(tex_min) = 24;
7384 MY(tex_max) = 32;
7385 MY(type) = "blood";
7386 MY(velocityjitter) = '32.0 32.0 32.0';
7387 MY(velocitymultiplier) = 5;
7388}
7389// blood mist
7390SUB(alien_damage_machinegun) {
7391 MY(alpha_min) = 100;
7392 MY(alpha_max) = 256;
7393 MY(alpha_fade) = 400;
7394 MY(color_min) = "0x000000";
7395 MY(color_max) = "0x204010";
7396 MY(count) = 1;
7397 MY(size_min) = 6;
7398 MY(size_max) = 12;
7399 MY(tex_max) = 8;
7400 MY(type) = "alphastatic";
7401}
7402
7403// machinegun damage effect, robot blood
7404DEF(robot_damage_machinegun);
7405SUB(robot_damage_machinegun) {
7406 MY(airfriction) = 1;
7407 MY(alpha_min) = 256;
7408 MY(alpha_max) = 256;
7409 MY(alpha_fade) = 64;
7410 MY(bounce) = -1;
7411 MY(color_min) = "0xC0D890";
7412 MY(color_max) = "0xC0D890";
7413 MY(count) = 0.300000;
7414 MY(liquidfriction) = 4;
7415 MY(size_min) = 2;
7416 MY(size_max) = 4;
7417 MY(staincolor_min) = "0x808080";
7418 MY(staincolor_max) = "0x808080";
7419 MY(staintex_min) = 16;
7420 MY(staintex_max) = 24;
7421 MY(tex_min) = 24;
7422 MY(tex_max) = 32;
7423 MY(type) = "blood";
7424 MY(velocityjitter) = '32.0 32.0 32.0';
7425 MY(velocitymultiplier) = 5;
7426}
7427// blood mist
7428SUB(robot_damage_machinegun) {
7429 MY(alpha_min) = 100;
7430 MY(alpha_max) = 256;
7431 MY(alpha_fade) = 400;
7432 MY(color_min) = "0x000000";
7433 MY(color_max) = "0x301860";
7434 MY(count) = 1;
7435 MY(size_min) = 6;
7436 MY(size_max) = 12;
7437 MY(tex_max) = 8;
7438 MY(type) = "alphastatic";
7439}
7440
7441// minelayer damage effect
7442DEF(damage_minelayer);
7443SUB(damage_minelayer) {
7444 MY(alpha_min) = 512;
7445 MY(alpha_max) = 64;
7446 MY(alpha_fade) = 1024;
7447 MY(color_min) = "0x8f0d00";
7448 MY(color_max) = "0xff5a00";
7449 MY(count) = 3;
7450 MY(gravity) = -0.500000;
7451 MY(notunderwater) = true;
7452 MY(originjitter) = '2.0 2.0 2.0';
7453 MY(sizeincrease) = -15;
7454 MY(size_min) = 4;
7455 MY(size_max) = 8;
7456 MY(tex_min) = 48;
7457 MY(tex_max) = 55;
7458 MY(type) = "smoke";
7459 MY(velocityjitter) = '22.0 22.0 50.0';
7460}
7461// smoke
7462SUB(damage_minelayer) {
7463 MY(alpha_min) = 128;
7464 MY(alpha_max) = 32;
7465 MY(alpha_fade) = 128;
7466 MY(color_min) = "0x000000";
7467 MY(color_max) = "0x111111";
7468 MY(count) = 2;
7469 MY(gravity) = -0.300000;
7470 MY(notunderwater) = true;
7471 MY(originjitter) = '4.0 4.0 4.0';
7472 MY(sizeincrease) = 5;
7473 MY(size_min) = 4;
7474 MY(size_max) = 8;
7475 MY(tex_max) = 8;
7476 MY(type) = "alphastatic";
7477 MY(velocityjitter) = '11.0 11.0 50.0';
7478}
7479
7480// mortar damage effect
7481DEF(damage_mortar);
7482SUB(damage_mortar) {
7483 MY(alpha_min) = 512;
7484 MY(alpha_max) = 64;
7485 MY(alpha_fade) = 1024;
7486 MY(color_min) = "0x8f0d00";
7487 MY(color_max) = "0xff5a00";
7488 MY(count) = 3;
7489 MY(gravity) = -0.500000;
7490 MY(notunderwater) = true;
7491 MY(originjitter) = '2.0 2.0 2.0';
7492 MY(sizeincrease) = -15;
7493 MY(size_min) = 4;
7494 MY(size_max) = 8;
7495 MY(tex_min) = 48;
7496 MY(tex_max) = 55;
7497 MY(type) = "smoke";
7498 MY(velocityjitter) = '22.0 22.0 50.0';
7499}
7500// smoke
7501SUB(damage_mortar) {
7502 MY(alpha_min) = 128;
7503 MY(alpha_max) = 32;
7504 MY(alpha_fade) = 128;
7505 MY(color_min) = "0x000000";
7506 MY(color_max) = "0x111111";
7507 MY(count) = 2;
7508 MY(gravity) = -0.300000;
7509 MY(notunderwater) = true;
7510 MY(originjitter) = '4.0 4.0 4.0';
7511 MY(sizeincrease) = 5;
7512 MY(size_min) = 4;
7513 MY(size_max) = 8;
7514 MY(tex_max) = 8;
7515 MY(type) = "alphastatic";
7516 MY(velocityjitter) = '11.0 11.0 50.0';
7517}
7518
7519// arc damage effect
7520DEF(damage_arc);
7521SUB(damage_arc) {
7522 MY(airfriction) = -0.650000;
7523 MY(alpha_min) = 48;
7524 MY(alpha_max) = 8;
7525 MY(alpha_fade) = 48;
7526 MY(color_min) = "0x66ffff";
7527 MY(color_max) = "0x2288ff";
7528 MY(count) = 2;
7529 MY(gravity) = -0.000100;
7530 MY(liquidfriction) = 0.600000;
7531 MY(notunderwater) = true;
7532 MY(originjitter) = '2.0 2.0 2.0';
7533 MY(startangle_min) = 180;
7534 MY(startangle_max) = 360;
7535 MY(spin_min) = -30;
7536 MY(spin_max) = 30;
7537 MY(sizeincrease) = -14;
7538 MY(size_min) = 4;
7539 MY(size_max) = 8;
7540 MY(tex_min) = 47;
7541 MY(tex_max) = 47;
7542 MY(type) = "static";
7543 MY(velocityjitter) = '6.0 6.0 12.0';
7544}
7545// plasma smoke
7546SUB(damage_arc) {
7547 MY(airfriction) = -0.500000;
7548 MY(alpha_min) = 64;
7549 MY(alpha_max) = 16;
7550 MY(alpha_fade) = 64;
7551 MY(color_min) = "0x2244ff";
7552 MY(color_max) = "0x002266";
7553 MY(count) = 4;
7554 MY(notunderwater) = true;
7555 MY(originjitter) = '3.0 3.0 3.0';
7556 MY(startangle_max) = 180;
7557 MY(spin_min) = -30;
7558 MY(spin_max) = 30;
7559 MY(sizeincrease) = 10;
7560 MY(size_min) = 3;
7561 MY(size_max) = 6;
7562 MY(tex_max) = 8;
7563 MY(type) = "smoke";
7564 MY(velocityjitter) = '0.3 0.3 0.5';
7565}
7566// bouncing sparks
7567SUB(damage_arc) {
7568 MY(airfriction) = 1;
7569 MY(alpha_min) = 768;
7570 MY(alpha_max) = 64;
7571 MY(alpha_fade) = 256;
7572 MY(bounce) = 1.500000;
7573 MY(color_min) = "0x003090";
7574 MY(color_max) = "0x00CCFF";
7575 MY(count) = 0.500000;
7576 MY(gravity) = 0.150000;
7577 MY(liquidfriction) = 0.600000;
7578 MY(size_min) = 1;
7579 MY(size_max) = 1;
7580 MY(tex_min) = 66;
7581 MY(tex_max) = 68;
7582 MY(type) = "spark";
7583 MY(velocityjitter) = '24.0 24.0 24.0';
7584}
7585
7586// electro damage effect
7587DEF(damage_electro);
7588SUB(damage_electro) {
7589 MY(airfriction) = -0.500000;
7590 MY(alpha_min) = 48;
7591 MY(alpha_max) = 8;
7592 MY(alpha_fade) = 48;
7593 MY(color_min) = "0x66ffff";
7594 MY(color_max) = "0x2288ff";
7595 MY(count) = 2;
7596 MY(gravity) = -0.000100;
7597 MY(liquidfriction) = 0.800000;
7598 MY(notunderwater) = true;
7599 MY(originjitter) = '3.0 3.0 3.0';
7600 MY(startangle_min) = 180;
7601 MY(startangle_max) = 360;
7602 MY(spin_min) = -30;
7603 MY(spin_max) = 30;
7604 MY(sizeincrease) = -14;
7605 MY(size_min) = 6;
7606 MY(size_max) = 10;
7607 MY(tex_min) = 47;
7608 MY(tex_max) = 47;
7609 MY(type) = "static";
7610 MY(velocityjitter) = '8.0 8.0 16.0';
7611}
7612// plasma smoke
7613SUB(damage_electro) {
7614 MY(airfriction) = -0.350000;
7615 MY(alpha_min) = 64;
7616 MY(alpha_max) = 16;
7617 MY(alpha_fade) = 64;
7618 MY(color_min) = "0x2244ff";
7619 MY(color_max) = "0x002266";
7620 MY(count) = 4;
7621 MY(notunderwater) = true;
7622 MY(originjitter) = '4.0 4.0 4.0';
7623 MY(startangle_max) = 180;
7624 MY(spin_min) = -30;
7625 MY(spin_max) = 30;
7626 MY(sizeincrease) = 10;
7627 MY(size_min) = 4;
7628 MY(size_max) = 8;
7629 MY(tex_max) = 8;
7630 MY(type) = "smoke";
7631 MY(velocityjitter) = '0.4 0.4 0.6';
7632}
7633// bouncing sparks
7634SUB(damage_electro) {
7635 MY(airfriction) = 1;
7636 MY(alpha_min) = 768;
7637 MY(alpha_max) = 64;
7638 MY(alpha_fade) = 256;
7639 MY(bounce) = 1.500000;
7640 MY(color_min) = "0x003090";
7641 MY(color_max) = "0x00CCFF";
7642 MY(count) = 0.500000;
7643 MY(gravity) = 0.200000;
7644 MY(liquidfriction) = 0.800000;
7645 MY(size_min) = 1;
7646 MY(size_max) = 1;
7647 MY(tex_min) = 66;
7648 MY(tex_max) = 68;
7649 MY(type) = "spark";
7650 MY(velocityjitter) = '32.0 32.0 32.0';
7651}
7652
7653// crylink damage effect
7654DEF(damage_crylink);
7655SUB(damage_crylink) {
7656 MY(airfriction) = -0.500000;
7657 MY(alpha_min) = 48;
7658 MY(alpha_max) = 16;
7659 MY(alpha_fade) = 48;
7660 MY(color_min) = "0xff44ff";
7661 MY(color_max) = "0x9966ff";
7662 MY(count) = 2;
7663 MY(gravity) = -0.000100;
7664 MY(liquidfriction) = 0.800000;
7665 MY(notunderwater) = true;
7666 MY(originjitter) = '3.0 3.0 3.0';
7667 MY(startangle_min) = 180;
7668 MY(startangle_max) = 360;
7669 MY(spin_min) = -30;
7670 MY(spin_max) = 30;
7671 MY(sizeincrease) = -8;
7672 MY(size_min) = 0.500000;
7673 MY(size_max) = 1;
7674 MY(tex_min) = 38;
7675 MY(tex_max) = 38;
7676 MY(type) = "static";
7677 MY(velocityjitter) = '10.0 10.0 20.0';
7678}
7679// plasma smoke
7680SUB(damage_crylink) {
7681 MY(airfriction) = -0.350000;
7682 MY(alpha_min) = 64;
7683 MY(alpha_max) = 16;
7684 MY(alpha_fade) = 64;
7685 MY(color_min) = "0x8844ff";
7686 MY(color_max) = "0x662244";
7687 MY(count) = 4;
7688 MY(gravity) = 0.001000;
7689 MY(notunderwater) = true;
7690 MY(originjitter) = '4.0 4.0 4.0';
7691 MY(startangle_max) = 180;
7692 MY(spin_min) = -30;
7693 MY(spin_max) = 30;
7694 MY(sizeincrease) = 6;
7695 MY(size_min) = 5;
7696 MY(size_max) = 10;
7697 MY(tex_max) = 8;
7698 MY(type) = "smoke";
7699 MY(velocityjitter) = '0.4 0.4 0.6';
7700}
7701// floating sparks
7702SUB(damage_crylink) {
7703 MY(airfriction) = 0.200000;
7704 MY(alpha_min) = 192;
7705 MY(alpha_max) = 192;
7706 MY(alpha_fade) = 128;
7707 MY(color_min) = "0x903090";
7708 MY(color_max) = "0xFFD0FF";
7709 MY(count) = 0.300000;
7710 MY(liquidfriction) = 0.800000;
7711 MY(sizeincrease) = -5;
7712 MY(size_min) = 0.500000;
7713 MY(size_max) = 0.500000;
7714 MY(type) = "spark";
7715 MY(velocityjitter) = '12.0 12.0 12.0';
7716}
7717
7718// hlac damage effect
7719DEF(damage_hlac);
7720SUB(damage_hlac) {
7721 MY(airfriction) = -0.350000;
7722 MY(alpha_min) = 128;
7723 MY(alpha_max) = 16;
7724 MY(alpha_fade) = 128;
7725 MY(color_min) = "0x008800";
7726 MY(color_max) = "0x44ff00";
7727 MY(count) = 3;
7728 MY(notunderwater) = true;
7729 MY(originjitter) = '4.0 4.0 4.0';
7730 MY(startangle_max) = 180;
7731 MY(spin_min) = -30;
7732 MY(spin_max) = 30;
7733 MY(sizeincrease) = 10;
7734 MY(size_min) = 2;
7735 MY(size_max) = 4;
7736 MY(tex_max) = 8;
7737 MY(type) = "smoke";
7738 MY(velocityjitter) = '0.4 0.4 0.6';
7739}
7740
7741// vortex damage effect
7742DEF(damage_vortex);
7743SUB(damage_vortex) {
7744 MY(airfriction) = -0.500000;
7745 MY(alpha_min) = 64;
7746 MY(alpha_max) = 8;
7747 MY(alpha_fade) = 64;
7748 MY(color_min) = "0xffffff";
7749 MY(color_max) = "0x88ffff";
7750 MY(count) = 1;
7751 MY(gravity) = -0.000100;
7752 MY(liquidfriction) = 0.600000;
7753 MY(originjitter) = '4.0 4.0 4.0';
7754 MY(startangle_min) = 180;
7755 MY(startangle_max) = 360;
7756 MY(spin_min) = -30;
7757 MY(spin_max) = 30;
7758 MY(sizeincrease) = -14;
7759 MY(size_min) = 5;
7760 MY(size_max) = 10;
7761 MY(tex_min) = 47;
7762 MY(tex_max) = 47;
7763 MY(type) = "static";
7764 MY(velocityjitter) = '8.0 8.0 16.0';
7765}
7766// plasma smoke
7767SUB(damage_vortex) {
7768 MY(airfriction) = -0.350000;
7769 MY(alpha_min) = 64;
7770 MY(alpha_max) = 16;
7771 MY(alpha_fade) = 64;
7772 MY(color_min) = "0x6688ff";
7773 MY(color_max) = "0x226688";
7774 MY(count) = 2;
7775 MY(originjitter) = '2.0 2.0 2.0';
7776 MY(startangle_max) = 180;
7777 MY(spin_min) = -30;
7778 MY(spin_max) = 30;
7779 MY(sizeincrease) = 8;
7780 MY(size_min) = 4;
7781 MY(size_max) = 8;
7782 MY(tex_max) = 8;
7783 MY(type) = "smoke";
7784 MY(velocityjitter) = '0.5 0.5 0.8';
7785}
7786// bouncing sparks
7787SUB(damage_vortex) {
7788 MY(airfriction) = 2;
7789 MY(alpha_min) = 255;
7790 MY(alpha_max) = 255;
7791 MY(alpha_fade) = 112;
7792 MY(bounce) = 1.600000;
7793 MY(color_min) = "0xD9FDFF";
7794 MY(color_max) = "0xD9FDFF";
7795 MY(count) = 0.200000;
7796 MY(gravity) = 1;
7797 MY(size_min) = 1;
7798 MY(size_max) = 1;
7799 MY(stretchfactor) = 0.700000;
7800 MY(tex_min) = 41;
7801 MY(tex_max) = 41;
7802 MY(type) = "spark";
7803 MY(velocityjitter) = '100.0 100.0 300.0';
7804 MY(velocitymultiplier) = 3;
7805}
7806
7807// vaporizer damage effect
7808DEF(damage_vaporizer);
7809SUB(damage_vaporizer) {
7810 MY(airfriction) = -0.500000;
7811 MY(alpha_min) = 64;
7812 MY(alpha_max) = 8;
7813 MY(alpha_fade) = 64;
7814 MY(color_min) = "0xffffff";
7815 MY(color_max) = "0x88ffff";
7816 MY(count) = 2;
7817 MY(gravity) = -0.000100;
7818 MY(liquidfriction) = 0.600000;
7819 MY(originjitter) = '4.0 4.0 4.0';
7820 MY(startangle_min) = 180;
7821 MY(startangle_max) = 360;
7822 MY(spin_min) = -30;
7823 MY(spin_max) = 30;
7824 MY(sizeincrease) = -14;
7825 MY(size_min) = 5;
7826 MY(size_max) = 10;
7827 MY(tex_min) = 47;
7828 MY(tex_max) = 47;
7829 MY(type) = "static";
7830 MY(velocityjitter) = '8.0 8.0 16.0';
7831}
7832// plasma smoke
7833SUB(damage_vaporizer) {
7834 MY(airfriction) = -0.350000;
7835 MY(alpha_min) = 64;
7836 MY(alpha_max) = 16;
7837 MY(alpha_fade) = 64;
7838 MY(color_min) = "0x6688ff";
7839 MY(color_max) = "0x226688";
7840 MY(count) = 4;
7841 MY(originjitter) = '2.0 2.0 2.0';
7842 MY(startangle_max) = 180;
7843 MY(spin_min) = -30;
7844 MY(spin_max) = 30;
7845 MY(sizeincrease) = 8;
7846 MY(size_min) = 4;
7847 MY(size_max) = 8;
7848 MY(tex_max) = 8;
7849 MY(type) = "smoke";
7850 MY(velocityjitter) = '0.5 0.5 0.8';
7851}
7852// bouncing sparks
7853SUB(damage_vaporizer) {
7854 MY(airfriction) = 2;
7855 MY(alpha_min) = 255;
7856 MY(alpha_max) = 255;
7857 MY(alpha_fade) = 112;
7858 MY(bounce) = 1.600000;
7859 MY(color_min) = "0xD9FDFF";
7860 MY(color_max) = "0xD9FDFF";
7861 MY(count) = 0.200000;
7862 MY(gravity) = 1;
7863 MY(size_min) = 1;
7864 MY(size_max) = 1;
7865 MY(stretchfactor) = 0.700000;
7866 MY(tex_min) = 41;
7867 MY(tex_max) = 41;
7868 MY(type) = "spark";
7869 MY(velocityjitter) = '100.0 100.0 300.0';
7870 MY(velocitymultiplier) = 3;
7871}
7872
7873// rifle damage effect, normal blood
7874DEF(damage_rifle);
7875SUB(damage_rifle) {
7876 MY(airfriction) = 1;
7877 MY(alpha_min) = 256;
7878 MY(alpha_max) = 256;
7879 MY(alpha_fade) = 64;
7880 MY(bounce) = -1;
7881 MY(color_min) = "0xA8FFFF";
7882 MY(color_max) = "0xA8FFFFF";
7883 MY(count) = 0.300000;
7884 MY(liquidfriction) = 4;
7885 MY(size_min) = 2;
7886 MY(size_max) = 4;
7887 MY(staincolor_min) = "0x808080";
7888 MY(staincolor_max) = "0x808080";
7889 MY(staintex_min) = 16;
7890 MY(staintex_max) = 24;
7891 MY(tex_min) = 24;
7892 MY(tex_max) = 32;
7893 MY(type) = "blood";
7894 MY(velocityjitter) = '32.0 32.0 32.0';
7895 MY(velocitymultiplier) = 5;
7896}
7897// blood mist
7898SUB(damage_rifle) {
7899 MY(alpha_min) = 100;
7900 MY(alpha_max) = 256;
7901 MY(alpha_fade) = 400;
7902 MY(color_min) = "0x000000";
7903 MY(color_max) = "0x420000";
7904 MY(count) = 1;
7905 MY(size_min) = 6;
7906 MY(size_max) = 12;
7907 MY(tex_max) = 8;
7908 MY(type) = "alphastatic";
7909}
7910
7911// rifle damage effect, alien blood
7912DEF(alien_damage_rifle);
7913SUB(alien_damage_rifle) {
7914 MY(airfriction) = 1;
7915 MY(alpha_min) = 256;
7916 MY(alpha_max) = 256;
7917 MY(alpha_fade) = 64;
7918 MY(bounce) = -1;
7919 MY(color_min) = "0xDC9BCD";
7920 MY(color_max) = "0xDC9BCD";
7921 MY(count) = 0.300000;
7922 MY(liquidfriction) = 4;
7923 MY(size_min) = 2;
7924 MY(size_max) = 4;
7925 MY(staincolor_min) = "0x808080";
7926 MY(staincolor_max) = "0x808080";
7927 MY(staintex_min) = 16;
7928 MY(staintex_max) = 24;
7929 MY(tex_min) = 24;
7930 MY(tex_max) = 32;
7931 MY(type) = "blood";
7932 MY(velocityjitter) = '32.0 32.0 32.0';
7933 MY(velocitymultiplier) = 5;
7934}
7935// blood mist
7936SUB(alien_damage_rifle) {
7937 MY(alpha_min) = 100;
7938 MY(alpha_max) = 256;
7939 MY(alpha_fade) = 400;
7940 MY(color_min) = "0x000000";
7941 MY(color_max) = "0x204010";
7942 MY(count) = 1;
7943 MY(size_min) = 6;
7944 MY(size_max) = 12;
7945 MY(tex_max) = 8;
7946 MY(type) = "alphastatic";
7947}
7948
7949// rifle damage effect, robot blood
7950DEF(robot_damage_rifle);
7951SUB(robot_damage_rifle) {
7952 MY(airfriction) = 1;
7953 MY(alpha_min) = 256;
7954 MY(alpha_max) = 256;
7955 MY(alpha_fade) = 64;
7956 MY(bounce) = -1;
7957 MY(color_min) = "0xC0D890";
7958 MY(color_max) = "0xC0D890";
7959 MY(count) = 0.300000;
7960 MY(liquidfriction) = 4;
7961 MY(size_min) = 2;
7962 MY(size_max) = 4;
7963 MY(staincolor_min) = "0x808080";
7964 MY(staincolor_max) = "0x808080";
7965 MY(staintex_min) = 16;
7966 MY(staintex_max) = 24;
7967 MY(tex_min) = 24;
7968 MY(tex_max) = 32;
7969 MY(type) = "blood";
7970 MY(velocityjitter) = '32.0 32.0 32.0';
7971 MY(velocitymultiplier) = 5;
7972}
7973// blood mist
7974SUB(robot_damage_rifle) {
7975 MY(alpha_min) = 100;
7976 MY(alpha_max) = 256;
7977 MY(alpha_fade) = 400;
7978 MY(color_min) = "0x000000";
7979 MY(color_max) = "0x301860";
7980 MY(count) = 1;
7981 MY(size_min) = 6;
7982 MY(size_max) = 12;
7983 MY(tex_max) = 8;
7984 MY(type) = "alphastatic";
7985}
7986
7987// seeker damage effect
7988DEF(damage_seeker);
7989SUB(damage_seeker) {
7990 MY(alpha_min) = 512;
7991 MY(alpha_max) = 32;
7992 MY(alpha_fade) = 1024;
7993 MY(color_min) = "0x8f0c00";
7994 MY(color_max) = "0xff0022";
7995 MY(count) = 3;
7996 MY(gravity) = -0.300000;
7997 MY(notunderwater) = true;
7998 MY(originjitter) = '2.0 2.0 2.0';
7999 MY(sizeincrease) = -10;
8000 MY(size_min) = 6;
8001 MY(size_max) = 10;
8002 MY(tex_min) = 48;
8003 MY(tex_max) = 55;
8004 MY(type) = "smoke";
8005 MY(velocityjitter) = '22.0 22.0 50.0';
8006}
8007// smoke
8008SUB(damage_seeker) {
8009 MY(alpha_min) = 128;
8010 MY(alpha_max) = 32;
8011 MY(alpha_fade) = 128;
8012 MY(color_min) = "0x000000";
8013 MY(color_max) = "0x111111";
8014 MY(count) = 2;
8015 MY(gravity) = -0.300000;
8016 MY(notunderwater) = true;
8017 MY(originjitter) = '4.0 4.0 4.0';
8018 MY(sizeincrease) = 10;
8019 MY(size_min) = 3;
8020 MY(size_max) = 6;
8021 MY(tex_max) = 8;
8022 MY(type) = "alphastatic";
8023 MY(velocityjitter) = '11.0 11.0 50.0';
8024}
8025
8026// hagar damage effect
8027DEF(damage_hagar);
8028SUB(damage_hagar) {
8029 MY(alpha_min) = 512;
8030 MY(alpha_max) = 32;
8031 MY(alpha_fade) = 1024;
8032 MY(color_min) = "0x8f0c00";
8033 MY(color_max) = "0xff3a00";
8034 MY(count) = 3;
8035 MY(gravity) = -0.300000;
8036 MY(notunderwater) = true;
8037 MY(originjitter) = '2.0 2.0 2.0';
8038 MY(sizeincrease) = -10;
8039 MY(size_min) = 4;
8040 MY(size_max) = 8;
8041 MY(tex_min) = 48;
8042 MY(tex_max) = 55;
8043 MY(type) = "smoke";
8044 MY(velocityjitter) = '22.0 22.0 50.0';
8045}
8046// smoke
8047SUB(damage_hagar) {
8048 MY(alpha_min) = 128;
8049 MY(alpha_max) = 32;
8050 MY(alpha_fade) = 128;
8051 MY(color_min) = "0x000000";
8052 MY(color_max) = "0x111111";
8053 MY(count) = 2;
8054 MY(gravity) = -0.300000;
8055 MY(notunderwater) = true;
8056 MY(originjitter) = '4.0 4.0 4.0';
8057 MY(sizeincrease) = 10;
8058 MY(size_min) = 2;
8059 MY(size_max) = 4;
8060 MY(tex_max) = 8;
8061 MY(type) = "alphastatic";
8062 MY(velocityjitter) = '11.0 11.0 50.0';
8063}
8064
8065// fireball damage effect
8066DEF(damage_fireball);
8067SUB(damage_fireball) {
8068 MY(alpha_min) = 256;
8069 MY(alpha_max) = 16;
8070 MY(alpha_fade) = 512;
8071 MY(color_min) = "0x8f0d00";
8072 MY(color_max) = "0xff5a00";
8073 MY(count) = 4;
8074 MY(gravity) = -0.500000;
8075 MY(notunderwater) = true;
8076 MY(originjitter) = '8.0 8.0 8.0';
8077 MY(sizeincrease) = -10;
8078 MY(size_min) = 5;
8079 MY(size_max) = 10;
8080 MY(tex_min) = 48;
8081 MY(tex_max) = 55;
8082 MY(type) = "smoke";
8083 MY(velocityjitter) = '22.0 22.0 50.0';
8084}
8085// smoke
8086SUB(damage_fireball) {
8087 MY(alpha_min) = 128;
8088 MY(alpha_max) = 32;
8089 MY(alpha_fade) = 128;
8090 MY(color_min) = "0x000000";
8091 MY(color_max) = "0x111111";
8092 MY(count) = 4;
8093 MY(gravity) = -0.300000;
8094 MY(notunderwater) = true;
8095 MY(originjitter) = '6.0 6.0 6.0';
8096 MY(sizeincrease) = 10;
8097 MY(size_min) = 4;
8098 MY(size_max) = 8;
8099 MY(tex_max) = 8;
8100 MY(type) = "alphastatic";
8101 MY(velocityjitter) = '11.0 11.0 50.0';
8102}
8103
8104// rocketlauncher damage effect
8105DEF(damage_devastator);
8106SUB(damage_devastator) {
8107 MY(alpha_min) = 512;
8108 MY(alpha_max) = 64;
8109 MY(alpha_fade) = 1024;
8110 MY(color_min) = "0x8f0c00";
8111 MY(color_max) = "0xff2a00";
8112 MY(count) = 3;
8113 MY(gravity) = -0.700000;
8114 MY(notunderwater) = true;
8115 MY(originjitter) = '4.0 4.0 4.0';
8116 MY(sizeincrease) = -10;
8117 MY(size_min) = 5;
8118 MY(size_max) = 10;
8119 MY(tex_min) = 48;
8120 MY(tex_max) = 55;
8121 MY(type) = "smoke";
8122 MY(velocityjitter) = '22.0 22.0 30.0';
8123}
8124// smoke
8125SUB(damage_devastator) {
8126 MY(alpha_min) = 128;
8127 MY(alpha_max) = 32;
8128 MY(alpha_fade) = 128;
8129 MY(color_min) = "0x000000";
8130 MY(color_max) = "0x111111";
8131 MY(count) = 3;
8132 MY(gravity) = -0.300000;
8133 MY(notunderwater) = true;
8134 MY(originjitter) = '4.0 4.0 4.0';
8135 MY(sizeincrease) = 10;
8136 MY(size_min) = 4;
8137 MY(size_max) = 8;
8138 MY(tex_max) = 8;
8139 MY(type) = "alphastatic";
8140 MY(velocityjitter) = '11.0 11.0 50.0';
8141}
8142
8143// fireflies
8144DEF(fireflies);
8145SUB(fireflies) {
8146 MY(airfriction) = 5;
8147 MY(alpha_min) = 256;
8148 MY(alpha_max) = 256;
8149 MY(alpha_fade) = 70;
8150 MY(bounce) = -1;
8151 MY(color_min) = "0xff9600";
8152 MY(color_max) = "0xffefb8";
8153 MY(count) = 1;
8154 MY(originjitter) = '32.0 32.0 32.0';
8155 MY(originoffset) = '8.0 8.0 8.0';
8156 MY(sizeincrease) = -0.300000;
8157 MY(size_min) = 2;
8158 MY(size_max) = 3;
8159 MY(tex_min) = 38;
8160 MY(tex_max) = 38;
8161 MY(time_min) = 1;
8162 MY(time_max) = 2;
8163 MY(type) = "static";
8164 MY(velocityjitter) = '64.0 64.0 64.0';
8165 MY(velocityoffset) = '2.0 2.0 2.0';
8166}
8167
8168DEF(healray_muzzleflash);
8169SUB(healray_muzzleflash) {
8170 MY(alpha_min) = 256;
8171 MY(alpha_max) = 256;
8172 MY(alpha_fade) = 512;
8173 MY(color_min) = "0x283880";
8174 MY(color_max) = "0x283880";
8175 MY(countabsolute) = 1;
8176 MY(lightcolor) = '1.5 3.0 6.0';
8177 MY(lightradiusfade) = 2000;
8178 MY(lightradius) = 200;
8179 MY(originjitter) = '1.5 1.5 1.5';
8180 MY(sizeincrease) = -10;
8181 MY(size_min) = 20;
8182 MY(size_max) = 20;
8183 MY(tex_min) = 65;
8184 MY(tex_max) = 65;
8185 MY(type) = "smoke";
8186 MY(velocityjitter) = '6.0 6.0 6.0';
8187 MY(velocitymultiplier) = 0.010000;
8188}
8189SUB(healray_muzzleflash) {
8190 MY(airfriction) = 5;
8191 MY(alpha_min) = 50;
8192 MY(alpha_max) = 150;
8193 MY(alpha_fade) = 1924;
8194 MY(color_min) = "0xD9FDFF";
8195 MY(color_max) = "0x00f0ff";
8196 MY(count) = 22;
8197 MY(originjitter) = '1.0 1.0 1.0';
8198 MY(sizeincrease) = 3;
8199 MY(size_min) = 1;
8200 MY(size_max) = 15;
8201 MY(stretchfactor) = 3.900000;
8202 MY(tex_min) = 71;
8203 MY(tex_max) = 73;
8204 MY(type) = "spark";
8205 MY(velocityjitter) = '150.0 150.0 150.0';
8206 MY(velocitymultiplier) = 0.400000;
8207}
8208SUB(healray_muzzleflash) {
8209 MY(alpha_min) = 110;
8210 MY(alpha_max) = 228;
8211 MY(alpha_fade) = 4024;
8212 MY(color_min) = "0xD9FDFF";
8213 MY(color_max) = "0x00f0ff";
8214 MY(count) = 4;
8215 MY(originjitter) = '1.0 1.0 1.0';
8216 MY(size_min) = 1;
8217 MY(size_max) = 1;
8218 MY(stretchfactor) = 0.200000;
8219 MY(tex_min) = 70;
8220 MY(tex_max) = 70;
8221 MY(type) = "spark";
8222 MY(velocityjitter) = '650.0 650.0 650.0';
8223 MY(velocitymultiplier) = 1.100000;
8224}
8225
8226DEF(healray_impact);
8227SUB(healray_impact) {
8228 MY(alpha_min) = 256;
8229 MY(alpha_max) = 256;
8230 MY(color_min) = "0xd800ff";
8231 MY(color_max) = "0xd800ff";
8232 MY(countabsolute) = 1;
8233 MY(lightcolor) = '0.0 4.4 0.0';
8234 MY(lightradiusfade) = 450;
8235 MY(lightradius) = 125;
8236 MY(originjitter) = '17.0 17.0 17.0';
8237 MY(size_min) = 32;
8238 MY(size_max) = 32;
8239 MY(tex_min) = 59;
8240 MY(tex_max) = 59;
8241 MY(type) = "decal";
8242}
8243// shockwave
8244SUB(healray_impact) {
8245 MY(alpha_min) = 40;
8246 MY(alpha_max) = 40;
8247 MY(alpha_fade) = 350;
8248 MY(color_min) = "0x00ff00";
8249 MY(color_max) = "0x84c52f";
8250 MY(countabsolute) = 1;
8251 MY(sizeincrease) = 1400;
8252 MY(size_min) = 32;
8253 MY(size_max) = 32;
8254 MY(tex_min) = 33;
8255 MY(tex_max) = 33;
8256 MY(type) = "smoke";
8257 MY(velocitymultiplier) = 44;
8258}
8259// cloud of bouncing sparks
8260SUB(healray_impact) {
8261 MY(airfriction) = 6;
8262 MY(alpha_min) = 156;
8263 MY(alpha_max) = 300;
8264 MY(alpha_fade) = 1024;
8265 MY(color_min) = "0x00ff00";
8266 MY(color_max) = "0x84c52f";
8267 MY(count) = 30;
8268 MY(gravity) = 2;
8269 MY(originjitter) = '1.0 1.0 1.0';
8270 MY(size_min) = 1;
8271 MY(size_max) = 2;
8272 MY(tex_min) = 70;
8273 MY(tex_max) = 70;
8274 MY(type) = "spark";
8275 MY(velocityjitter) = '1112.0 1112.0 1112.0';
8276}
8277// inner cloud of smoke
8278SUB(healray_impact) {
8279 MY(airfriction) = 3;
8280 MY(alpha_min) = 200;
8281 MY(alpha_max) = 456;
8282 MY(alpha_fade) = 512;
8283 MY(color_min) = "0x00ff00";
8284 MY(color_max) = "0x84c52f";
8285 MY(count) = 15;
8286 MY(gravity) = -2;
8287 MY(startangle_min) = -180;
8288 MY(startangle_max) = 180;
8289 MY(spin_min) = -90;
8290 MY(spin_max) = 90;
8291 MY(size_min) = 2;
8292 MY(size_max) = 3;
8293 MY(tex_min) = 40;
8294 MY(tex_max) = 40;
8295 MY(type) = "smoke";
8296 MY(velocityjitter) = '120.0 120.0 420.0';
8297}
8298
8299DEF(bigplasma_muzzleflash);
8300SUB(bigplasma_muzzleflash) {
8301 MY(alpha_min) = 256;
8302 MY(alpha_max) = 256;
8303 MY(alpha_fade) = 812;
8304 MY(color_min) = "0x283880";
8305 MY(color_max) = "0x283880";
8306 MY(countabsolute) = 1;
8307 MY(lightcolor) = '1.5 3.0 6.0';
8308 MY(lightradiusfade) = 2000;
8309 MY(lightradius) = 200;
8310 MY(originjitter) = '1.5 1.5 1.5';
8311 MY(sizeincrease) = -10;
8312 MY(size_min) = 50;
8313 MY(size_max) = 50;
8314 MY(tex_min) = 65;
8315 MY(tex_max) = 65;
8316 MY(type) = "smoke";
8317 MY(velocityjitter) = '6.0 6.0 6.0';
8318 MY(velocitymultiplier) = 0.010000;
8319}
8320SUB(bigplasma_muzzleflash) {
8321 MY(alpha_min) = 56;
8322 MY(alpha_max) = 56;
8323 MY(alpha_fade) = 1112;
8324 MY(color_min) = "0x00f0ff";
8325 MY(color_max) = "0x00f0ff";
8326 MY(countabsolute) = 1;
8327 MY(sizeincrease) = 300;
8328 MY(size_min) = 20;
8329 MY(size_max) = 20;
8330 MY(tex_min) = 74;
8331 MY(tex_max) = 74;
8332 MY(type) = "smoke";
8333}
8334SUB(bigplasma_muzzleflash) {
8335 MY(airfriction) = 5;
8336 MY(alpha_min) = 50;
8337 MY(alpha_max) = 150;
8338 MY(alpha_fade) = 1924;
8339 MY(color_min) = "0xD9FDFF";
8340 MY(color_max) = "0x00f0ff";
8341 MY(count) = 14;
8342 MY(originjitter) = '1.0 1.0 1.0';
8343 MY(sizeincrease) = 135;
8344 MY(size_min) = 5;
8345 MY(size_max) = 10;
8346 MY(stretchfactor) = 1.900000;
8347 MY(tex_min) = 51;
8348 MY(tex_max) = 55;
8349 MY(type) = "spark";
8350 MY(velocityjitter) = '350.0 350.0 350.0';
8351 MY(velocitymultiplier) = 0.400000;
8352}
8353SUB(bigplasma_muzzleflash) {
8354 MY(alpha_min) = 110;
8355 MY(alpha_max) = 228;
8356 MY(alpha_fade) = 4024;
8357 MY(color_min) = "0xD9FDFF";
8358 MY(color_max) = "0x00f0ff";
8359 MY(count) = 4;
8360 MY(originjitter) = '1.0 1.0 1.0';
8361 MY(size_min) = 20;
8362 MY(size_max) = 20;
8363 MY(stretchfactor) = 0.200000;
8364 MY(tex_min) = 70;
8365 MY(tex_max) = 70;
8366 MY(type) = "spark";
8367 MY(velocityjitter) = '650.0 650.0 650.0';
8368 MY(velocitymultiplier) = 1.100000;
8369}
8370
8371DEF(bigplasma_impact);
8372SUB(bigplasma_impact) {
8373 MY(alpha_min) = 256;
8374 MY(alpha_max) = 256;
8375 MY(countabsolute) = 1;
8376 MY(lightcolor) = '3.1 4.4 10.0';
8377 MY(lightradiusfade) = 450;
8378 MY(lightradius) = 125;
8379 MY(originjitter) = '17.0 17.0 17.0';
8380 MY(size_min) = 32;
8381 MY(size_max) = 32;
8382 MY(tex_min) = 59;
8383 MY(tex_max) = 59;
8384 MY(type) = "decal";
8385}
8386// shockwave
8387SUB(bigplasma_impact) {
8388 MY(alpha_min) = 40;
8389 MY(alpha_max) = 40;
8390 MY(alpha_fade) = 350;
8391 MY(color_min) = "0x80C0FF";
8392 MY(color_max) = "0x80C0FF";
8393 MY(countabsolute) = 1;
8394 MY(sizeincrease) = 1400;
8395 MY(size_min) = 32;
8396 MY(size_max) = 32;
8397 MY(tex_min) = 33;
8398 MY(tex_max) = 33;
8399 MY(type) = "smoke";
8400 MY(velocitymultiplier) = 44;
8401}
8402// cloud of bouncing sparks
8403SUB(bigplasma_impact) {
8404 MY(airfriction) = 6;
8405 MY(alpha_min) = 156;
8406 MY(alpha_max) = 300;
8407 MY(alpha_fade) = 1024;
8408 MY(color_min) = "0x629dff";
8409 MY(color_max) = "0x0018ff";
8410 MY(count) = 30;
8411 MY(gravity) = 2;
8412 MY(originjitter) = '1.0 1.0 1.0';
8413 MY(size_min) = 1;
8414 MY(size_max) = 2;
8415 MY(tex_min) = 70;
8416 MY(tex_max) = 70;
8417 MY(type) = "spark";
8418 MY(velocityjitter) = '1512.0 1512.0 1512.0';
8419}
8420// inner cloud of smoke
8421SUB(bigplasma_impact) {
8422 MY(airfriction) = 30;
8423 MY(alpha_min) = 200;
8424 MY(alpha_max) = 456;
8425 MY(alpha_fade) = 1512;
8426 MY(color_min) = "0x629dff";
8427 MY(color_max) = "0x0018ff";
8428 MY(count) = 15;
8429 MY(originjitter) = '20.0 20.0 20.0';
8430 MY(startangle_min) = -180;
8431 MY(startangle_max) = 180;
8432 MY(spin_min) = -9;
8433 MY(spin_max) = 9;
8434 MY(sizeincrease) = 555;
8435 MY(size_min) = 20;
8436 MY(size_max) = 24;
8437 MY(tex_min) = 48;
8438 MY(tex_max) = 55;
8439 MY(type) = "smoke";
8440 MY(velocityjitter) = '320.0 320.0 320.0';
8441}
8442// smoke
8443SUB(bigplasma_impact) {
8444 MY(airfriction) = 0.040000;
8445 MY(alpha_min) = 128;
8446 MY(alpha_max) = 328;
8447 MY(alpha_fade) = 390;
8448 MY(blend) = "alpha";
8449 MY(color_min) = "0x222222";
8450 MY(color_max) = "0x000000";
8451 MY(count) = 16;
8452 MY(gravity) = 0.400000;
8453 MY(originjitter) = '80.0 80.0 10.0';
8454 MY(startangle_min) = -180;
8455 MY(startangle_max) = 180;
8456 MY(spin_min) = 2;
8457 MY(spin_max) = -2;
8458 MY(sizeincrease) = 30;
8459 MY(size_min) = 60;
8460 MY(size_max) = 30;
8461 MY(tex_max) = 7;
8462 MY(type) = "smoke";
8463 MY(velocityjitter) = '100.0 100.0 200.0';
8464 MY(velocityoffset) = '0.0 0.0 180.0';
8465}
8466// smoke in the middle
8467SUB(bigplasma_impact) {
8468 MY(airfriction) = 0.040000;
8469 MY(alpha_min) = 128;
8470 MY(alpha_max) = 328;
8471 MY(alpha_fade) = 310;
8472 MY(color_min) = "0x222222";
8473 MY(color_max) = "0x000000";
8474 MY(count) = 10;
8475 MY(gravity) = -0.200000;
8476 MY(originjitter) = '80.0 80.0 80.0';
8477 MY(startangle_min) = -180;
8478 MY(startangle_max) = 180;
8479 MY(spin_min) = 20;
8480 MY(spin_max) = -20;
8481 MY(sizeincrease) = -10;
8482 MY(size_min) = 60;
8483 MY(size_max) = 70;
8484 MY(tex_max) = 7;
8485 MY(type) = "alphastatic";
8486 MY(velocityjitter) = '10.0 10.0 10.0';
8487}
8488
8489#include "effectinfo_ctf.inc"
8490
8491// spawn_point -- team idle spawn point effect
8492#define spawn_point(name, color) \
8493 DEF(spawn_point_##name); \
8494 SUB(spawn_point_##name) { \
8495 MY(airfriction) = 0.200000; \
8496 MY(alpha_min) = 64; \
8497 MY(alpha_max) = 128; \
8498 MY(alpha_fade) = 128; \
8499 MY(color_min) = color; \
8500 MY(color_max) = color; \
8501 MY(count) = 37.500000; \
8502 MY(gravity) = -0.100000; \
8503 MY(liquidfriction) = 0.800000; \
8504 MY(originjitter) = '16.0 16.0 64.0'; \
8505 MY(size_min) = 1; \
8506 MY(size_max) = 2; \
8507 MY(type) = "static"; \
8508 MY(velocityjitter) = '32.0 32.0 0.0'; \
8509 }
8510
8511spawn_point(red, "0xFF0F0F")
8512spawn_point(blue, "0x0F0FFF")
8513spawn_point(yellow, "0xFFFF0F")
8514spawn_point(pink, "0xFF0FFF")
8515spawn_point(neutral, "0xFFFFFF")
8516#undef spawn_point
8517
8518// spawn_event -- team spawning effect
8519#define spawn_event(name, color) \
8520 DEF(spawn_event_##name); \
8521 SUB(spawn_event_##name) { \
8522 MY(airfriction) = 2; \
8523 MY(alpha_max) = 256; \
8524 MY(alpha_fade) = 256; \
8525 MY(bounce) = 1; \
8526 MY(color_min) = color; \
8527 MY(color_max) = color; \
8528 MY(count) = 100; \
8529 MY(originjitter) = '1.0 1.0 1.0'; \
8530 MY(size_min) = 1; \
8531 MY(size_max) = 1; \
8532 MY(stretchfactor) = 0.600000; \
8533 MY(tex_min) = 64; \
8534 MY(tex_max) = 64; \
8535 MY(type) = "spark"; \
8536 MY(velocityjitter) = '500.0 500.0 500.0'; \
8537 MY(velocitymultiplier) = 0.100000; \
8538 } \
8539 SUB(spawn_event_##name) { \
8540 MY(alpha_min) = 190; \
8541 MY(alpha_max) = 190; \
8542 MY(alpha_fade) = 180; \
8543 MY(color_min) = color; \
8544 MY(color_max) = color; \
8545 MY(countabsolute) = 1; \
8546 MY(sizeincrease) = -80; \
8547 MY(size_min) = 100; \
8548 MY(size_max) = 100; \
8549 MY(tex_min) = 65; \
8550 MY(tex_max) = 65; \
8551 MY(type) = "smoke"; \
8552 } \
8553 /**/
8554
8555spawn_event(red, "0xFF0F0F")
8556spawn_event(blue, "0x0F0FFF")
8557spawn_event(yellow, "0xFFFF0F")
8558spawn_event(pink, "0xFF0FFF")
8559spawn_event(neutral, "0xFFFFFF")
8560#undef spawn_event
8561
8562#include "effectinfo_nades.inc"
8563
8564DEF(shockwave_attack);
8565// electricity
8566SUB(shockwave_attack) {
8567 MY(airfriction) = 1;
8568 MY(alpha_min) = 4096;
8569 MY(alpha_max) = 4096;
8570 MY(alpha_fade) = 20000;
8571 MY(color_min) = "0xb44215";
8572 MY(color_max) = "0xff0000";
8573 MY(count) = 1;
8574 MY(originjitter) = '2.0 2.0 2.0';
8575 MY(startangle_min) = -180;
8576 MY(startangle_max) = 180;
8577 MY(spin_min) = 4000;
8578 MY(spin_max) = -4000;
8579 MY(sizeincrease) = 1.500000;
8580 MY(size_min) = 5;
8581 MY(size_max) = 7;
8582 MY(stretchfactor) = 2.300000;
8583 MY(tex_min) = 43;
8584 MY(tex_max) = 43;
8585 MY(type) = "spark";
8586 MY(velocityjitter) = '10.0 10.0 10.0';
8587 MY(velocitymultiplier) = 10;
8588}
8589// fire
8590SUB(shockwave_attack) {
8591 MY(airfriction) = 1;
8592 MY(alpha_min) = 4096;
8593 MY(alpha_max) = 4096;
8594 MY(alpha_fade) = 20000;
8595 MY(color_min) = "0xff4200";
8596 MY(color_max) = "0xff0000";
8597 MY(count) = 1;
8598 MY(originjitter) = '2.0 2.0 2.0';
8599 MY(sizeincrease) = 1.500000;
8600 MY(size_min) = 7;
8601 MY(size_max) = 9;
8602 MY(stretchfactor) = 2;
8603 MY(tex_min) = 8;
8604 MY(tex_max) = 15;
8605 MY(type) = "spark";
8606 MY(velocityjitter) = '10.0 10.0 10.0';
8607 MY(velocitymultiplier) = 10;
8608}
8609
8610DEF(arc_lightning);
8611// impact decal
8612SUB(arc_lightning) {
8613 MY(alpha_min) = 32;
8614 MY(alpha_max) = 32;
8615 MY(countabsolute) = 1;
8616 MY(lightcolor) = '3.1 4.4 10.0';
8617 MY(lightradiusfade) = 200;
8618 MY(lightradius) = 50;
8619 MY(originjitter) = '2.0 2.0 2.0';
8620 MY(size_min) = 16;
8621 MY(size_max) = 16;
8622 MY(tex_min) = 16;
8623 MY(tex_max) = 32;
8624 MY(type) = "decal";
8625}
8626// impact sparks
8627SUB(arc_lightning) {
8628 MY(airfriction) = 110;
8629 MY(alpha_min) = 256;
8630 MY(alpha_max) = 256;
8631 MY(alpha_fade) = 512;
8632 MY(color_min) = "0xDDFDFF";
8633 MY(color_max) = "0xFDFDFF";
8634 MY(count) = 100;
8635 MY(originjitter) = '20.0 20.0 20.0';
8636 MY(startangle_max) = 360;
8637 MY(spin_min) = -36000;
8638 MY(spin_max) = 36000;
8639 MY(sizeincrease) = -5;
8640 MY(size_max) = 5;
8641 MY(stretchfactor) = 1;
8642 MY(tex_min) = 71;
8643 MY(tex_max) = 74;
8644 MY(type) = "static";
8645 MY(velocityjitter) = '250.0 250.0 250.0';
8646 MY(velocitymultiplier) = 100;
8647}
8648// impact sparks (underwater)
8649SUB(arc_lightning) {
8650 MY(airfriction) = 5;
8651 MY(alpha_min) = 256;
8652 MY(alpha_max) = 256;
8653 MY(alpha_fade) = 512;
8654 MY(color_min) = "0xDDFDFF";
8655 MY(color_max) = "0xFDFDFF";
8656 MY(count) = 100;
8657 MY(liquidfriction) = 5;
8658 MY(orientation) = "spark";
8659 MY(originjitter) = '20.0 20.0 20.0';
8660 MY(startangle_max) = 360;
8661 MY(spin_min) = -36000;
8662 MY(spin_max) = 36000;
8663 MY(sizeincrease) = -5;
8664 MY(size_max) = 5;
8665 MY(stretchfactor) = 1;
8666 MY(tex_min) = 71;
8667 MY(tex_max) = 74;
8668 MY(type) = "static";
8669 MY(underwater) = true;
8670 MY(velocityjitter) = '250.0 250.0 250.0';
8671 MY(velocitymultiplier) = 20;
8672}
8673// impact smoke
8674SUB(arc_lightning) {
8675 MY(alpha_min) = 40;
8676 MY(alpha_max) = 40;
8677 MY(alpha_fade) = 350;
8678 MY(color_min) = "0x80C0FF";
8679 MY(color_max) = "0x80C0FF";
8680 MY(countabsolute) = 1;
8681 MY(sizeincrease) = 400;
8682 MY(size_min) = 4;
8683 MY(size_max) = 4;
8684 MY(tex_min) = 38;
8685 MY(tex_max) = 38;
8686 MY(type) = "smoke";
8687 MY(velocitymultiplier) = 100;
8688}
8689
8691// sparks on beam
8693 MY(airfriction) = -10;
8694 MY(alpha_min) = 256;
8695 MY(alpha_max) = 256;
8696 MY(alpha_fade) = 16384;
8697 MY(color_min) = "0xfafad2";
8698 MY(color_max) = "0xffffff";
8699 MY(originjitter) = '3.0 3.0 3.0';
8700 MY(relativeoriginoffset) = '10.0 0.0 0.0';
8701 MY(startangle_max) = 360;
8702 MY(spin_min) = 360;
8703 MY(spin_max) = 1000;
8704 MY(stretchfactor) = 1;
8705 MY(tex_min) = 71;
8706 MY(tex_max) = 74;
8707 MY(time_min) = 0.050000;
8708 MY(time_max) = 0.050000;
8709 MY(trailspacing) = 10;
8710 MY(type) = "spark";
8711 MY(velocityjitter) = '100.0 100.0 100.0';
8712 MY(velocitymultiplier) = 200;
8713}
8714// sparks on beam (underwater)
8715SUB(arc_beam) {
8716 MY(alpha_min) = 256;
8717 MY(alpha_max) = 256;
8718 MY(alpha_fade) = 16384;
8719 MY(color_min) = "0xfafad2";
8720 MY(color_max) = "0xffffff";
8721 MY(liquidfriction) = -10;
8722 MY(originjitter) = '30.0 30.0 30.0';
8723 MY(relativeoriginoffset) = '10.0 0.0 0.0';
8724 MY(startangle_max) = 360;
8725 MY(spin_min) = 360;
8726 MY(spin_max) = 1000;
8727 MY(stretchfactor) = 1;
8728 MY(tex_min) = 71;
8729 MY(tex_max) = 74;
8730 MY(time_min) = 0.001000;
8731 MY(time_max) = 0.001000;
8732 MY(trailspacing) = 10;
8733 MY(type) = "spark";
8734 MY(underwater) = true;
8735 MY(velocityjitter) = '100.0 100.0 100.0';
8736 MY(velocitymultiplier) = 200;
8737}
8738
8739DEF(arc_beam_heal);
8740// bubble this...
8741SUB(arc_beam_heal) {
8742 MY(airfriction) = -20;
8743 MY(alpha_min) = 2048;
8744 MY(alpha_max) = 2048;
8745 MY(alpha_fade) = 256;
8746 MY(color_min) = "0x20FF20";
8747 MY(color_max) = "0x40FF40";
8748 MY(relativeoriginoffset) = '5.0 0.0 0.0';
8749 MY(relativevelocityoffset) = '100.0 0.0 0.0';
8750 MY(sizeincrease) = 20;
8751 MY(size_min) = 0.100000;
8752 MY(size_max) = 0.100000;
8753 MY(tex_min) = 74;
8754 MY(tex_max) = 74;
8755 MY(trailspacing) = 1500;
8756 MY(type) = "smoke";
8757 MY(velocityjitter) = '3.0 3.0 3.0';
8758 MY(velocitymultiplier) = 200;
8759}
8760
8761DEF(arc_beam_healimpact);
8762// healing "aura"
8763SUB(arc_beam_healimpact) {
8764 MY(alpha_min) = 40;
8765 MY(alpha_max) = 40;
8766 MY(alpha_fade) = 350;
8767 MY(color_min) = "0x00ff00";
8768 MY(color_max) = "0x84c52f";
8769 MY(countabsolute) = 1;
8770 MY(lightcolor) = '0.0 4.4 0.0';
8771 MY(lightradiusfade) = 150;
8772 MY(lightradius) = 20;
8773 MY(sizeincrease) = -1000;
8774 MY(size_min) = 32;
8775 MY(size_max) = 32;
8776 MY(tex_min) = 33;
8777 MY(tex_max) = 33;
8778 MY(type) = "smoke";
8779 MY(velocitymultiplier) = 44;
8780}
8781// rising "smoke"
8782SUB(arc_beam_healimpact) {
8783 MY(airfriction) = 3;
8784 MY(alpha_min) = 200;
8785 MY(alpha_max) = 456;
8786 MY(alpha_fade) = 512;
8787 MY(color_min) = "0x00ff00";
8788 MY(color_max) = "0x84c52f";
8789 MY(count) = 15;
8790 MY(gravity) = -2;
8791 MY(startangle_min) = -180;
8792 MY(startangle_max) = 180;
8793 MY(spin_min) = -90;
8794 MY(spin_max) = 90;
8795 MY(size_min) = 0.500000;
8796 MY(size_max) = 1;
8797 MY(tex_min) = 40;
8798 MY(tex_max) = 40;
8799 MY(type) = "smoke";
8800 MY(velocityjitter) = '120.0 120.0 420.0';
8801}
8802
8803DEF(arc_smoke);
8804// arc heat smoke (notunderwater)
8805SUB(arc_smoke) {
8806 MY(airfriction) = 1;
8807 MY(alpha_min) = 32;
8808 MY(alpha_max) = 64;
8809 MY(alpha_fade) = 48;
8810 MY(color_min) = "0x4c453f";
8811 MY(color_max) = "0x2a241f";
8812 MY(count) = 2;
8813 MY(gravity) = -0.125000;
8814 MY(notunderwater) = true;
8815 MY(startangle_max) = 360;
8816 MY(spin_min) = -180;
8817 MY(spin_max) = 180;
8818 MY(sizeincrease) = 10;
8819 MY(size_min) = 5;
8820 MY(size_max) = 10;
8821 MY(tex_max) = 8;
8822 MY(type) = "smoke";
8823 MY(velocityjitter) = '0.0 0.0 16.0';
8824}
8825// arc heat bubbles (underwater)
8826SUB(arc_smoke) {
8827 MY(alpha_min) = 170;
8828 MY(alpha_max) = 256;
8829 MY(alpha_fade) = 64;
8830 MY(bounce) = 1.500000;
8831 MY(color_min) = "0x404040";
8832 MY(color_max) = "0x808080";
8833 MY(count) = 2;
8834 MY(gravity) = -0.125000;
8835 MY(liquidfriction) = 0.250000;
8836 MY(originjitter) = '6.0 6.0 6.0';
8837 MY(size_min) = 0.100000;
8838 MY(size_max) = 1;
8839 MY(tex_min) = 62;
8840 MY(tex_max) = 62;
8841 MY(type) = "bubble";
8842 MY(underwater) = true;
8843 MY(velocityjitter) = '16.0 16.0 16.0';
8844}
8845
8847// arc overheat electric bolts
8849 MY(airfriction) = 5;
8850 MY(alpha_min) = 128;
8851 MY(alpha_max) = 128;
8852 MY(alpha_fade) = 292;
8853 MY(color_min) = "0xffffff";
8854 MY(color_max) = "0x9271fb";
8855 MY(count) = 24;
8856 MY(gravity) = -0.400000;
8857 MY(liquidfriction) = 10;
8858 MY(originjitter) = '10.0 10.0 10.0';
8859 MY(sizeincrease) = -24;
8860 MY(size_min) = 6;
8861 MY(size_max) = 12;
8862 MY(tex_min) = 43;
8863 MY(tex_max) = 43;
8864 MY(type) = "spark";
8865 MY(velocityjitter) = '256.0 256.0 256.0';
8866}
8867
8868DEF(arc_overheat_fire);
8869// arc overheat bouncing sparks
8870SUB(arc_overheat_fire) {
8871 MY(alpha_max) = 256;
8872 MY(alpha_fade) = 640;
8873 MY(bounce) = 1.500000;
8874 MY(color_min) = "0x4444ff";
8875 MY(color_max) = "0xeeeeff";
8876 MY(count) = 1;
8877 MY(gravity) = 1;
8878 MY(liquidfriction) = 5;
8879 MY(originjitter) = '6.0 6.0 6.0';
8880 MY(size_min) = 0.400000;
8881 MY(size_max) = 1;
8882 MY(type) = "spark";
8883 MY(velocityjitter) = '92.0 92.0 92.0';
8884 MY(velocitymultiplier) = 80;
8885 MY(velocityoffset) = '0.0 0.0 80.0';
8886}
8887
8888#include "effectinfo_buffs.inc"
8889
8890#include "effectinfo_instagib.inc"
8891
8892DEF(arc_muzzleflash);
8893SUB(arc_muzzleflash) {
8894 MY(alpha_min) = 256;
8895 MY(alpha_max) = 256;
8896 MY(alpha_fade) = 512;
8897 MY(color_min) = "0x00ff00";
8898 MY(color_max) = "0x8f4333";
8899 MY(count) = 2;
8900 MY(lightcolor) = '0.3 2.0 0.2';
8901 MY(lightradiusfade) = 2000;
8902 MY(lightradius) = 200;
8903 MY(originjitter) = '1.5 1.5 1.5';
8904 MY(size_min) = 5;
8905 MY(size_max) = 5;
8906 MY(tex_max) = 8;
8907 MY(type) = "smoke";
8908 MY(velocityjitter) = '6.0 6.0 6.0';
8909 MY(velocitymultiplier) = 0.010000;
8910}
8911SUB(arc_muzzleflash) {
8912 MY(airfriction) = 12;
8913 MY(alpha_max) = 128;
8914 MY(alpha_fade) = 1024;
8915 MY(color_min) = "0x00ff00";
8916 MY(color_max) = "0x8f4333";
8917 MY(count) = 15;
8918 MY(originjitter) = '1.0 1.0 1.0';
8919 MY(startangle_min) = -180;
8920 MY(startangle_max) = 180;
8921 MY(spin_min) = -400;
8922 MY(spin_max) = 400;
8923 MY(size_min) = 5;
8924 MY(size_max) = 10;
8925 MY(stretchfactor) = 2;
8926 MY(tex_min) = 48;
8927 MY(tex_max) = 55;
8928 MY(type) = "spark";
8929 MY(velocityjitter) = '200.0 200.0 200.0';
8930 MY(velocitymultiplier) = 0.500000;
8931}
8932
8933DEF(arc_bolt_explode);
8934// decal
8935SUB(arc_bolt_explode) {
8936 MY(alpha_min) = 256;
8937 MY(alpha_max) = 256;
8938 MY(countabsolute) = 1;
8939 MY(lightcolor) = '8.0 4.0 1.0';
8940 MY(lightradiusfade) = 400;
8941 MY(lightradius) = 120;
8942 MY(originjitter) = '14.0 14.0 14.0';
8943 MY(size_min) = 28;
8944 MY(size_max) = 38;
8945 MY(tex_min) = 8;
8946 MY(tex_max) = 16;
8947 MY(type) = "decal";
8948}
8949// fire effect which make bright dot inside
8950SUB(arc_bolt_explode) {
8951 MY(airfriction) = 8;
8952 MY(alpha_min) = 80;
8953 MY(alpha_max) = 200;
8954 MY(alpha_fade) = 356;
8955 MY(bounce) = 1.500000;
8956 MY(color_min) = "0x00ffff";
8957 MY(color_max) = "0x00ffff";
8958 MY(count) = 3.500000;
8959 MY(liquidfriction) = 8;
8960 MY(notunderwater) = true;
8961 MY(originjitter) = '8.0 8.0 8.0';
8962 MY(sizeincrease) = 5;
8963 MY(size_min) = 16;
8964 MY(size_max) = 26;
8965 MY(tex_min) = 48;
8966 MY(tex_max) = 55;
8967 MY(type) = "smoke";
8968 MY(velocityjitter) = '156.0 156.0 156.0';
8969}
8970// fire effect which expands then slows
8971SUB(arc_bolt_explode) {
8972 MY(airfriction) = 12;
8973 MY(alpha_min) = 128;
8974 MY(alpha_max) = 256;
8975 MY(alpha_fade) = 456;
8976 MY(bounce) = 1.500000;
8977 MY(color_min) = "0x00ff00";
8978 MY(color_max) = "0x8f4333";
8979 MY(count) = 12;
8980 MY(liquidfriction) = 8;
8981 MY(notunderwater) = true;
8982 MY(originjitter) = '8.0 8.0 8.0';
8983 MY(sizeincrease) = 15;
8984 MY(size_min) = 20;
8985 MY(size_max) = 26;
8986 MY(tex_min) = 48;
8987 MY(tex_max) = 55;
8988 MY(type) = "static";
8989 MY(velocityjitter) = '286.0 286.0 286.0';
8990}
8991// underwater bubbles
8992SUB(arc_bolt_explode) {
8993 MY(alpha_min) = 128;
8994 MY(alpha_max) = 256;
8995 MY(alpha_fade) = 64;
8996 MY(bounce) = 1.500000;
8997 MY(color_min) = "0x404040";
8998 MY(color_max) = "0x808080";
8999 MY(count) = 16;
9000 MY(gravity) = -0.125000;
9001 MY(liquidfriction) = 0.250000;
9002 MY(originjitter) = '16.0 16.0 16.0';
9003 MY(size_min) = 3;
9004 MY(size_max) = 3;
9005 MY(tex_min) = 62;
9006 MY(tex_max) = 62;
9007 MY(type) = "bubble";
9008 MY(underwater) = true;
9009 MY(velocityjitter) = '96.0 96.0 96.0';
9010}
9011// bouncing sparks
9012SUB(arc_bolt_explode) {
9013 MY(airfriction) = 1;
9014 MY(alpha_min) = 644;
9015 MY(alpha_max) = 956;
9016 MY(alpha_fade) = 684;
9017 MY(bounce) = 1.600000;
9018 MY(color_min) = "0x00ff00";
9019 MY(color_max) = "0x8f4333";
9020 MY(count) = 16;
9021 MY(gravity) = 1;
9022 MY(liquidfriction) = 0.800000;
9023 MY(notunderwater) = true;
9024 MY(originjitter) = '16.0 16.0 16.0';
9025 MY(size_min) = 1;
9026 MY(size_max) = 0.100000;
9027 MY(tex_min) = 40;
9028 MY(tex_max) = 40;
9029 MY(type) = "spark";
9030 MY(velocityjitter) = '224.0 224.0 224.0';
9031 MY(velocityoffset) = '0.0 0.0 80.0';
9032}
9033
9034// weak bullet trail (somewhat like a tracer)
9035DEF(tr_bullet_weak);
9036SUB(tr_bullet_weak) {
9037 MY(alpha) = '75 100 3000';
9038 MY(color_min) = "0xf03000";
9039 MY(color_max) = "0xff6010";
9040 MY(countabsolute) = 1;
9041 MY(sizeincrease) = -3;
9042 MY(size_min) = 0.6;
9043 MY(size_max) = 0.8;
9044 my(tex_min) = 200;
9045 my(tex_max) = 200;
9046 MY(type) = "beam";
9047}
9048SUB(tr_bullet_weak) {
9049 MY(airfriction) = -4;
9050 MY(alpha) = '256 256 350';
9051 MY(color_min) = "0x202020";
9052 MY(color_max) = "0x404040";
9053 MY(notunderwater) = true;
9054 MY(sizeincrease) = 0.4;
9055 MY(size_min) = 1;
9056 MY(size_max) = 2;
9057 MY(tex_min) = 0;
9058 MY(tex_max) = 8;
9059 MY(trailspacing) = 16;
9060 MY(type) = "smoke";
9061 MY(velocityjitter) = '4 4 4';
9062}
9063SUB(tr_bullet_weak) {
9064 MY(alpha_min) = 256;
9065 MY(alpha_max) = 256;
9066 MY(alpha_fade) = 128;
9067 MY(bounce) = 1.500000;
9068 MY(color_min) = "0x404040";
9069 MY(color_max) = "0x808080";
9070 MY(gravity) = -0.125000;
9071 MY(liquidfriction) = 4;
9072 MY(size_min) = 0.5;
9073 MY(size_max) = 0.6;
9074 MY(tex_min) = 62;
9075 MY(tex_max) = 62;
9076 MY(trailspacing) = 32;
9077 MY(type) = "bubble";
9078 MY(underwater) = true;
9079 MY(velocityjitter) = '16.0 16.0 16.0';
9080}
9081
9082// Vaporizer hit effect
9083DEF(TE_TEI_G3_HIT);
9084SUB(TE_TEI_G3_HIT) {
9085 MY(alpha_min) = 128;
9086 MY(alpha_max) = 128;
9087 MY(alpha_fade) = 256;
9088 MY(color_min) = "0xFFFFFF";
9089 MY(color_max) = "0xFFFFFF";
9090 MY(countabsolute) = 1;
9091 MY(size_min) = 8;
9092 MY(size_max) = 8;
9093 MY(tex_min) = 200;
9094 MY(tex_max) = 200;
9095 MY(type) = "beam";
9096}
9097SUB(TE_TEI_G3_HIT) /* rings */ {
9098 MY(airfriction) = -4;
9101 MY(alpha_fade) = 512;
9102 MY(color_min) = "0xFFFFFF";
9103 MY(color_max) = "0xFFFFFF";
9104 MY(sizeincrease) = -2;
9105 MY(size_min) = 2;
9106 MY(size_max) = 2;
9107 MY(trailspacing) = 20;
9108 MY(type) = "smoke";
9109 MY(velocityjitter) = '2.0 2.0 2.0';
9110}
9111SUB(TE_TEI_G3_HIT) {
9112 MY(airfriction) = -4;
9113 MY(alpha_min) = 256;
9114 MY(alpha_max) = 256;
9115 MY(alpha_fade) = 512;
9116 MY(color_min) = "0xFFFFFF";
9117 MY(color_max) = "0xFFFFFF";
9118 MY(sizeincrease) = -6;
9119 MY(size_min) = 10;
9120 MY(size_max) = 10;
9121 MY(trailspacing) = 40;
9122 MY(type) = "smoke";
9123}
9124
9125// respawn ghosts effect
9126DEF(respawn_ghost);
9127SUB(respawn_ghost) {
9128 MY(count) = 75;
9129 MY(type) = "static";
9130 MY(color_min) = "0xA0A0A0";
9131 MY(color_max) = "0xFFFFFF";
9132 MY(size_min) = 2;
9133 MY(size_max) = 2;
9134 MY(alpha_min) = 32;
9135 MY(alpha_max) = 64;
9136 MY(alpha_fade) = 128;
9137 MY(airfriction) = 1;
9138 MY(liquidfriction) = 4;
9139 MY(originoffset) = '0 0 -8';
9140 MY(originjitter) = '28 28 16';
9141 MY(velocityjitter) = '0 0 256';
9142}
9143
9144// originally based on goldendust
9145DEF(item_despawn);
9146SUB(item_despawn) {
9147 MY(type) = "snow";
9148// MY(type) = "smoke";
9149 MY(blend) = "add";
9150 MY(alpha_min) = 192;
9151 MY(alpha_max) = 256;
9152 MY(alpha_fade) = 256;
9153 MY(color_min) = "0xff9600";
9154 MY(color_max) = "0xffefb8";
9155 MY(count) = 32;
9156 MY(originjitter) = '8 8 8';
9157 MY(sizeincrease) = 1;
9158 MY(size_min) = 0.5;
9159 MY(size_max) = 1;
9160 MY(tex_min) = 48;
9161 MY(tex_max) = 55;
9162 MY(velocityjitter) = '16 16 32';
9163 MY(lightradius) = 48;
9164 MY(lightradiusfade) 64;
9165 MY(lightcolor) '1 0.75 0.36';
9166 MY(lightshadow) 1;
9167}
9168
9169DEF(hlac_muzzleflash);
9170// glow and light
9171SUB(hlac_muzzleflash) {
9172 MY(airfriction) = 10;
9173 MY(alpha_min) = 128;
9174 MY(alpha_max) = 256;
9175 MY(alpha_fade) = 6280;
9176 MY(color_min) = "0x00cc00";
9177 MY(color_max) = "0x00ff00";
9178 MY(countabsolute) = 1;
9179 MY(lightcolor) = '0.4 0.8 0.2';
9180 MY(lightradiusfade) = 2000;
9181 MY(lightradius) = 100;
9182 MY(sizeincrease) = -100;
9183 MY(size_min) = 2;
9184 MY(size_max) = 5;
9185 MY(stretchfactor) = 2;
9186 MY(tex_min) = 70;
9187 MY(tex_max) = 70;
9188 MY(type) = "smoke";
9189}
9190// electricity
9191SUB(hlac_muzzleflash) {
9192 MY(airfriction) = 12;
9193 MY(alpha_min) = 0;
9194 MY(alpha_max) = 128;
9195 MY(alpha_fade) = 1024;
9196 MY(color_min) = "0x92e045";
9197 MY(color_max) = "0x64f42a";
9198 MY(count) = 15;
9199 MY(originjitter) = '1.0 1.0 1.0';
9200 MY(startangle_min) = -180;
9201 MY(startangle_max) = 180;
9202 MY(spin_min) = -400;
9203 MY(spin_max) = 400;
9204 MY(size_min) = 2;
9205 MY(size_max) = 5;
9206 MY(stretchfactor) = 2;
9207 MY(tex_min) = 48;
9208 MY(tex_max) = 55;
9209 MY(type) = "spark";
9210 MY(velocityjitter) = '200.0 200.0 200.0';
9211 MY(velocitymultiplier) = 0.500000;
9212}
9213
9214DEF(hlac_impact);
9215// decal
9216SUB(hlac_impact) {
9217 MY(alpha_min) = 128;
9218 MY(alpha_max) = 128;
9219 MY(countabsolute) = 1;
9220 MY(lightcolor) = '0.4 0.8 0.2';
9221 MY(lightradiusfade) = 500;
9222 MY(lightradius) = 150;
9223 MY(originjitter) = '14.0 14.0 14.0';
9224 MY(size_min) = 12;
9225 MY(size_max) = 12;
9226 MY(tex_min) = 47;
9227 MY(tex_max) = 47;
9228 MY(type) = "decal";
9229}
9230// flare effect
9231SUB(hlac_impact) {
9232 MY(alpha_min) = 256;
9233 MY(alpha_max) = 256;
9234 MY(alpha_fade) = 1024;
9235 MY(color_min) = "0x1be508";
9236 MY(color_max) = "0xd5f0a1";
9237 MY(countabsolute) = 1;
9238 MY(size_min) = 24;
9239 MY(size_max) = 24;
9240 MY(tex_min) = 46;
9241 MY(tex_max) = 46;
9242 MY(type) = "static";
9243}
9244// sparks that rapidly expand and rapidly slow down to form an interesting spherical effect
9245SUB(hlac_impact) {
9246 MY(airfriction) = 8;
9247 MY(alpha_min) = 256;
9248 MY(alpha_max) = 256;
9249 MY(alpha_fade) = 1024;
9250 MY(color_min) = "0x92e045";
9251 MY(color_max) = "0x54e51a";
9252 MY(count) = 128;
9253 MY(liquidfriction) = 2;
9254 MY(size_min) = 4;
9255 MY(size_max) = 4;
9256 MY(tex_min) = 45;
9257 MY(tex_max) = 45;
9258 MY(type) = "spark";
9259 MY(velocityjitter) = '256.0 256.0 256.0';
9260}
9261SUB(hlac_impact) {
9262 MY(alpha_min) = 64;
9263 MY(alpha_max) = 256;
9264 MY(alpha_fade) = 256;
9265 MY(color_min) = "0x92e045";
9266 MY(color_max) = "0xc7eda1";
9267 MY(count) = 4;
9268 MY(originjitter) = '1.0 1.0 1.0';
9269 MY(sizeincrease) = 6;
9270 MY(size_min) = 12;
9271 MY(size_max) = 12;
9272 MY(tex_min) = 4;
9273 MY(tex_max) = 6;
9274 MY(type) = "smoke";
9275 MY(velocityjitter) = '16.0 16.0 16.0';
9276 MY(velocitymultiplier) = 0.010000;
9277}
9278
9279DEF(shotgun_woosh);
9280// puff
9281SUB(shotgun_woosh) {
9282 MY(airfriction) = 2;
9283 MY(alpha_min) = 32;
9284 MY(alpha_max) = 96;
9285 MY(alpha_fade) = 512;
9286 MY(bounce) = 0.100000;
9287 MY(color_min) = "0x111111";
9288 MY(color_max) = "0x979797";
9289 MY(count) = 24;
9290 MY(notunderwater) = true;
9291 MY(originjitter) = '10.0 10.0 10.0';
9292 MY(sizeincrease) = 14;
9293 MY(size_min) = 1;
9294 MY(size_max) = 12;
9295 MY(tex_min) = 0;
9296 MY(tex_max) = 8;
9297 MY(velocityjitter) = '128 128 64';
9298 MY(velocitymultiplier) = 1;
9299 MY(type) = "smoke";
9300}
9301
9303// impact sparks
9305 MY(airfriction) = 110;
9306 MY(alpha_min) = 256;
9307 MY(alpha_max) = 300;
9308 MY(alpha_fade) = 512;
9309 MY(color_min) = "0xDDFDFF";
9310 MY(color_max) = "0xFDFDFF";
9311 MY(count) = 50;
9312 MY(originjitter) = '6.0 6.0 10.0';
9313 MY(startangle_max) = 360;
9314 MY(spin_min) = 0;
9315 MY(spin_max) = 0;
9316 MY(sizeincrease) = -1;
9317 MY(size_min) = 4;
9318 MY(size_max) = 7;
9319 MY(stretchfactor) = 1;
9320 MY(tex_min) = 71;
9321 MY(tex_max) = 74;
9322 MY(type) = "static";
9323 MY(velocityjitter) = '250.0 250.0 250.0';
9324 MY(velocitymultiplier) = 100;
9325}
9326// impact sparks (underwater)
9327SUB(EF_SHOCK) {
9328 MY(airfriction) = 5;
9329 MY(alpha_min) = 256;
9330 MY(alpha_max) = 300;
9331 MY(alpha_fade) = 512;
9332 MY(color_min) = "0xDDFDFF";
9333 MY(color_max) = "0xFDFDFF";
9334 MY(count) = 30;
9335 MY(liquidfriction) = 5;
9336 MY(orientation) = "spark";
9337 MY(originjitter) = '12.0 12.0 12.0';
9338 MY(startangle_max) = 360;
9339 MY(spin_min) = -36000;
9340 MY(spin_max) = 36000;
9341 MY(sizeincrease) = -5;
9342 MY(size_min) = 4;
9343 MY(size_max) = 7;
9344 MY(stretchfactor) = 1;
9345 MY(tex_min) = 71;
9346 MY(tex_max) = 74;
9347 MY(type) = "static";
9348 MY(underwater) = true;
9349 MY(velocityjitter) = '250.0 250.0 250.0';
9350 MY(velocitymultiplier) = 20;
9351}
9352// impact smoke
9353SUB(EF_SHOCK) {
9354 MY(alpha_min) = 40;
9355 MY(alpha_max) = 60;
9356 MY(alpha_fade) = 350;
9357 MY(color_min) = "0x80C0FF";
9358 MY(color_max) = "0x80C0FF";
9359 MY(count) = 10;
9360 MY(sizeincrease) = 400;
9361 MY(size_min) = 4;
9362 MY(size_max) = 4;
9363 MY(tex_min) = 38;
9364 MY(tex_max) = 38;
9365 MY(type) = "smoke";
9366 MY(velocitymultiplier) = 100;
9367}
9368
9370// glowing vapor trail
9372 MY(alpha_min) = 192;
9373 MY(alpha_max) = 256;
9374 MY(alpha_fade) = 1024;
9375 MY(color_min) = "0x1affd6";
9376 MY(color_max) = "0x1affd6";
9377 MY(size_min) = 3;
9378 MY(size_max) = 3;
9379 MY(tex_min) = 34;
9380 MY(tex_max) = 41;
9381 MY(trailspacing) = 1;
9382 MY(type) = "static";
9383}
9384
9385DEF(vampire_fx);
9386// rhomboids that fly out from the player when they're healed
9387SUB(vampire_fx) {
9388 MY(airfriction) = -0.250000;
9389 MY(alpha_min) = 256;
9390 MY(alpha_max) = 256;
9391 MY(alpha_fade) = 170;
9392 MY(bounce) = 1.000000;
9393 MY(color_min) = "0xff003d";
9394 MY(color_max) = "0xff003d";
9395 MY(count) = 5;
9396 MY(gravity) = -0.050000;
9397 MY(originjitter) = '5.0 5.0 50.0';
9398 MY(sizeincrease) = -0.500000;
9399 MY(size_min) = 3;
9400 MY(size_max) = 5;
9401 MY(tex_min) = 70;
9402 MY(tex_max) = 70;
9403 MY(type) = "spark";
9404 MY(velocityjitter) = '50.0 50.0 5.0';
9405 MY(velocitymultiplier) = 0.200000;
9406}
9407
9408DEF(vengeance_fx);
9409// rhomboids that fly out from the player when they're healed
9410SUB(vengeance_fx) {
9411 MY(airfriction) = -1.000000;
9412 MY(alpha_min) = 256;
9413 MY(alpha_max) = 256;
9414 MY(alpha_fade) = 384;
9415 MY(bounce) = 0.100000;
9416 MY(color_min) = "0xff3b9c";
9417 MY(color_max) = "0xff3b9c";
9418 MY(count) = 2;
9419 MY(gravity) = -0.0500000;
9420 MY(originjitter) = '10.0 10.0 50.0';
9421 MY(sizeincrease) = -0.500000;
9422 MY(size_min) = 3;
9423 MY(size_max) = 3;
9424 MY(tex_min) = 40;
9425 MY(tex_max) = 40;
9426 MY(type) = "spark";
9427 MY(velocityjitter) = '150.0 150.0 10.0';
9428 MY(velocitymultiplier) = 0.200000;
9429}
9430
9431DEF(magnet_fx);
9432// health/armor/ammo particles that fly towards the player
9433SUB(magnet_fx) {
9434 MY(airfriction) = 4.500000;
9435 MY(alpha_min) = 256;
9436 MY(alpha_max) = 256;
9437 MY(alpha_fade) = 384;
9438 MY(bounce) = 1.500000;
9439 MY(color_min) = "0xffff00";
9440 MY(color_max) = "0xf1eb6c";
9441 MY(countabsolute) = 1;
9442 MY(originjitter) = '5.0 5.0 5.0';
9443 MY(sizeincrease) = 3;
9444 MY(size_min) = 3;
9445 MY(size_max) = 7;
9446 MY(tex_min) = 75;
9447 MY(tex_max) = 81;
9448 MY(type) = "static";
9449 MY(velocityjitter) = '5.0 5.0 5.0';
9450 MY(velocitymultiplier) = 5;
9451}
9452
9453DEF(swapper);
9454// decal
9455SUB(swapper) {
9456 MY(alpha_min) = 256;
9457 MY(alpha_max) = 256;
9458 MY(countabsolute) = 1;
9459 MY(lightcolor) = '5.0 4.0 6.0';
9460 MY(lightradiusfade) = 300;
9461 MY(lightradius) = 300;
9462 MY(originjitter) = '10.0 10.0 10.0';
9463 MY(size_min) = 48;
9464 MY(size_max) = 48;
9465 MY(tex_min) = 59;
9466 MY(tex_max) = 59;
9467 MY(type) = "decal";
9468}
9469// flare effect
9470SUB(swapper) {
9471 MY(alpha_min) = 128;
9472 MY(alpha_max) = 128;
9473 MY(alpha_fade) = 64;
9474 MY(color_min) = "0xC060FF";
9475 MY(color_max) = "0xC060FF";
9476 MY(countabsolute) = 1;
9477 MY(size_min) = 48;
9478 MY(size_max) = 48;
9479 MY(tex_min) = 38;
9480 MY(tex_max) = 38;
9481 MY(type) = "static";
9482}
9483// large sparks
9484SUB(swapper) {
9485 MY(airfriction) = 6;
9486 MY(alpha_min) = 156;
9487 MY(alpha_max) = 156;
9488 MY(alpha_fade) = 100;
9489 MY(bounce) = 2;
9490 MY(color_min) = "0x6020FF";
9491 MY(color_max) = "0xC060FF";
9492 MY(count) = 4;
9493 MY(liquidfriction) = 16;
9494 MY(sizeincrease) = 50;
9495 MY(size_min) = 32;
9496 MY(size_max) = 32;
9497 MY(tex_max) = 7;
9498 MY(type) = "static";
9499 MY(velocityjitter) = '256.0 256.0 256.0';
9500}
9501SUB(swapper) {
9502 MY(alpha_min) = 444;
9503 MY(alpha_max) = 512;
9504 MY(alpha_fade) = 500;
9505 MY(bounce) = 1.600000;
9506 MY(color_min) = "0xcaa9cf";
9507 MY(color_max) = "0xa15cff";
9508 MY(count) = 24;
9509 MY(originjitter) = '1.0 1.0 1.0';
9510 MY(startangle_min) = -180;
9511 MY(startangle_max) = 180;
9512 MY(spin_min) = 4000;
9513 MY(spin_max) = -4000;
9514 MY(size_min) = 2;
9515 MY(size_max) = 4;
9516 MY(stretchfactor) = 2;
9517 MY(tex_min) = 41;
9518 MY(tex_max) = 41;
9519 MY(type) = "spark";
9520 MY(velocityjitter) = '100.0 100.0 100.0';
9521 MY(velocitymultiplier) = 0.300000;
9522}
9523// inner cloud of smoke
9524SUB(swapper) {
9525 MY(alpha_min) = 256;
9526 MY(alpha_max) = 256;
9527 MY(alpha_fade) = 256;
9528 MY(color_min) = "0x202020";
9529 MY(color_max) = "0x404040";
9530 MY(count) = 0.125000;
9531 MY(originjitter) = '8.0 8.0 8.0';
9532 MY(size_min) = 24;
9533 MY(size_max) = 24;
9534 MY(tex_max) = 8;
9535 MY(type) = "smoke";
9536 MY(velocityjitter) = '10.0 10.0 10.0';
9537}
9538// shockwave
9539SUB(swapper) {
9540 MY(alpha_min) = 64;
9541 MY(alpha_max) = 64;
9542 MY(alpha_fade) = 40;
9543 MY(color_min) = "0xcaa9cf";
9544 MY(color_max) = "0xa15cff";
9545 MY(countabsolute) = 1;
9546 MY(size_min) = 80;
9547 MY(size_max) = 80;
9548 MY(tex_min) = 33;
9549 MY(tex_max) = 33;
9550 MY(type) = "smoke";
9551 MY(velocitymultiplier) = 0.300000;
9552}
9553
9554DEF(item_teleport);
9555// decal
9556SUB(item_teleport) {
9557 MY(alpha_min) = 256;
9558 MY(alpha_max) = 256;
9559 MY(countabsolute) = 1;
9560 MY(lightcolor) = '4.0 5.0 6.0';
9561 MY(lightradiusfade) = 300;
9562 MY(lightradius) = 200;
9563 MY(originjitter) = '17.0 17.0 17.0';
9564 MY(size_min) = 48;
9565 MY(size_max) = 48;
9566 MY(tex_min) = 59;
9567 MY(tex_max) = 59;
9568 MY(type) = "decal";
9569}
9570// flare effect
9571SUB(item_teleport) {
9572 MY(alpha_min) = 128;
9573 MY(alpha_max) = 128;
9574 MY(alpha_fade) = 64;
9575 MY(color_min) = "0x80C0FF";
9576 MY(color_max) = "0x80C0FF";
9577 MY(countabsolute) = 1;
9578 MY(size_min) = 32;
9579 MY(size_max) = 32;
9580 MY(tex_min) = 38;
9581 MY(tex_max) = 38;
9582 MY(type) = "static";
9583}
9584SUB(item_teleport) {
9585 MY(alpha_min) = 444;
9586 MY(alpha_max) = 512;
9587 MY(alpha_fade) = 500;
9588 MY(bounce) = 0.500000;
9589 MY(color_min) = "0xa9cacf";
9590 MY(color_max) = "0x0054ff";
9591 MY(count) = 32;
9592 MY(originjitter) = '1.0 1.0 1.0';
9593 MY(startangle_min) = -180;
9594 MY(startangle_max) = 180;
9595 MY(spin_min) = 4000;
9596 MY(spin_max) = -4000;
9597 MY(size_min) = 2;
9598 MY(size_max) = 4;
9599 MY(stretchfactor) = 2;
9600 MY(tex_min) = 41;
9601 MY(tex_max) = 41;
9602 MY(type) = "spark";
9603 MY(velocityjitter) = '64.0 64.0 64.0';
9604}
9605// shockwave
9606SUB(item_teleport) {
9607 MY(alpha_min) = 64;
9608 MY(alpha_max) = 64;
9609 MY(alpha_fade) = 40;
9610 MY(color_min) = "0xa9cacf";
9611 MY(color_max) = "0x0054ff";
9612 MY(countabsolute) = 1;
9613 MY(sizeincrease) = 32;
9614 MY(size_min) = 16;
9615 MY(size_max) = 16;
9616 MY(tex_min) = 33;
9617 MY(tex_max) = 33;
9618 MY(type) = "smoke";
9619}
9620
9621DEF(hmg_muzzleflash);
9622SUB(hmg_muzzleflash) {
9623 MY(alpha_min) = 256;
9624 MY(alpha_max) = 256;
9625 MY(alpha_fade) = 512;
9626 MY(color_min) = "0x202020";
9627 MY(color_max) = "0x404040";
9628 MY(count) = 1;
9629 MY(gravity) = -0.100000;
9630 MY(lightcolor) = '2.0 1.5 0.2';
9631 MY(lightradiusfade) = 2000;
9632 MY(lightradius) = 200;
9633 MY(originjitter) = '1.5 1.5 1.5';
9634 MY(size_min) = 5;
9635 MY(size_max) = 5;
9636 MY(tex_max) = 8;
9637 MY(type) = "static";
9638 MY(velocityjitter) = '1.0 1.0 1.0';
9639 MY(velocitymultiplier) = 0.030000;
9640}
9641SUB(hmg_muzzleflash) {
9642 MY(airfriction) = 12;
9643 MY(alpha_max) = 256;
9644 MY(alpha_fade) = 6000;
9645 MY(color_min) = "0xff5800";
9646 MY(color_max) = "0xff8e00";
9647 MY(count) = 3;
9648 MY(originjitter) = '1.0 1.0 1.0';
9649 MY(size_min) = 0.300000;
9650 MY(size_max) = 0.400000;
9651 MY(stretchfactor) = 0.150000;
9652 MY(tex_min) = 40;
9653 MY(tex_max) = 40;
9654 MY(type) = "spark";
9655 MY(velocityjitter) = '555.0 555.0 555.0';
9656 MY(velocitymultiplier) = 3;
9657}
9658
9659DEF(seeker_explode);
9660// decal
9661SUB(seeker_explode) {
9662 MY(alpha_min) = 256;
9663 MY(alpha_max) = 256;
9664 MY(countabsolute) = 1;
9665 MY(lightcolor) = '8.0 2.0 2.0';
9666 MY(lightradiusfade) = 400;
9667 MY(lightradius) = 120;
9668 MY(originjitter) = '14.0 14.0 14.0';
9669 MY(size_min) = 28;
9670 MY(size_max) = 38;
9671 MY(tex_min) = 8;
9672 MY(tex_max) = 16;
9673 MY(type) = "decal";
9674}
9675// fire effect which make bright dot inside
9676SUB(seeker_explode) {
9677 MY(airfriction) = 8;
9678 MY(alpha_min) = 80;
9679 MY(alpha_max) = 200;
9680 MY(alpha_fade) = 356;
9681 MY(bounce) = 1.500000;
9682 MY(color_min) = "0xffe955";
9683 MY(color_max) = "0xff5a00";
9684 MY(count) = 3.500000;
9685 MY(liquidfriction) = 8;
9686 MY(notunderwater) = true;
9687 MY(originjitter) = '8.0 8.0 8.0';
9688 MY(sizeincrease) = 5;
9689 MY(size_min) = 16;
9690 MY(size_max) = 26;
9691 MY(tex_min) = 48;
9692 MY(tex_max) = 55;
9693 MY(type) = "smoke";
9694 MY(velocityjitter) = '156.0 156.0 156.0';
9695}
9696// fire effect which expands then slows
9697SUB(seeker_explode) {
9698 MY(airfriction) = 12;
9699 MY(alpha_min) = 128;
9700 MY(alpha_max) = 256;
9701 MY(alpha_fade) = 456;
9702 MY(bounce) = 1.500000;
9703 MY(color_min) = "0x8f0d00";
9704 MY(color_max) = "0xff5a00";
9705 MY(count) = 12;
9706 MY(liquidfriction) = 8;
9707 MY(notunderwater) = true;
9708 MY(originjitter) = '8.0 8.0 8.0';
9709 MY(sizeincrease) = 15;
9710 MY(size_min) = 20;
9711 MY(size_max) = 26;
9712 MY(tex_min) = 48;
9713 MY(tex_max) = 55;
9714 MY(type) = "static";
9715 MY(velocityjitter) = '286.0 286.0 286.0';
9716}
9717// smoke
9718SUB(seeker_explode) {
9719 MY(airfriction) = 5;
9720 MY(alpha_min) = 200;
9721 MY(alpha_max) = 500;
9722 MY(alpha_fade) = 600;
9723 MY(bounce) = 2;
9724 MY(color_min) = "0x000000";
9725 MY(color_max) = "0x111111";
9726 MY(count) = 7;
9727 MY(notunderwater) = true;
9728 MY(sizeincrease) = 20;
9729 MY(size_min) = 20;
9730 MY(size_max) = 40;
9731 MY(tex_max) = 8;
9732 MY(type) = "alphastatic";
9733 MY(velocityjitter) = '244.0 244.0 244.0';
9734}
9735// underwater bubbles
9736SUB(seeker_explode) {
9737 MY(alpha_min) = 128;
9738 MY(alpha_max) = 256;
9739 MY(alpha_fade) = 64;
9740 MY(bounce) = 1.500000;
9741 MY(color_min) = "0x404040";
9742 MY(color_max) = "0x808080";
9743 MY(count) = 16;
9744 MY(gravity) = -0.125000;
9745 MY(liquidfriction) = 0.250000;
9746 MY(originjitter) = '16.0 16.0 16.0';
9747 MY(size_min) = 3;
9748 MY(size_max) = 3;
9749 MY(tex_min) = 62;
9750 MY(tex_max) = 62;
9751 MY(type) = "bubble";
9752 MY(underwater) = true;
9753 MY(velocityjitter) = '96.0 96.0 96.0';
9754}
9755// bouncing sparks
9756SUB(seeker_explode) {
9757 MY(airfriction) = 1;
9758 MY(alpha_min) = 644;
9759 MY(alpha_max) = 956;
9760 MY(alpha_fade) = 684;
9761 MY(bounce) = 1.600000;
9762 MY(color_min) = "0xffa35b";
9763 MY(color_max) = "0xfff2be";
9764 MY(count) = 4;
9765 MY(gravity) = 1;
9766 MY(liquidfriction) = 0.800000;
9767 MY(notunderwater) = true;
9768 MY(originjitter) = '16.0 16.0 16.0';
9769 MY(size_min) = 1;
9770 MY(size_max) = 0.100000;
9771 MY(tex_min) = 40;
9772 MY(tex_max) = 40;
9773 MY(type) = "spark";
9774 MY(velocityjitter) = '224.0 224.0 224.0';
9775 MY(velocityoffset) = '0.0 0.0 80.0';
9776}
9777
9778// seeker tag impact
9779DEF(tag_impact);
9780// decal
9781SUB(tag_impact) {
9782 MY(alpha_min) = 256;
9783 MY(alpha_max) = 256;
9784 MY(countabsolute) = 1;
9785 MY(lightcolor) = '4.0 1.0 1.5';
9786 MY(lightradiusfade) = 300;
9787 MY(lightradius) = 100;
9788 MY(originjitter) = '10.0 10.0 10.0';
9789 MY(size_min) = 20;
9790 MY(size_max) = 20;
9791 MY(tex_min) = 47;
9792 MY(tex_max) = 47;
9793 MY(type) = "decal";
9794}
9795// flare effect
9796SUB(tag_impact) {
9797 MY(alpha_min) = 256;
9798 MY(alpha_max) = 256;
9799 MY(alpha_fade) = 768;
9800 MY(color_min) = "0xFF1024";
9801 MY(color_max) = "0xFF1024";
9802 MY(countabsolute) = 1;
9803 MY(size_min) = 20;
9804 MY(size_max) = 20;
9805 MY(tex_min) = 39;
9806 MY(tex_max) = 39;
9807 MY(type) = "static";
9808}
9809// sparks that rapidly expand and rapidly slow down to form an interesting spherical effect
9810SUB(tag_impact) {
9811 MY(alpha_min) = 256;
9812 MY(alpha_max) = 256;
9813 MY(alpha_fade) = 512;
9814 MY(color_min) = "0x800000";
9815 MY(color_max) = "0xFF1024";
9816 MY(count) = 64;
9817 MY(size_min) = 4;
9818 MY(size_max) = 4;
9819 MY(type) = "spark";
9820 MY(velocityjitter) = '72.0 72.0 72.0';
9821}
9822
9823// seeker tag trail
9824DEF(tr_tag);
9825// fire
9826SUB(tr_tag) {
9827 MY(airfriction) = 8;
9828 MY(alpha_min) = 128;
9829 MY(alpha_max) = 192;
9830 MY(alpha_fade) = 512;
9831 MY(color_min) = "0xff9172";
9832 MY(color_max) = "0x810013";
9833 MY(lightcolor) = '3.0 1.0 1.5';
9834 MY(lightradius) = 80;
9835 MY(sizeincrease) = -16;
9836 MY(size_min) = 6;
9837 MY(size_max) = 7;
9838 MY(tex_min) = 48;
9839 MY(tex_max) = 55;
9840 MY(trailspacing) = 4;
9841 MY(type) = "static";
9842 MY(velocityjitter) = '32.0 32.0 32.0';
9843 MY(velocitymultiplier) = -0.400000;
9844}
9845// bubbles
9846SUB(tr_tag) {
9847 MY(alpha_min) = 256;
9848 MY(alpha_max) = 256;
9849 MY(alpha_fade) = 256;
9850 MY(bounce) = 1.500000;
9851 MY(gravity) = -0.125000;
9852 MY(liquidfriction) = 4;
9853 MY(size_min) = 1;
9854 MY(size_max) = 2;
9855 MY(tex_min) = 62;
9856 MY(tex_max) = 62;
9857 MY(trailspacing) = 16;
9858 MY(type) = "bubble";
9859 MY(underwater) = true;
9860 MY(velocityjitter) = '16.0 16.0 16.0';
9861 MY(velocitymultiplier) = -0.250000;
9862}
9863// sparks
9864SUB(tr_tag) {
9865 MY(airfriction) = 5;
9866 MY(alpha_min) = 256;
9867 MY(alpha_max) = 384;
9868 MY(alpha_fade) = 1024;
9869 MY(bounce) = 1;
9870 MY(color_min) = "0xFFD9E9";
9871 MY(color_max) = "0xFFD9E9";
9872 MY(notunderwater) = true;
9873 MY(originjitter) = '1.0 1.0 1.0';
9874 MY(size_min) = 0.500000;
9875 MY(size_max) = 0.500000;
9876 MY(stretchfactor) = 0.200000;
9877 MY(tex_min) = 40;
9878 MY(tex_max) = 40;
9879 MY(trailspacing) = 24;
9880 MY(type) = "spark";
9881 MY(velocityjitter) = '80.0 80.0 80.0';
9882 MY(velocitymultiplier) = -0.250000;
9883}
9884
9885// laser trail
9886DEF(tr_laser);
9887// light only
9888SUB(tr_laser) {
9889 MY(lightcolor) = '6.0 1.0 1.0';
9890 MY(lightradius) = 100;
9891}
9892
9893// hlac trail
9894DEF(tr_hlac);
9895// light only
9896SUB(tr_hlac) {
9897 MY(lightcolor) = '1.0 2.0 0.5';
9898 MY(lightradius) = 100;
9899}
9900
9901DEF(dom_capture);
9902SUB(dom_capture) {
9903 MY(airfriction) = 4;
9904 MY(alpha_min) = 224;
9905 MY(alpha_max) = 256;
9906 MY(alpha_fade) = 100;
9907 MY(bounce) = 1.500000;
9908 MY(count) = 25;
9909 MY(gravity) = -0.100000;
9910 MY(originjitter) = '5.0 5.0 5.0';
9911 MY(sizeincrease) = 2;
9912 MY(size_min) = 8;
9913 MY(size_max) = 12;
9914 MY(tex_min) = 41;
9915 MY(tex_max) = 41;
9916 MY(type) = "spark";
9917 MY(velocityjitter) = '200.0 200.0 50.0';
9918}
9919
9920// always add new effects to the bottom of the list. And keep this comment in the bottom line of this file!
entity arc_beam
Definition arc.qh:132
float arc_overheat
Definition arc.qh:139
float count
Definition powerups.qc:22
float alpha
Definition items.qc:13
float gravity
Definition items.qh:17
const int EF_SPEED
Definition constants.qh:96
const int EF_SHOCK
Definition constants.qh:95
const float TE_TAREXPLOSION
const float TE_KNIGHTSPIKE
const float EF_STARDUST
const float TE_SPIKE
const float TE_SPIKEQUAD
const float TE_SUPERSPIKEQUAD
const float TE_EXPLOSION
const float TE_SUPERSPIKE
const float TE_TELEPORT
const float TE_GUNSHOTQUAD
const float EF_FLAME
const float TE_GUNSHOT
const float TE_EXPLOSIONQUAD
const float TE_LAVASPLASH
const float TE_WIZSPIKE
float TE_BLOOD
#define ground_quake(name, colormin, colormax)
DEF(TE_WIZSPIKE)
#define flare(name, colormin, colormax)
MY(alpha_min)
#define spawn_point(name, color)
#define spawn_event(name, color)
SUB(TE_WIZSPIKE)
#define TE_TEI_G3(name, colormin1, colormax1, colormin2, colormax2)
float alpha_min
Definition models.qh:20
float alpha_max
Definition models.qh:20
vector originjitter
Definition main.qc:386