3 // flare particle and light
8 MY(color_min) = "0x63F2EA";
9 MY(color_max) = "0x63f2EA";
10 MY(countabsolute) = 1;
11 MY(lightcolor) = '0.4 0.9 0.9';
12 MY(lightradiusfade) = 200;
13 MY(lightradius) = 200;
18 // cloud of particles which expand rapidly and then slow to form a ball
24 MY(color_min) = "0x63F2EA";
25 MY(color_max) = "0x63f2EA";
27 MY(liquidfriction) = 2;
28 MY(originjitter) = '16.0 16.0 16.0';
32 MY(velocityjitter) = '32.0 32.0 32.0';
41 MY(countabsolute) = 1;
42 MY(lightcolor) = '4.0 0.2 0.2';
43 MY(lightradiusfade) = 1000;
44 MY(lightradius) = 200;
45 MY(originjitter) = '16.0 16.0 16.0';
56 MY(alpha_fade) = 1024;
57 MY(color_min) = "0xFF2010";
58 MY(color_max) = "0xFF2010";
59 MY(countabsolute) = 1;
66 // sparks that rapidly expand and rapidly slow down to form an interesting spherical effect
71 MY(alpha_fade) = 1024;
72 MY(color_min) = "0x800000";
73 MY(color_max) = "0xFF8020";
75 MY(liquidfriction) = 6;
79 MY(velocityjitter) = '256.0 256.0 256.0';
82 // machinegun bullet impact
84 // bullet impact decal
88 MY(countabsolute) = 1;
89 MY(originjitter) = '6.0 6.0 6.0';
96 // dust/smoke drifting away from the impact
100 MY(alpha_fade) = 256;
101 MY(color_min) = "0x101010";
102 MY(color_max) = "0x101010";
104 MY(sizeincrease) = 3;
109 MY(velocityjitter) = '8.0 8.0 8.0';
111 // dust/smoke staying at the impact
115 MY(alpha_fade) = 128;
116 MY(color_min) = "0x505050";
117 MY(color_max) = "0x505050";
118 MY(count) = 0.500000;
119 MY(sizeincrease) = 4;
128 MY(alpha_fade) = 256;
129 MY(bounce) = 1.500000;
130 MY(color_min) = "0x8f4333";
131 MY(color_max) = "0xfff31b";
134 MY(size_min) = 0.400000;
135 MY(size_max) = 0.400000;
137 MY(velocityjitter) = '64.0 64.0 64.0';
138 MY(velocityoffset) = '0.0 0.0 80.0';
141 // electro combo explosion
147 MY(countabsolute) = 1;
148 MY(lightcolor) = '2.0 2.5 3.0';
149 MY(lightradiusfade) = 200;
150 MY(lightradius) = 400;
151 MY(originjitter) = '34.0 34.0 34.0';
162 MY(alpha_fade) = 128;
163 MY(color_min) = "0x80C0FF";
164 MY(color_max) = "0x80C0FF";
165 MY(countabsolute) = 1;
177 MY(alpha_fade) = 256;
178 MY(bounce) = 1.500000;
179 MY(color_min) = "0x2030FF";
180 MY(color_max) = "0x80C0FF";
182 MY(liquidfriction) = 16;
186 MY(velocityjitter) = '512.0 512.0 512.0';
195 MY(countabsolute) = 1;
196 MY(originjitter) = '6.0 6.0 6.0';
203 // dust/smoke drifting away from the impact
207 MY(alpha_fade) = 256;
208 MY(color_min) = "0x101010";
209 MY(color_max) = "0x101010";
211 MY(sizeincrease) = 3;
216 MY(velocityjitter) = '8.0 8.0 8.0';
218 // dust/smoke staying at the impact
222 MY(alpha_fade) = 128;
223 MY(color_min) = "0x505050";
224 MY(color_max) = "0x505050";
225 MY(count) = 0.500000;
226 MY(sizeincrease) = 4;
232 // sparks that disappear on impact
235 MY(alpha_fade) = 768;
237 MY(color_min) = "0x8f4333";
238 MY(color_max) = "0xfff31b";
241 MY(size_min) = 0.400000;
242 MY(size_max) = 0.400000;
244 MY(velocityjitter) = '64.0 64.0 64.0';
245 MY(velocityoffset) = '0.0 0.0 80.0';
249 DEF(TE_SUPERSPIKEQUAD);
251 SUB(TE_SUPERSPIKEQUAD) {
254 MY(countabsolute) = 1;
255 MY(lightcolor) = '0.2 0.2 1.5';
256 MY(lightradiusfade) = 500;
257 MY(lightradius) = 100;
258 MY(originjitter) = '6.0 6.0 6.0';
265 // dust/smoke drifting away from the impact
266 SUB(TE_SUPERSPIKEQUAD) {
269 MY(alpha_fade) = 256;
270 MY(color_min) = "0x101010";
271 MY(color_max) = "0x101010";
273 MY(sizeincrease) = 3;
278 MY(velocityjitter) = '8.0 8.0 8.0';
280 // dust/smoke staying at the impact
281 SUB(TE_SUPERSPIKEQUAD) {
284 MY(alpha_fade) = 128;
285 MY(color_min) = "0x505050";
286 MY(color_max) = "0x505050";
287 MY(count) = 0.500000;
288 MY(sizeincrease) = 4;
294 // sparks that disappear on impact
295 SUB(TE_SUPERSPIKEQUAD) {
297 MY(alpha_fade) = 768;
299 MY(color_min) = "0x8f4333";
300 MY(color_max) = "0xfff31b";
303 MY(size_min) = 0.400000;
304 MY(size_max) = 0.400000;
306 MY(velocityjitter) = '64.0 64.0 64.0';
307 MY(velocityoffset) = '0.0 0.0 80.0';
310 // shotgun pellet impact
316 MY(countabsolute) = 1;
317 MY(originjitter) = '6.0 6.0 6.0';
324 // dust/smoke drifting away from the impact
329 MY(color_min) = "0x101010";
330 MY(color_max) = "0x101010";
331 MY(count) = 0.800000;
332 MY(sizeincrease) = 3;
337 MY(velocityjitter) = '8.0 8.0 8.0';
339 // dust/smoke staying at the impact
344 MY(color_min) = "0x505050";
345 MY(color_max) = "0x505050";
346 MY(count) = 0.200000;
347 MY(sizeincrease) = 4;
357 MY(bounce) = 1.500000;
358 MY(color_min) = "0x8f4333";
359 MY(color_max) = "0xfff31b";
360 MY(count) = 2.500000;
362 MY(size_min) = 0.400000;
363 MY(size_max) = 0.400000;
365 MY(velocityjitter) = '64.0 64.0 64.0';
366 MY(velocityoffset) = '0.0 0.0 80.0';
369 // crylink impact effect
372 SUB(TE_GUNSHOTQUAD) {
375 MY(countabsolute) = 1;
376 MY(originjitter) = '12.0 12.0 12.0';
383 // purple flare effect
384 SUB(TE_GUNSHOTQUAD) {
387 MY(alpha_fade) = 512;
388 MY(color_min) = "0x504060";
389 MY(color_max) = "0x504060";
390 MY(countabsolute) = 1;
398 SUB(TE_GUNSHOTQUAD) {
401 MY(alpha_fade) = 384;
402 MY(bounce) = 1.500000;
403 MY(color_min) = "0xA040C0";
404 MY(color_max) = "0xFFFFFF";
410 MY(velocityjitter) = '128.0 128.0 128.0';
411 MY(velocityoffset) = '0.0 0.0 80.0';
414 // mortar/hagar explosion (smaller than rocket)
420 MY(countabsolute) = 1;
421 MY(lightcolor) = '4.0 2.0 0.5';
422 MY(lightradiusfade) = 300;
423 MY(lightradius) = 150;
424 MY(originjitter) = '40.0 40.0 40.0';
436 MY(color_min) = "0x404040";
437 MY(color_max) = "0x404040";
438 MY(countabsolute) = 1;
445 // fire effect which expands then slows
450 MY(alpha_fade) = 256;
451 MY(bounce) = 1.500000;
452 MY(color_min) = "0x902010";
453 MY(color_max) = "0xFFD080";
455 MY(liquidfriction) = 4;
456 MY(notunderwater) = true;
457 MY(originjitter) = '8.0 8.0 8.0';
463 MY(velocityjitter) = '256.0 256.0 256.0';
465 // underwater bubbles
470 MY(bounce) = 1.500000;
471 MY(color_min) = "0x404040";
472 MY(color_max) = "0x808080";
474 MY(gravity) = -0.125000;
475 MY(liquidfriction) = 0.250000;
476 MY(originjitter) = '16.0 16.0 16.0';
482 MY(underwater) = true;
483 MY(velocityjitter) = '96.0 96.0 96.0';
487 MY(airfriction) = 0.200000;
490 MY(alpha_fade) = 384;
491 MY(bounce) = 1.500000;
492 MY(color_min) = "0x903010";
493 MY(color_max) = "0xFFD030";
496 MY(liquidfriction) = 0.800000;
497 MY(notunderwater) = true;
501 MY(velocityjitter) = '256.0 256.0 256.0';
502 MY(velocityoffset) = '0.0 0.0 80.0';
506 DEF(TE_EXPLOSIONQUAD);
508 SUB(TE_EXPLOSIONQUAD) {
511 MY(countabsolute) = 1;
512 MY(lightcolor) = '4.0 2.0 8.0';
513 MY(lightradiusfade) = 700;
514 MY(lightradius) = 350;
515 MY(originjitter) = '40.0 40.0 40.0';
523 SUB(TE_EXPLOSIONQUAD) {
527 MY(color_min) = "0x202020";
528 MY(color_max) = "0x404040";
530 MY(notunderwater) = true;
535 MY(velocityjitter) = '48.0 48.0 48.0';
537 // underwater bubbles
538 SUB(TE_EXPLOSIONQUAD) {
542 MY(bounce) = 1.500000;
543 MY(color_min) = "0x404040";
544 MY(color_max) = "0x808080";
546 MY(gravity) = -0.125000;
547 MY(liquidfriction) = 0.250000;
548 MY(originjitter) = '16.0 16.0 16.0';
554 MY(underwater) = true;
555 MY(velocityjitter) = '96.0 96.0 96.0';
557 // sparks which go through walls
558 SUB(TE_EXPLOSIONQUAD) {
559 MY(airfriction) = 0.200000;
561 MY(alpha_fade) = 512;
562 MY(color_min) = "0x903010";
563 MY(color_max) = "0xFFD030";
566 MY(liquidfriction) = 0.800000;
567 MY(notunderwater) = true;
571 MY(velocityjitter) = '256.0 256.0 256.0';
572 MY(velocityoffset) = '0.0 0.0 80.0';
576 DEF(TE_TAREXPLOSION);
578 SUB(TE_TAREXPLOSION) {
581 MY(countabsolute) = 1;
582 MY(lightcolor) = '1.6 0.8 2.0';
583 MY(lightradiusfade) = 1200;
584 MY(lightradius) = 600;
585 MY(originjitter) = '40.0 40.0 40.0';
593 SUB(TE_TAREXPLOSION) {
597 MY(color_min) = "0x202020";
598 MY(color_max) = "0x404040";
600 MY(notunderwater) = true;
605 MY(velocityjitter) = '48.0 48.0 48.0';
607 // underwater bubbles
608 SUB(TE_TAREXPLOSION) {
612 MY(bounce) = 1.500000;
613 MY(color_min) = "0x404040";
614 MY(color_max) = "0x808080";
616 MY(gravity) = -0.125000;
617 MY(liquidfriction) = 0.250000;
618 MY(originjitter) = '16.0 16.0 16.0';
624 MY(underwater) = true;
625 MY(velocityjitter) = '96.0 96.0 96.0';
627 // sparks which go through walls
628 SUB(TE_TAREXPLOSION) {
629 MY(airfriction) = 0.200000;
631 MY(alpha_fade) = 512;
632 MY(color_min) = "0x903010";
633 MY(color_max) = "0xFFD030";
636 MY(liquidfriction) = 0.800000;
637 MY(notunderwater) = true;
641 MY(velocityjitter) = '256.0 256.0 256.0';
642 MY(velocityoffset) = '0.0 0.0 80.0';
645 // bloody impact effect indicating damage
653 MY(count) = 0.167000;
654 MY(liquidfriction) = 4;
657 MY(staincolor_min) = "0x808080";
658 MY(staincolor_max) = "0x808080";
659 MY(staintex_min) = 16;
660 MY(staintex_max) = 24;
664 MY(velocityjitter) = '64.0 64.0 64.0';
665 MY(velocitymultiplier) = 1;
668 // sparks (quake effect)
673 MY(alpha_fade) = 768;
675 MY(color_min) = "0x8f4333";
676 MY(color_max) = "0xfff31b";
677 MY(count) = 0.500000;
679 MY(size_min) = 0.400000;
680 MY(size_max) = 0.600000;
684 MY(velocityjitter) = '64.0 64.0 64.0';
685 MY(velocitymultiplier) = 1;
686 MY(velocityoffset) = '0.0 0.0 80.0';
695 MY(countabsolute) = 1;
696 MY(lightcolor) = '1.0 1.0 1.0';
697 MY(lightradiusfade) = 400;
698 MY(lightradius) = 200;
699 MY(originjitter) = '16.0 16.0 16.0';
710 MY(alpha_fade) = 512;
711 MY(color_min) = "0x80C0FF";
712 MY(color_max) = "0x80C0FF";
713 MY(countabsolute) = 1;
720 // small sparks which form a sphere as they slow down
725 MY(alpha_fade) = 1024;
727 MY(color_min) = "0x2030FF";
728 MY(color_max) = "0x80C0FF";
730 MY(liquidfriction) = 8;
734 MY(velocityjitter) = '128.0 128.0 128.0';
740 MY(lightcolor) = '2.0 2.0 2.0';
741 MY(lightradiusfade) = 1000;
742 MY(lightradius) = 200;
751 MY(alpha_fade) = 384;
752 MY(bounce) = 1.100000;
753 MY(color_min) = "0x6f0f00";
754 MY(color_max) = "0xe3974f";
755 MY(count) = 0.500000;
757 MY(liquidfriction) = 4;
761 MY(velocityjitter) = '128.0 128.0 128.0';
762 MY(velocitymultiplier) = 1;
770 MY(alpha_fade) = 256;
771 MY(color_min) = "0x6f0f00";
772 MY(color_max) = "0xe3974f";
774 MY(gravity) = 0.050000;
775 MY(originjitter) = '128.0 128.0 32.0';
776 MY(originoffset) = '0.0 0.0 32.0';
779 MY(type) = "alphastatic";
780 MY(velocityjitter) = '128.0 128.0 0.0';
781 MY(velocityoffset) = '0.0 0.0 256.0';
784 // player teleport effect
790 MY(alpha_fade) = 256;
791 MY(color_min) = "0xA0A0A0";
792 MY(color_max) = "0xFFFFFF";
794 MY(liquidfriction) = 4;
795 MY(originjitter) = '16.0 16.0 28.0';
796 MY(originoffset) = '0.0 0.0 28.0';
800 MY(velocityjitter) = '0.0 0.0 256.0';
808 MY(alpha_fade) = 256;
809 MY(color_min) = "0xFFFFFF";
810 MY(color_max) = "0xFFFFFF";
811 MY(countabsolute) = 1;
819 MY(airfriction) = -4;
822 MY(alpha_fade) = 512;
823 MY(color_min) = "0x202020";
824 MY(color_max) = "0x404040";
827 MY(trailspacing) = 4;
829 MY(velocityjitter) = '8.0 8.0 8.0';
837 MY(alpha_fade) = 512;
838 MY(color_min) = "0x202020";
839 MY(color_max) = "0x404040";
840 MY(count) = 0.167000;
841 MY(originjitter) = '1.5 1.5 1.5';
846 MY(velocityjitter) = '6.0 6.0 6.0';
847 MY(velocitymultiplier) = 1;
850 // rocket explosion (bigger than mortar and hagar)
851 DEF(TE_TEI_BIGEXPLOSION);
853 SUB(TE_TEI_BIGEXPLOSION) {
856 MY(countabsolute) = 1;
857 MY(lightcolor) = '4.0 2.0 0.5';
858 MY(lightradiusfade) = 500;
859 MY(lightradius) = 500;
860 MY(originjitter) = '40.0 40.0 40.0';
868 SUB(TE_TEI_BIGEXPLOSION) {
872 MY(color_min) = "0x404040";
873 MY(color_max) = "0x404040";
874 MY(countabsolute) = 1;
882 SUB(TE_TEI_BIGEXPLOSION) {
886 MY(alpha_fade) = 256;
887 MY(bounce) = 1.500000;
888 MY(color_min) = "0x902010";
889 MY(color_max) = "0xFFD080";
891 MY(liquidfriction) = 4;
892 MY(notunderwater) = true;
893 MY(originjitter) = '8.0 8.0 8.0';
899 MY(velocityjitter) = '512.0 512.0 512.0';
901 // underwater bubbles
902 SUB(TE_TEI_BIGEXPLOSION) {
906 MY(bounce) = 1.500000;
907 MY(color_min) = "0x404040";
908 MY(color_max) = "0x808080";
910 MY(gravity) = -0.125000;
911 MY(liquidfriction) = 0.250000;
912 MY(originjitter) = '16.0 16.0 16.0';
918 MY(underwater) = true;
919 MY(velocityjitter) = '144.0 144.0 144.0';
922 SUB(TE_TEI_BIGEXPLOSION) {
923 MY(airfriction) = 0.200000;
926 MY(alpha_fade) = 384;
927 MY(bounce) = 1.500000;
928 MY(color_min) = "0x903010";
929 MY(color_max) = "0xFFD030";
932 MY(liquidfriction) = 0.800000;
933 MY(notunderwater) = true;
937 MY(velocityjitter) = '384.0 384.0 384.0';
938 MY(velocityoffset) = '0.0 0.0 80.0';
942 DEF(TE_TEI_PLASMAHIT);
944 SUB(TE_TEI_PLASMAHIT) {
947 MY(countabsolute) = 1;
948 MY(lightcolor) = '2.4 4.8 8.0';
949 MY(lightradiusfade) = 600;
950 MY(lightradius) = 200;
951 MY(originjitter) = '20.0 20.0 20.0';
959 SUB(TE_TEI_PLASMAHIT) {
962 MY(alpha_fade) = 512;
963 MY(color_min) = "0x80C0FF";
964 MY(color_max) = "0x80C0FF";
965 MY(countabsolute) = 1;
972 // cloud of bouncing sparks
973 SUB(TE_TEI_PLASMAHIT) {
976 MY(alpha_fade) = 1024;
977 MY(bounce) = 1.500000;
978 MY(color_min) = "0x2030FF";
979 MY(color_max) = "0x80C0FF";
980 MY(count) = 0.500000;
984 MY(velocityjitter) = '512.0 512.0 512.0';
987 // bloody impact effect indicating damage
990 MY(airfriction) = 0.400000;
991 MY(alpha_min) = 1560;
992 MY(alpha_max) = 2560;
993 MY(alpha_fade) = 7000;
994 MY(blend) = "invmod";
996 MY(color_min) = "0xA8FFFF";
997 MY(color_max) = "0xA8FFFFF";
998 MY(count) = 0.400000;
999 MY(sizeincrease) = 20;
1002 MY(staincolor_min) = "0x808080";
1003 MY(staincolor_max) = "0x808080";
1004 MY(stainsize_min) = 1;
1005 MY(stainsize_max) = 2;
1006 MY(staintex_min) = 16;
1007 MY(staintex_max) = 24;
1008 MY(stretchfactor) = 20;
1012 MY(velocityjitter) = '99.0 99.0 55.0';
1016 MY(alpha_min) = 100;
1017 MY(alpha_max) = 256;
1018 MY(alpha_fade) = 400;
1019 MY(blend) = "invmod";
1020 MY(color_min) = "0x000000";
1021 MY(color_max) = "0x420000";
1022 MY(countabsolute) = 1;
1023 MY(originjitter) = '11.0 11.0 11.0';
1024 MY(sizeincrease) = 20;
1029 MY(type) = "alphastatic";
1032 // player teleport effect
1035 MY(airfriction) = 2;
1036 MY(alpha_max) = 256;
1037 MY(alpha_fade) = 100;
1038 MY(bounce) = 1.500000;
1039 MY(color_min) = "0x807aff";
1040 MY(color_max) = "0x4463d5";
1042 MY(originjitter) = '1.0 1.0 1.0';
1045 MY(stretchfactor) = 0.600000;
1049 MY(velocityjitter) = '1000.0 1000.0 1500.0';
1050 MY(velocitymultiplier) = 0.500000;
1053 MY(alpha_min) = 190;
1054 MY(alpha_max) = 190;
1055 MY(alpha_fade) = 180;
1056 MY(color_min) = "0x807aff";
1057 MY(color_max) = "0x4463d5";
1058 MY(countabsolute) = 1;
1059 MY(sizeincrease) = -80;
1067 // normal super gory blood trail (used by gibs)
1070 MY(airfriction) = -2;
1071 MY(alpha_min) = 384;
1072 MY(alpha_max) = 984;
1073 MY(alpha_fade) = 1492;
1074 MY(blend) = "invmod";
1076 MY(color_min) = "0xA8FFFF";
1077 MY(color_max) = "0xA8FFFF";
1078 MY(gravity) = 0.400000;
1079 MY(liquidfriction) = 1;
1080 MY(sizeincrease) = -5;
1083 MY(staincolor_min) = "0x808080";
1084 MY(staincolor_max) = "0x808080";
1085 MY(stainsize_min) = 1;
1086 MY(stainsize_max) = 2;
1087 MY(staintex_min) = 16;
1088 MY(staintex_max) = 24;
1089 MY(stretchfactor) = 7;
1092 MY(trailspacing) = 20;
1094 MY(velocityjitter) = '64.0 64.0 64.0';
1095 MY(velocitymultiplier) = -0.100000;
1097 // splash around gib
1099 MY(alpha_min) = 684;
1100 MY(alpha_max) = 684;
1101 MY(alpha_fade) = 7492;
1102 MY(color_min) = "0xA8FFFF";
1103 MY(color_max) = "0xA8FFFF";
1104 MY(sizeincrease) = 500;
1109 MY(trailspacing) = 42;
1113 // thinner blood trail (used by quake zombies)
1114 DEF(TR_SLIGHTBLOOD);
1115 SUB(TR_SLIGHTBLOOD) {
1116 MY(airfriction) = 1;
1117 MY(alpha_min) = 384;
1118 MY(alpha_max) = 384;
1119 MY(alpha_fade) = 192;
1121 MY(color_min) = "0xA8FFFF";
1122 MY(color_max) = "0xA8FFFF";
1123 MY(liquidfriction) = 4;
1126 MY(staincolor_min) = "0x808080";
1127 MY(staincolor_max) = "0x808080";
1128 MY(staintex_min) = 16;
1129 MY(staintex_max) = 24;
1132 MY(trailspacing) = 64;
1134 MY(velocityjitter) = '64.0 64.0 64.0';
1135 MY(velocitymultiplier) = 0.500000;
1138 // func_stardust effect, used in some maps to indicate teleporters
1141 MY(airfriction) = 0.200000;
1143 MY(alpha_max) = 128;
1144 MY(alpha_fade) = 128;
1145 MY(color_min) = "0xfff368";
1146 MY(color_max) = "0xfff368";
1147 MY(count) = 37.500000;
1148 MY(gravity) = -0.100000;
1149 MY(liquidfriction) = 0.800000;
1150 MY(originjitter) = '16.0 16.0 64.0';
1153 MY(type) = "static";
1154 MY(velocityjitter) = '32.0 32.0 0.0';
1157 // flare particle and light
1160 MY(alpha_min) = 128;
1161 MY(alpha_max) = 128;
1162 MY(alpha_fade) = 128;
1163 MY(color_min) = "0x63F2EA";
1164 MY(color_max) = "0x63f2EA";
1165 MY(countabsolute) = 1;
1168 MY(type) = "static";
1170 // cloud of particles which expand rapidly and then slow to form a ball
1172 MY(alpha_min) = 256;
1173 MY(alpha_max) = 256;
1174 MY(alpha_fade) = 1280;
1175 MY(color_min) = "0x63F2EA";
1176 MY(color_max) = "0x63f2EA";
1183 MY(velocityjitter) = '256.0 256.0 256.0';
1186 DEF(jumppad_activate);
1187 SUB(jumppad_activate) {
1188 MY(lightcolor) = '2.0 2.0 2.0';
1189 MY(lightradiusfade) = 2000;
1190 MY(lightradius) = 200;
1193 DEF(laser_muzzleflash);
1195 SUB(laser_muzzleflash) {
1196 MY(airfriction) = 10;
1197 MY(alpha_min) = 256;
1198 MY(alpha_max) = 512;
1199 MY(alpha_fade) = 6280;
1200 MY(color_min) = "0xcc0000";
1201 MY(color_max) = "0xff0000";
1202 MY(countabsolute) = 1;
1203 MY(lightcolor) = '3.0 0.1 0.1';
1204 MY(lightradiusfade) = 2000;
1205 MY(lightradius) = 200;
1206 MY(sizeincrease) = -100;
1209 MY(stretchfactor) = 2;
1215 SUB(laser_muzzleflash) {
1216 MY(airfriction) = 10;
1217 MY(alpha_min) = 256;
1218 MY(alpha_max) = 512;
1219 MY(alpha_fade) = 6280;
1220 MY(color_min) = "0xb44215";
1221 MY(color_max) = "0xff0000";
1223 MY(originjitter) = '2.0 2.0 2.0';
1224 MY(startangle_min) = -180;
1225 MY(startangle_max) = 180;
1226 MY(spin_min) = 4000;
1227 MY(spin_max) = -4000;
1228 MY(sizeincrease) = -100;
1231 MY(stretchfactor) = 2.300000;
1235 MY(velocityjitter) = '150.0 150.0 150.0';
1236 MY(velocitymultiplier) = 0.200000;
1239 SUB(laser_muzzleflash) {
1240 MY(airfriction) = 12;
1241 MY(alpha_min) = 256;
1242 MY(alpha_max) = 512;
1243 MY(alpha_fade) = 6280;
1244 MY(color_min) = "0xff4200";
1245 MY(color_max) = "0xff0000";
1247 MY(originjitter) = '2.0 2.0 2.0';
1248 MY(sizeincrease) = -100;
1251 MY(stretchfactor) = 2;
1255 MY(velocityjitter) = '100.0 100.0 100.0';
1256 MY(velocitymultiplier) = 0.200000;
1262 MY(alpha_min) = 256;
1263 MY(alpha_max) = 256;
1264 MY(countabsolute) = 1;
1265 MY(lightcolor) = '8.0 0.4 0.4';
1266 MY(lightradiusfade) = 500;
1267 MY(lightradius) = 200;
1268 MY(originjitter) = '14.0 14.0 14.0';
1277 MY(alpha_min) = 256;
1278 MY(alpha_max) = 256;
1279 MY(alpha_fade) = 1024;
1280 MY(color_min) = "0xFF2010";
1281 MY(color_max) = "0xFF2010";
1282 MY(countabsolute) = 1;
1287 MY(type) = "static";
1289 // sparks that rapidly expand and rapidly slow down to form an interesting spherical effect
1291 MY(airfriction) = 6;
1292 MY(alpha_min) = 256;
1293 MY(alpha_max) = 256;
1294 MY(alpha_fade) = 1024;
1295 MY(color_min) = "0x800000";
1296 MY(color_max) = "0xFF8020";
1298 MY(liquidfriction) = 6;
1302 MY(velocityjitter) = '256.0 256.0 256.0';
1305 MY(alpha_min) = 128;
1306 MY(alpha_max) = 256;
1307 MY(alpha_fade) = 256;
1308 MY(color_min) = "0x800000";
1309 MY(color_max) = "0xFF8020";
1311 MY(originjitter) = '1.0 1.0 1.0';
1312 MY(sizeincrease) = 6;
1318 MY(velocityjitter) = '16.0 16.0 16.0';
1319 MY(velocitymultiplier) = 0.010000;
1322 DEF(shotgun_muzzleflash);
1323 SUB(shotgun_muzzleflash) {
1324 MY(alpha_min) = 256;
1325 MY(alpha_max) = 256;
1326 MY(alpha_fade) = 512;
1327 MY(color_min) = "0x202020";
1328 MY(color_max) = "0x404040";
1329 MY(count) = 1.500000;
1330 MY(lightcolor) = '2.0 1.5 0.2';
1331 MY(lightradiusfade) = 2000;
1332 MY(lightradius) = 200;
1333 MY(originjitter) = '1.5 1.5 1.5';
1334 MY(sizeincrease) = 12;
1339 MY(velocityjitter) = '6.0 6.0 6.0';
1340 MY(velocitymultiplier) = 0.050000;
1342 SUB(shotgun_muzzleflash) {
1343 MY(airfriction) = 5;
1344 MY(alpha_max) = 128;
1345 MY(alpha_fade) = 1024;
1346 MY(color_min) = "0xffdb96";
1347 MY(color_max) = "0xff5400";
1349 MY(originjitter) = '1.0 1.0 1.0';
1352 MY(stretchfactor) = 2.500000;
1356 MY(velocityjitter) = '100.0 100.0 100.0';
1357 MY(velocitymultiplier) = 0.500000;
1360 // shotgun pellet impact
1361 DEF(shotgun_impact);
1363 SUB(shotgun_impact) {
1364 MY(alpha_min) = 256;
1365 MY(alpha_max) = 256;
1366 MY(countabsolute) = 1;
1367 MY(originjitter) = '10.0 10.0 10.0';
1374 // dust/smoke drifting away from the impact
1375 SUB(shotgun_impact) {
1376 MY(airfriction) = 5;
1377 MY(alpha_min) = 300;
1378 MY(alpha_max) = 550;
1379 MY(alpha_fade) = 756;
1380 MY(color_min) = "0x473a37";
1381 MY(color_max) = "0x0b0a07";
1383 MY(notunderwater) = true;
1384 MY(startangle_max) = 360;
1387 MY(sizeincrease) = 25;
1391 MY(type) = "alphastatic";
1392 MY(velocityjitter) = '150.0 150.0 150.0';
1393 MY(velocitymultiplier) = 0.200000;
1395 // dust/smoke staying at the impact
1396 SUB(shotgun_impact) {
1397 MY(airfriction) = 5;
1398 MY(alpha_min) = 200;
1399 MY(alpha_max) = 350;
1400 MY(alpha_fade) = 500;
1402 MY(color_min) = "0x201d1a";
1403 MY(color_max) = "0x000000";
1404 MY(count) = 0.200000;
1405 MY(notunderwater) = true;
1406 MY(startangle_max) = 360;
1409 MY(sizeincrease) = 74;
1414 MY(type) = "alphastatic";
1415 MY(velocityjitter) = '11.0 11.0 11.0';
1416 MY(velocitymultiplier) = 0.030000;
1419 SUB(shotgun_impact) {
1420 MY(airfriction) = 1.100000;
1421 MY(alpha_max) = 356;
1422 MY(alpha_fade) = 268;
1423 MY(bounce) = 1.500000;
1424 MY(color_min) = "0xFDFFD9";
1425 MY(color_max) = "0xFDFFD9";
1426 MY(count) = 0.500000;
1428 MY(notunderwater) = true;
1429 MY(originjitter) = '1.0 1.0 1.0';
1430 MY(size_min) = 0.600000;
1431 MY(size_max) = 0.600000;
1435 MY(velocityjitter) = '200.0 200.0 200.0';
1436 MY(velocitymultiplier) = 0.200000;
1439 DEF(uzi_muzzleflash);
1440 SUB(uzi_muzzleflash) {
1441 MY(alpha_min) = 256;
1442 MY(alpha_max) = 256;
1443 MY(alpha_fade) = 512;
1444 MY(color_min) = "0x202020";
1445 MY(color_max) = "0x404040";
1447 MY(gravity) = -0.100000;
1448 MY(lightcolor) = '2.0 1.5 0.2';
1449 MY(lightradiusfade) = 2000;
1450 MY(lightradius) = 200;
1451 MY(originjitter) = '1.5 1.5 1.5';
1455 MY(type) = "static";
1456 MY(velocityjitter) = '1.0 1.0 1.0';
1457 MY(velocitymultiplier) = 0.030000;
1459 SUB(uzi_muzzleflash) {
1460 MY(airfriction) = 12;
1461 MY(alpha_max) = 256;
1462 MY(alpha_fade) = 6000;
1463 MY(color_min) = "0xff9c00";
1464 MY(color_max) = "0xffd200";
1466 MY(originjitter) = '1.0 1.0 1.0';
1467 MY(size_min) = 0.300000;
1468 MY(size_max) = 0.400000;
1469 MY(stretchfactor) = 0.150000;
1473 MY(velocityjitter) = '555.0 555.0 555.0';
1474 MY(velocitymultiplier) = 3;
1477 DEF(machinegun_impact);
1479 SUB(machinegun_impact) {
1480 MY(alpha_min) = 256;
1481 MY(alpha_max) = 256;
1482 MY(countabsolute) = 1;
1483 MY(lightcolor) = '6.0 3.6 0.6';
1484 MY(lightradiusfade) = 800;
1485 MY(lightradius) = 80;
1486 MY(originjitter) = '10.0 10.0 10.0';
1493 // dust/smoke drifting away from the impact
1494 SUB(machinegun_impact) {
1495 MY(airfriction) = 5;
1496 MY(alpha_min) = 300;
1497 MY(alpha_max) = 550;
1498 MY(alpha_fade) = 456;
1499 MY(color_min) = "0x473a37";
1500 MY(color_max) = "0x0b0a07";
1501 MY(count) = 1.500000;
1502 MY(notunderwater) = true;
1503 MY(startangle_max) = 360;
1506 MY(sizeincrease) = 15;
1510 MY(type) = "alphastatic";
1511 MY(velocityjitter) = '150.0 150.0 150.0';
1512 MY(velocitymultiplier) = 0.100000;
1514 // dust/smoke staying at the impact
1515 SUB(machinegun_impact) {
1516 MY(airfriction) = 5;
1517 MY(alpha_min) = 200;
1518 MY(alpha_max) = 350;
1519 MY(alpha_fade) = 500;
1521 MY(color_min) = "0x201d1a";
1522 MY(color_max) = "0x000000";
1523 MY(count) = 0.500000;
1524 MY(notunderwater) = true;
1525 MY(startangle_max) = 360;
1528 MY(sizeincrease) = 74;
1533 MY(type) = "alphastatic";
1534 MY(velocityjitter) = '11.0 11.0 11.0';
1535 MY(velocitymultiplier) = 0.030000;
1538 SUB(machinegun_impact) {
1539 MY(airfriction) = 1;
1540 MY(alpha_min) = 300;
1541 MY(alpha_max) = 550;
1542 MY(alpha_fade) = 256;
1543 MY(bounce) = 1.700000;
1544 MY(color_min) = "0x63493e";
1545 MY(color_max) = "0xffffff";
1547 MY(gravity) = 1.400000;
1548 MY(notunderwater) = true;
1549 MY(startangle_max) = 360;
1550 MY(spin_min) = -500;
1556 MY(type) = "alphastatic";
1557 MY(velocityjitter) = '350.0 350.0 350.0';
1558 MY(velocitymultiplier) = 0.200000;
1561 SUB(machinegun_impact) {
1562 MY(airfriction) = 2;
1563 MY(alpha_min) = 256;
1564 MY(alpha_max) = 256;
1565 MY(alpha_fade) = 168;
1567 MY(color_min) = "0xFDFFD9";
1568 MY(color_max) = "0xFDFFD9";
1571 MY(notunderwater) = true;
1572 MY(originjitter) = '1.0 1.0 1.0';
1573 MY(size_min) = 0.300000;
1574 MY(size_max) = 0.300000;
1578 MY(velocityjitter) = '300.0 300.0 300.0';
1579 MY(velocitymultiplier) = 0.200000;
1582 DEF(grenadelauncher_muzzleflash);
1583 SUB(grenadelauncher_muzzleflash) {
1584 MY(airfriction) = 12;
1585 MY(alpha_min) = 256;
1586 MY(alpha_max) = 256;
1587 MY(alpha_fade) = 512;
1588 MY(color_min) = "0x202020";
1589 MY(color_max) = "0x404040";
1590 MY(count) = 1.500000;
1591 MY(lightcolor) = '2.0 1.5 0.2';
1592 MY(lightradiusfade) = 2000;
1593 MY(lightradius) = 200;
1594 MY(originjitter) = '1.5 1.5 1.5';
1599 MY(velocityjitter) = '20.0 20.0 20.0';
1600 MY(velocitymultiplier) = 0.030000;
1602 SUB(grenadelauncher_muzzleflash) {
1603 MY(airfriction) = 5;
1604 MY(alpha_max) = 128;
1605 MY(alpha_fade) = 1024;
1606 MY(color_min) = "0xffdb96";
1607 MY(color_max) = "0xff5400";
1609 MY(originjitter) = '1.0 1.0 1.0';
1612 MY(stretchfactor) = 2.500000;
1616 MY(velocityjitter) = '100.0 100.0 100.0';
1617 MY(velocitymultiplier) = 0.500000;
1624 MY(alpha_min) = 300;
1625 MY(alpha_max) = 400;
1626 MY(alpha_fade) = 780;
1628 MY(color_min) = "0x101010";
1629 MY(color_max) = "0x000000";
1630 MY(originjitter) = '1.0 1.0 1.0';
1631 MY(sizeincrease) = 10;
1635 MY(trailspacing) = 4;
1637 MY(velocityjitter) = '1.0 1.0 1.0';
1638 MY(velocitymultiplier) = -0.020000;
1642 MY(airfriction) = 8;
1643 MY(alpha_min) = 100;
1644 MY(alpha_max) = 144;
1645 MY(alpha_fade) = 988;
1646 MY(color_min) = "0xffdf72";
1647 MY(color_max) = "0x811200";
1648 MY(notunderwater) = true;
1649 MY(sizeincrease) = -15;
1654 MY(trailspacing) = 4;
1655 MY(type) = "static";
1656 MY(velocityjitter) = '32.0 32.0 32.0';
1657 MY(velocitymultiplier) = -1;
1661 MY(alpha_min) = 256;
1662 MY(alpha_max) = 256;
1663 MY(alpha_fade) = 256;
1664 MY(bounce) = 1.500000;
1665 MY(color_min) = "0x404040";
1666 MY(color_max) = "0x808080";
1667 MY(gravity) = -0.125000;
1668 MY(liquidfriction) = 4;
1673 MY(trailspacing) = 16;
1674 MY(type) = "bubble";
1675 MY(underwater) = true;
1676 MY(velocityjitter) = '16.0 16.0 16.0';
1680 DEF(TR_KNIGHTSPIKE);
1682 SUB(TR_KNIGHTSPIKE) {
1683 MY(alpha_min) = 300;
1684 MY(alpha_max) = 400;
1685 MY(alpha_fade) = 600;
1687 MY(color_min) = "0x303030";
1688 MY(color_max) = "0x000000";
1689 MY(gravity) = -0.110000;
1690 MY(notunderwater) = true;
1691 MY(originjitter) = '2.0 2.0 2.0';
1692 MY(sizeincrease) = 11;
1696 MY(trailspacing) = 6;
1698 MY(velocityjitter) = '3.0 3.0 3.0';
1699 MY(velocitymultiplier) = -0.020000;
1702 SUB(TR_KNIGHTSPIKE) {
1703 MY(alpha_min) = 256;
1704 MY(alpha_max) = 256;
1705 MY(alpha_fade) = 720;
1706 MY(color_min) = "0x666666";
1707 MY(color_max) = "0x000000";
1708 MY(sizeincrease) = -0.100000;
1713 MY(trailspacing) = 2;
1714 MY(type) = "alphastatic";
1717 SUB(TR_KNIGHTSPIKE) {
1718 MY(alpha_min) = 256;
1719 MY(alpha_max) = 256;
1720 MY(alpha_fade) = 256;
1721 MY(bounce) = 1.500000;
1722 MY(color_min) = "0x404040";
1723 MY(color_max) = "0x808080";
1724 MY(gravity) = -0.125000;
1725 MY(liquidfriction) = 4;
1730 MY(trailspacing) = 32;
1731 MY(type) = "bubble";
1732 MY(underwater) = true;
1733 MY(velocityjitter) = '16.0 16.0 16.0';
1736 DEF(grenade_explode);
1738 SUB(grenade_explode) {
1739 MY(alpha_min) = 256;
1740 MY(alpha_max) = 256;
1741 MY(countabsolute) = 1;
1742 MY(lightcolor) = '8.0 4.0 1.0';
1743 MY(lightradiusfade) = 400;
1744 MY(lightradius) = 250;
1745 MY(originjitter) = '26.0 26.0 26.0';
1752 // fire effect which expands then slows
1753 SUB(grenade_explode) {
1754 MY(airfriction) = 8;
1755 MY(alpha_min) = 128;
1756 MY(alpha_max) = 228;
1757 MY(alpha_fade) = 356;
1758 MY(bounce) = 4.500000;
1759 MY(color_min) = "0xe03f00";
1760 MY(color_max) = "0x5e0000";
1762 MY(liquidfriction) = 8;
1763 MY(notunderwater) = true;
1764 MY(originjitter) = '8.0 8.0 8.0';
1765 MY(sizeincrease) = 20;
1770 MY(type) = "static";
1771 MY(velocityjitter) = '256.0 256.0 256.0';
1773 // fire effect which make bright dot inside
1774 SUB(grenade_explode) {
1775 MY(airfriction) = 8;
1776 MY(alpha_min) = 228;
1777 MY(alpha_max) = 328;
1778 MY(alpha_fade) = 756;
1780 MY(color_min) = "0xe03f00";
1781 MY(color_max) = "0xffdf92";
1783 MY(liquidfriction) = 8;
1784 MY(notunderwater) = true;
1785 MY(originjitter) = '8.0 8.0 8.0';
1786 MY(sizeincrease) = 40;
1791 MY(type) = "static";
1792 MY(velocityjitter) = '256.0 256.0 256.0';
1795 SUB(grenade_explode) {
1796 MY(airfriction) = 5;
1797 MY(alpha_min) = 300;
1798 MY(alpha_max) = 550;
1799 MY(alpha_fade) = 556;
1801 MY(color_min) = "0x000000";
1802 MY(color_max) = "0x111111";
1804 MY(notunderwater) = true;
1805 MY(sizeincrease) = 34;
1809 MY(type) = "alphastatic";
1810 MY(velocityjitter) = '256.0 256.0 256.0';
1812 // underwater bubbles
1813 SUB(grenade_explode) {
1814 MY(alpha_min) = 128;
1815 MY(alpha_max) = 256;
1816 MY(alpha_fade) = 64;
1817 MY(bounce) = 1.500000;
1818 MY(color_min) = "0x404040";
1819 MY(color_max) = "0x808080";
1821 MY(gravity) = -0.125000;
1822 MY(liquidfriction) = 0.250000;
1823 MY(originjitter) = '16.0 16.0 16.0';
1828 MY(type) = "bubble";
1829 MY(underwater) = true;
1830 MY(velocityjitter) = '196.0 196.0 196.0';
1832 // underwatershockwave
1833 SUB(grenade_explode) {
1836 MY(alpha_fade) = 300;
1837 MY(countabsolute) = 1;
1838 MY(sizeincrease) = 1500;
1844 MY(underwater) = true;
1845 MY(velocitymultiplier) = 0.300000;
1848 SUB(grenade_explode) {
1849 MY(airfriction) = 1;
1850 MY(alpha_min) = 644;
1851 MY(alpha_max) = 956;
1852 MY(alpha_fade) = 484;
1853 MY(bounce) = 1.600000;
1854 MY(color_min) = "0xffa35b";
1855 MY(color_max) = "0xfff2be";
1858 MY(liquidfriction) = 0.800000;
1859 MY(notunderwater) = true;
1860 MY(originjitter) = '16.0 16.0 16.0';
1862 MY(size_max) = 0.100000;
1866 MY(velocityjitter) = '424.0 424.0 624.0';
1867 MY(velocityoffset) = '0.0 0.0 80.0';
1870 SUB(grenade_explode) {
1871 MY(airfriction) = 0.500000;
1872 MY(alpha_min) = 644;
1873 MY(alpha_max) = 956;
1874 MY(alpha_fade) = 684;
1875 MY(bounce) = 1.600000;
1876 MY(color_min) = "0x6a3d25";
1877 MY(color_max) = "0xcac5b4";
1879 MY(gravity) = 1.300000;
1880 MY(notunderwater) = true;
1881 MY(startangle_min) = -180;
1882 MY(startangle_max) = 180;
1883 MY(spin_min) = -1000;
1884 MY(spin_max) = 1000;
1889 MY(type) = "alphastatic";
1890 MY(velocityjitter) = '324.0 324.0 524.0';
1893 DEF(electro_muzzleflash);
1894 SUB(electro_muzzleflash) {
1895 MY(alpha_min) = 256;
1896 MY(alpha_max) = 256;
1897 MY(alpha_fade) = 512;
1898 MY(color_min) = "0x283880";
1899 MY(color_max) = "0x283880";
1900 MY(countabsolute) = 1;
1901 MY(lightcolor) = '1.5 3.0 6.0';
1902 MY(lightradiusfade) = 2000;
1903 MY(lightradius) = 200;
1904 MY(originjitter) = '1.5 1.5 1.5';
1905 MY(sizeincrease) = -10;
1911 MY(velocityjitter) = '6.0 6.0 6.0';
1912 MY(velocitymultiplier) = 0.010000;
1914 SUB(electro_muzzleflash) {
1915 MY(airfriction) = 2;
1916 MY(alpha_min) = 110;
1917 MY(alpha_max) = 228;
1918 MY(alpha_fade) = 2024;
1919 MY(color_min) = "0xD9FDFF";
1920 MY(color_max) = "0xD9FDFF";
1922 MY(originjitter) = '1.0 1.0 1.0';
1925 MY(stretchfactor) = 1.500000;
1929 MY(velocityjitter) = '150.0 150.0 150.0';
1930 MY(velocitymultiplier) = 0.500000;
1932 SUB(electro_muzzleflash) {
1933 MY(airfriction) = 8;
1934 MY(alpha_min) = 110;
1935 MY(alpha_max) = 228;
1936 MY(alpha_fade) = 1024;
1937 MY(color_min) = "0xD9FDFF";
1938 MY(color_max) = "0xD9FDFF";
1940 MY(gravity) = 1.300000;
1941 MY(originjitter) = '1.0 1.0 1.0';
1944 MY(stretchfactor) = 0.100000;
1948 MY(velocityjitter) = '350.0 350.0 350.0';
1949 MY(velocitymultiplier) = 2.500000;
1953 DEF(TR_NEXUIZPLASMA);
1954 // glowing vapor trail
1955 SUB(TR_NEXUIZPLASMA) {
1956 MY(alpha_min) = 256;
1957 MY(alpha_max) = 256;
1958 MY(alpha_fade) = 968;
1959 MY(color_min) = "0x283880";
1960 MY(color_max) = "0x283880";
1961 MY(lightcolor) = '1.5 3.0 6.0';
1962 MY(lightradius) = 90;
1967 MY(trailspacing) = 2;
1968 MY(type) = "static";
1969 MY(velocitymultiplier) = -0.100000;
1972 SUB(TR_NEXUIZPLASMA) {
1973 MY(airfriction) = 12;
1974 MY(alpha_min) = 444;
1975 MY(alpha_max) = 512;
1976 MY(alpha_fade) = 1866;
1978 MY(color_min) = "0x629dff";
1979 MY(color_max) = "0x0018ff";
1980 MY(count) = 1.500000;
1981 MY(originjitter) = '1.0 1.0 1.0';
1982 MY(sizeincrease) = -20;
1987 MY(trailspacing) = 12;
1989 MY(velocityjitter) = '50.0 50.0 50.0';
1990 MY(velocityoffset) = '0.0 0.0 15.0';
1993 DEF(electro_impact);
1995 SUB(electro_impact) {
1996 MY(alpha_min) = 256;
1997 MY(alpha_max) = 256;
1998 MY(countabsolute) = 1;
1999 MY(lightcolor) = '3.1 4.4 10.0';
2000 MY(lightradiusfade) = 250;
2001 MY(lightradius) = 250;
2002 MY(originjitter) = '17.0 17.0 17.0';
2010 SUB(electro_impact) {
2013 MY(alpha_fade) = 350;
2014 MY(color_min) = "0x80C0FF";
2015 MY(color_max) = "0x80C0FF";
2016 MY(countabsolute) = 1;
2017 MY(sizeincrease) = 1000;
2023 MY(velocitymultiplier) = 44;
2026 SUB(electro_impact) {
2027 MY(alpha_min) = 256;
2028 MY(alpha_max) = 256;
2029 MY(alpha_fade) = 512;
2030 MY(color_min) = "0x80C0FF";
2031 MY(color_max) = "0x80C0FF";
2032 MY(countabsolute) = 1;
2037 MY(type) = "static";
2039 // cloud of bouncing sparks
2040 SUB(electro_impact) {
2041 MY(airfriction) = 6;
2042 MY(alpha_min) = 256;
2043 MY(alpha_max) = 256;
2044 MY(alpha_fade) = 1024;
2046 MY(color_min) = "0x629dff";
2047 MY(color_max) = "0x0018ff";
2049 MY(gravity) = -0.300000;
2050 MY(originjitter) = '1.0 1.0 1.0';
2051 MY(startangle_min) = -180;
2052 MY(startangle_max) = 180;
2053 MY(spin_min) = -9999;
2054 MY(spin_max) = 9999;
2055 MY(sizeincrease) = -50;
2061 MY(velocityjitter) = '512.0 512.0 512.0';
2063 // inner cloud of smoke
2064 SUB(electro_impact) {
2065 MY(airfriction) = 30;
2066 MY(alpha_min) = 200;
2067 MY(alpha_max) = 256;
2068 MY(alpha_fade) = 512;
2069 MY(color_min) = "0x629dff";
2070 MY(color_max) = "0x0018ff";
2072 MY(originjitter) = '20.0 20.0 20.0';
2073 MY(sizeincrease) = 50;
2078 MY(velocityjitter) = '320.0 320.0 320.0';
2081 DEF(electro_ballexplode);
2083 SUB(electro_ballexplode) {
2084 MY(alpha_min) = 256;
2085 MY(alpha_max) = 256;
2086 MY(countabsolute) = 1;
2087 MY(lightcolor) = '3.1 4.4 10.0';
2088 MY(lightradiusfade) = 250;
2089 MY(lightradius) = 250;
2090 MY(originjitter) = '17.0 17.0 17.0';
2098 SUB(electro_ballexplode) {
2099 MY(alpha_min) = 256;
2100 MY(alpha_max) = 256;
2101 MY(alpha_fade) = 512;
2102 MY(color_min) = "0x80C0FF";
2103 MY(color_max) = "0x80C0FF";
2104 MY(countabsolute) = 1;
2109 MY(type) = "static";
2111 // cloud of bouncing sparks
2112 SUB(electro_ballexplode) {
2113 MY(alpha_min) = 256;
2114 MY(alpha_max) = 256;
2115 MY(alpha_fade) = 1024;
2117 MY(color_min) = "0xFDFFD9";
2118 MY(color_max) = "0xFDFFD9";
2120 MY(originjitter) = '1.0 1.0 1.0';
2123 MY(stretchfactor) = 0.400000;
2127 MY(velocityjitter) = '512.0 512.0 512.0';
2129 // inner cloud of smoke
2130 SUB(electro_ballexplode) {
2131 MY(alpha_min) = 256;
2132 MY(alpha_max) = 256;
2133 MY(alpha_fade) = 512;
2134 MY(color_min) = "0x202020";
2135 MY(color_max) = "0x404040";
2137 MY(originjitter) = '20.0 20.0 20.0';
2142 MY(velocityjitter) = '32.0 32.0 32.0';
2147 SUB(electro_combo) {
2148 MY(alpha_min) = 256;
2149 MY(alpha_max) = 256;
2150 MY(countabsolute) = 1;
2151 MY(lightcolor) = '4.0 5.0 6.0';
2152 MY(lightradiusfade) = 300;
2153 MY(lightradius) = 400;
2154 MY(originjitter) = '17.0 17.0 17.0';
2162 SUB(electro_combo) {
2163 MY(alpha_min) = 128;
2164 MY(alpha_max) = 128;
2165 MY(alpha_fade) = 64;
2166 MY(color_min) = "0x80C0FF";
2167 MY(color_max) = "0x80C0FF";
2168 MY(countabsolute) = 1;
2173 MY(type) = "static";
2176 SUB(electro_combo) {
2177 MY(airfriction) = 6;
2178 MY(alpha_min) = 156;
2179 MY(alpha_max) = 156;
2180 MY(alpha_fade) = 156;
2182 MY(color_min) = "0x2030FF";
2183 MY(color_max) = "0x80C0FF";
2185 MY(liquidfriction) = 16;
2186 MY(sizeincrease) = 50;
2190 MY(type) = "static";
2191 MY(velocityjitter) = '512.0 512.0 512.0';
2193 SUB(electro_combo) {
2194 MY(alpha_min) = 444;
2195 MY(alpha_max) = 512;
2196 MY(alpha_fade) = 700;
2197 MY(bounce) = 1.600000;
2198 MY(color_min) = "0xa9cacf";
2199 MY(color_max) = "0x0054ff";
2201 MY(gravity) = 0.300000;
2202 MY(originjitter) = '1.0 1.0 1.0';
2205 MY(stretchfactor) = 2;
2209 MY(velocityjitter) = '312.0 312.0 312.0';
2210 MY(velocitymultiplier) = 3;
2212 // inner cloud of smoke
2213 SUB(electro_combo) {
2214 MY(alpha_min) = 256;
2215 MY(alpha_max) = 256;
2216 MY(alpha_fade) = 256;
2217 MY(color_min) = "0x202020";
2218 MY(color_max) = "0x404040";
2219 MY(count) = 0.125000;
2220 MY(originjitter) = '20.0 20.0 20.0';
2225 MY(velocityjitter) = '32.0 32.0 32.0';
2228 SUB(electro_combo) {
2231 MY(alpha_fade) = 100;
2232 MY(color_min) = "0xa9cacf";
2233 MY(color_max) = "0x0054ff";
2234 MY(countabsolute) = 1;
2235 MY(sizeincrease) = 600;
2241 MY(velocitymultiplier) = 0.300000;
2244 DEF(crylink_muzzleflash);
2245 SUB(crylink_muzzleflash) {
2246 MY(alpha_min) = 128;
2247 MY(alpha_max) = 128;
2248 MY(alpha_fade) = 2024;
2249 MY(color_min) = "0xdd9cff";
2250 MY(color_max) = "0xff0090";
2251 MY(count) = 0.500000;
2252 MY(lightcolor) = '1.6 0.2 2.0';
2253 MY(lightradiusfade) = 2000;
2254 MY(lightradius) = 200;
2260 MY(velocitymultiplier) = 0.010000;
2262 SUB(crylink_muzzleflash) {
2263 MY(airfriction) = 12;
2264 MY(alpha_max) = 128;
2265 MY(alpha_fade) = 1024;
2266 MY(color_min) = "0xA080C0";
2267 MY(color_max) = "0xA080C0";
2269 MY(originjitter) = '1.0 1.0 1.0';
2272 MY(stretchfactor) = 1.500000;
2276 MY(velocityjitter) = '200.0 200.0 200.0';
2277 MY(velocitymultiplier) = 0.300000;
2280 DEF(crylink_impact);
2282 SUB(crylink_impact) {
2283 MY(alpha_min) = 256;
2284 MY(alpha_max) = 256;
2285 MY(countabsolute) = 1;
2286 MY(originjitter) = '12.0 12.0 12.0';
2293 // purple flare effect
2294 SUB(crylink_impact) {
2295 MY(alpha_min) = 256;
2296 MY(alpha_max) = 256;
2297 MY(alpha_fade) = 512;
2298 MY(color_min) = "0x504060";
2299 MY(color_max) = "0x504060";
2300 MY(countabsolute) = 1;
2305 MY(type) = "static";
2308 SUB(crylink_impact) {
2309 MY(alpha_min) = 256;
2310 MY(alpha_max) = 256;
2311 MY(alpha_fade) = 1024;
2313 MY(color_min) = "0xA040C0";
2314 MY(color_max) = "0xA040C0";
2321 MY(velocityjitter) = '512.0 512.0 512.0';
2324 SUB(crylink_impact) {
2325 MY(alpha_min) = 256;
2326 MY(alpha_max) = 256;
2327 MY(alpha_fade) = 512;
2328 MY(color_min) = "0xE070FF";
2329 MY(color_max) = "0xE070FF";
2330 MY(count) = 1.500000;
2333 MY(type) = "static";
2334 MY(velocityjitter) = '32.0 32.0 32.0';
2337 SUB(crylink_impact) {
2338 MY(alpha_min) = 256;
2339 MY(alpha_max) = 256;
2340 MY(alpha_fade) = 1024;
2341 MY(color_min) = "0xE070FF";
2342 MY(color_max) = "0xE070FF";
2346 MY(type) = "static";
2347 MY(velocityjitter) = '256.0 256.0 256.0';
2350 DEF(nex_muzzleflash);
2351 SUB(nex_muzzleflash) {
2352 MY(airfriction) = 9;
2353 MY(alpha_min) = 328;
2354 MY(alpha_max) = 328;
2355 MY(alpha_fade) = 4000;
2356 MY(color_min) = "0x202020";
2357 MY(color_max) = "0x0072ff";
2359 MY(lightcolor) = '2.0 2.5 3.0';
2360 MY(lightradiusfade) = 200;
2361 MY(lightradius) = 200;
2362 MY(originjitter) = '4.0 4.0 4.0';
2363 MY(sizeincrease) = -100;
2366 MY(stretchfactor) = 2;
2370 MY(velocityjitter) = '180.0 180.0 180.0';
2371 MY(velocitymultiplier) = 1.400000;
2373 SUB(nex_muzzleflash) {
2374 MY(airfriction) = 9;
2375 MY(alpha_max) = 128;
2376 MY(alpha_fade) = 1024;
2377 MY(color_min) = "0xD9FDFF";
2378 MY(color_max) = "0xD9FDFF";
2380 MY(originjitter) = '1.0 1.0 1.0';
2386 MY(velocityjitter) = '600.0 600.0 600.0';
2387 MY(velocitymultiplier) = 1.500000;
2393 MY(airfriction) = 5;
2395 MY(alpha_max) = 128;
2396 MY(alpha_fade) = 64;
2397 MY(color_min) = "0x1680A0";
2398 MY(color_max) = "0x1680A0";
2399 MY(sizeincrease) = 2;
2404 MY(trailspacing) = 64;
2405 MY(type) = "static";
2409 MY(airfriction) = 9;
2412 MY(alpha_fade) = 32;
2413 MY(color_min) = "0x5080A0";
2414 MY(color_max) = "0x5080A0";
2415 MY(sizeincrease) = 8;
2419 MY(trailspacing) = 12;
2420 MY(type) = "static";
2421 MY(velocityjitter) = '64.0 64.0 64.0';
2425 MY(alpha_min) = 256;
2426 MY(alpha_max) = 256;
2427 MY(alpha_fade) = 1280;
2428 MY(color_min) = "0x80CDFF";
2429 MY(color_max) = "0x80CDFF";
2432 MY(trailspacing) = 12;
2433 MY(type) = "static";
2437 MY(airfriction) = 5;
2439 MY(alpha_max) = 128;
2440 MY(alpha_fade) = 80;
2441 MY(color_min) = "0x1680A0";
2442 MY(color_max) = "0x1680A0";
2443 MY(gravity) = -0.010000;
2448 MY(trailspacing) = 16;
2455 MY(alpha_min) = 256;
2456 MY(alpha_max) = 256;
2457 MY(countabsolute) = 1;
2458 MY(lightcolor) = '4.0 6.0 8.0';
2459 MY(lightradiusfade) = 250;
2460 MY(lightradius) = 200;
2461 MY(originjitter) = '14.0 14.0 14.0';
2462 MY(startangle_min) = -180;
2463 MY(startangle_max) = 180;
2470 // rotating something
2474 MY(alpha_fade) = 50;
2475 MY(color_min) = "0x1680A0";
2476 MY(color_max) = "0x1680A0";
2478 MY(startangle_min) = 180;
2479 MY(startangle_max) = -180;
2481 MY(spin_max) = -500;
2482 MY(sizeincrease) = 20;
2493 MY(alpha_fade) = 400;
2494 MY(color_min) = "0x1680A0";
2495 MY(color_max) = "0x1680A0";
2496 MY(countabsolute) = 1;
2497 MY(sizeincrease) = 900;
2502 MY(type) = "static";
2508 MY(alpha_fade) = 100;
2509 MY(color_min) = "0x1680A0";
2510 MY(color_max) = "0x1680A0";
2511 MY(countabsolute) = 1;
2512 MY(sizeincrease) = 500;
2517 MY(type) = "static";
2521 MY(alpha_min) = 256;
2522 MY(alpha_max) = 256;
2523 MY(alpha_fade) = 256;
2524 MY(color_min) = "0x80C0FF";
2525 MY(color_max) = "0x80C0FF";
2526 MY(countabsolute) = 1;
2531 MY(type) = "static";
2533 // small sparks which glow brightly but live briefly
2535 MY(airfriction) = 9;
2536 MY(alpha_max) = 128;
2537 MY(alpha_fade) = 512;
2539 MY(color_min) = "0xD9FDFF";
2540 MY(color_max) = "0xD9FDFF";
2544 MY(stretchfactor) = 3;
2548 MY(velocityjitter) = '600.0 600.0 600.0';
2549 MY(velocitymultiplier) = 0.500000;
2551 // small sparks that live longer
2553 MY(airfriction) = 2;
2554 MY(alpha_min) = 255;
2555 MY(alpha_max) = 255;
2556 MY(alpha_fade) = 112;
2557 MY(bounce) = 1.600000;
2558 MY(color_min) = "0xD9FDFF";
2559 MY(color_max) = "0xD9FDFF";
2564 MY(stretchfactor) = 0.700000;
2568 MY(velocityjitter) = '300.0 300.0 600.0';
2569 MY(velocitymultiplier) = 2.500000;
2572 DEF(hagar_muzzleflash);
2573 SUB(hagar_muzzleflash) {
2574 MY(alpha_min) = 256;
2575 MY(alpha_max) = 256;
2576 MY(alpha_fade) = 512;
2577 MY(color_min) = "0x202020";
2578 MY(color_max) = "0x404040";
2580 MY(lightcolor) = '2.0 1.5 0.2';
2581 MY(lightradiusfade) = 2000;
2582 MY(lightradius) = 200;
2583 MY(originjitter) = '1.5 1.5 1.5';
2588 MY(velocityjitter) = '6.0 6.0 6.0';
2589 MY(velocitymultiplier) = 0.010000;
2591 SUB(hagar_muzzleflash) {
2592 MY(airfriction) = 12;
2593 MY(alpha_max) = 128;
2594 MY(alpha_fade) = 1024;
2595 MY(color_min) = "0xff8400";
2596 MY(color_max) = "0xff4200";
2598 MY(originjitter) = '1.0 1.0 1.0';
2599 MY(startangle_min) = -180;
2600 MY(startangle_max) = 180;
2601 MY(spin_min) = -400;
2605 MY(stretchfactor) = 2;
2609 MY(velocityjitter) = '200.0 200.0 200.0';
2610 MY(velocitymultiplier) = 0.500000;
2615 MY(alpha_min) = 256;
2616 MY(alpha_max) = 256;
2617 MY(alpha_fade) = 256;
2618 MY(color_min) = "0x202020";
2619 MY(color_max) = "0x404040";
2621 MY(lightcolor) = '2.0 1.5 0.2';
2622 MY(lightradiusfade) = 300;
2623 MY(lightradius) = 60;
2624 MY(originjitter) = '1.5 1.5 1.5';
2629 MY(velocityjitter) = '6.0 6.0 6.0';
2630 MY(velocitymultiplier) = 0.010000;
2633 MY(airfriction) = 12;
2634 MY(alpha_max) = 256;
2635 MY(alpha_fade) = 256;
2636 MY(bounce) = 1.500000;
2637 MY(color_min) = "0xFFFDD9";
2638 MY(color_max) = "0xFFFDD9";
2641 MY(originjitter) = '1.0 1.0 1.0';
2647 MY(velocityjitter) = '600.0 600.0 600.0';
2648 MY(velocitymultiplier) = 0.500000;
2653 SUB(hagar_explode) {
2654 MY(alpha_min) = 256;
2655 MY(alpha_max) = 256;
2656 MY(countabsolute) = 1;
2657 MY(lightcolor) = '8.0 4.0 1.0';
2658 MY(lightradiusfade) = 400;
2659 MY(lightradius) = 120;
2660 MY(originjitter) = '14.0 14.0 14.0';
2667 // fire effect which make bright dot inside
2668 SUB(hagar_explode) {
2669 MY(airfriction) = 8;
2671 MY(alpha_max) = 200;
2672 MY(alpha_fade) = 356;
2673 MY(bounce) = 1.500000;
2674 MY(color_min) = "0xffe955";
2675 MY(color_max) = "0xff5a00";
2676 MY(count) = 3.500000;
2677 MY(liquidfriction) = 8;
2678 MY(notunderwater) = true;
2679 MY(originjitter) = '8.0 8.0 8.0';
2680 MY(sizeincrease) = 5;
2686 MY(velocityjitter) = '156.0 156.0 156.0';
2688 // fire effect which expands then slows
2689 SUB(hagar_explode) {
2690 MY(airfriction) = 12;
2691 MY(alpha_min) = 128;
2692 MY(alpha_max) = 256;
2693 MY(alpha_fade) = 456;
2694 MY(bounce) = 1.500000;
2695 MY(color_min) = "0x8f0d00";
2696 MY(color_max) = "0xff5a00";
2698 MY(liquidfriction) = 8;
2699 MY(notunderwater) = true;
2700 MY(originjitter) = '8.0 8.0 8.0';
2701 MY(sizeincrease) = 15;
2706 MY(type) = "static";
2707 MY(velocityjitter) = '286.0 286.0 286.0';
2710 SUB(hagar_explode) {
2711 MY(airfriction) = 5;
2712 MY(alpha_min) = 200;
2713 MY(alpha_max) = 500;
2714 MY(alpha_fade) = 600;
2716 MY(color_min) = "0x000000";
2717 MY(color_max) = "0x111111";
2719 MY(notunderwater) = true;
2720 MY(sizeincrease) = 20;
2724 MY(type) = "alphastatic";
2725 MY(velocityjitter) = '244.0 244.0 244.0';
2727 // underwater bubbles
2728 SUB(hagar_explode) {
2729 MY(alpha_min) = 128;
2730 MY(alpha_max) = 256;
2731 MY(alpha_fade) = 64;
2732 MY(bounce) = 1.500000;
2733 MY(color_min) = "0x404040";
2734 MY(color_max) = "0x808080";
2736 MY(gravity) = -0.125000;
2737 MY(liquidfriction) = 0.250000;
2738 MY(originjitter) = '16.0 16.0 16.0';
2743 MY(type) = "bubble";
2744 MY(underwater) = true;
2745 MY(velocityjitter) = '96.0 96.0 96.0';
2748 SUB(hagar_explode) {
2749 MY(airfriction) = 1;
2750 MY(alpha_min) = 644;
2751 MY(alpha_max) = 956;
2752 MY(alpha_fade) = 684;
2753 MY(bounce) = 1.600000;
2754 MY(color_min) = "0xffa35b";
2755 MY(color_max) = "0xfff2be";
2758 MY(liquidfriction) = 0.800000;
2759 MY(notunderwater) = true;
2760 MY(originjitter) = '16.0 16.0 16.0';
2762 MY(size_max) = 0.100000;
2766 MY(velocityjitter) = '224.0 224.0 224.0';
2767 MY(velocityoffset) = '0.0 0.0 80.0';
2770 DEF(rocketlauncher_muzzleflash);
2771 SUB(rocketlauncher_muzzleflash) {
2772 MY(airfriction) = 2;
2773 MY(alpha_min) = 256;
2774 MY(alpha_max) = 256;
2775 MY(alpha_fade) = 256;
2776 MY(color_min) = "0x202020";
2777 MY(color_max) = "0x404040";
2779 MY(originjitter) = '1.5 1.5 1.5';
2780 MY(sizeincrease) = 20;
2785 MY(velocityjitter) = '40.0 40.0 40.0';
2786 MY(velocitymultiplier) = -0.130000;
2788 SUB(rocketlauncher_muzzleflash) {
2789 MY(airfriction) = 9;
2792 MY(alpha_fade) = 20;
2793 MY(color_min) = "0xFFFDD9";
2794 MY(color_max) = "0xFFFDD9";
2796 MY(originjitter) = '3.0 3.0 3.0';
2797 MY(startangle_min) = -180;
2798 MY(startangle_max) = 180;
2801 MY(sizeincrease) = 20;
2807 MY(velocityjitter) = '100.0 100.0 100.0';
2808 MY(velocitymultiplier) = 0.300000;
2815 MY(alpha_min) = 200;
2816 MY(alpha_max) = 300;
2817 MY(alpha_fade) = 200;
2819 MY(color_min) = "0x000000";
2820 MY(color_max) = "0x666666";
2821 MY(lightcolor) = '6.0 3.0 1.0';
2822 MY(lightradius) = 150;
2823 MY(notunderwater) = true;
2824 MY(originjitter) = '2.0 2.0 2.0';
2825 MY(startangle_min) = -180;
2826 MY(startangle_max) = 180;
2829 MY(sizeincrease) = 11;
2833 MY(trailspacing) = 10;
2835 MY(velocityjitter) = '3.0 3.0 3.0';
2836 MY(velocitymultiplier) = -0.020000;
2840 MY(airfriction) = 8;
2841 MY(alpha_min) = 100;
2842 MY(alpha_max) = 144;
2843 MY(alpha_fade) = 588;
2844 MY(color_min) = "0xffdf72";
2845 MY(color_max) = "0x811200";
2846 MY(sizeincrease) = -30;
2851 MY(trailspacing) = 4;
2852 MY(type) = "static";
2853 MY(velocityjitter) = '32.0 32.0 32.0';
2854 MY(velocitymultiplier) = -1.500000;
2858 MY(alpha_min) = 256;
2859 MY(alpha_max) = 256;
2860 MY(alpha_fade) = 256;
2861 MY(bounce) = 1.500000;
2862 MY(gravity) = -0.125000;
2863 MY(liquidfriction) = 4;
2868 MY(trailspacing) = 16;
2869 MY(type) = "bubble";
2870 MY(underwater) = true;
2871 MY(velocityjitter) = '16.0 16.0 16.0';
2872 MY(velocitymultiplier) = -0.310000;
2876 MY(airfriction) = 5;
2877 MY(alpha_min) = 444;
2878 MY(alpha_max) = 512;
2879 MY(alpha_fade) = 1866;
2881 MY(color_min) = "0xFFFDD9";
2882 MY(color_max) = "0xFFFDD9";
2883 MY(notunderwater) = true;
2884 MY(originjitter) = '1.0 1.0 1.0';
2885 MY(size_min) = 0.500000;
2886 MY(size_max) = 0.500000;
2887 MY(stretchfactor) = 0.300000;
2890 MY(trailspacing) = 20;
2892 MY(velocityjitter) = '100.0 100.0 100.0';
2893 MY(velocitymultiplier) = -0.310000;
2896 // rocket explosion (bigger than mortar and hagar)
2897 DEF(rocket_explode);
2898 SUB(rocket_explode) {
2899 MY(alpha_min) = 256;
2900 MY(alpha_max) = 256;
2901 MY(countabsolute) = 1;
2902 MY(lightcolor) = '8.0 4.0 1.0';
2903 MY(lightradiusfade) = 750;
2904 MY(lightradius) = 400;
2905 MY(originjitter) = '23.0 23.0 23.0';
2913 SUB(rocket_explode) {
2914 MY(airfriction) = 8;
2915 MY(alpha_min) = 200;
2916 MY(alpha_max) = 256;
2917 MY(alpha_fade) = 512;
2918 MY(bounce) = 1.500000;
2919 MY(color_min) = "0x8f0d00";
2920 MY(color_max) = "0xff5a00";
2922 MY(liquidfriction) = 8;
2923 MY(notunderwater) = true;
2924 MY(originjitter) = '8.0 8.0 8.0';
2925 MY(sizeincrease) = 45;
2930 MY(type) = "static";
2931 MY(velocityjitter) = '512.0 512.0 512.0';
2934 SUB(rocket_explode) {
2935 MY(airfriction) = 19;
2936 MY(alpha_min) = 200;
2937 MY(alpha_max) = 256;
2938 MY(alpha_fade) = 612;
2939 MY(bounce) = 2.500000;
2940 MY(color_min) = "0xea691b";
2941 MY(color_max) = "0xeed05a";
2943 MY(liquidfriction) = 19;
2944 MY(notunderwater) = true;
2945 MY(originjitter) = '8.0 8.0 8.0';
2946 MY(sizeincrease) = 55;
2952 MY(velocityjitter) = '912.0 912.0 912.0';
2955 SUB(rocket_explode) {
2956 MY(airfriction) = 5;
2957 MY(alpha_min) = 200;
2958 MY(alpha_max) = 450;
2959 MY(alpha_fade) = 456;
2961 MY(color_min) = "0x000000";
2962 MY(color_max) = "0x111111";
2964 MY(notunderwater) = true;
2965 MY(sizeincrease) = 44;
2969 MY(type) = "alphastatic";
2970 MY(velocityjitter) = '444.0 444.0 444.0';
2972 // underwater bubbles
2973 SUB(rocket_explode) {
2974 MY(alpha_min) = 128;
2975 MY(alpha_max) = 256;
2976 MY(alpha_fade) = 64;
2977 MY(bounce) = 1.500000;
2978 MY(color_min) = "0x404040";
2979 MY(color_max) = "0x808080";
2981 MY(gravity) = -0.125000;
2982 MY(liquidfriction) = 0.250000;
2983 MY(originjitter) = '16.0 16.0 16.0';
2988 MY(type) = "bubble";
2989 MY(underwater) = true;
2990 MY(velocityjitter) = '144.0 144.0 144.0';
2992 // underwatershockwave
2993 SUB(rocket_explode) {
2996 MY(alpha_fade) = 300;
2997 MY(countabsolute) = 1;
2998 MY(sizeincrease) = 1900;
3004 MY(underwater) = true;
3005 MY(velocitymultiplier) = 0.300000;
3008 SUB(rocket_explode) {
3009 MY(airfriction) = 1;
3010 MY(alpha_min) = 644;
3011 MY(alpha_max) = 956;
3012 MY(alpha_fade) = 484;
3013 MY(bounce) = 1.600000;
3014 MY(color_min) = "0xffa35b";
3015 MY(color_max) = "0xfff2be";
3018 MY(liquidfriction) = 0.800000;
3019 MY(notunderwater) = true;
3020 MY(originjitter) = '16.0 16.0 16.0';
3022 MY(size_max) = 0.100000;
3026 MY(velocityjitter) = '424.0 424.0 624.0';
3027 MY(velocityoffset) = '0.0 0.0 80.0';
3030 SUB(rocket_explode) {
3031 MY(airfriction) = 0.500000;
3032 MY(alpha_min) = 644;
3033 MY(alpha_max) = 956;
3034 MY(alpha_fade) = 684;
3035 MY(bounce) = 1.600000;
3036 MY(color_min) = "0x6a3d25";
3037 MY(color_max) = "0xcac5b4";
3039 MY(gravity) = 1.300000;
3040 MY(notunderwater) = true;
3041 MY(startangle_min) = -180;
3042 MY(startangle_max) = 180;
3043 MY(spin_min) = -1000;
3044 MY(spin_max) = 1000;
3049 MY(type) = "alphastatic";
3050 MY(velocityjitter) = '324.0 324.0 524.0';
3053 DEF(grapple_muzzleflash);
3054 SUB(grapple_muzzleflash) {
3055 MY(lightcolor) = '1.0 0.0 0.0';
3056 MY(lightradiusfade) = 800;
3057 MY(lightradius) = 160;
3060 DEF(grapple_impact);
3061 SUB(grapple_impact) {
3062 MY(lightcolor) = '1.0 0.0 0.0';
3063 MY(lightradiusfade) = 800;
3064 MY(lightradius) = 160;
3067 DEF(nex242_misc_laser_beam);
3068 SUB(nex242_misc_laser_beam) {
3069 MY(alpha_min) = 256;
3070 MY(alpha_max) = 256;
3071 MY(alpha_fade) = 64;
3072 MY(color_min) = "0xff0000";
3073 MY(color_max) = "0xff0000";
3074 MY(countabsolute) = 1;
3075 MY(sizeincrease) = 1;
3083 DEF(nex242_misc_laser_beam_end);
3084 SUB(nex242_misc_laser_beam_end) {
3085 MY(alpha_min) = 128;
3086 MY(alpha_max) = 256;
3087 MY(alpha_fade) = 768;
3089 MY(color_min) = "0x8f4333";
3090 MY(color_max) = "0xfff31b";
3091 MY(count) = 0.500000;
3093 MY(size_min) = 0.400000;
3094 MY(size_max) = 0.400000;
3096 MY(velocityjitter) = '64.0 64.0 64.0';
3097 MY(velocitymultiplier) = 100;
3100 DEF(nex242_misc_laser_beam_fast);
3101 SUB(nex242_misc_laser_beam_fast) {
3102 MY(alpha_min) = 256;
3103 MY(alpha_max) = 256;
3104 MY(alpha_fade) = 640;
3105 MY(color_min) = "0xff0000";
3106 MY(color_max) = "0xff0000";
3107 MY(countabsolute) = 1;
3108 MY(sizeincrease) = 0.100000;
3116 DEF(nex242_misc_laser_beam_fast_end);
3117 SUB(nex242_misc_laser_beam_fast_end) {
3118 MY(alpha_min) = 128;
3119 MY(alpha_max) = 256;
3120 MY(alpha_fade) = 768;
3122 MY(color_min) = "0x8f4333";
3123 MY(color_max) = "0xfff31b";
3124 MY(count) = 0.500000;
3126 MY(size_min) = 0.400000;
3127 MY(size_max) = 0.400000;
3129 MY(velocityjitter) = '64.0 64.0 64.0';
3130 MY(velocitymultiplier) = 100;
3133 DEF(nex242_misc_laser_green_beam);
3134 SUB(nex242_misc_laser_green_beam) {
3135 MY(alpha_min) = 256;
3136 MY(alpha_max) = 256;
3137 MY(alpha_fade) = 64;
3138 MY(color_min) = "0x00ff00";
3139 MY(color_max) = "0x00ff00";
3140 MY(countabsolute) = 1;
3141 MY(sizeincrease) = 1;
3149 DEF(nex242_misc_laser_green_beam_end);
3150 SUB(nex242_misc_laser_green_beam_end) {
3151 MY(alpha_min) = 128;
3152 MY(alpha_max) = 256;
3153 MY(alpha_fade) = 768;
3155 MY(color_min) = "0x8f4333";
3156 MY(color_max) = "0xfff31b";
3157 MY(count) = 0.500000;
3159 MY(size_min) = 0.400000;
3160 MY(size_max) = 0.400000;
3162 MY(velocityjitter) = '64.0 64.0 64.0';
3163 MY(velocitymultiplier) = 100;
3166 DEF(nex242_misc_laser_blue_beam);
3167 SUB(nex242_misc_laser_blue_beam) {
3168 MY(alpha_min) = 256;
3169 MY(alpha_max) = 256;
3170 MY(alpha_fade) = 64;
3171 MY(color_min) = "0x0000ff";
3172 MY(color_max) = "0x0000ff";
3173 MY(countabsolute) = 1;
3174 MY(sizeincrease) = 1;
3182 DEF(nex242_misc_laser_blue_beam_end);
3183 SUB(nex242_misc_laser_blue_beam_end) {
3184 MY(alpha_min) = 128;
3185 MY(alpha_max) = 256;
3186 MY(alpha_fade) = 768;
3188 MY(color_min) = "0x8f4333";
3189 MY(color_max) = "0xfff31b";
3190 MY(count) = 0.500000;
3192 MY(size_min) = 0.400000;
3193 MY(size_max) = 0.400000;
3195 MY(velocityjitter) = '64.0 64.0 64.0';
3196 MY(velocitymultiplier) = 100;
3199 DEF(nex242_misc_laser_yellow_beam);
3200 SUB(nex242_misc_laser_yellow_beam) {
3201 MY(alpha_min) = 256;
3202 MY(alpha_max) = 256;
3203 MY(alpha_fade) = 64;
3204 MY(color_min) = "0xffff00";
3205 MY(color_max) = "0xffff00";
3206 MY(countabsolute) = 1;
3207 MY(sizeincrease) = 1;
3215 DEF(nex242_misc_laser_yellow_beam_end);
3216 SUB(nex242_misc_laser_yellow_beam_end) {
3217 MY(alpha_min) = 128;
3218 MY(alpha_max) = 256;
3219 MY(alpha_fade) = 768;
3221 MY(color_min) = "0x8f4333";
3222 MY(color_max) = "0xfff31b";
3223 MY(count) = 0.500000;
3225 MY(size_min) = 0.400000;
3226 MY(size_max) = 0.400000;
3228 MY(velocityjitter) = '64.0 64.0 64.0';
3229 MY(velocitymultiplier) = 100;
3232 DEF(nex242_misc_laser_cyan_beam);
3233 SUB(nex242_misc_laser_cyan_beam) {
3234 MY(alpha_min) = 256;
3235 MY(alpha_max) = 256;
3236 MY(alpha_fade) = 64;
3237 MY(color_min) = "0x00ffff";
3238 MY(color_max) = "0x00ffff";
3239 MY(countabsolute) = 1;
3240 MY(sizeincrease) = 1;
3248 DEF(nex242_misc_laser_cyan_beam_end);
3249 SUB(nex242_misc_laser_cyan_beam_end) {
3250 MY(alpha_min) = 128;
3251 MY(alpha_max) = 256;
3252 MY(alpha_fade) = 768;
3254 MY(color_min) = "0x8f4333";
3255 MY(color_max) = "0xfff31b";
3256 MY(count) = 0.500000;
3258 MY(size_min) = 0.400000;
3259 MY(size_max) = 0.400000;
3261 MY(velocityjitter) = '64.0 64.0 64.0';
3262 MY(velocitymultiplier) = 100;
3265 DEF(nex242_misc_laser_magenta_beam);
3266 SUB(nex242_misc_laser_magenta_beam) {
3267 MY(alpha_min) = 256;
3268 MY(alpha_max) = 256;
3269 MY(alpha_fade) = 64;
3270 MY(color_min) = "0xff00ff";
3271 MY(color_max) = "0xff00ff";
3272 MY(countabsolute) = 1;
3273 MY(sizeincrease) = 1;
3281 DEF(nex242_misc_laser_magenta_beam_end);
3282 SUB(nex242_misc_laser_magenta_beam_end) {
3283 MY(alpha_min) = 128;
3284 MY(alpha_max) = 256;
3285 MY(alpha_fade) = 768;
3287 MY(color_min) = "0x8f4333";
3288 MY(color_max) = "0xfff31b";
3289 MY(count) = 0.500000;
3291 MY(size_min) = 0.400000;
3292 MY(size_max) = 0.400000;
3294 MY(velocityjitter) = '64.0 64.0 64.0';
3295 MY(velocitymultiplier) = 100;
3298 DEF(nex242_misc_laser_white_beam);
3299 SUB(nex242_misc_laser_white_beam) {
3300 MY(alpha_min) = 256;
3301 MY(alpha_max) = 256;
3302 MY(alpha_fade) = 64;
3303 MY(color_min) = "0xffffff";
3304 MY(color_max) = "0xffffff";
3305 MY(countabsolute) = 1;
3306 MY(sizeincrease) = 1;
3314 DEF(nex242_misc_laser_white_beam_end);
3315 SUB(nex242_misc_laser_white_beam_end) {
3316 MY(alpha_min) = 128;
3317 MY(alpha_max) = 256;
3318 MY(alpha_fade) = 768;
3320 MY(color_min) = "0x8f4333";
3321 MY(color_max) = "0xfff31b";
3322 MY(count) = 0.500000;
3324 MY(size_min) = 0.400000;
3325 MY(size_max) = 0.400000;
3327 MY(velocityjitter) = '64.0 64.0 64.0';
3328 MY(velocitymultiplier) = 100;
3331 DEF(nex242_misc_laser_black_beam);
3332 SUB(nex242_misc_laser_black_beam) {
3333 MY(alpha_min) = 256;
3334 MY(alpha_max) = 256;
3335 MY(alpha_fade) = 64;
3336 MY(color_min) = "0x000000";
3337 MY(color_max) = "0x000000";
3338 MY(countabsolute) = 1;
3339 MY(sizeincrease) = 1;
3347 DEF(nex242_misc_laser_black_beam_end);
3348 SUB(nex242_misc_laser_black_beam_end) {
3349 MY(alpha_min) = 128;
3350 MY(alpha_max) = 256;
3351 MY(alpha_fade) = 768;
3353 MY(color_min) = "0x8f4333";
3354 MY(color_max) = "0xfff31b";
3355 MY(count) = 0.500000;
3357 MY(size_min) = 0.400000;
3358 MY(size_max) = 0.400000;
3360 MY(velocityjitter) = '64.0 64.0 64.0';
3361 MY(velocitymultiplier) = 100;
3364 DEF(nex242_misc_laser_orange_beam);
3365 SUB(nex242_misc_laser_orange_beam) {
3366 MY(alpha_min) = 256;
3367 MY(alpha_max) = 256;
3368 MY(alpha_fade) = 64;
3369 MY(color_min) = "0xff6600";
3370 MY(color_max) = "0xff6600";
3371 MY(countabsolute) = 1;
3372 MY(sizeincrease) = 1;
3380 DEF(nex242_misc_laser_orange_beam_end);
3381 SUB(nex242_misc_laser_orange_beam_end) {
3382 MY(alpha_min) = 128;
3383 MY(alpha_max) = 256;
3384 MY(alpha_fade) = 768;
3386 MY(color_min) = "0x8f4333";
3387 MY(color_max) = "0xfff31b";
3388 MY(count) = 0.500000;
3390 MY(size_min) = 0.400000;
3391 MY(size_max) = 0.400000;
3393 MY(velocityjitter) = '64.0 64.0 64.0';
3394 MY(velocitymultiplier) = 100;
3397 // bigger crylink impact effect
3398 DEF(crylink_impactbig);
3400 SUB(crylink_impactbig) {
3401 MY(alpha_min) = 256;
3402 MY(alpha_max) = 256;
3403 MY(countabsolute) = 1;
3404 MY(originjitter) = '12.0 12.0 12.0';
3411 // purple flare effect
3412 SUB(crylink_impactbig) {
3413 MY(alpha_min) = 256;
3414 MY(alpha_max) = 256;
3415 MY(alpha_fade) = 512;
3416 MY(color_min) = "0x504060";
3417 MY(color_max) = "0x504060";
3418 MY(countabsolute) = 1;
3423 MY(type) = "static";
3426 SUB(crylink_impactbig) {
3427 MY(alpha_min) = 256;
3428 MY(alpha_max) = 256;
3429 MY(alpha_fade) = 1024;
3431 MY(color_min) = "0xA040C0";
3432 MY(color_max) = "0xA040C0";
3439 MY(velocityjitter) = '512.0 512.0 512.0';
3442 SUB(crylink_impactbig) {
3443 MY(alpha_min) = 256;
3444 MY(alpha_max) = 256;
3445 MY(alpha_fade) = 512;
3446 MY(color_min) = "0xE070FF";
3447 MY(color_max) = "0xE070FF";
3448 MY(count) = 1.500000;
3451 MY(type) = "static";
3452 MY(velocityjitter) = '32.0 32.0 32.0';
3455 SUB(crylink_impactbig) {
3456 MY(alpha_min) = 256;
3457 MY(alpha_max) = 256;
3458 MY(alpha_fade) = 1024;
3459 MY(color_min) = "0xE070FF";
3460 MY(color_max) = "0xE070FF";
3464 MY(type) = "static";
3465 MY(velocityjitter) = '256.0 256.0 256.0';
3468 #include "effectinfo_gentle.inc"
3473 MY(alpha_min) = 256;
3474 MY(alpha_max) = 256;
3475 MY(countabsolute) = 1;
3476 MY(originjitter) = '6.0 6.0 6.0';
3483 // dust/smoke drifting away from the impact
3485 MY(airfriction) = 7;
3487 MY(alpha_fade) = 64;
3488 MY(color_min) = "0xFFFFFF";
3489 MY(color_max) = "0xFFFFFF";
3490 MY(count) = 0.025000;
3491 MY(liquidfriction) = 16;
3492 MY(originjitter) = '1.0 1.0 1.0';
3493 MY(sizeincrease) = 2;
3499 MY(velocityjitter) = '15.0 15.0 15.0';
3500 MY(velocitymultiplier) = 20;
3504 MY(airfriction) = 5;
3505 MY(alpha_min) = 256;
3506 MY(alpha_max) = 256;
3507 MY(alpha_fade) = 768;
3509 MY(color_min) = "0xFDFFD9";
3510 MY(color_max) = "0xFDFFD9";
3511 MY(count) = 0.025000;
3513 MY(notunderwater) = true;
3514 MY(originjitter) = '1.0 1.0 1.0';
3515 MY(size_min) = 0.600000;
3516 MY(size_max) = 0.600000;
3520 MY(velocityjitter) = '100.0 100.0 100.0';
3521 MY(velocitymultiplier) = 100;
3527 MY(alpha_min) = 200;
3528 MY(alpha_max) = 256;
3529 MY(alpha_fade) = 512;
3530 MY(color_min) = "0x8f0d00";
3531 MY(color_max) = "0xff5a00";
3533 MY(gravity) = -0.500000;
3534 MY(originjitter) = '5.0 5.0 5.0';
3535 MY(sizeincrease) = -1;
3541 MY(velocityjitter) = '1.0 1.0 50.0';
3545 MY(alpha_min) = 200;
3546 MY(alpha_max) = 256;
3547 MY(alpha_fade) = 200;
3548 MY(color_min) = "0x000000";
3549 MY(color_max) = "0x111111";
3551 MY(gravity) = -0.300000;
3552 MY(originjitter) = '3.0 3.0 3.0';
3553 MY(sizeincrease) = 5;
3557 MY(type) = "alphastatic";
3558 MY(velocityjitter) = '11.0 11.0 50.0';
3563 MY(alpha_max) = 100;
3564 MY(alpha_fade) = 100;
3566 MY(color_min) = "0x7cbaff";
3567 MY(color_max) = "0xcfd1ff";
3569 MY(gravity) = 0.600000;
3570 MY(originjitter) = '5.0 5.0 5.0';
3571 MY(sizeincrease) = 20;
3576 MY(velocityjitter) = '81.0 81.0 150.0';
3577 MY(velocitymultiplier) = 2;
3580 DEF(hookbomb_explode);
3582 SUB(hookbomb_explode) {
3583 MY(airfriction) = 10;
3584 MY(alpha_max) = 256;
3585 MY(alpha_fade) = 200;
3586 MY(bounce) = 1.500000;
3587 MY(color_min) = "0x807aff";
3588 MY(color_max) = "0x4463d5";
3590 MY(originjitter) = '10.0 10.0 10.0';
3591 MY(sizeincrease) = -160;
3596 MY(type) = "static";
3597 MY(velocityjitter) = '550.0 550.0 550.0';
3600 SUB(hookbomb_explode) {
3601 MY(alpha_min) = 256;
3602 MY(alpha_max) = 265;
3603 MY(alpha_fade) = 100;
3604 MY(color_min) = "0x807aff";
3605 MY(color_max) = "0x4463d5";
3606 MY(countabsolute) = 3;
3607 MY(originoffset) = '0.0 0.0 6.0';
3608 MY(sizeincrease) = -60;
3613 MY(type) = "static";
3615 // decal on the ground
3616 SUB(hookbomb_explode) {
3617 MY(alpha_min) = 256;
3618 MY(alpha_max) = 256;
3619 MY(countabsolute) = 1;
3620 MY(originjitter) = '6.0 6.0 6.0';
3628 SUB(hookbomb_explode) {
3629 MY(airfriction) = 2;
3630 MY(alpha_min) = 256;
3631 MY(alpha_max) = 256;
3632 MY(alpha_fade) = 456;
3633 MY(bounce) = 1.500000;
3634 MY(color_min) = "0x807aff";
3635 MY(color_max) = "0x4463d5";
3638 MY(originjitter) = '1.0 1.0 1.0';
3639 MY(sizeincrease) = -60;
3645 MY(velocityjitter) = '1900.0 1900.0 1300.0';
3646 MY(velocitymultiplier) = 0.500000;
3649 DEF(EF_MGTURRETTRAIL);
3651 SUB(EF_MGTURRETTRAIL) {
3652 MY(alpha_min) = 128;
3653 MY(alpha_max) = 196;
3654 MY(alpha_fade) = 768;
3655 MY(color_min) = "0xd0d0a0";
3656 MY(color_max) = "0xffffff";
3657 MY(gravity) = -0.010000;
3658 MY(notunderwater) = true;
3659 MY(sizeincrease) = -8;
3663 MY(trailspacing) = 10;
3667 SUB(EF_MGTURRETTRAIL) {
3668 MY(alpha_min) = 256;
3669 MY(alpha_max) = 256;
3670 MY(alpha_fade) = 256;
3671 MY(bounce) = 1.500000;
3672 MY(color_min) = "0x404040";
3673 MY(color_max) = "0x808080";
3674 MY(gravity) = -0.125000;
3675 MY(liquidfriction) = 4;
3680 MY(trailspacing) = 32;
3681 MY(type) = "bubble";
3682 MY(underwater) = true;
3683 MY(velocityjitter) = '16.0 16.0 16.0';
3689 MY(alpha_min) = 200;
3690 MY(alpha_max) = 356;
3691 MY(alpha_fade) = 512;
3693 MY(color_min) = "0x8f0d00";
3694 MY(color_max) = "0xff5a00";
3696 MY(gravity) = -0.500000;
3697 MY(originjitter) = '33.0 33.0 33.0';
3698 MY(sizeincrease) = -3;
3704 MY(velocityjitter) = '22.0 22.0 50.0';
3708 MY(alpha_min) = 200;
3709 MY(alpha_max) = 256;
3710 MY(alpha_fade) = 200;
3712 MY(color_min) = "0x000000";
3713 MY(color_max) = "0x111111";
3715 MY(gravity) = -0.300000;
3716 MY(originjitter) = '44.0 44.0 44.0';
3717 MY(sizeincrease) = 11;
3721 MY(type) = "alphastatic";
3722 MY(velocityjitter) = '11.0 11.0 50.0';
3725 #define flare(name, colormin, colormax) \
3726 DEF(name##_flare); \
3727 SUB(name##_flare) /* smoke */ { \
3728 MY(alpha_min) = 200; \
3729 MY(alpha_max) = 256; \
3730 MY(alpha_fade) = 160; \
3732 MY(color_min) = colormin; \
3733 MY(color_max) = colormax; \
3734 MY(count) = 10.500000; \
3735 MY(gravity) = -0.240000; \
3736 MY(originjitter) = '2.0 2.0 0.0'; \
3737 MY(sizeincrease) = 11; \
3739 MY(size_max) = 11; \
3741 MY(type) = "alphastatic"; \
3742 MY(velocityjitter) = '15.0 15.0 30.0'; \
3745 flare(red, "0xff0000", "0xdc7171")
3746 flare(blue, "0x0000ff", "0x7194dc")
3752 MY(airfriction) = 3;
3753 MY(alpha_min) = 100;
3754 MY(alpha_max) = 156;
3755 MY(alpha_fade) = 200;
3756 MY(bounce) = 1.100000;
3757 MY(color_min) = "0x111111";
3758 MY(color_max) = "0x979797";
3760 MY(gravity) = 0.100000;
3761 MY(notunderwater) = true;
3762 MY(sizeincrease) = 21;
3767 MY(velocityjitter) = '190.0 190.0 50.0';
3773 MY(airfriction) = 7;
3774 MY(alpha_min) = 140;
3775 MY(alpha_max) = 256;
3776 MY(alpha_fade) = 190;
3777 MY(bounce) = 1.100000;
3778 MY(color_min) = "0x9e895f";
3779 MY(color_max) = "0xffd39b";
3781 MY(gravity) = -0.150000;
3782 MY(notunderwater) = true;
3783 MY(sizeincrease) = 21;
3787 MY(type) = "alphastatic";
3788 MY(velocityjitter) = '390.0 390.0 390.0';
3793 MY(airfriction) = 3;
3794 MY(alpha_max) = 256;
3795 MY(alpha_fade) = 256;
3796 MY(bounce) = 1.500000;
3797 MY(color_min) = "0xFFFDD9";
3798 MY(color_max) = "0xFFFDD9";
3801 MY(originjitter) = '1.0 1.0 1.0';
3807 MY(velocityjitter) = '300.0 300.0 200.0';
3808 MY(velocitymultiplier) = 1.500000;
3811 DEF(electricity_sparks);
3812 SUB(electricity_sparks) {
3813 MY(airfriction) = 3;
3814 MY(alpha_max) = 256;
3815 MY(alpha_fade) = 556;
3816 MY(bounce) = 1.500000;
3817 MY(color_min) = "0x807aff";
3818 MY(color_max) = "0x4463d5";
3821 MY(originjitter) = '1.0 1.0 1.0';
3827 MY(velocityjitter) = '300.0 300.0 300.0';
3828 MY(velocitymultiplier) = 0.500000;
3833 MY(airfriction) = 5;
3834 MY(alpha_min) = 140;
3835 MY(alpha_max) = 256;
3836 MY(alpha_fade) = 190;
3837 MY(bounce) = 1.100000;
3838 MY(color_min) = "0xfffbdf";
3839 MY(color_max) = "0xffffff";
3841 MY(gravity) = -0.250000;
3842 MY(notunderwater) = true;
3843 MY(sizeincrease) = 7;
3848 MY(velocityjitter) = '19.0 19.0 19.0';
3849 MY(velocitymultiplier) = 14;
3854 MY(airfriction) = -1;
3855 MY(alpha_min) = 100;
3856 MY(alpha_max) = 256;
3857 MY(alpha_fade) = 100;
3858 MY(bounce) = 1.500000;
3859 MY(color_min) = "0x292929";
3860 MY(color_max) = "0x000000";
3862 MY(gravity) = -0.100000;
3863 MY(originjitter) = '10.0 10.0 10.0';
3864 MY(sizeincrease) = 5;
3868 MY(type) = "alphastatic";
3869 MY(velocityjitter) = '5.0 5.0 20.0';
3872 // golden dust (create it once per second to cover large area in small yellow particles)
3875 MY(alpha_min) = 256;
3876 MY(alpha_max) = 256;
3877 MY(alpha_fade) = 70;
3878 MY(bounce) = 1.500000;
3879 MY(color_min) = "0xff9600";
3880 MY(color_max) = "0xffefb8";
3882 MY(originjitter) = '500.0 500.0 500.0';
3883 MY(sizeincrease) = -0.300000;
3889 MY(velocityjitter) = '0.1 0.1 0.1';
3894 MY(airfriction) = -0.500000;
3895 MY(alpha_min) = 256;
3896 MY(alpha_max) = 256;
3897 MY(alpha_fade) = 170;
3898 MY(bounce) = 1.500000;
3899 MY(color_min) = "0xff0000";
3900 MY(color_max) = "0xff0000";
3902 MY(gravity) = -0.100000;
3903 MY(originjitter) = '5.0 5.0 100.0';
3904 MY(sizeincrease) = -0.050000;
3910 MY(velocityjitter) = '50.0 50.0 0.0';
3913 DEF(armorrepair_fx);
3914 SUB(armorrepair_fx) {
3915 MY(airfriction) = -0.500000;
3916 MY(alpha_min) = 256;
3917 MY(alpha_max) = 256;
3918 MY(alpha_fade) = 170;
3919 MY(bounce) = 1.500000;
3920 MY(color_min) = "0x00ff00";
3921 MY(color_max) = "0x00ff00";
3923 MY(gravity) = -0.100000;
3924 MY(originjitter) = '5.0 5.0 50.0';
3925 MY(sizeincrease) = -0.050000;
3931 MY(velocityjitter) = '50.0 50.0 0.0';
3936 MY(airfriction) = -0.500000;
3937 MY(alpha_min) = 256;
3938 MY(alpha_max) = 256;
3939 MY(alpha_fade) = 170;
3940 MY(bounce) = 1.500000;
3941 MY(color_min) = "0x0000ff";
3942 MY(color_max) = "0x0000ff";
3944 MY(gravity) = -0.100000;
3945 MY(originjitter) = '5.0 5.0 50.0';
3946 MY(sizeincrease) = -0.050000;
3952 MY(velocityjitter) = '50.0 50.0 0.0';
3955 // red-yellow flame like fx
3958 MY(airfriction) = 2;
3959 MY(alpha_min) = 256;
3960 MY(alpha_max) = 256;
3961 MY(alpha_fade) = 190;
3962 MY(color_min) = "0xff0000";
3963 MY(color_max) = "0xff7800";
3964 MY(count) = 2.500000;
3965 MY(gravity) = -0.060000;
3966 MY(originjitter) = '5.0 5.0 5.0';
3967 MY(sizeincrease) = 10;
3973 MY(velocityjitter) = '25.0 25.0 25.0';
3976 // pieces of glass or ice falling on the floor
3979 MY(airfriction) = 3;
3980 MY(alpha_min) = 256;
3981 MY(alpha_max) = 256;
3983 MY(color_min) = "0xffffff";
3984 MY(color_max) = "0xb2d3e6";
3986 MY(gravity) = 1.300000;
3987 MY(originjitter) = '30.0 30.0 30.0';
3994 MY(type) = "alphastatic";
3995 MY(velocityjitter) = '100.0 100.0 100.0';
3998 // cover small area in poison gas, spawn it once per second
4001 MY(airfriction) = 1;
4002 MY(alpha_min) = 256;
4003 MY(alpha_max) = 256;
4004 MY(alpha_fade) = 50;
4005 MY(bounce) = 1.500000;
4006 MY(color_min) = "0x00ff00";
4007 MY(color_max) = "0x7db843";
4009 MY(gravity) = -0.010000;
4010 MY(originjitter) = '333.0 333.0 50.0';
4011 MY(sizeincrease) = 30;
4016 MY(velocityjitter) = '5.0 5.0 5.0';
4019 // cover small area in icy mist, spawn it once per second
4022 MY(airfriction) = 1;
4023 MY(alpha_min) = 256;
4024 MY(alpha_max) = 256;
4025 MY(alpha_fade) = 50;
4026 MY(bounce) = 1.500000;
4027 MY(color_min) = "0x008aff";
4028 MY(color_max) = "0x75e7ff";
4030 MY(gravity) = -0.010000;
4031 MY(originjitter) = '333.0 333.0 0.0';
4032 MY(sizeincrease) = 10;
4037 MY(velocityjitter) = '5.0 5.0 30.0';
4040 MY(alpha_min) = 256;
4041 MY(alpha_max) = 256;
4042 MY(alpha_fade) = 50;
4043 MY(color_min) = "0x008aff";
4044 MY(color_max) = "0x75e7ff";
4046 MY(gravity) = -0.001000;
4047 MY(originjitter) = '333.0 333.0 0.0';
4048 MY(sizeincrease) = 10;
4056 // 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 )
4058 // flames that go up
4060 MY(airfriction) = 1;
4062 MY(alpha_max) = 256;
4063 MY(alpha_fade) = 200;
4064 MY(bounce) = 1.500000;
4065 MY(color_min) = "0x8f0d00";
4066 MY(color_max) = "0xff5a00";
4068 MY(gravity) = -0.060000;
4069 MY(originjitter) = '180.0 180.0 0.0';
4070 MY(sizeincrease) = 20;
4076 MY(velocityjitter) = '5.0 5.0 30.0';
4078 // flames that stay on the ground
4081 MY(alpha_max) = 256;
4082 MY(alpha_fade) = 200;
4083 MY(color_min) = "0x8f0d00";
4084 MY(color_max) = "0xff5a00";
4086 MY(originjitter) = '180.0 180.0 0.0';
4087 MY(sizeincrease) = 40;
4096 MY(alpha_min) = 256;
4097 MY(alpha_max) = 256;
4098 MY(alpha_fade) = 70;
4099 MY(color_min) = "0x000000";
4100 MY(color_max) = "0x111111";
4102 MY(gravity) = -0.020000;
4103 MY(originjitter) = '180.0 180.0 0.0';
4104 MY(sizeincrease) = 7;
4108 MY(type) = "alphastatic";
4111 // flamethrower, spawn it as fast as you can 20 times per second or more, it needs direction
4115 MY(airfriction) = 1.200000;
4117 MY(alpha_max) = 256;
4118 MY(alpha_fade) = 250;
4119 MY(bounce) = 1.500000;
4120 MY(color_min) = "0x8f0d00";
4121 MY(color_max) = "0xff5a00";
4123 MY(gravity) = -0.060000;
4124 MY(sizeincrease) = 20;
4130 MY(velocityjitter) = '40.0 40.0 11.0';
4131 MY(velocitymultiplier) = 30;
4135 MY(airfriction) = 1.200000;
4137 MY(alpha_max) = 256;
4138 MY(alpha_fade) = 200;
4139 MY(bounce) = 1.500000;
4140 MY(color_min) = "0x8f0d00";
4141 MY(color_max) = "0xff5a00";
4142 MY(count) = 2.500000;
4143 MY(gravity) = -0.060000;
4144 MY(sizeincrease) = 20;
4150 MY(velocityjitter) = '40.0 40.0 40.0';
4151 MY(velocitymultiplier) = 20;
4153 // very slow and small fire
4155 MY(airfriction) = 0.300000;
4157 MY(alpha_max) = 256;
4158 MY(alpha_fade) = 200;
4159 MY(bounce) = 1.500000;
4160 MY(color_min) = "0x8f0d00";
4161 MY(color_max) = "0xff5a00";
4162 MY(count) = 1.500000;
4163 MY(gravity) = -0.060000;
4164 MY(sizeincrease) = 10;
4170 MY(velocityjitter) = '30.0 30.0 30.0';
4171 MY(velocitymultiplier) = 10;
4175 MY(airfriction) = 0.300000;
4177 MY(alpha_max) = 256;
4178 MY(alpha_fade) = 200;
4179 MY(bounce) = 1.500000;
4180 MY(color_min) = "0x8f0d00";
4181 MY(color_max) = "0xff5a00";
4183 MY(gravity) = -0.060000;
4184 MY(sizeincrease) = -10;
4190 MY(velocityjitter) = '10.0 10.0 10.0';
4191 MY(velocitymultiplier) = 15;
4195 MY(airfriction) = 1;
4196 MY(alpha_min) = 256;
4197 MY(alpha_max) = 256;
4198 MY(alpha_fade) = 90;
4199 MY(color_min) = "0x000000";
4200 MY(color_max) = "0x111111";
4201 MY(count) = 0.500000;
4202 MY(originjitter) = '10.0 10.0 10.0';
4203 MY(sizeincrease) = 7;
4207 MY(type) = "alphastatic";
4208 MY(velocitymultiplier) = 20;
4209 MY(velocityoffset) = '0.0 0.0 10.0';
4212 // port-o-launch trail
4214 // glowing vapor trail
4216 MY(alpha_min) = 256;
4217 MY(alpha_max) = 256;
4218 MY(alpha_fade) = 968;
4219 MY(color_min) = "0x404040";
4220 MY(color_max) = "0x404040";
4221 MY(lightcolor) = '1.5 3.0 6.0';
4222 MY(lightradius) = 90;
4227 MY(trailspacing) = 4;
4228 MY(type) = "static";
4229 MY(velocitymultiplier) = -0.100000;
4233 MY(airfriction) = 12;
4234 MY(alpha_min) = 444;
4235 MY(alpha_max) = 512;
4236 MY(alpha_fade) = 1866;
4238 MY(color_min) = "0x404040";
4239 MY(color_max) = "0x404040";
4240 MY(count) = 1.500000;
4241 MY(originjitter) = '1.0 1.0 1.0';
4242 MY(sizeincrease) = -20;
4247 MY(trailspacing) = 12;
4249 MY(velocityjitter) = '50.0 50.0 50.0';
4250 MY(velocityoffset) = '0.0 0.0 15.0';
4255 // glowing vapor trail
4257 MY(alpha_min) = 256;
4258 MY(alpha_max) = 256;
4259 MY(alpha_fade) = 968;
4260 MY(color_min) = "0x804000";
4261 MY(color_max) = "0x804000";
4262 MY(lightcolor) = '1.5 3.0 6.0';
4263 MY(lightradius) = 90;
4268 MY(trailspacing) = 4;
4269 MY(type) = "static";
4270 MY(velocitymultiplier) = -0.100000;
4274 MY(airfriction) = 12;
4275 MY(alpha_min) = 444;
4276 MY(alpha_max) = 512;
4277 MY(alpha_fade) = 1866;
4279 MY(color_min) = "0xff8000";
4280 MY(color_max) = "0xff8000";
4281 MY(count) = 1.500000;
4282 MY(originjitter) = '1.0 1.0 1.0';
4283 MY(sizeincrease) = -20;
4288 MY(trailspacing) = 12;
4290 MY(velocityjitter) = '50.0 50.0 50.0';
4291 MY(velocityoffset) = '0.0 0.0 15.0';
4296 MY(alpha_min) = 256;
4297 MY(alpha_max) = 256;
4298 MY(countabsolute) = 1;
4299 MY(lightcolor) = '8.0 4.0 1.0';
4300 MY(lightradiusfade) = 400;
4301 MY(lightradius) = 150;
4302 MY(originjitter) = '40.0 40.0 40.0';
4309 // fire effect which make bright dot inside
4311 MY(airfriction) = 8;
4312 MY(alpha_min) = 128;
4313 MY(alpha_max) = 256;
4314 MY(alpha_fade) = 456;
4315 MY(bounce) = 1.500000;
4316 MY(color_min) = "0xffe955";
4317 MY(color_max) = "0xff5a00";
4319 MY(liquidfriction) = 8;
4320 MY(notunderwater) = true;
4321 MY(originjitter) = '8.0 8.0 8.0';
4322 MY(sizeincrease) = 5;
4328 MY(velocityjitter) = '156.0 156.0 156.0';
4330 // fire effect which expands then slows
4332 MY(airfriction) = 12;
4333 MY(alpha_min) = 128;
4334 MY(alpha_max) = 256;
4335 MY(alpha_fade) = 456;
4336 MY(bounce) = 1.500000;
4337 MY(color_min) = "0x8f0d00";
4338 MY(color_max) = "0xff5a00";
4340 MY(liquidfriction) = 8;
4341 MY(notunderwater) = true;
4342 MY(originjitter) = '8.0 8.0 8.0';
4343 MY(sizeincrease) = 15;
4348 MY(type) = "static";
4349 MY(velocityjitter) = '256.0 256.0 256.0';
4353 MY(airfriction) = 5;
4354 MY(alpha_min) = 500;
4355 MY(alpha_max) = 600;
4356 MY(alpha_fade) = 556;
4358 MY(color_min) = "0x000000";
4359 MY(color_max) = "0x111111";
4361 MY(notunderwater) = true;
4362 MY(sizeincrease) = 20;
4366 MY(type) = "alphastatic";
4367 MY(velocityjitter) = '244.0 244.0 244.0';
4369 // underwater bubbles
4371 MY(alpha_min) = 128;
4372 MY(alpha_max) = 256;
4373 MY(alpha_fade) = 64;
4374 MY(bounce) = 1.500000;
4375 MY(color_min) = "0x404040";
4376 MY(color_max) = "0x808080";
4378 MY(gravity) = -0.125000;
4379 MY(liquidfriction) = 0.250000;
4380 MY(originjitter) = '16.0 16.0 16.0';
4385 MY(type) = "bubble";
4386 MY(underwater) = true;
4387 MY(velocityjitter) = '96.0 96.0 96.0';
4391 MY(airfriction) = 0.200000;
4392 MY(alpha_min) = 256;
4393 MY(alpha_max) = 256;
4394 MY(alpha_fade) = 384;
4395 MY(bounce) = 1.500000;
4396 MY(color_min) = "0x903010";
4397 MY(color_max) = "0xFFD030";
4400 MY(liquidfriction) = 0.800000;
4401 MY(notunderwater) = true;
4407 MY(velocityjitter) = '256.0 256.0 256.0';
4408 MY(velocityoffset) = '0.0 0.0 80.0';
4411 // bullet trail (somewhat like a tracer)
4414 MY(alpha_min) = 256;
4415 MY(alpha_max) = 256;
4416 MY(alpha_fade) = 2560;
4417 MY(color_min) = "0xff8960";
4418 MY(color_max) = "0xff8533";
4421 MY(stretchfactor) = 0.200000;
4424 MY(trailspacing) = 750;
4426 MY(velocitymultiplier) = 3;
4429 // smoke emitter for small pipes
4430 DEF(smoking_smallemitter);
4431 SUB(smoking_smallemitter) {
4432 MY(airfriction) = -1;
4433 MY(alpha_min) = 200;
4434 MY(alpha_max) = 256;
4435 MY(alpha_fade) = 100;
4436 MY(color_min) = "0x292929";
4437 MY(color_max) = "0x000000";
4439 MY(gravity) = -0.100000;
4440 MY(originjitter) = '10.0 10.0 10.0';
4441 MY(sizeincrease) = 20;
4445 MY(type) = "alphastatic";
4446 MY(velocityjitter) = '5.0 5.0 20.0';
4450 DEF(TR_CRYLINKPLASMA);
4452 SUB(TR_CRYLINKPLASMA) {
4453 MY(alpha_min) = 256;
4454 MY(alpha_max) = 256;
4455 MY(alpha_fade) = 1024;
4456 MY(color_min) = "0x5522aa";
4457 MY(color_max) = "0x6622ff";
4458 MY(sizeincrease) = 8;
4463 MY(trailspacing) = 128;
4464 MY(type) = "static";
4465 MY(velocityjitter) = '8.0 8.0 8.0';
4466 MY(velocitymultiplier) = -0.010000;
4468 // crylink main trail
4469 SUB(TR_CRYLINKPLASMA) {
4470 MY(alpha_min) = 256;
4471 MY(alpha_max) = 256;
4472 MY(alpha_fade) = 2600;
4473 MY(color_min) = "0x5522aa";
4474 MY(color_max) = "0x6622ff";
4475 MY(sizeincrease) = 15;
4480 MY(trailspacing) = 16;
4481 MY(type) = "static";
4482 MY(velocityjitter) = '2.0 2.0 2.0';
4483 MY(velocitymultiplier) = 0.010000;
4487 SUB(cherryblossom) {
4488 MY(airfriction) = 1;
4489 MY(alpha_min) = 128;
4490 MY(alpha_max) = 256;
4491 MY(alpha_fade) = 32;
4492 MY(bounce) = 1.500000;
4493 MY(color_min) = "0xb123ff";
4494 MY(color_max) = "0xb183ff";
4495 MY(count) = 1.500000;
4496 MY(gravity) = 0.050000;
4497 MY(liquidfriction) = 1;
4498 MY(originjitter) = '16.0 16.0 16.0';
4499 MY(size_min) = 1.500000;
4503 MY(type) = "static";
4504 MY(velocityjitter) = '32.0 32.0 0.0';
4509 MY(airfriction) = 0.400000;
4510 MY(alpha_min) = 1560;
4511 MY(alpha_max) = 2560;
4512 MY(alpha_fade) = 7000;
4513 MY(blend) = "invmod";
4515 MY(color_min) = "0xDC9BCD";
4516 MY(color_max) = "0xDC9BCD";
4517 MY(count) = 0.400000;
4518 MY(sizeincrease) = 20;
4521 MY(staincolor_min) = "0xDC9BCD";
4522 MY(staincolor_max) = "0xDC9BCD";
4523 MY(stainsize_min) = 1;
4524 MY(stainsize_max) = 2;
4525 MY(staintex_min) = 16;
4526 MY(staintex_max) = 24;
4527 MY(stretchfactor) = 25;
4531 MY(velocityjitter) = '99.0 99.0 55.0';
4535 MY(alpha_min) = 3000;
4536 MY(alpha_max) = 5560;
4537 MY(alpha_fade) = 12000;
4538 MY(blend) = "invmod";
4539 MY(color_min) = "0xDC9BCD";
4540 MY(color_max) = "0xDC9BCD";
4541 MY(countabsolute) = 1;
4542 MY(originjitter) = '11.0 11.0 11.0';
4543 MY(sizeincrease) = 20;
4553 MY(airfriction) = 1;
4554 MY(alpha_min) = 256;
4555 MY(alpha_max) = 256;
4556 MY(alpha_fade) = 64;
4558 MY(color_min) = "0xff3000";
4559 MY(color_max) = "0xff7373";
4560 MY(count) = 0.167000;
4562 MY(liquidfriction) = 4;
4568 MY(velocityjitter) = '264.0 264.0 264.0';
4569 MY(velocityoffset) = '0.0 0.0 100.0';
4574 MY(alpha_fade) = 1000;
4575 MY(color_min) = "0xff8400";
4576 MY(color_max) = "0xffbb72";
4577 MY(countabsolute) = 1;
4578 MY(originjitter) = '11.0 11.0 11.0';
4579 MY(sizeincrease) = 800;
4588 MY(alpha_min) = 256;
4589 MY(alpha_max) = 256;
4590 MY(alpha_fade) = 5120;
4591 MY(color_min) = "0xff3000";
4592 MY(color_max) = "0xff8585";
4593 MY(count) = 0.100000;
4594 MY(originjitter) = '41.0 41.0 21.0';
4595 MY(startangle_min) = -180;
4596 MY(startangle_max) = 180;
4597 MY(spin_min) = 4000;
4598 MY(spin_max) = -4000;
4606 DEF(alien_TR_BLOOD);
4607 SUB(alien_TR_BLOOD) {
4608 MY(airfriction) = -2;
4609 MY(alpha_min) = 384;
4610 MY(alpha_max) = 984;
4611 MY(alpha_fade) = 1492;
4612 MY(blend) = "invmod";
4614 MY(color_min) = "0xC080B0";
4615 MY(color_max) = "0xC080B0";
4616 MY(gravity) = 0.400000;
4617 MY(liquidfriction) = 1;
4618 MY(sizeincrease) = -5;
4621 MY(staincolor_min) = "0xC080B0";
4622 MY(staincolor_max) = "0xC080B0";
4623 MY(stainsize_min) = 1;
4624 MY(stainsize_max) = 2;
4625 MY(staintex_min) = 16;
4626 MY(staintex_max) = 24;
4627 MY(stretchfactor) = 7;
4630 MY(trailspacing) = 20;
4632 MY(velocityjitter) = '64.0 64.0 64.0';
4633 MY(velocitymultiplier) = -0.100000;
4636 // splash around gib
4638 MY(alpha_min) = 684;
4639 MY(alpha_max) = 684;
4640 MY(alpha_fade) = 7492;
4641 MY(color_min) = "0xA8FFFF";
4642 MY(color_max) = "0xA8FFFF";
4643 MY(sizeincrease) = 500;
4648 MY(trailspacing) = 42;
4652 DEF(robot_TR_BLOOD);
4653 SUB(robot_TR_BLOOD) {
4654 MY(airfriction) = -2;
4655 MY(alpha_min) = 384;
4656 MY(alpha_max) = 984;
4657 MY(alpha_fade) = 1892;
4658 MY(blend) = "invmod";
4660 MY(color_min) = "0xC0D890";
4661 MY(color_max) = "0xC0D890";
4662 MY(gravity) = 0.400000;
4663 MY(liquidfriction) = 1;
4664 MY(sizeincrease) = -6;
4667 MY(staincolor_min) = "0x808080";
4668 MY(staincolor_max) = "0x808080";
4669 MY(stainsize_min) = 1;
4670 MY(stainsize_max) = 3;
4671 MY(staintex_min) = 16;
4672 MY(staintex_max) = 24;
4673 MY(stretchfactor) = 6;
4676 MY(trailspacing) = 16;
4678 MY(velocityjitter) = '64.0 64.0 64.0';
4679 MY(velocitymultiplier) = -0.300000;
4682 SUB(robot_TR_BLOOD) {
4683 MY(airfriction) = 4;
4684 MY(alpha_min) = 128;
4685 MY(alpha_max) = 256;
4686 MY(alpha_fade) = 900;
4687 MY(color_min) = "0x902010";
4688 MY(color_max) = "0xff3600";
4690 MY(liquidfriction) = 4;
4691 MY(notunderwater) = true;
4692 MY(sizeincrease) = 10;
4695 MY(stretchfactor) = 5;
4698 MY(trailspacing) = 16;
4700 MY(velocityjitter) = '44.0 44.0 44.0';
4703 SUB(robot_TR_BLOOD) {
4704 MY(alpha_min) = 1128;
4705 MY(alpha_max) = 1256;
4706 MY(alpha_fade) = 44900;
4707 MY(color_min) = "0xff3000";
4708 MY(color_max) = "0xff8585";
4709 MY(startangle_min) = -180;
4710 MY(startangle_max) = 180;
4711 MY(spin_min) = 4000;
4712 MY(spin_max) = -4000;
4717 MY(trailspacing) = 128;
4719 MY(velocityjitter) = '44.0 44.0 44.0';
4722 DEF(alien_TR_SLIGHTBLOOD);
4723 SUB(alien_TR_SLIGHTBLOOD) {
4724 MY(airfriction) = 1;
4725 MY(alpha_min) = 384;
4726 MY(alpha_max) = 384;
4727 MY(alpha_fade) = 192;
4729 MY(color_min) = "0xC080B0";
4730 MY(color_max) = "0xC080B0";
4731 MY(liquidfriction) = 4;
4734 MY(staincolor_min) = "0x808080";
4735 MY(staincolor_max) = "0x808080";
4736 MY(staintex_min) = 16;
4737 MY(staintex_max) = 24;
4740 MY(trailspacing) = 64;
4742 MY(velocityjitter) = '64.0 64.0 64.0';
4743 MY(velocitymultiplier) = 0.500000;
4746 DEF(robot_TR_SLIGHTBLOOD);
4747 SUB(robot_TR_SLIGHTBLOOD) {
4748 MY(airfriction) = 1;
4749 MY(alpha_min) = 384;
4750 MY(alpha_max) = 384;
4751 MY(alpha_fade) = 192;
4753 MY(color_min) = "0xC0D890";
4754 MY(color_max) = "0xC0D890";
4755 MY(liquidfriction) = 4;
4758 MY(staincolor_min) = "0x808080";
4759 MY(staincolor_max) = "0x808080";
4760 MY(staintex_min) = 16;
4761 MY(staintex_max) = 24;
4764 MY(trailspacing) = 64;
4766 MY(velocityjitter) = '64.0 64.0 64.0';
4767 MY(velocitymultiplier) = 0.500000;
4771 // flare particle and light
4773 MY(alpha_min) = 128;
4775 MY(alpha_fade) = 64;
4776 MY(color_min) = "0x63F2EA";
4777 MY(color_max) = "0xB0C5C4";
4778 MY(countabsolute) = 1;
4781 MY(type) = "static";
4783 // cloud of particles which expand rapidly and then slow to form a ball
4785 MY(alpha_min) = 256;
4786 MY(alpha_max) = 256;
4787 MY(alpha_fade) = 1280;
4788 MY(color_min) = "0x63F2EA";
4789 MY(color_max) = "0xB0C5C4";
4796 MY(velocityjitter) = '256.0 256.0 256.0';
4801 MY(alpha_min) = 156;
4802 MY(alpha_max) = 656;
4803 MY(alpha_fade) = 1664;
4804 MY(blend) = "invmod";
4806 MY(color_min) = "0xA8FFFF";
4807 MY(color_max) = "0xA8FFFFF";
4810 MY(liquidfriction) = 4;
4813 MY(staincolor_min) = "0x808080";
4814 MY(staincolor_max) = "0x808080";
4815 MY(stainsize_min) = 1;
4816 MY(stainsize_max) = 2;
4817 MY(staintex_min) = 16;
4818 MY(staintex_max) = 24;
4819 MY(stretchfactor) = 3;
4823 MY(velocityjitter) = '764.0 764.0 764.0';
4827 MY(alpha_min) = 156;
4828 MY(alpha_max) = 656;
4829 MY(alpha_fade) = 1664;
4830 MY(blend) = "invmod";
4831 MY(color_min) = "0xA8FFFF";
4832 MY(color_max) = "0xA8FFFFF";
4833 MY(countabsolute) = 0.100000;
4834 MY(originjitter) = '50.0 50.0 50.0';
4835 MY(sizeincrease) = 300;
4843 DEF(alien_bloodshower);
4844 SUB(alien_bloodshower) {
4845 MY(alpha_min) = 156;
4846 MY(alpha_max) = 656;
4847 MY(alpha_fade) = 1664;
4848 MY(blend) = "invmod";
4850 MY(color_min) = "0xC080B0";
4851 MY(color_max) = "0xC080B0";
4854 MY(liquidfriction) = 4;
4857 MY(staincolor_min) = "0xC080B0";
4858 MY(staincolor_max) = "0xC080B0";
4859 MY(stainsize_min) = 1;
4860 MY(stainsize_max) = 2;
4861 MY(staintex_min) = 16;
4862 MY(staintex_max) = 24;
4863 MY(stretchfactor) = 3;
4867 MY(velocityjitter) = '764.0 764.0 764.0';
4871 MY(alpha_min) = 156;
4872 MY(alpha_max) = 656;
4873 MY(alpha_fade) = 1664;
4874 MY(blend) = "invmod";
4875 MY(color_min) = "0xA8FFFF";
4876 MY(color_max) = "0xA8FFFFF";
4877 MY(countabsolute) = 0.100000;
4878 MY(originjitter) = '50.0 50.0 50.0';
4879 MY(sizeincrease) = 300;
4887 DEF(robot_bloodshower);
4888 SUB(robot_bloodshower) {
4889 MY(alpha_min) = 156;
4890 MY(alpha_max) = 656;
4891 MY(alpha_fade) = 1664;
4892 MY(blend) = "invmod";
4894 MY(color_min) = "0xC0D890";
4895 MY(color_max) = "0xC0D890";
4898 MY(liquidfriction) = 4;
4901 MY(staincolor_min) = "0xC0D890";
4902 MY(staincolor_max) = "0xC0D890";
4903 MY(stainsize_min) = 1;
4904 MY(stainsize_max) = 2;
4905 MY(staintex_min) = 16;
4906 MY(staintex_max) = 24;
4907 MY(stretchfactor) = 3;
4911 MY(velocityjitter) = '764.0 764.0 764.0';
4914 SUB(robot_bloodshower) {
4915 MY(alpha_min) = 1128;
4916 MY(alpha_max) = 1256;
4917 MY(alpha_fade) = 4200;
4918 MY(color_min) = "0xff3000";
4919 MY(color_max) = "0xff8585";
4920 MY(count) = 2.500000;
4921 MY(originjitter) = '150.0 150.0 150.0';
4922 MY(startangle_min) = -180;
4923 MY(startangle_max) = 180;
4931 MY(velocityjitter) = '44.0 44.0 44.0';
4934 SUB(robot_bloodshower) {
4936 MY(alpha_max) = 125;
4937 MY(alpha_fade) = 990;
4938 MY(color_min) = "0xff3000";
4939 MY(color_max) = "0xff8585";
4940 MY(count) = 2.500000;
4941 MY(sizeincrease) = 3000;
4949 #define ground_quake(name, colormin, colormax) \
4950 DEF(name##_ground_quake); \
4951 SUB(name##_ground_quake) /* smoke */ { \
4952 MY(airfriction) = 3; \
4953 MY(alpha_min) = 100; \
4954 MY(alpha_max) = 126; \
4955 MY(alpha_fade) = 200; \
4956 MY(bounce) = 1.100000; \
4957 MY(color_min) = "0x111111"; \
4958 MY(color_max) = "0xbbbbbb"; \
4960 MY(gravity) = 0.500000; \
4961 MY(notunderwater) = true; \
4962 MY(sizeincrease) = 100; \
4963 MY(size_min) = 20; \
4964 MY(size_max) = 50; \
4967 MY(time_max) = 10; \
4968 MY(type) = "smoke"; \
4969 MY(velocityjitter) = '190.0 190.0 50.0'; \
4971 SUB(name##_ground_quake) { \
4972 MY(airfriction) = 4; \
4973 MY(alpha_min) = 100; \
4974 MY(alpha_max) = 126; \
4975 MY(alpha_fade) = 200; \
4976 MY(bounce) = 1.200000; \
4977 MY(color_min) = "0x111111"; \
4978 MY(color_max) = "0x979797"; \
4980 MY(gravity) = 0.200000; \
4981 MY(notunderwater) = true; \
4982 MY(sizeincrease) = 60; \
4983 MY(size_min) = 10; \
4984 MY(size_max) = 30; \
4986 MY(time_min) = 10; \
4987 MY(time_max) = 15; \
4988 MY(type) = "smoke"; \
4989 MY(velocityjitter) = '190.0 190.0 50.0'; \
4991 SUB(name##_ground_quake) { \
4992 MY(alpha_min) = 200; \
4993 MY(alpha_max) = 356; \
4994 MY(alpha_fade) = 512; \
4996 MY(color_min) = colormin; \
4997 MY(color_max) = colormax; \
4999 MY(gravity) = -0.500000; \
5000 MY(originjitter) = '33.0 33.0 33.0'; \
5001 MY(sizeincrease) = 5; \
5003 MY(size_max) = 20; \
5006 MY(time_min) = 15; \
5007 MY(time_max) = 25; \
5008 MY(type) = "smoke"; \
5009 MY(velocityjitter) = '22.0 22.0 50.0'; \
5011 SUB(name##_ground_quake) /* smoke */ { \
5012 MY(alpha_min) = 200; \
5013 MY(alpha_max) = 256; \
5014 MY(alpha_fade) = 200; \
5016 MY(color_min) = "0x000000"; \
5017 MY(color_max) = "0xffffff"; \
5019 MY(gravity) = -0.300000; \
5020 MY(originjitter) = '44.0 44.0 44.0'; \
5021 MY(sizeincrease) = 11; \
5022 MY(size_min) = 22; \
5023 MY(size_max) = 33; \
5025 MY(time_min) = 25; \
5026 MY(time_max) = 35; \
5027 MY(type) = "alphastatic"; \
5028 MY(velocityjitter) = '11.0 11.0 50.0'; \
5032 ground_quake(red, "0x9E6A64", "0x91302D")
5033 ground_quake(blue, "0x64679E", "0x2D4C91")
5036 #include "effectinfo_gentle_morphed.inc"
5038 // Team / hit vaporizer effects
5039 #define TE_TEI_G3(name, colormin1, colormax1, colormin2, colormax2) \
5040 DEF(TE_TEI_G3##name); \
5041 SUB(TE_TEI_G3##name) { \
5042 MY(alpha_min) = 128; \
5043 MY(alpha_max) = 128; \
5044 MY(alpha_fade) = 256; \
5045 MY(color_min) = colormin1; \
5046 MY(color_max) = colormax1; \
5047 MY(countabsolute) = 1; \
5050 MY(tex_min) = 200; \
5051 MY(tex_max) = 200; \
5052 MY(type) = "beam"; \
5054 SUB(TE_TEI_G3##name) { \
5055 MY(airfriction) = -4; \
5056 MY(alpha_min) = 256; \
5057 MY(alpha_max) = 256; \
5058 MY(alpha_fade) = 512; \
5059 MY(color_min) = colormin2; \
5060 MY(color_max) = colormax2; \
5061 MY(sizeincrease) = 3; \
5062 MY(size_min) = 0.300000; \
5063 MY(size_max) = 0.300000; \
5066 MY(trailspacing) = 8; \
5067 MY(type) = "smoke"; \
5068 MY(velocityjitter) = '3.0 3.0 3.0'; \
5070 DEF(TE_TEI_G3##name##_HIT); \
5071 SUB(TE_TEI_G3##name##_HIT) { \
5072 MY(alpha_min) = 128; \
5073 MY(alpha_max) = 128; \
5074 MY(alpha_fade) = 256; \
5075 MY(color_min) = colormin1; \
5076 MY(color_max) = colormax1; \
5077 MY(countabsolute) = 1; \
5080 MY(tex_min) = 200; \
5081 MY(tex_max) = 200; \
5082 MY(type) = "beam"; \
5084 SUB(TE_TEI_G3##name##_HIT) /* rings */ { \
5085 MY(airfriction) = -4; \
5086 MY(alpha_min) = 256; \
5087 MY(alpha_max) = 256; \
5088 MY(alpha_fade) = 512; \
5089 MY(color_min) = "0xFFFFFF"; \
5090 MY(color_max) = colormax1; \
5091 MY(sizeincrease) = -2; \
5094 MY(trailspacing) = 20; \
5095 MY(type) = "smoke"; \
5096 MY(velocityjitter) = '2.0 2.0 2.0'; \
5098 SUB(TE_TEI_G3##name##_HIT) { \
5099 MY(airfriction) = -4; \
5100 MY(alpha_min) = 256; \
5101 MY(alpha_max) = 256; \
5102 MY(alpha_fade) = 512; \
5103 MY(color_min) = colormin1; \
5104 MY(color_max) = colormax1; \
5105 MY(sizeincrease) = -6; \
5106 MY(size_min) = 10; \
5107 MY(size_max) = 10; \
5108 MY(trailspacing) = 40; \
5109 MY(type) = "smoke"; \
5112 TE_TEI_G3(RED, "0xFF0000", "0xFF0011", "0x200000", "0x400000")
5113 TE_TEI_G3(BLUE, "0x0000FF", "0x1100FF", "0x000020", "0x000040")
5114 TE_TEI_G3(YELLOW, "0xffff00", "0xffff11", "0x202000", "0x404000")
5115 TE_TEI_G3(PINK, "0xFF00FF", "0xFF11FF", "0x200020", "0x400040")
5118 #include "effectinfo_gentle_particlegibs.inc"
5120 #include "effectinfo_onslaught.inc"
5124 MY(airfriction) = 1.200000;
5126 MY(alpha_max) = 256;
5127 MY(alpha_fade) = 250;
5128 MY(bounce) = 1.500000;
5129 MY(color_min) = "0x8f0d00";
5130 MY(color_max) = "0xff5a00";
5131 MY(count) = 0.500000;
5132 MY(gravity) = -0.060000;
5133 MY(sizeincrease) = 5;
5138 MY(trailspacing) = 2;
5140 MY(velocityjitter) = '10.0 10.0 2.0';
5144 MY(airfriction) = 1.200000;
5146 MY(alpha_max) = 256;
5147 MY(alpha_fade) = 200;
5148 MY(bounce) = 1.500000;
5149 MY(color_min) = "0x8f0d00";
5150 MY(color_max) = "0xff5a00";
5151 MY(count) = 0.500000;
5152 MY(gravity) = -0.060000;
5153 MY(sizeincrease) = 5;
5158 MY(trailspacing) = 2;
5160 MY(velocityjitter) = '10.0 10.0 10.0';
5162 // very slow and small fire
5164 MY(airfriction) = 0.300000;
5166 MY(alpha_max) = 256;
5167 MY(alpha_fade) = 200;
5168 MY(bounce) = 1.500000;
5169 MY(color_min) = "0x8f0d00";
5170 MY(color_max) = "0xff5a00";
5171 MY(count) = 0.500000;
5172 MY(gravity) = -0.060000;
5173 MY(sizeincrease) = 2;
5178 MY(trailspacing) = 4;
5180 MY(velocityjitter) = '8.0 8.0 8.0';
5184 MY(airfriction) = 0.300000;
5186 MY(alpha_max) = 256;
5187 MY(alpha_fade) = 200;
5188 MY(bounce) = 1.500000;
5189 MY(color_min) = "0x8f0d00";
5190 MY(color_max) = "0xff5a00";
5191 MY(count) = 0.500000;
5192 MY(gravity) = -0.060000;
5193 MY(sizeincrease) = -3;
5198 MY(trailspacing) = 4;
5200 MY(velocityjitter) = '3.0 3.0 3.0';
5204 MY(airfriction) = 1;
5205 MY(alpha_min) = 256;
5206 MY(alpha_max) = 256;
5207 MY(alpha_fade) = 90;
5208 MY(color_min) = "0x000000";
5209 MY(color_max) = "0x111111";
5210 MY(count) = 0.500000;
5211 MY(originjitter) = '2.0 2.0 2.0';
5212 MY(sizeincrease) = 1;
5216 MY(trailspacing) = 8;
5217 MY(type) = "alphastatic";
5218 MY(velocityoffset) = '0.0 0.0 3.0';
5222 MY(airfriction) = 1.200000;
5224 MY(alpha_max) = 256;
5225 MY(alpha_fade) = 1600;
5226 MY(bounce) = 1.500000;
5227 MY(color_min) = "0x8f0d00";
5228 MY(color_max) = "0xff5a00";
5229 MY(count) = 0.500000;
5234 MY(trailspacing) = 1;
5239 MY(lightcolor) = '2.7 2.7 0.6';
5240 MY(lightradiusfade) = 50000;
5241 MY(lightradius) = 50;
5242 MY(trailspacing) = 16;
5247 MY(airfriction) = 1.200000;
5249 MY(alpha_max) = 256;
5250 MY(alpha_fade) = 250;
5251 MY(bounce) = 1.500000;
5252 MY(color_min) = "0x8f0d00";
5253 MY(color_max) = "0xff5a00";
5254 MY(count) = 0.500000;
5255 MY(gravity) = -0.060000;
5256 MY(sizeincrease) = 20;
5261 MY(trailspacing) = 2;
5263 MY(velocityjitter) = '40.0 40.0 11.0';
5267 MY(airfriction) = 1.200000;
5269 MY(alpha_max) = 256;
5270 MY(alpha_fade) = 200;
5271 MY(bounce) = 1.500000;
5272 MY(color_min) = "0x8f0d00";
5273 MY(color_max) = "0xff5a00";
5274 MY(count) = 0.500000;
5275 MY(gravity) = -0.060000;
5276 MY(sizeincrease) = 20;
5281 MY(trailspacing) = 2;
5283 MY(velocityjitter) = '40.0 40.0 40.0';
5285 // very slow and small fire
5287 MY(airfriction) = 0.300000;
5289 MY(alpha_max) = 256;
5290 MY(alpha_fade) = 200;
5291 MY(bounce) = 1.500000;
5292 MY(color_min) = "0x8f0d00";
5293 MY(color_max) = "0xff5a00";
5294 MY(count) = 0.500000;
5295 MY(gravity) = -0.060000;
5296 MY(sizeincrease) = 10;
5301 MY(trailspacing) = 4;
5303 MY(velocityjitter) = '30.0 30.0 30.0';
5307 MY(airfriction) = 0.300000;
5309 MY(alpha_max) = 256;
5310 MY(alpha_fade) = 200;
5311 MY(bounce) = 1.500000;
5312 MY(color_min) = "0x8f0d00";
5313 MY(color_max) = "0xff5a00";
5314 MY(count) = 0.500000;
5315 MY(gravity) = -0.060000;
5316 MY(sizeincrease) = -10;
5321 MY(trailspacing) = 4;
5323 MY(velocityjitter) = '10.0 10.0 10.0';
5327 MY(airfriction) = 1;
5328 MY(alpha_min) = 256;
5329 MY(alpha_max) = 256;
5330 MY(alpha_fade) = 90;
5331 MY(color_min) = "0x000000";
5332 MY(color_max) = "0x111111";
5333 MY(count) = 0.500000;
5334 MY(originjitter) = '10.0 10.0 10.0';
5335 MY(sizeincrease) = 7;
5339 MY(trailspacing) = 8;
5340 MY(type) = "alphastatic";
5341 MY(velocityoffset) = '0.0 0.0 10.0';
5345 MY(airfriction) = 1.200000;
5347 MY(alpha_max) = 256;
5348 MY(alpha_fade) = 1600;
5349 MY(bounce) = 1.500000;
5350 MY(color_min) = "0x8f0d00";
5351 MY(color_max) = "0xff5a00";
5352 MY(count) = 0.500000;
5357 MY(trailspacing) = 1;
5362 MY(lightcolor) = '2.7 2.7 0.6';
5363 MY(lightradiusfade) = 3000;
5364 MY(lightradius) = 300;
5365 MY(trailspacing) = 16;
5368 DEF(fireball_laser);
5369 SUB(fireball_laser) {
5370 MY(alpha_min) = 192;
5371 MY(alpha_max) = 256;
5372 MY(alpha_fade) = 2560;
5373 MY(color_min) = "0x800000";
5374 MY(color_max) = "0xFF8020";
5378 MY(stretchfactor) = 0.700000;
5380 MY(velocityjitter) = '1.0 1.0 1.0';
5381 MY(velocitymultiplier) = 10;
5384 // rocket explosion (bigger than mortar and hagar)
5385 DEF(fireball_explode);
5387 SUB(fireball_explode) {
5388 MY(alpha_min) = 256;
5389 MY(alpha_max) = 256;
5390 MY(countabsolute) = 1;
5391 MY(lightcolor) = '4.0 2.0 0.5';
5392 MY(lightradiusfade) = 500;
5393 MY(lightradius) = 500;
5394 MY(originjitter) = '56.0 56.0 56.0';
5402 SUB(fireball_explode) {
5403 MY(alpha_min) = 192;
5404 MY(alpha_max) = 192;
5405 MY(alpha_fade) = 64;
5406 MY(color_min) = "0x404040";
5407 MY(color_max) = "0x404040";
5408 MY(countabsolute) = 1;
5413 MY(type) = "static";
5416 SUB(fireball_explode) {
5417 MY(airfriction) = 4;
5418 MY(alpha_min) = 128;
5419 MY(alpha_max) = 128;
5420 MY(alpha_fade) = 256;
5421 MY(bounce) = 1.500000;
5422 MY(color_min) = "0x902010";
5423 MY(color_max) = "0xFFD080";
5425 MY(liquidfriction) = 4;
5426 MY(notunderwater) = true;
5427 MY(originjitter) = '8.0 8.0 8.0';
5432 MY(type) = "static";
5433 MY(velocityjitter) = '512.0 512.0 512.0';
5435 // underwater bubbles
5436 SUB(fireball_explode) {
5437 MY(alpha_min) = 128;
5438 MY(alpha_max) = 256;
5439 MY(alpha_fade) = 64;
5440 MY(bounce) = 1.500000;
5441 MY(color_min) = "0x404040";
5442 MY(color_max) = "0x808080";
5444 MY(gravity) = -0.125000;
5445 MY(liquidfriction) = 0.250000;
5446 MY(originjitter) = '16.0 16.0 16.0';
5451 MY(type) = "bubble";
5452 MY(underwater) = true;
5453 MY(velocityjitter) = '144.0 144.0 144.0';
5456 SUB(fireball_explode) {
5457 MY(airfriction) = 0.200000;
5458 MY(alpha_min) = 256;
5459 MY(alpha_max) = 256;
5460 MY(alpha_fade) = 384;
5461 MY(bounce) = 1.500000;
5462 MY(color_min) = "0x903010";
5463 MY(color_max) = "0xFFD030";
5466 MY(liquidfriction) = 0.800000;
5467 MY(notunderwater) = true;
5471 MY(velocityjitter) = '384.0 384.0 384.0';
5472 MY(velocityoffset) = '0.0 0.0 80.0';
5475 DEF(fireball_muzzleflash);
5476 SUB(fireball_muzzleflash) {
5477 MY(alpha_min) = 256;
5478 MY(alpha_max) = 256;
5479 MY(alpha_fade) = 512;
5480 MY(color_min) = "0x202020";
5481 MY(color_max) = "0x404040";
5483 MY(lightcolor) = '2.0 1.5 0.2';
5484 MY(lightradiusfade) = 2000;
5485 MY(lightradius) = 200;
5486 MY(originjitter) = '1.5 1.5 1.5';
5491 MY(velocityjitter) = '6.0 6.0 6.0';
5492 MY(velocitymultiplier) = 0.010000;
5494 SUB(fireball_muzzleflash) {
5495 MY(airfriction) = 12;
5496 MY(alpha_max) = 128;
5497 MY(alpha_fade) = 1024;
5498 MY(color_min) = "0xFFFDD9";
5499 MY(color_max) = "0xFFFDD9";
5501 MY(originjitter) = '1.0 1.0 1.0';
5507 MY(velocityjitter) = '300.0 300.0 300.0';
5508 MY(velocitymultiplier) = 0.500000;
5511 DEF(fireball_preattack_muzzleflash);
5512 SUB(fireball_preattack_muzzleflash) {
5513 MY(alpha_min) = 256;
5514 MY(alpha_max) = 256;
5515 MY(alpha_fade) = 512;
5516 MY(color_min) = "0x202020";
5517 MY(color_max) = "0x404040";
5519 MY(lightcolor) = '2.0 1.5 0.2';
5520 MY(lightradiusfade) = 2000;
5521 MY(lightradius) = 200;
5522 MY(originjitter) = '1.5 1.5 1.5';
5527 MY(velocityjitter) = '6.0 6.0 6.0';
5528 MY(velocitymultiplier) = 0.010000;
5530 SUB(fireball_preattack_muzzleflash) {
5531 MY(airfriction) = 12;
5532 MY(alpha_max) = 128;
5533 MY(alpha_fade) = 1024;
5534 MY(color_min) = "0xFFFDD9";
5535 MY(color_max) = "0xFFFDD9";
5537 MY(originjitter) = '1.0 1.0 1.0';
5543 MY(velocityjitter) = '300.0 300.0 300.0';
5544 MY(velocitymultiplier) = 0.500000;
5547 DEF(fireball_bfgdamage);
5548 SUB(fireball_bfgdamage) {
5549 MY(alpha_min) = 256;
5550 MY(alpha_max) = 256;
5551 MY(alpha_fade) = 512;
5552 MY(color_min) = "0x202020";
5553 MY(color_max) = "0x404040";
5555 MY(lightcolor) = '2.0 1.5 0.2';
5556 MY(lightradiusfade) = 2000;
5557 MY(lightradius) = 200;
5558 MY(originjitter) = '1.5 1.5 1.5';
5563 MY(velocityjitter) = '6.0 6.0 6.0';
5564 MY(velocitymultiplier) = 0.010000;
5566 SUB(fireball_bfgdamage) {
5567 MY(airfriction) = 12;
5568 MY(alpha_max) = 128;
5569 MY(alpha_fade) = 1024;
5570 MY(color_min) = "0xFFFDD9";
5571 MY(color_max) = "0xFFFDD9";
5573 MY(originjitter) = '1.0 1.0 1.0';
5579 MY(velocityjitter) = '300.0 300.0 300.0';
5580 MY(velocitymultiplier) = 0.500000;
5586 MY(alpha_min) = 200;
5587 MY(alpha_max) = 356;
5588 MY(alpha_fade) = 512;
5590 MY(color_min) = "0x8f0d00";
5591 MY(color_max) = "0xff5a00";
5593 MY(gravity) = -0.500000;
5594 MY(originjitter) = '12.0 12.0 34.0';
5595 MY(originoffset) = '0.0 0.0 10.0';
5596 MY(sizeincrease) = -1;
5602 MY(velocityjitter) = '22.0 22.0 50.0';
5606 MY(alpha_min) = 200;
5607 MY(alpha_max) = 256;
5608 MY(alpha_fade) = 200;
5610 MY(color_min) = "0x000000";
5611 MY(color_max) = "0x111111";
5613 MY(gravity) = -0.300000;
5614 MY(originjitter) = '12.0 12.0 34.0';
5615 MY(originoffset) = '0.0 0.0 10.0';
5616 MY(sizeincrease) = 6;
5620 MY(type) = "alphastatic";
5621 MY(velocityjitter) = '11.0 11.0 50.0';
5624 MY(count) = 0.500000;
5625 MY(lightcolor) = '0.9 0.9 0.2';
5626 MY(lightradiusfade) = 10000;
5627 MY(lightradius) = 200;
5630 // rifle bullet trail (somewhat like a tracer)
5633 MY(alpha_min) = 256;
5634 MY(alpha_max) = 256;
5635 MY(alpha_fade) = 2560;
5636 MY(color_min) = "0x800000";
5637 MY(color_max) = "0xFF8020";
5638 MY(size_min) = 1.500000;
5639 MY(size_max) = 1.500000;
5640 MY(stretchfactor) = 1;
5641 MY(trailspacing) = 128;
5643 MY(velocitymultiplier) = 0.700000;
5646 MY(airfriction) = -4;
5647 MY(alpha_min) = 256;
5648 MY(alpha_max) = 256;
5649 MY(alpha_fade) = 256;
5650 MY(color_min) = "0x202020";
5651 MY(color_max) = "0x404040";
5652 MY(notunderwater) = true;
5653 MY(sizeincrease) = 0.400000;
5657 MY(trailspacing) = 8;
5659 MY(velocityjitter) = '4.0 4.0 4.0';
5662 MY(alpha_min) = 256;
5663 MY(alpha_max) = 256;
5664 MY(alpha_fade) = 128;
5665 MY(bounce) = 1.500000;
5666 MY(color_min) = "0x404040";
5667 MY(color_max) = "0x808080";
5668 MY(gravity) = -0.125000;
5669 MY(liquidfriction) = 4;
5674 MY(trailspacing) = 32;
5675 MY(type) = "bubble";
5676 MY(underwater) = true;
5677 MY(velocityjitter) = '16.0 16.0 16.0';
5680 // rocket guiding start
5682 // underwater bubbles
5684 MY(alpha_min) = 128;
5685 MY(alpha_max) = 256;
5686 MY(alpha_fade) = 64;
5687 MY(bounce) = 1.500000;
5688 MY(color_min) = "0x404040";
5689 MY(color_max) = "0x808080";
5691 MY(gravity) = -0.125000;
5692 MY(liquidfriction) = 0.250000;
5693 MY(originjitter) = '8.0 8.0 8.0';
5694 MY(size_min) = 1.500000;
5695 MY(size_max) = 1.500000;
5698 MY(type) = "bubble";
5699 MY(underwater) = true;
5700 MY(velocityjitter) = '48.0 48.0 48.0';
5701 MY(velocitymultiplier) = -0.100000;
5705 MY(airfriction) = 0.200000;
5706 MY(alpha_min) = 256;
5707 MY(alpha_max) = 256;
5708 MY(alpha_fade) = 984;
5709 MY(bounce) = 1.500000;
5710 MY(color_min) = "0x903010";
5711 MY(color_max) = "0xFFD030";
5714 MY(liquidfriction) = 0.800000;
5715 MY(notunderwater) = true;
5716 MY(size_min) = 0.300000;
5717 MY(size_max) = 0.700000;
5718 MY(stretchfactor) = 0.400000;
5722 MY(velocityjitter) = '156.0 156.0 156.0';
5723 MY(velocitymultiplier) = -0.300000;
5724 MY(velocityoffset) = '0.0 0.0 80.0';
5727 MY(alpha_min) = 100;
5728 MY(alpha_max) = 100;
5729 MY(alpha_fade) = 500;
5730 MY(color_min) = "0x903010";
5731 MY(color_max) = "0xFFD030";
5732 MY(countabsolute) = 1;
5733 MY(sizeincrease) = 300;
5742 DEF(laser_gauntlet);
5743 SUB(laser_gauntlet) {
5744 MY(airfriction) = 10;
5745 MY(alpha_min) = 128;
5746 MY(alpha_max) = 512;
5747 MY(alpha_fade) = 6280;
5748 MY(color_min) = "0xb44215";
5749 MY(color_max) = "0x880000";
5751 MY(originjitter) = '2.0 2.0 2.0';
5752 MY(startangle_min) = -180;
5753 MY(startangle_max) = 180;
5754 MY(spin_min) = 4000;
5755 MY(spin_max) = -4000;
5756 MY(sizeincrease) = -100;
5759 MY(stretchfactor) = 2.300000;
5763 MY(velocityjitter) = '150.0 150.0 150.0';
5764 MY(velocitymultiplier) = 0.200000;
5766 SUB(laser_gauntlet) {
5767 MY(airfriction) = 12;
5768 MY(alpha_min) = 256;
5769 MY(alpha_max) = 512;
5770 MY(alpha_fade) = 6280;
5771 MY(color_min) = "0xff4200";
5772 MY(color_max) = "0xff0000";
5774 MY(originjitter) = '2.0 2.0 2.0';
5775 MY(sizeincrease) = -100;
5778 MY(stretchfactor) = 2;
5782 MY(velocityjitter) = '100.0 100.0 100.0';
5783 MY(velocitymultiplier) = 0.200000;
5786 DEF(laser_gauntletmuzzleflash);
5788 SUB(laser_gauntletmuzzleflash) {
5789 MY(airfriction) = 10;
5790 MY(alpha_min) = 256;
5791 MY(alpha_max) = 512;
5792 MY(alpha_fade) = 6280;
5793 MY(color_min) = "0x220000";
5794 MY(color_max) = "0x880000";
5795 MY(countabsolute) = 1;
5796 MY(lightcolor) = '3.0 0.1 0.1';
5797 MY(lightradiusfade) = 500;
5798 MY(lightradius) = 150;
5799 MY(sizeincrease) = -100;
5802 MY(stretchfactor) = 2;
5808 SUB(laser_gauntletmuzzleflash) {
5809 MY(airfriction) = 10;
5810 MY(alpha_min) = 128;
5811 MY(alpha_max) = 512;
5812 MY(alpha_fade) = 6280;
5813 MY(color_min) = "0xb44215";
5814 MY(color_max) = "0x880000";
5816 MY(originjitter) = '2.0 2.0 2.0';
5817 MY(startangle_min) = -180;
5818 MY(startangle_max) = 180;
5819 MY(spin_min) = 4000;
5820 MY(spin_max) = -4000;
5821 MY(sizeincrease) = -100;
5824 MY(stretchfactor) = 2.300000;
5828 MY(velocityjitter) = '150.0 150.0 150.0';
5829 MY(velocitymultiplier) = 0.200000;
5832 SUB(laser_gauntletmuzzleflash) {
5833 MY(airfriction) = 12;
5834 MY(alpha_min) = 256;
5835 MY(alpha_max) = 512;
5836 MY(alpha_fade) = 6280;
5837 MY(color_min) = "0xff4200";
5838 MY(color_max) = "0xff0000";
5840 MY(originjitter) = '2.0 2.0 2.0';
5841 MY(sizeincrease) = -100;
5844 MY(stretchfactor) = 2;
5848 MY(velocityjitter) = '100.0 100.0 100.0';
5849 MY(velocitymultiplier) = 0.200000;
5852 // torch flame, spawn it as fast as you can 20 times per second or more, supports direction but not required
5856 MY(airfriction) = 1.200000;
5858 MY(alpha_max) = 256;
5859 MY(alpha_fade) = 250;
5860 MY(color_min) = "0x8f0d00";
5861 MY(color_max) = "0xff5a00";
5863 MY(gravity) = -0.060000;
5864 MY(sizeincrease) = 20;
5870 MY(velocityjitter) = '40.0 40.0 11.0';
5871 MY(velocitymultiplier) = 30;
5875 MY(airfriction) = 1.200000;
5877 MY(alpha_max) = 256;
5878 MY(alpha_fade) = 200;
5879 MY(color_min) = "0x8f0d00";
5880 MY(color_max) = "0xff5a00";
5881 MY(count) = 2.500000;
5882 MY(gravity) = -0.060000;
5883 MY(sizeincrease) = 20;
5889 MY(velocityjitter) = '40.0 40.0 40.0';
5890 MY(velocitymultiplier) = 20;
5892 // very slow and small fire
5894 MY(airfriction) = 0.300000;
5896 MY(alpha_max) = 256;
5897 MY(alpha_fade) = 200;
5898 MY(color_min) = "0x8f0d00";
5899 MY(color_max) = "0xff5a00";
5900 MY(count) = 1.500000;
5901 MY(gravity) = -0.060000;
5902 MY(sizeincrease) = 10;
5908 MY(velocityjitter) = '30.0 30.0 30.0';
5909 MY(velocitymultiplier) = 10;
5913 MY(airfriction) = 0.300000;
5915 MY(alpha_max) = 256;
5916 MY(alpha_fade) = 200;
5917 MY(color_min) = "0x8f0d00";
5918 MY(color_max) = "0xff5a00";
5920 MY(gravity) = -0.060000;
5921 MY(sizeincrease) = -10;
5927 MY(velocityjitter) = '10.0 10.0 10.0';
5928 MY(velocitymultiplier) = 15;
5932 MY(airfriction) = 1;
5933 MY(alpha_min) = 256;
5934 MY(alpha_max) = 256;
5935 MY(alpha_fade) = 90;
5936 MY(color_min) = "0x000000";
5937 MY(color_max) = "0x111111";
5938 MY(count) = 0.500000;
5939 MY(originjitter) = '10.0 10.0 10.0';
5940 MY(sizeincrease) = 7;
5944 MY(type) = "alphastatic";
5945 MY(velocitymultiplier) = 20;
5946 MY(velocityoffset) = '0.0 0.0 10.0';
5949 #include "effectinfo_gentle_happy.inc"
5951 DEF(electro_lightning);
5952 SUB(electro_lightning) {
5953 MY(alpha_min) = 256;
5954 MY(alpha_max) = 256;
5955 MY(countabsolute) = 1;
5956 MY(lightcolor) = '3.1 4.4 10.0';
5957 MY(lightradiusfade) = 500;
5958 MY(lightradius) = 50;
5959 MY(originjitter) = '2.0 2.0 2.0';
5966 SUB(electro_lightning) {
5967 MY(alpha_min) = 100;
5968 MY(alpha_max) = 206;
5969 MY(alpha_fade) = 1724;
5970 MY(color_min) = "0x2030FF";
5971 MY(color_max) = "0x80C0FF";
5973 MY(originjitter) = '1.5 1.5 1.5';
5974 MY(sizeincrease) = 10;
5980 MY(velocityjitter) = '6.0 6.0 6.0';
5981 MY(velocitymultiplier) = 2000;
5983 SUB(electro_lightning) {
5984 MY(airfriction) = 2;
5985 MY(alpha_min) = 110;
5986 MY(alpha_max) = 170;
5987 MY(alpha_fade) = 1500;
5988 MY(color_min) = "0xDDFDFF";
5989 MY(color_max) = "0xFDFDFF";
5991 MY(originjitter) = '1.0 1.0 1.0';
5994 MY(stretchfactor) = 1.500000;
5998 MY(velocityjitter) = '150.0 150.0 150.0';
5999 MY(velocitymultiplier) = 0.500000;
6001 SUB(electro_lightning) {
6002 MY(airfriction) = 8;
6003 MY(alpha_min) = 110;
6004 MY(alpha_max) = 170;
6005 MY(alpha_fade) = 1500;
6006 MY(color_min) = "0xFDFDFF";
6007 MY(color_max) = "0xF9FDFF";
6009 MY(gravity) = 1.300000;
6010 MY(originjitter) = '1.0 1.0 1.0';
6013 MY(stretchfactor) = 0.100000;
6017 MY(velocityjitter) = '350.0 350.0 350.0';
6018 MY(velocitymultiplier) = 2.500000;
6021 DEF(gauntlet_lightning);
6022 SUB(gauntlet_lightning) {
6023 MY(alpha_min) = 256;
6024 MY(alpha_max) = 256;
6025 MY(alpha_fade) = 1024;
6026 MY(color_min) = "0x280000";
6027 MY(color_max) = "0x280000";
6029 MY(originjitter) = '1.5 1.5 1.5';
6030 MY(sizeincrease) = 15;
6036 MY(velocityjitter) = '6.0 6.0 6.0';
6037 MY(velocitymultiplier) = 2000;
6039 SUB(gauntlet_lightning) {
6040 MY(airfriction) = 2;
6041 MY(alpha_min) = 110;
6042 MY(alpha_max) = 228;
6043 MY(alpha_fade) = 1024;
6044 MY(color_min) = "0xDD0000";
6045 MY(color_max) = "0xFD0000";
6047 MY(originjitter) = '1.0 1.0 1.0';
6050 MY(stretchfactor) = 1.500000;
6054 MY(velocityjitter) = '150.0 150.0 150.0';
6055 MY(velocitymultiplier) = 0.500000;
6057 SUB(gauntlet_lightning) {
6058 MY(airfriction) = 8;
6059 MY(alpha_min) = 110;
6060 MY(alpha_max) = 228;
6061 MY(alpha_fade) = 600;
6062 MY(color_min) = "0xFD0000";
6063 MY(color_max) = "0xF90000";
6065 MY(gravity) = 1.300000;
6066 MY(originjitter) = '1.0 1.0 1.0';
6069 MY(stretchfactor) = 0.100000;
6073 MY(velocityjitter) = '350.0 350.0 350.0';
6074 MY(velocitymultiplier) = 2.500000;
6077 DEF(crylink_joinexplode);
6079 SUB(crylink_joinexplode) {
6080 MY(alpha_min) = 256;
6081 MY(alpha_max) = 256;
6082 MY(countabsolute) = 1;
6083 MY(originjitter) = '12.0 12.0 12.0';
6090 // purple flare effect
6091 SUB(crylink_joinexplode) {
6092 MY(alpha_min) = 256;
6093 MY(alpha_max) = 256;
6094 MY(alpha_fade) = 512;
6095 MY(color_min) = "0x504060";
6096 MY(color_max) = "0x504060";
6097 MY(countabsolute) = 1;
6102 MY(type) = "static";
6105 SUB(crylink_joinexplode) {
6106 MY(alpha_min) = 256;
6107 MY(alpha_max) = 256;
6108 MY(alpha_fade) = 1024;
6110 MY(color_min) = "0xA040C0";
6111 MY(color_max) = "0xA040C0";
6118 MY(velocityjitter) = '512.0 512.0 512.0';
6121 SUB(crylink_joinexplode) {
6122 MY(alpha_min) = 256;
6123 MY(alpha_max) = 256;
6124 MY(alpha_fade) = 512;
6125 MY(color_min) = "0xE070FF";
6126 MY(color_max) = "0xE070FF";
6127 MY(count) = 1.500000;
6130 MY(type) = "static";
6131 MY(velocityjitter) = '32.0 32.0 32.0';
6134 SUB(crylink_joinexplode) {
6135 MY(alpha_min) = 256;
6136 MY(alpha_max) = 256;
6137 MY(alpha_fade) = 1024;
6138 MY(color_min) = "0xE070FF";
6139 MY(color_max) = "0xE070FF";
6143 MY(type) = "static";
6144 MY(velocityjitter) = '256.0 256.0 256.0';
6147 // sparks for keepaway ball touch
6149 SUB(kaball_sparks) {
6150 MY(airfriction) = 3;
6151 MY(alpha_max) = 256;
6152 MY(alpha_fade) = 556;
6153 MY(bounce) = 1.500000;
6154 MY(color_min) = "0xa9cacf";
6155 MY(color_max) = "0x0054ff";
6158 MY(originjitter) = '1.0 1.0 1.0';
6164 MY(velocityjitter) = '300.0 300.0 300.0';
6165 MY(velocitymultiplier) = 0.500000;
6168 // weak rifle bullet trail (somewhat like a tracer)
6170 SUB(tr_rifle_weak) {
6171 MY(alpha_min) = 256;
6172 MY(alpha_max) = 256;
6173 MY(alpha_fade) = 2560;
6174 MY(color_min) = "0x800000";
6175 MY(color_max) = "0xFF8020";
6176 MY(size_min) = 1.500000;
6177 MY(size_max) = 1.500000;
6178 MY(stretchfactor) = 1;
6179 MY(trailspacing) = 128;
6181 MY(velocitymultiplier) = 0.700000;
6183 SUB(tr_rifle_weak) {
6184 MY(airfriction) = -4;
6185 MY(alpha_min) = 256;
6186 MY(alpha_max) = 256;
6187 MY(alpha_fade) = 256;
6188 MY(color_min) = "0x202020";
6189 MY(color_max) = "0x404040";
6190 MY(notunderwater) = true;
6191 MY(sizeincrease) = 0.400000;
6195 MY(trailspacing) = 48;
6197 MY(velocityjitter) = '4.0 4.0 4.0';
6199 SUB(tr_rifle_weak) {
6200 MY(alpha_min) = 256;
6201 MY(alpha_max) = 256;
6202 MY(alpha_fade) = 128;
6203 MY(bounce) = 1.500000;
6204 MY(color_min) = "0x404040";
6205 MY(color_max) = "0x808080";
6206 MY(gravity) = -0.125000;
6207 MY(liquidfriction) = 4;
6212 MY(trailspacing) = 192;
6213 MY(type) = "bubble";
6214 MY(underwater) = true;
6215 MY(velocityjitter) = '16.0 16.0 16.0';
6221 MY(airfriction) = -1;
6224 MY(alpha_fade) = 32;
6225 MY(color_min) = "0xff8866";
6226 MY(color_max) = "0x331100";
6228 MY(gravity) = -0.007000;
6229 MY(startangle_max) = 360;
6236 MY(velocitymultiplier) = 5;
6239 // pipe smoke emiter
6242 MY(airfriction) = -1;
6245 MY(alpha_fade) = 48;
6246 MY(color_min) = "0x999999";
6247 MY(color_max) = "0x555555";
6249 MY(gravity) = -0.015000;
6250 MY(startangle_max) = 360;
6251 MY(spin_min) = -180;
6253 MY(sizeincrease) = 35;
6258 MY(velocityjitter) = '0.0 0.0 5.0';
6259 MY(velocitymultiplier) = 15;
6262 // seeker missile trail
6265 MY(alpha_min) = 200;
6266 MY(alpha_max) = 300;
6267 MY(alpha_fade) = 200;
6269 MY(color_min) = "0x000000";
6270 MY(color_max) = "0x666666";
6271 MY(lightcolor) = '6.0 3.0 1.0';
6272 MY(lightradius) = 100;
6273 MY(notunderwater) = true;
6274 MY(originjitter) = '2.0 2.0 2.0';
6275 MY(startangle_min) = -180;
6276 MY(startangle_max) = 180;
6279 MY(sizeincrease) = 11;
6283 MY(trailspacing) = 10;
6285 MY(velocityjitter) = '3.0 3.0 3.0';
6286 MY(velocitymultiplier) = -0.020000;
6290 MY(airfriction) = 8;
6291 MY(alpha_min) = 100;
6292 MY(alpha_max) = 144;
6293 MY(alpha_fade) = 588;
6294 MY(color_min) = "0xffdf72";
6295 MY(color_max) = "0x811200";
6296 MY(sizeincrease) = -30;
6301 MY(trailspacing) = 4;
6302 MY(type) = "static";
6303 MY(velocityjitter) = '32.0 32.0 32.0';
6304 MY(velocitymultiplier) = -1.500000;
6308 MY(alpha_min) = 256;
6309 MY(alpha_max) = 256;
6310 MY(alpha_fade) = 256;
6311 MY(bounce) = 1.500000;
6312 MY(gravity) = -0.125000;
6313 MY(liquidfriction) = 4;
6318 MY(trailspacing) = 16;
6319 MY(type) = "bubble";
6320 MY(underwater) = true;
6321 MY(velocityjitter) = '16.0 16.0 16.0';
6322 MY(velocitymultiplier) = -0.310000;
6326 MY(airfriction) = 5;
6327 MY(alpha_min) = 444;
6328 MY(alpha_max) = 512;
6329 MY(alpha_fade) = 1866;
6331 MY(color_min) = "0xFFFDD9";
6332 MY(color_max) = "0xFFFDD9";
6333 MY(notunderwater) = true;
6334 MY(originjitter) = '1.0 1.0 1.0';
6335 MY(size_min) = 0.500000;
6336 MY(size_max) = 0.500000;
6337 MY(stretchfactor) = 0.300000;
6340 MY(trailspacing) = 20;
6342 MY(velocityjitter) = '100.0 100.0 100.0';
6343 MY(velocitymultiplier) = -0.310000;
6346 #include "effectinfo_vehicles.inc"
6348 // generic explosion size:big (biggest explosion ever)
6351 SUB(explosion_big) {
6352 MY(alpha_min) = 256;
6353 MY(alpha_max) = 256;
6354 MY(countabsolute) = 1;
6355 MY(lightcolor) = '8.0 4.0 0.0';
6356 MY(lightradiusfade) = 1750;
6357 MY(lightradius) = 600;
6358 MY(originjitter) = '23.0 23.0 23.0';
6366 SUB(explosion_big) {
6369 MY(alpha_fade) = 330;
6370 MY(color_min) = "0x8f0d00";
6371 MY(color_max) = "0xff5a00";
6372 MY(countabsolute) = 1;
6373 MY(sizeincrease) = 4400;
6378 MY(type) = "static";
6381 SUB(explosion_big) {
6382 MY(airfriction) = 8;
6383 MY(alpha_min) = 200;
6384 MY(alpha_max) = 256;
6385 MY(alpha_fade) = 712;
6386 MY(color_min) = "0x8f0d00";
6387 MY(color_max) = "0xff5a00";
6389 MY(liquidfriction) = 8;
6390 MY(notunderwater) = true;
6391 MY(originjitter) = '80.0 80.0 80.0';
6392 MY(sizeincrease) = 45;
6397 MY(type) = "static";
6398 MY(velocityjitter) = '2512.0 2512.0 2512.0';
6401 SUB(explosion_big) {
6402 MY(airfriction) = -5;
6403 MY(alpha_min) = 200;
6404 MY(alpha_max) = 256;
6405 MY(alpha_fade) = 800;
6406 MY(color_min) = "0x8f0d00";
6407 MY(color_max) = "0xff5a00";
6409 MY(liquidfriction) = 8;
6410 MY(notunderwater) = true;
6411 MY(originjitter) = '40.0 40.0 40.0';
6412 MY(sizeincrease) = 45;
6415 MY(stretchfactor) = 10;
6419 MY(velocityjitter) = '512.0 512.0 512.0';
6422 SUB(explosion_big) {
6423 MY(airfriction) = 8;
6424 MY(alpha_min) = 300;
6425 MY(alpha_max) = 650;
6426 MY(alpha_fade) = 456;
6427 MY(color_min) = "0x4F4B46";
6428 MY(color_max) = "0x000000";
6430 MY(notunderwater) = true;
6431 MY(sizeincrease) = 244;
6435 MY(type) = "alphastatic";
6436 MY(velocityjitter) = '3444.0 3444.0 3444.0';
6439 SUB(explosion_big) {
6440 MY(airfriction) = 1;
6441 MY(alpha_min) = 644;
6442 MY(alpha_max) = 956;
6443 MY(alpha_fade) = 1284;
6444 MY(color_min) = "0xffa35b";
6445 MY(color_max) = "0xfff2be";
6448 MY(liquidfriction) = 0.800000;
6449 MY(notunderwater) = true;
6450 MY(originjitter) = '160.0 160.0 160.0';
6453 MY(stretchfactor) = 0.700000;
6457 MY(velocityjitter) = '924.0 924.0 924.0';
6458 MY(velocityoffset) = '0.0 0.0 370.0';
6461 SUB(explosion_big) {
6462 MY(airfriction) = 0.500000;
6463 MY(alpha_min) = 444;
6464 MY(alpha_max) = 1356;
6465 MY(alpha_fade) = 1184;
6466 MY(color_min) = "0xFFFFFF";
6467 MY(color_max) = "0xcac5b4";
6469 MY(gravity) = 2.300000;
6470 MY(notunderwater) = true;
6471 MY(startangle_min) = -180;
6472 MY(startangle_max) = 180;
6473 MY(spin_min) = -1000;
6474 MY(spin_max) = 1000;
6475 MY(sizeincrease) = -5;
6480 MY(type) = "alphastatic";
6481 MY(velocityjitter) = '1800.0 1800.0 1800.0';
6482 MY(velocityoffset) = '0.0 0.0 970.0';
6484 // underwater bubbles
6485 SUB(explosion_big) {
6486 MY(alpha_min) = 128;
6487 MY(alpha_max) = 256;
6488 MY(alpha_fade) = 64;
6489 MY(bounce) = 1.500000;
6490 MY(color_min) = "0x404040";
6491 MY(color_max) = "0x808080";
6493 MY(gravity) = -0.125000;
6494 MY(liquidfriction) = 0.250000;
6495 MY(originjitter) = '160.0 160.0 160.0';
6500 MY(type) = "bubble";
6501 MY(underwater) = true;
6502 MY(velocityjitter) = '444.0 444.0 444.0';
6504 // underwatershockwave
6505 SUB(explosion_big) {
6508 MY(alpha_fade) = 300;
6509 MY(countabsolute) = 1;
6510 MY(sizeincrease) = 2900;
6516 MY(underwater) = true;
6517 MY(velocitymultiplier) = 0.300000;
6520 // generic explosion size:medium (it leaves rising smoke for a longer time)
6521 DEF(explosion_medium);
6523 SUB(explosion_medium) {
6526 MY(alpha_fade) = 330;
6527 MY(color_min) = "0x8f0d00";
6528 MY(color_max) = "0xff5a00";
6529 MY(countabsolute) = 1;
6530 MY(sizeincrease) = 2400;
6535 MY(type) = "static";
6538 SUB(explosion_medium) {
6539 MY(airfriction) = 8;
6540 MY(alpha_min) = 200;
6541 MY(alpha_max) = 256;
6542 MY(alpha_fade) = 712;
6543 MY(color_min) = "0x8f0d00";
6544 MY(color_max) = "0xff5a00";
6546 MY(liquidfriction) = 8;
6547 MY(notunderwater) = true;
6548 MY(originjitter) = '30.0 30.0 30.0';
6549 MY(startangle_min) = -180;
6550 MY(startangle_max) = 180;
6551 MY(spin_min) = -500;
6553 MY(sizeincrease) = 45;
6558 MY(type) = "static";
6559 MY(velocityjitter) = '1512.0 1512.0 1512.0';
6562 SUB(explosion_medium) {
6563 MY(airfriction) = 8;
6564 MY(alpha_min) = 200;
6565 MY(alpha_max) = 256;
6566 MY(alpha_fade) = 612;
6567 MY(color_min) = "0x8f0d00";
6568 MY(color_max) = "0xff5a00";
6571 MY(liquidfriction) = 8;
6572 MY(notunderwater) = true;
6573 MY(originjitter) = '30.0 30.0 30.0';
6574 MY(startangle_min) = -180;
6575 MY(startangle_max) = 180;
6576 MY(spin_min) = -150;
6578 MY(sizeincrease) = 40;
6583 MY(type) = "static";
6584 MY(velocityjitter) = '1512.0 1512.0 1512.0';
6587 SUB(explosion_medium) {
6588 MY(airfriction) = -3;
6589 MY(alpha_min) = 200;
6590 MY(alpha_max) = 256;
6591 MY(alpha_fade) = 800;
6592 MY(color_min) = "0x8f0d00";
6593 MY(color_max) = "0xff5a00";
6595 MY(liquidfriction) = 8;
6596 MY(notunderwater) = true;
6597 MY(originjitter) = '40.0 40.0 40.0';
6598 MY(sizeincrease) = 40;
6601 MY(stretchfactor) = 8;
6605 MY(velocityjitter) = '512.0 512.0 512.0';
6608 SUB(explosion_medium) {
6609 MY(airfriction) = 3;
6610 MY(alpha_min) = 300;
6611 MY(alpha_max) = 650;
6612 MY(alpha_fade) = 756;
6613 MY(color_min) = "0x4F4B46";
6614 MY(color_max) = "0x000000";
6616 MY(notunderwater) = true;
6617 MY(originjitter) = '100.0 100.0 100.0';
6618 MY(startangle_min) = -180;
6619 MY(startangle_max) = 180;
6622 MY(sizeincrease) = -30;
6626 MY(type) = "alphastatic";
6627 MY(velocityjitter) = '200.0 200.0 200.0';
6630 SUB(explosion_medium) {
6631 MY(airfriction) = 3;
6632 MY(alpha_min) = 300;
6633 MY(alpha_max) = 650;
6634 MY(alpha_fade) = 256;
6635 MY(color_min) = "0x4F4B46";
6636 MY(color_max) = "0x000000";
6638 MY(gravity) = -0.300000;
6639 MY(notunderwater) = true;
6640 MY(originjitter) = '100.0 100.0 100.0';
6641 MY(startangle_min) = -180;
6642 MY(startangle_max) = 180;
6645 MY(sizeincrease) = 50;
6649 MY(type) = "alphastatic";
6650 MY(velocityjitter) = '500.0 500.0 500.0';
6651 MY(velocityoffset) = '0.0 0.0 200.0';
6654 SUB(explosion_medium) {
6655 MY(alpha_min) = 140;
6656 MY(alpha_max) = 255;
6657 MY(alpha_fade) = 350;
6658 MY(color_min) = "0x4F4B46";
6659 MY(color_max) = "0x000000";
6661 MY(notunderwater) = true;
6662 MY(originjitter) = '40.0 40.0 40.0';
6663 MY(sizeincrease) = 100;
6666 MY(stretchfactor) = 50;
6669 MY(velocityjitter) = '250.0 250.0 250.0';
6672 SUB(explosion_medium) {
6673 MY(airfriction) = 1;
6674 MY(alpha_min) = 644;
6675 MY(alpha_max) = 956;
6676 MY(alpha_fade) = 984;
6677 MY(color_min) = "0xffa35b";
6678 MY(color_max) = "0xfff2be";
6681 MY(liquidfriction) = 0.800000;
6682 MY(notunderwater) = true;
6683 MY(originjitter) = '100.0 100.0 100.0';
6686 MY(stretchfactor) = 0.700000;
6690 MY(velocityjitter) = '624.0 624.0 624.0';
6691 MY(velocityoffset) = '0.0 0.0 370.0';
6693 // underwater bubbles
6694 SUB(explosion_medium) {
6695 MY(alpha_min) = 128;
6696 MY(alpha_max) = 256;
6697 MY(alpha_fade) = 64;
6698 MY(bounce) = 1.500000;
6699 MY(color_min) = "0x404040";
6700 MY(color_max) = "0x808080";
6702 MY(gravity) = -0.125000;
6703 MY(liquidfriction) = 0.250000;
6704 MY(originjitter) = '160.0 160.0 160.0';
6709 MY(type) = "bubble";
6710 MY(underwater) = true;
6711 MY(velocityjitter) = '444.0 444.0 444.0';
6713 // underwatershockwave
6714 SUB(explosion_medium) {
6717 MY(alpha_fade) = 300;
6718 MY(countabsolute) = 1;
6719 MY(sizeincrease) = 2900;
6725 MY(underwater) = true;
6726 MY(velocitymultiplier) = 0.300000;
6729 // generic explosion size:small (its fire only, made to support other explosions)
6730 DEF(explosion_small);
6732 SUB(explosion_small) {
6735 MY(alpha_fade) = 330;
6736 MY(color_min) = "0x8f0d00";
6737 MY(color_max) = "0xff5a00";
6738 MY(countabsolute) = 1;
6739 MY(sizeincrease) = 2400;
6744 MY(type) = "static";
6747 SUB(explosion_small) {
6748 MY(airfriction) = 5;
6749 MY(alpha_min) = 200;
6750 MY(alpha_max) = 256;
6751 MY(alpha_fade) = 1212;
6752 MY(color_min) = "0x8f0d00";
6753 MY(color_max) = "0xff5a00";
6755 MY(liquidfriction) = 8;
6756 MY(notunderwater) = true;
6757 MY(startangle_min) = -180;
6758 MY(startangle_max) = 180;
6759 MY(spin_min) = -500;
6761 MY(sizeincrease) = 45;
6766 MY(type) = "static";
6767 MY(velocityjitter) = '512.0 512.0 512.0';
6770 SUB(explosion_small) {
6771 MY(airfriction) = 8;
6772 MY(alpha_min) = 200;
6773 MY(alpha_max) = 256;
6774 MY(alpha_fade) = 812;
6775 MY(color_min) = "0x8f0d00";
6776 MY(color_max) = "0xff5a00";
6778 MY(liquidfriction) = 8;
6779 MY(notunderwater) = true;
6780 MY(startangle_min) = -180;
6781 MY(startangle_max) = 180;
6782 MY(spin_min) = -150;
6784 MY(sizeincrease) = 40;
6789 MY(type) = "static";
6790 MY(velocityjitter) = '912.0 912.0 912.0';
6793 SUB(explosion_small) {
6794 MY(airfriction) = -3;
6795 MY(alpha_min) = 200;
6796 MY(alpha_max) = 256;
6797 MY(alpha_fade) = 1300;
6798 MY(color_min) = "0x8f0d00";
6799 MY(color_max) = "0xff5a00";
6801 MY(liquidfriction) = 8;
6802 MY(notunderwater) = true;
6803 MY(originjitter) = '40.0 40.0 40.0';
6804 MY(sizeincrease) = 30;
6807 MY(stretchfactor) = 8;
6811 MY(velocityjitter) = '512.0 512.0 512.0';
6813 // underwater bubbles
6814 SUB(explosion_small) {
6815 MY(alpha_min) = 128;
6816 MY(alpha_max) = 256;
6817 MY(alpha_fade) = 64;
6818 MY(bounce) = 1.500000;
6819 MY(color_min) = "0x404040";
6820 MY(color_max) = "0x808080";
6822 MY(gravity) = -0.125000;
6823 MY(liquidfriction) = 0.250000;
6824 MY(originjitter) = '160.0 160.0 160.0';
6829 MY(type) = "bubble";
6830 MY(underwater) = true;
6831 MY(velocityjitter) = '144.0 144.0 144.0';
6833 // underwatershockwave
6834 SUB(explosion_small) {
6837 MY(alpha_fade) = 300;
6838 MY(countabsolute) = 1;
6839 MY(sizeincrease) = 1200;
6845 MY(underwater) = true;
6848 // big smoke ( for spamming on damaged stuff )
6851 MY(airfriction) = 4;
6852 MY(alpha_min) = 200;
6853 MY(alpha_max) = 750;
6854 MY(alpha_fade) = 200;
6855 MY(color_min) = "0x4F4B46";
6856 MY(color_max) = "0x000000";
6858 MY(gravity) = -0.500000;
6859 MY(notunderwater) = true;
6860 MY(originjitter) = '55.0 55.0 55.0';
6861 MY(startangle_min) = -180;
6862 MY(startangle_max) = 180;
6865 MY(sizeincrease) = 15;
6869 MY(type) = "alphastatic";
6870 MY(velocityjitter) = '140.0 140.0 200.0';
6871 MY(velocityoffset) = '0.0 0.0 200.0';
6874 // small smoke ( more precise than big one, for spamming on damaged parts like raptors spinner )
6877 MY(airfriction) = 4;
6878 MY(alpha_min) = 200;
6879 MY(alpha_max) = 750;
6880 MY(alpha_fade) = 200;
6881 MY(color_min) = "0x4F4B46";
6882 MY(color_max) = "0x000000";
6884 MY(gravity) = -0.500000;
6885 MY(notunderwater) = true;
6886 MY(startangle_min) = -180;
6887 MY(startangle_max) = 180;
6890 MY(sizeincrease) = -10;
6894 MY(type) = "alphastatic";
6895 MY(velocityjitter) = '40.0 40.0 400.0';
6896 MY(velocityoffset) = '0.0 0.0 200.0';
6899 // metal impact effect
6904 MY(alpha_fade) = 50;
6905 MY(color_min) = "0x000000";
6906 MY(color_max) = "0x886666";
6908 MY(gravity) = -0.010000;
6909 MY(originjitter) = '20.0 20.0 5.0';
6910 MY(sizeincrease) = 10;
6914 MY(type) = "alphastatic";
6918 MY(airfriction) = 2;
6919 MY(alpha_min) = 255;
6920 MY(alpha_max) = 255;
6921 MY(alpha_fade) = 112;
6922 MY(bounce) = 1.800000;
6923 MY(color_min) = "0xFFCC22";
6924 MY(color_max) = "0xFF4422";
6929 MY(stretchfactor) = 0.500000;
6933 MY(velocityjitter) = '200.0 200.0 300.0';
6934 MY(velocitymultiplier) = 2;
6937 // stone impact effect
6941 MY(alpha_max) = 128;
6942 MY(alpha_fade) = 75;
6943 MY(color_min) = "0x000000";
6944 MY(color_max) = "0xcc9966";
6946 MY(gravity) = -0.010000;
6947 MY(originjitter) = '20.0 20.0 5.0';
6948 MY(sizeincrease) = 15;
6952 MY(type) = "alphastatic";
6956 MY(airfriction) = 0.500000;
6957 MY(alpha_min) = 450;
6958 MY(alpha_max) = 750;
6959 MY(alpha_fade) = 300;
6960 MY(bounce) = 1.200000;
6961 MY(color_min) = "0x000000";
6962 MY(color_max) = "0x886644";
6964 MY(gravity) = 1.300000;
6965 MY(notunderwater) = true;
6966 MY(startangle_min) = -180;
6967 MY(startangle_max) = 180;
6968 MY(spin_min) = -1000;
6969 MY(spin_max) = 1000;
6974 MY(type) = "alphastatic";
6975 MY(velocityjitter) = '124.0 124.0 324.0';
6978 // wood impact effect
6982 MY(alpha_max) = 128;
6983 MY(alpha_fade) = 75;
6984 MY(color_min) = "0x000000";
6985 MY(color_max) = "0xcc9966";
6987 MY(gravity) = -0.010000;
6988 MY(originjitter) = '20.0 20.0 5.0';
6989 MY(sizeincrease) = 10;
6993 MY(type) = "alphastatic";
6997 MY(airfriction) = 2;
6998 MY(alpha_min) = 255;
6999 MY(alpha_max) = 255;
7000 MY(alpha_fade) = 75;
7001 MY(bounce) = 1.500000;
7002 MY(color_min) = "0x221100";
7003 MY(color_max) = "0x221100";
7011 MY(velocityjitter) = '180.0 180.0 260.0';
7012 MY(velocitymultiplier) = 2;
7015 // flesh impact effect
7018 MY(alpha_min) = 100;
7019 MY(alpha_max) = 256;
7020 MY(alpha_fade) = 400;
7021 MY(color_min) = "0x000000";
7022 MY(color_max) = "0x420000";
7023 MY(count) = 0.500000;
7024 MY(originjitter) = '11.0 11.0 11.0';
7028 MY(type) = "alphastatic";
7032 MY(airfriction) = 1;
7033 MY(alpha_min) = 256;
7034 MY(alpha_max) = 256;
7035 MY(alpha_fade) = 64;
7037 MY(color_min) = "0xA8FFFF";
7038 MY(color_max) = "0xA8FFFFF";
7039 MY(count) = 0.300000;
7040 MY(liquidfriction) = 4;
7043 MY(staincolor_min) = "0x808080";
7044 MY(staincolor_max) = "0x808080";
7045 MY(staintex_min) = 16;
7046 MY(staintex_max) = 24;
7050 MY(velocityjitter) = '96.0 96.0 96.0';
7051 MY(velocitymultiplier) = 5;
7058 MY(alpha_min) = 300;
7059 MY(alpha_max) = 400;
7060 MY(alpha_fade) = 780;
7062 MY(color_min) = "0x101010";
7063 MY(color_max) = "0x000000";
7064 MY(originjitter) = '1.0 1.0 1.0';
7065 MY(sizeincrease) = 10;
7069 MY(trailspacing) = 4;
7071 MY(velocityjitter) = '1.0 1.0 1.0';
7072 MY(velocitymultiplier) = -0.020000;
7076 MY(airfriction) = 8;
7077 MY(alpha_min) = 100;
7078 MY(alpha_max) = 144;
7079 MY(alpha_fade) = 988;
7080 MY(color_min) = "0xffdf72";
7081 MY(color_max) = "0x811200";
7082 MY(notunderwater) = true;
7083 MY(sizeincrease) = -15;
7088 MY(trailspacing) = 4;
7089 MY(type) = "static";
7090 MY(velocityjitter) = '32.0 32.0 32.0';
7091 MY(velocitymultiplier) = -1;
7095 MY(alpha_min) = 256;
7096 MY(alpha_max) = 256;
7097 MY(alpha_fade) = 256;
7098 MY(bounce) = 1.500000;
7099 MY(color_min) = "0x404040";
7100 MY(color_max) = "0x808080";
7101 MY(gravity) = -0.125000;
7102 MY(liquidfriction) = 4;
7107 MY(trailspacing) = 16;
7108 MY(type) = "bubble";
7109 MY(underwater) = true;
7110 MY(velocityjitter) = '16.0 16.0 16.0';
7113 // laser damage effect
7116 MY(airfriction) = -0.350000;
7117 MY(alpha_min) = 128;
7119 MY(alpha_fade) = 128;
7120 MY(color_min) = "0x880000";
7121 MY(color_max) = "0xff4400";
7123 MY(notunderwater) = true;
7124 MY(originjitter) = '2.0 2.0 2.0';
7125 MY(startangle_max) = 180;
7128 MY(sizeincrease) = 8;
7133 MY(velocityjitter) = '0.4 0.4 0.6';
7136 // shotgun damage effect, normal blood
7137 DEF(damage_shotgun);
7138 SUB(damage_shotgun) {
7139 MY(airfriction) = 1;
7140 MY(alpha_min) = 256;
7141 MY(alpha_max) = 256;
7142 MY(alpha_fade) = 64;
7144 MY(color_min) = "0xA8FFFF";
7145 MY(color_max) = "0xA8FFFFF";
7146 MY(count) = 0.600000;
7147 MY(liquidfriction) = 4;
7150 MY(staincolor_min) = "0x808080";
7151 MY(staincolor_max) = "0x808080";
7152 MY(staintex_min) = 16;
7153 MY(staintex_max) = 24;
7157 MY(velocityjitter) = '64.0 64.0 64.0';
7158 MY(velocitymultiplier) = 5;
7161 SUB(damage_shotgun) {
7162 MY(alpha_min) = 100;
7163 MY(alpha_max) = 256;
7164 MY(alpha_fade) = 400;
7165 MY(color_min) = "0x000000";
7166 MY(color_max) = "0x420000";
7168 MY(originjitter) = '1.0 1.0 1.0';
7172 MY(type) = "alphastatic";
7175 // shotgun damage effect, alien blood
7176 DEF(damage_shotgun_alien);
7177 SUB(damage_shotgun_alien) {
7178 MY(airfriction) = 1;
7179 MY(alpha_min) = 256;
7180 MY(alpha_max) = 256;
7181 MY(alpha_fade) = 64;
7183 MY(color_min) = "0xDC9BCD";
7184 MY(color_max) = "0xDC9BCD";
7185 MY(count) = 0.600000;
7186 MY(liquidfriction) = 4;
7189 MY(staincolor_min) = "0x808080";
7190 MY(staincolor_max) = "0x808080";
7191 MY(staintex_min) = 16;
7192 MY(staintex_max) = 24;
7196 MY(velocityjitter) = '64.0 64.0 64.0';
7197 MY(velocitymultiplier) = 5;
7200 SUB(damage_shotgun_alien) {
7201 MY(alpha_min) = 100;
7202 MY(alpha_max) = 256;
7203 MY(alpha_fade) = 400;
7204 MY(color_min) = "0x000000";
7205 MY(color_max) = "0x204010";
7207 MY(originjitter) = '1.0 1.0 1.0';
7211 MY(type) = "alphastatic";
7214 // shotgun damage effect, robot blood
7215 DEF(damage_shotgun_robot);
7216 SUB(damage_shotgun_robot) {
7217 MY(airfriction) = 1;
7218 MY(alpha_min) = 256;
7219 MY(alpha_max) = 256;
7220 MY(alpha_fade) = 64;
7222 MY(color_min) = "0xC0D890";
7223 MY(color_max) = "0xC0D890";
7224 MY(count) = 0.600000;
7225 MY(liquidfriction) = 4;
7228 MY(staincolor_min) = "0x808080";
7229 MY(staincolor_max) = "0x808080";
7230 MY(staintex_min) = 16;
7231 MY(staintex_max) = 24;
7235 MY(velocityjitter) = '64.0 64.0 64.0';
7236 MY(velocitymultiplier) = 5;
7239 SUB(damage_shotgun_robot) {
7240 MY(alpha_min) = 100;
7241 MY(alpha_max) = 256;
7242 MY(alpha_fade) = 400;
7243 MY(color_min) = "0x000000";
7244 MY(color_max) = "0x301860";
7246 MY(originjitter) = '1.0 1.0 1.0';
7250 MY(type) = "alphastatic";
7253 // machinegun damage effect, normal blood
7256 MY(airfriction) = 1;
7257 MY(alpha_min) = 256;
7258 MY(alpha_max) = 256;
7259 MY(alpha_fade) = 64;
7261 MY(color_min) = "0xA8FFFF";
7262 MY(color_max) = "0xA8FFFFF";
7263 MY(count) = 0.300000;
7264 MY(liquidfriction) = 4;
7267 MY(staincolor_min) = "0x808080";
7268 MY(staincolor_max) = "0x808080";
7269 MY(staintex_min) = 16;
7270 MY(staintex_max) = 24;
7274 MY(velocityjitter) = '32.0 32.0 32.0';
7275 MY(velocitymultiplier) = 5;
7279 MY(alpha_min) = 100;
7280 MY(alpha_max) = 256;
7281 MY(alpha_fade) = 400;
7282 MY(color_min) = "0x000000";
7283 MY(color_max) = "0x420000";
7288 MY(type) = "alphastatic";
7291 // machinegun damage effect, alien blood
7292 DEF(damage_uzi_alien);
7293 SUB(damage_uzi_alien) {
7294 MY(airfriction) = 1;
7295 MY(alpha_min) = 256;
7296 MY(alpha_max) = 256;
7297 MY(alpha_fade) = 64;
7299 MY(color_min) = "0xDC9BCD";
7300 MY(color_max) = "0xDC9BCD";
7301 MY(count) = 0.300000;
7302 MY(liquidfriction) = 4;
7305 MY(staincolor_min) = "0x808080";
7306 MY(staincolor_max) = "0x808080";
7307 MY(staintex_min) = 16;
7308 MY(staintex_max) = 24;
7312 MY(velocityjitter) = '32.0 32.0 32.0';
7313 MY(velocitymultiplier) = 5;
7316 SUB(damage_uzi_alien) {
7317 MY(alpha_min) = 100;
7318 MY(alpha_max) = 256;
7319 MY(alpha_fade) = 400;
7320 MY(color_min) = "0x000000";
7321 MY(color_max) = "0x204010";
7326 MY(type) = "alphastatic";
7329 // machinegun damage effect, robot blood
7330 DEF(damage_uzi_robot);
7331 SUB(damage_uzi_robot) {
7332 MY(airfriction) = 1;
7333 MY(alpha_min) = 256;
7334 MY(alpha_max) = 256;
7335 MY(alpha_fade) = 64;
7337 MY(color_min) = "0xC0D890";
7338 MY(color_max) = "0xC0D890";
7339 MY(count) = 0.300000;
7340 MY(liquidfriction) = 4;
7343 MY(staincolor_min) = "0x808080";
7344 MY(staincolor_max) = "0x808080";
7345 MY(staintex_min) = 16;
7346 MY(staintex_max) = 24;
7350 MY(velocityjitter) = '32.0 32.0 32.0';
7351 MY(velocitymultiplier) = 5;
7354 SUB(damage_uzi_robot) {
7355 MY(alpha_min) = 100;
7356 MY(alpha_max) = 256;
7357 MY(alpha_fade) = 400;
7358 MY(color_min) = "0x000000";
7359 MY(color_max) = "0x301860";
7364 MY(type) = "alphastatic";
7367 // minelayer damage effect
7368 DEF(damage_minelayer);
7369 SUB(damage_minelayer) {
7370 MY(alpha_min) = 512;
7372 MY(alpha_fade) = 1024;
7373 MY(color_min) = "0x8f0d00";
7374 MY(color_max) = "0xff5a00";
7376 MY(gravity) = -0.500000;
7377 MY(notunderwater) = true;
7378 MY(originjitter) = '2.0 2.0 2.0';
7379 MY(sizeincrease) = -15;
7385 MY(velocityjitter) = '22.0 22.0 50.0';
7388 SUB(damage_minelayer) {
7389 MY(alpha_min) = 128;
7391 MY(alpha_fade) = 128;
7392 MY(color_min) = "0x000000";
7393 MY(color_max) = "0x111111";
7395 MY(gravity) = -0.300000;
7396 MY(notunderwater) = true;
7397 MY(originjitter) = '4.0 4.0 4.0';
7398 MY(sizeincrease) = 5;
7402 MY(type) = "alphastatic";
7403 MY(velocityjitter) = '11.0 11.0 50.0';
7406 // mortar damage effect
7407 DEF(damage_grenadelauncher);
7408 SUB(damage_grenadelauncher) {
7409 MY(alpha_min) = 512;
7411 MY(alpha_fade) = 1024;
7412 MY(color_min) = "0x8f0d00";
7413 MY(color_max) = "0xff5a00";
7415 MY(gravity) = -0.500000;
7416 MY(notunderwater) = true;
7417 MY(originjitter) = '2.0 2.0 2.0';
7418 MY(sizeincrease) = -15;
7424 MY(velocityjitter) = '22.0 22.0 50.0';
7427 SUB(damage_grenadelauncher) {
7428 MY(alpha_min) = 128;
7430 MY(alpha_fade) = 128;
7431 MY(color_min) = "0x000000";
7432 MY(color_max) = "0x111111";
7434 MY(gravity) = -0.300000;
7435 MY(notunderwater) = true;
7436 MY(originjitter) = '4.0 4.0 4.0';
7437 MY(sizeincrease) = 5;
7441 MY(type) = "alphastatic";
7442 MY(velocityjitter) = '11.0 11.0 50.0';
7445 // electro damage effect
7446 DEF(damage_electro);
7447 SUB(damage_electro) {
7448 MY(airfriction) = -0.500000;
7451 MY(alpha_fade) = 48;
7452 MY(color_min) = "0x66ffff";
7453 MY(color_max) = "0x2288ff";
7455 MY(gravity) = -0.000100;
7456 MY(liquidfriction) = 0.800000;
7457 MY(notunderwater) = true;
7458 MY(originjitter) = '3.0 3.0 3.0';
7459 MY(startangle_min) = 180;
7460 MY(startangle_max) = 360;
7463 MY(sizeincrease) = -14;
7468 MY(type) = "static";
7469 MY(velocityjitter) = '8.0 8.0 16.0';
7472 SUB(damage_electro) {
7473 MY(airfriction) = -0.350000;
7476 MY(alpha_fade) = 64;
7477 MY(color_min) = "0x2244ff";
7478 MY(color_max) = "0x002266";
7480 MY(notunderwater) = true;
7481 MY(originjitter) = '4.0 4.0 4.0';
7482 MY(startangle_max) = 180;
7485 MY(sizeincrease) = 10;
7490 MY(velocityjitter) = '0.4 0.4 0.6';
7493 SUB(damage_electro) {
7494 MY(airfriction) = 1;
7495 MY(alpha_min) = 768;
7497 MY(alpha_fade) = 256;
7498 MY(bounce) = 1.500000;
7499 MY(color_min) = "0x003090";
7500 MY(color_max) = "0x00CCFF";
7501 MY(count) = 0.500000;
7502 MY(gravity) = 0.200000;
7503 MY(liquidfriction) = 0.800000;
7509 MY(velocityjitter) = '32.0 32.0 32.0';
7512 // crylink damage effect
7513 DEF(damage_crylink);
7514 SUB(damage_crylink) {
7515 MY(airfriction) = -0.500000;
7518 MY(alpha_fade) = 48;
7519 MY(color_min) = "0xff44ff";
7520 MY(color_max) = "0x9966ff";
7522 MY(gravity) = -0.000100;
7523 MY(liquidfriction) = 0.800000;
7524 MY(notunderwater) = true;
7525 MY(originjitter) = '3.0 3.0 3.0';
7526 MY(startangle_min) = 180;
7527 MY(startangle_max) = 360;
7530 MY(sizeincrease) = -8;
7531 MY(size_min) = 0.500000;
7535 MY(type) = "static";
7536 MY(velocityjitter) = '10.0 10.0 20.0';
7539 SUB(damage_crylink) {
7540 MY(airfriction) = -0.350000;
7543 MY(alpha_fade) = 64;
7544 MY(color_min) = "0x8844ff";
7545 MY(color_max) = "0x662244";
7547 MY(gravity) = 0.001000;
7548 MY(notunderwater) = true;
7549 MY(originjitter) = '4.0 4.0 4.0';
7550 MY(startangle_max) = 180;
7553 MY(sizeincrease) = 6;
7558 MY(velocityjitter) = '0.4 0.4 0.6';
7561 SUB(damage_crylink) {
7562 MY(airfriction) = 0.200000;
7563 MY(alpha_min) = 192;
7564 MY(alpha_max) = 192;
7565 MY(alpha_fade) = 128;
7566 MY(color_min) = "0x903090";
7567 MY(color_max) = "0xFFD0FF";
7568 MY(count) = 0.300000;
7569 MY(liquidfriction) = 0.800000;
7570 MY(sizeincrease) = -5;
7571 MY(size_min) = 0.500000;
7572 MY(size_max) = 0.500000;
7574 MY(velocityjitter) = '12.0 12.0 12.0';
7577 // hlac damage effect
7580 MY(airfriction) = -0.350000;
7581 MY(alpha_min) = 128;
7583 MY(alpha_fade) = 128;
7584 MY(color_min) = "0x880000";
7585 MY(color_max) = "0xff4400";
7587 MY(notunderwater) = true;
7588 MY(originjitter) = '4.0 4.0 4.0';
7589 MY(startangle_max) = 180;
7592 MY(sizeincrease) = 10;
7597 MY(velocityjitter) = '0.4 0.4 0.6';
7600 // vortex damage effect
7603 MY(airfriction) = -0.500000;
7606 MY(alpha_fade) = 64;
7607 MY(color_min) = "0xffffff";
7608 MY(color_max) = "0x88ffff";
7610 MY(gravity) = -0.000100;
7611 MY(liquidfriction) = 0.600000;
7612 MY(originjitter) = '4.0 4.0 4.0';
7613 MY(startangle_min) = 180;
7614 MY(startangle_max) = 360;
7617 MY(sizeincrease) = -14;
7622 MY(type) = "static";
7623 MY(velocityjitter) = '8.0 8.0 16.0';
7627 MY(airfriction) = -0.350000;
7630 MY(alpha_fade) = 64;
7631 MY(color_min) = "0x6688ff";
7632 MY(color_max) = "0x226688";
7634 MY(originjitter) = '2.0 2.0 2.0';
7635 MY(startangle_max) = 180;
7638 MY(sizeincrease) = 8;
7643 MY(velocityjitter) = '0.5 0.5 0.8';
7647 MY(airfriction) = 2;
7648 MY(alpha_min) = 255;
7649 MY(alpha_max) = 255;
7650 MY(alpha_fade) = 112;
7651 MY(bounce) = 1.600000;
7652 MY(color_min) = "0xD9FDFF";
7653 MY(color_max) = "0xD9FDFF";
7654 MY(count) = 0.200000;
7658 MY(stretchfactor) = 0.700000;
7662 MY(velocityjitter) = '100.0 100.0 300.0';
7663 MY(velocitymultiplier) = 3;
7666 // vaporizer damage effect
7667 DEF(damage_minstanex);
7668 SUB(damage_minstanex) {
7669 MY(airfriction) = -0.500000;
7672 MY(alpha_fade) = 64;
7673 MY(color_min) = "0xffffff";
7674 MY(color_max) = "0x88ffff";
7676 MY(gravity) = -0.000100;
7677 MY(liquidfriction) = 0.600000;
7678 MY(originjitter) = '4.0 4.0 4.0';
7679 MY(startangle_min) = 180;
7680 MY(startangle_max) = 360;
7683 MY(sizeincrease) = -14;
7688 MY(type) = "static";
7689 MY(velocityjitter) = '8.0 8.0 16.0';
7692 SUB(damage_minstanex) {
7693 MY(airfriction) = -0.350000;
7696 MY(alpha_fade) = 64;
7697 MY(color_min) = "0x6688ff";
7698 MY(color_max) = "0x226688";
7700 MY(originjitter) = '2.0 2.0 2.0';
7701 MY(startangle_max) = 180;
7704 MY(sizeincrease) = 8;
7709 MY(velocityjitter) = '0.5 0.5 0.8';
7712 SUB(damage_minstanex) {
7713 MY(airfriction) = 2;
7714 MY(alpha_min) = 255;
7715 MY(alpha_max) = 255;
7716 MY(alpha_fade) = 112;
7717 MY(bounce) = 1.600000;
7718 MY(color_min) = "0xD9FDFF";
7719 MY(color_max) = "0xD9FDFF";
7720 MY(count) = 0.200000;
7724 MY(stretchfactor) = 0.700000;
7728 MY(velocityjitter) = '100.0 100.0 300.0';
7729 MY(velocitymultiplier) = 3;
7732 // rifle damage effect, normal blood
7735 MY(airfriction) = 1;
7736 MY(alpha_min) = 256;
7737 MY(alpha_max) = 256;
7738 MY(alpha_fade) = 64;
7740 MY(color_min) = "0xA8FFFF";
7741 MY(color_max) = "0xA8FFFFF";
7742 MY(count) = 0.300000;
7743 MY(liquidfriction) = 4;
7746 MY(staincolor_min) = "0x808080";
7747 MY(staincolor_max) = "0x808080";
7748 MY(staintex_min) = 16;
7749 MY(staintex_max) = 24;
7753 MY(velocityjitter) = '32.0 32.0 32.0';
7754 MY(velocitymultiplier) = 5;
7758 MY(alpha_min) = 100;
7759 MY(alpha_max) = 256;
7760 MY(alpha_fade) = 400;
7761 MY(color_min) = "0x000000";
7762 MY(color_max) = "0x420000";
7767 MY(type) = "alphastatic";
7770 // rifle damage effect, alien blood
7771 DEF(damage_rifle_alien);
7772 SUB(damage_rifle_alien) {
7773 MY(airfriction) = 1;
7774 MY(alpha_min) = 256;
7775 MY(alpha_max) = 256;
7776 MY(alpha_fade) = 64;
7778 MY(color_min) = "0xDC9BCD";
7779 MY(color_max) = "0xDC9BCD";
7780 MY(count) = 0.300000;
7781 MY(liquidfriction) = 4;
7784 MY(staincolor_min) = "0x808080";
7785 MY(staincolor_max) = "0x808080";
7786 MY(staintex_min) = 16;
7787 MY(staintex_max) = 24;
7791 MY(velocityjitter) = '32.0 32.0 32.0';
7792 MY(velocitymultiplier) = 5;
7795 SUB(damage_rifle_alien) {
7796 MY(alpha_min) = 100;
7797 MY(alpha_max) = 256;
7798 MY(alpha_fade) = 400;
7799 MY(color_min) = "0x000000";
7800 MY(color_max) = "0x204010";
7805 MY(type) = "alphastatic";
7808 // rifle damage effect, robot blood
7809 DEF(damage_rifle_robot);
7810 SUB(damage_rifle_robot) {
7811 MY(airfriction) = 1;
7812 MY(alpha_min) = 256;
7813 MY(alpha_max) = 256;
7814 MY(alpha_fade) = 64;
7816 MY(color_min) = "0xC0D890";
7817 MY(color_max) = "0xC0D890";
7818 MY(count) = 0.300000;
7819 MY(liquidfriction) = 4;
7822 MY(staincolor_min) = "0x808080";
7823 MY(staincolor_max) = "0x808080";
7824 MY(staintex_min) = 16;
7825 MY(staintex_max) = 24;
7829 MY(velocityjitter) = '32.0 32.0 32.0';
7830 MY(velocitymultiplier) = 5;
7833 SUB(damage_rifle_robot) {
7834 MY(alpha_min) = 100;
7835 MY(alpha_max) = 256;
7836 MY(alpha_fade) = 400;
7837 MY(color_min) = "0x000000";
7838 MY(color_max) = "0x301860";
7843 MY(type) = "alphastatic";
7846 // seeker damage effect
7848 SUB(damage_seeker) {
7849 MY(alpha_min) = 512;
7851 MY(alpha_fade) = 1024;
7852 MY(color_min) = "0x8f0c00";
7853 MY(color_max) = "0xff2200";
7855 MY(gravity) = -0.300000;
7856 MY(notunderwater) = true;
7857 MY(originjitter) = '2.0 2.0 2.0';
7858 MY(sizeincrease) = -10;
7864 MY(velocityjitter) = '22.0 22.0 50.0';
7867 SUB(damage_seeker) {
7868 MY(alpha_min) = 128;
7870 MY(alpha_fade) = 128;
7871 MY(color_min) = "0x000000";
7872 MY(color_max) = "0x111111";
7874 MY(gravity) = -0.300000;
7875 MY(notunderwater) = true;
7876 MY(originjitter) = '4.0 4.0 4.0';
7877 MY(sizeincrease) = 10;
7881 MY(type) = "alphastatic";
7882 MY(velocityjitter) = '11.0 11.0 50.0';
7885 // hagar damage effect
7888 MY(alpha_min) = 512;
7890 MY(alpha_fade) = 1024;
7891 MY(color_min) = "0x8f0c00";
7892 MY(color_max) = "0xff3a00";
7894 MY(gravity) = -0.300000;
7895 MY(notunderwater) = true;
7896 MY(originjitter) = '2.0 2.0 2.0';
7897 MY(sizeincrease) = -10;
7903 MY(velocityjitter) = '22.0 22.0 50.0';
7907 MY(alpha_min) = 128;
7909 MY(alpha_fade) = 128;
7910 MY(color_min) = "0x000000";
7911 MY(color_max) = "0x111111";
7913 MY(gravity) = -0.300000;
7914 MY(notunderwater) = true;
7915 MY(originjitter) = '4.0 4.0 4.0';
7916 MY(sizeincrease) = 10;
7920 MY(type) = "alphastatic";
7921 MY(velocityjitter) = '11.0 11.0 50.0';
7924 // fireball damage effect
7925 DEF(damage_fireball);
7926 SUB(damage_fireball) {
7927 MY(alpha_min) = 256;
7929 MY(alpha_fade) = 512;
7930 MY(color_min) = "0x8f0d00";
7931 MY(color_max) = "0xff5a00";
7933 MY(gravity) = -0.500000;
7934 MY(notunderwater) = true;
7935 MY(originjitter) = '8.0 8.0 8.0';
7936 MY(sizeincrease) = -10;
7942 MY(velocityjitter) = '22.0 22.0 50.0';
7945 SUB(damage_fireball) {
7946 MY(alpha_min) = 128;
7948 MY(alpha_fade) = 128;
7949 MY(color_min) = "0x000000";
7950 MY(color_max) = "0x111111";
7952 MY(gravity) = -0.300000;
7953 MY(notunderwater) = true;
7954 MY(originjitter) = '6.0 6.0 6.0';
7955 MY(sizeincrease) = 10;
7959 MY(type) = "alphastatic";
7960 MY(velocityjitter) = '11.0 11.0 50.0';
7963 // rocketlauncher damage effect
7964 DEF(damage_rocketlauncher);
7965 SUB(damage_rocketlauncher) {
7966 MY(alpha_min) = 512;
7968 MY(alpha_fade) = 1024;
7969 MY(color_min) = "0x8f0c00";
7970 MY(color_max) = "0xff2a00";
7972 MY(gravity) = -0.700000;
7973 MY(notunderwater) = true;
7974 MY(originjitter) = '4.0 4.0 4.0';
7975 MY(sizeincrease) = -10;
7981 MY(velocityjitter) = '22.0 22.0 30.0';
7984 SUB(damage_rocketlauncher) {
7985 MY(alpha_min) = 128;
7987 MY(alpha_fade) = 128;
7988 MY(color_min) = "0x000000";
7989 MY(color_max) = "0x111111";
7991 MY(gravity) = -0.300000;
7992 MY(notunderwater) = true;
7993 MY(originjitter) = '4.0 4.0 4.0';
7994 MY(sizeincrease) = 10;
7998 MY(type) = "alphastatic";
7999 MY(velocityjitter) = '11.0 11.0 50.0';
8005 MY(airfriction) = 5;
8006 MY(alpha_min) = 256;
8007 MY(alpha_max) = 256;
8008 MY(alpha_fade) = 70;
8010 MY(color_min) = "0xff9600";
8011 MY(color_max) = "0xffefb8";
8013 MY(originjitter) = '32.0 32.0 32.0';
8014 MY(originoffset) = '8.0 8.0 8.0';
8015 MY(sizeincrease) = -0.300000;
8022 MY(type) = "static";
8023 MY(velocityjitter) = '64.0 64.0 64.0';
8024 MY(velocityoffset) = '2.0 2.0 2.0';
8027 DEF(healray_muzzleflash);
8028 SUB(healray_muzzleflash) {
8029 MY(alpha_min) = 256;
8030 MY(alpha_max) = 256;
8031 MY(alpha_fade) = 512;
8032 MY(color_min) = "0x283880";
8033 MY(color_max) = "0x283880";
8034 MY(countabsolute) = 1;
8035 MY(lightcolor) = '1.5 3.0 6.0';
8036 MY(lightradiusfade) = 2000;
8037 MY(lightradius) = 200;
8038 MY(originjitter) = '1.5 1.5 1.5';
8039 MY(sizeincrease) = -10;
8045 MY(velocityjitter) = '6.0 6.0 6.0';
8046 MY(velocitymultiplier) = 0.010000;
8048 SUB(healray_muzzleflash) {
8049 MY(airfriction) = 5;
8051 MY(alpha_max) = 150;
8052 MY(alpha_fade) = 1924;
8053 MY(color_min) = "0xD9FDFF";
8054 MY(color_max) = "0x00f0ff";
8056 MY(originjitter) = '1.0 1.0 1.0';
8057 MY(sizeincrease) = 3;
8060 MY(stretchfactor) = 3.900000;
8064 MY(velocityjitter) = '150.0 150.0 150.0';
8065 MY(velocitymultiplier) = 0.400000;
8067 SUB(healray_muzzleflash) {
8068 MY(alpha_min) = 110;
8069 MY(alpha_max) = 228;
8070 MY(alpha_fade) = 4024;
8071 MY(color_min) = "0xD9FDFF";
8072 MY(color_max) = "0x00f0ff";
8074 MY(originjitter) = '1.0 1.0 1.0';
8077 MY(stretchfactor) = 0.200000;
8081 MY(velocityjitter) = '650.0 650.0 650.0';
8082 MY(velocitymultiplier) = 1.100000;
8085 DEF(healray_impact);
8086 SUB(healray_impact) {
8087 MY(alpha_min) = 256;
8088 MY(alpha_max) = 256;
8089 MY(color_min) = "0xd800ff";
8090 MY(color_max) = "0xd800ff";
8091 MY(countabsolute) = 1;
8092 MY(lightcolor) = '0.0 4.4 0.0';
8093 MY(lightradiusfade) = 450;
8094 MY(lightradius) = 125;
8095 MY(originjitter) = '17.0 17.0 17.0';
8103 SUB(healray_impact) {
8106 MY(alpha_fade) = 350;
8107 MY(color_min) = "0x00ff00";
8108 MY(color_max) = "0x84c52f";
8109 MY(countabsolute) = 1;
8110 MY(sizeincrease) = 1400;
8116 MY(velocitymultiplier) = 44;
8118 // cloud of bouncing sparks
8119 SUB(healray_impact) {
8120 MY(airfriction) = 6;
8121 MY(alpha_min) = 156;
8122 MY(alpha_max) = 300;
8123 MY(alpha_fade) = 1024;
8124 MY(color_min) = "0x00ff00";
8125 MY(color_max) = "0x84c52f";
8128 MY(originjitter) = '1.0 1.0 1.0';
8134 MY(velocityjitter) = '1112.0 1112.0 1112.0';
8136 // inner cloud of smoke
8137 SUB(healray_impact) {
8138 MY(airfriction) = 3;
8139 MY(alpha_min) = 200;
8140 MY(alpha_max) = 456;
8141 MY(alpha_fade) = 512;
8142 MY(color_min) = "0x00ff00";
8143 MY(color_max) = "0x84c52f";
8146 MY(startangle_min) = -180;
8147 MY(startangle_max) = 180;
8155 MY(velocityjitter) = '120.0 120.0 420.0';
8158 DEF(bigplasma_muzzleflash);
8159 SUB(bigplasma_muzzleflash) {
8160 MY(alpha_min) = 256;
8161 MY(alpha_max) = 256;
8162 MY(alpha_fade) = 812;
8163 MY(color_min) = "0x283880";
8164 MY(color_max) = "0x283880";
8165 MY(countabsolute) = 1;
8166 MY(lightcolor) = '1.5 3.0 6.0';
8167 MY(lightradiusfade) = 2000;
8168 MY(lightradius) = 200;
8169 MY(originjitter) = '1.5 1.5 1.5';
8170 MY(sizeincrease) = -10;
8176 MY(velocityjitter) = '6.0 6.0 6.0';
8177 MY(velocitymultiplier) = 0.010000;
8179 SUB(bigplasma_muzzleflash) {
8182 MY(alpha_fade) = 1112;
8183 MY(color_min) = "0x00f0ff";
8184 MY(color_max) = "0x00f0ff";
8185 MY(countabsolute) = 1;
8186 MY(sizeincrease) = 300;
8193 SUB(bigplasma_muzzleflash) {
8194 MY(airfriction) = 5;
8196 MY(alpha_max) = 150;
8197 MY(alpha_fade) = 1924;
8198 MY(color_min) = "0xD9FDFF";
8199 MY(color_max) = "0x00f0ff";
8201 MY(originjitter) = '1.0 1.0 1.0';
8202 MY(sizeincrease) = 135;
8205 MY(stretchfactor) = 1.900000;
8209 MY(velocityjitter) = '350.0 350.0 350.0';
8210 MY(velocitymultiplier) = 0.400000;
8212 SUB(bigplasma_muzzleflash) {
8213 MY(alpha_min) = 110;
8214 MY(alpha_max) = 228;
8215 MY(alpha_fade) = 4024;
8216 MY(color_min) = "0xD9FDFF";
8217 MY(color_max) = "0x00f0ff";
8219 MY(originjitter) = '1.0 1.0 1.0';
8222 MY(stretchfactor) = 0.200000;
8226 MY(velocityjitter) = '650.0 650.0 650.0';
8227 MY(velocitymultiplier) = 1.100000;
8230 DEF(bigplasma_impact);
8231 SUB(bigplasma_impact) {
8232 MY(alpha_min) = 256;
8233 MY(alpha_max) = 256;
8234 MY(countabsolute) = 1;
8235 MY(lightcolor) = '3.1 4.4 10.0';
8236 MY(lightradiusfade) = 450;
8237 MY(lightradius) = 125;
8238 MY(originjitter) = '17.0 17.0 17.0';
8246 SUB(bigplasma_impact) {
8249 MY(alpha_fade) = 350;
8250 MY(color_min) = "0x80C0FF";
8251 MY(color_max) = "0x80C0FF";
8252 MY(countabsolute) = 1;
8253 MY(sizeincrease) = 1400;
8259 MY(velocitymultiplier) = 44;
8261 // cloud of bouncing sparks
8262 SUB(bigplasma_impact) {
8263 MY(airfriction) = 6;
8264 MY(alpha_min) = 156;
8265 MY(alpha_max) = 300;
8266 MY(alpha_fade) = 1024;
8267 MY(color_min) = "0x629dff";
8268 MY(color_max) = "0x0018ff";
8271 MY(originjitter) = '1.0 1.0 1.0';
8277 MY(velocityjitter) = '1512.0 1512.0 1512.0';
8279 // inner cloud of smoke
8280 SUB(bigplasma_impact) {
8281 MY(airfriction) = 30;
8282 MY(alpha_min) = 200;
8283 MY(alpha_max) = 456;
8284 MY(alpha_fade) = 1512;
8285 MY(color_min) = "0x629dff";
8286 MY(color_max) = "0x0018ff";
8288 MY(originjitter) = '20.0 20.0 20.0';
8289 MY(startangle_min) = -180;
8290 MY(startangle_max) = 180;
8293 MY(sizeincrease) = 555;
8299 MY(velocityjitter) = '320.0 320.0 320.0';
8302 SUB(bigplasma_impact) {
8303 MY(airfriction) = 0.040000;
8304 MY(alpha_min) = 128;
8305 MY(alpha_max) = 328;
8306 MY(alpha_fade) = 390;
8307 MY(blend) = "alpha";
8308 MY(color_min) = "0x222222";
8309 MY(color_max) = "0x000000";
8311 MY(gravity) = 0.400000;
8312 MY(originjitter) = '80.0 80.0 10.0';
8313 MY(startangle_min) = -180;
8314 MY(startangle_max) = 180;
8317 MY(sizeincrease) = 30;
8322 MY(velocityjitter) = '100.0 100.0 200.0';
8323 MY(velocityoffset) = '0.0 0.0 180.0';
8325 // smoke in the middle
8326 SUB(bigplasma_impact) {
8327 MY(airfriction) = 0.040000;
8328 MY(alpha_min) = 128;
8329 MY(alpha_max) = 328;
8330 MY(alpha_fade) = 310;
8331 MY(color_min) = "0x222222";
8332 MY(color_max) = "0x000000";
8334 MY(gravity) = -0.200000;
8335 MY(originjitter) = '80.0 80.0 80.0';
8336 MY(startangle_min) = -180;
8337 MY(startangle_max) = 180;
8340 MY(sizeincrease) = -10;
8344 MY(type) = "alphastatic";
8345 MY(velocityjitter) = '10.0 10.0 10.0';
8348 #include "effectinfo_ctf.inc"
8350 // spawn_point -- team idle spawn point effect
8351 #define spawn_point(name, color) \
8352 DEF(spawn_point_##name); \
8353 SUB(spawn_point_##name) { \
8354 MY(airfriction) = 0.200000; \
8355 MY(alpha_min) = 64; \
8356 MY(alpha_max) = 128; \
8357 MY(alpha_fade) = 128; \
8358 MY(color_min) = color; \
8359 MY(color_max) = color; \
8360 MY(count) = 37.500000; \
8361 MY(gravity) = -0.100000; \
8362 MY(liquidfriction) = 0.800000; \
8363 MY(originjitter) = '16.0 16.0 64.0'; \
8366 MY(type) = "static"; \
8367 MY(velocityjitter) = '32.0 32.0 0.0'; \
8370 spawn_point(red, "0xFF0F0F")
8371 spawn_point(blue, "0x0F0FFF")
8372 spawn_point(yellow, "0xFFFF0F")
8373 spawn_point(pink, "0xFF0FFF")
8374 spawn_point(neutral, "0xFFFFFF")
8377 // spawn_event -- team spawning effect
8378 #define spawn_event(name, color) \
8379 DEF(spawn_event_##name); \
8380 SUB(spawn_event_##name) { \
8381 MY(airfriction) = 2; \
8382 MY(alpha_max) = 256; \
8383 MY(alpha_fade) = 256; \
8385 MY(color_min) = color; \
8386 MY(color_max) = color; \
8388 MY(originjitter) = '1.0 1.0 1.0'; \
8391 MY(stretchfactor) = 0.600000; \
8394 MY(type) = "spark"; \
8395 MY(velocityjitter) = '500.0 500.0 500.0'; \
8396 MY(velocitymultiplier) = 0.100000; \
8398 SUB(spawn_event_##name) { \
8399 MY(alpha_min) = 190; \
8400 MY(alpha_max) = 190; \
8401 MY(alpha_fade) = 180; \
8402 MY(color_min) = color; \
8403 MY(color_max) = color; \
8404 MY(countabsolute) = 1; \
8405 MY(sizeincrease) = -80; \
8406 MY(size_min) = 100; \
8407 MY(size_max) = 100; \
8410 MY(type) = "smoke"; \
8414 spawn_event(red, "0xFF0F0F")
8415 spawn_event(blue, "0x0F0FFF")
8416 spawn_event(yellow, "0xFFFF0F")
8417 spawn_event(pink, "0xFF0FFF")
8418 spawn_event(neutral, "0xFFFFFF")
8421 #include "effectinfo_nades.inc"
8423 DEF(shockwave_attack);
8425 SUB(shockwave_attack) {
8426 MY(airfriction) = 1;
8427 MY(alpha_min) = 4096;
8428 MY(alpha_max) = 4096;
8429 MY(alpha_fade) = 20000;
8430 MY(color_min) = "0xb44215";
8431 MY(color_max) = "0xff0000";
8433 MY(originjitter) = '2.0 2.0 2.0';
8434 MY(startangle_min) = -180;
8435 MY(startangle_max) = 180;
8436 MY(spin_min) = 4000;
8437 MY(spin_max) = -4000;
8438 MY(sizeincrease) = 1.500000;
8441 MY(stretchfactor) = 2.300000;
8445 MY(velocityjitter) = '10.0 10.0 10.0';
8446 MY(velocitymultiplier) = 10;
8449 SUB(shockwave_attack) {
8450 MY(airfriction) = 1;
8451 MY(alpha_min) = 4096;
8452 MY(alpha_max) = 4096;
8453 MY(alpha_fade) = 20000;
8454 MY(color_min) = "0xff4200";
8455 MY(color_max) = "0xff0000";
8457 MY(originjitter) = '2.0 2.0 2.0';
8458 MY(sizeincrease) = 1.500000;
8461 MY(stretchfactor) = 2;
8465 MY(velocityjitter) = '10.0 10.0 10.0';
8466 MY(velocitymultiplier) = 10;
8471 SUB(arc_lightning) {
8474 MY(countabsolute) = 1;
8475 MY(lightcolor) = '3.1 4.4 10.0';
8476 MY(lightradiusfade) = 200;
8477 MY(lightradius) = 50;
8478 MY(originjitter) = '2.0 2.0 2.0';
8486 SUB(arc_lightning) {
8487 MY(airfriction) = 110;
8488 MY(alpha_min) = 256;
8489 MY(alpha_max) = 256;
8490 MY(alpha_fade) = 512;
8491 MY(color_min) = "0xDDFDFF";
8492 MY(color_max) = "0xFDFDFF";
8494 MY(originjitter) = '20.0 20.0 20.0';
8495 MY(startangle_max) = 360;
8496 MY(spin_min) = -36000;
8497 MY(spin_max) = 36000;
8498 MY(sizeincrease) = -5;
8500 MY(stretchfactor) = 1;
8503 MY(type) = "static";
8504 MY(velocityjitter) = '250.0 250.0 250.0';
8505 MY(velocitymultiplier) = 100;
8507 // impact sparks (underwater)
8508 SUB(arc_lightning) {
8509 MY(airfriction) = 5;
8510 MY(alpha_min) = 256;
8511 MY(alpha_max) = 256;
8512 MY(alpha_fade) = 512;
8513 MY(color_min) = "0xDDFDFF";
8514 MY(color_max) = "0xFDFDFF";
8516 MY(liquidfriction) = 5;
8517 MY(orientation) = "spark";
8518 MY(originjitter) = '20.0 20.0 20.0';
8519 MY(startangle_max) = 360;
8520 MY(spin_min) = -36000;
8521 MY(spin_max) = 36000;
8522 MY(sizeincrease) = -5;
8524 MY(stretchfactor) = 1;
8527 MY(type) = "static";
8528 MY(underwater) = true;
8529 MY(velocityjitter) = '250.0 250.0 250.0';
8530 MY(velocitymultiplier) = 20;
8536 MY(airfriction) = -10;
8537 MY(alpha_min) = 256;
8538 MY(alpha_max) = 256;
8539 MY(alpha_fade) = 16384;
8540 MY(color_min) = "0xfafad2";
8541 MY(color_max) = "0xffffff";
8542 MY(originjitter) = '3.0 3.0 3.0';
8543 MY(relativeoriginoffset) = '10.0 0.0 0.0';
8544 MY(startangle_max) = 360;
8546 MY(spin_max) = 1000;
8547 MY(stretchfactor) = 1;
8550 MY(time_min) = 0.050000;
8551 MY(time_max) = 0.050000;
8552 MY(trailspacing) = 10;
8554 MY(velocityjitter) = '100.0 100.0 100.0';
8555 MY(velocitymultiplier) = 200;
8557 // sparks on beam (underwater)
8559 MY(alpha_min) = 256;
8560 MY(alpha_max) = 256;
8561 MY(alpha_fade) = 16384;
8562 MY(color_min) = "0xfafad2";
8563 MY(color_max) = "0xffffff";
8564 MY(liquidfriction) = -10;
8565 MY(originjitter) = '30.0 30.0 30.0';
8566 MY(relativeoriginoffset) = '10.0 0.0 0.0';
8567 MY(startangle_max) = 360;
8569 MY(spin_max) = 1000;
8570 MY(stretchfactor) = 1;
8573 MY(time_min) = 0.001000;
8574 MY(time_max) = 0.001000;
8575 MY(trailspacing) = 10;
8577 MY(underwater) = true;
8578 MY(velocityjitter) = '100.0 100.0 100.0';
8579 MY(velocitymultiplier) = 200;
8584 SUB(arc_beam_heal) {
8585 MY(airfriction) = -20;
8586 MY(alpha_min) = 2048;
8587 MY(alpha_max) = 2048;
8588 MY(alpha_fade) = 256;
8589 MY(color_min) = "0x20FF20";
8590 MY(color_max) = "0x40FF40";
8591 MY(relativeoriginoffset) = '5.0 0.0 0.0';
8592 MY(relativevelocityoffset) = '100.0 0.0 0.0';
8593 MY(sizeincrease) = 20;
8594 MY(size_min) = 0.100000;
8595 MY(size_max) = 0.100000;
8598 MY(trailspacing) = 1500;
8600 MY(velocityjitter) = '3.0 3.0 3.0';
8601 MY(velocitymultiplier) = 200;
8604 DEF(arc_beam_healimpact);
8606 SUB(arc_beam_healimpact) {
8609 MY(alpha_fade) = 350;
8610 MY(color_min) = "0x00ff00";
8611 MY(color_max) = "0x84c52f";
8612 MY(countabsolute) = 1;
8613 MY(lightcolor) = '0.0 4.4 0.0';
8614 MY(lightradiusfade) = 150;
8615 MY(lightradius) = 20;
8616 MY(sizeincrease) = -1000;
8622 MY(velocitymultiplier) = 44;
8625 SUB(arc_beam_healimpact) {
8626 MY(airfriction) = 3;
8627 MY(alpha_min) = 200;
8628 MY(alpha_max) = 456;
8629 MY(alpha_fade) = 512;
8630 MY(color_min) = "0x00ff00";
8631 MY(color_max) = "0x84c52f";
8634 MY(startangle_min) = -180;
8635 MY(startangle_max) = 180;
8638 MY(size_min) = 0.500000;
8643 MY(velocityjitter) = '120.0 120.0 420.0';
8647 // arc heat smoke (notunderwater)
8649 MY(airfriction) = 1;
8652 MY(alpha_fade) = 48;
8653 MY(color_min) = "0x4c453f";
8654 MY(color_max) = "0x2a241f";
8656 MY(gravity) = -0.125000;
8657 MY(notunderwater) = true;
8658 MY(startangle_max) = 360;
8659 MY(spin_min) = -180;
8661 MY(sizeincrease) = 10;
8666 MY(velocityjitter) = '0.0 0.0 16.0';
8668 // arc heat bubbles (underwater)
8670 MY(alpha_min) = 170;
8671 MY(alpha_max) = 256;
8672 MY(alpha_fade) = 64;
8673 MY(bounce) = 1.500000;
8674 MY(color_min) = "0x404040";
8675 MY(color_max) = "0x808080";
8677 MY(gravity) = -0.125000;
8678 MY(liquidfriction) = 0.250000;
8679 MY(originjitter) = '6.0 6.0 6.0';
8680 MY(size_min) = 0.100000;
8684 MY(type) = "bubble";
8685 MY(underwater) = true;
8686 MY(velocityjitter) = '16.0 16.0 16.0';
8690 // arc overheat electric bolts
8692 MY(airfriction) = 5;
8693 MY(alpha_min) = 128;
8694 MY(alpha_max) = 128;
8695 MY(alpha_fade) = 292;
8696 MY(color_min) = "0xffffff";
8697 MY(color_max) = "0x9271fb";
8699 MY(gravity) = -0.400000;
8700 MY(liquidfriction) = 10;
8701 MY(originjitter) = '10.0 10.0 10.0';
8702 MY(sizeincrease) = -24;
8708 MY(velocityjitter) = '256.0 256.0 256.0';
8711 DEF(arc_overheat_fire);
8712 // arc overheat bouncing sparks
8713 SUB(arc_overheat_fire) {
8714 MY(alpha_max) = 256;
8715 MY(alpha_fade) = 640;
8716 MY(bounce) = 1.500000;
8717 MY(color_min) = "0x4444ff";
8718 MY(color_max) = "0xeeeeff";
8721 MY(liquidfriction) = 5;
8722 MY(originjitter) = '6.0 6.0 6.0';
8723 MY(size_min) = 0.400000;
8726 MY(velocityjitter) = '92.0 92.0 92.0';
8727 MY(velocitymultiplier) = 80;
8728 MY(velocityoffset) = '0.0 0.0 80.0';
8731 #include "effectinfo_buffs.inc"
8733 #include "effectinfo_instagib.inc"