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) = 780;
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) = 10;
1642 MY(size_min) = 3;
1643 MY(size_max) = 2;
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) = 144;
1655 MY(alpha_fade) = 988;
1656 MY(color_min) = "0xffdf72";
1657 MY(color_max) = "0x811200";
1658 MY(notunderwater) = true;
1659 MY(sizeincrease) = -15;
1660 MY(size_min) = 5;
1661 MY(size_max) = 2;
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 4.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 3.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) = "0x811200";
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 4.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) = 170;
3906 MY(bounce) = 1.500000;
3907 MY(color_min) = "0xff0000";
3908 MY(color_max) = "0xff0000";
3909 MY(count) = 5;
3910 MY(gravity) = -0.100000;
3911 MY(originjitter) = '5.0 5.0 100.0';
3912 MY(sizeincrease) = -0.050000;
3913 MY(size_min) = 1;
3914 MY(size_max) = 3;
3915 MY(tex_min) = 40;
3916 MY(tex_max) = 40;
3917 MY(type) = "spark";
3918 MY(velocityjitter) = '50.0 50.0 0.0';
3919 MY(velocitymultiplier) = 0.2;
3920}
3921
3922DEF(armorrepair_fx);
3923SUB(armorrepair_fx) {
3924 MY(airfriction) = -0.500000;
3925 MY(alpha_min) = 256;
3926 MY(alpha_max) = 256;
3927 MY(alpha_fade) = 170;
3928 MY(bounce) = 1.500000;
3929 MY(color_min) = "0x00ff00";
3930 MY(color_max) = "0x00ff00";
3931 MY(count) = 5;
3932 MY(gravity) = -0.100000;
3933 MY(originjitter) = '5.0 5.0 50.0';
3934 MY(sizeincrease) = -0.050000;
3935 MY(size_min) = 1;
3936 MY(size_max) = 3;
3937 MY(tex_min) = 40;
3938 MY(tex_max) = 40;
3939 MY(type) = "spark";
3940 MY(velocityjitter) = '50.0 50.0 0.0';
3941 MY(velocitymultiplier) = 0.2;
3942}
3943
3944DEF(ammoregen_fx);
3945SUB(ammoregen_fx) {
3946 MY(airfriction) = -0.500000;
3947 MY(alpha_min) = 256;
3948 MY(alpha_max) = 256;
3949 MY(alpha_fade) = 170;
3950 MY(bounce) = 1.500000;
3951 MY(color_min) = "0x0000ff";
3952 MY(color_max) = "0x0000ff";
3953 MY(count) = 5;
3954 MY(gravity) = 0.100000;
3955 MY(originjitter) = '5.0 5.0 50.0';
3956 MY(sizeincrease) = -0.050000;
3957 MY(size_min) = 1;
3958 MY(size_max) = 3;
3959 MY(tex_min) = 40;
3960 MY(tex_max) = 40;
3961 MY(type) = "spark";
3962 MY(velocityjitter) = '50.0 50.0 0.0';
3963 MY(velocitymultiplier) = 0.2;
3964}
3965
3966// red-yellow flame like fx
3967DEF(rage);
3968SUB(rage) {
3969 MY(airfriction) = 2;
3970 MY(alpha_min) = 256;
3971 MY(alpha_max) = 256;
3972 MY(alpha_fade) = 190;
3973 MY(color_min) = "0xff0000";
3974 MY(color_max) = "0xff7800";
3975 MY(count) = 2.500000;
3976 MY(gravity) = -0.060000;
3977 MY(originjitter) = '5.0 5.0 5.0';
3978 MY(sizeincrease) = 10;
3979 MY(size_min) = 1;
3980 MY(size_max) = 3;
3981 MY(tex_min) = 35;
3982 MY(tex_max) = 36;
3983 MY(type) = "smoke";
3984 MY(velocityjitter) = '25.0 25.0 25.0';
3985}
3986
3987// pieces of glass or ice falling on the floor
3988DEF(iceorglass);
3989SUB(iceorglass) {
3990 MY(airfriction) = 3;
3991 MY(alpha_min) = 256;
3992 MY(alpha_max) = 256;
3993 MY(bounce) = 2;
3994 MY(color_min) = "0xffffff";
3995 MY(color_max) = "0xb2d3e6";
3996 MY(count) = 15;
3997 MY(gravity) = 1.300000;
3998 MY(originjitter) = '30.0 30.0 30.0';
3999 MY(size_min) = 3;
4000 MY(size_max) = 7;
4001 MY(tex_min) = 44;
4002 MY(tex_max) = 44;
4003 MY(time_min) = 1;
4004 MY(time_max) = 3;
4005 MY(type) = "alphastatic";
4006 MY(velocityjitter) = '100.0 100.0 100.0';
4007}
4008
4009// cover small area in poison gas, spawn it once per second
4010DEF(poisonfield);
4011SUB(poisonfield) {
4012 MY(airfriction) = 1;
4013 MY(alpha_min) = 256;
4014 MY(alpha_max) = 256;
4015 MY(alpha_fade) = 50;
4016 MY(bounce) = 1.500000;
4017 MY(color_min) = "0x00ff00";
4018 MY(color_max) = "0x7db843";
4019 MY(count) = 15;
4020 MY(gravity) = -0.010000;
4021 MY(originjitter) = '333.0 333.0 50.0';
4022 MY(sizeincrease) = 30;
4023 MY(size_min) = 1;
4024 MY(size_max) = 1;
4025 MY(tex_max) = 8;
4026 MY(type) = "smoke";
4027 MY(velocityjitter) = '5.0 5.0 5.0';
4028}
4029
4030// cover small area in dark fog, spawn it once per second
4031DEF(darkfield);
4032SUB(darkfield) {
4033 MY(airfriction) = 1;
4034 MY(alpha_min) = 256;
4035 MY(alpha_max) = 256;
4036 MY(alpha_fade) = 50;
4037 MY(bounce) = 1.500000;
4038 MY(color_min) = "0x600089";
4039 MY(color_max) = "0x000000";
4040 MY(count) = 10;
4041 MY(gravity) = -0.010000;
4042 MY(originjitter) = '333.0 333.0 0.0';
4043 MY(sizeincrease) = 10;
4044 MY(size_min) = 1;
4045 MY(size_max) = 1;
4046 MY(tex_max) = 8;
4047 MY(type) = "smoke";
4048 MY(velocityjitter) = '5.0 5.0 30.0';
4049}
4050SUB(darkfield) {
4051 MY(alpha_min) = 256;
4052 MY(alpha_max) = 256;
4053 MY(alpha_fade) = 50;
4054 MY(color_min) = "0x600089";
4055 MY(color_max) = "0x000000";
4056 MY(count) = 5;
4057 MY(gravity) = -0.001000;
4058 MY(originjitter) = '333.0 333.0 0.0';
4059 MY(sizeincrease) = 10;
4060 MY(size_min) = 1;
4061 MY(size_max) = 1;
4062 MY(tex_min) = 48;
4063 MY(tex_max) = 55;
4064 MY(type) = "smoke";
4065}
4066
4067// cover small area in icy mist, spawn it once per second
4068DEF(icefield);
4069SUB(icefield) {
4070 MY(airfriction) = 1;
4071 MY(alpha_min) = 256;
4072 MY(alpha_max) = 256;
4073 MY(alpha_fade) = 50;
4074 MY(bounce) = 1.500000;
4075 MY(color_min) = "0x008aff";
4076 MY(color_max) = "0x75e7ff";
4077 MY(count) = 10;
4078 MY(gravity) = -0.010000;
4079 MY(originjitter) = '333.0 333.0 0.0';
4080 MY(sizeincrease) = 10;
4081 MY(size_min) = 1;
4082 MY(size_max) = 1;
4083 MY(tex_max) = 8;
4084 MY(type) = "smoke";
4085 MY(velocityjitter) = '5.0 5.0 30.0';
4086}
4087SUB(icefield) {
4088 MY(alpha_min) = 256;
4089 MY(alpha_max) = 256;
4090 MY(alpha_fade) = 50;
4091 MY(color_min) = "0x008aff";
4092 MY(color_max) = "0x75e7ff";
4093 MY(count) = 5;
4094 MY(gravity) = -0.001000;
4095 MY(originjitter) = '333.0 333.0 0.0';
4096 MY(sizeincrease) = 10;
4097 MY(size_min) = 1;
4098 MY(size_max) = 1;
4099 MY(tex_min) = 48;
4100 MY(tex_max) = 55;
4101 MY(type) = "smoke";
4102}
4103
4104// 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 )
4105DEF(firefield);
4106// flames that go up
4107SUB(firefield) {
4108 MY(airfriction) = 1;
4109 MY(alpha_min) = 50;
4110 MY(alpha_max) = 256;
4111 MY(alpha_fade) = 200;
4112 MY(bounce) = 1.500000;
4113 MY(color_min) = "0x8f0d00";
4114 MY(color_max) = "0xff5a00";
4115 MY(count) = 100;
4116 MY(gravity) = -0.060000;
4117 MY(originjitter) = '180.0 180.0 0.0';
4118 MY(sizeincrease) = 20;
4119 MY(size_min) = 1;
4120 MY(size_max) = 1;
4121 MY(tex_min) = 48;
4122 MY(tex_max) = 55;
4123 MY(type) = "smoke";
4124 MY(velocityjitter) = '5.0 5.0 30.0';
4125}
4126// flames that stay on the ground
4127SUB(firefield) {
4128 MY(alpha_min) = 50;
4129 MY(alpha_max) = 256;
4130 MY(alpha_fade) = 200;
4131 MY(color_min) = "0x8f0d00";
4132 MY(color_max) = "0xff5a00";
4133 MY(count) = 50;
4134 MY(originjitter) = '180.0 180.0 0.0';
4135 MY(sizeincrease) = 40;
4136 MY(size_min) = 1;
4137 MY(size_max) = 1;
4138 MY(tex_min) = 48;
4139 MY(tex_max) = 55;
4140 MY(type) = "smoke";
4141}
4142// smoke
4143SUB(firefield) {
4144 MY(alpha_min) = 256;
4145 MY(alpha_max) = 256;
4146 MY(alpha_fade) = 70;
4147 MY(color_min) = "0x000000";
4148 MY(color_max) = "0x111111";
4149 MY(count) = 20;
4150 MY(gravity) = -0.020000;
4151 MY(originjitter) = '180.0 180.0 0.0';
4152 MY(sizeincrease) = 7;
4153 MY(size_min) = 1;
4154 MY(size_max) = 1;
4155 MY(tex_max) = 8;
4156 MY(type) = "alphastatic";
4157}
4158
4159// flamethrower, spawn it as fast as you can 20 times per second or more, it needs direction
4160DEF(flamethrower);
4161// fast fire
4162SUB(flamethrower) {
4163 MY(airfriction) = 1.200000;
4164 MY(alpha_min) = 50;
4165 MY(alpha_max) = 256;
4166 MY(alpha_fade) = 250;
4167 MY(bounce) = 1.500000;
4168 MY(color_min) = "0x8f0d00";
4169 MY(color_max) = "0xff5a00";
4170 MY(count) = 3;
4171 MY(gravity) = -0.060000;
4172 MY(sizeincrease) = 20;
4173 MY(size_min) = 5;
4174 MY(size_max) = 5;
4175 MY(tex_min) = 48;
4176 MY(tex_max) = 55;
4177 MY(type) = "smoke";
4178 MY(velocityjitter) = '40.0 40.0 11.0';
4179 MY(velocitymultiplier) = 30;
4180}
4181// slow fire
4182SUB(flamethrower) {
4183 MY(airfriction) = 1.200000;
4184 MY(alpha_min) = 50;
4185 MY(alpha_max) = 256;
4186 MY(alpha_fade) = 200;
4187 MY(bounce) = 1.500000;
4188 MY(color_min) = "0x8f0d00";
4189 MY(color_max) = "0xff5a00";
4190 MY(count) = 2.500000;
4191 MY(gravity) = -0.060000;
4192 MY(sizeincrease) = 20;
4193 MY(size_min) = 5;
4194 MY(size_max) = 5;
4195 MY(tex_min) = 48;
4196 MY(tex_max) = 55;
4197 MY(type) = "smoke";
4198 MY(velocityjitter) = '40.0 40.0 40.0';
4199 MY(velocitymultiplier) = 20;
4200}
4201// very slow and small fire
4202SUB(flamethrower) {
4203 MY(airfriction) = 0.300000;
4204 MY(alpha_min) = 50;
4205 MY(alpha_max) = 256;
4206 MY(alpha_fade) = 200;
4207 MY(bounce) = 1.500000;
4208 MY(color_min) = "0x8f0d00";
4209 MY(color_max) = "0xff5a00";
4210 MY(count) = 1.500000;
4211 MY(gravity) = -0.060000;
4212 MY(sizeincrease) = 10;
4213 MY(size_min) = 5;
4214 MY(size_max) = 5;
4215 MY(tex_min) = 48;
4216 MY(tex_max) = 55;
4217 MY(type) = "smoke";
4218 MY(velocityjitter) = '30.0 30.0 30.0';
4219 MY(velocitymultiplier) = 10;
4220}
4221// decreasing fire
4222SUB(flamethrower) {
4223 MY(airfriction) = 0.300000;
4224 MY(alpha_min) = 50;
4225 MY(alpha_max) = 256;
4226 MY(alpha_fade) = 200;
4227 MY(bounce) = 1.500000;
4228 MY(color_min) = "0x8f0d00";
4229 MY(color_max) = "0xff5a00";
4230 MY(count) = 2;
4231 MY(gravity) = -0.060000;
4232 MY(sizeincrease) = -10;
4233 MY(size_min) = 20;
4234 MY(size_max) = 30;
4235 MY(tex_min) = 48;
4236 MY(tex_max) = 55;
4237 MY(type) = "smoke";
4238 MY(velocityjitter) = '10.0 10.0 10.0';
4239 MY(velocitymultiplier) = 15;
4240}
4241// smoke
4242SUB(flamethrower) {
4243 MY(airfriction) = 1;
4244 MY(alpha_min) = 256;
4245 MY(alpha_max) = 256;
4246 MY(alpha_fade) = 90;
4247 MY(color_min) = "0x000000";
4248 MY(color_max) = "0x111111";
4249 MY(count) = 0.500000;
4250 MY(originjitter) = '10.0 10.0 10.0';
4251 MY(sizeincrease) = 7;
4252 MY(size_min) = 5;
4253 MY(size_max) = 15;
4254 MY(tex_max) = 8;
4255 MY(type) = "alphastatic";
4256 MY(velocitymultiplier) = 20;
4257 MY(velocityoffset) = '0.0 0.0 10.0';
4258}
4259
4260// port-o-launch trail
4261DEF(TR_WIZSPIKE);
4262// glowing vapor trail
4263SUB(TR_WIZSPIKE) {
4264 MY(alpha_min) = 256;
4265 MY(alpha_max) = 256;
4266 MY(alpha_fade) = 968;
4267 MY(color_min) = "0x404040";
4268 MY(color_max) = "0x404040";
4269 MY(lightcolor) = '1.5 3.0 6.0';
4270 MY(lightradius) = 90;
4271 MY(size_min) = 3;
4272 MY(size_max) = 3;
4273 MY(tex_min) = 62;
4274 MY(tex_max) = 62;
4275 MY(trailspacing) = 4;
4276 MY(type) = "static";
4277 MY(velocitymultiplier) = -0.100000;
4278}
4279// bright sparks
4280SUB(TR_WIZSPIKE) {
4281 MY(airfriction) = 12;
4282 MY(alpha_min) = 444;
4283 MY(alpha_max) = 512;
4284 MY(alpha_fade) = 1866;
4285 MY(bounce) = 1;
4286 MY(color_min) = "0x404040";
4287 MY(color_max) = "0x404040";
4288 MY(count) = 1.500000;
4289 MY(originjitter) = '1.0 1.0 1.0';
4290 MY(sizeincrease) = -20;
4291 MY(size_min) = 2;
4292 MY(size_max) = 4;
4293 MY(tex_min) = 42;
4294 MY(tex_max) = 42;
4295 MY(trailspacing) = 12;
4296 MY(type) = "snow";
4297 MY(velocityjitter) = '50.0 50.0 50.0';
4298 MY(velocityoffset) = '0.0 0.0 15.0';
4299}
4300
4301// TAG trail
4302DEF(TR_VORESPIKE);
4303// glowing vapor trail
4304SUB(TR_VORESPIKE) {
4305 MY(alpha_min) = 256;
4306 MY(alpha_max) = 256;
4307 MY(alpha_fade) = 968;
4308 MY(color_min) = "0x804000";
4309 MY(color_max) = "0x804000";
4310 MY(lightcolor) = '1.5 3.0 6.0';
4311 MY(lightradius) = 90;
4312 MY(size_min) = 3;
4313 MY(size_max) = 3;
4314 MY(tex_min) = 62;
4315 MY(tex_max) = 62;
4316 MY(trailspacing) = 4;
4317 MY(type) = "static";
4318 MY(velocitymultiplier) = -0.100000;
4319}
4320// bright sparks
4321SUB(TR_VORESPIKE) {
4322 MY(airfriction) = 12;
4323 MY(alpha_min) = 444;
4324 MY(alpha_max) = 512;
4325 MY(alpha_fade) = 1866;
4326 MY(bounce) = 1;
4327 MY(color_min) = "0xff8000";
4328 MY(color_max) = "0xff8000";
4329 MY(count) = 1.500000;
4330 MY(originjitter) = '1.0 1.0 1.0';
4331 MY(sizeincrease) = -20;
4332 MY(size_min) = 2;
4333 MY(size_max) = 4;
4334 MY(tex_min) = 42;
4335 MY(tex_max) = 42;
4336 MY(trailspacing) = 12;
4337 MY(type) = "snow";
4338 MY(velocityjitter) = '50.0 50.0 50.0';
4339 MY(velocityoffset) = '0.0 0.0 15.0';
4340}
4341
4342DEF(flac_explode);
4343SUB(flac_explode) {
4344 MY(alpha_min) = 256;
4345 MY(alpha_max) = 256;
4346 MY(countabsolute) = 1;
4347 MY(lightcolor) = '8.0 4.0 1.0';
4348 MY(lightradiusfade) = 400;
4349 MY(lightradius) = 150;
4350 MY(originjitter) = '40.0 40.0 40.0';
4351 MY(size_min) = 18;
4352 MY(size_max) = 28;
4353 MY(tex_min) = 8;
4354 MY(tex_max) = 16;
4355 MY(type) = "decal";
4356}
4357// fire effect which make bright dot inside
4358SUB(flac_explode) {
4359 MY(airfriction) = 8;
4360 MY(alpha_min) = 128;
4361 MY(alpha_max) = 256;
4362 MY(alpha_fade) = 456;
4363 MY(bounce) = 1.500000;
4364 MY(color_min) = "0xffe955";
4365 MY(color_max) = "0xff5a00";
4366 MY(count) = 3;
4367 MY(liquidfriction) = 8;
4368 MY(notunderwater) = true;
4369 MY(originjitter) = '8.0 8.0 8.0';
4370 MY(sizeincrease) = 5;
4371 MY(size_min) = 6;
4372 MY(size_max) = 16;
4373 MY(tex_min) = 48;
4374 MY(tex_max) = 55;
4375 MY(type) = "smoke";
4376 MY(velocityjitter) = '156.0 156.0 156.0';
4377}
4378// fire effect which expands then slows
4379SUB(flac_explode) {
4380 MY(airfriction) = 12;
4381 MY(alpha_min) = 128;
4382 MY(alpha_max) = 256;
4383 MY(alpha_fade) = 456;
4384 MY(bounce) = 1.500000;
4385 MY(color_min) = "0x8f0d00";
4386 MY(color_max) = "0xff5a00";
4387 MY(count) = 6;
4388 MY(liquidfriction) = 8;
4389 MY(notunderwater) = true;
4390 MY(originjitter) = '8.0 8.0 8.0';
4391 MY(sizeincrease) = 15;
4392 MY(size_min) = 10;
4393 MY(size_max) = 16;
4394 MY(tex_min) = 48;
4395 MY(tex_max) = 55;
4396 MY(type) = "static";
4397 MY(velocityjitter) = '256.0 256.0 256.0';
4398}
4399// smoke
4400SUB(flac_explode) {
4401 MY(airfriction) = 5;
4402 MY(alpha_min) = 500;
4403 MY(alpha_max) = 600;
4404 MY(alpha_fade) = 556;
4405 MY(bounce) = 2;
4406 MY(color_min) = "0x000000";
4407 MY(color_max) = "0x111111";
4408 MY(count) = 5;
4409 MY(notunderwater) = true;
4410 MY(sizeincrease) = 20;
4411 MY(size_min) = 10;
4412 MY(size_max) = 20;
4413 MY(tex_max) = 8;
4414 MY(type) = "alphastatic";
4415 MY(velocityjitter) = '244.0 244.0 244.0';
4416}
4417// underwater bubbles
4418SUB(flac_explode) {
4419 MY(alpha_min) = 128;
4420 MY(alpha_max) = 256;
4421 MY(alpha_fade) = 64;
4422 MY(bounce) = 1.500000;
4423 MY(color_min) = "0x404040";
4424 MY(color_max) = "0x808080";
4425 MY(count) = 8;
4426 MY(gravity) = -0.125000;
4427 MY(liquidfriction) = 0.250000;
4428 MY(originjitter) = '16.0 16.0 16.0';
4429 MY(size_min) = 1;
4430 MY(size_max) = 2;
4431 MY(tex_min) = 62;
4432 MY(tex_max) = 62;
4433 MY(type) = "bubble";
4434 MY(underwater) = true;
4435 MY(velocityjitter) = '96.0 96.0 96.0';
4436}
4437// bouncing sparks
4438SUB(flac_explode) {
4439 MY(airfriction) = 0.200000;
4440 MY(alpha_min) = 256;
4441 MY(alpha_max) = 256;
4442 MY(alpha_fade) = 384;
4443 MY(bounce) = 1.500000;
4444 MY(color_min) = "0x903010";
4445 MY(color_max) = "0xFFD030";
4446 MY(count) = 4;
4447 MY(gravity) = 1;
4448 MY(liquidfriction) = 0.800000;
4449 MY(notunderwater) = true;
4450 MY(size_min) = 2;
4451 MY(size_max) = 2;
4452 MY(tex_min) = 40;
4453 MY(tex_max) = 40;
4454 MY(type) = "spark";
4455 MY(velocityjitter) = '256.0 256.0 256.0';
4456 MY(velocityoffset) = '0.0 0.0 80.0';
4457}
4458
4459// bullet trail (somewhat like a tracer)
4460DEF(tr_bullet);
4461SUB(tr_bullet) {
4462 MY(alpha) = '500 600 10000';
4463 MY(color_min) = "0xf03000";
4464 MY(color_max) = "0xff6010";
4465 MY(countabsolute) = 1;
4466 MY(sizeincrease) = -3;
4467 MY(size_min) = 0.6;
4468 MY(size_max) = 0.8;
4469 my(tex_min) = 200;
4470 my(tex_max) = 200;
4471 MY(type) = "beam";
4472}
4473SUB(tr_bullet) {
4474 MY(airfriction) = -4;
4475 MY(alpha) = '256 256 350';
4476 MY(color_min) = "0x202020";
4477 MY(color_max) = "0x404040";
4478 MY(notunderwater) = true;
4479 MY(sizeincrease) = 0.4;
4480 MY(size_min) = 1;
4481 MY(size_max) = 2;
4482 MY(tex_min) = 0;
4483 MY(tex_max) = 8;
4484 MY(trailspacing) = 16;
4485 MY(type) = "smoke";
4486 MY(velocityjitter) = '4 4 4';
4487}
4488SUB(tr_bullet) {
4489 MY(alpha_min) = 256;
4490 MY(alpha_max) = 256;
4491 MY(alpha_fade) = 128;
4492 MY(bounce) = 1.500000;
4493 MY(color_min) = "0x404040";
4494 MY(color_max) = "0x808080";
4495 MY(gravity) = -0.125000;
4496 MY(liquidfriction) = 4;
4497 MY(size_min) = 0.5;
4498 MY(size_max) = 0.6;
4499 MY(tex_min) = 62;
4500 MY(tex_max) = 62;
4501 MY(trailspacing) = 16;
4502 MY(type) = "bubble";
4503 MY(underwater) = true;
4504 MY(velocityjitter) = '16.0 16.0 16.0';
4505}
4506
4507// smoke emitter for small pipes
4508DEF(smoking_smallemitter);
4509SUB(smoking_smallemitter) {
4510 MY(airfriction) = -1;
4511 MY(alpha_min) = 200;
4512 MY(alpha_max) = 256;
4513 MY(alpha_fade) = 100;
4514 MY(color_min) = "0x292929";
4515 MY(color_max) = "0x000000";
4516 MY(count) = 10;
4517 MY(gravity) = -0.100000;
4518 MY(originjitter) = '10.0 10.0 10.0';
4519 MY(sizeincrease) = 20;
4520 MY(size_min) = 6;
4521 MY(size_max) = 15;
4522 MY(tex_max) = 8;
4523 MY(type) = "alphastatic";
4524 MY(velocityjitter) = '5.0 5.0 20.0';
4525}
4526
4527// crylink trail
4528DEF(TR_CRYLINKPLASMA);
4529// plasma smoke
4530SUB(TR_CRYLINKPLASMA) {
4531 MY(alpha_min) = 256;
4532 MY(alpha_max) = 256;
4533 MY(alpha_fade) = 1024;
4534 MY(color_min) = "0x5522aa";
4535 MY(color_max) = "0x6622ff";
4536 MY(sizeincrease) = 8;
4537 MY(size_min) = 2;
4538 MY(size_max) = 2;
4539 MY(tex_min) = 32;
4540 MY(tex_max) = 32;
4541 MY(trailspacing) = 128;
4542 MY(type) = "static";
4543 MY(velocityjitter) = '8.0 8.0 8.0';
4544 MY(velocitymultiplier) = -0.010000;
4545}
4546// crylink main trail
4547SUB(TR_CRYLINKPLASMA) {
4548 MY(alpha_min) = 256;
4549 MY(alpha_max) = 256;
4550 MY(alpha_fade) = 2600;
4551 MY(color_min) = "0x5522aa";
4552 MY(color_max) = "0x6622ff";
4553 MY(sizeincrease) = 15;
4554 MY(size_min) = 3;
4555 MY(size_max) = 3;
4556 MY(tex_min) = 3;
4557 MY(tex_max) = 3;
4558 MY(trailspacing) = 16;
4559 MY(type) = "static";
4560 MY(velocityjitter) = '2.0 2.0 2.0';
4561 MY(velocitymultiplier) = 0.010000;
4562}
4563
4564DEF(cherryblossom);
4565SUB(cherryblossom) {
4566 MY(airfriction) = 1;
4567 MY(alpha_min) = 128;
4568 MY(alpha_max) = 256;
4569 MY(alpha_fade) = 32;
4570 MY(bounce) = 1.500000;
4571 MY(color_min) = "0xb123ff";
4572 MY(color_max) = "0xb183ff";
4573 MY(count) = 1.500000;
4574 MY(gravity) = 0.050000;
4575 MY(liquidfriction) = 1;
4576 MY(originjitter) = '16.0 16.0 16.0';
4577 MY(size_min) = 1.500000;
4578 MY(size_max) = 2;
4579 MY(tex_min) = 40;
4580 MY(tex_max) = 40;
4581 MY(type) = "static";
4582 MY(velocityjitter) = '32.0 32.0 0.0';
4583}
4584
4585DEF(alien_blood);
4586SUB(alien_blood) {
4587 MY(airfriction) = 0.400000;
4588 MY(alpha_min) = 1560;
4589 MY(alpha_max) = 2560;
4590 MY(alpha_fade) = 7000;
4591 MY(blend) = "invmod";
4592 MY(bounce) = -1;
4593 MY(color_min) = "0xDC9BCD";
4594 MY(color_max) = "0xDC9BCD";
4595 MY(count) = 0.400000;
4596 MY(sizeincrease) = 20;
4597 MY(size_min) = 5;
4598 MY(size_max) = 11;
4599 MY(staincolor_min) = "0xDC9BCD";
4600 MY(staincolor_max) = "0xDC9BCD";
4601 MY(stainsize_min) = 1;
4602 MY(stainsize_max) = 2;
4603 MY(staintex_min) = 16;
4604 MY(staintex_max) = 24;
4605 MY(stretchfactor) = 25;
4606 MY(tex_min) = 24;
4607 MY(tex_max) = 32;
4608 MY(type) = "spark";
4609 MY(velocityjitter) = '99.0 99.0 55.0';
4610}
4611// blood mist
4612SUB(alien_blood) {
4613 MY(alpha_min) = 3000;
4614 MY(alpha_max) = 5560;
4615 MY(alpha_fade) = 12000;
4616 MY(blend) = "invmod";
4617 MY(color_min) = "0xDC9BCD";
4618 MY(color_max) = "0xDC9BCD";
4619 MY(countabsolute) = 1;
4620 MY(originjitter) = '11.0 11.0 11.0';
4621 MY(sizeincrease) = 20;
4622 MY(size_min) = 25;
4623 MY(size_max) = 30;
4624 MY(tex_min) = 24;
4625 MY(tex_max) = 32;
4626 MY(type) = "smoke";
4627}
4628
4629DEF(robot_blood);
4630SUB(robot_blood) {
4631 MY(airfriction) = 1;
4632 MY(alpha_min) = 256;
4633 MY(alpha_max) = 256;
4634 MY(alpha_fade) = 64;
4635 MY(bounce) = -1;
4636 MY(color_min) = "0xff3000";
4637 MY(color_max) = "0xff7373";
4638 MY(count) = 0.167000;
4639 MY(gravity) = 1;
4640 MY(liquidfriction) = 4;
4641 MY(size_min) = 1;
4642 MY(size_max) = 2;
4643 MY(tex_min) = 70;
4644 MY(tex_max) = 70;
4645 MY(type) = "spark";
4646 MY(velocityjitter) = '264.0 264.0 264.0';
4647 MY(velocityoffset) = '0.0 0.0 100.0';
4648}
4649// shockwave
4650SUB(robot_blood) {
4651 MY(alpha_max) = 90;
4652 MY(alpha_fade) = 1000;
4653 MY(color_min) = "0xff8400";
4654 MY(color_max) = "0xffbb72";
4655 MY(countabsolute) = 1;
4656 MY(originjitter) = '11.0 11.0 11.0';
4657 MY(sizeincrease) = 800;
4658 MY(size_min) = 2;
4659 MY(size_max) = 2;
4660 MY(tex_min) = 74;
4661 MY(tex_max) = 74;
4662 MY(type) = "smoke";
4663}
4664// electo sparks
4665SUB(robot_blood) {
4666 MY(alpha_min) = 256;
4667 MY(alpha_max) = 256;
4668 MY(alpha_fade) = 5120;
4669 MY(color_min) = "0xff3000";
4670 MY(color_max) = "0xff8585";
4671 MY(count) = 0.100000;
4672 MY(originjitter) = '41.0 41.0 21.0';
4673 MY(startangle_min) = -180;
4674 MY(startangle_max) = 180;
4675 MY(spin_min) = 4000;
4676 MY(spin_max) = -4000;
4677 MY(size_min) = 20;
4678 MY(size_max) = 40;
4679 MY(tex_min) = 71;
4680 MY(tex_max) = 73;
4681 MY(type) = "smoke";
4682}
4683
4684DEF(alien_TR_BLOOD);
4685SUB(alien_TR_BLOOD) {
4686 MY(airfriction) = -2;
4687 MY(alpha_min) = 384;
4688 MY(alpha_max) = 984;
4689 MY(alpha_fade) = 1492;
4690 MY(blend) = "invmod";
4691 MY(bounce) = -1;
4692 MY(color_min) = "0xC080B0";
4693 MY(color_max) = "0xC080B0";
4694 MY(gravity) = 0.400000;
4695 MY(liquidfriction) = 1;
4696 MY(sizeincrease) = -5;
4697 MY(size_min) = 4;
4698 MY(size_max) = 19;
4699 MY(staincolor_min) = "0xC080B0";
4700 MY(staincolor_max) = "0xC080B0";
4701 MY(stainsize_min) = 1;
4702 MY(stainsize_max) = 2;
4703 MY(staintex_min) = 16;
4704 MY(staintex_max) = 24;
4705 MY(stretchfactor) = 7;
4706 MY(tex_min) = 24;
4707 MY(tex_max) = 32;
4708 MY(trailspacing) = 20;
4709 MY(type) = "spark";
4710 MY(velocityjitter) = '64.0 64.0 64.0';
4711 MY(velocitymultiplier) = -0.100000;
4712}
4713
4714// splash around gib
4715SUB(TR_BLOOD) {
4716 MY(alpha_min) = 684;
4717 MY(alpha_max) = 684;
4718 MY(alpha_fade) = 7492;
4719 MY(color_min) = "0xA8FFFF";
4720 MY(color_max) = "0xA8FFFF";
4721 MY(sizeincrease) = 500;
4722 MY(size_min) = 4;
4723 MY(size_max) = 6;
4724 MY(tex_min) = 24;
4725 MY(tex_max) = 32;
4726 MY(trailspacing) = 42;
4727 MY(type) = "blood";
4728}
4729
4730DEF(robot_TR_BLOOD);
4731SUB(robot_TR_BLOOD) {
4732 MY(airfriction) = -2;
4733 MY(alpha_min) = 384;
4734 MY(alpha_max) = 984;
4735 MY(alpha_fade) = 1892;
4736 MY(blend) = "invmod";
4737 MY(bounce) = -1;
4738 MY(color_min) = "0xC0D890";
4739 MY(color_max) = "0xC0D890";
4740 MY(gravity) = 0.400000;
4741 MY(liquidfriction) = 1;
4742 MY(sizeincrease) = -6;
4743 MY(size_min) = 4;
4744 MY(size_max) = 13;
4745 MY(staincolor_min) = "0x808080";
4746 MY(staincolor_max) = "0x808080";
4747 MY(stainsize_min) = 1;
4748 MY(stainsize_max) = 3;
4749 MY(staintex_min) = 16;
4750 MY(staintex_max) = 24;
4751 MY(stretchfactor) = 6;
4752 MY(tex_min) = 24;
4753 MY(tex_max) = 32;
4754 MY(trailspacing) = 16;
4755 MY(type) = "spark";
4756 MY(velocityjitter) = '64.0 64.0 64.0';
4757 MY(velocitymultiplier) = -0.300000;
4758}
4759// fire
4760SUB(robot_TR_BLOOD) {
4761 MY(airfriction) = 4;
4762 MY(alpha_min) = 128;
4763 MY(alpha_max) = 256;
4764 MY(alpha_fade) = 900;
4765 MY(color_min) = "0x902010";
4766 MY(color_max) = "0xff3600";
4767 MY(gravity) = -1;
4768 MY(liquidfriction) = 4;
4769 MY(notunderwater) = true;
4770 MY(sizeincrease) = 10;
4771 MY(size_min) = 5;
4772 MY(size_max) = 20;
4773 MY(stretchfactor) = 5;
4774 MY(tex_min) = 48;
4775 MY(tex_max) = 55;
4776 MY(trailspacing) = 16;
4777 MY(type) = "spark";
4778 MY(velocityjitter) = '44.0 44.0 44.0';
4779}
4780// arcs
4781SUB(robot_TR_BLOOD) {
4782 MY(alpha_min) = 1128;
4783 MY(alpha_max) = 1256;
4784 MY(alpha_fade) = 44900;
4785 MY(color_min) = "0xff3000";
4786 MY(color_max) = "0xff8585";
4787 MY(startangle_min) = -180;
4788 MY(startangle_max) = 180;
4789 MY(spin_min) = 4000;
4790 MY(spin_max) = -4000;
4791 MY(size_min) = 25;
4792 MY(size_max) = 30;
4793 MY(tex_min) = 71;
4794 MY(tex_max) = 73;
4795 MY(trailspacing) = 128;
4796 MY(type) = "smoke";
4797 MY(velocityjitter) = '44.0 44.0 44.0';
4798}
4799
4800DEF(alien_TR_SLIGHTBLOOD);
4801SUB(alien_TR_SLIGHTBLOOD) {
4802 MY(airfriction) = 1;
4803 MY(alpha_min) = 384;
4804 MY(alpha_max) = 384;
4805 MY(alpha_fade) = 192;
4806 MY(bounce) = -1;
4807 MY(color_min) = "0xC080B0";
4808 MY(color_max) = "0xC080B0";
4809 MY(liquidfriction) = 4;
4810 MY(size_min) = 80;
4811 MY(size_max) = 80;
4812 MY(staincolor_min) = "0x808080";
4813 MY(staincolor_max) = "0x808080";
4814 MY(staintex_min) = 16;
4815 MY(staintex_max) = 24;
4816 MY(tex_min) = 24;
4817 MY(tex_max) = 32;
4818 MY(trailspacing) = 64;
4819 MY(type) = "blood";
4820 MY(velocityjitter) = '64.0 64.0 64.0';
4821 MY(velocitymultiplier) = 0.500000;
4822}
4823
4824DEF(robot_TR_SLIGHTBLOOD);
4825SUB(robot_TR_SLIGHTBLOOD) {
4826 MY(airfriction) = 1;
4827 MY(alpha_min) = 384;
4828 MY(alpha_max) = 384;
4829 MY(alpha_fade) = 192;
4830 MY(bounce) = -1;
4831 MY(color_min) = "0xC0D890";
4832 MY(color_max) = "0xC0D890";
4833 MY(liquidfriction) = 4;
4834 MY(size_min) = 8;
4835 MY(size_max) = 8;
4836 MY(staincolor_min) = "0x808080";
4837 MY(staincolor_max) = "0x808080";
4838 MY(staintex_min) = 16;
4839 MY(staintex_max) = 24;
4840 MY(tex_min) = 24;
4841 MY(tex_max) = 32;
4842 MY(trailspacing) = 64;
4843 MY(type) = "blood";
4844 MY(velocityjitter) = '64.0 64.0 64.0';
4845 MY(velocitymultiplier) = 0.500000;
4846}
4847
4848DEF(item_pickup);
4849// flare particle and light
4850SUB(item_pickup) {
4851 MY(alpha_min) = 128;
4852 MY(alpha_max) = 64;
4853 MY(alpha_fade) = 64;
4854 MY(color_min) = "0x63F2EA";
4855 MY(color_max) = "0xB0C5C4";
4856 MY(countabsolute) = 1;
4857 MY(size_min) = 8;
4858 MY(size_max) = 16;
4859 MY(type) = "static";
4860}
4861// cloud of particles which expand rapidly and then slow to form a ball
4862SUB(item_pickup) {
4863 MY(alpha_min) = 256;
4864 MY(alpha_max) = 256;
4865 MY(alpha_fade) = 1280;
4866 MY(color_min) = "0x63F2EA";
4867 MY(color_max) = "0xB0C5C4";
4868 MY(count) = 32;
4869 MY(size_min) = 1;
4870 MY(size_max) = 1;
4871 MY(tex_min) = 41;
4872 MY(tex_max) = 41;
4873 MY(type) = "spark";
4874 MY(velocityjitter) = '256.0 256.0 256.0';
4875}
4876
4877DEF(bloodshower);
4878SUB(bloodshower) {
4879 MY(alpha_min) = 156;
4880 MY(alpha_max) = 656;
4881 MY(alpha_fade) = 1664;
4882 MY(blend) = "invmod";
4883 MY(bounce) = -1;
4884 MY(color_min) = "0xA8FFFF";
4885 MY(color_max) = "0xA8FFFFF";
4886 MY(count) = 125;
4887 MY(gravity) = 1;
4888 MY(liquidfriction) = 4;
4889 MY(size_min) = 8;
4890 MY(size_max) = 28;
4891 MY(staincolor_min) = "0x808080";
4892 MY(staincolor_max) = "0x808080";
4893 MY(stainsize_min) = 1;
4894 MY(stainsize_max) = 2;
4895 MY(staintex_min) = 16;
4896 MY(staintex_max) = 24;
4897 MY(stretchfactor) = 3;
4898 MY(tex_min) = 24;
4899 MY(tex_max) = 32;
4900 MY(type) = "spark";
4901 MY(velocityjitter) = '764.0 764.0 764.0';
4902}
4903// center blood
4904SUB(bloodshower) {
4905 MY(alpha_min) = 156;
4906 MY(alpha_max) = 656;
4907 MY(alpha_fade) = 1664;
4908 MY(blend) = "invmod";
4909 MY(color_min) = "0xA8FFFF";
4910 MY(color_max) = "0xA8FFFFF";
4911 MY(countabsolute) = 0.100000;
4912 MY(originjitter) = '50.0 50.0 50.0';
4913 MY(sizeincrease) = 300;
4914 MY(size_min) = 1;
4915 MY(size_max) = 28;
4916 MY(tex_min) = 24;
4917 MY(tex_max) = 32;
4918 MY(type) = "smoke";
4919}
4920
4921DEF(alien_bloodshower);
4922SUB(alien_bloodshower) {
4923 MY(alpha_min) = 156;
4924 MY(alpha_max) = 656;
4925 MY(alpha_fade) = 1664;
4926 MY(blend) = "invmod";
4927 MY(bounce) = -1;
4928 MY(color_min) = "0xC080B0";
4929 MY(color_max) = "0xC080B0";
4930 MY(count) = 125;
4931 MY(gravity) = 1;
4932 MY(liquidfriction) = 4;
4933 MY(size_min) = 8;
4934 MY(size_max) = 28;
4935 MY(staincolor_min) = "0xC080B0";
4936 MY(staincolor_max) = "0xC080B0";
4937 MY(stainsize_min) = 1;
4938 MY(stainsize_max) = 2;
4939 MY(staintex_min) = 16;
4940 MY(staintex_max) = 24;
4941 MY(stretchfactor) = 3;
4942 MY(tex_min) = 24;
4943 MY(tex_max) = 32;
4944 MY(type) = "spark";
4945 MY(velocityjitter) = '764.0 764.0 764.0';
4946}
4947// center blood
4948SUB(bloodshower) {
4949 MY(alpha_min) = 156;
4950 MY(alpha_max) = 656;
4951 MY(alpha_fade) = 1664;
4952 MY(blend) = "invmod";
4953 MY(color_min) = "0xA8FFFF";
4954 MY(color_max) = "0xA8FFFFF";
4955 MY(countabsolute) = 0.100000;
4956 MY(originjitter) = '50.0 50.0 50.0';
4957 MY(sizeincrease) = 300;
4958 MY(size_min) = 1;
4959 MY(size_max) = 28;
4960 MY(tex_min) = 24;
4961 MY(tex_max) = 32;
4962 MY(type) = "smoke";
4963}
4964
4965DEF(robot_bloodshower);
4966SUB(robot_bloodshower) {
4967 MY(alpha_min) = 156;
4968 MY(alpha_max) = 656;
4969 MY(alpha_fade) = 1664;
4970 MY(blend) = "invmod";
4971 MY(bounce) = -1;
4972 MY(color_min) = "0xC0D890";
4973 MY(color_max) = "0xC0D890";
4974 MY(count) = 100;
4975 MY(gravity) = 1;
4976 MY(liquidfriction) = 4;
4977 MY(size_min) = 8;
4978 MY(size_max) = 28;
4979 MY(staincolor_min) = "0xC0D890";
4980 MY(staincolor_max) = "0xC0D890";
4981 MY(stainsize_min) = 1;
4982 MY(stainsize_max) = 2;
4983 MY(staintex_min) = 16;
4984 MY(staintex_max) = 24;
4985 MY(stretchfactor) = 3;
4986 MY(tex_min) = 24;
4987 MY(tex_max) = 32;
4988 MY(type) = "spark";
4989 MY(velocityjitter) = '764.0 764.0 764.0';
4990}
4991// arc
4992SUB(robot_bloodshower) {
4993 MY(alpha_min) = 1128;
4994 MY(alpha_max) = 1256;
4995 MY(alpha_fade) = 4200;
4996 MY(color_min) = "0xff3000";
4997 MY(color_max) = "0xff8585";
4998 MY(count) = 2.500000;
4999 MY(originjitter) = '150.0 150.0 150.0';
5000 MY(startangle_min) = -180;
5001 MY(startangle_max) = 180;
5002 MY(spin_min) = 99;
5003 MY(spin_max) = -99;
5004 MY(size_min) = 25;
5005 MY(size_max) = 40;
5006 MY(tex_min) = 71;
5007 MY(tex_max) = 73;
5008 MY(type) = "smoke";
5009 MY(velocityjitter) = '44.0 44.0 44.0';
5010}
5011// shockwave
5012SUB(robot_bloodshower) {
5013 MY(alpha_min) = 11;
5014 MY(alpha_max) = 125;
5015 MY(alpha_fade) = 990;
5016 MY(color_min) = "0xff3000";
5017 MY(color_max) = "0xff8585";
5018 MY(count) = 2.500000;
5019 MY(sizeincrease) = 3000;
5020 MY(size_min) = 5;
5021 MY(size_max) = 50;
5022 MY(tex_min) = 74;
5023 MY(tex_max) = 74;
5024 MY(type) = "smoke";
5025}
5026
5027#define ground_quake(name, colormin, colormax) \
5028 DEF(name##_ground_quake); \
5029 SUB(name##_ground_quake) /* smoke */ { \
5030 MY(airfriction) = 3; \
5031 MY(alpha_min) = 100; \
5032 MY(alpha_max) = 126; \
5033 MY(alpha_fade) = 200; \
5034 MY(bounce) = 1.100000; \
5035 MY(color_min) = "0x111111"; \
5036 MY(color_max) = "0xbbbbbb"; \
5037 MY(count) = 90; \
5038 MY(gravity) = 0.500000; \
5039 MY(notunderwater) = true; \
5040 MY(sizeincrease) = 100; \
5041 MY(size_min) = 20; \
5042 MY(size_max) = 50; \
5043 MY(tex_max) = 8; \
5044 MY(time_min) = 5; \
5045 MY(time_max) = 10; \
5046 MY(type) = "smoke"; \
5047 MY(velocityjitter) = '190.0 190.0 50.0'; \
5048 } \
5049 SUB(name##_ground_quake) { \
5050 MY(airfriction) = 4; \
5051 MY(alpha_min) = 100; \
5052 MY(alpha_max) = 126; \
5053 MY(alpha_fade) = 200; \
5054 MY(bounce) = 1.200000; \
5055 MY(color_min) = "0x111111"; \
5056 MY(color_max) = "0x979797"; \
5057 MY(count) = 40; \
5058 MY(gravity) = 0.200000; \
5059 MY(notunderwater) = true; \
5060 MY(sizeincrease) = 60; \
5061 MY(size_min) = 10; \
5062 MY(size_max) = 30; \
5063 MY(tex_max) = 8; \
5064 MY(time_min) = 10; \
5065 MY(time_max) = 15; \
5066 MY(type) = "smoke"; \
5067 MY(velocityjitter) = '190.0 190.0 50.0'; \
5068 } \
5069 SUB(name##_ground_quake) { \
5070 MY(alpha_min) = 200; \
5071 MY(alpha_max) = 356; \
5072 MY(alpha_fade) = 512; \
5073 MY(bounce) = 6; \
5074 MY(color_min) = colormin; \
5075 MY(color_max) = colormax; \
5076 MY(count) = 16; \
5077 MY(gravity) = -0.500000; \
5078 MY(originjitter) = '33.0 33.0 33.0'; \
5079 MY(sizeincrease) = 5; \
5080 MY(size_min) = 4; \
5081 MY(size_max) = 20; \
5082 MY(tex_min) = 48; \
5083 MY(tex_max) = 55; \
5084 MY(time_min) = 15; \
5085 MY(time_max) = 25; \
5086 MY(type) = "smoke"; \
5087 MY(velocityjitter) = '22.0 22.0 50.0'; \
5088 } \
5089 SUB(name##_ground_quake) /* smoke */ { \
5090 MY(alpha_min) = 200; \
5091 MY(alpha_max) = 256; \
5092 MY(alpha_fade) = 200; \
5093 MY(bounce) = 2; \
5094 MY(color_min) = "0x000000"; \
5095 MY(color_max) = "0xffffff"; \
5096 MY(count) = 11; \
5097 MY(gravity) = -0.300000; \
5098 MY(originjitter) = '44.0 44.0 44.0'; \
5099 MY(sizeincrease) = 11; \
5100 MY(size_min) = 22; \
5101 MY(size_max) = 33; \
5102 MY(tex_max) = 8; \
5103 MY(time_min) = 25; \
5104 MY(time_max) = 35; \
5105 MY(type) = "alphastatic"; \
5106 MY(velocityjitter) = '11.0 11.0 50.0'; \
5107 } \
5108 /**/
5109
5110ground_quake(red, "0x9E6A64", "0x91302D")
5111ground_quake(blue, "0x64679E", "0x2D4C91")
5112#undef ground_quake
5113
5115
5116// Team / hit vaporizer effects
5117#define TE_TEI_G3(name, colormin1, colormax1, colormin2, colormax2) \
5118 DEF(TE_TEI_G3##name); \
5119 SUB(TE_TEI_G3##name) { \
5120 MY(alpha_min) = 128; \
5121 MY(alpha_max) = 128; \
5122 MY(alpha_fade) = 256; \
5123 MY(color_min) = colormin1; \
5124 MY(color_max) = colormax1; \
5125 MY(countabsolute) = 1; \
5126 MY(size_min) = 4; \
5127 MY(size_max) = 4; \
5128 MY(tex_min) = 200; \
5129 MY(tex_max) = 200; \
5130 MY(type) = "beam"; \
5131 } \
5132 SUB(TE_TEI_G3##name) { \
5133 MY(airfriction) = -4; \
5134 MY(alpha_min) = 256; \
5135 MY(alpha_max) = 256; \
5136 MY(alpha_fade) = 512; \
5137 MY(color_min) = colormin2; \
5138 MY(color_max) = colormax2; \
5139 MY(sizeincrease) = 3; \
5140 MY(size_min) = 0.300000; \
5141 MY(size_max) = 0.300000; \
5142 MY(tex_min) = 46; \
5143 MY(tex_max) = 46; \
5144 MY(trailspacing) = 8; \
5145 MY(type) = "smoke"; \
5146 MY(velocityjitter) = '3.0 3.0 3.0'; \
5147 } \
5148 DEF(TE_TEI_G3##name##_HIT); \
5149 SUB(TE_TEI_G3##name##_HIT) { \
5150 MY(alpha_min) = 128; \
5151 MY(alpha_max) = 128; \
5152 MY(alpha_fade) = 256; \
5153 MY(color_min) = colormin1; \
5154 MY(color_max) = colormax1; \
5155 MY(countabsolute) = 1; \
5156 MY(size_min) = 8; \
5157 MY(size_max) = 8; \
5158 MY(tex_min) = 200; \
5159 MY(tex_max) = 200; \
5160 MY(type) = "beam"; \
5161 } \
5162 SUB(TE_TEI_G3##name##_HIT) /* rings */ { \
5163 MY(airfriction) = -4; \
5164 MY(alpha_min) = 256; \
5165 MY(alpha_max) = 256; \
5166 MY(alpha_fade) = 512; \
5167 MY(color_min) = "0xFFFFFF"; \
5168 MY(color_max) = colormax1; \
5169 MY(sizeincrease) = -2; \
5170 MY(size_min) = 2; \
5171 MY(size_max) = 2; \
5172 MY(trailspacing) = 20; \
5173 MY(type) = "smoke"; \
5174 MY(velocityjitter) = '2.0 2.0 2.0'; \
5175 } \
5176 SUB(TE_TEI_G3##name##_HIT) { \
5177 MY(airfriction) = -4; \
5178 MY(alpha_min) = 256; \
5179 MY(alpha_max) = 256; \
5180 MY(alpha_fade) = 512; \
5181 MY(color_min) = colormin1; \
5182 MY(color_max) = colormax1; \
5183 MY(sizeincrease) = -6; \
5184 MY(size_min) = 10; \
5185 MY(size_max) = 10; \
5186 MY(trailspacing) = 40; \
5187 MY(type) = "smoke"; \
5188 } \
5189 /**/
5190TE_TEI_G3(RED, "0xFF0000", "0xFF0011", "0x200000", "0x400000")
5191TE_TEI_G3(BLUE, "0x0000FF", "0x1100FF", "0x000020", "0x000040")
5192TE_TEI_G3(YELLOW, "0xffff00", "0xffff11", "0x202000", "0x404000")
5193TE_TEI_G3(PINK, "0xFF00FF", "0xFF11FF", "0x200020", "0x400040")
5194#undef TE_TEI_G3
5195
5197
5198#include "effectinfo_onslaught.inc"
5199
5200DEF(firemine);
5201SUB(firemine) {
5202 MY(airfriction) = 1.200000;
5203 MY(alpha_min) = 50;
5204 MY(alpha_max) = 256;
5205 MY(alpha_fade) = 250;
5206 MY(bounce) = 1.500000;
5207 MY(color_min) = "0x8f0d00";
5208 MY(color_max) = "0xff5a00";
5209 MY(count) = 0.500000;
5210 MY(gravity) = -0.060000;
5211 MY(sizeincrease) = 5;
5212 MY(size_min) = 1;
5213 MY(size_max) = 1;
5214 MY(tex_min) = 48;
5215 MY(tex_max) = 55;
5216 MY(trailspacing) = 2;
5217 MY(type) = "smoke";
5218 MY(velocityjitter) = '10.0 10.0 2.0';
5219}
5220// slowfire
5221SUB(firemine) {
5222 MY(airfriction) = 1.200000;
5223 MY(alpha_min) = 50;
5224 MY(alpha_max) = 256;
5225 MY(alpha_fade) = 200;
5226 MY(bounce) = 1.500000;
5227 MY(color_min) = "0x8f0d00";
5228 MY(color_max) = "0xff5a00";
5229 MY(count) = 0.500000;
5230 MY(gravity) = -0.060000;
5231 MY(sizeincrease) = 5;
5232 MY(size_min) = 1;
5233 MY(size_max) = 1;
5234 MY(tex_min) = 48;
5235 MY(tex_max) = 55;
5236 MY(trailspacing) = 2;
5237 MY(type) = "smoke";
5238 MY(velocityjitter) = '10.0 10.0 10.0';
5239}
5240// very slow and small fire
5241SUB(firemine) {
5242 MY(airfriction) = 0.300000;
5243 MY(alpha_min) = 50;
5244 MY(alpha_max) = 256;
5245 MY(alpha_fade) = 200;
5246 MY(bounce) = 1.500000;
5247 MY(color_min) = "0x8f0d00";
5248 MY(color_max) = "0xff5a00";
5249 MY(count) = 0.500000;
5250 MY(gravity) = -0.060000;
5251 MY(sizeincrease) = 2;
5252 MY(size_min) = 1;
5253 MY(size_max) = 1;
5254 MY(tex_min) = 48;
5255 MY(tex_max) = 55;
5256 MY(trailspacing) = 4;
5257 MY(type) = "smoke";
5258 MY(velocityjitter) = '8.0 8.0 8.0';
5259}
5260// decreasing fire
5261SUB(firemine) {
5262 MY(airfriction) = 0.300000;
5263 MY(alpha_min) = 50;
5264 MY(alpha_max) = 256;
5265 MY(alpha_fade) = 200;
5266 MY(bounce) = 1.500000;
5267 MY(color_min) = "0x8f0d00";
5268 MY(color_max) = "0xff5a00";
5269 MY(count) = 0.500000;
5270 MY(gravity) = -0.060000;
5271 MY(sizeincrease) = -3;
5272 MY(size_min) = 5;
5273 MY(size_max) = 7;
5274 MY(tex_min) = 48;
5275 MY(tex_max) = 55;
5276 MY(trailspacing) = 4;
5277 MY(type) = "smoke";
5278 MY(velocityjitter) = '3.0 3.0 3.0';
5279}
5280// smoke
5281SUB(firemine) {
5282 MY(airfriction) = 1;
5283 MY(alpha_min) = 256;
5284 MY(alpha_max) = 256;
5285 MY(alpha_fade) = 90;
5286 MY(color_min) = "0x000000";
5287 MY(color_max) = "0x111111";
5288 MY(count) = 0.500000;
5289 MY(originjitter) = '2.0 2.0 2.0';
5290 MY(sizeincrease) = 1;
5291 MY(size_min) = 1;
5292 MY(size_max) = 4;
5293 MY(tex_max) = 8;
5294 MY(trailspacing) = 8;
5295 MY(type) = "alphastatic";
5296 MY(velocityoffset) = '0.0 0.0 3.0';
5297}
5298// fastfire
5299SUB(firemine) {
5300 MY(airfriction) = 1.200000;
5301 MY(alpha_min) = 50;
5302 MY(alpha_max) = 256;
5303 MY(alpha_fade) = 1600;
5304 MY(bounce) = 1.500000;
5305 MY(color_min) = "0x8f0d00";
5306 MY(color_max) = "0xff5a00";
5307 MY(count) = 0.500000;
5308 MY(size_min) = 12;
5309 MY(size_max) = 12;
5310 MY(tex_min) = 48;
5311 MY(tex_max) = 55;
5312 MY(trailspacing) = 1;
5313 MY(type) = "smoke";
5314}
5315// light only
5316SUB(firemine) {
5317 MY(lightcolor) = '2.7 2.7 0.6';
5318 MY(lightradiusfade) = 50000;
5319 MY(lightradius) = 50;
5320 MY(trailspacing) = 16;
5321}
5322
5323DEF(fireball);
5324SUB(fireball) {
5325 MY(airfriction) = 1.200000;
5326 MY(alpha_min) = 50;
5327 MY(alpha_max) = 256;
5328 MY(alpha_fade) = 250;
5329 MY(bounce) = 1.500000;
5330 MY(color_min) = "0x8f0d00";
5331 MY(color_max) = "0xff5a00";
5332 MY(count) = 0.500000;
5333 MY(gravity) = -0.060000;
5334 MY(sizeincrease) = 20;
5335 MY(size_min) = 5;
5336 MY(size_max) = 5;
5337 MY(tex_min) = 48;
5338 MY(tex_max) = 55;
5339 MY(trailspacing) = 2;
5340 MY(type) = "smoke";
5341 MY(velocityjitter) = '40.0 40.0 11.0';
5342}
5343// slow fire
5344SUB(fireball) {
5345 MY(airfriction) = 1.200000;
5346 MY(alpha_min) = 50;
5347 MY(alpha_max) = 256;
5348 MY(alpha_fade) = 200;
5349 MY(bounce) = 1.500000;
5350 MY(color_min) = "0x8f0d00";
5351 MY(color_max) = "0xff5a00";
5352 MY(count) = 0.500000;
5353 MY(gravity) = -0.060000;
5354 MY(sizeincrease) = 20;
5355 MY(size_min) = 5;
5356 MY(size_max) = 5;
5357 MY(tex_min) = 48;
5358 MY(tex_max) = 55;
5359 MY(trailspacing) = 2;
5360 MY(type) = "smoke";
5361 MY(velocityjitter) = '40.0 40.0 40.0';
5362}
5363// very slow and small fire
5364SUB(fireball) {
5365 MY(airfriction) = 0.300000;
5366 MY(alpha_min) = 50;
5367 MY(alpha_max) = 256;
5368 MY(alpha_fade) = 200;
5369 MY(bounce) = 1.500000;
5370 MY(color_min) = "0x8f0d00";
5371 MY(color_max) = "0xff5a00";
5372 MY(count) = 0.500000;
5373 MY(gravity) = -0.060000;
5374 MY(sizeincrease) = 10;
5375 MY(size_min) = 5;
5376 MY(size_max) = 5;
5377 MY(tex_min) = 48;
5378 MY(tex_max) = 55;
5379 MY(trailspacing) = 4;
5380 MY(type) = "smoke";
5381 MY(velocityjitter) = '30.0 30.0 30.0';
5382}
5383// decreasing fire
5384SUB(fireball) {
5385 MY(airfriction) = 0.300000;
5386 MY(alpha_min) = 50;
5387 MY(alpha_max) = 256;
5388 MY(alpha_fade) = 200;
5389 MY(bounce) = 1.500000;
5390 MY(color_min) = "0x8f0d00";
5391 MY(color_max) = "0xff5a00";
5392 MY(count) = 0.500000;
5393 MY(gravity) = -0.060000;
5394 MY(sizeincrease) = -10;
5395 MY(size_min) = 20;
5396 MY(size_max) = 30;
5397 MY(tex_min) = 48;
5398 MY(tex_max) = 55;
5399 MY(trailspacing) = 4;
5400 MY(type) = "smoke";
5401 MY(velocityjitter) = '10.0 10.0 10.0';
5402}
5403// smoke
5404SUB(fireball) {
5405 MY(airfriction) = 1;
5406 MY(alpha_min) = 256;
5407 MY(alpha_max) = 256;
5408 MY(alpha_fade) = 90;
5409 MY(color_min) = "0x000000";
5410 MY(color_max) = "0x111111";
5411 MY(count) = 0.500000;
5412 MY(originjitter) = '10.0 10.0 10.0';
5413 MY(sizeincrease) = 7;
5414 MY(size_min) = 5;
5415 MY(size_max) = 15;
5416 MY(tex_max) = 8;
5417 MY(trailspacing) = 8;
5418 MY(type) = "alphastatic";
5419 MY(velocityoffset) = '0.0 0.0 10.0';
5420}
5421// fast fire
5422SUB(fireball) {
5423 MY(airfriction) = 1.200000;
5424 MY(alpha_min) = 50;
5425 MY(alpha_max) = 256;
5426 MY(alpha_fade) = 1600;
5427 MY(bounce) = 1.500000;
5428 MY(color_min) = "0x8f0d00";
5429 MY(color_max) = "0xff5a00";
5430 MY(count) = 0.500000;
5431 MY(size_min) = 48;
5432 MY(size_max) = 48;
5433 MY(tex_min) = 48;
5434 MY(tex_max) = 55;
5435 MY(trailspacing) = 1;
5436 MY(type) = "smoke";
5437}
5438// light only
5439SUB(fireball) {
5440 MY(lightcolor) = '2.7 2.7 0.6';
5441 MY(lightradiusfade) = 3000;
5442 MY(lightradius) = 300;
5443 MY(trailspacing) = 16;
5444}
5445
5446DEF(fireball_laser);
5447SUB(fireball_laser) {
5448 MY(alpha_min) = 192;
5449 MY(alpha_max) = 256;
5450 MY(alpha_fade) = 2560;
5451 MY(color_min) = "0x800000";
5452 MY(color_max) = "0xFF8020";
5453 MY(count) = 10;
5454 MY(size_min) = 1;
5455 MY(size_max) = 1;
5456 MY(stretchfactor) = 0.700000;
5457 MY(type) = "spark";
5458 MY(velocityjitter) = '1.0 1.0 1.0';
5459 MY(velocitymultiplier) = 10;
5460}
5461
5462// rocket explosion (bigger than mortar and hagar)
5463DEF(fireball_explode);
5464// decal
5465SUB(fireball_explode) {
5466 MY(alpha_min) = 256;
5467 MY(alpha_max) = 256;
5468 MY(countabsolute) = 1;
5469 MY(lightcolor) = '4.0 2.0 0.5';
5470 MY(lightradiusfade) = 500;
5471 MY(lightradius) = 500;
5472 MY(originjitter) = '56.0 56.0 56.0';
5473 MY(size_min) = 72;
5474 MY(size_max) = 72;
5475 MY(tex_min) = 8;
5476 MY(tex_max) = 16;
5477 MY(type) = "decal";
5478}
5479// flare effect
5480SUB(fireball_explode) {
5481 MY(alpha_min) = 192;
5482 MY(alpha_max) = 192;
5483 MY(alpha_fade) = 64;
5484 MY(color_min) = "0x404040";
5485 MY(color_max) = "0x404040";
5486 MY(countabsolute) = 1;
5487 MY(size_min) = 72;
5488 MY(size_max) = 72;
5489 MY(tex_min) = 35;
5490 MY(tex_max) = 37;
5491 MY(type) = "static";
5492}
5493// fire effect
5494SUB(fireball_explode) {
5495 MY(airfriction) = 4;
5496 MY(alpha_min) = 128;
5497 MY(alpha_max) = 128;
5498 MY(alpha_fade) = 256;
5499 MY(bounce) = 1.500000;
5500 MY(color_min) = "0x902010";
5501 MY(color_max) = "0xFFD080";
5502 MY(count) = 128;
5503 MY(liquidfriction) = 4;
5504 MY(notunderwater) = true;
5505 MY(originjitter) = '8.0 8.0 8.0';
5506 MY(size_min) = 16;
5507 MY(size_max) = 16;
5508 MY(tex_min) = 48;
5509 MY(tex_max) = 55;
5510 MY(type) = "static";
5511 MY(velocityjitter) = '512.0 512.0 512.0';
5512}
5513// underwater bubbles
5514SUB(fireball_explode) {
5515 MY(alpha_min) = 128;
5516 MY(alpha_max) = 256;
5517 MY(alpha_fade) = 64;
5518 MY(bounce) = 1.500000;
5519 MY(color_min) = "0x404040";
5520 MY(color_max) = "0x808080";
5521 MY(count) = 32;
5522 MY(gravity) = -0.125000;
5523 MY(liquidfriction) = 0.250000;
5524 MY(originjitter) = '16.0 16.0 16.0';
5525 MY(size_min) = 3;
5526 MY(size_max) = 3;
5527 MY(tex_min) = 62;
5528 MY(tex_max) = 62;
5529 MY(type) = "bubble";
5530 MY(underwater) = true;
5531 MY(velocityjitter) = '144.0 144.0 144.0';
5532}
5533// bouncing sparks
5534SUB(fireball_explode) {
5535 MY(airfriction) = 0.200000;
5536 MY(alpha_min) = 256;
5537 MY(alpha_max) = 256;
5538 MY(alpha_fade) = 384;
5539 MY(bounce) = 1.500000;
5540 MY(color_min) = "0x903010";
5541 MY(color_max) = "0xFFD030";
5542 MY(count) = 64;
5543 MY(gravity) = 1;
5544 MY(liquidfriction) = 0.800000;
5545 MY(notunderwater) = true;
5546 MY(size_min) = 2;
5547 MY(size_max) = 2;
5548 MY(type) = "spark";
5549 MY(velocityjitter) = '384.0 384.0 384.0';
5550 MY(velocityoffset) = '0.0 0.0 80.0';
5551}
5552
5553DEF(fireball_muzzleflash);
5554SUB(fireball_muzzleflash) {
5555 MY(alpha_min) = 256;
5556 MY(alpha_max) = 256;
5557 MY(alpha_fade) = 512;
5558 MY(color_min) = "0x202020";
5559 MY(color_max) = "0x404040";
5560 MY(count) = 2;
5561 MY(lightcolor) = '2.0 1.5 0.2';
5562 MY(lightradiusfade) = 2000;
5563 MY(lightradius) = 200;
5564 MY(originjitter) = '1.5 1.5 1.5';
5565 MY(size_min) = 5;
5566 MY(size_max) = 5;
5567 MY(tex_max) = 8;
5568 MY(type) = "smoke";
5569 MY(velocityjitter) = '6.0 6.0 6.0';
5570 MY(velocitymultiplier) = 0.010000;
5571}
5572SUB(fireball_muzzleflash) {
5573 MY(airfriction) = 12;
5574 MY(alpha_max) = 128;
5575 MY(alpha_fade) = 1024;
5576 MY(color_min) = "0xFFFDD9";
5577 MY(color_max) = "0xFFFDD9";
5578 MY(count) = 15;
5579 MY(originjitter) = '1.0 1.0 1.0';
5580 MY(size_min) = 3;
5581 MY(size_max) = 3;
5582 MY(tex_min) = 40;
5583 MY(tex_max) = 40;
5584 MY(type) = "spark";
5585 MY(velocityjitter) = '300.0 300.0 300.0';
5586 MY(velocitymultiplier) = 0.500000;
5587}
5588
5589DEF(fireball_preattack_muzzleflash);
5590SUB(fireball_preattack_muzzleflash) {
5591 MY(alpha_min) = 256;
5592 MY(alpha_max) = 256;
5593 MY(alpha_fade) = 512;
5594 MY(color_min) = "0x202020";
5595 MY(color_max) = "0x404040";
5596 MY(count) = 2;
5597 MY(lightcolor) = '2.0 1.5 0.2';
5598 MY(lightradiusfade) = 2000;
5599 MY(lightradius) = 200;
5600 MY(originjitter) = '1.5 1.5 1.5';
5601 MY(size_min) = 5;
5602 MY(size_max) = 5;
5603 MY(tex_max) = 8;
5604 MY(type) = "smoke";
5605 MY(velocityjitter) = '6.0 6.0 6.0';
5606 MY(velocitymultiplier) = 0.010000;
5607}
5608SUB(fireball_preattack_muzzleflash) {
5609 MY(airfriction) = 12;
5610 MY(alpha_max) = 128;
5611 MY(alpha_fade) = 1024;
5612 MY(color_min) = "0xFFFDD9";
5613 MY(color_max) = "0xFFFDD9";
5614 MY(count) = 15;
5615 MY(originjitter) = '1.0 1.0 1.0';
5616 MY(size_min) = 3;
5617 MY(size_max) = 3;
5618 MY(tex_min) = 40;
5619 MY(tex_max) = 40;
5620 MY(type) = "spark";
5621 MY(velocityjitter) = '300.0 300.0 300.0';
5622 MY(velocitymultiplier) = 0.500000;
5623}
5624
5625DEF(fireball_bfgdamage);
5626SUB(fireball_bfgdamage) {
5627 MY(alpha_min) = 256;
5628 MY(alpha_max) = 256;
5629 MY(alpha_fade) = 512;
5630 MY(color_min) = "0x202020";
5631 MY(color_max) = "0x404040";
5632 MY(count) = 2;
5633 MY(lightcolor) = '2.0 1.5 0.2';
5634 MY(lightradiusfade) = 2000;
5635 MY(lightradius) = 200;
5636 MY(originjitter) = '1.5 1.5 1.5';
5637 MY(size_min) = 5;
5638 MY(size_max) = 5;
5639 MY(tex_max) = 8;
5640 MY(type) = "smoke";
5641 MY(velocityjitter) = '6.0 6.0 6.0';
5642 MY(velocitymultiplier) = 0.010000;
5643}
5644SUB(fireball_bfgdamage) {
5645 MY(airfriction) = 12;
5646 MY(alpha_max) = 128;
5647 MY(alpha_fade) = 1024;
5648 MY(color_min) = "0xFFFDD9";
5649 MY(color_max) = "0xFFFDD9";
5650 MY(count) = 15;
5651 MY(originjitter) = '1.0 1.0 1.0';
5652 MY(size_min) = 3;
5653 MY(size_max) = 3;
5654 MY(tex_min) = 40;
5655 MY(tex_max) = 40;
5656 MY(type) = "spark";
5657 MY(velocityjitter) = '300.0 300.0 300.0';
5658 MY(velocitymultiplier) = 0.500000;
5659}
5660
5662// fire
5664 MY(alpha_min) = 200;
5665 MY(alpha_max) = 356;
5666 MY(alpha_fade) = 512;
5667 MY(bounce) = 2;
5668 MY(color_min) = "0x8f0d00";
5669 MY(color_max) = "0xff5a00";
5670 MY(count) = 100;
5671 MY(gravity) = -0.500000;
5672 MY(originjitter) = '12.0 12.0 24.0';
5673 MY(originoffset) = '0.0 0.0 10.0';
5674 MY(sizeincrease) = -1;
5675 MY(size_min) = 5;
5676 MY(size_max) = 21;
5677 MY(tex_min) = 48;
5678 MY(tex_max) = 55;
5679 MY(type) = "smoke";
5680 MY(velocityjitter) = '22.0 22.0 50.0';
5681}
5682// smoke
5683SUB(EF_FLAME) {
5684 MY(alpha_min) = 100;
5685 MY(alpha_max) = 156;
5686 MY(alpha_fade) = 200;
5687 MY(bounce) = 2;
5688 MY(color_min) = "0x000000";
5689 MY(color_max) = "0x444444";
5690 MY(count) = 30;
5691 MY(gravity) = -0.500000;
5692 MY(originjitter) = '6.0 6.0 24.0';
5693 MY(originoffset) = '0.0 0.0 40.0';
5694 MY(sizeincrease) = 6;
5695 MY(size_min) = 11;
5696 MY(size_max) = 15;
5697 MY(tex_max) = 8;
5698 MY(type) = "alphastatic";
5699 MY(velocityjitter) = '11.0 11.0 50.0';
5700}
5701
5702// rifle bullet trail (somewhat like a tracer)
5703DEF(tr_rifle);
5704SUB(tr_rifle) {
5705 MY(alpha_min) = 256;
5706 MY(alpha_max) = 256;
5707 MY(alpha_fade) = 2560;
5708 MY(color_min) = "0x800000";
5709 MY(color_max) = "0xFF8020";
5710 MY(size_min) = 1.500000;
5711 MY(size_max) = 1.500000;
5712 MY(stretchfactor) = 1;
5713 MY(trailspacing) = 128;
5714 MY(type) = "spark";
5715 MY(velocitymultiplier) = 0.700000;
5716}
5717SUB(tr_rifle) {
5718 MY(airfriction) = -4;
5719 MY(alpha_min) = 256;
5720 MY(alpha_max) = 256;
5721 MY(alpha_fade) = 256;
5722 MY(color_min) = "0x202020";
5723 MY(color_max) = "0x404040";
5724 MY(notunderwater) = true;
5725 MY(sizeincrease) = 0.400000;
5726 MY(size_min) = 4;
5727 MY(size_max) = 4;
5728 MY(tex_max) = 8;
5729 MY(trailspacing) = 8;
5730 MY(type) = "smoke";
5731 MY(velocityjitter) = '4.0 4.0 4.0';
5732}
5733SUB(tr_rifle) {
5734 MY(alpha_min) = 256;
5735 MY(alpha_max) = 256;
5736 MY(alpha_fade) = 128;
5737 MY(bounce) = 1.500000;
5738 MY(color_min) = "0x404040";
5739 MY(color_max) = "0x808080";
5740 MY(gravity) = -0.125000;
5741 MY(liquidfriction) = 4;
5742 MY(size_min) = 2;
5743 MY(size_max) = 2;
5744 MY(tex_min) = 62;
5745 MY(tex_max) = 62;
5746 MY(trailspacing) = 32;
5747 MY(type) = "bubble";
5748 MY(underwater) = true;
5749 MY(velocityjitter) = '16.0 16.0 16.0';
5750}
5751
5752// rocket guiding start
5753DEF(rocket_guide);
5754// underwater bubbles
5755SUB(rocket_guide) {
5756 MY(alpha_min) = 128;
5757 MY(alpha_max) = 256;
5758 MY(alpha_fade) = 64;
5759 MY(bounce) = 1.500000;
5760 MY(color_min) = "0x404040";
5761 MY(color_max) = "0x808080";
5762 MY(count) = 2;
5763 MY(gravity) = -0.125000;
5764 MY(liquidfriction) = 0.250000;
5765 MY(originjitter) = '8.0 8.0 8.0';
5766 MY(size_min) = 1.500000;
5767 MY(size_max) = 1.500000;
5768 MY(tex_min) = 62;
5769 MY(tex_max) = 62;
5770 MY(type) = "bubble";
5771 MY(underwater) = true;
5772 MY(velocityjitter) = '48.0 48.0 48.0';
5773 MY(velocitymultiplier) = -0.100000;
5774}
5775// bouncing sparks
5776SUB(rocket_guide) {
5777 MY(airfriction) = 0.200000;
5778 MY(alpha_min) = 256;
5779 MY(alpha_max) = 256;
5780 MY(alpha_fade) = 984;
5781 MY(bounce) = 1.500000;
5782 MY(color_min) = "0x903010";
5783 MY(color_max) = "0xFFD030";
5784 MY(count) = 8;
5785 MY(gravity) = 1;
5786 MY(liquidfriction) = 0.800000;
5787 MY(notunderwater) = true;
5788 MY(size_min) = 0.300000;
5789 MY(size_max) = 0.700000;
5790 MY(stretchfactor) = 0.400000;
5791 MY(tex_min) = 40;
5792 MY(tex_max) = 40;
5793 MY(type) = "spark";
5794 MY(velocityjitter) = '156.0 156.0 156.0';
5795 MY(velocitymultiplier) = -0.300000;
5796 MY(velocityoffset) = '0.0 0.0 80.0';
5797}
5798SUB(rocket_guide) {
5799 MY(alpha_min) = 100;
5800 MY(alpha_max) = 100;
5801 MY(alpha_fade) = 500;
5802 MY(color_min) = "0x903010";
5803 MY(color_max) = "0xFFD030";
5804 MY(countabsolute) = 1;
5805 MY(sizeincrease) = 300;
5806 MY(size_min) = 10;
5807 MY(size_max) = 10;
5808 MY(tex_min) = 65;
5809 MY(tex_max) = 65;
5810 MY(type) = "smoke";
5811}
5812
5813// gauntlet laser
5814DEF(laser_gauntlet);
5815SUB(laser_gauntlet) {
5816 MY(airfriction) = 10;
5817 MY(alpha_min) = 128;
5818 MY(alpha_max) = 512;
5819 MY(alpha_fade) = 6280;
5820 MY(color_min) = "0xb44215";
5821 MY(color_max) = "0x880000";
5822 MY(count) = 3;
5823 MY(originjitter) = '2.0 2.0 2.0';
5824 MY(startangle_min) = -180;
5825 MY(startangle_max) = 180;
5826 MY(spin_min) = 4000;
5827 MY(spin_max) = -4000;
5828 MY(sizeincrease) = -100;
5829 MY(size_min) = 7;
5830 MY(size_max) = 10;
5831 MY(stretchfactor) = 2.300000;
5832 MY(tex_min) = 43;
5833 MY(tex_max) = 43;
5834 MY(type) = "spark";
5835 MY(velocityjitter) = '150.0 150.0 150.0';
5836 MY(velocitymultiplier) = 0.200000;
5837}
5838SUB(laser_gauntlet) {
5839 MY(airfriction) = 12;
5840 MY(alpha_min) = 256;
5841 MY(alpha_max) = 512;
5842 MY(alpha_fade) = 6280;
5843 MY(color_min) = "0xff4200";
5844 MY(color_max) = "0xff0000";
5845 MY(count) = 6;
5846 MY(originjitter) = '2.0 2.0 2.0';
5847 MY(sizeincrease) = -100;
5848 MY(size_min) = 7;
5849 MY(size_max) = 9;
5850 MY(stretchfactor) = 2;
5851 MY(tex_min) = 8;
5852 MY(tex_max) = 15;
5853 MY(type) = "spark";
5854 MY(velocityjitter) = '100.0 100.0 100.0';
5855 MY(velocitymultiplier) = 0.200000;
5856}
5857
5858DEF(laser_gauntletmuzzleflash);
5859// glow and light
5860SUB(laser_gauntletmuzzleflash) {
5861 MY(airfriction) = 10;
5862 MY(alpha_min) = 256;
5863 MY(alpha_max) = 512;
5864 MY(alpha_fade) = 6280;
5865 MY(color_min) = "0x220000";
5866 MY(color_max) = "0x880000";
5867 MY(countabsolute) = 1;
5868 MY(lightcolor) = '3.0 0.1 0.1';
5869 MY(lightradiusfade) = 500;
5870 MY(lightradius) = 150;
5871 MY(sizeincrease) = -100;
5872 MY(size_min) = 10;
5873 MY(size_max) = 15;
5874 MY(stretchfactor) = 2;
5875 MY(tex_min) = 65;
5876 MY(tex_max) = 65;
5877 MY(type) = "smoke";
5878}
5879// electricity
5880SUB(laser_gauntletmuzzleflash) {
5881 MY(airfriction) = 10;
5882 MY(alpha_min) = 128;
5883 MY(alpha_max) = 512;
5884 MY(alpha_fade) = 6280;
5885 MY(color_min) = "0xb44215";
5886 MY(color_max) = "0x880000";
5887 MY(count) = 3;
5888 MY(originjitter) = '2.0 2.0 2.0';
5889 MY(startangle_min) = -180;
5890 MY(startangle_max) = 180;
5891 MY(spin_min) = 4000;
5892 MY(spin_max) = -4000;
5893 MY(sizeincrease) = -100;
5894 MY(size_min) = 7;
5895 MY(size_max) = 10;
5896 MY(stretchfactor) = 2.300000;
5897 MY(tex_min) = 43;
5898 MY(tex_max) = 43;
5899 MY(type) = "spark";
5900 MY(velocityjitter) = '150.0 150.0 150.0';
5901 MY(velocitymultiplier) = 0.200000;
5902}
5903// fire
5904SUB(laser_gauntletmuzzleflash) {
5905 MY(airfriction) = 12;
5906 MY(alpha_min) = 256;
5907 MY(alpha_max) = 512;
5908 MY(alpha_fade) = 6280;
5909 MY(color_min) = "0xff4200";
5910 MY(color_max) = "0xff0000";
5911 MY(count) = 6;
5912 MY(originjitter) = '2.0 2.0 2.0';
5913 MY(sizeincrease) = -100;
5914 MY(size_min) = 7;
5915 MY(size_max) = 9;
5916 MY(stretchfactor) = 2;
5917 MY(tex_min) = 8;
5918 MY(tex_max) = 15;
5919 MY(type) = "spark";
5920 MY(velocityjitter) = '100.0 100.0 100.0';
5921 MY(velocitymultiplier) = 0.200000;
5922}
5923
5924// torch flame, spawn it as fast as you can 20 times per second or more, supports direction but not required
5925DEF(torchflame);
5926// fast fire
5927SUB(torchflame) {
5928 MY(airfriction) = 1.200000;
5929 MY(alpha_min) = 50;
5930 MY(alpha_max) = 256;
5931 MY(alpha_fade) = 250;
5932 MY(color_min) = "0x8f0d00";
5933 MY(color_max) = "0xff5a00";
5934 MY(count) = 3;
5935 MY(gravity) = -0.060000;
5936 MY(sizeincrease) = 20;
5937 MY(size_min) = 5;
5938 MY(size_max) = 5;
5939 MY(tex_min) = 48;
5940 MY(tex_max) = 55;
5941 MY(type) = "smoke";
5942 MY(velocityjitter) = '40.0 40.0 11.0';
5943 MY(velocitymultiplier) = 30;
5944}
5945// slow fire
5946SUB(torchflame) {
5947 MY(airfriction) = 1.200000;
5948 MY(alpha_min) = 50;
5949 MY(alpha_max) = 256;
5950 MY(alpha_fade) = 200;
5951 MY(color_min) = "0x8f0d00";
5952 MY(color_max) = "0xff5a00";
5953 MY(count) = 2.500000;
5954 MY(gravity) = -0.060000;
5955 MY(sizeincrease) = 20;
5956 MY(size_min) = 5;
5957 MY(size_max) = 5;
5958 MY(tex_min) = 48;
5959 MY(tex_max) = 55;
5960 MY(type) = "smoke";
5961 MY(velocityjitter) = '40.0 40.0 40.0';
5962 MY(velocitymultiplier) = 20;
5963}
5964// very slow and small fire
5965SUB(torchflame) {
5966 MY(airfriction) = 0.300000;
5967 MY(alpha_min) = 50;
5968 MY(alpha_max) = 256;
5969 MY(alpha_fade) = 200;
5970 MY(color_min) = "0x8f0d00";
5971 MY(color_max) = "0xff5a00";
5972 MY(count) = 1.500000;
5973 MY(gravity) = -0.060000;
5974 MY(sizeincrease) = 10;
5975 MY(size_min) = 5;
5976 MY(size_max) = 5;
5977 MY(tex_min) = 48;
5978 MY(tex_max) = 55;
5979 MY(type) = "smoke";
5980 MY(velocityjitter) = '30.0 30.0 30.0';
5981 MY(velocitymultiplier) = 10;
5982}
5983// decreasing fire
5984SUB(torchflame) {
5985 MY(airfriction) = 0.300000;
5986 MY(alpha_min) = 50;
5987 MY(alpha_max) = 256;
5988 MY(alpha_fade) = 200;
5989 MY(color_min) = "0x8f0d00";
5990 MY(color_max) = "0xff5a00";
5991 MY(count) = 2;
5992 MY(gravity) = -0.060000;
5993 MY(sizeincrease) = -10;
5994 MY(size_min) = 20;
5995 MY(size_max) = 30;
5996 MY(tex_min) = 48;
5997 MY(tex_max) = 55;
5998 MY(type) = "smoke";
5999 MY(velocityjitter) = '10.0 10.0 10.0';
6000 MY(velocitymultiplier) = 15;
6001}
6002// smoke
6003SUB(torchflame) {
6004 MY(airfriction) = 1;
6005 MY(alpha_min) = 256;
6006 MY(alpha_max) = 256;
6007 MY(alpha_fade) = 90;
6008 MY(color_min) = "0x000000";
6009 MY(color_max) = "0x111111";
6010 MY(count) = 0.500000;
6011 MY(originjitter) = '10.0 10.0 10.0';
6012 MY(sizeincrease) = 7;
6013 MY(size_min) = 5;
6014 MY(size_max) = 15;
6015 MY(tex_max) = 8;
6016 MY(type) = "alphastatic";
6017 MY(velocitymultiplier) = 20;
6018 MY(velocityoffset) = '0.0 0.0 10.0';
6019}
6020
6022
6023DEF(electro_lightning);
6024SUB(electro_lightning) {
6025 MY(alpha_min) = 256;
6026 MY(alpha_max) = 256;
6027 MY(countabsolute) = 1;
6028 MY(lightcolor) = '3.1 4.4 10.0';
6029 MY(lightradiusfade) = 500;
6030 MY(lightradius) = 50;
6031 MY(originjitter) = '2.0 2.0 2.0';
6032 MY(size_min) = 16;
6033 MY(size_max) = 16;
6034 MY(tex_min) = 59;
6035 MY(tex_max) = 59;
6036 MY(type) = "decal";
6037}
6038SUB(electro_lightning) {
6039 MY(alpha_min) = 100;
6040 MY(alpha_max) = 206;
6041 MY(alpha_fade) = 1724;
6042 MY(color_min) = "0x2030FF";
6043 MY(color_max) = "0x80C0FF";
6044 MY(count) = 300;
6045 MY(originjitter) = '1.5 1.5 1.5';
6046 MY(sizeincrease) = 10;
6047 MY(size_min) = 6;
6048 MY(size_max) = 6;
6049 MY(tex_min) = 65;
6050 MY(tex_max) = 65;
6051 MY(type) = "spark";
6052 MY(velocityjitter) = '6.0 6.0 6.0';
6053 MY(velocitymultiplier) = 2000;
6054}
6055SUB(electro_lightning) {
6056 MY(airfriction) = 2;
6057 MY(alpha_min) = 110;
6058 MY(alpha_max) = 170;
6059 MY(alpha_fade) = 1500;
6060 MY(color_min) = "0xDDFDFF";
6061 MY(color_max) = "0xFDFDFF";
6062 MY(count) = 30;
6063 MY(originjitter) = '1.0 1.0 1.0';
6064 MY(size_min) = 2;
6065 MY(size_max) = 5;
6066 MY(stretchfactor) = 1.500000;
6067 MY(tex_min) = 8;
6068 MY(tex_max) = 15;
6069 MY(type) = "spark";
6070 MY(velocityjitter) = '150.0 150.0 150.0';
6071 MY(velocitymultiplier) = 0.500000;
6072}
6073SUB(electro_lightning) {
6074 MY(airfriction) = 8;
6075 MY(alpha_min) = 110;
6076 MY(alpha_max) = 170;
6077 MY(alpha_fade) = 1500;
6078 MY(color_min) = "0xFDFDFF";
6079 MY(color_max) = "0xF9FDFF";
6080 MY(count) = 50;
6081 MY(gravity) = 1.300000;
6082 MY(originjitter) = '1.0 1.0 1.0';
6083 MY(size_min) = 2;
6084 MY(size_max) = 3;
6085 MY(stretchfactor) = 0.100000;
6086 MY(tex_min) = 41;
6087 MY(tex_max) = 41;
6088 MY(type) = "spark";
6089 MY(velocityjitter) = '350.0 350.0 350.0';
6090 MY(velocitymultiplier) = 2.500000;
6091}
6092
6093DEF(gauntlet_lightning);
6094SUB(gauntlet_lightning) {
6095 MY(alpha_min) = 256;
6096 MY(alpha_max) = 256;
6097 MY(alpha_fade) = 1024;
6098 MY(color_min) = "0x280000";
6099 MY(color_max) = "0x280000";
6100 MY(count) = 300;
6101 MY(originjitter) = '1.5 1.5 1.5';
6102 MY(sizeincrease) = 15;
6103 MY(size_min) = 3;
6104 MY(size_max) = 3;
6105 MY(tex_min) = 65;
6106 MY(tex_max) = 65;
6107 MY(type) = "spark";
6108 MY(velocityjitter) = '6.0 6.0 6.0';
6109 MY(velocitymultiplier) = 2000;
6110}
6111SUB(gauntlet_lightning) {
6112 MY(airfriction) = 2;
6113 MY(alpha_min) = 110;
6114 MY(alpha_max) = 228;
6115 MY(alpha_fade) = 1024;
6116 MY(color_min) = "0xDD0000";
6117 MY(color_max) = "0xFD0000";
6118 MY(count) = 30;
6119 MY(originjitter) = '1.0 1.0 1.0';
6120 MY(size_min) = 2;
6121 MY(size_max) = 5;
6122 MY(stretchfactor) = 1.500000;
6123 MY(tex_min) = 8;
6124 MY(tex_max) = 15;
6125 MY(type) = "spark";
6126 MY(velocityjitter) = '150.0 150.0 150.0';
6127 MY(velocitymultiplier) = 0.500000;
6128}
6129SUB(gauntlet_lightning) {
6130 MY(airfriction) = 8;
6131 MY(alpha_min) = 110;
6132 MY(alpha_max) = 228;
6133 MY(alpha_fade) = 600;
6134 MY(color_min) = "0xFD0000";
6135 MY(color_max) = "0xF90000";
6136 MY(count) = 50;
6137 MY(gravity) = 1.300000;
6138 MY(originjitter) = '1.0 1.0 1.0';
6139 MY(size_min) = 2;
6140 MY(size_max) = 3;
6141 MY(stretchfactor) = 0.100000;
6142 MY(tex_min) = 41;
6143 MY(tex_max) = 41;
6144 MY(type) = "spark";
6145 MY(velocityjitter) = '350.0 350.0 350.0';
6146 MY(velocitymultiplier) = 2.500000;
6147}
6148
6149DEF(crylink_joinexplode);
6150// decal
6151SUB(crylink_joinexplode) {
6152 MY(alpha_min) = 256;
6153 MY(alpha_max) = 256;
6154 MY(countabsolute) = 1;
6155 MY(originjitter) = '12.0 12.0 12.0';
6156 MY(size_min) = 24;
6157 MY(size_max) = 24;
6158 MY(tex_min) = 47;
6159 MY(tex_max) = 47;
6160 MY(type) = "decal";
6161}
6162// purple flare effect
6163SUB(crylink_joinexplode) {
6164 MY(alpha_min) = 256;
6165 MY(alpha_max) = 256;
6166 MY(alpha_fade) = 512;
6167 MY(color_min) = "0x504060";
6168 MY(color_max) = "0x504060";
6169 MY(countabsolute) = 1;
6170 MY(size_min) = 24;
6171 MY(size_max) = 24;
6172 MY(tex_min) = 39;
6173 MY(tex_max) = 39;
6174 MY(type) = "static";
6175}
6176// purple sparks
6177SUB(crylink_joinexplode) {
6178 MY(alpha_min) = 256;
6179 MY(alpha_max) = 256;
6180 MY(alpha_fade) = 1024;
6181 MY(bounce) = 2;
6182 MY(color_min) = "0xA040C0";
6183 MY(color_max) = "0xA040C0";
6184 MY(count) = 40;
6185 MY(size_min) = 6;
6186 MY(size_max) = 6;
6187 MY(tex_min) = 41;
6188 MY(tex_max) = 41;
6189 MY(type) = "spark";
6190 MY(velocityjitter) = '512.0 512.0 512.0';
6191}
6192// purple splash
6193SUB(crylink_joinexplode) {
6194 MY(alpha_min) = 256;
6195 MY(alpha_max) = 256;
6196 MY(alpha_fade) = 512;
6197 MY(color_min) = "0xE070FF";
6198 MY(color_max) = "0xE070FF";
6199 MY(count) = 1.500000;
6200 MY(size_min) = 16;
6201 MY(size_max) = 16;
6202 MY(type) = "static";
6203 MY(velocityjitter) = '32.0 32.0 32.0';
6204}
6205// purple splash
6206SUB(crylink_joinexplode) {
6207 MY(alpha_min) = 256;
6208 MY(alpha_max) = 256;
6209 MY(alpha_fade) = 1024;
6210 MY(color_min) = "0xE070FF";
6211 MY(color_max) = "0xE070FF";
6212 MY(count) = 3;
6213 MY(size_min) = 16;
6214 MY(size_max) = 16;
6215 MY(type) = "static";
6216 MY(velocityjitter) = '256.0 256.0 256.0';
6217}
6218
6219// sparks for keepaway ball touch
6220DEF(kaball_sparks);
6221SUB(kaball_sparks) {
6222 MY(airfriction) = 3;
6223 MY(alpha_max) = 256;
6224 MY(alpha_fade) = 556;
6225 MY(bounce) = 1.500000;
6226 MY(color_min) = "0xa9cacf";
6227 MY(color_max) = "0x0054ff";
6228 MY(count) = 35;
6229 MY(gravity) = 1;
6230 MY(originjitter) = '1.0 1.0 1.0';
6231 MY(size_min) = 1;
6232 MY(size_max) = 3;
6233 MY(tex_min) = 40;
6234 MY(tex_max) = 40;
6235 MY(type) = "spark";
6236 MY(velocityjitter) = '300.0 300.0 300.0';
6237 MY(velocitymultiplier) = 0.500000;
6238}
6239
6240// weak rifle bullet trail (somewhat like a tracer)
6241DEF(tr_rifle_weak);
6242SUB(tr_rifle_weak) {
6243 MY(alpha_min) = 256;
6244 MY(alpha_max) = 256;
6245 MY(alpha_fade) = 2560;
6246 MY(color_min) = "0x800000";
6247 MY(color_max) = "0xFF8020";
6248 MY(size_min) = 1.500000;
6249 MY(size_max) = 1.500000;
6250 MY(stretchfactor) = 1;
6251 MY(trailspacing) = 128;
6252 MY(type) = "spark";
6253 MY(velocitymultiplier) = 0.700000;
6254}
6255SUB(tr_rifle_weak) {
6256 MY(airfriction) = -4;
6257 MY(alpha_min) = 256;
6258 MY(alpha_max) = 256;
6259 MY(alpha_fade) = 256;
6260 MY(color_min) = "0x202020";
6261 MY(color_max) = "0x404040";
6262 MY(notunderwater) = true;
6263 MY(sizeincrease) = 0.400000;
6264 MY(size_min) = 4;
6265 MY(size_max) = 4;
6266 MY(tex_max) = 8;
6267 MY(trailspacing) = 48;
6268 MY(type) = "smoke";
6269 MY(velocityjitter) = '4.0 4.0 4.0';
6270}
6271SUB(tr_rifle_weak) {
6272 MY(alpha_min) = 256;
6273 MY(alpha_max) = 256;
6274 MY(alpha_fade) = 128;
6275 MY(bounce) = 1.500000;
6276 MY(color_min) = "0x404040";
6277 MY(color_max) = "0x808080";
6278 MY(gravity) = -0.125000;
6279 MY(liquidfriction) = 4;
6280 MY(size_min) = 2;
6281 MY(size_max) = 2;
6282 MY(tex_min) = 62;
6283 MY(tex_max) = 62;
6284 MY(trailspacing) = 192;
6285 MY(type) = "bubble";
6286 MY(underwater) = true;
6287 MY(velocityjitter) = '16.0 16.0 16.0';
6288}
6289
6290// red smoke emiter
6291DEF(red_smoke);
6292SUB(red_smoke) {
6293 MY(airfriction) = -1;
6294 MY(alpha_min) = 32;
6295 MY(alpha_max) = 64;
6296 MY(alpha_fade) = 32;
6297 MY(color_min) = "0xff8866";
6298 MY(color_max) = "0x331100";
6299 MY(count) = 2;
6300 MY(gravity) = -0.007000;
6301 MY(startangle_max) = 360;
6302 MY(spin_min) = -30;
6303 MY(spin_max) = 30;
6304 MY(size_min) = 60;
6305 MY(size_max) = 120;
6306 MY(tex_max) = 8;
6307 MY(type) = "smoke";
6308 MY(velocitymultiplier) = 5;
6309}
6310
6311// pipe smoke emiter
6312DEF(pipe_smoke);
6313SUB(pipe_smoke) {
6314 MY(airfriction) = -1;
6315 MY(alpha_min) = 32;
6316 MY(alpha_max) = 64;
6317 MY(alpha_fade) = 48;
6318 MY(color_min) = "0x999999";
6319 MY(color_max) = "0x555555";
6320 MY(count) = 2;
6321 MY(gravity) = -0.015000;
6322 MY(startangle_max) = 360;
6323 MY(spin_min) = -180;
6324 MY(spin_max) = 180;
6325 MY(sizeincrease) = 35;
6326 MY(size_min) = 5;
6327 MY(size_max) = 10;
6328 MY(tex_max) = 8;
6329 MY(type) = "smoke";
6330 MY(velocityjitter) = '0.0 0.0 5.0';
6331 MY(velocitymultiplier) = 15;
6332}
6333
6334// seeker missile trail
6335DEF(TR_SEEKER);
6336SUB(TR_SEEKER) {
6337 MY(alpha_min) = 200;
6338 MY(alpha_max) = 300;
6339 MY(alpha_fade) = 200;
6340 MY(bounce) = 1;
6341 MY(color_min) = "0x000000";
6342 MY(color_max) = "0x666666";
6343 MY(lightcolor) = '6.0 3.0 1.0';
6344 MY(lightradius) = 100;
6345 MY(notunderwater) = true;
6346 MY(originjitter) = '2.0 2.0 2.0';
6347 MY(startangle_min) = -180;
6348 MY(startangle_max) = 180;
6349 MY(spin_min) = -30;
6350 MY(spin_max) = 30;
6351 MY(sizeincrease) = 11;
6352 MY(size_min) = 2;
6353 MY(size_max) = 2;
6354 MY(tex_max) = 8;
6355 MY(trailspacing) = 10;
6356 MY(type) = "smoke";
6357 MY(velocityjitter) = '3.0 3.0 3.0';
6358 MY(velocitymultiplier) = -0.020000;
6359}
6360// fire
6361SUB(TR_SEEKER) {
6362 MY(airfriction) = 8;
6363 MY(alpha_min) = 100;
6364 MY(alpha_max) = 144;
6365 MY(alpha_fade) = 588;
6366 MY(color_min) = "0xffdf72";
6367 MY(color_max) = "0x811200";
6368 MY(sizeincrease) = -30;
6369 MY(size_min) = 5;
6370 MY(size_max) = 5;
6371 MY(tex_min) = 48;
6372 MY(tex_max) = 55;
6373 MY(trailspacing) = 4;
6374 MY(type) = "static";
6375 MY(velocityjitter) = '32.0 32.0 32.0';
6376 MY(velocitymultiplier) = -1.500000;
6377}
6378// bubbles
6379SUB(TR_SEEKER) {
6380 MY(alpha_min) = 256;
6381 MY(alpha_max) = 256;
6382 MY(alpha_fade) = 256;
6383 MY(bounce) = 1.500000;
6384 MY(gravity) = -0.125000;
6385 MY(liquidfriction) = 4;
6386 MY(size_min) = 1;
6387 MY(size_max) = 2;
6388 MY(tex_min) = 62;
6389 MY(tex_max) = 62;
6390 MY(trailspacing) = 16;
6391 MY(type) = "bubble";
6392 MY(underwater) = true;
6393 MY(velocityjitter) = '16.0 16.0 16.0';
6394 MY(velocitymultiplier) = -0.310000;
6395}
6396// sparks
6397SUB(TR_SEEKER) {
6398 MY(airfriction) = 5;
6399 MY(alpha_min) = 444;
6400 MY(alpha_max) = 512;
6401 MY(alpha_fade) = 1866;
6402 MY(bounce) = 1;
6403 MY(color_min) = "0xFFFDD9";
6404 MY(color_max) = "0xFFFDD9";
6405 MY(notunderwater) = true;
6406 MY(originjitter) = '1.0 1.0 1.0';
6407 MY(size_min) = 0.500000;
6408 MY(size_max) = 0.500000;
6409 MY(stretchfactor) = 0.300000;
6410 MY(tex_min) = 40;
6411 MY(tex_max) = 40;
6412 MY(trailspacing) = 20;
6413 MY(type) = "spark";
6414 MY(velocityjitter) = '100.0 100.0 100.0';
6415 MY(velocitymultiplier) = -0.310000;
6416}
6417
6418#include "effectinfo_vehicles.inc"
6419
6420// generic explosion size:big (biggest explosion ever)
6421DEF(explosion_big);
6422// decal
6423SUB(explosion_big) {
6424 MY(alpha_min) = 256;
6425 MY(alpha_max) = 256;
6426 MY(countabsolute) = 1;
6427 MY(lightcolor) = '8.0 4.0 0.0';
6428 MY(lightradiusfade) = 1750;
6429 MY(lightradius) = 600;
6430 MY(originjitter) = '23.0 23.0 23.0';
6431 MY(size_min) = 172;
6432 MY(size_max) = 172;
6433 MY(tex_min) = 8;
6434 MY(tex_max) = 16;
6435 MY(type) = "decal";
6436}
6437// shockwave
6438SUB(explosion_big) {
6439 MY(alpha_min) = 56;
6440 MY(alpha_max) = 56;
6441 MY(alpha_fade) = 330;
6442 MY(color_min) = "0x8f0d00";
6443 MY(color_max) = "0xff5a00";
6444 MY(countabsolute) = 1;
6445 MY(sizeincrease) = 4400;
6446 MY(size_min) = 72;
6447 MY(size_max) = 72;
6448 MY(tex_min) = 33;
6449 MY(tex_max) = 33;
6450 MY(type) = "static";
6451}
6452// fire effect
6453SUB(explosion_big) {
6454 MY(airfriction) = 8;
6455 MY(alpha_min) = 200;
6456 MY(alpha_max) = 256;
6457 MY(alpha_fade) = 712;
6458 MY(color_min) = "0x8f0d00";
6459 MY(color_max) = "0xff5a00";
6460 MY(count) = 64;
6461 MY(liquidfriction) = 8;
6462 MY(notunderwater) = true;
6463 MY(originjitter) = '80.0 80.0 80.0';
6464 MY(sizeincrease) = 45;
6465 MY(size_min) = 133;
6466 MY(size_max) = 144;
6467 MY(tex_min) = 48;
6468 MY(tex_max) = 55;
6469 MY(type) = "static";
6470 MY(velocityjitter) = '2512.0 2512.0 2512.0';
6471}
6472// fire rays
6473SUB(explosion_big) {
6474 MY(airfriction) = -5;
6475 MY(alpha_min) = 200;
6476 MY(alpha_max) = 256;
6477 MY(alpha_fade) = 800;
6478 MY(color_min) = "0x8f0d00";
6479 MY(color_max) = "0xff5a00";
6480 MY(count) = 64;
6481 MY(liquidfriction) = 8;
6482 MY(notunderwater) = true;
6483 MY(originjitter) = '40.0 40.0 40.0';
6484 MY(sizeincrease) = 45;
6485 MY(size_min) = 133;
6486 MY(size_max) = 144;
6487 MY(stretchfactor) = 10;
6488 MY(tex_min) = 48;
6489 MY(tex_max) = 55;
6490 MY(type) = "spark";
6491 MY(velocityjitter) = '512.0 512.0 512.0';
6492}
6493// smoke
6494SUB(explosion_big) {
6495 MY(airfriction) = 8;
6496 MY(alpha_min) = 300;
6497 MY(alpha_max) = 650;
6498 MY(alpha_fade) = 456;
6499 MY(color_min) = "0x4F4B46";
6500 MY(color_max) = "0x000000";
6501 MY(count) = 32;
6502 MY(notunderwater) = true;
6503 MY(sizeincrease) = 244;
6504 MY(size_min) = 50;
6505 MY(size_max) = 100;
6506 MY(tex_max) = 8;
6507 MY(type) = "alphastatic";
6508 MY(velocityjitter) = '3444.0 3444.0 3444.0';
6509}
6510// bouncing sparks
6511SUB(explosion_big) {
6512 MY(airfriction) = 1;
6513 MY(alpha_min) = 644;
6514 MY(alpha_max) = 956;
6515 MY(alpha_fade) = 1284;
6516 MY(color_min) = "0xffa35b";
6517 MY(color_max) = "0xfff2be";
6518 MY(count) = 34;
6519 MY(gravity) = 1;
6520 MY(liquidfriction) = 0.800000;
6521 MY(notunderwater) = true;
6522 MY(originjitter) = '160.0 160.0 160.0';
6523 MY(size_min) = 3;
6524 MY(size_max) = 4;
6525 MY(stretchfactor) = 0.700000;
6526 MY(tex_min) = 40;
6527 MY(tex_max) = 40;
6528 MY(type) = "spark";
6529 MY(velocityjitter) = '924.0 924.0 924.0';
6530 MY(velocityoffset) = '0.0 0.0 370.0';
6531}
6532// debris
6533SUB(explosion_big) {
6534 MY(airfriction) = 0.500000;
6535 MY(alpha_min) = 444;
6536 MY(alpha_max) = 1356;
6537 MY(alpha_fade) = 1184;
6538 MY(color_min) = "0xFFFFFF";
6539 MY(color_max) = "0xcac5b4";
6540 MY(count) = 16;
6541 MY(gravity) = 2.300000;
6542 MY(notunderwater) = true;
6543 MY(startangle_min) = -180;
6544 MY(startangle_max) = 180;
6545 MY(spin_min) = -1000;
6546 MY(spin_max) = 1000;
6547 MY(sizeincrease) = -5;
6548 MY(size_min) = 10;
6549 MY(size_max) = 16;
6550 MY(tex_min) = 66;
6551 MY(tex_max) = 68;
6552 MY(type) = "alphastatic";
6553 MY(velocityjitter) = '1800.0 1800.0 1800.0';
6554 MY(velocityoffset) = '0.0 0.0 970.0';
6555}
6556// underwater bubbles
6557SUB(explosion_big) {
6558 MY(alpha_min) = 128;
6559 MY(alpha_max) = 256;
6560 MY(alpha_fade) = 64;
6561 MY(bounce) = 1.500000;
6562 MY(color_min) = "0x404040";
6563 MY(color_max) = "0x808080";
6564 MY(count) = 32;
6565 MY(gravity) = -0.125000;
6566 MY(liquidfriction) = 0.250000;
6567 MY(originjitter) = '160.0 160.0 160.0';
6568 MY(size_min) = 3;
6569 MY(size_max) = 3;
6570 MY(tex_min) = 62;
6571 MY(tex_max) = 62;
6572 MY(type) = "bubble";
6573 MY(underwater) = true;
6574 MY(velocityjitter) = '444.0 444.0 444.0';
6575}
6576// underwatershockwave
6577SUB(explosion_big) {
6578 MY(alpha_min) = 40;
6579 MY(alpha_max) = 40;
6580 MY(alpha_fade) = 300;
6581 MY(countabsolute) = 1;
6582 MY(sizeincrease) = 2900;
6583 MY(size_min) = 30;
6584 MY(size_max) = 30;
6585 MY(tex_min) = 33;
6586 MY(tex_max) = 33;
6587 MY(type) = "smoke";
6588 MY(underwater) = true;
6589 MY(velocitymultiplier) = 0.300000;
6590}
6591
6592// generic explosion size:medium (it leaves rising smoke for a longer time)
6593DEF(explosion_medium);
6594// shockwave
6595SUB(explosion_medium) {
6596 MY(alpha_min) = 56;
6597 MY(alpha_max) = 56;
6598 MY(alpha_fade) = 330;
6599 MY(color_min) = "0x8f0d00";
6600 MY(color_max) = "0xff5a00";
6601 MY(countabsolute) = 1;
6602 MY(sizeincrease) = 2400;
6603 MY(size_min) = 72;
6604 MY(size_max) = 72;
6605 MY(tex_min) = 33;
6606 MY(tex_max) = 33;
6607 MY(type) = "static";
6608}
6609// fire effect
6610SUB(explosion_medium) {
6611 MY(airfriction) = 8;
6612 MY(alpha_min) = 200;
6613 MY(alpha_max) = 256;
6614 MY(alpha_fade) = 712;
6615 MY(color_min) = "0x8f0d00";
6616 MY(color_max) = "0xff5a00";
6617 MY(count) = 32;
6618 MY(liquidfriction) = 8;
6619 MY(notunderwater) = true;
6620 MY(originjitter) = '30.0 30.0 30.0';
6621 MY(startangle_min) = -180;
6622 MY(startangle_max) = 180;
6623 MY(spin_min) = -500;
6624 MY(spin_max) = 500;
6625 MY(sizeincrease) = 45;
6626 MY(size_min) = 133;
6627 MY(size_max) = 144;
6628 MY(tex_min) = 48;
6629 MY(tex_max) = 55;
6630 MY(type) = "static";
6631 MY(velocityjitter) = '1512.0 1512.0 1512.0';
6632}
6633// fire effect 2
6634SUB(explosion_medium) {
6635 MY(airfriction) = 8;
6636 MY(alpha_min) = 200;
6637 MY(alpha_max) = 256;
6638 MY(alpha_fade) = 612;
6639 MY(color_min) = "0x8f0d00";
6640 MY(color_max) = "0xff5a00";
6641 MY(count) = 32;
6642 MY(gravity) = -2;
6643 MY(liquidfriction) = 8;
6644 MY(notunderwater) = true;
6645 MY(originjitter) = '30.0 30.0 30.0';
6646 MY(startangle_min) = -180;
6647 MY(startangle_max) = 180;
6648 MY(spin_min) = -150;
6649 MY(spin_max) = 150;
6650 MY(sizeincrease) = 40;
6651 MY(size_min) = 73;
6652 MY(size_max) = 94;
6653 MY(tex_min) = 48;
6654 MY(tex_max) = 55;
6655 MY(type) = "static";
6656 MY(velocityjitter) = '1512.0 1512.0 1512.0';
6657}
6658// fire rays
6659SUB(explosion_medium) {
6660 MY(airfriction) = -3;
6661 MY(alpha_min) = 200;
6662 MY(alpha_max) = 256;
6663 MY(alpha_fade) = 800;
6664 MY(color_min) = "0x8f0d00";
6665 MY(color_max) = "0xff5a00";
6666 MY(count) = 14;
6667 MY(liquidfriction) = 8;
6668 MY(notunderwater) = true;
6669 MY(originjitter) = '40.0 40.0 40.0';
6670 MY(sizeincrease) = 40;
6671 MY(size_min) = 43;
6672 MY(size_max) = 74;
6673 MY(stretchfactor) = 8;
6674 MY(tex_min) = 48;
6675 MY(tex_max) = 55;
6676 MY(type) = "spark";
6677 MY(velocityjitter) = '512.0 512.0 512.0';
6678}
6679// smoke
6680SUB(explosion_medium) {
6681 MY(airfriction) = 3;
6682 MY(alpha_min) = 300;
6683 MY(alpha_max) = 650;
6684 MY(alpha_fade) = 756;
6685 MY(color_min) = "0x4F4B46";
6686 MY(color_max) = "0x000000";
6687 MY(count) = 5;
6688 MY(notunderwater) = true;
6689 MY(originjitter) = '100.0 100.0 100.0';
6690 MY(startangle_min) = -180;
6691 MY(startangle_max) = 180;
6692 MY(spin_min) = -20;
6693 MY(spin_max) = 20;
6694 MY(sizeincrease) = -30;
6695 MY(size_min) = 250;
6696 MY(size_max) = 300;
6697 MY(tex_max) = 8;
6698 MY(type) = "alphastatic";
6699 MY(velocityjitter) = '200.0 200.0 200.0';
6700}
6701// smoke 2
6702SUB(explosion_medium) {
6703 MY(airfriction) = 3;
6704 MY(alpha_min) = 300;
6705 MY(alpha_max) = 650;
6706 MY(alpha_fade) = 256;
6707 MY(color_min) = "0x4F4B46";
6708 MY(color_max) = "0x000000";
6709 MY(count) = 10;
6710 MY(gravity) = -0.300000;
6711 MY(notunderwater) = true;
6712 MY(originjitter) = '100.0 100.0 100.0';
6713 MY(startangle_min) = -180;
6714 MY(startangle_max) = 180;
6715 MY(spin_min) = -20;
6716 MY(spin_max) = 20;
6717 MY(sizeincrease) = 50;
6718 MY(size_min) = 50;
6719 MY(size_max) = 100;
6720 MY(tex_max) = 8;
6721 MY(type) = "alphastatic";
6722 MY(velocityjitter) = '500.0 500.0 500.0';
6723 MY(velocityoffset) = '0.0 0.0 200.0';
6724}
6725// smoke rays
6726SUB(explosion_medium) {
6727 MY(alpha_min) = 140;
6728 MY(alpha_max) = 255;
6729 MY(alpha_fade) = 350;
6730 MY(color_min) = "0x4F4B46";
6731 MY(color_max) = "0x000000";
6732 MY(count) = 13;
6733 MY(notunderwater) = true;
6734 MY(originjitter) = '40.0 40.0 40.0';
6735 MY(sizeincrease) = 100;
6736 MY(size_min) = 150;
6737 MY(size_max) = 200;
6738 MY(stretchfactor) = 50;
6739 MY(tex_max) = 8;
6740 MY(type) = "spark";
6741 MY(velocityjitter) = '250.0 250.0 250.0';
6742}
6743// bouncing sparks
6744SUB(explosion_medium) {
6745 MY(airfriction) = 1;
6746 MY(alpha_min) = 644;
6747 MY(alpha_max) = 956;
6748 MY(alpha_fade) = 984;
6749 MY(color_min) = "0xffa35b";
6750 MY(color_max) = "0xfff2be";
6751 MY(count) = 14;
6752 MY(gravity) = 1;
6753 MY(liquidfriction) = 0.800000;
6754 MY(notunderwater) = true;
6755 MY(originjitter) = '100.0 100.0 100.0';
6756 MY(size_min) = 2;
6757 MY(size_max) = 3;
6758 MY(stretchfactor) = 0.700000;
6759 MY(tex_min) = 40;
6760 MY(tex_max) = 40;
6761 MY(type) = "spark";
6762 MY(velocityjitter) = '624.0 624.0 624.0';
6763 MY(velocityoffset) = '0.0 0.0 370.0';
6764}
6765// underwater bubbles
6766SUB(explosion_medium) {
6767 MY(alpha_min) = 128;
6768 MY(alpha_max) = 256;
6769 MY(alpha_fade) = 64;
6770 MY(bounce) = 1.500000;
6771 MY(color_min) = "0x404040";
6772 MY(color_max) = "0x808080";
6773 MY(count) = 32;
6774 MY(gravity) = -0.125000;
6775 MY(liquidfriction) = 0.250000;
6776 MY(originjitter) = '160.0 160.0 160.0';
6777 MY(size_min) = 3;
6778 MY(size_max) = 3;
6779 MY(tex_min) = 62;
6780 MY(tex_max) = 62;
6781 MY(type) = "bubble";
6782 MY(underwater) = true;
6783 MY(velocityjitter) = '444.0 444.0 444.0';
6784}
6785// underwatershockwave
6786SUB(explosion_medium) {
6787 MY(alpha_min) = 40;
6788 MY(alpha_max) = 40;
6789 MY(alpha_fade) = 300;
6790 MY(countabsolute) = 1;
6791 MY(sizeincrease) = 2900;
6792 MY(size_min) = 30;
6793 MY(size_max) = 30;
6794 MY(tex_min) = 33;
6795 MY(tex_max) = 33;
6796 MY(type) = "smoke";
6797 MY(underwater) = true;
6798 MY(velocitymultiplier) = 0.300000;
6799}
6800
6801// generic explosion size:small (its fire only, made to support other explosions)
6802DEF(explosion_small);
6803// shockwave
6804SUB(explosion_small) {
6805 MY(alpha_min) = 56;
6806 MY(alpha_max) = 56;
6807 MY(alpha_fade) = 330;
6808 MY(color_min) = "0x8f0d00";
6809 MY(color_max) = "0xff5a00";
6810 MY(countabsolute) = 1;
6811 MY(sizeincrease) = 2400;
6812 MY(size_min) = 22;
6813 MY(size_max) = 22;
6814 MY(tex_min) = 33;
6815 MY(tex_max) = 33;
6816 MY(type) = "static";
6817}
6818// fire effect
6819SUB(explosion_small) {
6820 MY(airfriction) = 5;
6821 MY(alpha_min) = 200;
6822 MY(alpha_max) = 256;
6823 MY(alpha_fade) = 1212;
6824 MY(color_min) = "0x8f0d00";
6825 MY(color_max) = "0xff5a00";
6826 MY(count) = 16;
6827 MY(liquidfriction) = 8;
6828 MY(notunderwater) = true;
6829 MY(startangle_min) = -180;
6830 MY(startangle_max) = 180;
6831 MY(spin_min) = -500;
6832 MY(spin_max) = 500;
6833 MY(sizeincrease) = 45;
6834 MY(size_min) = 1;
6835 MY(size_max) = 44;
6836 MY(tex_min) = 48;
6837 MY(tex_max) = 55;
6838 MY(type) = "static";
6839 MY(velocityjitter) = '512.0 512.0 512.0';
6840}
6841// fire effect 2
6842SUB(explosion_small) {
6843 MY(airfriction) = 8;
6844 MY(alpha_min) = 200;
6845 MY(alpha_max) = 256;
6846 MY(alpha_fade) = 812;
6847 MY(color_min) = "0x8f0d00";
6848 MY(color_max) = "0xff5a00";
6849 MY(count) = 16;
6850 MY(liquidfriction) = 8;
6851 MY(notunderwater) = true;
6852 MY(startangle_min) = -180;
6853 MY(startangle_max) = 180;
6854 MY(spin_min) = -150;
6855 MY(spin_max) = 150;
6856 MY(sizeincrease) = 40;
6857 MY(size_min) = 73;
6858 MY(size_max) = 94;
6859 MY(tex_min) = 48;
6860 MY(tex_max) = 55;
6861 MY(type) = "static";
6862 MY(velocityjitter) = '912.0 912.0 912.0';
6863}
6864// fire rays
6865SUB(explosion_small) {
6866 MY(airfriction) = -3;
6867 MY(alpha_min) = 200;
6868 MY(alpha_max) = 256;
6869 MY(alpha_fade) = 1300;
6870 MY(color_min) = "0x8f0d00";
6871 MY(color_max) = "0xff5a00";
6872 MY(count) = 14;
6873 MY(liquidfriction) = 8;
6874 MY(notunderwater) = true;
6875 MY(originjitter) = '40.0 40.0 40.0';
6876 MY(sizeincrease) = 30;
6877 MY(size_min) = 13;
6878 MY(size_max) = 54;
6879 MY(stretchfactor) = 8;
6880 MY(tex_min) = 48;
6881 MY(tex_max) = 55;
6882 MY(type) = "spark";
6883 MY(velocityjitter) = '512.0 512.0 512.0';
6884}
6885// underwater bubbles
6886SUB(explosion_small) {
6887 MY(alpha_min) = 128;
6888 MY(alpha_max) = 256;
6889 MY(alpha_fade) = 64;
6890 MY(bounce) = 1.500000;
6891 MY(color_min) = "0x404040";
6892 MY(color_max) = "0x808080";
6893 MY(count) = 32;
6894 MY(gravity) = -0.125000;
6895 MY(liquidfriction) = 0.250000;
6896 MY(originjitter) = '160.0 160.0 160.0';
6897 MY(size_min) = 1;
6898 MY(size_max) = 3;
6899 MY(tex_min) = 62;
6900 MY(tex_max) = 62;
6901 MY(type) = "bubble";
6902 MY(underwater) = true;
6903 MY(velocityjitter) = '144.0 144.0 144.0';
6904}
6905// underwatershockwave
6906SUB(explosion_small) {
6907 MY(alpha_min) = 40;
6908 MY(alpha_max) = 40;
6909 MY(alpha_fade) = 300;
6910 MY(countabsolute) = 1;
6911 MY(sizeincrease) = 1200;
6912 MY(size_min) = 30;
6913 MY(size_max) = 30;
6914 MY(tex_min) = 33;
6915 MY(tex_max) = 33;
6916 MY(type) = "smoke";
6917 MY(underwater) = true;
6918}
6919
6920// big smoke ( for spamming on damaged stuff )
6921DEF(smoke_big);
6922SUB(smoke_big) {
6923 MY(airfriction) = 4;
6924 MY(alpha_min) = 200;
6925 MY(alpha_max) = 750;
6926 MY(alpha_fade) = 200;
6927 MY(color_min) = "0x4F4B46";
6928 MY(color_max) = "0x000000";
6929 MY(count) = 3;
6930 MY(gravity) = -0.500000;
6931 MY(notunderwater) = true;
6932 MY(originjitter) = '55.0 55.0 55.0';
6933 MY(startangle_min) = -180;
6934 MY(startangle_max) = 180;
6935 MY(spin_min) = -20;
6936 MY(spin_max) = 20;
6937 MY(sizeincrease) = 15;
6938 MY(size_min) = 30;
6939 MY(size_max) = 60;
6940 MY(tex_max) = 8;
6941 MY(type) = "alphastatic";
6942 MY(velocityjitter) = '140.0 140.0 200.0';
6943 MY(velocityoffset) = '0.0 0.0 200.0';
6944}
6945
6946// small smoke ( more precise than big one, for spamming on damaged parts like raptors spinner )
6947DEF(smoke_small);
6948SUB(smoke_small) {
6949 MY(airfriction) = 4;
6950 MY(alpha_min) = 200;
6951 MY(alpha_max) = 750;
6952 MY(alpha_fade) = 200;
6953 MY(color_min) = "0x4F4B46";
6954 MY(color_max) = "0x000000";
6955 MY(count) = 3;
6956 MY(gravity) = -0.500000;
6957 MY(notunderwater) = true;
6958 MY(startangle_min) = -180;
6959 MY(startangle_max) = 180;
6960 MY(spin_min) = -20;
6961 MY(spin_max) = 20;
6962 MY(sizeincrease) = -10;
6963 MY(size_min) = 60;
6964 MY(size_max) = 100;
6965 MY(tex_max) = 8;
6966 MY(type) = "alphastatic";
6967 MY(velocityjitter) = '40.0 40.0 400.0';
6968 MY(velocityoffset) = '0.0 0.0 200.0';
6969}
6970
6971// metal impact effect
6972DEF(impact_metal);
6973SUB(impact_metal) {
6974 MY(alpha_min) = 25;
6975 MY(alpha_max) = 64;
6976 MY(alpha_fade) = 50;
6977 MY(color_min) = "0x000000";
6978 MY(color_max) = "0x886666";
6979 MY(count) = 1;
6980 MY(gravity) = -0.010000;
6981 MY(originjitter) = '20.0 20.0 5.0';
6982 MY(sizeincrease) = 10;
6983 MY(size_min) = 3;
6984 MY(size_max) = 6;
6985 MY(tex_max) = 8;
6986 MY(type) = "alphastatic";
6987}
6988// sparks
6989SUB(impact_metal) {
6990 MY(airfriction) = 2;
6991 MY(alpha_min) = 255;
6992 MY(alpha_max) = 255;
6993 MY(alpha_fade) = 112;
6994 MY(bounce) = 1.800000;
6995 MY(color_min) = "0xFFCC22";
6996 MY(color_max) = "0xFF4422";
6997 MY(count) = 2;
6998 MY(gravity) = 1;
6999 MY(size_min) = 2;
7000 MY(size_max) = 2;
7001 MY(stretchfactor) = 0.500000;
7002 MY(tex_min) = 41;
7003 MY(tex_max) = 41;
7004 MY(type) = "spark";
7005 MY(velocityjitter) = '200.0 200.0 300.0';
7006 MY(velocitymultiplier) = 2;
7007}
7008
7009// stone impact effect
7010DEF(impact_stone);
7011SUB(impact_stone) {
7012 MY(alpha_min) = 50;
7013 MY(alpha_max) = 128;
7014 MY(alpha_fade) = 75;
7015 MY(color_min) = "0x000000";
7016 MY(color_max) = "0xcc9966";
7017 MY(count) = 1;
7018 MY(gravity) = -0.010000;
7019 MY(originjitter) = '20.0 20.0 5.0';
7020 MY(sizeincrease) = 15;
7021 MY(size_min) = 3;
7022 MY(size_max) = 6;
7023 MY(tex_max) = 8;
7024 MY(type) = "alphastatic";
7025}
7026// debris
7027SUB(impact_stone) {
7028 MY(airfriction) = 0.500000;
7029 MY(alpha_min) = 450;
7030 MY(alpha_max) = 750;
7031 MY(alpha_fade) = 300;
7032 MY(bounce) = 1.200000;
7033 MY(color_min) = "0x000000";
7034 MY(color_max) = "0x886644";
7035 MY(count) = 1;
7036 MY(gravity) = 1.300000;
7037 MY(notunderwater) = true;
7038 MY(startangle_min) = -180;
7039 MY(startangle_max) = 180;
7040 MY(spin_min) = -1000;
7041 MY(spin_max) = 1000;
7042 MY(size_min) = 1;
7043 MY(size_max) = 2;
7044 MY(tex_min) = 66;
7045 MY(tex_max) = 68;
7046 MY(type) = "alphastatic";
7047 MY(velocityjitter) = '124.0 124.0 324.0';
7048}
7049
7050// wood impact effect
7051DEF(impact_wood);
7052SUB(impact_wood) {
7053 MY(alpha_min) = 50;
7054 MY(alpha_max) = 128;
7055 MY(alpha_fade) = 75;
7056 MY(color_min) = "0x000000";
7057 MY(color_max) = "0xcc9966";
7058 MY(count) = 1;
7059 MY(gravity) = -0.010000;
7060 MY(originjitter) = '20.0 20.0 5.0';
7061 MY(sizeincrease) = 10;
7062 MY(size_min) = 3;
7063 MY(size_max) = 6;
7064 MY(tex_max) = 8;
7065 MY(type) = "alphastatic";
7066}
7067// sparks
7068SUB(impact_wood) {
7069 MY(airfriction) = 2;
7070 MY(alpha_min) = 255;
7071 MY(alpha_max) = 255;
7072 MY(alpha_fade) = 75;
7073 MY(bounce) = 1.500000;
7074 MY(color_min) = "0x221100";
7075 MY(color_max) = "0x221100";
7076 MY(count) = 2;
7077 MY(gravity) = 1;
7078 MY(size_min) = 1;
7079 MY(size_max) = 8;
7080 MY(tex_min) = 41;
7081 MY(tex_max) = 41;
7082 MY(type) = "spark";
7083 MY(velocityjitter) = '180.0 180.0 260.0';
7084 MY(velocitymultiplier) = 2;
7085}
7086
7087// flesh impact effect
7088DEF(impact_flesh);
7089SUB(impact_flesh) {
7090 MY(alpha_min) = 100;
7091 MY(alpha_max) = 256;
7092 MY(alpha_fade) = 400;
7093 MY(color_min) = "0x000000";
7094 MY(color_max) = "0x420000";
7095 MY(count) = 0.500000;
7096 MY(originjitter) = '11.0 11.0 11.0';
7097 MY(size_min) = 8;
7098 MY(size_max) = 12;
7099 MY(tex_max) = 8;
7100 MY(type) = "alphastatic";
7101}
7102// blood splash
7103SUB(impact_flesh) {
7104 MY(airfriction) = 1;
7105 MY(alpha_min) = 256;
7106 MY(alpha_max) = 256;
7107 MY(alpha_fade) = 64;
7108 MY(bounce) = -1;
7109 MY(color_min) = "0xA8FFFF";
7110 MY(color_max) = "0xA8FFFFF";
7111 MY(count) = 0.300000;
7112 MY(liquidfriction) = 4;
7113 MY(size_min) = 2;
7114 MY(size_max) = 6;
7115 MY(staincolor_min) = "0x808080";
7116 MY(staincolor_max) = "0x808080";
7117 MY(staintex_min) = 16;
7118 MY(staintex_max) = 24;
7119 MY(tex_min) = 24;
7120 MY(tex_max) = 32;
7121 MY(type) = "blood";
7122 MY(velocityjitter) = '96.0 96.0 96.0';
7123 MY(velocitymultiplier) = 5;
7124}
7125
7126// hagar trail
7127DEF(tr_hagar);
7128// smoke
7129SUB(tr_hagar) {
7130 MY(alpha_min) = 300;
7131 MY(alpha_max) = 400;
7132 MY(alpha_fade) = 780;
7133 MY(bounce) = 1;
7134 MY(color_min) = "0x101010";
7135 MY(color_max) = "0x000000";
7136 MY(originjitter) = '1.0 1.0 1.0';
7137 MY(sizeincrease) = 10;
7138 MY(size_min) = 3;
7139 MY(size_max) = 2;
7140 MY(tex_max) = 8;
7141 MY(trailspacing) = 4;
7142 MY(type) = "smoke";
7143 MY(velocityjitter) = '1.0 1.0 1.0';
7144 MY(velocitymultiplier) = -0.020000;
7145}
7146// fire
7147SUB(tr_hagar) {
7148 MY(airfriction) = 8;
7149 MY(alpha_min) = 100;
7150 MY(alpha_max) = 144;
7151 MY(alpha_fade) = 988;
7152 MY(color_min) = "0xffdf72";
7153 MY(color_max) = "0x811200";
7154 MY(notunderwater) = true;
7155 MY(sizeincrease) = -15;
7156 MY(size_min) = 5;
7157 MY(size_max) = 2;
7158 MY(tex_min) = 48;
7159 MY(tex_max) = 55;
7160 MY(trailspacing) = 4;
7161 MY(type) = "static";
7162 MY(velocityjitter) = '32.0 32.0 32.0';
7163 MY(velocitymultiplier) = -1;
7164}
7165// bubbles
7166SUB(tr_hagar) {
7167 MY(alpha_min) = 256;
7168 MY(alpha_max) = 256;
7169 MY(alpha_fade) = 256;
7170 MY(bounce) = 1.500000;
7171 MY(color_min) = "0x404040";
7172 MY(color_max) = "0x808080";
7173 MY(gravity) = -0.125000;
7174 MY(liquidfriction) = 4;
7175 MY(size_min) = 1;
7176 MY(size_max) = 1;
7177 MY(tex_min) = 62;
7178 MY(tex_max) = 62;
7179 MY(trailspacing) = 16;
7180 MY(type) = "bubble";
7181 MY(underwater) = true;
7182 MY(velocityjitter) = '16.0 16.0 16.0';
7183}
7184
7185// laser damage effect
7186DEF(damage_blaster);
7187SUB(damage_blaster) {
7188 MY(airfriction) = -0.350000;
7189 MY(alpha_min) = 128;
7190 MY(alpha_max) = 16;
7191 MY(alpha_fade) = 128;
7192 MY(color_min) = "0x880000";
7193 MY(color_max) = "0xff4400";
7194 MY(count) = 3;
7195 MY(notunderwater) = true;
7196 MY(originjitter) = '2.0 2.0 2.0';
7197 MY(startangle_max) = 180;
7198 MY(spin_min) = -30;
7199 MY(spin_max) = 30;
7200 MY(sizeincrease) = 8;
7201 MY(size_min) = 2;
7202 MY(size_max) = 4;
7203 MY(tex_max) = 8;
7204 MY(type) = "smoke";
7205 MY(velocityjitter) = '0.4 0.4 0.6';
7206}
7207
7208// shotgun damage effect, normal blood
7209DEF(damage_shotgun);
7210SUB(damage_shotgun) {
7211 MY(airfriction) = 1;
7212 MY(alpha_min) = 256;
7213 MY(alpha_max) = 256;
7214 MY(alpha_fade) = 64;
7215 MY(bounce) = -1;
7216 MY(color_min) = "0xA8FFFF";
7217 MY(color_max) = "0xA8FFFFF";
7218 MY(count) = 0.600000;
7219 MY(liquidfriction) = 4;
7220 MY(size_min) = 2;
7221 MY(size_max) = 4;
7222 MY(staincolor_min) = "0x808080";
7223 MY(staincolor_max) = "0x808080";
7224 MY(staintex_min) = 16;
7225 MY(staintex_max) = 24;
7226 MY(tex_min) = 24;
7227 MY(tex_max) = 32;
7228 MY(type) = "blood";
7229 MY(velocityjitter) = '64.0 64.0 64.0';
7230 MY(velocitymultiplier) = 5;
7231}
7232// blood mist
7233SUB(damage_shotgun) {
7234 MY(alpha_min) = 100;
7235 MY(alpha_max) = 256;
7236 MY(alpha_fade) = 400;
7237 MY(color_min) = "0x000000";
7238 MY(color_max) = "0x420000";
7239 MY(count) = 1;
7240 MY(originjitter) = '1.0 1.0 1.0';
7241 MY(size_min) = 8;
7242 MY(size_max) = 16;
7243 MY(tex_max) = 8;
7244 MY(type) = "alphastatic";
7245}
7246
7247// shotgun damage effect, alien blood
7248DEF(alien_damage_shotgun);
7249SUB(alien_damage_shotgun) {
7250 MY(airfriction) = 1;
7251 MY(alpha_min) = 256;
7252 MY(alpha_max) = 256;
7253 MY(alpha_fade) = 64;
7254 MY(bounce) = -1;
7255 MY(color_min) = "0xDC9BCD";
7256 MY(color_max) = "0xDC9BCD";
7257 MY(count) = 0.600000;
7258 MY(liquidfriction) = 4;
7259 MY(size_min) = 2;
7260 MY(size_max) = 4;
7261 MY(staincolor_min) = "0x808080";
7262 MY(staincolor_max) = "0x808080";
7263 MY(staintex_min) = 16;
7264 MY(staintex_max) = 24;
7265 MY(tex_min) = 24;
7266 MY(tex_max) = 32;
7267 MY(type) = "blood";
7268 MY(velocityjitter) = '64.0 64.0 64.0';
7269 MY(velocitymultiplier) = 5;
7270}
7271// blood mist
7272SUB(alien_damage_shotgun) {
7273 MY(alpha_min) = 100;
7274 MY(alpha_max) = 256;
7275 MY(alpha_fade) = 400;
7276 MY(color_min) = "0x000000";
7277 MY(color_max) = "0x204010";
7278 MY(count) = 1;
7279 MY(originjitter) = '1.0 1.0 1.0';
7280 MY(size_min) = 8;
7281 MY(size_max) = 16;
7282 MY(tex_max) = 8;
7283 MY(type) = "alphastatic";
7284}
7285
7286// shotgun damage effect, robot blood
7287DEF(robot_damage_shotgun);
7288SUB(robot_damage_shotgun) {
7289 MY(airfriction) = 1;
7290 MY(alpha_min) = 256;
7291 MY(alpha_max) = 256;
7292 MY(alpha_fade) = 64;
7293 MY(bounce) = -1;
7294 MY(color_min) = "0xC0D890";
7295 MY(color_max) = "0xC0D890";
7296 MY(count) = 0.600000;
7297 MY(liquidfriction) = 4;
7298 MY(size_min) = 2;
7299 MY(size_max) = 4;
7300 MY(staincolor_min) = "0x808080";
7301 MY(staincolor_max) = "0x808080";
7302 MY(staintex_min) = 16;
7303 MY(staintex_max) = 24;
7304 MY(tex_min) = 24;
7305 MY(tex_max) = 32;
7306 MY(type) = "blood";
7307 MY(velocityjitter) = '64.0 64.0 64.0';
7308 MY(velocitymultiplier) = 5;
7309}
7310// blood mist
7311SUB(robot_damage_shotgun) {
7312 MY(alpha_min) = 100;
7313 MY(alpha_max) = 256;
7314 MY(alpha_fade) = 400;
7315 MY(color_min) = "0x000000";
7316 MY(color_max) = "0x301860";
7317 MY(count) = 1;
7318 MY(originjitter) = '1.0 1.0 1.0';
7319 MY(size_min) = 8;
7320 MY(size_max) = 16;
7321 MY(tex_max) = 8;
7322 MY(type) = "alphastatic";
7323}
7324
7325// machinegun damage effect, normal blood
7326DEF(damage_machinegun);
7327SUB(damage_machinegun) {
7328 MY(airfriction) = 1;
7329 MY(alpha_min) = 256;
7330 MY(alpha_max) = 256;
7331 MY(alpha_fade) = 64;
7332 MY(bounce) = -1;
7333 MY(color_min) = "0xA8FFFF";
7334 MY(color_max) = "0xA8FFFFF";
7335 MY(count) = 0.300000;
7336 MY(liquidfriction) = 4;
7337 MY(size_min) = 2;
7338 MY(size_max) = 4;
7339 MY(staincolor_min) = "0x808080";
7340 MY(staincolor_max) = "0x808080";
7341 MY(staintex_min) = 16;
7342 MY(staintex_max) = 24;
7343 MY(tex_min) = 24;
7344 MY(tex_max) = 32;
7345 MY(type) = "blood";
7346 MY(velocityjitter) = '32.0 32.0 32.0';
7347 MY(velocitymultiplier) = 5;
7348}
7349// blood mist
7350SUB(damage_machinegun) {
7351 MY(alpha_min) = 100;
7352 MY(alpha_max) = 256;
7353 MY(alpha_fade) = 400;
7354 MY(color_min) = "0x000000";
7355 MY(color_max) = "0x420000";
7356 MY(count) = 1;
7357 MY(size_min) = 6;
7358 MY(size_max) = 12;
7359 MY(tex_max) = 8;
7360 MY(type) = "alphastatic";
7361}
7362
7363// machinegun damage effect, alien blood
7364DEF(alien_damage_machinegun);
7365SUB(alien_damage_machinegun) {
7366 MY(airfriction) = 1;
7367 MY(alpha_min) = 256;
7368 MY(alpha_max) = 256;
7369 MY(alpha_fade) = 64;
7370 MY(bounce) = -1;
7371 MY(color_min) = "0xDC9BCD";
7372 MY(color_max) = "0xDC9BCD";
7373 MY(count) = 0.300000;
7374 MY(liquidfriction) = 4;
7375 MY(size_min) = 2;
7376 MY(size_max) = 4;
7377 MY(staincolor_min) = "0x808080";
7378 MY(staincolor_max) = "0x808080";
7379 MY(staintex_min) = 16;
7380 MY(staintex_max) = 24;
7381 MY(tex_min) = 24;
7382 MY(tex_max) = 32;
7383 MY(type) = "blood";
7384 MY(velocityjitter) = '32.0 32.0 32.0';
7385 MY(velocitymultiplier) = 5;
7386}
7387// blood mist
7388SUB(alien_damage_machinegun) {
7389 MY(alpha_min) = 100;
7390 MY(alpha_max) = 256;
7391 MY(alpha_fade) = 400;
7392 MY(color_min) = "0x000000";
7393 MY(color_max) = "0x204010";
7394 MY(count) = 1;
7395 MY(size_min) = 6;
7396 MY(size_max) = 12;
7397 MY(tex_max) = 8;
7398 MY(type) = "alphastatic";
7399}
7400
7401// machinegun damage effect, robot blood
7402DEF(robot_damage_machinegun);
7403SUB(robot_damage_machinegun) {
7404 MY(airfriction) = 1;
7405 MY(alpha_min) = 256;
7406 MY(alpha_max) = 256;
7407 MY(alpha_fade) = 64;
7408 MY(bounce) = -1;
7409 MY(color_min) = "0xC0D890";
7410 MY(color_max) = "0xC0D890";
7411 MY(count) = 0.300000;
7412 MY(liquidfriction) = 4;
7413 MY(size_min) = 2;
7414 MY(size_max) = 4;
7415 MY(staincolor_min) = "0x808080";
7416 MY(staincolor_max) = "0x808080";
7417 MY(staintex_min) = 16;
7418 MY(staintex_max) = 24;
7419 MY(tex_min) = 24;
7420 MY(tex_max) = 32;
7421 MY(type) = "blood";
7422 MY(velocityjitter) = '32.0 32.0 32.0';
7423 MY(velocitymultiplier) = 5;
7424}
7425// blood mist
7426SUB(robot_damage_machinegun) {
7427 MY(alpha_min) = 100;
7428 MY(alpha_max) = 256;
7429 MY(alpha_fade) = 400;
7430 MY(color_min) = "0x000000";
7431 MY(color_max) = "0x301860";
7432 MY(count) = 1;
7433 MY(size_min) = 6;
7434 MY(size_max) = 12;
7435 MY(tex_max) = 8;
7436 MY(type) = "alphastatic";
7437}
7438
7439// minelayer damage effect
7440DEF(damage_minelayer);
7441SUB(damage_minelayer) {
7442 MY(alpha_min) = 512;
7443 MY(alpha_max) = 64;
7444 MY(alpha_fade) = 1024;
7445 MY(color_min) = "0x8f0d00";
7446 MY(color_max) = "0xff5a00";
7447 MY(count) = 3;
7448 MY(gravity) = -0.500000;
7449 MY(notunderwater) = true;
7450 MY(originjitter) = '2.0 2.0 2.0';
7451 MY(sizeincrease) = -15;
7452 MY(size_min) = 4;
7453 MY(size_max) = 8;
7454 MY(tex_min) = 48;
7455 MY(tex_max) = 55;
7456 MY(type) = "smoke";
7457 MY(velocityjitter) = '22.0 22.0 50.0';
7458}
7459// smoke
7460SUB(damage_minelayer) {
7461 MY(alpha_min) = 128;
7462 MY(alpha_max) = 32;
7463 MY(alpha_fade) = 128;
7464 MY(color_min) = "0x000000";
7465 MY(color_max) = "0x111111";
7466 MY(count) = 2;
7467 MY(gravity) = -0.300000;
7468 MY(notunderwater) = true;
7469 MY(originjitter) = '4.0 4.0 4.0';
7470 MY(sizeincrease) = 5;
7471 MY(size_min) = 4;
7472 MY(size_max) = 8;
7473 MY(tex_max) = 8;
7474 MY(type) = "alphastatic";
7475 MY(velocityjitter) = '11.0 11.0 50.0';
7476}
7477
7478// mortar damage effect
7479DEF(damage_mortar);
7480SUB(damage_mortar) {
7481 MY(alpha_min) = 512;
7482 MY(alpha_max) = 64;
7483 MY(alpha_fade) = 1024;
7484 MY(color_min) = "0x8f0d00";
7485 MY(color_max) = "0xff5a00";
7486 MY(count) = 3;
7487 MY(gravity) = -0.500000;
7488 MY(notunderwater) = true;
7489 MY(originjitter) = '2.0 2.0 2.0';
7490 MY(sizeincrease) = -15;
7491 MY(size_min) = 4;
7492 MY(size_max) = 8;
7493 MY(tex_min) = 48;
7494 MY(tex_max) = 55;
7495 MY(type) = "smoke";
7496 MY(velocityjitter) = '22.0 22.0 50.0';
7497}
7498// smoke
7499SUB(damage_mortar) {
7500 MY(alpha_min) = 128;
7501 MY(alpha_max) = 32;
7502 MY(alpha_fade) = 128;
7503 MY(color_min) = "0x000000";
7504 MY(color_max) = "0x111111";
7505 MY(count) = 2;
7506 MY(gravity) = -0.300000;
7507 MY(notunderwater) = true;
7508 MY(originjitter) = '4.0 4.0 4.0';
7509 MY(sizeincrease) = 5;
7510 MY(size_min) = 4;
7511 MY(size_max) = 8;
7512 MY(tex_max) = 8;
7513 MY(type) = "alphastatic";
7514 MY(velocityjitter) = '11.0 11.0 50.0';
7515}
7516
7517// arc damage effect
7518DEF(damage_arc);
7519SUB(damage_arc) {
7520 MY(airfriction) = -0.650000;
7521 MY(alpha_min) = 48;
7522 MY(alpha_max) = 8;
7523 MY(alpha_fade) = 48;
7524 MY(color_min) = "0x66ffff";
7525 MY(color_max) = "0x2288ff";
7526 MY(count) = 2;
7527 MY(gravity) = -0.000100;
7528 MY(liquidfriction) = 0.600000;
7529 MY(notunderwater) = true;
7530 MY(originjitter) = '2.0 2.0 2.0';
7531 MY(startangle_min) = 180;
7532 MY(startangle_max) = 360;
7533 MY(spin_min) = -30;
7534 MY(spin_max) = 30;
7535 MY(sizeincrease) = -14;
7536 MY(size_min) = 4;
7537 MY(size_max) = 8;
7538 MY(tex_min) = 47;
7539 MY(tex_max) = 47;
7540 MY(type) = "static";
7541 MY(velocityjitter) = '6.0 6.0 12.0';
7542}
7543// plasma smoke
7544SUB(damage_arc) {
7545 MY(airfriction) = -0.500000;
7546 MY(alpha_min) = 64;
7547 MY(alpha_max) = 16;
7548 MY(alpha_fade) = 64;
7549 MY(color_min) = "0x2244ff";
7550 MY(color_max) = "0x002266";
7551 MY(count) = 4;
7552 MY(notunderwater) = true;
7553 MY(originjitter) = '3.0 3.0 3.0';
7554 MY(startangle_max) = 180;
7555 MY(spin_min) = -30;
7556 MY(spin_max) = 30;
7557 MY(sizeincrease) = 10;
7558 MY(size_min) = 3;
7559 MY(size_max) = 6;
7560 MY(tex_max) = 8;
7561 MY(type) = "smoke";
7562 MY(velocityjitter) = '0.3 0.3 0.5';
7563}
7564// bouncing sparks
7565SUB(damage_arc) {
7566 MY(airfriction) = 1;
7567 MY(alpha_min) = 768;
7568 MY(alpha_max) = 64;
7569 MY(alpha_fade) = 256;
7570 MY(bounce) = 1.500000;
7571 MY(color_min) = "0x003090";
7572 MY(color_max) = "0x00CCFF";
7573 MY(count) = 0.500000;
7574 MY(gravity) = 0.150000;
7575 MY(liquidfriction) = 0.600000;
7576 MY(size_min) = 1;
7577 MY(size_max) = 1;
7578 MY(tex_min) = 66;
7579 MY(tex_max) = 68;
7580 MY(type) = "spark";
7581 MY(velocityjitter) = '24.0 24.0 24.0';
7582}
7583
7584// electro damage effect
7585DEF(damage_electro);
7586SUB(damage_electro) {
7587 MY(airfriction) = -0.500000;
7588 MY(alpha_min) = 48;
7589 MY(alpha_max) = 8;
7590 MY(alpha_fade) = 48;
7591 MY(color_min) = "0x66ffff";
7592 MY(color_max) = "0x2288ff";
7593 MY(count) = 2;
7594 MY(gravity) = -0.000100;
7595 MY(liquidfriction) = 0.800000;
7596 MY(notunderwater) = true;
7597 MY(originjitter) = '3.0 3.0 3.0';
7598 MY(startangle_min) = 180;
7599 MY(startangle_max) = 360;
7600 MY(spin_min) = -30;
7601 MY(spin_max) = 30;
7602 MY(sizeincrease) = -14;
7603 MY(size_min) = 6;
7604 MY(size_max) = 10;
7605 MY(tex_min) = 47;
7606 MY(tex_max) = 47;
7607 MY(type) = "static";
7608 MY(velocityjitter) = '8.0 8.0 16.0';
7609}
7610// plasma smoke
7611SUB(damage_electro) {
7612 MY(airfriction) = -0.350000;
7613 MY(alpha_min) = 64;
7614 MY(alpha_max) = 16;
7615 MY(alpha_fade) = 64;
7616 MY(color_min) = "0x2244ff";
7617 MY(color_max) = "0x002266";
7618 MY(count) = 4;
7619 MY(notunderwater) = true;
7620 MY(originjitter) = '4.0 4.0 4.0';
7621 MY(startangle_max) = 180;
7622 MY(spin_min) = -30;
7623 MY(spin_max) = 30;
7624 MY(sizeincrease) = 10;
7625 MY(size_min) = 4;
7626 MY(size_max) = 8;
7627 MY(tex_max) = 8;
7628 MY(type) = "smoke";
7629 MY(velocityjitter) = '0.4 0.4 0.6';
7630}
7631// bouncing sparks
7632SUB(damage_electro) {
7633 MY(airfriction) = 1;
7634 MY(alpha_min) = 768;
7635 MY(alpha_max) = 64;
7636 MY(alpha_fade) = 256;
7637 MY(bounce) = 1.500000;
7638 MY(color_min) = "0x003090";
7639 MY(color_max) = "0x00CCFF";
7640 MY(count) = 0.500000;
7641 MY(gravity) = 0.200000;
7642 MY(liquidfriction) = 0.800000;
7643 MY(size_min) = 1;
7644 MY(size_max) = 1;
7645 MY(tex_min) = 66;
7646 MY(tex_max) = 68;
7647 MY(type) = "spark";
7648 MY(velocityjitter) = '32.0 32.0 32.0';
7649}
7650
7651// crylink damage effect
7652DEF(damage_crylink);
7653SUB(damage_crylink) {
7654 MY(airfriction) = -0.500000;
7655 MY(alpha_min) = 48;
7656 MY(alpha_max) = 16;
7657 MY(alpha_fade) = 48;
7658 MY(color_min) = "0xff44ff";
7659 MY(color_max) = "0x9966ff";
7660 MY(count) = 2;
7661 MY(gravity) = -0.000100;
7662 MY(liquidfriction) = 0.800000;
7663 MY(notunderwater) = true;
7664 MY(originjitter) = '3.0 3.0 3.0';
7665 MY(startangle_min) = 180;
7666 MY(startangle_max) = 360;
7667 MY(spin_min) = -30;
7668 MY(spin_max) = 30;
7669 MY(sizeincrease) = -8;
7670 MY(size_min) = 0.500000;
7671 MY(size_max) = 1;
7672 MY(tex_min) = 38;
7673 MY(tex_max) = 38;
7674 MY(type) = "static";
7675 MY(velocityjitter) = '10.0 10.0 20.0';
7676}
7677// plasma smoke
7678SUB(damage_crylink) {
7679 MY(airfriction) = -0.350000;
7680 MY(alpha_min) = 64;
7681 MY(alpha_max) = 16;
7682 MY(alpha_fade) = 64;
7683 MY(color_min) = "0x8844ff";
7684 MY(color_max) = "0x662244";
7685 MY(count) = 4;
7686 MY(gravity) = 0.001000;
7687 MY(notunderwater) = true;
7688 MY(originjitter) = '4.0 4.0 4.0';
7689 MY(startangle_max) = 180;
7690 MY(spin_min) = -30;
7691 MY(spin_max) = 30;
7692 MY(sizeincrease) = 6;
7693 MY(size_min) = 5;
7694 MY(size_max) = 10;
7695 MY(tex_max) = 8;
7696 MY(type) = "smoke";
7697 MY(velocityjitter) = '0.4 0.4 0.6';
7698}
7699// floating sparks
7700SUB(damage_crylink) {
7701 MY(airfriction) = 0.200000;
7702 MY(alpha_min) = 192;
7703 MY(alpha_max) = 192;
7704 MY(alpha_fade) = 128;
7705 MY(color_min) = "0x903090";
7706 MY(color_max) = "0xFFD0FF";
7707 MY(count) = 0.300000;
7708 MY(liquidfriction) = 0.800000;
7709 MY(sizeincrease) = -5;
7710 MY(size_min) = 0.500000;
7711 MY(size_max) = 0.500000;
7712 MY(type) = "spark";
7713 MY(velocityjitter) = '12.0 12.0 12.0';
7714}
7715
7716// hlac damage effect
7717DEF(damage_hlac);
7718SUB(damage_hlac) {
7719 MY(airfriction) = -0.350000;
7720 MY(alpha_min) = 128;
7721 MY(alpha_max) = 16;
7722 MY(alpha_fade) = 128;
7723 MY(color_min) = "0x008800";
7724 MY(color_max) = "0x44ff00";
7725 MY(count) = 3;
7726 MY(notunderwater) = true;
7727 MY(originjitter) = '4.0 4.0 4.0';
7728 MY(startangle_max) = 180;
7729 MY(spin_min) = -30;
7730 MY(spin_max) = 30;
7731 MY(sizeincrease) = 10;
7732 MY(size_min) = 2;
7733 MY(size_max) = 4;
7734 MY(tex_max) = 8;
7735 MY(type) = "smoke";
7736 MY(velocityjitter) = '0.4 0.4 0.6';
7737}
7738
7739// vortex damage effect
7740DEF(damage_vortex);
7741SUB(damage_vortex) {
7742 MY(airfriction) = -0.500000;
7743 MY(alpha_min) = 64;
7744 MY(alpha_max) = 8;
7745 MY(alpha_fade) = 64;
7746 MY(color_min) = "0xffffff";
7747 MY(color_max) = "0x88ffff";
7748 MY(count) = 1;
7749 MY(gravity) = -0.000100;
7750 MY(liquidfriction) = 0.600000;
7751 MY(originjitter) = '4.0 4.0 4.0';
7752 MY(startangle_min) = 180;
7753 MY(startangle_max) = 360;
7754 MY(spin_min) = -30;
7755 MY(spin_max) = 30;
7756 MY(sizeincrease) = -14;
7757 MY(size_min) = 5;
7758 MY(size_max) = 10;
7759 MY(tex_min) = 47;
7760 MY(tex_max) = 47;
7761 MY(type) = "static";
7762 MY(velocityjitter) = '8.0 8.0 16.0';
7763}
7764// plasma smoke
7765SUB(damage_vortex) {
7766 MY(airfriction) = -0.350000;
7767 MY(alpha_min) = 64;
7768 MY(alpha_max) = 16;
7769 MY(alpha_fade) = 64;
7770 MY(color_min) = "0x6688ff";
7771 MY(color_max) = "0x226688";
7772 MY(count) = 2;
7773 MY(originjitter) = '2.0 2.0 2.0';
7774 MY(startangle_max) = 180;
7775 MY(spin_min) = -30;
7776 MY(spin_max) = 30;
7777 MY(sizeincrease) = 8;
7778 MY(size_min) = 4;
7779 MY(size_max) = 8;
7780 MY(tex_max) = 8;
7781 MY(type) = "smoke";
7782 MY(velocityjitter) = '0.5 0.5 0.8';
7783}
7784// bouncing sparks
7785SUB(damage_vortex) {
7786 MY(airfriction) = 2;
7787 MY(alpha_min) = 255;
7788 MY(alpha_max) = 255;
7789 MY(alpha_fade) = 112;
7790 MY(bounce) = 1.600000;
7791 MY(color_min) = "0xD9FDFF";
7792 MY(color_max) = "0xD9FDFF";
7793 MY(count) = 0.200000;
7794 MY(gravity) = 1;
7795 MY(size_min) = 1;
7796 MY(size_max) = 1;
7797 MY(stretchfactor) = 0.700000;
7798 MY(tex_min) = 41;
7799 MY(tex_max) = 41;
7800 MY(type) = "spark";
7801 MY(velocityjitter) = '100.0 100.0 300.0';
7802 MY(velocitymultiplier) = 3;
7803}
7804
7805// vaporizer damage effect
7806DEF(damage_vaporizer);
7807SUB(damage_vaporizer) {
7808 MY(airfriction) = -0.500000;
7809 MY(alpha_min) = 64;
7810 MY(alpha_max) = 8;
7811 MY(alpha_fade) = 64;
7812 MY(color_min) = "0xffffff";
7813 MY(color_max) = "0x88ffff";
7814 MY(count) = 2;
7815 MY(gravity) = -0.000100;
7816 MY(liquidfriction) = 0.600000;
7817 MY(originjitter) = '4.0 4.0 4.0';
7818 MY(startangle_min) = 180;
7819 MY(startangle_max) = 360;
7820 MY(spin_min) = -30;
7821 MY(spin_max) = 30;
7822 MY(sizeincrease) = -14;
7823 MY(size_min) = 5;
7824 MY(size_max) = 10;
7825 MY(tex_min) = 47;
7826 MY(tex_max) = 47;
7827 MY(type) = "static";
7828 MY(velocityjitter) = '8.0 8.0 16.0';
7829}
7830// plasma smoke
7831SUB(damage_vaporizer) {
7832 MY(airfriction) = -0.350000;
7833 MY(alpha_min) = 64;
7834 MY(alpha_max) = 16;
7835 MY(alpha_fade) = 64;
7836 MY(color_min) = "0x6688ff";
7837 MY(color_max) = "0x226688";
7838 MY(count) = 4;
7839 MY(originjitter) = '2.0 2.0 2.0';
7840 MY(startangle_max) = 180;
7841 MY(spin_min) = -30;
7842 MY(spin_max) = 30;
7843 MY(sizeincrease) = 8;
7844 MY(size_min) = 4;
7845 MY(size_max) = 8;
7846 MY(tex_max) = 8;
7847 MY(type) = "smoke";
7848 MY(velocityjitter) = '0.5 0.5 0.8';
7849}
7850// bouncing sparks
7851SUB(damage_vaporizer) {
7852 MY(airfriction) = 2;
7853 MY(alpha_min) = 255;
7854 MY(alpha_max) = 255;
7855 MY(alpha_fade) = 112;
7856 MY(bounce) = 1.600000;
7857 MY(color_min) = "0xD9FDFF";
7858 MY(color_max) = "0xD9FDFF";
7859 MY(count) = 0.200000;
7860 MY(gravity) = 1;
7861 MY(size_min) = 1;
7862 MY(size_max) = 1;
7863 MY(stretchfactor) = 0.700000;
7864 MY(tex_min) = 41;
7865 MY(tex_max) = 41;
7866 MY(type) = "spark";
7867 MY(velocityjitter) = '100.0 100.0 300.0';
7868 MY(velocitymultiplier) = 3;
7869}
7870
7871// rifle damage effect, normal blood
7872DEF(damage_rifle);
7873SUB(damage_rifle) {
7874 MY(airfriction) = 1;
7875 MY(alpha_min) = 256;
7876 MY(alpha_max) = 256;
7877 MY(alpha_fade) = 64;
7878 MY(bounce) = -1;
7879 MY(color_min) = "0xA8FFFF";
7880 MY(color_max) = "0xA8FFFFF";
7881 MY(count) = 0.300000;
7882 MY(liquidfriction) = 4;
7883 MY(size_min) = 2;
7884 MY(size_max) = 4;
7885 MY(staincolor_min) = "0x808080";
7886 MY(staincolor_max) = "0x808080";
7887 MY(staintex_min) = 16;
7888 MY(staintex_max) = 24;
7889 MY(tex_min) = 24;
7890 MY(tex_max) = 32;
7891 MY(type) = "blood";
7892 MY(velocityjitter) = '32.0 32.0 32.0';
7893 MY(velocitymultiplier) = 5;
7894}
7895// blood mist
7896SUB(damage_rifle) {
7897 MY(alpha_min) = 100;
7898 MY(alpha_max) = 256;
7899 MY(alpha_fade) = 400;
7900 MY(color_min) = "0x000000";
7901 MY(color_max) = "0x420000";
7902 MY(count) = 1;
7903 MY(size_min) = 6;
7904 MY(size_max) = 12;
7905 MY(tex_max) = 8;
7906 MY(type) = "alphastatic";
7907}
7908
7909// rifle damage effect, alien blood
7910DEF(damage_rifle_alien);
7911SUB(damage_rifle_alien) {
7912 MY(airfriction) = 1;
7913 MY(alpha_min) = 256;
7914 MY(alpha_max) = 256;
7915 MY(alpha_fade) = 64;
7916 MY(bounce) = -1;
7917 MY(color_min) = "0xDC9BCD";
7918 MY(color_max) = "0xDC9BCD";
7919 MY(count) = 0.300000;
7920 MY(liquidfriction) = 4;
7921 MY(size_min) = 2;
7922 MY(size_max) = 4;
7923 MY(staincolor_min) = "0x808080";
7924 MY(staincolor_max) = "0x808080";
7925 MY(staintex_min) = 16;
7926 MY(staintex_max) = 24;
7927 MY(tex_min) = 24;
7928 MY(tex_max) = 32;
7929 MY(type) = "blood";
7930 MY(velocityjitter) = '32.0 32.0 32.0';
7931 MY(velocitymultiplier) = 5;
7932}
7933// blood mist
7934SUB(damage_rifle_alien) {
7935 MY(alpha_min) = 100;
7936 MY(alpha_max) = 256;
7937 MY(alpha_fade) = 400;
7938 MY(color_min) = "0x000000";
7939 MY(color_max) = "0x204010";
7940 MY(count) = 1;
7941 MY(size_min) = 6;
7942 MY(size_max) = 12;
7943 MY(tex_max) = 8;
7944 MY(type) = "alphastatic";
7945}
7946
7947// rifle damage effect, robot blood
7948DEF(damage_rifle_robot);
7949SUB(damage_rifle_robot) {
7950 MY(airfriction) = 1;
7951 MY(alpha_min) = 256;
7952 MY(alpha_max) = 256;
7953 MY(alpha_fade) = 64;
7954 MY(bounce) = -1;
7955 MY(color_min) = "0xC0D890";
7956 MY(color_max) = "0xC0D890";
7957 MY(count) = 0.300000;
7958 MY(liquidfriction) = 4;
7959 MY(size_min) = 2;
7960 MY(size_max) = 4;
7961 MY(staincolor_min) = "0x808080";
7962 MY(staincolor_max) = "0x808080";
7963 MY(staintex_min) = 16;
7964 MY(staintex_max) = 24;
7965 MY(tex_min) = 24;
7966 MY(tex_max) = 32;
7967 MY(type) = "blood";
7968 MY(velocityjitter) = '32.0 32.0 32.0';
7969 MY(velocitymultiplier) = 5;
7970}
7971// blood mist
7972SUB(damage_rifle_robot) {
7973 MY(alpha_min) = 100;
7974 MY(alpha_max) = 256;
7975 MY(alpha_fade) = 400;
7976 MY(color_min) = "0x000000";
7977 MY(color_max) = "0x301860";
7978 MY(count) = 1;
7979 MY(size_min) = 6;
7980 MY(size_max) = 12;
7981 MY(tex_max) = 8;
7982 MY(type) = "alphastatic";
7983}
7984
7985// seeker damage effect
7986DEF(damage_seeker);
7987SUB(damage_seeker) {
7988 MY(alpha_min) = 512;
7989 MY(alpha_max) = 32;
7990 MY(alpha_fade) = 1024;
7991 MY(color_min) = "0x8f0c00";
7992 MY(color_max) = "0xff2200";
7993 MY(count) = 3;
7994 MY(gravity) = -0.300000;
7995 MY(notunderwater) = true;
7996 MY(originjitter) = '2.0 2.0 2.0';
7997 MY(sizeincrease) = -10;
7998 MY(size_min) = 4;
7999 MY(size_max) = 8;
8000 MY(tex_min) = 48;
8001 MY(tex_max) = 55;
8002 MY(type) = "smoke";
8003 MY(velocityjitter) = '22.0 22.0 50.0';
8004}
8005// smoke
8006SUB(damage_seeker) {
8007 MY(alpha_min) = 128;
8008 MY(alpha_max) = 32;
8009 MY(alpha_fade) = 128;
8010 MY(color_min) = "0x000000";
8011 MY(color_max) = "0x111111";
8012 MY(count) = 2;
8013 MY(gravity) = -0.300000;
8014 MY(notunderwater) = true;
8015 MY(originjitter) = '4.0 4.0 4.0';
8016 MY(sizeincrease) = 10;
8017 MY(size_min) = 2;
8018 MY(size_max) = 4;
8019 MY(tex_max) = 8;
8020 MY(type) = "alphastatic";
8021 MY(velocityjitter) = '11.0 11.0 50.0';
8022}
8023
8024// hagar damage effect
8025DEF(damage_hagar);
8026SUB(damage_hagar) {
8027 MY(alpha_min) = 512;
8028 MY(alpha_max) = 32;
8029 MY(alpha_fade) = 1024;
8030 MY(color_min) = "0x8f0c00";
8031 MY(color_max) = "0xff3a00";
8032 MY(count) = 3;
8033 MY(gravity) = -0.300000;
8034 MY(notunderwater) = true;
8035 MY(originjitter) = '2.0 2.0 2.0';
8036 MY(sizeincrease) = -10;
8037 MY(size_min) = 4;
8038 MY(size_max) = 8;
8039 MY(tex_min) = 48;
8040 MY(tex_max) = 55;
8041 MY(type) = "smoke";
8042 MY(velocityjitter) = '22.0 22.0 50.0';
8043}
8044// smoke
8045SUB(damage_hagar) {
8046 MY(alpha_min) = 128;
8047 MY(alpha_max) = 32;
8048 MY(alpha_fade) = 128;
8049 MY(color_min) = "0x000000";
8050 MY(color_max) = "0x111111";
8051 MY(count) = 2;
8052 MY(gravity) = -0.300000;
8053 MY(notunderwater) = true;
8054 MY(originjitter) = '4.0 4.0 4.0';
8055 MY(sizeincrease) = 10;
8056 MY(size_min) = 2;
8057 MY(size_max) = 4;
8058 MY(tex_max) = 8;
8059 MY(type) = "alphastatic";
8060 MY(velocityjitter) = '11.0 11.0 50.0';
8061}
8062
8063// fireball damage effect
8064DEF(damage_fireball);
8065SUB(damage_fireball) {
8066 MY(alpha_min) = 256;
8067 MY(alpha_max) = 16;
8068 MY(alpha_fade) = 512;
8069 MY(color_min) = "0x8f0d00";
8070 MY(color_max) = "0xff5a00";
8071 MY(count) = 4;
8072 MY(gravity) = -0.500000;
8073 MY(notunderwater) = true;
8074 MY(originjitter) = '8.0 8.0 8.0';
8075 MY(sizeincrease) = -10;
8076 MY(size_min) = 5;
8077 MY(size_max) = 10;
8078 MY(tex_min) = 48;
8079 MY(tex_max) = 55;
8080 MY(type) = "smoke";
8081 MY(velocityjitter) = '22.0 22.0 50.0';
8082}
8083// smoke
8084SUB(damage_fireball) {
8085 MY(alpha_min) = 128;
8086 MY(alpha_max) = 32;
8087 MY(alpha_fade) = 128;
8088 MY(color_min) = "0x000000";
8089 MY(color_max) = "0x111111";
8090 MY(count) = 4;
8091 MY(gravity) = -0.300000;
8092 MY(notunderwater) = true;
8093 MY(originjitter) = '6.0 6.0 6.0';
8094 MY(sizeincrease) = 10;
8095 MY(size_min) = 4;
8096 MY(size_max) = 8;
8097 MY(tex_max) = 8;
8098 MY(type) = "alphastatic";
8099 MY(velocityjitter) = '11.0 11.0 50.0';
8100}
8101
8102// rocketlauncher damage effect
8103DEF(damage_devastator);
8104SUB(damage_devastator) {
8105 MY(alpha_min) = 512;
8106 MY(alpha_max) = 64;
8107 MY(alpha_fade) = 1024;
8108 MY(color_min) = "0x8f0c00";
8109 MY(color_max) = "0xff2a00";
8110 MY(count) = 3;
8111 MY(gravity) = -0.700000;
8112 MY(notunderwater) = true;
8113 MY(originjitter) = '4.0 4.0 4.0';
8114 MY(sizeincrease) = -10;
8115 MY(size_min) = 5;
8116 MY(size_max) = 10;
8117 MY(tex_min) = 48;
8118 MY(tex_max) = 55;
8119 MY(type) = "smoke";
8120 MY(velocityjitter) = '22.0 22.0 30.0';
8121}
8122// smoke
8123SUB(damage_devastator) {
8124 MY(alpha_min) = 128;
8125 MY(alpha_max) = 32;
8126 MY(alpha_fade) = 128;
8127 MY(color_min) = "0x000000";
8128 MY(color_max) = "0x111111";
8129 MY(count) = 3;
8130 MY(gravity) = -0.300000;
8131 MY(notunderwater) = true;
8132 MY(originjitter) = '4.0 4.0 4.0';
8133 MY(sizeincrease) = 10;
8134 MY(size_min) = 4;
8135 MY(size_max) = 8;
8136 MY(tex_max) = 8;
8137 MY(type) = "alphastatic";
8138 MY(velocityjitter) = '11.0 11.0 50.0';
8139}
8140
8141// fireflies
8142DEF(fireflies);
8143SUB(fireflies) {
8144 MY(airfriction) = 5;
8145 MY(alpha_min) = 256;
8146 MY(alpha_max) = 256;
8147 MY(alpha_fade) = 70;
8148 MY(bounce) = -1;
8149 MY(color_min) = "0xff9600";
8150 MY(color_max) = "0xffefb8";
8151 MY(count) = 1;
8152 MY(originjitter) = '32.0 32.0 32.0';
8153 MY(originoffset) = '8.0 8.0 8.0';
8154 MY(sizeincrease) = -0.300000;
8155 MY(size_min) = 2;
8156 MY(size_max) = 3;
8157 MY(tex_min) = 38;
8158 MY(tex_max) = 38;
8159 MY(time_min) = 1;
8160 MY(time_max) = 2;
8161 MY(type) = "static";
8162 MY(velocityjitter) = '64.0 64.0 64.0';
8163 MY(velocityoffset) = '2.0 2.0 2.0';
8164}
8165
8166DEF(healray_muzzleflash);
8167SUB(healray_muzzleflash) {
8168 MY(alpha_min) = 256;
8169 MY(alpha_max) = 256;
8170 MY(alpha_fade) = 512;
8171 MY(color_min) = "0x283880";
8172 MY(color_max) = "0x283880";
8173 MY(countabsolute) = 1;
8174 MY(lightcolor) = '1.5 3.0 6.0';
8175 MY(lightradiusfade) = 2000;
8176 MY(lightradius) = 200;
8177 MY(originjitter) = '1.5 1.5 1.5';
8178 MY(sizeincrease) = -10;
8179 MY(size_min) = 20;
8180 MY(size_max) = 20;
8181 MY(tex_min) = 65;
8182 MY(tex_max) = 65;
8183 MY(type) = "smoke";
8184 MY(velocityjitter) = '6.0 6.0 6.0';
8185 MY(velocitymultiplier) = 0.010000;
8186}
8187SUB(healray_muzzleflash) {
8188 MY(airfriction) = 5;
8189 MY(alpha_min) = 50;
8190 MY(alpha_max) = 150;
8191 MY(alpha_fade) = 1924;
8192 MY(color_min) = "0xD9FDFF";
8193 MY(color_max) = "0x00f0ff";
8194 MY(count) = 22;
8195 MY(originjitter) = '1.0 1.0 1.0';
8196 MY(sizeincrease) = 3;
8197 MY(size_min) = 1;
8198 MY(size_max) = 15;
8199 MY(stretchfactor) = 3.900000;
8200 MY(tex_min) = 71;
8201 MY(tex_max) = 73;
8202 MY(type) = "spark";
8203 MY(velocityjitter) = '150.0 150.0 150.0';
8204 MY(velocitymultiplier) = 0.400000;
8205}
8206SUB(healray_muzzleflash) {
8207 MY(alpha_min) = 110;
8208 MY(alpha_max) = 228;
8209 MY(alpha_fade) = 4024;
8210 MY(color_min) = "0xD9FDFF";
8211 MY(color_max) = "0x00f0ff";
8212 MY(count) = 4;
8213 MY(originjitter) = '1.0 1.0 1.0';
8214 MY(size_min) = 1;
8215 MY(size_max) = 1;
8216 MY(stretchfactor) = 0.200000;
8217 MY(tex_min) = 70;
8218 MY(tex_max) = 70;
8219 MY(type) = "spark";
8220 MY(velocityjitter) = '650.0 650.0 650.0';
8221 MY(velocitymultiplier) = 1.100000;
8222}
8223
8224DEF(healray_impact);
8225SUB(healray_impact) {
8226 MY(alpha_min) = 256;
8227 MY(alpha_max) = 256;
8228 MY(color_min) = "0xd800ff";
8229 MY(color_max) = "0xd800ff";
8230 MY(countabsolute) = 1;
8231 MY(lightcolor) = '0.0 4.4 0.0';
8232 MY(lightradiusfade) = 450;
8233 MY(lightradius) = 125;
8234 MY(originjitter) = '17.0 17.0 17.0';
8235 MY(size_min) = 32;
8236 MY(size_max) = 32;
8237 MY(tex_min) = 59;
8238 MY(tex_max) = 59;
8239 MY(type) = "decal";
8240}
8241// shockwave
8242SUB(healray_impact) {
8243 MY(alpha_min) = 40;
8244 MY(alpha_max) = 40;
8245 MY(alpha_fade) = 350;
8246 MY(color_min) = "0x00ff00";
8247 MY(color_max) = "0x84c52f";
8248 MY(countabsolute) = 1;
8249 MY(sizeincrease) = 1400;
8250 MY(size_min) = 32;
8251 MY(size_max) = 32;
8252 MY(tex_min) = 33;
8253 MY(tex_max) = 33;
8254 MY(type) = "smoke";
8255 MY(velocitymultiplier) = 44;
8256}
8257// cloud of bouncing sparks
8258SUB(healray_impact) {
8259 MY(airfriction) = 6;
8260 MY(alpha_min) = 156;
8261 MY(alpha_max) = 300;
8262 MY(alpha_fade) = 1024;
8263 MY(color_min) = "0x00ff00";
8264 MY(color_max) = "0x84c52f";
8265 MY(count) = 30;
8266 MY(gravity) = 2;
8267 MY(originjitter) = '1.0 1.0 1.0';
8268 MY(size_min) = 1;
8269 MY(size_max) = 2;
8270 MY(tex_min) = 70;
8271 MY(tex_max) = 70;
8272 MY(type) = "spark";
8273 MY(velocityjitter) = '1112.0 1112.0 1112.0';
8274}
8275// inner cloud of smoke
8276SUB(healray_impact) {
8277 MY(airfriction) = 3;
8278 MY(alpha_min) = 200;
8279 MY(alpha_max) = 456;
8280 MY(alpha_fade) = 512;
8281 MY(color_min) = "0x00ff00";
8282 MY(color_max) = "0x84c52f";
8283 MY(count) = 15;
8284 MY(gravity) = -2;
8285 MY(startangle_min) = -180;
8286 MY(startangle_max) = 180;
8287 MY(spin_min) = -90;
8288 MY(spin_max) = 90;
8289 MY(size_min) = 2;
8290 MY(size_max) = 3;
8291 MY(tex_min) = 40;
8292 MY(tex_max) = 40;
8293 MY(type) = "smoke";
8294 MY(velocityjitter) = '120.0 120.0 420.0';
8295}
8296
8297DEF(bigplasma_muzzleflash);
8298SUB(bigplasma_muzzleflash) {
8299 MY(alpha_min) = 256;
8300 MY(alpha_max) = 256;
8301 MY(alpha_fade) = 812;
8302 MY(color_min) = "0x283880";
8303 MY(color_max) = "0x283880";
8304 MY(countabsolute) = 1;
8305 MY(lightcolor) = '1.5 3.0 6.0';
8306 MY(lightradiusfade) = 2000;
8307 MY(lightradius) = 200;
8308 MY(originjitter) = '1.5 1.5 1.5';
8309 MY(sizeincrease) = -10;
8310 MY(size_min) = 50;
8311 MY(size_max) = 50;
8312 MY(tex_min) = 65;
8313 MY(tex_max) = 65;
8314 MY(type) = "smoke";
8315 MY(velocityjitter) = '6.0 6.0 6.0';
8316 MY(velocitymultiplier) = 0.010000;
8317}
8318SUB(bigplasma_muzzleflash) {
8319 MY(alpha_min) = 56;
8320 MY(alpha_max) = 56;
8321 MY(alpha_fade) = 1112;
8322 MY(color_min) = "0x00f0ff";
8323 MY(color_max) = "0x00f0ff";
8324 MY(countabsolute) = 1;
8325 MY(sizeincrease) = 300;
8326 MY(size_min) = 20;
8327 MY(size_max) = 20;
8328 MY(tex_min) = 74;
8329 MY(tex_max) = 74;
8330 MY(type) = "smoke";
8331}
8332SUB(bigplasma_muzzleflash) {
8333 MY(airfriction) = 5;
8334 MY(alpha_min) = 50;
8335 MY(alpha_max) = 150;
8336 MY(alpha_fade) = 1924;
8337 MY(color_min) = "0xD9FDFF";
8338 MY(color_max) = "0x00f0ff";
8339 MY(count) = 14;
8340 MY(originjitter) = '1.0 1.0 1.0';
8341 MY(sizeincrease) = 135;
8342 MY(size_min) = 5;
8343 MY(size_max) = 10;
8344 MY(stretchfactor) = 1.900000;
8345 MY(tex_min) = 51;
8346 MY(tex_max) = 55;
8347 MY(type) = "spark";
8348 MY(velocityjitter) = '350.0 350.0 350.0';
8349 MY(velocitymultiplier) = 0.400000;
8350}
8351SUB(bigplasma_muzzleflash) {
8352 MY(alpha_min) = 110;
8353 MY(alpha_max) = 228;
8354 MY(alpha_fade) = 4024;
8355 MY(color_min) = "0xD9FDFF";
8356 MY(color_max) = "0x00f0ff";
8357 MY(count) = 4;
8358 MY(originjitter) = '1.0 1.0 1.0';
8359 MY(size_min) = 20;
8360 MY(size_max) = 20;
8361 MY(stretchfactor) = 0.200000;
8362 MY(tex_min) = 70;
8363 MY(tex_max) = 70;
8364 MY(type) = "spark";
8365 MY(velocityjitter) = '650.0 650.0 650.0';
8366 MY(velocitymultiplier) = 1.100000;
8367}
8368
8369DEF(bigplasma_impact);
8370SUB(bigplasma_impact) {
8371 MY(alpha_min) = 256;
8372 MY(alpha_max) = 256;
8373 MY(countabsolute) = 1;
8374 MY(lightcolor) = '3.1 4.4 10.0';
8375 MY(lightradiusfade) = 450;
8376 MY(lightradius) = 125;
8377 MY(originjitter) = '17.0 17.0 17.0';
8378 MY(size_min) = 32;
8379 MY(size_max) = 32;
8380 MY(tex_min) = 59;
8381 MY(tex_max) = 59;
8382 MY(type) = "decal";
8383}
8384// shockwave
8385SUB(bigplasma_impact) {
8386 MY(alpha_min) = 40;
8387 MY(alpha_max) = 40;
8388 MY(alpha_fade) = 350;
8389 MY(color_min) = "0x80C0FF";
8390 MY(color_max) = "0x80C0FF";
8391 MY(countabsolute) = 1;
8392 MY(sizeincrease) = 1400;
8393 MY(size_min) = 32;
8394 MY(size_max) = 32;
8395 MY(tex_min) = 33;
8396 MY(tex_max) = 33;
8397 MY(type) = "smoke";
8398 MY(velocitymultiplier) = 44;
8399}
8400// cloud of bouncing sparks
8401SUB(bigplasma_impact) {
8402 MY(airfriction) = 6;
8403 MY(alpha_min) = 156;
8404 MY(alpha_max) = 300;
8405 MY(alpha_fade) = 1024;
8406 MY(color_min) = "0x629dff";
8407 MY(color_max) = "0x0018ff";
8408 MY(count) = 30;
8409 MY(gravity) = 2;
8410 MY(originjitter) = '1.0 1.0 1.0';
8411 MY(size_min) = 1;
8412 MY(size_max) = 2;
8413 MY(tex_min) = 70;
8414 MY(tex_max) = 70;
8415 MY(type) = "spark";
8416 MY(velocityjitter) = '1512.0 1512.0 1512.0';
8417}
8418// inner cloud of smoke
8419SUB(bigplasma_impact) {
8420 MY(airfriction) = 30;
8421 MY(alpha_min) = 200;
8422 MY(alpha_max) = 456;
8423 MY(alpha_fade) = 1512;
8424 MY(color_min) = "0x629dff";
8425 MY(color_max) = "0x0018ff";
8426 MY(count) = 15;
8427 MY(originjitter) = '20.0 20.0 20.0';
8428 MY(startangle_min) = -180;
8429 MY(startangle_max) = 180;
8430 MY(spin_min) = -9;
8431 MY(spin_max) = 9;
8432 MY(sizeincrease) = 555;
8433 MY(size_min) = 20;
8434 MY(size_max) = 24;
8435 MY(tex_min) = 48;
8436 MY(tex_max) = 55;
8437 MY(type) = "smoke";
8438 MY(velocityjitter) = '320.0 320.0 320.0';
8439}
8440// smoke
8441SUB(bigplasma_impact) {
8442 MY(airfriction) = 0.040000;
8443 MY(alpha_min) = 128;
8444 MY(alpha_max) = 328;
8445 MY(alpha_fade) = 390;
8446 MY(blend) = "alpha";
8447 MY(color_min) = "0x222222";
8448 MY(color_max) = "0x000000";
8449 MY(count) = 16;
8450 MY(gravity) = 0.400000;
8451 MY(originjitter) = '80.0 80.0 10.0';
8452 MY(startangle_min) = -180;
8453 MY(startangle_max) = 180;
8454 MY(spin_min) = 2;
8455 MY(spin_max) = -2;
8456 MY(sizeincrease) = 30;
8457 MY(size_min) = 60;
8458 MY(size_max) = 30;
8459 MY(tex_max) = 7;
8460 MY(type) = "smoke";
8461 MY(velocityjitter) = '100.0 100.0 200.0';
8462 MY(velocityoffset) = '0.0 0.0 180.0';
8463}
8464// smoke in the middle
8465SUB(bigplasma_impact) {
8466 MY(airfriction) = 0.040000;
8467 MY(alpha_min) = 128;
8468 MY(alpha_max) = 328;
8469 MY(alpha_fade) = 310;
8470 MY(color_min) = "0x222222";
8471 MY(color_max) = "0x000000";
8472 MY(count) = 10;
8473 MY(gravity) = -0.200000;
8474 MY(originjitter) = '80.0 80.0 80.0';
8475 MY(startangle_min) = -180;
8476 MY(startangle_max) = 180;
8477 MY(spin_min) = 20;
8478 MY(spin_max) = -20;
8479 MY(sizeincrease) = -10;
8480 MY(size_min) = 60;
8481 MY(size_max) = 70;
8482 MY(tex_max) = 7;
8483 MY(type) = "alphastatic";
8484 MY(velocityjitter) = '10.0 10.0 10.0';
8485}
8486
8487#include "effectinfo_ctf.inc"
8488
8489// spawn_point -- team idle spawn point effect
8490#define spawn_point(name, color) \
8491 DEF(spawn_point_##name); \
8492 SUB(spawn_point_##name) { \
8493 MY(airfriction) = 0.200000; \
8494 MY(alpha_min) = 64; \
8495 MY(alpha_max) = 128; \
8496 MY(alpha_fade) = 128; \
8497 MY(color_min) = color; \
8498 MY(color_max) = color; \
8499 MY(count) = 37.500000; \
8500 MY(gravity) = -0.100000; \
8501 MY(liquidfriction) = 0.800000; \
8502 MY(originjitter) = '16.0 16.0 64.0'; \
8503 MY(size_min) = 1; \
8504 MY(size_max) = 2; \
8505 MY(type) = "static"; \
8506 MY(velocityjitter) = '32.0 32.0 0.0'; \
8507 }
8508
8509spawn_point(red, "0xFF0F0F")
8510spawn_point(blue, "0x0F0FFF")
8511spawn_point(yellow, "0xFFFF0F")
8512spawn_point(pink, "0xFF0FFF")
8513spawn_point(neutral, "0xFFFFFF")
8514#undef spawn_point
8515
8516// spawn_event -- team spawning effect
8517#define spawn_event(name, color) \
8518 DEF(spawn_event_##name); \
8519 SUB(spawn_event_##name) { \
8520 MY(airfriction) = 2; \
8521 MY(alpha_max) = 256; \
8522 MY(alpha_fade) = 256; \
8523 MY(bounce) = 1; \
8524 MY(color_min) = color; \
8525 MY(color_max) = color; \
8526 MY(count) = 100; \
8527 MY(originjitter) = '1.0 1.0 1.0'; \
8528 MY(size_min) = 1; \
8529 MY(size_max) = 1; \
8530 MY(stretchfactor) = 0.600000; \
8531 MY(tex_min) = 64; \
8532 MY(tex_max) = 64; \
8533 MY(type) = "spark"; \
8534 MY(velocityjitter) = '500.0 500.0 500.0'; \
8535 MY(velocitymultiplier) = 0.100000; \
8536 } \
8537 SUB(spawn_event_##name) { \
8538 MY(alpha_min) = 190; \
8539 MY(alpha_max) = 190; \
8540 MY(alpha_fade) = 180; \
8541 MY(color_min) = color; \
8542 MY(color_max) = color; \
8543 MY(countabsolute) = 1; \
8544 MY(sizeincrease) = -80; \
8545 MY(size_min) = 100; \
8546 MY(size_max) = 100; \
8547 MY(tex_min) = 65; \
8548 MY(tex_max) = 65; \
8549 MY(type) = "smoke"; \
8550 } \
8551 /**/
8552
8553spawn_event(red, "0xFF0F0F")
8554spawn_event(blue, "0x0F0FFF")
8555spawn_event(yellow, "0xFFFF0F")
8556spawn_event(pink, "0xFF0FFF")
8557spawn_event(neutral, "0xFFFFFF")
8558#undef spawn_event
8559
8560#include "effectinfo_nades.inc"
8561
8562DEF(shockwave_attack);
8563// electricity
8564SUB(shockwave_attack) {
8565 MY(airfriction) = 1;
8566 MY(alpha_min) = 4096;
8567 MY(alpha_max) = 4096;
8568 MY(alpha_fade) = 20000;
8569 MY(color_min) = "0xb44215";
8570 MY(color_max) = "0xff0000";
8571 MY(count) = 1;
8572 MY(originjitter) = '2.0 2.0 2.0';
8573 MY(startangle_min) = -180;
8574 MY(startangle_max) = 180;
8575 MY(spin_min) = 4000;
8576 MY(spin_max) = -4000;
8577 MY(sizeincrease) = 1.500000;
8578 MY(size_min) = 5;
8579 MY(size_max) = 7;
8580 MY(stretchfactor) = 2.300000;
8581 MY(tex_min) = 43;
8582 MY(tex_max) = 43;
8583 MY(type) = "spark";
8584 MY(velocityjitter) = '10.0 10.0 10.0';
8585 MY(velocitymultiplier) = 10;
8586}
8587// fire
8588SUB(shockwave_attack) {
8589 MY(airfriction) = 1;
8590 MY(alpha_min) = 4096;
8591 MY(alpha_max) = 4096;
8592 MY(alpha_fade) = 20000;
8593 MY(color_min) = "0xff4200";
8594 MY(color_max) = "0xff0000";
8595 MY(count) = 1;
8596 MY(originjitter) = '2.0 2.0 2.0';
8597 MY(sizeincrease) = 1.500000;
8598 MY(size_min) = 7;
8599 MY(size_max) = 9;
8600 MY(stretchfactor) = 2;
8601 MY(tex_min) = 8;
8602 MY(tex_max) = 15;
8603 MY(type) = "spark";
8604 MY(velocityjitter) = '10.0 10.0 10.0';
8605 MY(velocitymultiplier) = 10;
8606}
8607
8608DEF(arc_lightning);
8609// impact decal
8610SUB(arc_lightning) {
8611 MY(alpha_min) = 32;
8612 MY(alpha_max) = 32;
8613 MY(countabsolute) = 1;
8614 MY(lightcolor) = '3.1 4.4 10.0';
8615 MY(lightradiusfade) = 200;
8616 MY(lightradius) = 50;
8617 MY(originjitter) = '2.0 2.0 2.0';
8618 MY(size_min) = 16;
8619 MY(size_max) = 16;
8620 MY(tex_min) = 16;
8621 MY(tex_max) = 32;
8622 MY(type) = "decal";
8623}
8624// impact sparks
8625SUB(arc_lightning) {
8626 MY(airfriction) = 110;
8627 MY(alpha_min) = 256;
8628 MY(alpha_max) = 256;
8629 MY(alpha_fade) = 512;
8630 MY(color_min) = "0xDDFDFF";
8631 MY(color_max) = "0xFDFDFF";
8632 MY(count) = 100;
8633 MY(originjitter) = '20.0 20.0 20.0';
8634 MY(startangle_max) = 360;
8635 MY(spin_min) = -36000;
8636 MY(spin_max) = 36000;
8637 MY(sizeincrease) = -5;
8638 MY(size_max) = 5;
8639 MY(stretchfactor) = 1;
8640 MY(tex_min) = 71;
8641 MY(tex_max) = 74;
8642 MY(type) = "static";
8643 MY(velocityjitter) = '250.0 250.0 250.0';
8644 MY(velocitymultiplier) = 100;
8645}
8646// impact sparks (underwater)
8647SUB(arc_lightning) {
8648 MY(airfriction) = 5;
8649 MY(alpha_min) = 256;
8650 MY(alpha_max) = 256;
8651 MY(alpha_fade) = 512;
8652 MY(color_min) = "0xDDFDFF";
8653 MY(color_max) = "0xFDFDFF";
8654 MY(count) = 100;
8655 MY(liquidfriction) = 5;
8656 MY(orientation) = "spark";
8657 MY(originjitter) = '20.0 20.0 20.0';
8658 MY(startangle_max) = 360;
8659 MY(spin_min) = -36000;
8660 MY(spin_max) = 36000;
8661 MY(sizeincrease) = -5;
8662 MY(size_max) = 5;
8663 MY(stretchfactor) = 1;
8664 MY(tex_min) = 71;
8665 MY(tex_max) = 74;
8666 MY(type) = "static";
8667 MY(underwater) = true;
8668 MY(velocityjitter) = '250.0 250.0 250.0';
8669 MY(velocitymultiplier) = 20;
8670}
8671// impact smoke
8672SUB(arc_lightning) {
8673 MY(alpha_min) = 40;
8674 MY(alpha_max) = 40;
8675 MY(alpha_fade) = 350;
8676 MY(color_min) = "0x80C0FF";
8677 MY(color_max) = "0x80C0FF";
8678 MY(countabsolute) = 1;
8679 MY(sizeincrease) = 400;
8680 MY(size_min) = 4;
8681 MY(size_max) = 4;
8682 MY(tex_min) = 38;
8683 MY(tex_max) = 38;
8684 MY(type) = "smoke";
8685 MY(velocitymultiplier) = 100;
8686}
8687
8689// sparks on beam
8691 MY(airfriction) = -10;
8692 MY(alpha_min) = 256;
8693 MY(alpha_max) = 256;
8694 MY(alpha_fade) = 16384;
8695 MY(color_min) = "0xfafad2";
8696 MY(color_max) = "0xffffff";
8697 MY(originjitter) = '3.0 3.0 3.0';
8698 MY(relativeoriginoffset) = '10.0 0.0 0.0';
8699 MY(startangle_max) = 360;
8700 MY(spin_min) = 360;
8701 MY(spin_max) = 1000;
8702 MY(stretchfactor) = 1;
8703 MY(tex_min) = 71;
8704 MY(tex_max) = 74;
8705 MY(time_min) = 0.050000;
8706 MY(time_max) = 0.050000;
8707 MY(trailspacing) = 10;
8708 MY(type) = "spark";
8709 MY(velocityjitter) = '100.0 100.0 100.0';
8710 MY(velocitymultiplier) = 200;
8711}
8712// sparks on beam (underwater)
8713SUB(arc_beam) {
8714 MY(alpha_min) = 256;
8715 MY(alpha_max) = 256;
8716 MY(alpha_fade) = 16384;
8717 MY(color_min) = "0xfafad2";
8718 MY(color_max) = "0xffffff";
8719 MY(liquidfriction) = -10;
8720 MY(originjitter) = '30.0 30.0 30.0';
8721 MY(relativeoriginoffset) = '10.0 0.0 0.0';
8722 MY(startangle_max) = 360;
8723 MY(spin_min) = 360;
8724 MY(spin_max) = 1000;
8725 MY(stretchfactor) = 1;
8726 MY(tex_min) = 71;
8727 MY(tex_max) = 74;
8728 MY(time_min) = 0.001000;
8729 MY(time_max) = 0.001000;
8730 MY(trailspacing) = 10;
8731 MY(type) = "spark";
8732 MY(underwater) = true;
8733 MY(velocityjitter) = '100.0 100.0 100.0';
8734 MY(velocitymultiplier) = 200;
8735}
8736
8737DEF(arc_beam_heal);
8738// bubble this...
8739SUB(arc_beam_heal) {
8740 MY(airfriction) = -20;
8741 MY(alpha_min) = 2048;
8742 MY(alpha_max) = 2048;
8743 MY(alpha_fade) = 256;
8744 MY(color_min) = "0x20FF20";
8745 MY(color_max) = "0x40FF40";
8746 MY(relativeoriginoffset) = '5.0 0.0 0.0';
8747 MY(relativevelocityoffset) = '100.0 0.0 0.0';
8748 MY(sizeincrease) = 20;
8749 MY(size_min) = 0.100000;
8750 MY(size_max) = 0.100000;
8751 MY(tex_min) = 74;
8752 MY(tex_max) = 74;
8753 MY(trailspacing) = 1500;
8754 MY(type) = "smoke";
8755 MY(velocityjitter) = '3.0 3.0 3.0';
8756 MY(velocitymultiplier) = 200;
8757}
8758
8759DEF(arc_beam_healimpact);
8760// healing "aura"
8761SUB(arc_beam_healimpact) {
8762 MY(alpha_min) = 40;
8763 MY(alpha_max) = 40;
8764 MY(alpha_fade) = 350;
8765 MY(color_min) = "0x00ff00";
8766 MY(color_max) = "0x84c52f";
8767 MY(countabsolute) = 1;
8768 MY(lightcolor) = '0.0 4.4 0.0';
8769 MY(lightradiusfade) = 150;
8770 MY(lightradius) = 20;
8771 MY(sizeincrease) = -1000;
8772 MY(size_min) = 32;
8773 MY(size_max) = 32;
8774 MY(tex_min) = 33;
8775 MY(tex_max) = 33;
8776 MY(type) = "smoke";
8777 MY(velocitymultiplier) = 44;
8778}
8779// rising "smoke"
8780SUB(arc_beam_healimpact) {
8781 MY(airfriction) = 3;
8782 MY(alpha_min) = 200;
8783 MY(alpha_max) = 456;
8784 MY(alpha_fade) = 512;
8785 MY(color_min) = "0x00ff00";
8786 MY(color_max) = "0x84c52f";
8787 MY(count) = 15;
8788 MY(gravity) = -2;
8789 MY(startangle_min) = -180;
8790 MY(startangle_max) = 180;
8791 MY(spin_min) = -90;
8792 MY(spin_max) = 90;
8793 MY(size_min) = 0.500000;
8794 MY(size_max) = 1;
8795 MY(tex_min) = 40;
8796 MY(tex_max) = 40;
8797 MY(type) = "smoke";
8798 MY(velocityjitter) = '120.0 120.0 420.0';
8799}
8800
8801DEF(arc_smoke);
8802// arc heat smoke (notunderwater)
8803SUB(arc_smoke) {
8804 MY(airfriction) = 1;
8805 MY(alpha_min) = 32;
8806 MY(alpha_max) = 64;
8807 MY(alpha_fade) = 48;
8808 MY(color_min) = "0x4c453f";
8809 MY(color_max) = "0x2a241f";
8810 MY(count) = 2;
8811 MY(gravity) = -0.125000;
8812 MY(notunderwater) = true;
8813 MY(startangle_max) = 360;
8814 MY(spin_min) = -180;
8815 MY(spin_max) = 180;
8816 MY(sizeincrease) = 10;
8817 MY(size_min) = 5;
8818 MY(size_max) = 10;
8819 MY(tex_max) = 8;
8820 MY(type) = "smoke";
8821 MY(velocityjitter) = '0.0 0.0 16.0';
8822}
8823// arc heat bubbles (underwater)
8824SUB(arc_smoke) {
8825 MY(alpha_min) = 170;
8826 MY(alpha_max) = 256;
8827 MY(alpha_fade) = 64;
8828 MY(bounce) = 1.500000;
8829 MY(color_min) = "0x404040";
8830 MY(color_max) = "0x808080";
8831 MY(count) = 2;
8832 MY(gravity) = -0.125000;
8833 MY(liquidfriction) = 0.250000;
8834 MY(originjitter) = '6.0 6.0 6.0';
8835 MY(size_min) = 0.100000;
8836 MY(size_max) = 1;
8837 MY(tex_min) = 62;
8838 MY(tex_max) = 62;
8839 MY(type) = "bubble";
8840 MY(underwater) = true;
8841 MY(velocityjitter) = '16.0 16.0 16.0';
8842}
8843
8845// arc overheat electric bolts
8847 MY(airfriction) = 5;
8848 MY(alpha_min) = 128;
8849 MY(alpha_max) = 128;
8850 MY(alpha_fade) = 292;
8851 MY(color_min) = "0xffffff";
8852 MY(color_max) = "0x9271fb";
8853 MY(count) = 24;
8854 MY(gravity) = -0.400000;
8855 MY(liquidfriction) = 10;
8856 MY(originjitter) = '10.0 10.0 10.0';
8857 MY(sizeincrease) = -24;
8858 MY(size_min) = 6;
8859 MY(size_max) = 12;
8860 MY(tex_min) = 43;
8861 MY(tex_max) = 43;
8862 MY(type) = "spark";
8863 MY(velocityjitter) = '256.0 256.0 256.0';
8864}
8865
8866DEF(arc_overheat_fire);
8867// arc overheat bouncing sparks
8868SUB(arc_overheat_fire) {
8869 MY(alpha_max) = 256;
8870 MY(alpha_fade) = 640;
8871 MY(bounce) = 1.500000;
8872 MY(color_min) = "0x4444ff";
8873 MY(color_max) = "0xeeeeff";
8874 MY(count) = 1;
8875 MY(gravity) = 1;
8876 MY(liquidfriction) = 5;
8877 MY(originjitter) = '6.0 6.0 6.0';
8878 MY(size_min) = 0.400000;
8879 MY(size_max) = 1;
8880 MY(type) = "spark";
8881 MY(velocityjitter) = '92.0 92.0 92.0';
8882 MY(velocitymultiplier) = 80;
8883 MY(velocityoffset) = '0.0 0.0 80.0';
8884}
8885
8886#include "effectinfo_buffs.inc"
8887
8888#include "effectinfo_instagib.inc"
8889
8890DEF(arc_muzzleflash);
8891SUB(arc_muzzleflash) {
8892 MY(alpha_min) = 256;
8893 MY(alpha_max) = 256;
8894 MY(alpha_fade) = 512;
8895 MY(color_min) = "0x00ff00";
8896 MY(color_max) = "0x8f4333";
8897 MY(count) = 2;
8898 MY(lightcolor) = '0.3 2.0 0.2';
8899 MY(lightradiusfade) = 2000;
8900 MY(lightradius) = 200;
8901 MY(originjitter) = '1.5 1.5 1.5';
8902 MY(size_min) = 5;
8903 MY(size_max) = 5;
8904 MY(tex_max) = 8;
8905 MY(type) = "smoke";
8906 MY(velocityjitter) = '6.0 6.0 6.0';
8907 MY(velocitymultiplier) = 0.010000;
8908}
8909SUB(arc_muzzleflash) {
8910 MY(airfriction) = 12;
8911 MY(alpha_max) = 128;
8912 MY(alpha_fade) = 1024;
8913 MY(color_min) = "0x00ff00";
8914 MY(color_max) = "0x8f4333";
8915 MY(count) = 15;
8916 MY(originjitter) = '1.0 1.0 1.0';
8917 MY(startangle_min) = -180;
8918 MY(startangle_max) = 180;
8919 MY(spin_min) = -400;
8920 MY(spin_max) = 400;
8921 MY(size_min) = 5;
8922 MY(size_max) = 10;
8923 MY(stretchfactor) = 2;
8924 MY(tex_min) = 48;
8925 MY(tex_max) = 55;
8926 MY(type) = "spark";
8927 MY(velocityjitter) = '200.0 200.0 200.0';
8928 MY(velocitymultiplier) = 0.500000;
8929}
8930
8931DEF(arc_bolt_explode);
8932// decal
8933SUB(arc_bolt_explode) {
8934 MY(alpha_min) = 256;
8935 MY(alpha_max) = 256;
8936 MY(countabsolute) = 1;
8937 MY(lightcolor) = '8.0 4.0 1.0';
8938 MY(lightradiusfade) = 400;
8939 MY(lightradius) = 120;
8940 MY(originjitter) = '14.0 14.0 14.0';
8941 MY(size_min) = 28;
8942 MY(size_max) = 38;
8943 MY(tex_min) = 8;
8944 MY(tex_max) = 16;
8945 MY(type) = "decal";
8946}
8947// fire effect which make bright dot inside
8948SUB(arc_bolt_explode) {
8949 MY(airfriction) = 8;
8950 MY(alpha_min) = 80;
8951 MY(alpha_max) = 200;
8952 MY(alpha_fade) = 356;
8953 MY(bounce) = 1.500000;
8954 MY(color_min) = "0x00ffff";
8955 MY(color_max) = "0x00ffff";
8956 MY(count) = 3.500000;
8957 MY(liquidfriction) = 8;
8958 MY(notunderwater) = true;
8959 MY(originjitter) = '8.0 8.0 8.0';
8960 MY(sizeincrease) = 5;
8961 MY(size_min) = 16;
8962 MY(size_max) = 26;
8963 MY(tex_min) = 48;
8964 MY(tex_max) = 55;
8965 MY(type) = "smoke";
8966 MY(velocityjitter) = '156.0 156.0 156.0';
8967}
8968// fire effect which expands then slows
8969SUB(arc_bolt_explode) {
8970 MY(airfriction) = 12;
8971 MY(alpha_min) = 128;
8972 MY(alpha_max) = 256;
8973 MY(alpha_fade) = 456;
8974 MY(bounce) = 1.500000;
8975 MY(color_min) = "0x00ff00";
8976 MY(color_max) = "0x8f4333";
8977 MY(count) = 12;
8978 MY(liquidfriction) = 8;
8979 MY(notunderwater) = true;
8980 MY(originjitter) = '8.0 8.0 8.0';
8981 MY(sizeincrease) = 15;
8982 MY(size_min) = 20;
8983 MY(size_max) = 26;
8984 MY(tex_min) = 48;
8985 MY(tex_max) = 55;
8986 MY(type) = "static";
8987 MY(velocityjitter) = '286.0 286.0 286.0';
8988}
8989// underwater bubbles
8990SUB(arc_bolt_explode) {
8991 MY(alpha_min) = 128;
8992 MY(alpha_max) = 256;
8993 MY(alpha_fade) = 64;
8994 MY(bounce) = 1.500000;
8995 MY(color_min) = "0x404040";
8996 MY(color_max) = "0x808080";
8997 MY(count) = 16;
8998 MY(gravity) = -0.125000;
8999 MY(liquidfriction) = 0.250000;
9000 MY(originjitter) = '16.0 16.0 16.0';
9001 MY(size_min) = 3;
9002 MY(size_max) = 3;
9003 MY(tex_min) = 62;
9004 MY(tex_max) = 62;
9005 MY(type) = "bubble";
9006 MY(underwater) = true;
9007 MY(velocityjitter) = '96.0 96.0 96.0';
9008}
9009// bouncing sparks
9010SUB(arc_bolt_explode) {
9011 MY(airfriction) = 1;
9012 MY(alpha_min) = 644;
9013 MY(alpha_max) = 956;
9014 MY(alpha_fade) = 684;
9015 MY(bounce) = 1.600000;
9016 MY(color_min) = "0x00ff00";
9017 MY(color_max) = "0x8f4333";
9018 MY(count) = 16;
9019 MY(gravity) = 1;
9020 MY(liquidfriction) = 0.800000;
9021 MY(notunderwater) = true;
9022 MY(originjitter) = '16.0 16.0 16.0';
9023 MY(size_min) = 1;
9024 MY(size_max) = 0.100000;
9025 MY(tex_min) = 40;
9026 MY(tex_max) = 40;
9027 MY(type) = "spark";
9028 MY(velocityjitter) = '224.0 224.0 224.0';
9029 MY(velocityoffset) = '0.0 0.0 80.0';
9030}
9031
9032// weak bullet trail (somewhat like a tracer)
9033DEF(tr_bullet_weak);
9034SUB(tr_bullet_weak) {
9035 MY(alpha) = '75 100 3000';
9036 MY(color_min) = "0xf03000";
9037 MY(color_max) = "0xff6010";
9038 MY(countabsolute) = 1;
9039 MY(sizeincrease) = -3;
9040 MY(size_min) = 0.6;
9041 MY(size_max) = 0.8;
9042 my(tex_min) = 200;
9043 my(tex_max) = 200;
9044 MY(type) = "beam";
9045}
9046SUB(tr_bullet_weak) {
9047 MY(airfriction) = -4;
9048 MY(alpha) = '256 256 350';
9049 MY(color_min) = "0x202020";
9050 MY(color_max) = "0x404040";
9051 MY(notunderwater) = true;
9052 MY(sizeincrease) = 0.4;
9053 MY(size_min) = 1;
9054 MY(size_max) = 2;
9055 MY(tex_min) = 0;
9056 MY(tex_max) = 8;
9057 MY(trailspacing) = 16;
9058 MY(type) = "smoke";
9059 MY(velocityjitter) = '4 4 4';
9060}
9061SUB(tr_bullet_weak) {
9062 MY(alpha_min) = 256;
9063 MY(alpha_max) = 256;
9064 MY(alpha_fade) = 128;
9065 MY(bounce) = 1.500000;
9066 MY(color_min) = "0x404040";
9067 MY(color_max) = "0x808080";
9068 MY(gravity) = -0.125000;
9069 MY(liquidfriction) = 4;
9070 MY(size_min) = 0.5;
9071 MY(size_max) = 0.6;
9072 MY(tex_min) = 62;
9073 MY(tex_max) = 62;
9074 MY(trailspacing) = 32;
9075 MY(type) = "bubble";
9076 MY(underwater) = true;
9077 MY(velocityjitter) = '16.0 16.0 16.0';
9078}
9079
9080// Vaporizer hit effect
9081DEF(TE_TEI_G3_HIT);
9082SUB(TE_TEI_G3_HIT) {
9083 MY(alpha_min) = 128;
9084 MY(alpha_max) = 128;
9085 MY(alpha_fade) = 256;
9086 MY(color_min) = "0xFFFFFF";
9087 MY(color_max) = "0xFFFFFF";
9088 MY(countabsolute) = 1;
9089 MY(size_min) = 8;
9090 MY(size_max) = 8;
9091 MY(tex_min) = 200;
9092 MY(tex_max) = 200;
9093 MY(type) = "beam";
9094}
9095SUB(TE_TEI_G3_HIT) /* rings */ {
9096 MY(airfriction) = -4;
9099 MY(alpha_fade) = 512;
9100 MY(color_min) = "0xFFFFFF";
9101 MY(color_max) = "0xFFFFFF";
9102 MY(sizeincrease) = -2;
9103 MY(size_min) = 2;
9104 MY(size_max) = 2;
9105 MY(trailspacing) = 20;
9106 MY(type) = "smoke";
9107 MY(velocityjitter) = '2.0 2.0 2.0';
9108}
9109SUB(TE_TEI_G3_HIT) {
9110 MY(airfriction) = -4;
9111 MY(alpha_min) = 256;
9112 MY(alpha_max) = 256;
9113 MY(alpha_fade) = 512;
9114 MY(color_min) = "0xFFFFFF";
9115 MY(color_max) = "0xFFFFFF";
9116 MY(sizeincrease) = -6;
9117 MY(size_min) = 10;
9118 MY(size_max) = 10;
9119 MY(trailspacing) = 40;
9120 MY(type) = "smoke";
9121}
9122
9123// respawn ghosts effect
9124DEF(respawn_ghost);
9125SUB(respawn_ghost) {
9126 MY(count) = 75;
9127 MY(type) = "static";
9128 MY(color_min) = "0xA0A0A0";
9129 MY(color_max) = "0xFFFFFF";
9130 MY(size_min) = 2;
9131 MY(size_max) = 2;
9132 MY(alpha_min) = 32;
9133 MY(alpha_max) = 64;
9134 MY(alpha_fade) = 128;
9135 MY(airfriction) = 1;
9136 MY(liquidfriction) = 4;
9137 MY(originoffset) = '0 0 -8';
9138 MY(originjitter) = '28 28 16';
9139 MY(velocityjitter) = '0 0 256';
9140}
9141
9142// originally based on goldendust
9143DEF(item_despawn);
9144SUB(item_despawn) {
9145 MY(type) = "snow";
9146// MY(type) = "smoke";
9147 MY(blend) = "add";
9148 MY(alpha_min) = 192;
9149 MY(alpha_max) = 256;
9150 MY(alpha_fade) = 256;
9151 MY(color_min) = "0xff9600";
9152 MY(color_max) = "0xffefb8";
9153 MY(count) = 32;
9154 MY(originjitter) = '8 8 8';
9155 MY(sizeincrease) = 1;
9156 MY(size_min) = 0.5;
9157 MY(size_max) = 1;
9158 MY(tex_min) = 48;
9159 MY(tex_max) = 55;
9160 MY(velocityjitter) = '16 16 32';
9161 MY(lightradius) = 48;
9162 MY(lightradiusfade) 64;
9163 MY(lightcolor) '1 0.75 0.36';
9164 MY(lightshadow) 1;
9165}
9166
9167DEF(hlac_muzzleflash);
9168// glow and light
9169SUB(hlac_muzzleflash) {
9170 MY(airfriction) = 10;
9171 MY(alpha_min) = 128;
9172 MY(alpha_max) = 256;
9173 MY(alpha_fade) = 6280;
9174 MY(color_min) = "0x00cc00";
9175 MY(color_max) = "0x00ff00";
9176 MY(countabsolute) = 1;
9177 MY(lightcolor) = '0.4 0.8 0.2';
9178 MY(lightradiusfade) = 2000;
9179 MY(lightradius) = 100;
9180 MY(sizeincrease) = -100;
9181 MY(size_min) = 2;
9182 MY(size_max) = 5;
9183 MY(stretchfactor) = 2;
9184 MY(tex_min) = 70;
9185 MY(tex_max) = 70;
9186 MY(type) = "smoke";
9187}
9188// electricity
9189SUB(hlac_muzzleflash) {
9190 MY(airfriction) = 12;
9191 MY(alpha_min) = 0;
9192 MY(alpha_max) = 128;
9193 MY(alpha_fade) = 1024;
9194 MY(color_min) = "0x92e045";
9195 MY(color_max) = "0x64f42a";
9196 MY(count) = 15;
9197 MY(originjitter) = '1.0 1.0 1.0';
9198 MY(startangle_min) = -180;
9199 MY(startangle_max) = 180;
9200 MY(spin_min) = -400;
9201 MY(spin_max) = 400;
9202 MY(size_min) = 2;
9203 MY(size_max) = 5;
9204 MY(stretchfactor) = 2;
9205 MY(tex_min) = 48;
9206 MY(tex_max) = 55;
9207 MY(type) = "spark";
9208 MY(velocityjitter) = '200.0 200.0 200.0';
9209 MY(velocitymultiplier) = 0.500000;
9210}
9211
9212DEF(hlac_impact);
9213// decal
9214SUB(hlac_impact) {
9215 MY(alpha_min) = 128;
9216 MY(alpha_max) = 128;
9217 MY(countabsolute) = 1;
9218 MY(lightcolor) = '0.4 0.8 0.2';
9219 MY(lightradiusfade) = 500;
9220 MY(lightradius) = 150;
9221 MY(originjitter) = '14.0 14.0 14.0';
9222 MY(size_min) = 12;
9223 MY(size_max) = 12;
9224 MY(tex_min) = 47;
9225 MY(tex_max) = 47;
9226 MY(type) = "decal";
9227}
9228// flare effect
9229SUB(hlac_impact) {
9230 MY(alpha_min) = 256;
9231 MY(alpha_max) = 256;
9232 MY(alpha_fade) = 1024;
9233 MY(color_min) = "0x1be508";
9234 MY(color_max) = "0xd5f0a1";
9235 MY(countabsolute) = 1;
9236 MY(size_min) = 24;
9237 MY(size_max) = 24;
9238 MY(tex_min) = 46;
9239 MY(tex_max) = 46;
9240 MY(type) = "static";
9241}
9242// sparks that rapidly expand and rapidly slow down to form an interesting spherical effect
9243SUB(hlac_impact) {
9244 MY(airfriction) = 8;
9245 MY(alpha_min) = 256;
9246 MY(alpha_max) = 256;
9247 MY(alpha_fade) = 1024;
9248 MY(color_min) = "0x92e045";
9249 MY(color_max) = "0x54e51a";
9250 MY(count) = 128;
9251 MY(liquidfriction) = 2;
9252 MY(size_min) = 4;
9253 MY(size_max) = 4;
9254 MY(tex_min) = 45;
9255 MY(tex_max) = 45;
9256 MY(type) = "spark";
9257 MY(velocityjitter) = '256.0 256.0 256.0';
9258}
9259SUB(hlac_impact) {
9260 MY(alpha_min) = 64;
9261 MY(alpha_max) = 256;
9262 MY(alpha_fade) = 256;
9263 MY(color_min) = "0x92e045";
9264 MY(color_max) = "0xc7eda1";
9265 MY(count) = 4;
9266 MY(originjitter) = '1.0 1.0 1.0';
9267 MY(sizeincrease) = 6;
9268 MY(size_min) = 12;
9269 MY(size_max) = 12;
9270 MY(tex_min) = 4;
9271 MY(tex_max) = 6;
9272 MY(type) = "smoke";
9273 MY(velocityjitter) = '16.0 16.0 16.0';
9274 MY(velocitymultiplier) = 0.010000;
9275}
9276
9277DEF(shotgun_woosh);
9278// puff
9279SUB(shotgun_woosh) {
9280 MY(airfriction) = 2;
9281 MY(alpha_min) = 32;
9282 MY(alpha_max) = 192;
9283 MY(alpha_fade) = 512;
9284 MY(bounce) = 0.100000;
9285 MY(color_min) = "0x111111";
9286 MY(color_max) = "0x979797";
9287 MY(count) = 24;
9288 MY(notunderwater) = true;
9289 MY(originjitter) = '10.0 10.0 10.0';
9290 MY(sizeincrease) = 14;
9291 MY(size_min) = 1;
9292 MY(size_max) = 12;
9293 MY(tex_min) = 0;
9294 MY(tex_max) = 8;
9295 MY(velocityjitter) = '128 128 64';
9296 MY(velocitymultiplier) = 1;
9297 MY(type) = "smoke";
9298}
9299
9301// impact sparks
9303 MY(airfriction) = 110;
9304 MY(alpha_min) = 256;
9305 MY(alpha_max) = 300;
9306 MY(alpha_fade) = 512;
9307 MY(color_min) = "0xDDFDFF";
9308 MY(color_max) = "0xFDFDFF";
9309 MY(count) = 50;
9310 MY(originjitter) = '6.0 6.0 10.0';
9311 MY(startangle_max) = 360;
9312 MY(spin_min) = 0;
9313 MY(spin_max) = 0;
9314 MY(sizeincrease) = -1;
9315 MY(size_min) = 4;
9316 MY(size_max) = 7;
9317 MY(stretchfactor) = 1;
9318 MY(tex_min) = 71;
9319 MY(tex_max) = 74;
9320 MY(type) = "static";
9321 MY(velocityjitter) = '250.0 250.0 250.0';
9322 MY(velocitymultiplier) = 100;
9323}
9324// impact sparks (underwater)
9325SUB(EF_SHOCK) {
9326 MY(airfriction) = 5;
9327 MY(alpha_min) = 256;
9328 MY(alpha_max) = 300;
9329 MY(alpha_fade) = 512;
9330 MY(color_min) = "0xDDFDFF";
9331 MY(color_max) = "0xFDFDFF";
9332 MY(count) = 30;
9333 MY(liquidfriction) = 5;
9334 MY(orientation) = "spark";
9335 MY(originjitter) = '12.0 12.0 12.0';
9336 MY(startangle_max) = 360;
9337 MY(spin_min) = -36000;
9338 MY(spin_max) = 36000;
9339 MY(sizeincrease) = -5;
9340 MY(size_min) = 4;
9341 MY(size_max) = 7;
9342 MY(stretchfactor) = 1;
9343 MY(tex_min) = 71;
9344 MY(tex_max) = 74;
9345 MY(type) = "static";
9346 MY(underwater) = true;
9347 MY(velocityjitter) = '250.0 250.0 250.0';
9348 MY(velocitymultiplier) = 20;
9349}
9350// impact smoke
9351SUB(EF_SHOCK) {
9352 MY(alpha_min) = 40;
9353 MY(alpha_max) = 60;
9354 MY(alpha_fade) = 350;
9355 MY(color_min) = "0x80C0FF";
9356 MY(color_max) = "0x80C0FF";
9357 MY(count) = 10;
9358 MY(sizeincrease) = 400;
9359 MY(size_min) = 4;
9360 MY(size_max) = 4;
9361 MY(tex_min) = 38;
9362 MY(tex_max) = 38;
9363 MY(type) = "smoke";
9364 MY(velocitymultiplier) = 100;
9365}
9366
9367// 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_SHOCK
Definition constants.qh:103
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