1 // docs: https://www.quakewiki.net/darkplaces-wiki/effectinfo-scripting-reference/
2 // use `cl_particles_reloadeffects` to reload effects without restarting engine
3 // `dumpeffectinfo` currently doesn't work so edit effectinfo.txt manually, just try to keep the files in sync
4 // `tex` are indices into particles/particlefont.tga, the first is inclusive, second exclusive
8 // flare particle and light
13 MY(color_min) = "0x63F2EA";
14 MY(color_max) = "0x63f2EA";
15 MY(countabsolute) = 1;
16 MY(lightcolor) = '0.4 0.9 0.9';
17 MY(lightradiusfade) = 200;
18 MY(lightradius) = 200;
23 // cloud of particles which expand rapidly and then slow to form a ball
29 MY(color_min) = "0x63F2EA";
30 MY(color_max) = "0x63f2EA";
32 MY(liquidfriction) = 2;
33 MY(originjitter) = '16.0 16.0 16.0';
37 MY(velocityjitter) = '32.0 32.0 32.0';
46 MY(countabsolute) = 1;
47 MY(lightcolor) = '4.0 0.2 0.2';
48 MY(lightradiusfade) = 1000;
49 MY(lightradius) = 200;
50 MY(originjitter) = '16.0 16.0 16.0';
61 MY(alpha_fade) = 1024;
62 MY(color_min) = "0xFF2010";
63 MY(color_max) = "0xFF2010";
64 MY(countabsolute) = 1;
71 // sparks that rapidly expand and rapidly slow down to form an interesting spherical effect
76 MY(alpha_fade) = 1024;
77 MY(color_min) = "0x800000";
78 MY(color_max) = "0xFF8020";
80 MY(liquidfriction) = 6;
84 MY(velocityjitter) = '256.0 256.0 256.0';
87 // machinegun bullet impact
89 // bullet impact decal
93 MY(countabsolute) = 1;
94 MY(originjitter) = '6.0 6.0 6.0';
101 // dust/smoke drifting away from the impact
105 MY(alpha_fade) = 256;
106 MY(color_min) = "0x101010";
107 MY(color_max) = "0x101010";
109 MY(sizeincrease) = 3;
114 MY(velocityjitter) = '8.0 8.0 8.0';
116 // dust/smoke staying at the impact
120 MY(alpha_fade) = 128;
121 MY(color_min) = "0x505050";
122 MY(color_max) = "0x505050";
123 MY(count) = 0.500000;
124 MY(sizeincrease) = 4;
133 MY(alpha_fade) = 256;
134 MY(bounce) = 1.500000;
135 MY(color_min) = "0x8f4333";
136 MY(color_max) = "0xfff31b";
139 MY(size_min) = 0.400000;
140 MY(size_max) = 0.400000;
142 MY(velocityjitter) = '64.0 64.0 64.0';
143 MY(velocityoffset) = '0.0 0.0 80.0';
146 // electro combo explosion
152 MY(countabsolute) = 1;
153 MY(lightcolor) = '2.0 2.5 3.0';
154 MY(lightradiusfade) = 200;
155 MY(lightradius) = 400;
156 MY(originjitter) = '34.0 34.0 34.0';
167 MY(alpha_fade) = 128;
168 MY(color_min) = "0x80C0FF";
169 MY(color_max) = "0x80C0FF";
170 MY(countabsolute) = 1;
182 MY(alpha_fade) = 256;
183 MY(bounce) = 1.500000;
184 MY(color_min) = "0x2030FF";
185 MY(color_max) = "0x80C0FF";
187 MY(liquidfriction) = 16;
191 MY(velocityjitter) = '512.0 512.0 512.0';
200 MY(countabsolute) = 1;
201 MY(originjitter) = '6.0 6.0 6.0';
208 // dust/smoke drifting away from the impact
212 MY(alpha_fade) = 256;
213 MY(color_min) = "0x101010";
214 MY(color_max) = "0x101010";
216 MY(sizeincrease) = 3;
221 MY(velocityjitter) = '8.0 8.0 8.0';
223 // dust/smoke staying at the impact
227 MY(alpha_fade) = 128;
228 MY(color_min) = "0x505050";
229 MY(color_max) = "0x505050";
230 MY(count) = 0.500000;
231 MY(sizeincrease) = 4;
237 // sparks that disappear on impact
240 MY(alpha_fade) = 768;
242 MY(color_min) = "0x8f4333";
243 MY(color_max) = "0xfff31b";
246 MY(size_min) = 0.400000;
247 MY(size_max) = 0.400000;
249 MY(velocityjitter) = '64.0 64.0 64.0';
250 MY(velocityoffset) = '0.0 0.0 80.0';
254 DEF(TE_SUPERSPIKEQUAD);
256 SUB(TE_SUPERSPIKEQUAD) {
259 MY(countabsolute) = 1;
260 MY(lightcolor) = '0.2 0.2 1.5';
261 MY(lightradiusfade) = 500;
262 MY(lightradius) = 100;
263 MY(originjitter) = '6.0 6.0 6.0';
270 // dust/smoke drifting away from the impact
271 SUB(TE_SUPERSPIKEQUAD) {
274 MY(alpha_fade) = 256;
275 MY(color_min) = "0x101010";
276 MY(color_max) = "0x101010";
278 MY(sizeincrease) = 3;
283 MY(velocityjitter) = '8.0 8.0 8.0';
285 // dust/smoke staying at the impact
286 SUB(TE_SUPERSPIKEQUAD) {
289 MY(alpha_fade) = 128;
290 MY(color_min) = "0x505050";
291 MY(color_max) = "0x505050";
292 MY(count) = 0.500000;
293 MY(sizeincrease) = 4;
299 // sparks that disappear on impact
300 SUB(TE_SUPERSPIKEQUAD) {
302 MY(alpha_fade) = 768;
304 MY(color_min) = "0x8f4333";
305 MY(color_max) = "0xfff31b";
308 MY(size_min) = 0.400000;
309 MY(size_max) = 0.400000;
311 MY(velocityjitter) = '64.0 64.0 64.0';
312 MY(velocityoffset) = '0.0 0.0 80.0';
315 // shotgun pellet impact
321 MY(countabsolute) = 1;
322 MY(originjitter) = '6.0 6.0 6.0';
329 // dust/smoke drifting away from the impact
334 MY(color_min) = "0x101010";
335 MY(color_max) = "0x101010";
336 MY(count) = 0.800000;
337 MY(sizeincrease) = 3;
342 MY(velocityjitter) = '8.0 8.0 8.0';
344 // dust/smoke staying at the impact
349 MY(color_min) = "0x505050";
350 MY(color_max) = "0x505050";
351 MY(count) = 0.200000;
352 MY(sizeincrease) = 4;
362 MY(bounce) = 1.500000;
363 MY(color_min) = "0x8f4333";
364 MY(color_max) = "0xfff31b";
365 MY(count) = 2.500000;
367 MY(size_min) = 0.400000;
368 MY(size_max) = 0.400000;
370 MY(velocityjitter) = '64.0 64.0 64.0';
371 MY(velocityoffset) = '0.0 0.0 80.0';
374 // crylink impact effect
377 SUB(TE_GUNSHOTQUAD) {
380 MY(countabsolute) = 1;
381 MY(originjitter) = '12.0 12.0 12.0';
388 // purple flare effect
389 SUB(TE_GUNSHOTQUAD) {
392 MY(alpha_fade) = 512;
393 MY(color_min) = "0x504060";
394 MY(color_max) = "0x504060";
395 MY(countabsolute) = 1;
403 SUB(TE_GUNSHOTQUAD) {
406 MY(alpha_fade) = 384;
407 MY(bounce) = 1.500000;
408 MY(color_min) = "0xA040C0";
409 MY(color_max) = "0xFFFFFF";
415 MY(velocityjitter) = '128.0 128.0 128.0';
416 MY(velocityoffset) = '0.0 0.0 80.0';
419 // mortar/hagar explosion (smaller than rocket)
425 MY(countabsolute) = 1;
426 MY(lightcolor) = '4.0 2.0 0.5';
427 MY(lightradiusfade) = 300;
428 MY(lightradius) = 150;
429 MY(originjitter) = '40.0 40.0 40.0';
441 MY(color_min) = "0x404040";
442 MY(color_max) = "0x404040";
443 MY(countabsolute) = 1;
450 // fire effect which expands then slows
455 MY(alpha_fade) = 256;
456 MY(bounce) = 1.500000;
457 MY(color_min) = "0x902010";
458 MY(color_max) = "0xFFD080";
460 MY(liquidfriction) = 4;
461 MY(notunderwater) = true;
462 MY(originjitter) = '8.0 8.0 8.0';
468 MY(velocityjitter) = '256.0 256.0 256.0';
470 // underwater bubbles
475 MY(bounce) = 1.500000;
476 MY(color_min) = "0x404040";
477 MY(color_max) = "0x808080";
479 MY(gravity) = -0.125000;
480 MY(liquidfriction) = 0.250000;
481 MY(originjitter) = '16.0 16.0 16.0';
487 MY(underwater) = true;
488 MY(velocityjitter) = '96.0 96.0 96.0';
492 MY(airfriction) = 0.200000;
495 MY(alpha_fade) = 384;
496 MY(bounce) = 1.500000;
497 MY(color_min) = "0x903010";
498 MY(color_max) = "0xFFD030";
501 MY(liquidfriction) = 0.800000;
502 MY(notunderwater) = true;
506 MY(velocityjitter) = '256.0 256.0 256.0';
507 MY(velocityoffset) = '0.0 0.0 80.0';
511 DEF(TE_EXPLOSIONQUAD);
513 SUB(TE_EXPLOSIONQUAD) {
516 MY(countabsolute) = 1;
517 MY(lightcolor) = '4.0 2.0 8.0';
518 MY(lightradiusfade) = 700;
519 MY(lightradius) = 350;
520 MY(originjitter) = '40.0 40.0 40.0';
528 SUB(TE_EXPLOSIONQUAD) {
532 MY(color_min) = "0x202020";
533 MY(color_max) = "0x404040";
535 MY(notunderwater) = true;
540 MY(velocityjitter) = '48.0 48.0 48.0';
542 // underwater bubbles
543 SUB(TE_EXPLOSIONQUAD) {
547 MY(bounce) = 1.500000;
548 MY(color_min) = "0x404040";
549 MY(color_max) = "0x808080";
551 MY(gravity) = -0.125000;
552 MY(liquidfriction) = 0.250000;
553 MY(originjitter) = '16.0 16.0 16.0';
559 MY(underwater) = true;
560 MY(velocityjitter) = '96.0 96.0 96.0';
562 // sparks which go through walls
563 SUB(TE_EXPLOSIONQUAD) {
564 MY(airfriction) = 0.200000;
566 MY(alpha_fade) = 512;
567 MY(color_min) = "0x903010";
568 MY(color_max) = "0xFFD030";
571 MY(liquidfriction) = 0.800000;
572 MY(notunderwater) = true;
576 MY(velocityjitter) = '256.0 256.0 256.0';
577 MY(velocityoffset) = '0.0 0.0 80.0';
581 DEF(TE_TAREXPLOSION);
583 SUB(TE_TAREXPLOSION) {
586 MY(countabsolute) = 1;
587 MY(lightcolor) = '1.6 0.8 2.0';
588 MY(lightradiusfade) = 1200;
589 MY(lightradius) = 600;
590 MY(originjitter) = '40.0 40.0 40.0';
598 SUB(TE_TAREXPLOSION) {
602 MY(color_min) = "0x202020";
603 MY(color_max) = "0x404040";
605 MY(notunderwater) = true;
610 MY(velocityjitter) = '48.0 48.0 48.0';
612 // underwater bubbles
613 SUB(TE_TAREXPLOSION) {
617 MY(bounce) = 1.500000;
618 MY(color_min) = "0x404040";
619 MY(color_max) = "0x808080";
621 MY(gravity) = -0.125000;
622 MY(liquidfriction) = 0.250000;
623 MY(originjitter) = '16.0 16.0 16.0';
629 MY(underwater) = true;
630 MY(velocityjitter) = '96.0 96.0 96.0';
632 // sparks which go through walls
633 SUB(TE_TAREXPLOSION) {
634 MY(airfriction) = 0.200000;
636 MY(alpha_fade) = 512;
637 MY(color_min) = "0x903010";
638 MY(color_max) = "0xFFD030";
641 MY(liquidfriction) = 0.800000;
642 MY(notunderwater) = true;
646 MY(velocityjitter) = '256.0 256.0 256.0';
647 MY(velocityoffset) = '0.0 0.0 80.0';
650 // bloody impact effect indicating damage
658 MY(count) = 0.167000;
659 MY(liquidfriction) = 4;
662 MY(staincolor_min) = "0x808080";
663 MY(staincolor_max) = "0x808080";
664 MY(staintex_min) = 16;
665 MY(staintex_max) = 24;
669 MY(velocityjitter) = '64.0 64.0 64.0';
670 MY(velocitymultiplier) = 1;
673 // sparks (quake effect)
678 MY(alpha_fade) = 768;
680 MY(color_min) = "0x8f4333";
681 MY(color_max) = "0xfff31b";
682 MY(count) = 0.500000;
684 MY(size_min) = 0.400000;
685 MY(size_max) = 0.600000;
689 MY(velocityjitter) = '64.0 64.0 64.0';
690 MY(velocitymultiplier) = 1;
691 MY(velocityoffset) = '0.0 0.0 80.0';
700 MY(countabsolute) = 1;
701 MY(lightcolor) = '1.0 1.0 1.0';
702 MY(lightradiusfade) = 400;
703 MY(lightradius) = 200;
704 MY(originjitter) = '16.0 16.0 16.0';
715 MY(alpha_fade) = 512;
716 MY(color_min) = "0x80C0FF";
717 MY(color_max) = "0x80C0FF";
718 MY(countabsolute) = 1;
725 // small sparks which form a sphere as they slow down
730 MY(alpha_fade) = 1024;
732 MY(color_min) = "0x2030FF";
733 MY(color_max) = "0x80C0FF";
735 MY(liquidfriction) = 8;
739 MY(velocityjitter) = '128.0 128.0 128.0';
745 MY(lightcolor) = '2.0 2.0 2.0';
746 MY(lightradiusfade) = 1000;
747 MY(lightradius) = 200;
756 MY(alpha_fade) = 384;
757 MY(bounce) = 1.100000;
758 MY(color_min) = "0x6f0f00";
759 MY(color_max) = "0xe3974f";
760 MY(count) = 0.500000;
762 MY(liquidfriction) = 4;
766 MY(velocityjitter) = '128.0 128.0 128.0';
767 MY(velocitymultiplier) = 1;
775 MY(alpha_fade) = 256;
776 MY(color_min) = "0x6f0f00";
777 MY(color_max) = "0xe3974f";
779 MY(gravity) = 0.050000;
780 MY(originjitter) = '128.0 128.0 32.0';
781 MY(originoffset) = '0.0 0.0 32.0';
784 MY(type) = "alphastatic";
785 MY(velocityjitter) = '128.0 128.0 0.0';
786 MY(velocityoffset) = '0.0 0.0 256.0';
789 // player teleport effect
795 MY(alpha_fade) = 256;
796 MY(color_min) = "0xA0A0A0";
797 MY(color_max) = "0xFFFFFF";
799 MY(liquidfriction) = 4;
800 MY(originjitter) = '16.0 16.0 28.0';
801 MY(originoffset) = '0.0 0.0 28.0';
805 MY(velocityjitter) = '0.0 0.0 256.0';
813 MY(alpha_fade) = 256;
814 MY(color_min) = "0xFFFFFF";
815 MY(color_max) = "0xFFFFFF";
816 MY(countabsolute) = 1;
824 MY(airfriction) = -4;
827 MY(alpha_fade) = 512;
828 MY(color_min) = "0x202020";
829 MY(color_max) = "0x404040";
832 MY(trailspacing) = 4;
834 MY(velocityjitter) = '8.0 8.0 8.0';
842 MY(alpha_fade) = 512;
843 MY(color_min) = "0x202020";
844 MY(color_max) = "0x404040";
845 MY(count) = 0.167000;
846 MY(originjitter) = '1.5 1.5 1.5';
851 MY(velocityjitter) = '6.0 6.0 6.0';
852 MY(velocitymultiplier) = 1;
855 // rocket explosion (bigger than mortar and hagar)
856 DEF(TE_TEI_BIGEXPLOSION);
858 SUB(TE_TEI_BIGEXPLOSION) {
861 MY(countabsolute) = 1;
862 MY(lightcolor) = '4.0 2.0 0.5';
863 MY(lightradiusfade) = 500;
864 MY(lightradius) = 500;
865 MY(originjitter) = '40.0 40.0 40.0';
873 SUB(TE_TEI_BIGEXPLOSION) {
877 MY(color_min) = "0x404040";
878 MY(color_max) = "0x404040";
879 MY(countabsolute) = 1;
887 SUB(TE_TEI_BIGEXPLOSION) {
891 MY(alpha_fade) = 256;
892 MY(bounce) = 1.500000;
893 MY(color_min) = "0x902010";
894 MY(color_max) = "0xFFD080";
896 MY(liquidfriction) = 4;
897 MY(notunderwater) = true;
898 MY(originjitter) = '8.0 8.0 8.0';
904 MY(velocityjitter) = '512.0 512.0 512.0';
906 // underwater bubbles
907 SUB(TE_TEI_BIGEXPLOSION) {
911 MY(bounce) = 1.500000;
912 MY(color_min) = "0x404040";
913 MY(color_max) = "0x808080";
915 MY(gravity) = -0.125000;
916 MY(liquidfriction) = 0.250000;
917 MY(originjitter) = '16.0 16.0 16.0';
923 MY(underwater) = true;
924 MY(velocityjitter) = '144.0 144.0 144.0';
927 SUB(TE_TEI_BIGEXPLOSION) {
928 MY(airfriction) = 0.200000;
931 MY(alpha_fade) = 384;
932 MY(bounce) = 1.500000;
933 MY(color_min) = "0x903010";
934 MY(color_max) = "0xFFD030";
937 MY(liquidfriction) = 0.800000;
938 MY(notunderwater) = true;
942 MY(velocityjitter) = '384.0 384.0 384.0';
943 MY(velocityoffset) = '0.0 0.0 80.0';
947 DEF(TE_TEI_PLASMAHIT);
949 SUB(TE_TEI_PLASMAHIT) {
952 MY(countabsolute) = 1;
953 MY(lightcolor) = '2.4 4.8 8.0';
954 MY(lightradiusfade) = 600;
955 MY(lightradius) = 200;
956 MY(originjitter) = '20.0 20.0 20.0';
964 SUB(TE_TEI_PLASMAHIT) {
967 MY(alpha_fade) = 512;
968 MY(color_min) = "0x80C0FF";
969 MY(color_max) = "0x80C0FF";
970 MY(countabsolute) = 1;
977 // cloud of bouncing sparks
978 SUB(TE_TEI_PLASMAHIT) {
981 MY(alpha_fade) = 1024;
982 MY(bounce) = 1.500000;
983 MY(color_min) = "0x2030FF";
984 MY(color_max) = "0x80C0FF";
985 MY(count) = 0.500000;
989 MY(velocityjitter) = '512.0 512.0 512.0';
992 // bloody impact effect indicating damage
995 MY(airfriction) = 0.400000;
996 MY(alpha_min) = 1560;
997 MY(alpha_max) = 2560;
998 MY(alpha_fade) = 7000;
999 MY(blend) = "invmod";
1001 MY(color_min) = "0xA8FFFF";
1002 MY(color_max) = "0xA8FFFFF";
1003 MY(count) = 0.400000;
1004 MY(sizeincrease) = 20;
1007 MY(staincolor_min) = "0x808080";
1008 MY(staincolor_max) = "0x808080";
1009 MY(stainsize_min) = 1;
1010 MY(stainsize_max) = 2;
1011 MY(staintex_min) = 16;
1012 MY(staintex_max) = 24;
1013 MY(stretchfactor) = 20;
1017 MY(velocityjitter) = '99.0 99.0 55.0';
1021 MY(alpha_min) = 100;
1022 MY(alpha_max) = 256;
1023 MY(alpha_fade) = 400;
1024 MY(blend) = "invmod";
1025 MY(color_min) = "0x000000";
1026 MY(color_max) = "0x420000";
1027 MY(countabsolute) = 1;
1028 MY(originjitter) = '11.0 11.0 11.0';
1029 MY(sizeincrease) = 20;
1034 MY(type) = "alphastatic";
1037 // player teleport effect
1040 MY(airfriction) = 2;
1041 MY(alpha_max) = 256;
1042 MY(alpha_fade) = 100;
1043 MY(bounce) = 1.500000;
1044 MY(color_min) = "0x807aff";
1045 MY(color_max) = "0x4463d5";
1047 MY(originjitter) = '1.0 1.0 1.0';
1050 MY(stretchfactor) = 0.600000;
1054 MY(velocityjitter) = '1000.0 1000.0 1500.0';
1055 MY(velocitymultiplier) = 0.500000;
1058 MY(alpha_min) = 190;
1059 MY(alpha_max) = 190;
1060 MY(alpha_fade) = 180;
1061 MY(color_min) = "0x807aff";
1062 MY(color_max) = "0x4463d5";
1063 MY(countabsolute) = 1;
1064 MY(sizeincrease) = -80;
1072 // normal super gory blood trail (used by gibs)
1075 MY(airfriction) = -2;
1076 MY(alpha_min) = 384;
1077 MY(alpha_max) = 984;
1078 MY(alpha_fade) = 1492;
1079 MY(blend) = "invmod";
1081 MY(color_min) = "0xA8FFFF";
1082 MY(color_max) = "0xA8FFFF";
1083 MY(gravity) = 0.400000;
1084 MY(liquidfriction) = 1;
1085 MY(sizeincrease) = -5;
1088 MY(staincolor_min) = "0x808080";
1089 MY(staincolor_max) = "0x808080";
1090 MY(stainsize_min) = 1;
1091 MY(stainsize_max) = 2;
1092 MY(staintex_min) = 16;
1093 MY(staintex_max) = 24;
1094 MY(stretchfactor) = 7;
1097 MY(trailspacing) = 20;
1099 MY(velocityjitter) = '64.0 64.0 64.0';
1100 MY(velocitymultiplier) = -0.100000;
1102 // splash around gib
1104 MY(alpha_min) = 684;
1105 MY(alpha_max) = 684;
1106 MY(alpha_fade) = 7492;
1107 MY(color_min) = "0xA8FFFF";
1108 MY(color_max) = "0xA8FFFF";
1109 MY(sizeincrease) = 500;
1114 MY(trailspacing) = 42;
1118 // thinner blood trail (used by quake zombies)
1119 DEF(TR_SLIGHTBLOOD);
1120 SUB(TR_SLIGHTBLOOD) {
1121 MY(airfriction) = 1;
1122 MY(alpha_min) = 384;
1123 MY(alpha_max) = 384;
1124 MY(alpha_fade) = 192;
1126 MY(color_min) = "0xA8FFFF";
1127 MY(color_max) = "0xA8FFFF";
1128 MY(liquidfriction) = 4;
1131 MY(staincolor_min) = "0x808080";
1132 MY(staincolor_max) = "0x808080";
1133 MY(staintex_min) = 16;
1134 MY(staintex_max) = 24;
1137 MY(trailspacing) = 64;
1139 MY(velocityjitter) = '64.0 64.0 64.0';
1140 MY(velocitymultiplier) = 0.500000;
1143 // func_stardust effect, used in some maps to indicate teleporters
1146 MY(airfriction) = 0.200000;
1148 MY(alpha_max) = 128;
1149 MY(alpha_fade) = 128;
1150 MY(color_min) = "0xfff368";
1151 MY(color_max) = "0xfff368";
1152 MY(count) = 37.500000;
1153 MY(gravity) = -0.100000;
1154 MY(liquidfriction) = 0.800000;
1155 MY(originjitter) = '16.0 16.0 64.0';
1158 MY(type) = "static";
1159 MY(velocityjitter) = '32.0 32.0 0.0';
1162 // flare particle and light
1165 MY(alpha_min) = 128;
1166 MY(alpha_max) = 128;
1167 MY(alpha_fade) = 128;
1168 MY(color_min) = "0x63F2EA";
1169 MY(color_max) = "0x63f2EA";
1170 MY(countabsolute) = 1;
1173 MY(type) = "static";
1175 // cloud of particles which expand rapidly and then slow to form a ball
1177 MY(alpha_min) = 256;
1178 MY(alpha_max) = 256;
1179 MY(alpha_fade) = 1280;
1180 MY(color_min) = "0x63F2EA";
1181 MY(color_max) = "0x63f2EA";
1188 MY(velocityjitter) = '256.0 256.0 256.0';
1191 DEF(jumppad_activate);
1192 SUB(jumppad_activate) {
1193 MY(lightcolor) = '2.0 2.0 2.0';
1194 MY(lightradiusfade) = 2000;
1195 MY(lightradius) = 200;
1198 DEF(laser_muzzleflash);
1200 SUB(laser_muzzleflash) {
1201 MY(airfriction) = 10;
1202 MY(alpha_min) = 256;
1203 MY(alpha_max) = 512;
1204 MY(alpha_fade) = 6280;
1205 MY(color_min) = "0xcc0000";
1206 MY(color_max) = "0xff0000";
1207 MY(countabsolute) = 1;
1208 MY(lightcolor) = '3.0 0.1 0.1';
1209 MY(lightradiusfade) = 2000;
1210 MY(lightradius) = 200;
1211 MY(sizeincrease) = -100;
1214 MY(stretchfactor) = 2;
1220 SUB(laser_muzzleflash) {
1221 MY(airfriction) = 10;
1222 MY(alpha_min) = 256;
1223 MY(alpha_max) = 512;
1224 MY(alpha_fade) = 6280;
1225 MY(color_min) = "0xb44215";
1226 MY(color_max) = "0xff0000";
1228 MY(originjitter) = '2.0 2.0 2.0';
1229 MY(startangle_min) = -180;
1230 MY(startangle_max) = 180;
1231 MY(spin_min) = 4000;
1232 MY(spin_max) = -4000;
1233 MY(sizeincrease) = -100;
1236 MY(stretchfactor) = 2.300000;
1240 MY(velocityjitter) = '150.0 150.0 150.0';
1241 MY(velocitymultiplier) = 0.200000;
1244 SUB(laser_muzzleflash) {
1245 MY(airfriction) = 12;
1246 MY(alpha_min) = 256;
1247 MY(alpha_max) = 512;
1248 MY(alpha_fade) = 6280;
1249 MY(color_min) = "0xff4200";
1250 MY(color_max) = "0xff0000";
1252 MY(originjitter) = '2.0 2.0 2.0';
1253 MY(sizeincrease) = -100;
1256 MY(stretchfactor) = 2;
1260 MY(velocityjitter) = '100.0 100.0 100.0';
1261 MY(velocitymultiplier) = 0.200000;
1267 MY(alpha_min) = 256;
1268 MY(alpha_max) = 256;
1269 MY(countabsolute) = 1;
1270 MY(lightcolor) = '8.0 0.4 0.4';
1271 MY(lightradiusfade) = 500;
1272 MY(lightradius) = 200;
1273 MY(originjitter) = '14.0 14.0 14.0';
1282 MY(alpha_min) = 256;
1283 MY(alpha_max) = 256;
1284 MY(alpha_fade) = 1024;
1285 MY(color_min) = "0xFF2010";
1286 MY(color_max) = "0xFF2010";
1287 MY(countabsolute) = 1;
1292 MY(type) = "static";
1294 // sparks that rapidly expand and rapidly slow down to form an interesting spherical effect
1296 MY(airfriction) = 6;
1297 MY(alpha_min) = 256;
1298 MY(alpha_max) = 256;
1299 MY(alpha_fade) = 1024;
1300 MY(color_min) = "0x800000";
1301 MY(color_max) = "0xFF8020";
1303 MY(liquidfriction) = 6;
1307 MY(velocityjitter) = '256.0 256.0 256.0';
1310 MY(alpha_min) = 128;
1311 MY(alpha_max) = 256;
1312 MY(alpha_fade) = 256;
1313 MY(color_min) = "0x800000";
1314 MY(color_max) = "0xFF8020";
1316 MY(originjitter) = '1.0 1.0 1.0';
1317 MY(sizeincrease) = 6;
1323 MY(velocityjitter) = '16.0 16.0 16.0';
1324 MY(velocitymultiplier) = 0.010000;
1327 DEF(shotgun_muzzleflash);
1328 SUB(shotgun_muzzleflash) {
1329 MY(alpha_min) = 256;
1330 MY(alpha_max) = 256;
1331 MY(alpha_fade) = 512;
1332 MY(color_min) = "0x202020";
1333 MY(color_max) = "0x404040";
1334 MY(count) = 1.500000;
1335 MY(lightcolor) = '2.0 1.5 0.2';
1336 MY(lightradiusfade) = 2000;
1337 MY(lightradius) = 200;
1338 MY(originjitter) = '1.5 1.5 1.5';
1339 MY(sizeincrease) = 12;
1344 MY(velocityjitter) = '6.0 6.0 6.0';
1345 MY(velocitymultiplier) = 0.050000;
1347 SUB(shotgun_muzzleflash) {
1348 MY(airfriction) = 5;
1349 MY(alpha_max) = 128;
1350 MY(alpha_fade) = 1024;
1351 MY(color_min) = "0xffdb96";
1352 MY(color_max) = "0xff5400";
1354 MY(originjitter) = '1.0 1.0 1.0';
1357 MY(stretchfactor) = 2.500000;
1361 MY(velocityjitter) = '100.0 100.0 100.0';
1362 MY(velocitymultiplier) = 0.500000;
1365 // shotgun pellet impact
1366 DEF(shotgun_impact);
1368 SUB(shotgun_impact) {
1369 MY(alpha_min) = 256;
1370 MY(alpha_max) = 256;
1371 MY(countabsolute) = 1;
1372 MY(originjitter) = '10.0 10.0 10.0';
1379 // dust/smoke drifting away from the impact
1380 SUB(shotgun_impact) {
1381 MY(airfriction) = 5;
1382 MY(alpha_min) = 300;
1383 MY(alpha_max) = 550;
1384 MY(alpha_fade) = 756;
1385 MY(color_min) = "0x473a37";
1386 MY(color_max) = "0x0b0a07";
1388 MY(notunderwater) = true;
1389 MY(startangle_max) = 360;
1392 MY(sizeincrease) = 25;
1396 MY(type) = "alphastatic";
1397 MY(velocityjitter) = '150.0 150.0 150.0';
1398 MY(velocitymultiplier) = 0.200000;
1400 // dust/smoke staying at the impact
1401 SUB(shotgun_impact) {
1402 MY(airfriction) = 5;
1403 MY(alpha_min) = 200;
1404 MY(alpha_max) = 350;
1405 MY(alpha_fade) = 500;
1407 MY(color_min) = "0x201d1a";
1408 MY(color_max) = "0x000000";
1409 MY(count) = 0.200000;
1410 MY(notunderwater) = true;
1411 MY(startangle_max) = 360;
1414 MY(sizeincrease) = 74;
1419 MY(type) = "alphastatic";
1420 MY(velocityjitter) = '11.0 11.0 11.0';
1421 MY(velocitymultiplier) = 0.030000;
1424 SUB(shotgun_impact) {
1425 MY(airfriction) = 1.100000;
1426 MY(alpha_max) = 356;
1427 MY(alpha_fade) = 268;
1428 MY(bounce) = 1.500000;
1429 MY(color_min) = "0xFDFFD9";
1430 MY(color_max) = "0xFDFFD9";
1431 MY(count) = 0.500000;
1433 MY(notunderwater) = true;
1434 MY(originjitter) = '1.0 1.0 1.0';
1435 MY(size_min) = 0.600000;
1436 MY(size_max) = 0.600000;
1440 MY(velocityjitter) = '200.0 200.0 200.0';
1441 MY(velocitymultiplier) = 0.200000;
1444 DEF(uzi_muzzleflash);
1445 SUB(uzi_muzzleflash) {
1446 MY(alpha_min) = 256;
1447 MY(alpha_max) = 256;
1448 MY(alpha_fade) = 512;
1449 MY(color_min) = "0x202020";
1450 MY(color_max) = "0x404040";
1452 MY(gravity) = -0.100000;
1453 MY(lightcolor) = '2.0 1.5 0.2';
1454 MY(lightradiusfade) = 2000;
1455 MY(lightradius) = 200;
1456 MY(originjitter) = '1.5 1.5 1.5';
1460 MY(type) = "static";
1461 MY(velocityjitter) = '1.0 1.0 1.0';
1462 MY(velocitymultiplier) = 0.030000;
1464 SUB(uzi_muzzleflash) {
1465 MY(airfriction) = 12;
1466 MY(alpha_max) = 256;
1467 MY(alpha_fade) = 6000;
1468 MY(color_min) = "0xff9c00";
1469 MY(color_max) = "0xffd200";
1471 MY(originjitter) = '1.0 1.0 1.0';
1472 MY(size_min) = 0.300000;
1473 MY(size_max) = 0.400000;
1474 MY(stretchfactor) = 0.150000;
1478 MY(velocityjitter) = '555.0 555.0 555.0';
1479 MY(velocitymultiplier) = 3;
1482 DEF(machinegun_impact);
1484 SUB(machinegun_impact) {
1485 MY(alpha_min) = 256;
1486 MY(alpha_max) = 256;
1487 MY(countabsolute) = 1;
1488 MY(lightcolor) = '6.0 3.6 0.6';
1489 MY(lightradiusfade) = 800;
1490 MY(lightradius) = 80;
1491 MY(originjitter) = '10.0 10.0 10.0';
1498 // dust/smoke drifting away from the impact
1499 SUB(machinegun_impact) {
1500 MY(airfriction) = 5;
1501 MY(alpha_min) = 300;
1502 MY(alpha_max) = 550;
1503 MY(alpha_fade) = 456;
1504 MY(color_min) = "0x473a37";
1505 MY(color_max) = "0x0b0a07";
1506 MY(count) = 1.500000;
1507 MY(notunderwater) = true;
1508 MY(startangle_max) = 360;
1511 MY(sizeincrease) = 15;
1515 MY(type) = "alphastatic";
1516 MY(velocityjitter) = '150.0 150.0 150.0';
1517 MY(velocitymultiplier) = 0.100000;
1519 // dust/smoke staying at the impact
1520 SUB(machinegun_impact) {
1521 MY(airfriction) = 5;
1522 MY(alpha_min) = 200;
1523 MY(alpha_max) = 350;
1524 MY(alpha_fade) = 500;
1526 MY(color_min) = "0x201d1a";
1527 MY(color_max) = "0x000000";
1528 MY(count) = 0.500000;
1529 MY(notunderwater) = true;
1530 MY(startangle_max) = 360;
1533 MY(sizeincrease) = 74;
1538 MY(type) = "alphastatic";
1539 MY(velocityjitter) = '11.0 11.0 11.0';
1540 MY(velocitymultiplier) = 0.030000;
1543 SUB(machinegun_impact) {
1544 MY(airfriction) = 1;
1545 MY(alpha_min) = 300;
1546 MY(alpha_max) = 550;
1547 MY(alpha_fade) = 256;
1548 MY(bounce) = 1.700000;
1549 MY(color_min) = "0x63493e";
1550 MY(color_max) = "0xffffff";
1552 MY(gravity) = 1.400000;
1553 MY(notunderwater) = true;
1554 MY(startangle_max) = 360;
1555 MY(spin_min) = -500;
1561 MY(type) = "alphastatic";
1562 MY(velocityjitter) = '350.0 350.0 350.0';
1563 MY(velocitymultiplier) = 0.200000;
1566 SUB(machinegun_impact) {
1567 MY(airfriction) = 2;
1568 MY(alpha_min) = 256;
1569 MY(alpha_max) = 256;
1570 MY(alpha_fade) = 168;
1572 MY(color_min) = "0xFDFFD9";
1573 MY(color_max) = "0xFDFFD9";
1576 MY(notunderwater) = true;
1577 MY(originjitter) = '1.0 1.0 1.0';
1578 MY(size_min) = 0.300000;
1579 MY(size_max) = 0.300000;
1583 MY(velocityjitter) = '300.0 300.0 300.0';
1584 MY(velocitymultiplier) = 0.200000;
1587 DEF(grenadelauncher_muzzleflash);
1588 SUB(grenadelauncher_muzzleflash) {
1589 MY(airfriction) = 12;
1590 MY(alpha_min) = 256;
1591 MY(alpha_max) = 256;
1592 MY(alpha_fade) = 512;
1593 MY(color_min) = "0x202020";
1594 MY(color_max) = "0x404040";
1595 MY(count) = 1.500000;
1596 MY(lightcolor) = '2.0 1.5 0.2';
1597 MY(lightradiusfade) = 2000;
1598 MY(lightradius) = 200;
1599 MY(originjitter) = '1.5 1.5 1.5';
1604 MY(velocityjitter) = '20.0 20.0 20.0';
1605 MY(velocitymultiplier) = 0.030000;
1607 SUB(grenadelauncher_muzzleflash) {
1608 MY(airfriction) = 5;
1609 MY(alpha_max) = 128;
1610 MY(alpha_fade) = 1024;
1611 MY(color_min) = "0xffdb96";
1612 MY(color_max) = "0xff5400";
1614 MY(originjitter) = '1.0 1.0 1.0';
1617 MY(stretchfactor) = 2.500000;
1621 MY(velocityjitter) = '100.0 100.0 100.0';
1622 MY(velocitymultiplier) = 0.500000;
1629 MY(alpha_min) = 300;
1630 MY(alpha_max) = 400;
1631 MY(alpha_fade) = 780;
1633 MY(color_min) = "0x101010";
1634 MY(color_max) = "0x000000";
1635 MY(originjitter) = '1.0 1.0 1.0';
1636 MY(sizeincrease) = 10;
1640 MY(trailspacing) = 4;
1642 MY(velocityjitter) = '1.0 1.0 1.0';
1643 MY(velocitymultiplier) = -0.020000;
1647 MY(airfriction) = 8;
1648 MY(alpha_min) = 100;
1649 MY(alpha_max) = 144;
1650 MY(alpha_fade) = 988;
1651 MY(color_min) = "0xffdf72";
1652 MY(color_max) = "0x811200";
1653 MY(notunderwater) = true;
1654 MY(sizeincrease) = -15;
1659 MY(trailspacing) = 4;
1660 MY(type) = "static";
1661 MY(velocityjitter) = '32.0 32.0 32.0';
1662 MY(velocitymultiplier) = -1;
1666 MY(alpha_min) = 256;
1667 MY(alpha_max) = 256;
1668 MY(alpha_fade) = 256;
1669 MY(bounce) = 1.500000;
1670 MY(color_min) = "0x404040";
1671 MY(color_max) = "0x808080";
1672 MY(gravity) = -0.125000;
1673 MY(liquidfriction) = 4;
1678 MY(trailspacing) = 16;
1679 MY(type) = "bubble";
1680 MY(underwater) = true;
1681 MY(velocityjitter) = '16.0 16.0 16.0';
1685 DEF(TR_KNIGHTSPIKE);
1687 SUB(TR_KNIGHTSPIKE) {
1688 MY(alpha_min) = 300;
1689 MY(alpha_max) = 400;
1690 MY(alpha_fade) = 600;
1692 MY(color_min) = "0x303030";
1693 MY(color_max) = "0x000000";
1694 MY(gravity) = -0.110000;
1695 MY(notunderwater) = true;
1696 MY(originjitter) = '2.0 2.0 2.0';
1697 MY(sizeincrease) = 11;
1701 MY(trailspacing) = 6;
1703 MY(velocityjitter) = '3.0 3.0 3.0';
1704 MY(velocitymultiplier) = -0.020000;
1707 SUB(TR_KNIGHTSPIKE) {
1708 MY(alpha_min) = 256;
1709 MY(alpha_max) = 256;
1710 MY(alpha_fade) = 720;
1711 MY(color_min) = "0x666666";
1712 MY(color_max) = "0x000000";
1713 MY(sizeincrease) = -0.100000;
1718 MY(trailspacing) = 2;
1719 MY(type) = "alphastatic";
1722 SUB(TR_KNIGHTSPIKE) {
1723 MY(alpha_min) = 256;
1724 MY(alpha_max) = 256;
1725 MY(alpha_fade) = 256;
1726 MY(bounce) = 1.500000;
1727 MY(color_min) = "0x404040";
1728 MY(color_max) = "0x808080";
1729 MY(gravity) = -0.125000;
1730 MY(liquidfriction) = 4;
1735 MY(trailspacing) = 32;
1736 MY(type) = "bubble";
1737 MY(underwater) = true;
1738 MY(velocityjitter) = '16.0 16.0 16.0';
1741 DEF(grenade_explode);
1743 SUB(grenade_explode) {
1744 MY(alpha_min) = 256;
1745 MY(alpha_max) = 256;
1746 MY(countabsolute) = 1;
1747 MY(lightcolor) = '8.0 4.0 1.0';
1748 MY(lightradiusfade) = 400;
1749 MY(lightradius) = 250;
1750 MY(originjitter) = '26.0 26.0 26.0';
1757 // fire effect which expands then slows
1758 SUB(grenade_explode) {
1759 MY(airfriction) = 8;
1760 MY(alpha_min) = 128;
1761 MY(alpha_max) = 228;
1762 MY(alpha_fade) = 356;
1763 MY(bounce) = 4.500000;
1764 MY(color_min) = "0xe03f00";
1765 MY(color_max) = "0x5e0000";
1767 MY(liquidfriction) = 8;
1768 MY(notunderwater) = true;
1769 MY(originjitter) = '8.0 8.0 8.0';
1770 MY(sizeincrease) = 20;
1775 MY(type) = "static";
1776 MY(velocityjitter) = '256.0 256.0 256.0';
1778 // fire effect which make bright dot inside
1779 SUB(grenade_explode) {
1780 MY(airfriction) = 8;
1781 MY(alpha_min) = 228;
1782 MY(alpha_max) = 328;
1783 MY(alpha_fade) = 756;
1785 MY(color_min) = "0xe03f00";
1786 MY(color_max) = "0xffdf92";
1788 MY(liquidfriction) = 8;
1789 MY(notunderwater) = true;
1790 MY(originjitter) = '8.0 8.0 8.0';
1791 MY(sizeincrease) = 40;
1796 MY(type) = "static";
1797 MY(velocityjitter) = '256.0 256.0 256.0';
1800 SUB(grenade_explode) {
1801 MY(airfriction) = 5;
1802 MY(alpha_min) = 300;
1803 MY(alpha_max) = 550;
1804 MY(alpha_fade) = 556;
1806 MY(color_min) = "0x000000";
1807 MY(color_max) = "0x111111";
1809 MY(notunderwater) = true;
1810 MY(sizeincrease) = 34;
1814 MY(type) = "alphastatic";
1815 MY(velocityjitter) = '256.0 256.0 256.0';
1817 // underwater bubbles
1818 SUB(grenade_explode) {
1819 MY(alpha_min) = 128;
1820 MY(alpha_max) = 256;
1821 MY(alpha_fade) = 64;
1822 MY(bounce) = 1.500000;
1823 MY(color_min) = "0x404040";
1824 MY(color_max) = "0x808080";
1826 MY(gravity) = -0.125000;
1827 MY(liquidfriction) = 0.250000;
1828 MY(originjitter) = '16.0 16.0 16.0';
1833 MY(type) = "bubble";
1834 MY(underwater) = true;
1835 MY(velocityjitter) = '196.0 196.0 196.0';
1837 // underwatershockwave
1838 SUB(grenade_explode) {
1841 MY(alpha_fade) = 300;
1842 MY(countabsolute) = 1;
1843 MY(sizeincrease) = 1500;
1849 MY(underwater) = true;
1850 MY(velocitymultiplier) = 0.300000;
1853 SUB(grenade_explode) {
1854 MY(airfriction) = 1;
1855 MY(alpha_min) = 644;
1856 MY(alpha_max) = 956;
1857 MY(alpha_fade) = 484;
1858 MY(bounce) = 1.600000;
1859 MY(color_min) = "0xffa35b";
1860 MY(color_max) = "0xfff2be";
1863 MY(liquidfriction) = 0.800000;
1864 MY(notunderwater) = true;
1865 MY(originjitter) = '16.0 16.0 16.0';
1867 MY(size_max) = 0.100000;
1871 MY(velocityjitter) = '424.0 424.0 624.0';
1872 MY(velocityoffset) = '0.0 0.0 80.0';
1875 SUB(grenade_explode) {
1876 MY(airfriction) = 0.500000;
1877 MY(alpha_min) = 644;
1878 MY(alpha_max) = 956;
1879 MY(alpha_fade) = 684;
1880 MY(bounce) = 1.600000;
1881 MY(color_min) = "0x6a3d25";
1882 MY(color_max) = "0xcac5b4";
1884 MY(gravity) = 1.300000;
1885 MY(notunderwater) = true;
1886 MY(startangle_min) = -180;
1887 MY(startangle_max) = 180;
1888 MY(spin_min) = -1000;
1889 MY(spin_max) = 1000;
1894 MY(type) = "alphastatic";
1895 MY(velocityjitter) = '324.0 324.0 524.0';
1898 DEF(electro_muzzleflash);
1899 SUB(electro_muzzleflash) {
1900 MY(alpha_min) = 256;
1901 MY(alpha_max) = 256;
1902 MY(alpha_fade) = 512;
1903 MY(color_min) = "0x283880";
1904 MY(color_max) = "0x283880";
1905 MY(countabsolute) = 1;
1906 MY(lightcolor) = '1.5 3.0 6.0';
1907 MY(lightradiusfade) = 2000;
1908 MY(lightradius) = 200;
1909 MY(originjitter) = '1.5 1.5 1.5';
1910 MY(sizeincrease) = -10;
1916 MY(velocityjitter) = '6.0 6.0 6.0';
1917 MY(velocitymultiplier) = 0.010000;
1919 SUB(electro_muzzleflash) {
1920 MY(airfriction) = 2;
1921 MY(alpha_min) = 110;
1922 MY(alpha_max) = 228;
1923 MY(alpha_fade) = 2024;
1924 MY(color_min) = "0xD9FDFF";
1925 MY(color_max) = "0xD9FDFF";
1927 MY(originjitter) = '1.0 1.0 1.0';
1930 MY(stretchfactor) = 1.500000;
1934 MY(velocityjitter) = '150.0 150.0 150.0';
1935 MY(velocitymultiplier) = 0.500000;
1937 SUB(electro_muzzleflash) {
1938 MY(airfriction) = 8;
1939 MY(alpha_min) = 110;
1940 MY(alpha_max) = 228;
1941 MY(alpha_fade) = 1024;
1942 MY(color_min) = "0xD9FDFF";
1943 MY(color_max) = "0xD9FDFF";
1945 MY(gravity) = 1.300000;
1946 MY(originjitter) = '1.0 1.0 1.0';
1949 MY(stretchfactor) = 0.100000;
1953 MY(velocityjitter) = '350.0 350.0 350.0';
1954 MY(velocitymultiplier) = 2.500000;
1958 DEF(TR_NEXUIZPLASMA);
1959 // glowing vapor trail
1960 SUB(TR_NEXUIZPLASMA) {
1961 MY(alpha_min) = 256;
1962 MY(alpha_max) = 256;
1963 MY(alpha_fade) = 968;
1964 MY(color_min) = "0x283880";
1965 MY(color_max) = "0x283880";
1966 MY(lightcolor) = '1.5 3.0 6.0';
1967 MY(lightradius) = 90;
1972 MY(trailspacing) = 2;
1973 MY(type) = "static";
1974 MY(velocitymultiplier) = -0.100000;
1977 SUB(TR_NEXUIZPLASMA) {
1978 MY(airfriction) = 12;
1979 MY(alpha_min) = 444;
1980 MY(alpha_max) = 512;
1981 MY(alpha_fade) = 1866;
1983 MY(color_min) = "0x629dff";
1984 MY(color_max) = "0x0018ff";
1985 MY(count) = 1.500000;
1986 MY(originjitter) = '1.0 1.0 1.0';
1987 MY(sizeincrease) = -20;
1992 MY(trailspacing) = 12;
1994 MY(velocityjitter) = '50.0 50.0 50.0';
1995 MY(velocityoffset) = '0.0 0.0 15.0';
1998 DEF(electro_impact);
2000 SUB(electro_impact) {
2001 MY(alpha_min) = 256;
2002 MY(alpha_max) = 256;
2003 MY(countabsolute) = 1;
2004 MY(lightcolor) = '3.1 4.4 10.0';
2005 MY(lightradiusfade) = 250;
2006 MY(lightradius) = 250;
2007 MY(originjitter) = '17.0 17.0 17.0';
2015 SUB(electro_impact) {
2018 MY(alpha_fade) = 350;
2019 MY(color_min) = "0x80C0FF";
2020 MY(color_max) = "0x80C0FF";
2021 MY(countabsolute) = 1;
2022 MY(sizeincrease) = 1000;
2028 MY(velocitymultiplier) = 44;
2031 SUB(electro_impact) {
2032 MY(alpha_min) = 256;
2033 MY(alpha_max) = 256;
2034 MY(alpha_fade) = 512;
2035 MY(color_min) = "0x80C0FF";
2036 MY(color_max) = "0x80C0FF";
2037 MY(countabsolute) = 1;
2042 MY(type) = "static";
2044 // cloud of bouncing sparks
2045 SUB(electro_impact) {
2046 MY(airfriction) = 6;
2047 MY(alpha_min) = 256;
2048 MY(alpha_max) = 256;
2049 MY(alpha_fade) = 1024;
2051 MY(color_min) = "0x629dff";
2052 MY(color_max) = "0x0018ff";
2054 MY(gravity) = -0.300000;
2055 MY(originjitter) = '1.0 1.0 1.0';
2056 MY(startangle_min) = -180;
2057 MY(startangle_max) = 180;
2058 MY(spin_min) = -9999;
2059 MY(spin_max) = 9999;
2060 MY(sizeincrease) = -50;
2066 MY(velocityjitter) = '512.0 512.0 512.0';
2068 // inner cloud of smoke
2069 SUB(electro_impact) {
2070 MY(airfriction) = 30;
2071 MY(alpha_min) = 200;
2072 MY(alpha_max) = 256;
2073 MY(alpha_fade) = 512;
2074 MY(color_min) = "0x629dff";
2075 MY(color_max) = "0x0018ff";
2077 MY(originjitter) = '20.0 20.0 20.0';
2078 MY(sizeincrease) = 50;
2083 MY(velocityjitter) = '320.0 320.0 320.0';
2086 DEF(electro_ballexplode);
2088 SUB(electro_ballexplode) {
2089 MY(alpha_min) = 256;
2090 MY(alpha_max) = 256;
2091 MY(countabsolute) = 1;
2092 MY(lightcolor) = '3.1 4.4 10.0';
2093 MY(lightradiusfade) = 250;
2094 MY(lightradius) = 250;
2095 MY(originjitter) = '17.0 17.0 17.0';
2103 SUB(electro_ballexplode) {
2104 MY(alpha_min) = 256;
2105 MY(alpha_max) = 256;
2106 MY(alpha_fade) = 512;
2107 MY(color_min) = "0x80C0FF";
2108 MY(color_max) = "0x80C0FF";
2109 MY(countabsolute) = 1;
2114 MY(type) = "static";
2116 // cloud of bouncing sparks
2117 SUB(electro_ballexplode) {
2118 MY(alpha_min) = 256;
2119 MY(alpha_max) = 256;
2120 MY(alpha_fade) = 1024;
2122 MY(color_min) = "0xFDFFD9";
2123 MY(color_max) = "0xFDFFD9";
2125 MY(originjitter) = '1.0 1.0 1.0';
2128 MY(stretchfactor) = 0.400000;
2132 MY(velocityjitter) = '512.0 512.0 512.0';
2134 // inner cloud of smoke
2135 SUB(electro_ballexplode) {
2136 MY(alpha_min) = 256;
2137 MY(alpha_max) = 256;
2138 MY(alpha_fade) = 512;
2139 MY(color_min) = "0x202020";
2140 MY(color_max) = "0x404040";
2142 MY(originjitter) = '20.0 20.0 20.0';
2147 MY(velocityjitter) = '32.0 32.0 32.0';
2152 SUB(electro_combo) {
2153 MY(alpha_min) = 256;
2154 MY(alpha_max) = 256;
2155 MY(countabsolute) = 1;
2156 MY(lightcolor) = '4.0 5.0 6.0';
2157 MY(lightradiusfade) = 300;
2158 MY(lightradius) = 400;
2159 MY(originjitter) = '17.0 17.0 17.0';
2167 SUB(electro_combo) {
2168 MY(alpha_min) = 128;
2169 MY(alpha_max) = 128;
2170 MY(alpha_fade) = 64;
2171 MY(color_min) = "0x80C0FF";
2172 MY(color_max) = "0x80C0FF";
2173 MY(countabsolute) = 1;
2178 MY(type) = "static";
2181 SUB(electro_combo) {
2182 MY(airfriction) = 6;
2183 MY(alpha_min) = 156;
2184 MY(alpha_max) = 156;
2185 MY(alpha_fade) = 156;
2187 MY(color_min) = "0x2030FF";
2188 MY(color_max) = "0x80C0FF";
2190 MY(liquidfriction) = 16;
2191 MY(sizeincrease) = 50;
2195 MY(type) = "static";
2196 MY(velocityjitter) = '512.0 512.0 512.0';
2198 SUB(electro_combo) {
2199 MY(alpha_min) = 444;
2200 MY(alpha_max) = 512;
2201 MY(alpha_fade) = 700;
2202 MY(bounce) = 1.600000;
2203 MY(color_min) = "0xa9cacf";
2204 MY(color_max) = "0x0054ff";
2206 MY(gravity) = 0.300000;
2207 MY(originjitter) = '1.0 1.0 1.0';
2210 MY(stretchfactor) = 2;
2214 MY(velocityjitter) = '312.0 312.0 312.0';
2215 MY(velocitymultiplier) = 3;
2217 // inner cloud of smoke
2218 SUB(electro_combo) {
2219 MY(alpha_min) = 256;
2220 MY(alpha_max) = 256;
2221 MY(alpha_fade) = 256;
2222 MY(color_min) = "0x202020";
2223 MY(color_max) = "0x404040";
2224 MY(count) = 0.125000;
2225 MY(originjitter) = '20.0 20.0 20.0';
2230 MY(velocityjitter) = '32.0 32.0 32.0';
2233 SUB(electro_combo) {
2236 MY(alpha_fade) = 100;
2237 MY(color_min) = "0xa9cacf";
2238 MY(color_max) = "0x0054ff";
2239 MY(countabsolute) = 1;
2240 MY(sizeincrease) = 600;
2246 MY(velocitymultiplier) = 0.300000;
2249 DEF(crylink_muzzleflash);
2250 SUB(crylink_muzzleflash) {
2251 MY(alpha_min) = 128;
2252 MY(alpha_max) = 128;
2253 MY(alpha_fade) = 2024;
2254 MY(color_min) = "0xdd9cff";
2255 MY(color_max) = "0xff0090";
2256 MY(count) = 0.500000;
2257 MY(lightcolor) = '1.6 0.2 2.0';
2258 MY(lightradiusfade) = 2000;
2259 MY(lightradius) = 200;
2265 MY(velocitymultiplier) = 0.010000;
2267 SUB(crylink_muzzleflash) {
2268 MY(airfriction) = 12;
2269 MY(alpha_max) = 128;
2270 MY(alpha_fade) = 1024;
2271 MY(color_min) = "0xA080C0";
2272 MY(color_max) = "0xA080C0";
2274 MY(originjitter) = '1.0 1.0 1.0';
2277 MY(stretchfactor) = 1.500000;
2281 MY(velocityjitter) = '200.0 200.0 200.0';
2282 MY(velocitymultiplier) = 0.300000;
2285 DEF(crylink_impact);
2287 SUB(crylink_impact) {
2288 MY(alpha_min) = 256;
2289 MY(alpha_max) = 256;
2290 MY(countabsolute) = 1;
2291 MY(originjitter) = '12.0 12.0 12.0';
2298 // purple flare effect
2299 SUB(crylink_impact) {
2300 MY(alpha_min) = 256;
2301 MY(alpha_max) = 256;
2302 MY(alpha_fade) = 512;
2303 MY(color_min) = "0x504060";
2304 MY(color_max) = "0x504060";
2305 MY(countabsolute) = 1;
2310 MY(type) = "static";
2313 SUB(crylink_impact) {
2314 MY(alpha_min) = 256;
2315 MY(alpha_max) = 256;
2316 MY(alpha_fade) = 1024;
2318 MY(color_min) = "0xA040C0";
2319 MY(color_max) = "0xA040C0";
2326 MY(velocityjitter) = '512.0 512.0 512.0';
2329 SUB(crylink_impact) {
2330 MY(alpha_min) = 256;
2331 MY(alpha_max) = 256;
2332 MY(alpha_fade) = 512;
2333 MY(color_min) = "0xE070FF";
2334 MY(color_max) = "0xE070FF";
2335 MY(count) = 1.500000;
2338 MY(type) = "static";
2339 MY(velocityjitter) = '32.0 32.0 32.0';
2342 SUB(crylink_impact) {
2343 MY(alpha_min) = 256;
2344 MY(alpha_max) = 256;
2345 MY(alpha_fade) = 1024;
2346 MY(color_min) = "0xE070FF";
2347 MY(color_max) = "0xE070FF";
2351 MY(type) = "static";
2352 MY(velocityjitter) = '256.0 256.0 256.0';
2355 DEF(nex_muzzleflash);
2356 SUB(nex_muzzleflash) {
2357 MY(airfriction) = 9;
2358 MY(alpha_min) = 328;
2359 MY(alpha_max) = 328;
2360 MY(alpha_fade) = 4000;
2361 MY(color_min) = "0x202020";
2362 MY(color_max) = "0x0072ff";
2364 MY(lightcolor) = '2.0 2.5 3.0';
2365 MY(lightradiusfade) = 200;
2366 MY(lightradius) = 200;
2367 MY(originjitter) = '4.0 4.0 4.0';
2368 MY(sizeincrease) = -100;
2371 MY(stretchfactor) = 2;
2375 MY(velocityjitter) = '180.0 180.0 180.0';
2376 MY(velocitymultiplier) = 1.400000;
2378 SUB(nex_muzzleflash) {
2379 MY(airfriction) = 9;
2380 MY(alpha_max) = 128;
2381 MY(alpha_fade) = 1024;
2382 MY(color_min) = "0xD9FDFF";
2383 MY(color_max) = "0xD9FDFF";
2385 MY(originjitter) = '1.0 1.0 1.0';
2391 MY(velocityjitter) = '600.0 600.0 600.0';
2392 MY(velocitymultiplier) = 1.500000;
2398 MY(airfriction) = 5;
2400 MY(alpha_max) = 128;
2401 MY(alpha_fade) = 64;
2402 MY(color_min) = "0x1680A0";
2403 MY(color_max) = "0x1680A0";
2404 MY(sizeincrease) = 2;
2409 MY(trailspacing) = 64;
2410 MY(type) = "static";
2414 MY(airfriction) = 9;
2417 MY(alpha_fade) = 32;
2418 MY(color_min) = "0x5080A0";
2419 MY(color_max) = "0x5080A0";
2420 MY(sizeincrease) = 8;
2424 MY(trailspacing) = 12;
2425 MY(type) = "static";
2426 MY(velocityjitter) = '64.0 64.0 64.0';
2430 MY(alpha_min) = 256;
2431 MY(alpha_max) = 256;
2432 MY(alpha_fade) = 1280;
2433 MY(color_min) = "0x80CDFF";
2434 MY(color_max) = "0x80CDFF";
2437 MY(trailspacing) = 12;
2438 MY(type) = "static";
2442 MY(airfriction) = 5;
2444 MY(alpha_max) = 128;
2445 MY(alpha_fade) = 80;
2446 MY(color_min) = "0x1680A0";
2447 MY(color_max) = "0x1680A0";
2448 MY(gravity) = -0.010000;
2453 MY(trailspacing) = 16;
2460 MY(alpha_min) = 256;
2461 MY(alpha_max) = 256;
2462 MY(countabsolute) = 1;
2463 MY(lightcolor) = '4.0 6.0 8.0';
2464 MY(lightradiusfade) = 250;
2465 MY(lightradius) = 200;
2466 MY(originjitter) = '14.0 14.0 14.0';
2467 MY(startangle_min) = -180;
2468 MY(startangle_max) = 180;
2475 // rotating something
2479 MY(alpha_fade) = 50;
2480 MY(color_min) = "0x1680A0";
2481 MY(color_max) = "0x1680A0";
2483 MY(startangle_min) = 180;
2484 MY(startangle_max) = -180;
2486 MY(spin_max) = -500;
2487 MY(sizeincrease) = 20;
2498 MY(alpha_fade) = 400;
2499 MY(color_min) = "0x1680A0";
2500 MY(color_max) = "0x1680A0";
2501 MY(countabsolute) = 1;
2502 MY(sizeincrease) = 900;
2507 MY(type) = "static";
2513 MY(alpha_fade) = 100;
2514 MY(color_min) = "0x1680A0";
2515 MY(color_max) = "0x1680A0";
2516 MY(countabsolute) = 1;
2517 MY(sizeincrease) = 500;
2522 MY(type) = "static";
2526 MY(alpha_min) = 256;
2527 MY(alpha_max) = 256;
2528 MY(alpha_fade) = 256;
2529 MY(color_min) = "0x80C0FF";
2530 MY(color_max) = "0x80C0FF";
2531 MY(countabsolute) = 1;
2536 MY(type) = "static";
2538 // small sparks which glow brightly but live briefly
2540 MY(airfriction) = 9;
2541 MY(alpha_max) = 128;
2542 MY(alpha_fade) = 512;
2544 MY(color_min) = "0xD9FDFF";
2545 MY(color_max) = "0xD9FDFF";
2549 MY(stretchfactor) = 3;
2553 MY(velocityjitter) = '600.0 600.0 600.0';
2554 MY(velocitymultiplier) = 0.500000;
2556 // small sparks that live longer
2558 MY(airfriction) = 2;
2559 MY(alpha_min) = 255;
2560 MY(alpha_max) = 255;
2561 MY(alpha_fade) = 112;
2562 MY(bounce) = 1.600000;
2563 MY(color_min) = "0xD9FDFF";
2564 MY(color_max) = "0xD9FDFF";
2569 MY(stretchfactor) = 0.700000;
2573 MY(velocityjitter) = '300.0 300.0 600.0';
2574 MY(velocitymultiplier) = 2.500000;
2577 DEF(hagar_muzzleflash);
2578 SUB(hagar_muzzleflash) {
2579 MY(alpha_min) = 256;
2580 MY(alpha_max) = 256;
2581 MY(alpha_fade) = 512;
2582 MY(color_min) = "0x202020";
2583 MY(color_max) = "0x404040";
2585 MY(lightcolor) = '2.0 1.5 0.2';
2586 MY(lightradiusfade) = 2000;
2587 MY(lightradius) = 200;
2588 MY(originjitter) = '1.5 1.5 1.5';
2593 MY(velocityjitter) = '6.0 6.0 6.0';
2594 MY(velocitymultiplier) = 0.010000;
2596 SUB(hagar_muzzleflash) {
2597 MY(airfriction) = 12;
2598 MY(alpha_max) = 128;
2599 MY(alpha_fade) = 1024;
2600 MY(color_min) = "0xff8400";
2601 MY(color_max) = "0xff4200";
2603 MY(originjitter) = '1.0 1.0 1.0';
2604 MY(startangle_min) = -180;
2605 MY(startangle_max) = 180;
2606 MY(spin_min) = -400;
2610 MY(stretchfactor) = 2;
2614 MY(velocityjitter) = '200.0 200.0 200.0';
2615 MY(velocitymultiplier) = 0.500000;
2620 MY(alpha_min) = 256;
2621 MY(alpha_max) = 256;
2622 MY(alpha_fade) = 256;
2623 MY(color_min) = "0x202020";
2624 MY(color_max) = "0x404040";
2626 MY(lightcolor) = '2.0 1.5 0.2';
2627 MY(lightradiusfade) = 300;
2628 MY(lightradius) = 60;
2629 MY(originjitter) = '1.5 1.5 1.5';
2634 MY(velocityjitter) = '6.0 6.0 6.0';
2635 MY(velocitymultiplier) = 0.010000;
2638 MY(airfriction) = 12;
2639 MY(alpha_max) = 256;
2640 MY(alpha_fade) = 256;
2641 MY(bounce) = 1.500000;
2642 MY(color_min) = "0xFFFDD9";
2643 MY(color_max) = "0xFFFDD9";
2646 MY(originjitter) = '1.0 1.0 1.0';
2652 MY(velocityjitter) = '600.0 600.0 600.0';
2653 MY(velocitymultiplier) = 0.500000;
2658 SUB(hagar_explode) {
2659 MY(alpha_min) = 256;
2660 MY(alpha_max) = 256;
2661 MY(countabsolute) = 1;
2662 MY(lightcolor) = '8.0 4.0 1.0';
2663 MY(lightradiusfade) = 400;
2664 MY(lightradius) = 120;
2665 MY(originjitter) = '14.0 14.0 14.0';
2672 // fire effect which make bright dot inside
2673 SUB(hagar_explode) {
2674 MY(airfriction) = 8;
2676 MY(alpha_max) = 200;
2677 MY(alpha_fade) = 356;
2678 MY(bounce) = 1.500000;
2679 MY(color_min) = "0xffe955";
2680 MY(color_max) = "0xff5a00";
2681 MY(count) = 3.500000;
2682 MY(liquidfriction) = 8;
2683 MY(notunderwater) = true;
2684 MY(originjitter) = '8.0 8.0 8.0';
2685 MY(sizeincrease) = 5;
2691 MY(velocityjitter) = '156.0 156.0 156.0';
2693 // fire effect which expands then slows
2694 SUB(hagar_explode) {
2695 MY(airfriction) = 12;
2696 MY(alpha_min) = 128;
2697 MY(alpha_max) = 256;
2698 MY(alpha_fade) = 456;
2699 MY(bounce) = 1.500000;
2700 MY(color_min) = "0x8f0d00";
2701 MY(color_max) = "0xff5a00";
2703 MY(liquidfriction) = 8;
2704 MY(notunderwater) = true;
2705 MY(originjitter) = '8.0 8.0 8.0';
2706 MY(sizeincrease) = 15;
2711 MY(type) = "static";
2712 MY(velocityjitter) = '286.0 286.0 286.0';
2715 SUB(hagar_explode) {
2716 MY(airfriction) = 5;
2717 MY(alpha_min) = 200;
2718 MY(alpha_max) = 500;
2719 MY(alpha_fade) = 600;
2721 MY(color_min) = "0x000000";
2722 MY(color_max) = "0x111111";
2724 MY(notunderwater) = true;
2725 MY(sizeincrease) = 20;
2729 MY(type) = "alphastatic";
2730 MY(velocityjitter) = '244.0 244.0 244.0';
2732 // underwater bubbles
2733 SUB(hagar_explode) {
2734 MY(alpha_min) = 128;
2735 MY(alpha_max) = 256;
2736 MY(alpha_fade) = 64;
2737 MY(bounce) = 1.500000;
2738 MY(color_min) = "0x404040";
2739 MY(color_max) = "0x808080";
2741 MY(gravity) = -0.125000;
2742 MY(liquidfriction) = 0.250000;
2743 MY(originjitter) = '16.0 16.0 16.0';
2748 MY(type) = "bubble";
2749 MY(underwater) = true;
2750 MY(velocityjitter) = '96.0 96.0 96.0';
2753 SUB(hagar_explode) {
2754 MY(airfriction) = 1;
2755 MY(alpha_min) = 644;
2756 MY(alpha_max) = 956;
2757 MY(alpha_fade) = 684;
2758 MY(bounce) = 1.600000;
2759 MY(color_min) = "0xffa35b";
2760 MY(color_max) = "0xfff2be";
2763 MY(liquidfriction) = 0.800000;
2764 MY(notunderwater) = true;
2765 MY(originjitter) = '16.0 16.0 16.0';
2767 MY(size_max) = 0.100000;
2771 MY(velocityjitter) = '224.0 224.0 224.0';
2772 MY(velocityoffset) = '0.0 0.0 80.0';
2775 DEF(rocketlauncher_muzzleflash);
2776 SUB(rocketlauncher_muzzleflash) {
2777 MY(airfriction) = 2;
2778 MY(alpha_min) = 256;
2779 MY(alpha_max) = 256;
2780 MY(alpha_fade) = 256;
2781 MY(color_min) = "0x202020";
2782 MY(color_max) = "0x404040";
2784 MY(originjitter) = '1.5 1.5 1.5';
2785 MY(sizeincrease) = 20;
2790 MY(velocityjitter) = '40.0 40.0 40.0';
2791 MY(velocitymultiplier) = -0.130000;
2793 SUB(rocketlauncher_muzzleflash) {
2794 MY(airfriction) = 9;
2797 MY(alpha_fade) = 20;
2798 MY(color_min) = "0xFFFDD9";
2799 MY(color_max) = "0xFFFDD9";
2801 MY(originjitter) = '3.0 3.0 3.0';
2802 MY(startangle_min) = -180;
2803 MY(startangle_max) = 180;
2806 MY(sizeincrease) = 20;
2812 MY(velocityjitter) = '100.0 100.0 100.0';
2813 MY(velocitymultiplier) = 0.300000;
2820 MY(alpha_min) = 200;
2821 MY(alpha_max) = 300;
2822 MY(alpha_fade) = 200;
2824 MY(color_min) = "0x000000";
2825 MY(color_max) = "0x666666";
2826 MY(lightcolor) = '6.0 3.0 1.0';
2827 MY(lightradius) = 150;
2828 MY(notunderwater) = true;
2829 MY(originjitter) = '2.0 2.0 2.0';
2830 MY(startangle_min) = -180;
2831 MY(startangle_max) = 180;
2834 MY(sizeincrease) = 11;
2838 MY(trailspacing) = 10;
2840 MY(velocityjitter) = '3.0 3.0 3.0';
2841 MY(velocitymultiplier) = -0.020000;
2845 MY(airfriction) = 8;
2846 MY(alpha_min) = 100;
2847 MY(alpha_max) = 144;
2848 MY(alpha_fade) = 588;
2849 MY(color_min) = "0xffdf72";
2850 MY(color_max) = "0x811200";
2851 MY(sizeincrease) = -30;
2856 MY(trailspacing) = 4;
2857 MY(type) = "static";
2858 MY(velocityjitter) = '32.0 32.0 32.0';
2859 MY(velocitymultiplier) = -1.500000;
2863 MY(alpha_min) = 256;
2864 MY(alpha_max) = 256;
2865 MY(alpha_fade) = 256;
2866 MY(bounce) = 1.500000;
2867 MY(gravity) = -0.125000;
2868 MY(liquidfriction) = 4;
2873 MY(trailspacing) = 16;
2874 MY(type) = "bubble";
2875 MY(underwater) = true;
2876 MY(velocityjitter) = '16.0 16.0 16.0';
2877 MY(velocitymultiplier) = -0.310000;
2881 MY(airfriction) = 5;
2882 MY(alpha_min) = 444;
2883 MY(alpha_max) = 512;
2884 MY(alpha_fade) = 1866;
2886 MY(color_min) = "0xFFFDD9";
2887 MY(color_max) = "0xFFFDD9";
2888 MY(notunderwater) = true;
2889 MY(originjitter) = '1.0 1.0 1.0';
2890 MY(size_min) = 0.500000;
2891 MY(size_max) = 0.500000;
2892 MY(stretchfactor) = 0.300000;
2895 MY(trailspacing) = 20;
2897 MY(velocityjitter) = '100.0 100.0 100.0';
2898 MY(velocitymultiplier) = -0.310000;
2901 // rocket explosion (bigger than mortar and hagar)
2902 DEF(rocket_explode);
2903 SUB(rocket_explode) {
2904 MY(alpha_min) = 256;
2905 MY(alpha_max) = 256;
2906 MY(countabsolute) = 1;
2907 MY(lightcolor) = '8.0 4.0 1.0';
2908 MY(lightradiusfade) = 750;
2909 MY(lightradius) = 400;
2910 MY(originjitter) = '23.0 23.0 23.0';
2918 SUB(rocket_explode) {
2919 MY(airfriction) = 8;
2920 MY(alpha_min) = 200;
2921 MY(alpha_max) = 256;
2922 MY(alpha_fade) = 512;
2923 MY(bounce) = 1.500000;
2924 MY(color_min) = "0x8f0d00";
2925 MY(color_max) = "0xff5a00";
2927 MY(liquidfriction) = 8;
2928 MY(notunderwater) = true;
2929 MY(originjitter) = '8.0 8.0 8.0';
2930 MY(sizeincrease) = 45;
2935 MY(type) = "static";
2936 MY(velocityjitter) = '512.0 512.0 512.0';
2939 SUB(rocket_explode) {
2940 MY(airfriction) = 19;
2941 MY(alpha_min) = 200;
2942 MY(alpha_max) = 256;
2943 MY(alpha_fade) = 612;
2944 MY(bounce) = 2.500000;
2945 MY(color_min) = "0xea691b";
2946 MY(color_max) = "0xeed05a";
2948 MY(liquidfriction) = 19;
2949 MY(notunderwater) = true;
2950 MY(originjitter) = '8.0 8.0 8.0';
2951 MY(sizeincrease) = 55;
2957 MY(velocityjitter) = '912.0 912.0 912.0';
2960 SUB(rocket_explode) {
2961 MY(airfriction) = 5;
2962 MY(alpha_min) = 200;
2963 MY(alpha_max) = 450;
2964 MY(alpha_fade) = 456;
2966 MY(color_min) = "0x000000";
2967 MY(color_max) = "0x111111";
2969 MY(notunderwater) = true;
2970 MY(sizeincrease) = 44;
2974 MY(type) = "alphastatic";
2975 MY(velocityjitter) = '444.0 444.0 444.0';
2977 // underwater bubbles
2978 SUB(rocket_explode) {
2979 MY(alpha_min) = 128;
2980 MY(alpha_max) = 256;
2981 MY(alpha_fade) = 64;
2982 MY(bounce) = 1.500000;
2983 MY(color_min) = "0x404040";
2984 MY(color_max) = "0x808080";
2986 MY(gravity) = -0.125000;
2987 MY(liquidfriction) = 0.250000;
2988 MY(originjitter) = '16.0 16.0 16.0';
2993 MY(type) = "bubble";
2994 MY(underwater) = true;
2995 MY(velocityjitter) = '144.0 144.0 144.0';
2997 // underwatershockwave
2998 SUB(rocket_explode) {
3001 MY(alpha_fade) = 300;
3002 MY(countabsolute) = 1;
3003 MY(sizeincrease) = 1900;
3009 MY(underwater) = true;
3010 MY(velocitymultiplier) = 0.300000;
3013 SUB(rocket_explode) {
3014 MY(airfriction) = 1;
3015 MY(alpha_min) = 644;
3016 MY(alpha_max) = 956;
3017 MY(alpha_fade) = 484;
3018 MY(bounce) = 1.600000;
3019 MY(color_min) = "0xffa35b";
3020 MY(color_max) = "0xfff2be";
3023 MY(liquidfriction) = 0.800000;
3024 MY(notunderwater) = true;
3025 MY(originjitter) = '16.0 16.0 16.0';
3027 MY(size_max) = 0.100000;
3031 MY(velocityjitter) = '424.0 424.0 624.0';
3032 MY(velocityoffset) = '0.0 0.0 80.0';
3035 SUB(rocket_explode) {
3036 MY(airfriction) = 0.500000;
3037 MY(alpha_min) = 644;
3038 MY(alpha_max) = 956;
3039 MY(alpha_fade) = 684;
3040 MY(bounce) = 1.600000;
3041 MY(color_min) = "0x6a3d25";
3042 MY(color_max) = "0xcac5b4";
3044 MY(gravity) = 1.300000;
3045 MY(notunderwater) = true;
3046 MY(startangle_min) = -180;
3047 MY(startangle_max) = 180;
3048 MY(spin_min) = -1000;
3049 MY(spin_max) = 1000;
3054 MY(type) = "alphastatic";
3055 MY(velocityjitter) = '324.0 324.0 524.0';
3058 DEF(grapple_muzzleflash);
3059 SUB(grapple_muzzleflash) {
3060 MY(lightcolor) = '1.0 0.0 0.0';
3061 MY(lightradiusfade) = 800;
3062 MY(lightradius) = 160;
3065 DEF(grapple_impact);
3066 SUB(grapple_impact) {
3067 MY(lightcolor) = '1.0 0.0 0.0';
3068 MY(lightradiusfade) = 800;
3069 MY(lightradius) = 160;
3072 DEF(nex242_misc_laser_beam);
3073 SUB(nex242_misc_laser_beam) {
3074 MY(alpha_min) = 256;
3075 MY(alpha_max) = 256;
3076 MY(alpha_fade) = 64;
3077 MY(color_min) = "0xff0000";
3078 MY(color_max) = "0xff0000";
3079 MY(countabsolute) = 1;
3080 MY(sizeincrease) = 1;
3088 DEF(nex242_misc_laser_beam_end);
3089 SUB(nex242_misc_laser_beam_end) {
3090 MY(alpha_min) = 128;
3091 MY(alpha_max) = 256;
3092 MY(alpha_fade) = 768;
3094 MY(color_min) = "0x8f4333";
3095 MY(color_max) = "0xfff31b";
3096 MY(count) = 0.500000;
3098 MY(size_min) = 0.400000;
3099 MY(size_max) = 0.400000;
3101 MY(velocityjitter) = '64.0 64.0 64.0';
3102 MY(velocitymultiplier) = 100;
3105 DEF(nex242_misc_laser_beam_fast);
3106 SUB(nex242_misc_laser_beam_fast) {
3107 MY(alpha_min) = 256;
3108 MY(alpha_max) = 256;
3109 MY(alpha_fade) = 640;
3110 MY(color_min) = "0xff0000";
3111 MY(color_max) = "0xff0000";
3112 MY(countabsolute) = 1;
3113 MY(sizeincrease) = 0.100000;
3121 DEF(nex242_misc_laser_beam_fast_end);
3122 SUB(nex242_misc_laser_beam_fast_end) {
3123 MY(alpha_min) = 128;
3124 MY(alpha_max) = 256;
3125 MY(alpha_fade) = 768;
3127 MY(color_min) = "0x8f4333";
3128 MY(color_max) = "0xfff31b";
3129 MY(count) = 0.500000;
3131 MY(size_min) = 0.400000;
3132 MY(size_max) = 0.400000;
3134 MY(velocityjitter) = '64.0 64.0 64.0';
3135 MY(velocitymultiplier) = 100;
3138 DEF(nex242_misc_laser_green_beam);
3139 SUB(nex242_misc_laser_green_beam) {
3140 MY(alpha_min) = 256;
3141 MY(alpha_max) = 256;
3142 MY(alpha_fade) = 64;
3143 MY(color_min) = "0x00ff00";
3144 MY(color_max) = "0x00ff00";
3145 MY(countabsolute) = 1;
3146 MY(sizeincrease) = 1;
3154 DEF(nex242_misc_laser_green_beam_end);
3155 SUB(nex242_misc_laser_green_beam_end) {
3156 MY(alpha_min) = 128;
3157 MY(alpha_max) = 256;
3158 MY(alpha_fade) = 768;
3160 MY(color_min) = "0x8f4333";
3161 MY(color_max) = "0xfff31b";
3162 MY(count) = 0.500000;
3164 MY(size_min) = 0.400000;
3165 MY(size_max) = 0.400000;
3167 MY(velocityjitter) = '64.0 64.0 64.0';
3168 MY(velocitymultiplier) = 100;
3171 DEF(nex242_misc_laser_blue_beam);
3172 SUB(nex242_misc_laser_blue_beam) {
3173 MY(alpha_min) = 256;
3174 MY(alpha_max) = 256;
3175 MY(alpha_fade) = 64;
3176 MY(color_min) = "0x0000ff";
3177 MY(color_max) = "0x0000ff";
3178 MY(countabsolute) = 1;
3179 MY(sizeincrease) = 1;
3187 DEF(nex242_misc_laser_blue_beam_end);
3188 SUB(nex242_misc_laser_blue_beam_end) {
3189 MY(alpha_min) = 128;
3190 MY(alpha_max) = 256;
3191 MY(alpha_fade) = 768;
3193 MY(color_min) = "0x8f4333";
3194 MY(color_max) = "0xfff31b";
3195 MY(count) = 0.500000;
3197 MY(size_min) = 0.400000;
3198 MY(size_max) = 0.400000;
3200 MY(velocityjitter) = '64.0 64.0 64.0';
3201 MY(velocitymultiplier) = 100;
3204 DEF(nex242_misc_laser_yellow_beam);
3205 SUB(nex242_misc_laser_yellow_beam) {
3206 MY(alpha_min) = 256;
3207 MY(alpha_max) = 256;
3208 MY(alpha_fade) = 64;
3209 MY(color_min) = "0xffff00";
3210 MY(color_max) = "0xffff00";
3211 MY(countabsolute) = 1;
3212 MY(sizeincrease) = 1;
3220 DEF(nex242_misc_laser_yellow_beam_end);
3221 SUB(nex242_misc_laser_yellow_beam_end) {
3222 MY(alpha_min) = 128;
3223 MY(alpha_max) = 256;
3224 MY(alpha_fade) = 768;
3226 MY(color_min) = "0x8f4333";
3227 MY(color_max) = "0xfff31b";
3228 MY(count) = 0.500000;
3230 MY(size_min) = 0.400000;
3231 MY(size_max) = 0.400000;
3233 MY(velocityjitter) = '64.0 64.0 64.0';
3234 MY(velocitymultiplier) = 100;
3237 DEF(nex242_misc_laser_cyan_beam);
3238 SUB(nex242_misc_laser_cyan_beam) {
3239 MY(alpha_min) = 256;
3240 MY(alpha_max) = 256;
3241 MY(alpha_fade) = 64;
3242 MY(color_min) = "0x00ffff";
3243 MY(color_max) = "0x00ffff";
3244 MY(countabsolute) = 1;
3245 MY(sizeincrease) = 1;
3253 DEF(nex242_misc_laser_cyan_beam_end);
3254 SUB(nex242_misc_laser_cyan_beam_end) {
3255 MY(alpha_min) = 128;
3256 MY(alpha_max) = 256;
3257 MY(alpha_fade) = 768;
3259 MY(color_min) = "0x8f4333";
3260 MY(color_max) = "0xfff31b";
3261 MY(count) = 0.500000;
3263 MY(size_min) = 0.400000;
3264 MY(size_max) = 0.400000;
3266 MY(velocityjitter) = '64.0 64.0 64.0';
3267 MY(velocitymultiplier) = 100;
3270 DEF(nex242_misc_laser_magenta_beam);
3271 SUB(nex242_misc_laser_magenta_beam) {
3272 MY(alpha_min) = 256;
3273 MY(alpha_max) = 256;
3274 MY(alpha_fade) = 64;
3275 MY(color_min) = "0xff00ff";
3276 MY(color_max) = "0xff00ff";
3277 MY(countabsolute) = 1;
3278 MY(sizeincrease) = 1;
3286 DEF(nex242_misc_laser_magenta_beam_end);
3287 SUB(nex242_misc_laser_magenta_beam_end) {
3288 MY(alpha_min) = 128;
3289 MY(alpha_max) = 256;
3290 MY(alpha_fade) = 768;
3292 MY(color_min) = "0x8f4333";
3293 MY(color_max) = "0xfff31b";
3294 MY(count) = 0.500000;
3296 MY(size_min) = 0.400000;
3297 MY(size_max) = 0.400000;
3299 MY(velocityjitter) = '64.0 64.0 64.0';
3300 MY(velocitymultiplier) = 100;
3303 DEF(nex242_misc_laser_white_beam);
3304 SUB(nex242_misc_laser_white_beam) {
3305 MY(alpha_min) = 256;
3306 MY(alpha_max) = 256;
3307 MY(alpha_fade) = 64;
3308 MY(color_min) = "0xffffff";
3309 MY(color_max) = "0xffffff";
3310 MY(countabsolute) = 1;
3311 MY(sizeincrease) = 1;
3319 DEF(nex242_misc_laser_white_beam_end);
3320 SUB(nex242_misc_laser_white_beam_end) {
3321 MY(alpha_min) = 128;
3322 MY(alpha_max) = 256;
3323 MY(alpha_fade) = 768;
3325 MY(color_min) = "0x8f4333";
3326 MY(color_max) = "0xfff31b";
3327 MY(count) = 0.500000;
3329 MY(size_min) = 0.400000;
3330 MY(size_max) = 0.400000;
3332 MY(velocityjitter) = '64.0 64.0 64.0';
3333 MY(velocitymultiplier) = 100;
3336 DEF(nex242_misc_laser_black_beam);
3337 SUB(nex242_misc_laser_black_beam) {
3338 MY(alpha_min) = 256;
3339 MY(alpha_max) = 256;
3340 MY(alpha_fade) = 64;
3341 MY(color_min) = "0x000000";
3342 MY(color_max) = "0x000000";
3343 MY(countabsolute) = 1;
3344 MY(sizeincrease) = 1;
3352 DEF(nex242_misc_laser_black_beam_end);
3353 SUB(nex242_misc_laser_black_beam_end) {
3354 MY(alpha_min) = 128;
3355 MY(alpha_max) = 256;
3356 MY(alpha_fade) = 768;
3358 MY(color_min) = "0x8f4333";
3359 MY(color_max) = "0xfff31b";
3360 MY(count) = 0.500000;
3362 MY(size_min) = 0.400000;
3363 MY(size_max) = 0.400000;
3365 MY(velocityjitter) = '64.0 64.0 64.0';
3366 MY(velocitymultiplier) = 100;
3369 DEF(nex242_misc_laser_orange_beam);
3370 SUB(nex242_misc_laser_orange_beam) {
3371 MY(alpha_min) = 256;
3372 MY(alpha_max) = 256;
3373 MY(alpha_fade) = 64;
3374 MY(color_min) = "0xff6600";
3375 MY(color_max) = "0xff6600";
3376 MY(countabsolute) = 1;
3377 MY(sizeincrease) = 1;
3385 DEF(nex242_misc_laser_orange_beam_end);
3386 SUB(nex242_misc_laser_orange_beam_end) {
3387 MY(alpha_min) = 128;
3388 MY(alpha_max) = 256;
3389 MY(alpha_fade) = 768;
3391 MY(color_min) = "0x8f4333";
3392 MY(color_max) = "0xfff31b";
3393 MY(count) = 0.500000;
3395 MY(size_min) = 0.400000;
3396 MY(size_max) = 0.400000;
3398 MY(velocityjitter) = '64.0 64.0 64.0';
3399 MY(velocitymultiplier) = 100;
3402 // bigger crylink impact effect
3403 DEF(crylink_impactbig);
3405 SUB(crylink_impactbig) {
3406 MY(alpha_min) = 256;
3407 MY(alpha_max) = 256;
3408 MY(countabsolute) = 1;
3409 MY(originjitter) = '12.0 12.0 12.0';
3416 // purple flare effect
3417 SUB(crylink_impactbig) {
3418 MY(alpha_min) = 256;
3419 MY(alpha_max) = 256;
3420 MY(alpha_fade) = 512;
3421 MY(color_min) = "0x504060";
3422 MY(color_max) = "0x504060";
3423 MY(countabsolute) = 1;
3428 MY(type) = "static";
3431 SUB(crylink_impactbig) {
3432 MY(alpha_min) = 256;
3433 MY(alpha_max) = 256;
3434 MY(alpha_fade) = 1024;
3436 MY(color_min) = "0xA040C0";
3437 MY(color_max) = "0xA040C0";
3444 MY(velocityjitter) = '512.0 512.0 512.0';
3447 SUB(crylink_impactbig) {
3448 MY(alpha_min) = 256;
3449 MY(alpha_max) = 256;
3450 MY(alpha_fade) = 512;
3451 MY(color_min) = "0xE070FF";
3452 MY(color_max) = "0xE070FF";
3453 MY(count) = 1.500000;
3456 MY(type) = "static";
3457 MY(velocityjitter) = '32.0 32.0 32.0';
3460 SUB(crylink_impactbig) {
3461 MY(alpha_min) = 256;
3462 MY(alpha_max) = 256;
3463 MY(alpha_fade) = 1024;
3464 MY(color_min) = "0xE070FF";
3465 MY(color_max) = "0xE070FF";
3469 MY(type) = "static";
3470 MY(velocityjitter) = '256.0 256.0 256.0';
3473 #include "effectinfo_gentle.inc"
3478 MY(alpha_min) = 256;
3479 MY(alpha_max) = 256;
3480 MY(countabsolute) = 1;
3481 MY(originjitter) = '6.0 6.0 6.0';
3488 // dust/smoke drifting away from the impact
3490 MY(airfriction) = 7;
3492 MY(alpha_fade) = 64;
3493 MY(color_min) = "0xFFFFFF";
3494 MY(color_max) = "0xFFFFFF";
3495 MY(count) = 0.025000;
3496 MY(liquidfriction) = 16;
3497 MY(originjitter) = '1.0 1.0 1.0';
3498 MY(sizeincrease) = 2;
3504 MY(velocityjitter) = '15.0 15.0 15.0';
3505 MY(velocitymultiplier) = 20;
3509 MY(airfriction) = 5;
3510 MY(alpha_min) = 256;
3511 MY(alpha_max) = 256;
3512 MY(alpha_fade) = 768;
3514 MY(color_min) = "0xFDFFD9";
3515 MY(color_max) = "0xFDFFD9";
3516 MY(count) = 0.025000;
3518 MY(notunderwater) = true;
3519 MY(originjitter) = '1.0 1.0 1.0';
3520 MY(size_min) = 0.600000;
3521 MY(size_max) = 0.600000;
3525 MY(velocityjitter) = '100.0 100.0 100.0';
3526 MY(velocitymultiplier) = 100;
3532 MY(alpha_min) = 200;
3533 MY(alpha_max) = 256;
3534 MY(alpha_fade) = 512;
3535 MY(color_min) = "0x8f0d00";
3536 MY(color_max) = "0xff5a00";
3538 MY(gravity) = -0.500000;
3539 MY(originjitter) = '5.0 5.0 5.0';
3540 MY(sizeincrease) = -1;
3546 MY(velocityjitter) = '1.0 1.0 50.0';
3550 MY(alpha_min) = 200;
3551 MY(alpha_max) = 256;
3552 MY(alpha_fade) = 200;
3553 MY(color_min) = "0x000000";
3554 MY(color_max) = "0x111111";
3556 MY(gravity) = -0.300000;
3557 MY(originjitter) = '3.0 3.0 3.0';
3558 MY(sizeincrease) = 5;
3562 MY(type) = "alphastatic";
3563 MY(velocityjitter) = '11.0 11.0 50.0';
3568 MY(alpha_max) = 100;
3569 MY(alpha_fade) = 100;
3571 MY(color_min) = "0x7cbaff";
3572 MY(color_max) = "0xcfd1ff";
3574 MY(gravity) = 0.600000;
3575 MY(originjitter) = '5.0 5.0 5.0';
3576 MY(sizeincrease) = 20;
3581 MY(velocityjitter) = '81.0 81.0 150.0';
3582 MY(velocitymultiplier) = 2;
3585 DEF(hookbomb_explode);
3587 SUB(hookbomb_explode) {
3588 MY(airfriction) = 10;
3589 MY(alpha_max) = 256;
3590 MY(alpha_fade) = 200;
3591 MY(bounce) = 1.500000;
3592 MY(color_min) = "0x807aff";
3593 MY(color_max) = "0x4463d5";
3595 MY(originjitter) = '10.0 10.0 10.0';
3596 MY(sizeincrease) = -160;
3601 MY(type) = "static";
3602 MY(velocityjitter) = '550.0 550.0 550.0';
3605 SUB(hookbomb_explode) {
3606 MY(alpha_min) = 256;
3607 MY(alpha_max) = 265;
3608 MY(alpha_fade) = 100;
3609 MY(color_min) = "0x807aff";
3610 MY(color_max) = "0x4463d5";
3611 MY(countabsolute) = 3;
3612 MY(originoffset) = '0.0 0.0 6.0';
3613 MY(sizeincrease) = -60;
3618 MY(type) = "static";
3620 // decal on the ground
3621 SUB(hookbomb_explode) {
3622 MY(alpha_min) = 256;
3623 MY(alpha_max) = 256;
3624 MY(countabsolute) = 1;
3625 MY(originjitter) = '6.0 6.0 6.0';
3633 SUB(hookbomb_explode) {
3634 MY(airfriction) = 2;
3635 MY(alpha_min) = 256;
3636 MY(alpha_max) = 256;
3637 MY(alpha_fade) = 456;
3638 MY(bounce) = 1.500000;
3639 MY(color_min) = "0x807aff";
3640 MY(color_max) = "0x4463d5";
3643 MY(originjitter) = '1.0 1.0 1.0';
3644 MY(sizeincrease) = -60;
3650 MY(velocityjitter) = '1900.0 1900.0 1300.0';
3651 MY(velocitymultiplier) = 0.500000;
3654 DEF(EF_MGTURRETTRAIL);
3656 SUB(EF_MGTURRETTRAIL) {
3657 MY(alpha_min) = 128;
3658 MY(alpha_max) = 196;
3659 MY(alpha_fade) = 768;
3660 MY(color_min) = "0xd0d0a0";
3661 MY(color_max) = "0xffffff";
3662 MY(gravity) = -0.010000;
3663 MY(notunderwater) = true;
3664 MY(sizeincrease) = -8;
3668 MY(trailspacing) = 10;
3672 SUB(EF_MGTURRETTRAIL) {
3673 MY(alpha_min) = 256;
3674 MY(alpha_max) = 256;
3675 MY(alpha_fade) = 256;
3676 MY(bounce) = 1.500000;
3677 MY(color_min) = "0x404040";
3678 MY(color_max) = "0x808080";
3679 MY(gravity) = -0.125000;
3680 MY(liquidfriction) = 4;
3685 MY(trailspacing) = 32;
3686 MY(type) = "bubble";
3687 MY(underwater) = true;
3688 MY(velocityjitter) = '16.0 16.0 16.0';
3694 MY(alpha_min) = 200;
3695 MY(alpha_max) = 356;
3696 MY(alpha_fade) = 512;
3698 MY(color_min) = "0x8f0d00";
3699 MY(color_max) = "0xff5a00";
3701 MY(gravity) = -0.500000;
3702 MY(originjitter) = '33.0 33.0 33.0';
3703 MY(sizeincrease) = -3;
3709 MY(velocityjitter) = '22.0 22.0 50.0';
3713 MY(alpha_min) = 200;
3714 MY(alpha_max) = 256;
3715 MY(alpha_fade) = 200;
3717 MY(color_min) = "0x000000";
3718 MY(color_max) = "0x111111";
3720 MY(gravity) = -0.300000;
3721 MY(originjitter) = '44.0 44.0 44.0';
3722 MY(sizeincrease) = 11;
3726 MY(type) = "alphastatic";
3727 MY(velocityjitter) = '11.0 11.0 50.0';
3730 #define flare(name, colormin, colormax) \
3731 DEF(name##_flare); \
3732 SUB(name##_flare) /* smoke */ { \
3733 MY(alpha_min) = 200; \
3734 MY(alpha_max) = 256; \
3735 MY(alpha_fade) = 160; \
3737 MY(color_min) = colormin; \
3738 MY(color_max) = colormax; \
3739 MY(count) = 10.500000; \
3740 MY(gravity) = -0.240000; \
3741 MY(originjitter) = '2.0 2.0 0.0'; \
3742 MY(sizeincrease) = 11; \
3744 MY(size_max) = 11; \
3746 MY(type) = "alphastatic"; \
3747 MY(velocityjitter) = '15.0 15.0 30.0'; \
3750 flare(red, "0xff0000", "0xdc7171")
3751 flare(blue, "0x0000ff", "0x7194dc")
3757 MY(airfriction) = 3;
3758 MY(alpha_min) = 100;
3759 MY(alpha_max) = 156;
3760 MY(alpha_fade) = 200;
3761 MY(bounce) = 1.100000;
3762 MY(color_min) = "0x111111";
3763 MY(color_max) = "0x979797";
3765 MY(gravity) = 0.100000;
3766 MY(notunderwater) = true;
3767 MY(sizeincrease) = 21;
3772 MY(velocityjitter) = '190.0 190.0 50.0';
3778 MY(airfriction) = 7;
3779 MY(alpha_min) = 140;
3780 MY(alpha_max) = 256;
3781 MY(alpha_fade) = 190;
3782 MY(bounce) = 1.100000;
3783 MY(color_min) = "0x9e895f";
3784 MY(color_max) = "0xffd39b";
3786 MY(gravity) = -0.150000;
3787 MY(notunderwater) = true;
3788 MY(sizeincrease) = 21;
3792 MY(type) = "alphastatic";
3793 MY(velocityjitter) = '390.0 390.0 390.0';
3798 MY(airfriction) = 3;
3799 MY(alpha_max) = 256;
3800 MY(alpha_fade) = 256;
3801 MY(bounce) = 1.500000;
3802 MY(color_min) = "0xFFFDD9";
3803 MY(color_max) = "0xFFFDD9";
3806 MY(originjitter) = '1.0 1.0 1.0';
3812 MY(velocityjitter) = '300.0 300.0 200.0';
3813 MY(velocitymultiplier) = 1.500000;
3816 DEF(electricity_sparks);
3817 SUB(electricity_sparks) {
3818 MY(airfriction) = 3;
3819 MY(alpha_max) = 256;
3820 MY(alpha_fade) = 556;
3821 MY(bounce) = 1.500000;
3822 MY(color_min) = "0x807aff";
3823 MY(color_max) = "0x4463d5";
3826 MY(originjitter) = '1.0 1.0 1.0';
3832 MY(velocityjitter) = '300.0 300.0 300.0';
3833 MY(velocitymultiplier) = 0.500000;
3838 MY(airfriction) = 5;
3839 MY(alpha_min) = 140;
3840 MY(alpha_max) = 256;
3841 MY(alpha_fade) = 190;
3842 MY(bounce) = 1.100000;
3843 MY(color_min) = "0xfffbdf";
3844 MY(color_max) = "0xffffff";
3846 MY(gravity) = -0.250000;
3847 MY(notunderwater) = true;
3848 MY(sizeincrease) = 7;
3853 MY(velocityjitter) = '19.0 19.0 19.0';
3854 MY(velocitymultiplier) = 14;
3859 MY(airfriction) = -1;
3860 MY(alpha_min) = 100;
3861 MY(alpha_max) = 256;
3862 MY(alpha_fade) = 100;
3863 MY(bounce) = 1.500000;
3864 MY(color_min) = "0x292929";
3865 MY(color_max) = "0x000000";
3867 MY(gravity) = -0.100000;
3868 MY(originjitter) = '10.0 10.0 10.0';
3869 MY(sizeincrease) = 5;
3873 MY(type) = "alphastatic";
3874 MY(velocityjitter) = '5.0 5.0 20.0';
3877 // golden dust (create it once per second to cover large area in small yellow particles)
3880 MY(alpha_min) = 256;
3881 MY(alpha_max) = 256;
3882 MY(alpha_fade) = 70;
3883 MY(bounce) = 1.500000;
3884 MY(color_min) = "0xff9600";
3885 MY(color_max) = "0xffefb8";
3887 MY(originjitter) = '500.0 500.0 500.0';
3888 MY(sizeincrease) = -0.300000;
3894 MY(velocityjitter) = '0.1 0.1 0.1';
3899 MY(airfriction) = -0.500000;
3900 MY(alpha_min) = 256;
3901 MY(alpha_max) = 256;
3902 MY(alpha_fade) = 170;
3903 MY(bounce) = 1.500000;
3904 MY(color_min) = "0xff0000";
3905 MY(color_max) = "0xff0000";
3907 MY(gravity) = -0.100000;
3908 MY(originjitter) = '5.0 5.0 100.0';
3909 MY(sizeincrease) = -0.050000;
3915 MY(velocityjitter) = '50.0 50.0 0.0';
3918 DEF(armorrepair_fx);
3919 SUB(armorrepair_fx) {
3920 MY(airfriction) = -0.500000;
3921 MY(alpha_min) = 256;
3922 MY(alpha_max) = 256;
3923 MY(alpha_fade) = 170;
3924 MY(bounce) = 1.500000;
3925 MY(color_min) = "0x00ff00";
3926 MY(color_max) = "0x00ff00";
3928 MY(gravity) = -0.100000;
3929 MY(originjitter) = '5.0 5.0 50.0';
3930 MY(sizeincrease) = -0.050000;
3936 MY(velocityjitter) = '50.0 50.0 0.0';
3941 MY(airfriction) = -0.500000;
3942 MY(alpha_min) = 256;
3943 MY(alpha_max) = 256;
3944 MY(alpha_fade) = 170;
3945 MY(bounce) = 1.500000;
3946 MY(color_min) = "0x0000ff";
3947 MY(color_max) = "0x0000ff";
3949 MY(gravity) = -0.100000;
3950 MY(originjitter) = '5.0 5.0 50.0';
3951 MY(sizeincrease) = -0.050000;
3957 MY(velocityjitter) = '50.0 50.0 0.0';
3960 // red-yellow flame like fx
3963 MY(airfriction) = 2;
3964 MY(alpha_min) = 256;
3965 MY(alpha_max) = 256;
3966 MY(alpha_fade) = 190;
3967 MY(color_min) = "0xff0000";
3968 MY(color_max) = "0xff7800";
3969 MY(count) = 2.500000;
3970 MY(gravity) = -0.060000;
3971 MY(originjitter) = '5.0 5.0 5.0';
3972 MY(sizeincrease) = 10;
3978 MY(velocityjitter) = '25.0 25.0 25.0';
3981 // pieces of glass or ice falling on the floor
3984 MY(airfriction) = 3;
3985 MY(alpha_min) = 256;
3986 MY(alpha_max) = 256;
3988 MY(color_min) = "0xffffff";
3989 MY(color_max) = "0xb2d3e6";
3991 MY(gravity) = 1.300000;
3992 MY(originjitter) = '30.0 30.0 30.0';
3999 MY(type) = "alphastatic";
4000 MY(velocityjitter) = '100.0 100.0 100.0';
4003 // cover small area in poison gas, spawn it once per second
4006 MY(airfriction) = 1;
4007 MY(alpha_min) = 256;
4008 MY(alpha_max) = 256;
4009 MY(alpha_fade) = 50;
4010 MY(bounce) = 1.500000;
4011 MY(color_min) = "0x00ff00";
4012 MY(color_max) = "0x7db843";
4014 MY(gravity) = -0.010000;
4015 MY(originjitter) = '333.0 333.0 50.0';
4016 MY(sizeincrease) = 30;
4021 MY(velocityjitter) = '5.0 5.0 5.0';
4024 // cover small area in icy mist, spawn it once per second
4027 MY(airfriction) = 1;
4028 MY(alpha_min) = 256;
4029 MY(alpha_max) = 256;
4030 MY(alpha_fade) = 50;
4031 MY(bounce) = 1.500000;
4032 MY(color_min) = "0x008aff";
4033 MY(color_max) = "0x75e7ff";
4035 MY(gravity) = -0.010000;
4036 MY(originjitter) = '333.0 333.0 0.0';
4037 MY(sizeincrease) = 10;
4042 MY(velocityjitter) = '5.0 5.0 30.0';
4045 MY(alpha_min) = 256;
4046 MY(alpha_max) = 256;
4047 MY(alpha_fade) = 50;
4048 MY(color_min) = "0x008aff";
4049 MY(color_max) = "0x75e7ff";
4051 MY(gravity) = -0.001000;
4052 MY(originjitter) = '333.0 333.0 0.0';
4053 MY(sizeincrease) = 10;
4061 // 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 )
4063 // flames that go up
4065 MY(airfriction) = 1;
4067 MY(alpha_max) = 256;
4068 MY(alpha_fade) = 200;
4069 MY(bounce) = 1.500000;
4070 MY(color_min) = "0x8f0d00";
4071 MY(color_max) = "0xff5a00";
4073 MY(gravity) = -0.060000;
4074 MY(originjitter) = '180.0 180.0 0.0';
4075 MY(sizeincrease) = 20;
4081 MY(velocityjitter) = '5.0 5.0 30.0';
4083 // flames that stay on the ground
4086 MY(alpha_max) = 256;
4087 MY(alpha_fade) = 200;
4088 MY(color_min) = "0x8f0d00";
4089 MY(color_max) = "0xff5a00";
4091 MY(originjitter) = '180.0 180.0 0.0';
4092 MY(sizeincrease) = 40;
4101 MY(alpha_min) = 256;
4102 MY(alpha_max) = 256;
4103 MY(alpha_fade) = 70;
4104 MY(color_min) = "0x000000";
4105 MY(color_max) = "0x111111";
4107 MY(gravity) = -0.020000;
4108 MY(originjitter) = '180.0 180.0 0.0';
4109 MY(sizeincrease) = 7;
4113 MY(type) = "alphastatic";
4116 // flamethrower, spawn it as fast as you can 20 times per second or more, it needs direction
4120 MY(airfriction) = 1.200000;
4122 MY(alpha_max) = 256;
4123 MY(alpha_fade) = 250;
4124 MY(bounce) = 1.500000;
4125 MY(color_min) = "0x8f0d00";
4126 MY(color_max) = "0xff5a00";
4128 MY(gravity) = -0.060000;
4129 MY(sizeincrease) = 20;
4135 MY(velocityjitter) = '40.0 40.0 11.0';
4136 MY(velocitymultiplier) = 30;
4140 MY(airfriction) = 1.200000;
4142 MY(alpha_max) = 256;
4143 MY(alpha_fade) = 200;
4144 MY(bounce) = 1.500000;
4145 MY(color_min) = "0x8f0d00";
4146 MY(color_max) = "0xff5a00";
4147 MY(count) = 2.500000;
4148 MY(gravity) = -0.060000;
4149 MY(sizeincrease) = 20;
4155 MY(velocityjitter) = '40.0 40.0 40.0';
4156 MY(velocitymultiplier) = 20;
4158 // very slow and small fire
4160 MY(airfriction) = 0.300000;
4162 MY(alpha_max) = 256;
4163 MY(alpha_fade) = 200;
4164 MY(bounce) = 1.500000;
4165 MY(color_min) = "0x8f0d00";
4166 MY(color_max) = "0xff5a00";
4167 MY(count) = 1.500000;
4168 MY(gravity) = -0.060000;
4169 MY(sizeincrease) = 10;
4175 MY(velocityjitter) = '30.0 30.0 30.0';
4176 MY(velocitymultiplier) = 10;
4180 MY(airfriction) = 0.300000;
4182 MY(alpha_max) = 256;
4183 MY(alpha_fade) = 200;
4184 MY(bounce) = 1.500000;
4185 MY(color_min) = "0x8f0d00";
4186 MY(color_max) = "0xff5a00";
4188 MY(gravity) = -0.060000;
4189 MY(sizeincrease) = -10;
4195 MY(velocityjitter) = '10.0 10.0 10.0';
4196 MY(velocitymultiplier) = 15;
4200 MY(airfriction) = 1;
4201 MY(alpha_min) = 256;
4202 MY(alpha_max) = 256;
4203 MY(alpha_fade) = 90;
4204 MY(color_min) = "0x000000";
4205 MY(color_max) = "0x111111";
4206 MY(count) = 0.500000;
4207 MY(originjitter) = '10.0 10.0 10.0';
4208 MY(sizeincrease) = 7;
4212 MY(type) = "alphastatic";
4213 MY(velocitymultiplier) = 20;
4214 MY(velocityoffset) = '0.0 0.0 10.0';
4217 // port-o-launch trail
4219 // glowing vapor trail
4221 MY(alpha_min) = 256;
4222 MY(alpha_max) = 256;
4223 MY(alpha_fade) = 968;
4224 MY(color_min) = "0x404040";
4225 MY(color_max) = "0x404040";
4226 MY(lightcolor) = '1.5 3.0 6.0';
4227 MY(lightradius) = 90;
4232 MY(trailspacing) = 4;
4233 MY(type) = "static";
4234 MY(velocitymultiplier) = -0.100000;
4238 MY(airfriction) = 12;
4239 MY(alpha_min) = 444;
4240 MY(alpha_max) = 512;
4241 MY(alpha_fade) = 1866;
4243 MY(color_min) = "0x404040";
4244 MY(color_max) = "0x404040";
4245 MY(count) = 1.500000;
4246 MY(originjitter) = '1.0 1.0 1.0';
4247 MY(sizeincrease) = -20;
4252 MY(trailspacing) = 12;
4254 MY(velocityjitter) = '50.0 50.0 50.0';
4255 MY(velocityoffset) = '0.0 0.0 15.0';
4260 // glowing vapor trail
4262 MY(alpha_min) = 256;
4263 MY(alpha_max) = 256;
4264 MY(alpha_fade) = 968;
4265 MY(color_min) = "0x804000";
4266 MY(color_max) = "0x804000";
4267 MY(lightcolor) = '1.5 3.0 6.0';
4268 MY(lightradius) = 90;
4273 MY(trailspacing) = 4;
4274 MY(type) = "static";
4275 MY(velocitymultiplier) = -0.100000;
4279 MY(airfriction) = 12;
4280 MY(alpha_min) = 444;
4281 MY(alpha_max) = 512;
4282 MY(alpha_fade) = 1866;
4284 MY(color_min) = "0xff8000";
4285 MY(color_max) = "0xff8000";
4286 MY(count) = 1.500000;
4287 MY(originjitter) = '1.0 1.0 1.0';
4288 MY(sizeincrease) = -20;
4293 MY(trailspacing) = 12;
4295 MY(velocityjitter) = '50.0 50.0 50.0';
4296 MY(velocityoffset) = '0.0 0.0 15.0';
4301 MY(alpha_min) = 256;
4302 MY(alpha_max) = 256;
4303 MY(countabsolute) = 1;
4304 MY(lightcolor) = '8.0 4.0 1.0';
4305 MY(lightradiusfade) = 400;
4306 MY(lightradius) = 150;
4307 MY(originjitter) = '40.0 40.0 40.0';
4314 // fire effect which make bright dot inside
4316 MY(airfriction) = 8;
4317 MY(alpha_min) = 128;
4318 MY(alpha_max) = 256;
4319 MY(alpha_fade) = 456;
4320 MY(bounce) = 1.500000;
4321 MY(color_min) = "0xffe955";
4322 MY(color_max) = "0xff5a00";
4324 MY(liquidfriction) = 8;
4325 MY(notunderwater) = true;
4326 MY(originjitter) = '8.0 8.0 8.0';
4327 MY(sizeincrease) = 5;
4333 MY(velocityjitter) = '156.0 156.0 156.0';
4335 // fire effect which expands then slows
4337 MY(airfriction) = 12;
4338 MY(alpha_min) = 128;
4339 MY(alpha_max) = 256;
4340 MY(alpha_fade) = 456;
4341 MY(bounce) = 1.500000;
4342 MY(color_min) = "0x8f0d00";
4343 MY(color_max) = "0xff5a00";
4345 MY(liquidfriction) = 8;
4346 MY(notunderwater) = true;
4347 MY(originjitter) = '8.0 8.0 8.0';
4348 MY(sizeincrease) = 15;
4353 MY(type) = "static";
4354 MY(velocityjitter) = '256.0 256.0 256.0';
4358 MY(airfriction) = 5;
4359 MY(alpha_min) = 500;
4360 MY(alpha_max) = 600;
4361 MY(alpha_fade) = 556;
4363 MY(color_min) = "0x000000";
4364 MY(color_max) = "0x111111";
4366 MY(notunderwater) = true;
4367 MY(sizeincrease) = 20;
4371 MY(type) = "alphastatic";
4372 MY(velocityjitter) = '244.0 244.0 244.0';
4374 // underwater bubbles
4376 MY(alpha_min) = 128;
4377 MY(alpha_max) = 256;
4378 MY(alpha_fade) = 64;
4379 MY(bounce) = 1.500000;
4380 MY(color_min) = "0x404040";
4381 MY(color_max) = "0x808080";
4383 MY(gravity) = -0.125000;
4384 MY(liquidfriction) = 0.250000;
4385 MY(originjitter) = '16.0 16.0 16.0';
4390 MY(type) = "bubble";
4391 MY(underwater) = true;
4392 MY(velocityjitter) = '96.0 96.0 96.0';
4396 MY(airfriction) = 0.200000;
4397 MY(alpha_min) = 256;
4398 MY(alpha_max) = 256;
4399 MY(alpha_fade) = 384;
4400 MY(bounce) = 1.500000;
4401 MY(color_min) = "0x903010";
4402 MY(color_max) = "0xFFD030";
4405 MY(liquidfriction) = 0.800000;
4406 MY(notunderwater) = true;
4412 MY(velocityjitter) = '256.0 256.0 256.0';
4413 MY(velocityoffset) = '0.0 0.0 80.0';
4416 // bullet trail (somewhat like a tracer)
4419 MY(alpha_min) = 256;
4420 MY(alpha_max) = 256;
4421 MY(alpha_fade) = 2560;
4422 MY(color_min) = "0xff8960";
4423 MY(color_max) = "0xff8533";
4426 MY(stretchfactor) = 0.200000;
4429 MY(trailspacing) = 750;
4431 MY(velocitymultiplier) = 3;
4434 // smoke emitter for small pipes
4435 DEF(smoking_smallemitter);
4436 SUB(smoking_smallemitter) {
4437 MY(airfriction) = -1;
4438 MY(alpha_min) = 200;
4439 MY(alpha_max) = 256;
4440 MY(alpha_fade) = 100;
4441 MY(color_min) = "0x292929";
4442 MY(color_max) = "0x000000";
4444 MY(gravity) = -0.100000;
4445 MY(originjitter) = '10.0 10.0 10.0';
4446 MY(sizeincrease) = 20;
4450 MY(type) = "alphastatic";
4451 MY(velocityjitter) = '5.0 5.0 20.0';
4455 DEF(TR_CRYLINKPLASMA);
4457 SUB(TR_CRYLINKPLASMA) {
4458 MY(alpha_min) = 256;
4459 MY(alpha_max) = 256;
4460 MY(alpha_fade) = 1024;
4461 MY(color_min) = "0x5522aa";
4462 MY(color_max) = "0x6622ff";
4463 MY(sizeincrease) = 8;
4468 MY(trailspacing) = 128;
4469 MY(type) = "static";
4470 MY(velocityjitter) = '8.0 8.0 8.0';
4471 MY(velocitymultiplier) = -0.010000;
4473 // crylink main trail
4474 SUB(TR_CRYLINKPLASMA) {
4475 MY(alpha_min) = 256;
4476 MY(alpha_max) = 256;
4477 MY(alpha_fade) = 2600;
4478 MY(color_min) = "0x5522aa";
4479 MY(color_max) = "0x6622ff";
4480 MY(sizeincrease) = 15;
4485 MY(trailspacing) = 16;
4486 MY(type) = "static";
4487 MY(velocityjitter) = '2.0 2.0 2.0';
4488 MY(velocitymultiplier) = 0.010000;
4492 SUB(cherryblossom) {
4493 MY(airfriction) = 1;
4494 MY(alpha_min) = 128;
4495 MY(alpha_max) = 256;
4496 MY(alpha_fade) = 32;
4497 MY(bounce) = 1.500000;
4498 MY(color_min) = "0xb123ff";
4499 MY(color_max) = "0xb183ff";
4500 MY(count) = 1.500000;
4501 MY(gravity) = 0.050000;
4502 MY(liquidfriction) = 1;
4503 MY(originjitter) = '16.0 16.0 16.0';
4504 MY(size_min) = 1.500000;
4508 MY(type) = "static";
4509 MY(velocityjitter) = '32.0 32.0 0.0';
4514 MY(airfriction) = 0.400000;
4515 MY(alpha_min) = 1560;
4516 MY(alpha_max) = 2560;
4517 MY(alpha_fade) = 7000;
4518 MY(blend) = "invmod";
4520 MY(color_min) = "0xDC9BCD";
4521 MY(color_max) = "0xDC9BCD";
4522 MY(count) = 0.400000;
4523 MY(sizeincrease) = 20;
4526 MY(staincolor_min) = "0xDC9BCD";
4527 MY(staincolor_max) = "0xDC9BCD";
4528 MY(stainsize_min) = 1;
4529 MY(stainsize_max) = 2;
4530 MY(staintex_min) = 16;
4531 MY(staintex_max) = 24;
4532 MY(stretchfactor) = 25;
4536 MY(velocityjitter) = '99.0 99.0 55.0';
4540 MY(alpha_min) = 3000;
4541 MY(alpha_max) = 5560;
4542 MY(alpha_fade) = 12000;
4543 MY(blend) = "invmod";
4544 MY(color_min) = "0xDC9BCD";
4545 MY(color_max) = "0xDC9BCD";
4546 MY(countabsolute) = 1;
4547 MY(originjitter) = '11.0 11.0 11.0';
4548 MY(sizeincrease) = 20;
4558 MY(airfriction) = 1;
4559 MY(alpha_min) = 256;
4560 MY(alpha_max) = 256;
4561 MY(alpha_fade) = 64;
4563 MY(color_min) = "0xff3000";
4564 MY(color_max) = "0xff7373";
4565 MY(count) = 0.167000;
4567 MY(liquidfriction) = 4;
4573 MY(velocityjitter) = '264.0 264.0 264.0';
4574 MY(velocityoffset) = '0.0 0.0 100.0';
4579 MY(alpha_fade) = 1000;
4580 MY(color_min) = "0xff8400";
4581 MY(color_max) = "0xffbb72";
4582 MY(countabsolute) = 1;
4583 MY(originjitter) = '11.0 11.0 11.0';
4584 MY(sizeincrease) = 800;
4593 MY(alpha_min) = 256;
4594 MY(alpha_max) = 256;
4595 MY(alpha_fade) = 5120;
4596 MY(color_min) = "0xff3000";
4597 MY(color_max) = "0xff8585";
4598 MY(count) = 0.100000;
4599 MY(originjitter) = '41.0 41.0 21.0';
4600 MY(startangle_min) = -180;
4601 MY(startangle_max) = 180;
4602 MY(spin_min) = 4000;
4603 MY(spin_max) = -4000;
4611 DEF(alien_TR_BLOOD);
4612 SUB(alien_TR_BLOOD) {
4613 MY(airfriction) = -2;
4614 MY(alpha_min) = 384;
4615 MY(alpha_max) = 984;
4616 MY(alpha_fade) = 1492;
4617 MY(blend) = "invmod";
4619 MY(color_min) = "0xC080B0";
4620 MY(color_max) = "0xC080B0";
4621 MY(gravity) = 0.400000;
4622 MY(liquidfriction) = 1;
4623 MY(sizeincrease) = -5;
4626 MY(staincolor_min) = "0xC080B0";
4627 MY(staincolor_max) = "0xC080B0";
4628 MY(stainsize_min) = 1;
4629 MY(stainsize_max) = 2;
4630 MY(staintex_min) = 16;
4631 MY(staintex_max) = 24;
4632 MY(stretchfactor) = 7;
4635 MY(trailspacing) = 20;
4637 MY(velocityjitter) = '64.0 64.0 64.0';
4638 MY(velocitymultiplier) = -0.100000;
4641 // splash around gib
4643 MY(alpha_min) = 684;
4644 MY(alpha_max) = 684;
4645 MY(alpha_fade) = 7492;
4646 MY(color_min) = "0xA8FFFF";
4647 MY(color_max) = "0xA8FFFF";
4648 MY(sizeincrease) = 500;
4653 MY(trailspacing) = 42;
4657 DEF(robot_TR_BLOOD);
4658 SUB(robot_TR_BLOOD) {
4659 MY(airfriction) = -2;
4660 MY(alpha_min) = 384;
4661 MY(alpha_max) = 984;
4662 MY(alpha_fade) = 1892;
4663 MY(blend) = "invmod";
4665 MY(color_min) = "0xC0D890";
4666 MY(color_max) = "0xC0D890";
4667 MY(gravity) = 0.400000;
4668 MY(liquidfriction) = 1;
4669 MY(sizeincrease) = -6;
4672 MY(staincolor_min) = "0x808080";
4673 MY(staincolor_max) = "0x808080";
4674 MY(stainsize_min) = 1;
4675 MY(stainsize_max) = 3;
4676 MY(staintex_min) = 16;
4677 MY(staintex_max) = 24;
4678 MY(stretchfactor) = 6;
4681 MY(trailspacing) = 16;
4683 MY(velocityjitter) = '64.0 64.0 64.0';
4684 MY(velocitymultiplier) = -0.300000;
4687 SUB(robot_TR_BLOOD) {
4688 MY(airfriction) = 4;
4689 MY(alpha_min) = 128;
4690 MY(alpha_max) = 256;
4691 MY(alpha_fade) = 900;
4692 MY(color_min) = "0x902010";
4693 MY(color_max) = "0xff3600";
4695 MY(liquidfriction) = 4;
4696 MY(notunderwater) = true;
4697 MY(sizeincrease) = 10;
4700 MY(stretchfactor) = 5;
4703 MY(trailspacing) = 16;
4705 MY(velocityjitter) = '44.0 44.0 44.0';
4708 SUB(robot_TR_BLOOD) {
4709 MY(alpha_min) = 1128;
4710 MY(alpha_max) = 1256;
4711 MY(alpha_fade) = 44900;
4712 MY(color_min) = "0xff3000";
4713 MY(color_max) = "0xff8585";
4714 MY(startangle_min) = -180;
4715 MY(startangle_max) = 180;
4716 MY(spin_min) = 4000;
4717 MY(spin_max) = -4000;
4722 MY(trailspacing) = 128;
4724 MY(velocityjitter) = '44.0 44.0 44.0';
4727 DEF(alien_TR_SLIGHTBLOOD);
4728 SUB(alien_TR_SLIGHTBLOOD) {
4729 MY(airfriction) = 1;
4730 MY(alpha_min) = 384;
4731 MY(alpha_max) = 384;
4732 MY(alpha_fade) = 192;
4734 MY(color_min) = "0xC080B0";
4735 MY(color_max) = "0xC080B0";
4736 MY(liquidfriction) = 4;
4739 MY(staincolor_min) = "0x808080";
4740 MY(staincolor_max) = "0x808080";
4741 MY(staintex_min) = 16;
4742 MY(staintex_max) = 24;
4745 MY(trailspacing) = 64;
4747 MY(velocityjitter) = '64.0 64.0 64.0';
4748 MY(velocitymultiplier) = 0.500000;
4751 DEF(robot_TR_SLIGHTBLOOD);
4752 SUB(robot_TR_SLIGHTBLOOD) {
4753 MY(airfriction) = 1;
4754 MY(alpha_min) = 384;
4755 MY(alpha_max) = 384;
4756 MY(alpha_fade) = 192;
4758 MY(color_min) = "0xC0D890";
4759 MY(color_max) = "0xC0D890";
4760 MY(liquidfriction) = 4;
4763 MY(staincolor_min) = "0x808080";
4764 MY(staincolor_max) = "0x808080";
4765 MY(staintex_min) = 16;
4766 MY(staintex_max) = 24;
4769 MY(trailspacing) = 64;
4771 MY(velocityjitter) = '64.0 64.0 64.0';
4772 MY(velocitymultiplier) = 0.500000;
4776 // flare particle and light
4778 MY(alpha_min) = 128;
4780 MY(alpha_fade) = 64;
4781 MY(color_min) = "0x63F2EA";
4782 MY(color_max) = "0xB0C5C4";
4783 MY(countabsolute) = 1;
4786 MY(type) = "static";
4788 // cloud of particles which expand rapidly and then slow to form a ball
4790 MY(alpha_min) = 256;
4791 MY(alpha_max) = 256;
4792 MY(alpha_fade) = 1280;
4793 MY(color_min) = "0x63F2EA";
4794 MY(color_max) = "0xB0C5C4";
4801 MY(velocityjitter) = '256.0 256.0 256.0';
4806 MY(alpha_min) = 156;
4807 MY(alpha_max) = 656;
4808 MY(alpha_fade) = 1664;
4809 MY(blend) = "invmod";
4811 MY(color_min) = "0xA8FFFF";
4812 MY(color_max) = "0xA8FFFFF";
4815 MY(liquidfriction) = 4;
4818 MY(staincolor_min) = "0x808080";
4819 MY(staincolor_max) = "0x808080";
4820 MY(stainsize_min) = 1;
4821 MY(stainsize_max) = 2;
4822 MY(staintex_min) = 16;
4823 MY(staintex_max) = 24;
4824 MY(stretchfactor) = 3;
4828 MY(velocityjitter) = '764.0 764.0 764.0';
4832 MY(alpha_min) = 156;
4833 MY(alpha_max) = 656;
4834 MY(alpha_fade) = 1664;
4835 MY(blend) = "invmod";
4836 MY(color_min) = "0xA8FFFF";
4837 MY(color_max) = "0xA8FFFFF";
4838 MY(countabsolute) = 0.100000;
4839 MY(originjitter) = '50.0 50.0 50.0';
4840 MY(sizeincrease) = 300;
4848 DEF(alien_bloodshower);
4849 SUB(alien_bloodshower) {
4850 MY(alpha_min) = 156;
4851 MY(alpha_max) = 656;
4852 MY(alpha_fade) = 1664;
4853 MY(blend) = "invmod";
4855 MY(color_min) = "0xC080B0";
4856 MY(color_max) = "0xC080B0";
4859 MY(liquidfriction) = 4;
4862 MY(staincolor_min) = "0xC080B0";
4863 MY(staincolor_max) = "0xC080B0";
4864 MY(stainsize_min) = 1;
4865 MY(stainsize_max) = 2;
4866 MY(staintex_min) = 16;
4867 MY(staintex_max) = 24;
4868 MY(stretchfactor) = 3;
4872 MY(velocityjitter) = '764.0 764.0 764.0';
4876 MY(alpha_min) = 156;
4877 MY(alpha_max) = 656;
4878 MY(alpha_fade) = 1664;
4879 MY(blend) = "invmod";
4880 MY(color_min) = "0xA8FFFF";
4881 MY(color_max) = "0xA8FFFFF";
4882 MY(countabsolute) = 0.100000;
4883 MY(originjitter) = '50.0 50.0 50.0';
4884 MY(sizeincrease) = 300;
4892 DEF(robot_bloodshower);
4893 SUB(robot_bloodshower) {
4894 MY(alpha_min) = 156;
4895 MY(alpha_max) = 656;
4896 MY(alpha_fade) = 1664;
4897 MY(blend) = "invmod";
4899 MY(color_min) = "0xC0D890";
4900 MY(color_max) = "0xC0D890";
4903 MY(liquidfriction) = 4;
4906 MY(staincolor_min) = "0xC0D890";
4907 MY(staincolor_max) = "0xC0D890";
4908 MY(stainsize_min) = 1;
4909 MY(stainsize_max) = 2;
4910 MY(staintex_min) = 16;
4911 MY(staintex_max) = 24;
4912 MY(stretchfactor) = 3;
4916 MY(velocityjitter) = '764.0 764.0 764.0';
4919 SUB(robot_bloodshower) {
4920 MY(alpha_min) = 1128;
4921 MY(alpha_max) = 1256;
4922 MY(alpha_fade) = 4200;
4923 MY(color_min) = "0xff3000";
4924 MY(color_max) = "0xff8585";
4925 MY(count) = 2.500000;
4926 MY(originjitter) = '150.0 150.0 150.0';
4927 MY(startangle_min) = -180;
4928 MY(startangle_max) = 180;
4936 MY(velocityjitter) = '44.0 44.0 44.0';
4939 SUB(robot_bloodshower) {
4941 MY(alpha_max) = 125;
4942 MY(alpha_fade) = 990;
4943 MY(color_min) = "0xff3000";
4944 MY(color_max) = "0xff8585";
4945 MY(count) = 2.500000;
4946 MY(sizeincrease) = 3000;
4954 #define ground_quake(name, colormin, colormax) \
4955 DEF(name##_ground_quake); \
4956 SUB(name##_ground_quake) /* smoke */ { \
4957 MY(airfriction) = 3; \
4958 MY(alpha_min) = 100; \
4959 MY(alpha_max) = 126; \
4960 MY(alpha_fade) = 200; \
4961 MY(bounce) = 1.100000; \
4962 MY(color_min) = "0x111111"; \
4963 MY(color_max) = "0xbbbbbb"; \
4965 MY(gravity) = 0.500000; \
4966 MY(notunderwater) = true; \
4967 MY(sizeincrease) = 100; \
4968 MY(size_min) = 20; \
4969 MY(size_max) = 50; \
4972 MY(time_max) = 10; \
4973 MY(type) = "smoke"; \
4974 MY(velocityjitter) = '190.0 190.0 50.0'; \
4976 SUB(name##_ground_quake) { \
4977 MY(airfriction) = 4; \
4978 MY(alpha_min) = 100; \
4979 MY(alpha_max) = 126; \
4980 MY(alpha_fade) = 200; \
4981 MY(bounce) = 1.200000; \
4982 MY(color_min) = "0x111111"; \
4983 MY(color_max) = "0x979797"; \
4985 MY(gravity) = 0.200000; \
4986 MY(notunderwater) = true; \
4987 MY(sizeincrease) = 60; \
4988 MY(size_min) = 10; \
4989 MY(size_max) = 30; \
4991 MY(time_min) = 10; \
4992 MY(time_max) = 15; \
4993 MY(type) = "smoke"; \
4994 MY(velocityjitter) = '190.0 190.0 50.0'; \
4996 SUB(name##_ground_quake) { \
4997 MY(alpha_min) = 200; \
4998 MY(alpha_max) = 356; \
4999 MY(alpha_fade) = 512; \
5001 MY(color_min) = colormin; \
5002 MY(color_max) = colormax; \
5004 MY(gravity) = -0.500000; \
5005 MY(originjitter) = '33.0 33.0 33.0'; \
5006 MY(sizeincrease) = 5; \
5008 MY(size_max) = 20; \
5011 MY(time_min) = 15; \
5012 MY(time_max) = 25; \
5013 MY(type) = "smoke"; \
5014 MY(velocityjitter) = '22.0 22.0 50.0'; \
5016 SUB(name##_ground_quake) /* smoke */ { \
5017 MY(alpha_min) = 200; \
5018 MY(alpha_max) = 256; \
5019 MY(alpha_fade) = 200; \
5021 MY(color_min) = "0x000000"; \
5022 MY(color_max) = "0xffffff"; \
5024 MY(gravity) = -0.300000; \
5025 MY(originjitter) = '44.0 44.0 44.0'; \
5026 MY(sizeincrease) = 11; \
5027 MY(size_min) = 22; \
5028 MY(size_max) = 33; \
5030 MY(time_min) = 25; \
5031 MY(time_max) = 35; \
5032 MY(type) = "alphastatic"; \
5033 MY(velocityjitter) = '11.0 11.0 50.0'; \
5037 ground_quake(red, "0x9E6A64", "0x91302D")
5038 ground_quake(blue, "0x64679E", "0x2D4C91")
5041 #include "effectinfo_gentle_morphed.inc"
5043 // Team / hit vaporizer effects
5044 #define TE_TEI_G3(name, colormin1, colormax1, colormin2, colormax2) \
5045 DEF(TE_TEI_G3##name); \
5046 SUB(TE_TEI_G3##name) { \
5047 MY(alpha_min) = 128; \
5048 MY(alpha_max) = 128; \
5049 MY(alpha_fade) = 256; \
5050 MY(color_min) = colormin1; \
5051 MY(color_max) = colormax1; \
5052 MY(countabsolute) = 1; \
5055 MY(tex_min) = 200; \
5056 MY(tex_max) = 200; \
5057 MY(type) = "beam"; \
5059 SUB(TE_TEI_G3##name) { \
5060 MY(airfriction) = -4; \
5061 MY(alpha_min) = 256; \
5062 MY(alpha_max) = 256; \
5063 MY(alpha_fade) = 512; \
5064 MY(color_min) = colormin2; \
5065 MY(color_max) = colormax2; \
5066 MY(sizeincrease) = 3; \
5067 MY(size_min) = 0.300000; \
5068 MY(size_max) = 0.300000; \
5071 MY(trailspacing) = 8; \
5072 MY(type) = "smoke"; \
5073 MY(velocityjitter) = '3.0 3.0 3.0'; \
5075 DEF(TE_TEI_G3##name##_HIT); \
5076 SUB(TE_TEI_G3##name##_HIT) { \
5077 MY(alpha_min) = 128; \
5078 MY(alpha_max) = 128; \
5079 MY(alpha_fade) = 256; \
5080 MY(color_min) = colormin1; \
5081 MY(color_max) = colormax1; \
5082 MY(countabsolute) = 1; \
5085 MY(tex_min) = 200; \
5086 MY(tex_max) = 200; \
5087 MY(type) = "beam"; \
5089 SUB(TE_TEI_G3##name##_HIT) /* rings */ { \
5090 MY(airfriction) = -4; \
5091 MY(alpha_min) = 256; \
5092 MY(alpha_max) = 256; \
5093 MY(alpha_fade) = 512; \
5094 MY(color_min) = "0xFFFFFF"; \
5095 MY(color_max) = colormax1; \
5096 MY(sizeincrease) = -2; \
5099 MY(trailspacing) = 20; \
5100 MY(type) = "smoke"; \
5101 MY(velocityjitter) = '2.0 2.0 2.0'; \
5103 SUB(TE_TEI_G3##name##_HIT) { \
5104 MY(airfriction) = -4; \
5105 MY(alpha_min) = 256; \
5106 MY(alpha_max) = 256; \
5107 MY(alpha_fade) = 512; \
5108 MY(color_min) = colormin1; \
5109 MY(color_max) = colormax1; \
5110 MY(sizeincrease) = -6; \
5111 MY(size_min) = 10; \
5112 MY(size_max) = 10; \
5113 MY(trailspacing) = 40; \
5114 MY(type) = "smoke"; \
5117 TE_TEI_G3(RED, "0xFF0000", "0xFF0011", "0x200000", "0x400000")
5118 TE_TEI_G3(BLUE, "0x0000FF", "0x1100FF", "0x000020", "0x000040")
5119 TE_TEI_G3(YELLOW, "0xffff00", "0xffff11", "0x202000", "0x404000")
5120 TE_TEI_G3(PINK, "0xFF00FF", "0xFF11FF", "0x200020", "0x400040")
5123 #include "effectinfo_gentle_particlegibs.inc"
5125 #include "effectinfo_onslaught.inc"
5129 MY(airfriction) = 1.200000;
5131 MY(alpha_max) = 256;
5132 MY(alpha_fade) = 250;
5133 MY(bounce) = 1.500000;
5134 MY(color_min) = "0x8f0d00";
5135 MY(color_max) = "0xff5a00";
5136 MY(count) = 0.500000;
5137 MY(gravity) = -0.060000;
5138 MY(sizeincrease) = 5;
5143 MY(trailspacing) = 2;
5145 MY(velocityjitter) = '10.0 10.0 2.0';
5149 MY(airfriction) = 1.200000;
5151 MY(alpha_max) = 256;
5152 MY(alpha_fade) = 200;
5153 MY(bounce) = 1.500000;
5154 MY(color_min) = "0x8f0d00";
5155 MY(color_max) = "0xff5a00";
5156 MY(count) = 0.500000;
5157 MY(gravity) = -0.060000;
5158 MY(sizeincrease) = 5;
5163 MY(trailspacing) = 2;
5165 MY(velocityjitter) = '10.0 10.0 10.0';
5167 // very slow and small fire
5169 MY(airfriction) = 0.300000;
5171 MY(alpha_max) = 256;
5172 MY(alpha_fade) = 200;
5173 MY(bounce) = 1.500000;
5174 MY(color_min) = "0x8f0d00";
5175 MY(color_max) = "0xff5a00";
5176 MY(count) = 0.500000;
5177 MY(gravity) = -0.060000;
5178 MY(sizeincrease) = 2;
5183 MY(trailspacing) = 4;
5185 MY(velocityjitter) = '8.0 8.0 8.0';
5189 MY(airfriction) = 0.300000;
5191 MY(alpha_max) = 256;
5192 MY(alpha_fade) = 200;
5193 MY(bounce) = 1.500000;
5194 MY(color_min) = "0x8f0d00";
5195 MY(color_max) = "0xff5a00";
5196 MY(count) = 0.500000;
5197 MY(gravity) = -0.060000;
5198 MY(sizeincrease) = -3;
5203 MY(trailspacing) = 4;
5205 MY(velocityjitter) = '3.0 3.0 3.0';
5209 MY(airfriction) = 1;
5210 MY(alpha_min) = 256;
5211 MY(alpha_max) = 256;
5212 MY(alpha_fade) = 90;
5213 MY(color_min) = "0x000000";
5214 MY(color_max) = "0x111111";
5215 MY(count) = 0.500000;
5216 MY(originjitter) = '2.0 2.0 2.0';
5217 MY(sizeincrease) = 1;
5221 MY(trailspacing) = 8;
5222 MY(type) = "alphastatic";
5223 MY(velocityoffset) = '0.0 0.0 3.0';
5227 MY(airfriction) = 1.200000;
5229 MY(alpha_max) = 256;
5230 MY(alpha_fade) = 1600;
5231 MY(bounce) = 1.500000;
5232 MY(color_min) = "0x8f0d00";
5233 MY(color_max) = "0xff5a00";
5234 MY(count) = 0.500000;
5239 MY(trailspacing) = 1;
5244 MY(lightcolor) = '2.7 2.7 0.6';
5245 MY(lightradiusfade) = 50000;
5246 MY(lightradius) = 50;
5247 MY(trailspacing) = 16;
5252 MY(airfriction) = 1.200000;
5254 MY(alpha_max) = 256;
5255 MY(alpha_fade) = 250;
5256 MY(bounce) = 1.500000;
5257 MY(color_min) = "0x8f0d00";
5258 MY(color_max) = "0xff5a00";
5259 MY(count) = 0.500000;
5260 MY(gravity) = -0.060000;
5261 MY(sizeincrease) = 20;
5266 MY(trailspacing) = 2;
5268 MY(velocityjitter) = '40.0 40.0 11.0';
5272 MY(airfriction) = 1.200000;
5274 MY(alpha_max) = 256;
5275 MY(alpha_fade) = 200;
5276 MY(bounce) = 1.500000;
5277 MY(color_min) = "0x8f0d00";
5278 MY(color_max) = "0xff5a00";
5279 MY(count) = 0.500000;
5280 MY(gravity) = -0.060000;
5281 MY(sizeincrease) = 20;
5286 MY(trailspacing) = 2;
5288 MY(velocityjitter) = '40.0 40.0 40.0';
5290 // very slow and small fire
5292 MY(airfriction) = 0.300000;
5294 MY(alpha_max) = 256;
5295 MY(alpha_fade) = 200;
5296 MY(bounce) = 1.500000;
5297 MY(color_min) = "0x8f0d00";
5298 MY(color_max) = "0xff5a00";
5299 MY(count) = 0.500000;
5300 MY(gravity) = -0.060000;
5301 MY(sizeincrease) = 10;
5306 MY(trailspacing) = 4;
5308 MY(velocityjitter) = '30.0 30.0 30.0';
5312 MY(airfriction) = 0.300000;
5314 MY(alpha_max) = 256;
5315 MY(alpha_fade) = 200;
5316 MY(bounce) = 1.500000;
5317 MY(color_min) = "0x8f0d00";
5318 MY(color_max) = "0xff5a00";
5319 MY(count) = 0.500000;
5320 MY(gravity) = -0.060000;
5321 MY(sizeincrease) = -10;
5326 MY(trailspacing) = 4;
5328 MY(velocityjitter) = '10.0 10.0 10.0';
5332 MY(airfriction) = 1;
5333 MY(alpha_min) = 256;
5334 MY(alpha_max) = 256;
5335 MY(alpha_fade) = 90;
5336 MY(color_min) = "0x000000";
5337 MY(color_max) = "0x111111";
5338 MY(count) = 0.500000;
5339 MY(originjitter) = '10.0 10.0 10.0';
5340 MY(sizeincrease) = 7;
5344 MY(trailspacing) = 8;
5345 MY(type) = "alphastatic";
5346 MY(velocityoffset) = '0.0 0.0 10.0';
5350 MY(airfriction) = 1.200000;
5352 MY(alpha_max) = 256;
5353 MY(alpha_fade) = 1600;
5354 MY(bounce) = 1.500000;
5355 MY(color_min) = "0x8f0d00";
5356 MY(color_max) = "0xff5a00";
5357 MY(count) = 0.500000;
5362 MY(trailspacing) = 1;
5367 MY(lightcolor) = '2.7 2.7 0.6';
5368 MY(lightradiusfade) = 3000;
5369 MY(lightradius) = 300;
5370 MY(trailspacing) = 16;
5373 DEF(fireball_laser);
5374 SUB(fireball_laser) {
5375 MY(alpha_min) = 192;
5376 MY(alpha_max) = 256;
5377 MY(alpha_fade) = 2560;
5378 MY(color_min) = "0x800000";
5379 MY(color_max) = "0xFF8020";
5383 MY(stretchfactor) = 0.700000;
5385 MY(velocityjitter) = '1.0 1.0 1.0';
5386 MY(velocitymultiplier) = 10;
5389 // rocket explosion (bigger than mortar and hagar)
5390 DEF(fireball_explode);
5392 SUB(fireball_explode) {
5393 MY(alpha_min) = 256;
5394 MY(alpha_max) = 256;
5395 MY(countabsolute) = 1;
5396 MY(lightcolor) = '4.0 2.0 0.5';
5397 MY(lightradiusfade) = 500;
5398 MY(lightradius) = 500;
5399 MY(originjitter) = '56.0 56.0 56.0';
5407 SUB(fireball_explode) {
5408 MY(alpha_min) = 192;
5409 MY(alpha_max) = 192;
5410 MY(alpha_fade) = 64;
5411 MY(color_min) = "0x404040";
5412 MY(color_max) = "0x404040";
5413 MY(countabsolute) = 1;
5418 MY(type) = "static";
5421 SUB(fireball_explode) {
5422 MY(airfriction) = 4;
5423 MY(alpha_min) = 128;
5424 MY(alpha_max) = 128;
5425 MY(alpha_fade) = 256;
5426 MY(bounce) = 1.500000;
5427 MY(color_min) = "0x902010";
5428 MY(color_max) = "0xFFD080";
5430 MY(liquidfriction) = 4;
5431 MY(notunderwater) = true;
5432 MY(originjitter) = '8.0 8.0 8.0';
5437 MY(type) = "static";
5438 MY(velocityjitter) = '512.0 512.0 512.0';
5440 // underwater bubbles
5441 SUB(fireball_explode) {
5442 MY(alpha_min) = 128;
5443 MY(alpha_max) = 256;
5444 MY(alpha_fade) = 64;
5445 MY(bounce) = 1.500000;
5446 MY(color_min) = "0x404040";
5447 MY(color_max) = "0x808080";
5449 MY(gravity) = -0.125000;
5450 MY(liquidfriction) = 0.250000;
5451 MY(originjitter) = '16.0 16.0 16.0';
5456 MY(type) = "bubble";
5457 MY(underwater) = true;
5458 MY(velocityjitter) = '144.0 144.0 144.0';
5461 SUB(fireball_explode) {
5462 MY(airfriction) = 0.200000;
5463 MY(alpha_min) = 256;
5464 MY(alpha_max) = 256;
5465 MY(alpha_fade) = 384;
5466 MY(bounce) = 1.500000;
5467 MY(color_min) = "0x903010";
5468 MY(color_max) = "0xFFD030";
5471 MY(liquidfriction) = 0.800000;
5472 MY(notunderwater) = true;
5476 MY(velocityjitter) = '384.0 384.0 384.0';
5477 MY(velocityoffset) = '0.0 0.0 80.0';
5480 DEF(fireball_muzzleflash);
5481 SUB(fireball_muzzleflash) {
5482 MY(alpha_min) = 256;
5483 MY(alpha_max) = 256;
5484 MY(alpha_fade) = 512;
5485 MY(color_min) = "0x202020";
5486 MY(color_max) = "0x404040";
5488 MY(lightcolor) = '2.0 1.5 0.2';
5489 MY(lightradiusfade) = 2000;
5490 MY(lightradius) = 200;
5491 MY(originjitter) = '1.5 1.5 1.5';
5496 MY(velocityjitter) = '6.0 6.0 6.0';
5497 MY(velocitymultiplier) = 0.010000;
5499 SUB(fireball_muzzleflash) {
5500 MY(airfriction) = 12;
5501 MY(alpha_max) = 128;
5502 MY(alpha_fade) = 1024;
5503 MY(color_min) = "0xFFFDD9";
5504 MY(color_max) = "0xFFFDD9";
5506 MY(originjitter) = '1.0 1.0 1.0';
5512 MY(velocityjitter) = '300.0 300.0 300.0';
5513 MY(velocitymultiplier) = 0.500000;
5516 DEF(fireball_preattack_muzzleflash);
5517 SUB(fireball_preattack_muzzleflash) {
5518 MY(alpha_min) = 256;
5519 MY(alpha_max) = 256;
5520 MY(alpha_fade) = 512;
5521 MY(color_min) = "0x202020";
5522 MY(color_max) = "0x404040";
5524 MY(lightcolor) = '2.0 1.5 0.2';
5525 MY(lightradiusfade) = 2000;
5526 MY(lightradius) = 200;
5527 MY(originjitter) = '1.5 1.5 1.5';
5532 MY(velocityjitter) = '6.0 6.0 6.0';
5533 MY(velocitymultiplier) = 0.010000;
5535 SUB(fireball_preattack_muzzleflash) {
5536 MY(airfriction) = 12;
5537 MY(alpha_max) = 128;
5538 MY(alpha_fade) = 1024;
5539 MY(color_min) = "0xFFFDD9";
5540 MY(color_max) = "0xFFFDD9";
5542 MY(originjitter) = '1.0 1.0 1.0';
5548 MY(velocityjitter) = '300.0 300.0 300.0';
5549 MY(velocitymultiplier) = 0.500000;
5552 DEF(fireball_bfgdamage);
5553 SUB(fireball_bfgdamage) {
5554 MY(alpha_min) = 256;
5555 MY(alpha_max) = 256;
5556 MY(alpha_fade) = 512;
5557 MY(color_min) = "0x202020";
5558 MY(color_max) = "0x404040";
5560 MY(lightcolor) = '2.0 1.5 0.2';
5561 MY(lightradiusfade) = 2000;
5562 MY(lightradius) = 200;
5563 MY(originjitter) = '1.5 1.5 1.5';
5568 MY(velocityjitter) = '6.0 6.0 6.0';
5569 MY(velocitymultiplier) = 0.010000;
5571 SUB(fireball_bfgdamage) {
5572 MY(airfriction) = 12;
5573 MY(alpha_max) = 128;
5574 MY(alpha_fade) = 1024;
5575 MY(color_min) = "0xFFFDD9";
5576 MY(color_max) = "0xFFFDD9";
5578 MY(originjitter) = '1.0 1.0 1.0';
5584 MY(velocityjitter) = '300.0 300.0 300.0';
5585 MY(velocitymultiplier) = 0.500000;
5591 MY(alpha_min) = 200;
5592 MY(alpha_max) = 356;
5593 MY(alpha_fade) = 512;
5595 MY(color_min) = "0x8f0d00";
5596 MY(color_max) = "0xff5a00";
5598 MY(gravity) = -0.500000;
5599 MY(originjitter) = '12.0 12.0 34.0';
5600 MY(originoffset) = '0.0 0.0 10.0';
5601 MY(sizeincrease) = -1;
5607 MY(velocityjitter) = '22.0 22.0 50.0';
5611 MY(alpha_min) = 200;
5612 MY(alpha_max) = 256;
5613 MY(alpha_fade) = 200;
5615 MY(color_min) = "0x000000";
5616 MY(color_max) = "0x111111";
5618 MY(gravity) = -0.300000;
5619 MY(originjitter) = '12.0 12.0 34.0';
5620 MY(originoffset) = '0.0 0.0 10.0';
5621 MY(sizeincrease) = 6;
5625 MY(type) = "alphastatic";
5626 MY(velocityjitter) = '11.0 11.0 50.0';
5629 MY(count) = 0.500000;
5630 MY(lightcolor) = '0.9 0.9 0.2';
5631 MY(lightradiusfade) = 10000;
5632 MY(lightradius) = 200;
5635 // rifle bullet trail (somewhat like a tracer)
5638 MY(alpha_min) = 256;
5639 MY(alpha_max) = 256;
5640 MY(alpha_fade) = 2560;
5641 MY(color_min) = "0x800000";
5642 MY(color_max) = "0xFF8020";
5643 MY(size_min) = 1.500000;
5644 MY(size_max) = 1.500000;
5645 MY(stretchfactor) = 1;
5646 MY(trailspacing) = 128;
5648 MY(velocitymultiplier) = 0.700000;
5651 MY(airfriction) = -4;
5652 MY(alpha_min) = 256;
5653 MY(alpha_max) = 256;
5654 MY(alpha_fade) = 256;
5655 MY(color_min) = "0x202020";
5656 MY(color_max) = "0x404040";
5657 MY(notunderwater) = true;
5658 MY(sizeincrease) = 0.400000;
5662 MY(trailspacing) = 8;
5664 MY(velocityjitter) = '4.0 4.0 4.0';
5667 MY(alpha_min) = 256;
5668 MY(alpha_max) = 256;
5669 MY(alpha_fade) = 128;
5670 MY(bounce) = 1.500000;
5671 MY(color_min) = "0x404040";
5672 MY(color_max) = "0x808080";
5673 MY(gravity) = -0.125000;
5674 MY(liquidfriction) = 4;
5679 MY(trailspacing) = 32;
5680 MY(type) = "bubble";
5681 MY(underwater) = true;
5682 MY(velocityjitter) = '16.0 16.0 16.0';
5685 // rocket guiding start
5687 // underwater bubbles
5689 MY(alpha_min) = 128;
5690 MY(alpha_max) = 256;
5691 MY(alpha_fade) = 64;
5692 MY(bounce) = 1.500000;
5693 MY(color_min) = "0x404040";
5694 MY(color_max) = "0x808080";
5696 MY(gravity) = -0.125000;
5697 MY(liquidfriction) = 0.250000;
5698 MY(originjitter) = '8.0 8.0 8.0';
5699 MY(size_min) = 1.500000;
5700 MY(size_max) = 1.500000;
5703 MY(type) = "bubble";
5704 MY(underwater) = true;
5705 MY(velocityjitter) = '48.0 48.0 48.0';
5706 MY(velocitymultiplier) = -0.100000;
5710 MY(airfriction) = 0.200000;
5711 MY(alpha_min) = 256;
5712 MY(alpha_max) = 256;
5713 MY(alpha_fade) = 984;
5714 MY(bounce) = 1.500000;
5715 MY(color_min) = "0x903010";
5716 MY(color_max) = "0xFFD030";
5719 MY(liquidfriction) = 0.800000;
5720 MY(notunderwater) = true;
5721 MY(size_min) = 0.300000;
5722 MY(size_max) = 0.700000;
5723 MY(stretchfactor) = 0.400000;
5727 MY(velocityjitter) = '156.0 156.0 156.0';
5728 MY(velocitymultiplier) = -0.300000;
5729 MY(velocityoffset) = '0.0 0.0 80.0';
5732 MY(alpha_min) = 100;
5733 MY(alpha_max) = 100;
5734 MY(alpha_fade) = 500;
5735 MY(color_min) = "0x903010";
5736 MY(color_max) = "0xFFD030";
5737 MY(countabsolute) = 1;
5738 MY(sizeincrease) = 300;
5747 DEF(laser_gauntlet);
5748 SUB(laser_gauntlet) {
5749 MY(airfriction) = 10;
5750 MY(alpha_min) = 128;
5751 MY(alpha_max) = 512;
5752 MY(alpha_fade) = 6280;
5753 MY(color_min) = "0xb44215";
5754 MY(color_max) = "0x880000";
5756 MY(originjitter) = '2.0 2.0 2.0';
5757 MY(startangle_min) = -180;
5758 MY(startangle_max) = 180;
5759 MY(spin_min) = 4000;
5760 MY(spin_max) = -4000;
5761 MY(sizeincrease) = -100;
5764 MY(stretchfactor) = 2.300000;
5768 MY(velocityjitter) = '150.0 150.0 150.0';
5769 MY(velocitymultiplier) = 0.200000;
5771 SUB(laser_gauntlet) {
5772 MY(airfriction) = 12;
5773 MY(alpha_min) = 256;
5774 MY(alpha_max) = 512;
5775 MY(alpha_fade) = 6280;
5776 MY(color_min) = "0xff4200";
5777 MY(color_max) = "0xff0000";
5779 MY(originjitter) = '2.0 2.0 2.0';
5780 MY(sizeincrease) = -100;
5783 MY(stretchfactor) = 2;
5787 MY(velocityjitter) = '100.0 100.0 100.0';
5788 MY(velocitymultiplier) = 0.200000;
5791 DEF(laser_gauntletmuzzleflash);
5793 SUB(laser_gauntletmuzzleflash) {
5794 MY(airfriction) = 10;
5795 MY(alpha_min) = 256;
5796 MY(alpha_max) = 512;
5797 MY(alpha_fade) = 6280;
5798 MY(color_min) = "0x220000";
5799 MY(color_max) = "0x880000";
5800 MY(countabsolute) = 1;
5801 MY(lightcolor) = '3.0 0.1 0.1';
5802 MY(lightradiusfade) = 500;
5803 MY(lightradius) = 150;
5804 MY(sizeincrease) = -100;
5807 MY(stretchfactor) = 2;
5813 SUB(laser_gauntletmuzzleflash) {
5814 MY(airfriction) = 10;
5815 MY(alpha_min) = 128;
5816 MY(alpha_max) = 512;
5817 MY(alpha_fade) = 6280;
5818 MY(color_min) = "0xb44215";
5819 MY(color_max) = "0x880000";
5821 MY(originjitter) = '2.0 2.0 2.0';
5822 MY(startangle_min) = -180;
5823 MY(startangle_max) = 180;
5824 MY(spin_min) = 4000;
5825 MY(spin_max) = -4000;
5826 MY(sizeincrease) = -100;
5829 MY(stretchfactor) = 2.300000;
5833 MY(velocityjitter) = '150.0 150.0 150.0';
5834 MY(velocitymultiplier) = 0.200000;
5837 SUB(laser_gauntletmuzzleflash) {
5838 MY(airfriction) = 12;
5839 MY(alpha_min) = 256;
5840 MY(alpha_max) = 512;
5841 MY(alpha_fade) = 6280;
5842 MY(color_min) = "0xff4200";
5843 MY(color_max) = "0xff0000";
5845 MY(originjitter) = '2.0 2.0 2.0';
5846 MY(sizeincrease) = -100;
5849 MY(stretchfactor) = 2;
5853 MY(velocityjitter) = '100.0 100.0 100.0';
5854 MY(velocitymultiplier) = 0.200000;
5857 // torch flame, spawn it as fast as you can 20 times per second or more, supports direction but not required
5861 MY(airfriction) = 1.200000;
5863 MY(alpha_max) = 256;
5864 MY(alpha_fade) = 250;
5865 MY(color_min) = "0x8f0d00";
5866 MY(color_max) = "0xff5a00";
5868 MY(gravity) = -0.060000;
5869 MY(sizeincrease) = 20;
5875 MY(velocityjitter) = '40.0 40.0 11.0';
5876 MY(velocitymultiplier) = 30;
5880 MY(airfriction) = 1.200000;
5882 MY(alpha_max) = 256;
5883 MY(alpha_fade) = 200;
5884 MY(color_min) = "0x8f0d00";
5885 MY(color_max) = "0xff5a00";
5886 MY(count) = 2.500000;
5887 MY(gravity) = -0.060000;
5888 MY(sizeincrease) = 20;
5894 MY(velocityjitter) = '40.0 40.0 40.0';
5895 MY(velocitymultiplier) = 20;
5897 // very slow and small fire
5899 MY(airfriction) = 0.300000;
5901 MY(alpha_max) = 256;
5902 MY(alpha_fade) = 200;
5903 MY(color_min) = "0x8f0d00";
5904 MY(color_max) = "0xff5a00";
5905 MY(count) = 1.500000;
5906 MY(gravity) = -0.060000;
5907 MY(sizeincrease) = 10;
5913 MY(velocityjitter) = '30.0 30.0 30.0';
5914 MY(velocitymultiplier) = 10;
5918 MY(airfriction) = 0.300000;
5920 MY(alpha_max) = 256;
5921 MY(alpha_fade) = 200;
5922 MY(color_min) = "0x8f0d00";
5923 MY(color_max) = "0xff5a00";
5925 MY(gravity) = -0.060000;
5926 MY(sizeincrease) = -10;
5932 MY(velocityjitter) = '10.0 10.0 10.0';
5933 MY(velocitymultiplier) = 15;
5937 MY(airfriction) = 1;
5938 MY(alpha_min) = 256;
5939 MY(alpha_max) = 256;
5940 MY(alpha_fade) = 90;
5941 MY(color_min) = "0x000000";
5942 MY(color_max) = "0x111111";
5943 MY(count) = 0.500000;
5944 MY(originjitter) = '10.0 10.0 10.0';
5945 MY(sizeincrease) = 7;
5949 MY(type) = "alphastatic";
5950 MY(velocitymultiplier) = 20;
5951 MY(velocityoffset) = '0.0 0.0 10.0';
5954 #include "effectinfo_gentle_happy.inc"
5956 DEF(electro_lightning);
5957 SUB(electro_lightning) {
5958 MY(alpha_min) = 256;
5959 MY(alpha_max) = 256;
5960 MY(countabsolute) = 1;
5961 MY(lightcolor) = '3.1 4.4 10.0';
5962 MY(lightradiusfade) = 500;
5963 MY(lightradius) = 50;
5964 MY(originjitter) = '2.0 2.0 2.0';
5971 SUB(electro_lightning) {
5972 MY(alpha_min) = 100;
5973 MY(alpha_max) = 206;
5974 MY(alpha_fade) = 1724;
5975 MY(color_min) = "0x2030FF";
5976 MY(color_max) = "0x80C0FF";
5978 MY(originjitter) = '1.5 1.5 1.5';
5979 MY(sizeincrease) = 10;
5985 MY(velocityjitter) = '6.0 6.0 6.0';
5986 MY(velocitymultiplier) = 2000;
5988 SUB(electro_lightning) {
5989 MY(airfriction) = 2;
5990 MY(alpha_min) = 110;
5991 MY(alpha_max) = 170;
5992 MY(alpha_fade) = 1500;
5993 MY(color_min) = "0xDDFDFF";
5994 MY(color_max) = "0xFDFDFF";
5996 MY(originjitter) = '1.0 1.0 1.0';
5999 MY(stretchfactor) = 1.500000;
6003 MY(velocityjitter) = '150.0 150.0 150.0';
6004 MY(velocitymultiplier) = 0.500000;
6006 SUB(electro_lightning) {
6007 MY(airfriction) = 8;
6008 MY(alpha_min) = 110;
6009 MY(alpha_max) = 170;
6010 MY(alpha_fade) = 1500;
6011 MY(color_min) = "0xFDFDFF";
6012 MY(color_max) = "0xF9FDFF";
6014 MY(gravity) = 1.300000;
6015 MY(originjitter) = '1.0 1.0 1.0';
6018 MY(stretchfactor) = 0.100000;
6022 MY(velocityjitter) = '350.0 350.0 350.0';
6023 MY(velocitymultiplier) = 2.500000;
6026 DEF(gauntlet_lightning);
6027 SUB(gauntlet_lightning) {
6028 MY(alpha_min) = 256;
6029 MY(alpha_max) = 256;
6030 MY(alpha_fade) = 1024;
6031 MY(color_min) = "0x280000";
6032 MY(color_max) = "0x280000";
6034 MY(originjitter) = '1.5 1.5 1.5';
6035 MY(sizeincrease) = 15;
6041 MY(velocityjitter) = '6.0 6.0 6.0';
6042 MY(velocitymultiplier) = 2000;
6044 SUB(gauntlet_lightning) {
6045 MY(airfriction) = 2;
6046 MY(alpha_min) = 110;
6047 MY(alpha_max) = 228;
6048 MY(alpha_fade) = 1024;
6049 MY(color_min) = "0xDD0000";
6050 MY(color_max) = "0xFD0000";
6052 MY(originjitter) = '1.0 1.0 1.0';
6055 MY(stretchfactor) = 1.500000;
6059 MY(velocityjitter) = '150.0 150.0 150.0';
6060 MY(velocitymultiplier) = 0.500000;
6062 SUB(gauntlet_lightning) {
6063 MY(airfriction) = 8;
6064 MY(alpha_min) = 110;
6065 MY(alpha_max) = 228;
6066 MY(alpha_fade) = 600;
6067 MY(color_min) = "0xFD0000";
6068 MY(color_max) = "0xF90000";
6070 MY(gravity) = 1.300000;
6071 MY(originjitter) = '1.0 1.0 1.0';
6074 MY(stretchfactor) = 0.100000;
6078 MY(velocityjitter) = '350.0 350.0 350.0';
6079 MY(velocitymultiplier) = 2.500000;
6082 DEF(crylink_joinexplode);
6084 SUB(crylink_joinexplode) {
6085 MY(alpha_min) = 256;
6086 MY(alpha_max) = 256;
6087 MY(countabsolute) = 1;
6088 MY(originjitter) = '12.0 12.0 12.0';
6095 // purple flare effect
6096 SUB(crylink_joinexplode) {
6097 MY(alpha_min) = 256;
6098 MY(alpha_max) = 256;
6099 MY(alpha_fade) = 512;
6100 MY(color_min) = "0x504060";
6101 MY(color_max) = "0x504060";
6102 MY(countabsolute) = 1;
6107 MY(type) = "static";
6110 SUB(crylink_joinexplode) {
6111 MY(alpha_min) = 256;
6112 MY(alpha_max) = 256;
6113 MY(alpha_fade) = 1024;
6115 MY(color_min) = "0xA040C0";
6116 MY(color_max) = "0xA040C0";
6123 MY(velocityjitter) = '512.0 512.0 512.0';
6126 SUB(crylink_joinexplode) {
6127 MY(alpha_min) = 256;
6128 MY(alpha_max) = 256;
6129 MY(alpha_fade) = 512;
6130 MY(color_min) = "0xE070FF";
6131 MY(color_max) = "0xE070FF";
6132 MY(count) = 1.500000;
6135 MY(type) = "static";
6136 MY(velocityjitter) = '32.0 32.0 32.0';
6139 SUB(crylink_joinexplode) {
6140 MY(alpha_min) = 256;
6141 MY(alpha_max) = 256;
6142 MY(alpha_fade) = 1024;
6143 MY(color_min) = "0xE070FF";
6144 MY(color_max) = "0xE070FF";
6148 MY(type) = "static";
6149 MY(velocityjitter) = '256.0 256.0 256.0';
6152 // sparks for keepaway ball touch
6154 SUB(kaball_sparks) {
6155 MY(airfriction) = 3;
6156 MY(alpha_max) = 256;
6157 MY(alpha_fade) = 556;
6158 MY(bounce) = 1.500000;
6159 MY(color_min) = "0xa9cacf";
6160 MY(color_max) = "0x0054ff";
6163 MY(originjitter) = '1.0 1.0 1.0';
6169 MY(velocityjitter) = '300.0 300.0 300.0';
6170 MY(velocitymultiplier) = 0.500000;
6173 // weak rifle bullet trail (somewhat like a tracer)
6175 SUB(tr_rifle_weak) {
6176 MY(alpha_min) = 256;
6177 MY(alpha_max) = 256;
6178 MY(alpha_fade) = 2560;
6179 MY(color_min) = "0x800000";
6180 MY(color_max) = "0xFF8020";
6181 MY(size_min) = 1.500000;
6182 MY(size_max) = 1.500000;
6183 MY(stretchfactor) = 1;
6184 MY(trailspacing) = 128;
6186 MY(velocitymultiplier) = 0.700000;
6188 SUB(tr_rifle_weak) {
6189 MY(airfriction) = -4;
6190 MY(alpha_min) = 256;
6191 MY(alpha_max) = 256;
6192 MY(alpha_fade) = 256;
6193 MY(color_min) = "0x202020";
6194 MY(color_max) = "0x404040";
6195 MY(notunderwater) = true;
6196 MY(sizeincrease) = 0.400000;
6200 MY(trailspacing) = 48;
6202 MY(velocityjitter) = '4.0 4.0 4.0';
6204 SUB(tr_rifle_weak) {
6205 MY(alpha_min) = 256;
6206 MY(alpha_max) = 256;
6207 MY(alpha_fade) = 128;
6208 MY(bounce) = 1.500000;
6209 MY(color_min) = "0x404040";
6210 MY(color_max) = "0x808080";
6211 MY(gravity) = -0.125000;
6212 MY(liquidfriction) = 4;
6217 MY(trailspacing) = 192;
6218 MY(type) = "bubble";
6219 MY(underwater) = true;
6220 MY(velocityjitter) = '16.0 16.0 16.0';
6226 MY(airfriction) = -1;
6229 MY(alpha_fade) = 32;
6230 MY(color_min) = "0xff8866";
6231 MY(color_max) = "0x331100";
6233 MY(gravity) = -0.007000;
6234 MY(startangle_max) = 360;
6241 MY(velocitymultiplier) = 5;
6244 // pipe smoke emiter
6247 MY(airfriction) = -1;
6250 MY(alpha_fade) = 48;
6251 MY(color_min) = "0x999999";
6252 MY(color_max) = "0x555555";
6254 MY(gravity) = -0.015000;
6255 MY(startangle_max) = 360;
6256 MY(spin_min) = -180;
6258 MY(sizeincrease) = 35;
6263 MY(velocityjitter) = '0.0 0.0 5.0';
6264 MY(velocitymultiplier) = 15;
6267 // seeker missile trail
6270 MY(alpha_min) = 200;
6271 MY(alpha_max) = 300;
6272 MY(alpha_fade) = 200;
6274 MY(color_min) = "0x000000";
6275 MY(color_max) = "0x666666";
6276 MY(lightcolor) = '6.0 3.0 1.0';
6277 MY(lightradius) = 100;
6278 MY(notunderwater) = true;
6279 MY(originjitter) = '2.0 2.0 2.0';
6280 MY(startangle_min) = -180;
6281 MY(startangle_max) = 180;
6284 MY(sizeincrease) = 11;
6288 MY(trailspacing) = 10;
6290 MY(velocityjitter) = '3.0 3.0 3.0';
6291 MY(velocitymultiplier) = -0.020000;
6295 MY(airfriction) = 8;
6296 MY(alpha_min) = 100;
6297 MY(alpha_max) = 144;
6298 MY(alpha_fade) = 588;
6299 MY(color_min) = "0xffdf72";
6300 MY(color_max) = "0x811200";
6301 MY(sizeincrease) = -30;
6306 MY(trailspacing) = 4;
6307 MY(type) = "static";
6308 MY(velocityjitter) = '32.0 32.0 32.0';
6309 MY(velocitymultiplier) = -1.500000;
6313 MY(alpha_min) = 256;
6314 MY(alpha_max) = 256;
6315 MY(alpha_fade) = 256;
6316 MY(bounce) = 1.500000;
6317 MY(gravity) = -0.125000;
6318 MY(liquidfriction) = 4;
6323 MY(trailspacing) = 16;
6324 MY(type) = "bubble";
6325 MY(underwater) = true;
6326 MY(velocityjitter) = '16.0 16.0 16.0';
6327 MY(velocitymultiplier) = -0.310000;
6331 MY(airfriction) = 5;
6332 MY(alpha_min) = 444;
6333 MY(alpha_max) = 512;
6334 MY(alpha_fade) = 1866;
6336 MY(color_min) = "0xFFFDD9";
6337 MY(color_max) = "0xFFFDD9";
6338 MY(notunderwater) = true;
6339 MY(originjitter) = '1.0 1.0 1.0';
6340 MY(size_min) = 0.500000;
6341 MY(size_max) = 0.500000;
6342 MY(stretchfactor) = 0.300000;
6345 MY(trailspacing) = 20;
6347 MY(velocityjitter) = '100.0 100.0 100.0';
6348 MY(velocitymultiplier) = -0.310000;
6351 #include "effectinfo_vehicles.inc"
6353 // generic explosion size:big (biggest explosion ever)
6356 SUB(explosion_big) {
6357 MY(alpha_min) = 256;
6358 MY(alpha_max) = 256;
6359 MY(countabsolute) = 1;
6360 MY(lightcolor) = '8.0 4.0 0.0';
6361 MY(lightradiusfade) = 1750;
6362 MY(lightradius) = 600;
6363 MY(originjitter) = '23.0 23.0 23.0';
6371 SUB(explosion_big) {
6374 MY(alpha_fade) = 330;
6375 MY(color_min) = "0x8f0d00";
6376 MY(color_max) = "0xff5a00";
6377 MY(countabsolute) = 1;
6378 MY(sizeincrease) = 4400;
6383 MY(type) = "static";
6386 SUB(explosion_big) {
6387 MY(airfriction) = 8;
6388 MY(alpha_min) = 200;
6389 MY(alpha_max) = 256;
6390 MY(alpha_fade) = 712;
6391 MY(color_min) = "0x8f0d00";
6392 MY(color_max) = "0xff5a00";
6394 MY(liquidfriction) = 8;
6395 MY(notunderwater) = true;
6396 MY(originjitter) = '80.0 80.0 80.0';
6397 MY(sizeincrease) = 45;
6402 MY(type) = "static";
6403 MY(velocityjitter) = '2512.0 2512.0 2512.0';
6406 SUB(explosion_big) {
6407 MY(airfriction) = -5;
6408 MY(alpha_min) = 200;
6409 MY(alpha_max) = 256;
6410 MY(alpha_fade) = 800;
6411 MY(color_min) = "0x8f0d00";
6412 MY(color_max) = "0xff5a00";
6414 MY(liquidfriction) = 8;
6415 MY(notunderwater) = true;
6416 MY(originjitter) = '40.0 40.0 40.0';
6417 MY(sizeincrease) = 45;
6420 MY(stretchfactor) = 10;
6424 MY(velocityjitter) = '512.0 512.0 512.0';
6427 SUB(explosion_big) {
6428 MY(airfriction) = 8;
6429 MY(alpha_min) = 300;
6430 MY(alpha_max) = 650;
6431 MY(alpha_fade) = 456;
6432 MY(color_min) = "0x4F4B46";
6433 MY(color_max) = "0x000000";
6435 MY(notunderwater) = true;
6436 MY(sizeincrease) = 244;
6440 MY(type) = "alphastatic";
6441 MY(velocityjitter) = '3444.0 3444.0 3444.0';
6444 SUB(explosion_big) {
6445 MY(airfriction) = 1;
6446 MY(alpha_min) = 644;
6447 MY(alpha_max) = 956;
6448 MY(alpha_fade) = 1284;
6449 MY(color_min) = "0xffa35b";
6450 MY(color_max) = "0xfff2be";
6453 MY(liquidfriction) = 0.800000;
6454 MY(notunderwater) = true;
6455 MY(originjitter) = '160.0 160.0 160.0';
6458 MY(stretchfactor) = 0.700000;
6462 MY(velocityjitter) = '924.0 924.0 924.0';
6463 MY(velocityoffset) = '0.0 0.0 370.0';
6466 SUB(explosion_big) {
6467 MY(airfriction) = 0.500000;
6468 MY(alpha_min) = 444;
6469 MY(alpha_max) = 1356;
6470 MY(alpha_fade) = 1184;
6471 MY(color_min) = "0xFFFFFF";
6472 MY(color_max) = "0xcac5b4";
6474 MY(gravity) = 2.300000;
6475 MY(notunderwater) = true;
6476 MY(startangle_min) = -180;
6477 MY(startangle_max) = 180;
6478 MY(spin_min) = -1000;
6479 MY(spin_max) = 1000;
6480 MY(sizeincrease) = -5;
6485 MY(type) = "alphastatic";
6486 MY(velocityjitter) = '1800.0 1800.0 1800.0';
6487 MY(velocityoffset) = '0.0 0.0 970.0';
6489 // underwater bubbles
6490 SUB(explosion_big) {
6491 MY(alpha_min) = 128;
6492 MY(alpha_max) = 256;
6493 MY(alpha_fade) = 64;
6494 MY(bounce) = 1.500000;
6495 MY(color_min) = "0x404040";
6496 MY(color_max) = "0x808080";
6498 MY(gravity) = -0.125000;
6499 MY(liquidfriction) = 0.250000;
6500 MY(originjitter) = '160.0 160.0 160.0';
6505 MY(type) = "bubble";
6506 MY(underwater) = true;
6507 MY(velocityjitter) = '444.0 444.0 444.0';
6509 // underwatershockwave
6510 SUB(explosion_big) {
6513 MY(alpha_fade) = 300;
6514 MY(countabsolute) = 1;
6515 MY(sizeincrease) = 2900;
6521 MY(underwater) = true;
6522 MY(velocitymultiplier) = 0.300000;
6525 // generic explosion size:medium (it leaves rising smoke for a longer time)
6526 DEF(explosion_medium);
6528 SUB(explosion_medium) {
6531 MY(alpha_fade) = 330;
6532 MY(color_min) = "0x8f0d00";
6533 MY(color_max) = "0xff5a00";
6534 MY(countabsolute) = 1;
6535 MY(sizeincrease) = 2400;
6540 MY(type) = "static";
6543 SUB(explosion_medium) {
6544 MY(airfriction) = 8;
6545 MY(alpha_min) = 200;
6546 MY(alpha_max) = 256;
6547 MY(alpha_fade) = 712;
6548 MY(color_min) = "0x8f0d00";
6549 MY(color_max) = "0xff5a00";
6551 MY(liquidfriction) = 8;
6552 MY(notunderwater) = true;
6553 MY(originjitter) = '30.0 30.0 30.0';
6554 MY(startangle_min) = -180;
6555 MY(startangle_max) = 180;
6556 MY(spin_min) = -500;
6558 MY(sizeincrease) = 45;
6563 MY(type) = "static";
6564 MY(velocityjitter) = '1512.0 1512.0 1512.0';
6567 SUB(explosion_medium) {
6568 MY(airfriction) = 8;
6569 MY(alpha_min) = 200;
6570 MY(alpha_max) = 256;
6571 MY(alpha_fade) = 612;
6572 MY(color_min) = "0x8f0d00";
6573 MY(color_max) = "0xff5a00";
6576 MY(liquidfriction) = 8;
6577 MY(notunderwater) = true;
6578 MY(originjitter) = '30.0 30.0 30.0';
6579 MY(startangle_min) = -180;
6580 MY(startangle_max) = 180;
6581 MY(spin_min) = -150;
6583 MY(sizeincrease) = 40;
6588 MY(type) = "static";
6589 MY(velocityjitter) = '1512.0 1512.0 1512.0';
6592 SUB(explosion_medium) {
6593 MY(airfriction) = -3;
6594 MY(alpha_min) = 200;
6595 MY(alpha_max) = 256;
6596 MY(alpha_fade) = 800;
6597 MY(color_min) = "0x8f0d00";
6598 MY(color_max) = "0xff5a00";
6600 MY(liquidfriction) = 8;
6601 MY(notunderwater) = true;
6602 MY(originjitter) = '40.0 40.0 40.0';
6603 MY(sizeincrease) = 40;
6606 MY(stretchfactor) = 8;
6610 MY(velocityjitter) = '512.0 512.0 512.0';
6613 SUB(explosion_medium) {
6614 MY(airfriction) = 3;
6615 MY(alpha_min) = 300;
6616 MY(alpha_max) = 650;
6617 MY(alpha_fade) = 756;
6618 MY(color_min) = "0x4F4B46";
6619 MY(color_max) = "0x000000";
6621 MY(notunderwater) = true;
6622 MY(originjitter) = '100.0 100.0 100.0';
6623 MY(startangle_min) = -180;
6624 MY(startangle_max) = 180;
6627 MY(sizeincrease) = -30;
6631 MY(type) = "alphastatic";
6632 MY(velocityjitter) = '200.0 200.0 200.0';
6635 SUB(explosion_medium) {
6636 MY(airfriction) = 3;
6637 MY(alpha_min) = 300;
6638 MY(alpha_max) = 650;
6639 MY(alpha_fade) = 256;
6640 MY(color_min) = "0x4F4B46";
6641 MY(color_max) = "0x000000";
6643 MY(gravity) = -0.300000;
6644 MY(notunderwater) = true;
6645 MY(originjitter) = '100.0 100.0 100.0';
6646 MY(startangle_min) = -180;
6647 MY(startangle_max) = 180;
6650 MY(sizeincrease) = 50;
6654 MY(type) = "alphastatic";
6655 MY(velocityjitter) = '500.0 500.0 500.0';
6656 MY(velocityoffset) = '0.0 0.0 200.0';
6659 SUB(explosion_medium) {
6660 MY(alpha_min) = 140;
6661 MY(alpha_max) = 255;
6662 MY(alpha_fade) = 350;
6663 MY(color_min) = "0x4F4B46";
6664 MY(color_max) = "0x000000";
6666 MY(notunderwater) = true;
6667 MY(originjitter) = '40.0 40.0 40.0';
6668 MY(sizeincrease) = 100;
6671 MY(stretchfactor) = 50;
6674 MY(velocityjitter) = '250.0 250.0 250.0';
6677 SUB(explosion_medium) {
6678 MY(airfriction) = 1;
6679 MY(alpha_min) = 644;
6680 MY(alpha_max) = 956;
6681 MY(alpha_fade) = 984;
6682 MY(color_min) = "0xffa35b";
6683 MY(color_max) = "0xfff2be";
6686 MY(liquidfriction) = 0.800000;
6687 MY(notunderwater) = true;
6688 MY(originjitter) = '100.0 100.0 100.0';
6691 MY(stretchfactor) = 0.700000;
6695 MY(velocityjitter) = '624.0 624.0 624.0';
6696 MY(velocityoffset) = '0.0 0.0 370.0';
6698 // underwater bubbles
6699 SUB(explosion_medium) {
6700 MY(alpha_min) = 128;
6701 MY(alpha_max) = 256;
6702 MY(alpha_fade) = 64;
6703 MY(bounce) = 1.500000;
6704 MY(color_min) = "0x404040";
6705 MY(color_max) = "0x808080";
6707 MY(gravity) = -0.125000;
6708 MY(liquidfriction) = 0.250000;
6709 MY(originjitter) = '160.0 160.0 160.0';
6714 MY(type) = "bubble";
6715 MY(underwater) = true;
6716 MY(velocityjitter) = '444.0 444.0 444.0';
6718 // underwatershockwave
6719 SUB(explosion_medium) {
6722 MY(alpha_fade) = 300;
6723 MY(countabsolute) = 1;
6724 MY(sizeincrease) = 2900;
6730 MY(underwater) = true;
6731 MY(velocitymultiplier) = 0.300000;
6734 // generic explosion size:small (its fire only, made to support other explosions)
6735 DEF(explosion_small);
6737 SUB(explosion_small) {
6740 MY(alpha_fade) = 330;
6741 MY(color_min) = "0x8f0d00";
6742 MY(color_max) = "0xff5a00";
6743 MY(countabsolute) = 1;
6744 MY(sizeincrease) = 2400;
6749 MY(type) = "static";
6752 SUB(explosion_small) {
6753 MY(airfriction) = 5;
6754 MY(alpha_min) = 200;
6755 MY(alpha_max) = 256;
6756 MY(alpha_fade) = 1212;
6757 MY(color_min) = "0x8f0d00";
6758 MY(color_max) = "0xff5a00";
6760 MY(liquidfriction) = 8;
6761 MY(notunderwater) = true;
6762 MY(startangle_min) = -180;
6763 MY(startangle_max) = 180;
6764 MY(spin_min) = -500;
6766 MY(sizeincrease) = 45;
6771 MY(type) = "static";
6772 MY(velocityjitter) = '512.0 512.0 512.0';
6775 SUB(explosion_small) {
6776 MY(airfriction) = 8;
6777 MY(alpha_min) = 200;
6778 MY(alpha_max) = 256;
6779 MY(alpha_fade) = 812;
6780 MY(color_min) = "0x8f0d00";
6781 MY(color_max) = "0xff5a00";
6783 MY(liquidfriction) = 8;
6784 MY(notunderwater) = true;
6785 MY(startangle_min) = -180;
6786 MY(startangle_max) = 180;
6787 MY(spin_min) = -150;
6789 MY(sizeincrease) = 40;
6794 MY(type) = "static";
6795 MY(velocityjitter) = '912.0 912.0 912.0';
6798 SUB(explosion_small) {
6799 MY(airfriction) = -3;
6800 MY(alpha_min) = 200;
6801 MY(alpha_max) = 256;
6802 MY(alpha_fade) = 1300;
6803 MY(color_min) = "0x8f0d00";
6804 MY(color_max) = "0xff5a00";
6806 MY(liquidfriction) = 8;
6807 MY(notunderwater) = true;
6808 MY(originjitter) = '40.0 40.0 40.0';
6809 MY(sizeincrease) = 30;
6812 MY(stretchfactor) = 8;
6816 MY(velocityjitter) = '512.0 512.0 512.0';
6818 // underwater bubbles
6819 SUB(explosion_small) {
6820 MY(alpha_min) = 128;
6821 MY(alpha_max) = 256;
6822 MY(alpha_fade) = 64;
6823 MY(bounce) = 1.500000;
6824 MY(color_min) = "0x404040";
6825 MY(color_max) = "0x808080";
6827 MY(gravity) = -0.125000;
6828 MY(liquidfriction) = 0.250000;
6829 MY(originjitter) = '160.0 160.0 160.0';
6834 MY(type) = "bubble";
6835 MY(underwater) = true;
6836 MY(velocityjitter) = '144.0 144.0 144.0';
6838 // underwatershockwave
6839 SUB(explosion_small) {
6842 MY(alpha_fade) = 300;
6843 MY(countabsolute) = 1;
6844 MY(sizeincrease) = 1200;
6850 MY(underwater) = true;
6853 // big smoke ( for spamming on damaged stuff )
6856 MY(airfriction) = 4;
6857 MY(alpha_min) = 200;
6858 MY(alpha_max) = 750;
6859 MY(alpha_fade) = 200;
6860 MY(color_min) = "0x4F4B46";
6861 MY(color_max) = "0x000000";
6863 MY(gravity) = -0.500000;
6864 MY(notunderwater) = true;
6865 MY(originjitter) = '55.0 55.0 55.0';
6866 MY(startangle_min) = -180;
6867 MY(startangle_max) = 180;
6870 MY(sizeincrease) = 15;
6874 MY(type) = "alphastatic";
6875 MY(velocityjitter) = '140.0 140.0 200.0';
6876 MY(velocityoffset) = '0.0 0.0 200.0';
6879 // small smoke ( more precise than big one, for spamming on damaged parts like raptors spinner )
6882 MY(airfriction) = 4;
6883 MY(alpha_min) = 200;
6884 MY(alpha_max) = 750;
6885 MY(alpha_fade) = 200;
6886 MY(color_min) = "0x4F4B46";
6887 MY(color_max) = "0x000000";
6889 MY(gravity) = -0.500000;
6890 MY(notunderwater) = true;
6891 MY(startangle_min) = -180;
6892 MY(startangle_max) = 180;
6895 MY(sizeincrease) = -10;
6899 MY(type) = "alphastatic";
6900 MY(velocityjitter) = '40.0 40.0 400.0';
6901 MY(velocityoffset) = '0.0 0.0 200.0';
6904 // metal impact effect
6909 MY(alpha_fade) = 50;
6910 MY(color_min) = "0x000000";
6911 MY(color_max) = "0x886666";
6913 MY(gravity) = -0.010000;
6914 MY(originjitter) = '20.0 20.0 5.0';
6915 MY(sizeincrease) = 10;
6919 MY(type) = "alphastatic";
6923 MY(airfriction) = 2;
6924 MY(alpha_min) = 255;
6925 MY(alpha_max) = 255;
6926 MY(alpha_fade) = 112;
6927 MY(bounce) = 1.800000;
6928 MY(color_min) = "0xFFCC22";
6929 MY(color_max) = "0xFF4422";
6934 MY(stretchfactor) = 0.500000;
6938 MY(velocityjitter) = '200.0 200.0 300.0';
6939 MY(velocitymultiplier) = 2;
6942 // stone impact effect
6946 MY(alpha_max) = 128;
6947 MY(alpha_fade) = 75;
6948 MY(color_min) = "0x000000";
6949 MY(color_max) = "0xcc9966";
6951 MY(gravity) = -0.010000;
6952 MY(originjitter) = '20.0 20.0 5.0';
6953 MY(sizeincrease) = 15;
6957 MY(type) = "alphastatic";
6961 MY(airfriction) = 0.500000;
6962 MY(alpha_min) = 450;
6963 MY(alpha_max) = 750;
6964 MY(alpha_fade) = 300;
6965 MY(bounce) = 1.200000;
6966 MY(color_min) = "0x000000";
6967 MY(color_max) = "0x886644";
6969 MY(gravity) = 1.300000;
6970 MY(notunderwater) = true;
6971 MY(startangle_min) = -180;
6972 MY(startangle_max) = 180;
6973 MY(spin_min) = -1000;
6974 MY(spin_max) = 1000;
6979 MY(type) = "alphastatic";
6980 MY(velocityjitter) = '124.0 124.0 324.0';
6983 // wood impact effect
6987 MY(alpha_max) = 128;
6988 MY(alpha_fade) = 75;
6989 MY(color_min) = "0x000000";
6990 MY(color_max) = "0xcc9966";
6992 MY(gravity) = -0.010000;
6993 MY(originjitter) = '20.0 20.0 5.0';
6994 MY(sizeincrease) = 10;
6998 MY(type) = "alphastatic";
7002 MY(airfriction) = 2;
7003 MY(alpha_min) = 255;
7004 MY(alpha_max) = 255;
7005 MY(alpha_fade) = 75;
7006 MY(bounce) = 1.500000;
7007 MY(color_min) = "0x221100";
7008 MY(color_max) = "0x221100";
7016 MY(velocityjitter) = '180.0 180.0 260.0';
7017 MY(velocitymultiplier) = 2;
7020 // flesh impact effect
7023 MY(alpha_min) = 100;
7024 MY(alpha_max) = 256;
7025 MY(alpha_fade) = 400;
7026 MY(color_min) = "0x000000";
7027 MY(color_max) = "0x420000";
7028 MY(count) = 0.500000;
7029 MY(originjitter) = '11.0 11.0 11.0';
7033 MY(type) = "alphastatic";
7037 MY(airfriction) = 1;
7038 MY(alpha_min) = 256;
7039 MY(alpha_max) = 256;
7040 MY(alpha_fade) = 64;
7042 MY(color_min) = "0xA8FFFF";
7043 MY(color_max) = "0xA8FFFFF";
7044 MY(count) = 0.300000;
7045 MY(liquidfriction) = 4;
7048 MY(staincolor_min) = "0x808080";
7049 MY(staincolor_max) = "0x808080";
7050 MY(staintex_min) = 16;
7051 MY(staintex_max) = 24;
7055 MY(velocityjitter) = '96.0 96.0 96.0';
7056 MY(velocitymultiplier) = 5;
7063 MY(alpha_min) = 300;
7064 MY(alpha_max) = 400;
7065 MY(alpha_fade) = 780;
7067 MY(color_min) = "0x101010";
7068 MY(color_max) = "0x000000";
7069 MY(originjitter) = '1.0 1.0 1.0';
7070 MY(sizeincrease) = 10;
7074 MY(trailspacing) = 4;
7076 MY(velocityjitter) = '1.0 1.0 1.0';
7077 MY(velocitymultiplier) = -0.020000;
7081 MY(airfriction) = 8;
7082 MY(alpha_min) = 100;
7083 MY(alpha_max) = 144;
7084 MY(alpha_fade) = 988;
7085 MY(color_min) = "0xffdf72";
7086 MY(color_max) = "0x811200";
7087 MY(notunderwater) = true;
7088 MY(sizeincrease) = -15;
7093 MY(trailspacing) = 4;
7094 MY(type) = "static";
7095 MY(velocityjitter) = '32.0 32.0 32.0';
7096 MY(velocitymultiplier) = -1;
7100 MY(alpha_min) = 256;
7101 MY(alpha_max) = 256;
7102 MY(alpha_fade) = 256;
7103 MY(bounce) = 1.500000;
7104 MY(color_min) = "0x404040";
7105 MY(color_max) = "0x808080";
7106 MY(gravity) = -0.125000;
7107 MY(liquidfriction) = 4;
7112 MY(trailspacing) = 16;
7113 MY(type) = "bubble";
7114 MY(underwater) = true;
7115 MY(velocityjitter) = '16.0 16.0 16.0';
7118 // laser damage effect
7121 MY(airfriction) = -0.350000;
7122 MY(alpha_min) = 128;
7124 MY(alpha_fade) = 128;
7125 MY(color_min) = "0x880000";
7126 MY(color_max) = "0xff4400";
7128 MY(notunderwater) = true;
7129 MY(originjitter) = '2.0 2.0 2.0';
7130 MY(startangle_max) = 180;
7133 MY(sizeincrease) = 8;
7138 MY(velocityjitter) = '0.4 0.4 0.6';
7141 // shotgun damage effect, normal blood
7142 DEF(damage_shotgun);
7143 SUB(damage_shotgun) {
7144 MY(airfriction) = 1;
7145 MY(alpha_min) = 256;
7146 MY(alpha_max) = 256;
7147 MY(alpha_fade) = 64;
7149 MY(color_min) = "0xA8FFFF";
7150 MY(color_max) = "0xA8FFFFF";
7151 MY(count) = 0.600000;
7152 MY(liquidfriction) = 4;
7155 MY(staincolor_min) = "0x808080";
7156 MY(staincolor_max) = "0x808080";
7157 MY(staintex_min) = 16;
7158 MY(staintex_max) = 24;
7162 MY(velocityjitter) = '64.0 64.0 64.0';
7163 MY(velocitymultiplier) = 5;
7166 SUB(damage_shotgun) {
7167 MY(alpha_min) = 100;
7168 MY(alpha_max) = 256;
7169 MY(alpha_fade) = 400;
7170 MY(color_min) = "0x000000";
7171 MY(color_max) = "0x420000";
7173 MY(originjitter) = '1.0 1.0 1.0';
7177 MY(type) = "alphastatic";
7180 // shotgun damage effect, alien blood
7181 DEF(damage_shotgun_alien);
7182 SUB(damage_shotgun_alien) {
7183 MY(airfriction) = 1;
7184 MY(alpha_min) = 256;
7185 MY(alpha_max) = 256;
7186 MY(alpha_fade) = 64;
7188 MY(color_min) = "0xDC9BCD";
7189 MY(color_max) = "0xDC9BCD";
7190 MY(count) = 0.600000;
7191 MY(liquidfriction) = 4;
7194 MY(staincolor_min) = "0x808080";
7195 MY(staincolor_max) = "0x808080";
7196 MY(staintex_min) = 16;
7197 MY(staintex_max) = 24;
7201 MY(velocityjitter) = '64.0 64.0 64.0';
7202 MY(velocitymultiplier) = 5;
7205 SUB(damage_shotgun_alien) {
7206 MY(alpha_min) = 100;
7207 MY(alpha_max) = 256;
7208 MY(alpha_fade) = 400;
7209 MY(color_min) = "0x000000";
7210 MY(color_max) = "0x204010";
7212 MY(originjitter) = '1.0 1.0 1.0';
7216 MY(type) = "alphastatic";
7219 // shotgun damage effect, robot blood
7220 DEF(damage_shotgun_robot);
7221 SUB(damage_shotgun_robot) {
7222 MY(airfriction) = 1;
7223 MY(alpha_min) = 256;
7224 MY(alpha_max) = 256;
7225 MY(alpha_fade) = 64;
7227 MY(color_min) = "0xC0D890";
7228 MY(color_max) = "0xC0D890";
7229 MY(count) = 0.600000;
7230 MY(liquidfriction) = 4;
7233 MY(staincolor_min) = "0x808080";
7234 MY(staincolor_max) = "0x808080";
7235 MY(staintex_min) = 16;
7236 MY(staintex_max) = 24;
7240 MY(velocityjitter) = '64.0 64.0 64.0';
7241 MY(velocitymultiplier) = 5;
7244 SUB(damage_shotgun_robot) {
7245 MY(alpha_min) = 100;
7246 MY(alpha_max) = 256;
7247 MY(alpha_fade) = 400;
7248 MY(color_min) = "0x000000";
7249 MY(color_max) = "0x301860";
7251 MY(originjitter) = '1.0 1.0 1.0';
7255 MY(type) = "alphastatic";
7258 // machinegun damage effect, normal blood
7261 MY(airfriction) = 1;
7262 MY(alpha_min) = 256;
7263 MY(alpha_max) = 256;
7264 MY(alpha_fade) = 64;
7266 MY(color_min) = "0xA8FFFF";
7267 MY(color_max) = "0xA8FFFFF";
7268 MY(count) = 0.300000;
7269 MY(liquidfriction) = 4;
7272 MY(staincolor_min) = "0x808080";
7273 MY(staincolor_max) = "0x808080";
7274 MY(staintex_min) = 16;
7275 MY(staintex_max) = 24;
7279 MY(velocityjitter) = '32.0 32.0 32.0';
7280 MY(velocitymultiplier) = 5;
7284 MY(alpha_min) = 100;
7285 MY(alpha_max) = 256;
7286 MY(alpha_fade) = 400;
7287 MY(color_min) = "0x000000";
7288 MY(color_max) = "0x420000";
7293 MY(type) = "alphastatic";
7296 // machinegun damage effect, alien blood
7297 DEF(damage_uzi_alien);
7298 SUB(damage_uzi_alien) {
7299 MY(airfriction) = 1;
7300 MY(alpha_min) = 256;
7301 MY(alpha_max) = 256;
7302 MY(alpha_fade) = 64;
7304 MY(color_min) = "0xDC9BCD";
7305 MY(color_max) = "0xDC9BCD";
7306 MY(count) = 0.300000;
7307 MY(liquidfriction) = 4;
7310 MY(staincolor_min) = "0x808080";
7311 MY(staincolor_max) = "0x808080";
7312 MY(staintex_min) = 16;
7313 MY(staintex_max) = 24;
7317 MY(velocityjitter) = '32.0 32.0 32.0';
7318 MY(velocitymultiplier) = 5;
7321 SUB(damage_uzi_alien) {
7322 MY(alpha_min) = 100;
7323 MY(alpha_max) = 256;
7324 MY(alpha_fade) = 400;
7325 MY(color_min) = "0x000000";
7326 MY(color_max) = "0x204010";
7331 MY(type) = "alphastatic";
7334 // machinegun damage effect, robot blood
7335 DEF(damage_uzi_robot);
7336 SUB(damage_uzi_robot) {
7337 MY(airfriction) = 1;
7338 MY(alpha_min) = 256;
7339 MY(alpha_max) = 256;
7340 MY(alpha_fade) = 64;
7342 MY(color_min) = "0xC0D890";
7343 MY(color_max) = "0xC0D890";
7344 MY(count) = 0.300000;
7345 MY(liquidfriction) = 4;
7348 MY(staincolor_min) = "0x808080";
7349 MY(staincolor_max) = "0x808080";
7350 MY(staintex_min) = 16;
7351 MY(staintex_max) = 24;
7355 MY(velocityjitter) = '32.0 32.0 32.0';
7356 MY(velocitymultiplier) = 5;
7359 SUB(damage_uzi_robot) {
7360 MY(alpha_min) = 100;
7361 MY(alpha_max) = 256;
7362 MY(alpha_fade) = 400;
7363 MY(color_min) = "0x000000";
7364 MY(color_max) = "0x301860";
7369 MY(type) = "alphastatic";
7372 // minelayer damage effect
7373 DEF(damage_minelayer);
7374 SUB(damage_minelayer) {
7375 MY(alpha_min) = 512;
7377 MY(alpha_fade) = 1024;
7378 MY(color_min) = "0x8f0d00";
7379 MY(color_max) = "0xff5a00";
7381 MY(gravity) = -0.500000;
7382 MY(notunderwater) = true;
7383 MY(originjitter) = '2.0 2.0 2.0';
7384 MY(sizeincrease) = -15;
7390 MY(velocityjitter) = '22.0 22.0 50.0';
7393 SUB(damage_minelayer) {
7394 MY(alpha_min) = 128;
7396 MY(alpha_fade) = 128;
7397 MY(color_min) = "0x000000";
7398 MY(color_max) = "0x111111";
7400 MY(gravity) = -0.300000;
7401 MY(notunderwater) = true;
7402 MY(originjitter) = '4.0 4.0 4.0';
7403 MY(sizeincrease) = 5;
7407 MY(type) = "alphastatic";
7408 MY(velocityjitter) = '11.0 11.0 50.0';
7411 // mortar damage effect
7412 DEF(damage_grenadelauncher);
7413 SUB(damage_grenadelauncher) {
7414 MY(alpha_min) = 512;
7416 MY(alpha_fade) = 1024;
7417 MY(color_min) = "0x8f0d00";
7418 MY(color_max) = "0xff5a00";
7420 MY(gravity) = -0.500000;
7421 MY(notunderwater) = true;
7422 MY(originjitter) = '2.0 2.0 2.0';
7423 MY(sizeincrease) = -15;
7429 MY(velocityjitter) = '22.0 22.0 50.0';
7432 SUB(damage_grenadelauncher) {
7433 MY(alpha_min) = 128;
7435 MY(alpha_fade) = 128;
7436 MY(color_min) = "0x000000";
7437 MY(color_max) = "0x111111";
7439 MY(gravity) = -0.300000;
7440 MY(notunderwater) = true;
7441 MY(originjitter) = '4.0 4.0 4.0';
7442 MY(sizeincrease) = 5;
7446 MY(type) = "alphastatic";
7447 MY(velocityjitter) = '11.0 11.0 50.0';
7450 // electro damage effect
7451 DEF(damage_electro);
7452 SUB(damage_electro) {
7453 MY(airfriction) = -0.500000;
7456 MY(alpha_fade) = 48;
7457 MY(color_min) = "0x66ffff";
7458 MY(color_max) = "0x2288ff";
7460 MY(gravity) = -0.000100;
7461 MY(liquidfriction) = 0.800000;
7462 MY(notunderwater) = true;
7463 MY(originjitter) = '3.0 3.0 3.0';
7464 MY(startangle_min) = 180;
7465 MY(startangle_max) = 360;
7468 MY(sizeincrease) = -14;
7473 MY(type) = "static";
7474 MY(velocityjitter) = '8.0 8.0 16.0';
7477 SUB(damage_electro) {
7478 MY(airfriction) = -0.350000;
7481 MY(alpha_fade) = 64;
7482 MY(color_min) = "0x2244ff";
7483 MY(color_max) = "0x002266";
7485 MY(notunderwater) = true;
7486 MY(originjitter) = '4.0 4.0 4.0';
7487 MY(startangle_max) = 180;
7490 MY(sizeincrease) = 10;
7495 MY(velocityjitter) = '0.4 0.4 0.6';
7498 SUB(damage_electro) {
7499 MY(airfriction) = 1;
7500 MY(alpha_min) = 768;
7502 MY(alpha_fade) = 256;
7503 MY(bounce) = 1.500000;
7504 MY(color_min) = "0x003090";
7505 MY(color_max) = "0x00CCFF";
7506 MY(count) = 0.500000;
7507 MY(gravity) = 0.200000;
7508 MY(liquidfriction) = 0.800000;
7514 MY(velocityjitter) = '32.0 32.0 32.0';
7517 // crylink damage effect
7518 DEF(damage_crylink);
7519 SUB(damage_crylink) {
7520 MY(airfriction) = -0.500000;
7523 MY(alpha_fade) = 48;
7524 MY(color_min) = "0xff44ff";
7525 MY(color_max) = "0x9966ff";
7527 MY(gravity) = -0.000100;
7528 MY(liquidfriction) = 0.800000;
7529 MY(notunderwater) = true;
7530 MY(originjitter) = '3.0 3.0 3.0';
7531 MY(startangle_min) = 180;
7532 MY(startangle_max) = 360;
7535 MY(sizeincrease) = -8;
7536 MY(size_min) = 0.500000;
7540 MY(type) = "static";
7541 MY(velocityjitter) = '10.0 10.0 20.0';
7544 SUB(damage_crylink) {
7545 MY(airfriction) = -0.350000;
7548 MY(alpha_fade) = 64;
7549 MY(color_min) = "0x8844ff";
7550 MY(color_max) = "0x662244";
7552 MY(gravity) = 0.001000;
7553 MY(notunderwater) = true;
7554 MY(originjitter) = '4.0 4.0 4.0';
7555 MY(startangle_max) = 180;
7558 MY(sizeincrease) = 6;
7563 MY(velocityjitter) = '0.4 0.4 0.6';
7566 SUB(damage_crylink) {
7567 MY(airfriction) = 0.200000;
7568 MY(alpha_min) = 192;
7569 MY(alpha_max) = 192;
7570 MY(alpha_fade) = 128;
7571 MY(color_min) = "0x903090";
7572 MY(color_max) = "0xFFD0FF";
7573 MY(count) = 0.300000;
7574 MY(liquidfriction) = 0.800000;
7575 MY(sizeincrease) = -5;
7576 MY(size_min) = 0.500000;
7577 MY(size_max) = 0.500000;
7579 MY(velocityjitter) = '12.0 12.0 12.0';
7582 // hlac damage effect
7585 MY(airfriction) = -0.350000;
7586 MY(alpha_min) = 128;
7588 MY(alpha_fade) = 128;
7589 MY(color_min) = "0x880000";
7590 MY(color_max) = "0xff4400";
7592 MY(notunderwater) = true;
7593 MY(originjitter) = '4.0 4.0 4.0';
7594 MY(startangle_max) = 180;
7597 MY(sizeincrease) = 10;
7602 MY(velocityjitter) = '0.4 0.4 0.6';
7605 // vortex damage effect
7608 MY(airfriction) = -0.500000;
7611 MY(alpha_fade) = 64;
7612 MY(color_min) = "0xffffff";
7613 MY(color_max) = "0x88ffff";
7615 MY(gravity) = -0.000100;
7616 MY(liquidfriction) = 0.600000;
7617 MY(originjitter) = '4.0 4.0 4.0';
7618 MY(startangle_min) = 180;
7619 MY(startangle_max) = 360;
7622 MY(sizeincrease) = -14;
7627 MY(type) = "static";
7628 MY(velocityjitter) = '8.0 8.0 16.0';
7632 MY(airfriction) = -0.350000;
7635 MY(alpha_fade) = 64;
7636 MY(color_min) = "0x6688ff";
7637 MY(color_max) = "0x226688";
7639 MY(originjitter) = '2.0 2.0 2.0';
7640 MY(startangle_max) = 180;
7643 MY(sizeincrease) = 8;
7648 MY(velocityjitter) = '0.5 0.5 0.8';
7652 MY(airfriction) = 2;
7653 MY(alpha_min) = 255;
7654 MY(alpha_max) = 255;
7655 MY(alpha_fade) = 112;
7656 MY(bounce) = 1.600000;
7657 MY(color_min) = "0xD9FDFF";
7658 MY(color_max) = "0xD9FDFF";
7659 MY(count) = 0.200000;
7663 MY(stretchfactor) = 0.700000;
7667 MY(velocityjitter) = '100.0 100.0 300.0';
7668 MY(velocitymultiplier) = 3;
7671 // vaporizer damage effect
7672 DEF(damage_minstanex);
7673 SUB(damage_minstanex) {
7674 MY(airfriction) = -0.500000;
7677 MY(alpha_fade) = 64;
7678 MY(color_min) = "0xffffff";
7679 MY(color_max) = "0x88ffff";
7681 MY(gravity) = -0.000100;
7682 MY(liquidfriction) = 0.600000;
7683 MY(originjitter) = '4.0 4.0 4.0';
7684 MY(startangle_min) = 180;
7685 MY(startangle_max) = 360;
7688 MY(sizeincrease) = -14;
7693 MY(type) = "static";
7694 MY(velocityjitter) = '8.0 8.0 16.0';
7697 SUB(damage_minstanex) {
7698 MY(airfriction) = -0.350000;
7701 MY(alpha_fade) = 64;
7702 MY(color_min) = "0x6688ff";
7703 MY(color_max) = "0x226688";
7705 MY(originjitter) = '2.0 2.0 2.0';
7706 MY(startangle_max) = 180;
7709 MY(sizeincrease) = 8;
7714 MY(velocityjitter) = '0.5 0.5 0.8';
7717 SUB(damage_minstanex) {
7718 MY(airfriction) = 2;
7719 MY(alpha_min) = 255;
7720 MY(alpha_max) = 255;
7721 MY(alpha_fade) = 112;
7722 MY(bounce) = 1.600000;
7723 MY(color_min) = "0xD9FDFF";
7724 MY(color_max) = "0xD9FDFF";
7725 MY(count) = 0.200000;
7729 MY(stretchfactor) = 0.700000;
7733 MY(velocityjitter) = '100.0 100.0 300.0';
7734 MY(velocitymultiplier) = 3;
7737 // rifle damage effect, normal blood
7740 MY(airfriction) = 1;
7741 MY(alpha_min) = 256;
7742 MY(alpha_max) = 256;
7743 MY(alpha_fade) = 64;
7745 MY(color_min) = "0xA8FFFF";
7746 MY(color_max) = "0xA8FFFFF";
7747 MY(count) = 0.300000;
7748 MY(liquidfriction) = 4;
7751 MY(staincolor_min) = "0x808080";
7752 MY(staincolor_max) = "0x808080";
7753 MY(staintex_min) = 16;
7754 MY(staintex_max) = 24;
7758 MY(velocityjitter) = '32.0 32.0 32.0';
7759 MY(velocitymultiplier) = 5;
7763 MY(alpha_min) = 100;
7764 MY(alpha_max) = 256;
7765 MY(alpha_fade) = 400;
7766 MY(color_min) = "0x000000";
7767 MY(color_max) = "0x420000";
7772 MY(type) = "alphastatic";
7775 // rifle damage effect, alien blood
7776 DEF(damage_rifle_alien);
7777 SUB(damage_rifle_alien) {
7778 MY(airfriction) = 1;
7779 MY(alpha_min) = 256;
7780 MY(alpha_max) = 256;
7781 MY(alpha_fade) = 64;
7783 MY(color_min) = "0xDC9BCD";
7784 MY(color_max) = "0xDC9BCD";
7785 MY(count) = 0.300000;
7786 MY(liquidfriction) = 4;
7789 MY(staincolor_min) = "0x808080";
7790 MY(staincolor_max) = "0x808080";
7791 MY(staintex_min) = 16;
7792 MY(staintex_max) = 24;
7796 MY(velocityjitter) = '32.0 32.0 32.0';
7797 MY(velocitymultiplier) = 5;
7800 SUB(damage_rifle_alien) {
7801 MY(alpha_min) = 100;
7802 MY(alpha_max) = 256;
7803 MY(alpha_fade) = 400;
7804 MY(color_min) = "0x000000";
7805 MY(color_max) = "0x204010";
7810 MY(type) = "alphastatic";
7813 // rifle damage effect, robot blood
7814 DEF(damage_rifle_robot);
7815 SUB(damage_rifle_robot) {
7816 MY(airfriction) = 1;
7817 MY(alpha_min) = 256;
7818 MY(alpha_max) = 256;
7819 MY(alpha_fade) = 64;
7821 MY(color_min) = "0xC0D890";
7822 MY(color_max) = "0xC0D890";
7823 MY(count) = 0.300000;
7824 MY(liquidfriction) = 4;
7827 MY(staincolor_min) = "0x808080";
7828 MY(staincolor_max) = "0x808080";
7829 MY(staintex_min) = 16;
7830 MY(staintex_max) = 24;
7834 MY(velocityjitter) = '32.0 32.0 32.0';
7835 MY(velocitymultiplier) = 5;
7838 SUB(damage_rifle_robot) {
7839 MY(alpha_min) = 100;
7840 MY(alpha_max) = 256;
7841 MY(alpha_fade) = 400;
7842 MY(color_min) = "0x000000";
7843 MY(color_max) = "0x301860";
7848 MY(type) = "alphastatic";
7851 // seeker damage effect
7853 SUB(damage_seeker) {
7854 MY(alpha_min) = 512;
7856 MY(alpha_fade) = 1024;
7857 MY(color_min) = "0x8f0c00";
7858 MY(color_max) = "0xff2200";
7860 MY(gravity) = -0.300000;
7861 MY(notunderwater) = true;
7862 MY(originjitter) = '2.0 2.0 2.0';
7863 MY(sizeincrease) = -10;
7869 MY(velocityjitter) = '22.0 22.0 50.0';
7872 SUB(damage_seeker) {
7873 MY(alpha_min) = 128;
7875 MY(alpha_fade) = 128;
7876 MY(color_min) = "0x000000";
7877 MY(color_max) = "0x111111";
7879 MY(gravity) = -0.300000;
7880 MY(notunderwater) = true;
7881 MY(originjitter) = '4.0 4.0 4.0';
7882 MY(sizeincrease) = 10;
7886 MY(type) = "alphastatic";
7887 MY(velocityjitter) = '11.0 11.0 50.0';
7890 // hagar damage effect
7893 MY(alpha_min) = 512;
7895 MY(alpha_fade) = 1024;
7896 MY(color_min) = "0x8f0c00";
7897 MY(color_max) = "0xff3a00";
7899 MY(gravity) = -0.300000;
7900 MY(notunderwater) = true;
7901 MY(originjitter) = '2.0 2.0 2.0';
7902 MY(sizeincrease) = -10;
7908 MY(velocityjitter) = '22.0 22.0 50.0';
7912 MY(alpha_min) = 128;
7914 MY(alpha_fade) = 128;
7915 MY(color_min) = "0x000000";
7916 MY(color_max) = "0x111111";
7918 MY(gravity) = -0.300000;
7919 MY(notunderwater) = true;
7920 MY(originjitter) = '4.0 4.0 4.0';
7921 MY(sizeincrease) = 10;
7925 MY(type) = "alphastatic";
7926 MY(velocityjitter) = '11.0 11.0 50.0';
7929 // fireball damage effect
7930 DEF(damage_fireball);
7931 SUB(damage_fireball) {
7932 MY(alpha_min) = 256;
7934 MY(alpha_fade) = 512;
7935 MY(color_min) = "0x8f0d00";
7936 MY(color_max) = "0xff5a00";
7938 MY(gravity) = -0.500000;
7939 MY(notunderwater) = true;
7940 MY(originjitter) = '8.0 8.0 8.0';
7941 MY(sizeincrease) = -10;
7947 MY(velocityjitter) = '22.0 22.0 50.0';
7950 SUB(damage_fireball) {
7951 MY(alpha_min) = 128;
7953 MY(alpha_fade) = 128;
7954 MY(color_min) = "0x000000";
7955 MY(color_max) = "0x111111";
7957 MY(gravity) = -0.300000;
7958 MY(notunderwater) = true;
7959 MY(originjitter) = '6.0 6.0 6.0';
7960 MY(sizeincrease) = 10;
7964 MY(type) = "alphastatic";
7965 MY(velocityjitter) = '11.0 11.0 50.0';
7968 // rocketlauncher damage effect
7969 DEF(damage_rocketlauncher);
7970 SUB(damage_rocketlauncher) {
7971 MY(alpha_min) = 512;
7973 MY(alpha_fade) = 1024;
7974 MY(color_min) = "0x8f0c00";
7975 MY(color_max) = "0xff2a00";
7977 MY(gravity) = -0.700000;
7978 MY(notunderwater) = true;
7979 MY(originjitter) = '4.0 4.0 4.0';
7980 MY(sizeincrease) = -10;
7986 MY(velocityjitter) = '22.0 22.0 30.0';
7989 SUB(damage_rocketlauncher) {
7990 MY(alpha_min) = 128;
7992 MY(alpha_fade) = 128;
7993 MY(color_min) = "0x000000";
7994 MY(color_max) = "0x111111";
7996 MY(gravity) = -0.300000;
7997 MY(notunderwater) = true;
7998 MY(originjitter) = '4.0 4.0 4.0';
7999 MY(sizeincrease) = 10;
8003 MY(type) = "alphastatic";
8004 MY(velocityjitter) = '11.0 11.0 50.0';
8010 MY(airfriction) = 5;
8011 MY(alpha_min) = 256;
8012 MY(alpha_max) = 256;
8013 MY(alpha_fade) = 70;
8015 MY(color_min) = "0xff9600";
8016 MY(color_max) = "0xffefb8";
8018 MY(originjitter) = '32.0 32.0 32.0';
8019 MY(originoffset) = '8.0 8.0 8.0';
8020 MY(sizeincrease) = -0.300000;
8027 MY(type) = "static";
8028 MY(velocityjitter) = '64.0 64.0 64.0';
8029 MY(velocityoffset) = '2.0 2.0 2.0';
8032 DEF(healray_muzzleflash);
8033 SUB(healray_muzzleflash) {
8034 MY(alpha_min) = 256;
8035 MY(alpha_max) = 256;
8036 MY(alpha_fade) = 512;
8037 MY(color_min) = "0x283880";
8038 MY(color_max) = "0x283880";
8039 MY(countabsolute) = 1;
8040 MY(lightcolor) = '1.5 3.0 6.0';
8041 MY(lightradiusfade) = 2000;
8042 MY(lightradius) = 200;
8043 MY(originjitter) = '1.5 1.5 1.5';
8044 MY(sizeincrease) = -10;
8050 MY(velocityjitter) = '6.0 6.0 6.0';
8051 MY(velocitymultiplier) = 0.010000;
8053 SUB(healray_muzzleflash) {
8054 MY(airfriction) = 5;
8056 MY(alpha_max) = 150;
8057 MY(alpha_fade) = 1924;
8058 MY(color_min) = "0xD9FDFF";
8059 MY(color_max) = "0x00f0ff";
8061 MY(originjitter) = '1.0 1.0 1.0';
8062 MY(sizeincrease) = 3;
8065 MY(stretchfactor) = 3.900000;
8069 MY(velocityjitter) = '150.0 150.0 150.0';
8070 MY(velocitymultiplier) = 0.400000;
8072 SUB(healray_muzzleflash) {
8073 MY(alpha_min) = 110;
8074 MY(alpha_max) = 228;
8075 MY(alpha_fade) = 4024;
8076 MY(color_min) = "0xD9FDFF";
8077 MY(color_max) = "0x00f0ff";
8079 MY(originjitter) = '1.0 1.0 1.0';
8082 MY(stretchfactor) = 0.200000;
8086 MY(velocityjitter) = '650.0 650.0 650.0';
8087 MY(velocitymultiplier) = 1.100000;
8090 DEF(healray_impact);
8091 SUB(healray_impact) {
8092 MY(alpha_min) = 256;
8093 MY(alpha_max) = 256;
8094 MY(color_min) = "0xd800ff";
8095 MY(color_max) = "0xd800ff";
8096 MY(countabsolute) = 1;
8097 MY(lightcolor) = '0.0 4.4 0.0';
8098 MY(lightradiusfade) = 450;
8099 MY(lightradius) = 125;
8100 MY(originjitter) = '17.0 17.0 17.0';
8108 SUB(healray_impact) {
8111 MY(alpha_fade) = 350;
8112 MY(color_min) = "0x00ff00";
8113 MY(color_max) = "0x84c52f";
8114 MY(countabsolute) = 1;
8115 MY(sizeincrease) = 1400;
8121 MY(velocitymultiplier) = 44;
8123 // cloud of bouncing sparks
8124 SUB(healray_impact) {
8125 MY(airfriction) = 6;
8126 MY(alpha_min) = 156;
8127 MY(alpha_max) = 300;
8128 MY(alpha_fade) = 1024;
8129 MY(color_min) = "0x00ff00";
8130 MY(color_max) = "0x84c52f";
8133 MY(originjitter) = '1.0 1.0 1.0';
8139 MY(velocityjitter) = '1112.0 1112.0 1112.0';
8141 // inner cloud of smoke
8142 SUB(healray_impact) {
8143 MY(airfriction) = 3;
8144 MY(alpha_min) = 200;
8145 MY(alpha_max) = 456;
8146 MY(alpha_fade) = 512;
8147 MY(color_min) = "0x00ff00";
8148 MY(color_max) = "0x84c52f";
8151 MY(startangle_min) = -180;
8152 MY(startangle_max) = 180;
8160 MY(velocityjitter) = '120.0 120.0 420.0';
8163 DEF(bigplasma_muzzleflash);
8164 SUB(bigplasma_muzzleflash) {
8165 MY(alpha_min) = 256;
8166 MY(alpha_max) = 256;
8167 MY(alpha_fade) = 812;
8168 MY(color_min) = "0x283880";
8169 MY(color_max) = "0x283880";
8170 MY(countabsolute) = 1;
8171 MY(lightcolor) = '1.5 3.0 6.0';
8172 MY(lightradiusfade) = 2000;
8173 MY(lightradius) = 200;
8174 MY(originjitter) = '1.5 1.5 1.5';
8175 MY(sizeincrease) = -10;
8181 MY(velocityjitter) = '6.0 6.0 6.0';
8182 MY(velocitymultiplier) = 0.010000;
8184 SUB(bigplasma_muzzleflash) {
8187 MY(alpha_fade) = 1112;
8188 MY(color_min) = "0x00f0ff";
8189 MY(color_max) = "0x00f0ff";
8190 MY(countabsolute) = 1;
8191 MY(sizeincrease) = 300;
8198 SUB(bigplasma_muzzleflash) {
8199 MY(airfriction) = 5;
8201 MY(alpha_max) = 150;
8202 MY(alpha_fade) = 1924;
8203 MY(color_min) = "0xD9FDFF";
8204 MY(color_max) = "0x00f0ff";
8206 MY(originjitter) = '1.0 1.0 1.0';
8207 MY(sizeincrease) = 135;
8210 MY(stretchfactor) = 1.900000;
8214 MY(velocityjitter) = '350.0 350.0 350.0';
8215 MY(velocitymultiplier) = 0.400000;
8217 SUB(bigplasma_muzzleflash) {
8218 MY(alpha_min) = 110;
8219 MY(alpha_max) = 228;
8220 MY(alpha_fade) = 4024;
8221 MY(color_min) = "0xD9FDFF";
8222 MY(color_max) = "0x00f0ff";
8224 MY(originjitter) = '1.0 1.0 1.0';
8227 MY(stretchfactor) = 0.200000;
8231 MY(velocityjitter) = '650.0 650.0 650.0';
8232 MY(velocitymultiplier) = 1.100000;
8235 DEF(bigplasma_impact);
8236 SUB(bigplasma_impact) {
8237 MY(alpha_min) = 256;
8238 MY(alpha_max) = 256;
8239 MY(countabsolute) = 1;
8240 MY(lightcolor) = '3.1 4.4 10.0';
8241 MY(lightradiusfade) = 450;
8242 MY(lightradius) = 125;
8243 MY(originjitter) = '17.0 17.0 17.0';
8251 SUB(bigplasma_impact) {
8254 MY(alpha_fade) = 350;
8255 MY(color_min) = "0x80C0FF";
8256 MY(color_max) = "0x80C0FF";
8257 MY(countabsolute) = 1;
8258 MY(sizeincrease) = 1400;
8264 MY(velocitymultiplier) = 44;
8266 // cloud of bouncing sparks
8267 SUB(bigplasma_impact) {
8268 MY(airfriction) = 6;
8269 MY(alpha_min) = 156;
8270 MY(alpha_max) = 300;
8271 MY(alpha_fade) = 1024;
8272 MY(color_min) = "0x629dff";
8273 MY(color_max) = "0x0018ff";
8276 MY(originjitter) = '1.0 1.0 1.0';
8282 MY(velocityjitter) = '1512.0 1512.0 1512.0';
8284 // inner cloud of smoke
8285 SUB(bigplasma_impact) {
8286 MY(airfriction) = 30;
8287 MY(alpha_min) = 200;
8288 MY(alpha_max) = 456;
8289 MY(alpha_fade) = 1512;
8290 MY(color_min) = "0x629dff";
8291 MY(color_max) = "0x0018ff";
8293 MY(originjitter) = '20.0 20.0 20.0';
8294 MY(startangle_min) = -180;
8295 MY(startangle_max) = 180;
8298 MY(sizeincrease) = 555;
8304 MY(velocityjitter) = '320.0 320.0 320.0';
8307 SUB(bigplasma_impact) {
8308 MY(airfriction) = 0.040000;
8309 MY(alpha_min) = 128;
8310 MY(alpha_max) = 328;
8311 MY(alpha_fade) = 390;
8312 MY(blend) = "alpha";
8313 MY(color_min) = "0x222222";
8314 MY(color_max) = "0x000000";
8316 MY(gravity) = 0.400000;
8317 MY(originjitter) = '80.0 80.0 10.0';
8318 MY(startangle_min) = -180;
8319 MY(startangle_max) = 180;
8322 MY(sizeincrease) = 30;
8327 MY(velocityjitter) = '100.0 100.0 200.0';
8328 MY(velocityoffset) = '0.0 0.0 180.0';
8330 // smoke in the middle
8331 SUB(bigplasma_impact) {
8332 MY(airfriction) = 0.040000;
8333 MY(alpha_min) = 128;
8334 MY(alpha_max) = 328;
8335 MY(alpha_fade) = 310;
8336 MY(color_min) = "0x222222";
8337 MY(color_max) = "0x000000";
8339 MY(gravity) = -0.200000;
8340 MY(originjitter) = '80.0 80.0 80.0';
8341 MY(startangle_min) = -180;
8342 MY(startangle_max) = 180;
8345 MY(sizeincrease) = -10;
8349 MY(type) = "alphastatic";
8350 MY(velocityjitter) = '10.0 10.0 10.0';
8353 #include "effectinfo_ctf.inc"
8355 // spawn_point -- team idle spawn point effect
8356 #define spawn_point(name, color) \
8357 DEF(spawn_point_##name); \
8358 SUB(spawn_point_##name) { \
8359 MY(airfriction) = 0.200000; \
8360 MY(alpha_min) = 64; \
8361 MY(alpha_max) = 128; \
8362 MY(alpha_fade) = 128; \
8363 MY(color_min) = color; \
8364 MY(color_max) = color; \
8365 MY(count) = 37.500000; \
8366 MY(gravity) = -0.100000; \
8367 MY(liquidfriction) = 0.800000; \
8368 MY(originjitter) = '16.0 16.0 64.0'; \
8371 MY(type) = "static"; \
8372 MY(velocityjitter) = '32.0 32.0 0.0'; \
8375 spawn_point(red, "0xFF0F0F")
8376 spawn_point(blue, "0x0F0FFF")
8377 spawn_point(yellow, "0xFFFF0F")
8378 spawn_point(pink, "0xFF0FFF")
8379 spawn_point(neutral, "0xFFFFFF")
8382 // spawn_event -- team spawning effect
8383 #define spawn_event(name, color) \
8384 DEF(spawn_event_##name); \
8385 SUB(spawn_event_##name) { \
8386 MY(airfriction) = 2; \
8387 MY(alpha_max) = 256; \
8388 MY(alpha_fade) = 256; \
8390 MY(color_min) = color; \
8391 MY(color_max) = color; \
8393 MY(originjitter) = '1.0 1.0 1.0'; \
8396 MY(stretchfactor) = 0.600000; \
8399 MY(type) = "spark"; \
8400 MY(velocityjitter) = '500.0 500.0 500.0'; \
8401 MY(velocitymultiplier) = 0.100000; \
8403 SUB(spawn_event_##name) { \
8404 MY(alpha_min) = 190; \
8405 MY(alpha_max) = 190; \
8406 MY(alpha_fade) = 180; \
8407 MY(color_min) = color; \
8408 MY(color_max) = color; \
8409 MY(countabsolute) = 1; \
8410 MY(sizeincrease) = -80; \
8411 MY(size_min) = 100; \
8412 MY(size_max) = 100; \
8415 MY(type) = "smoke"; \
8419 spawn_event(red, "0xFF0F0F")
8420 spawn_event(blue, "0x0F0FFF")
8421 spawn_event(yellow, "0xFFFF0F")
8422 spawn_event(pink, "0xFF0FFF")
8423 spawn_event(neutral, "0xFFFFFF")
8426 #include "effectinfo_nades.inc"
8428 DEF(shockwave_attack);
8430 SUB(shockwave_attack) {
8431 MY(airfriction) = 1;
8432 MY(alpha_min) = 4096;
8433 MY(alpha_max) = 4096;
8434 MY(alpha_fade) = 20000;
8435 MY(color_min) = "0xb44215";
8436 MY(color_max) = "0xff0000";
8438 MY(originjitter) = '2.0 2.0 2.0';
8439 MY(startangle_min) = -180;
8440 MY(startangle_max) = 180;
8441 MY(spin_min) = 4000;
8442 MY(spin_max) = -4000;
8443 MY(sizeincrease) = 1.500000;
8446 MY(stretchfactor) = 2.300000;
8450 MY(velocityjitter) = '10.0 10.0 10.0';
8451 MY(velocitymultiplier) = 10;
8454 SUB(shockwave_attack) {
8455 MY(airfriction) = 1;
8456 MY(alpha_min) = 4096;
8457 MY(alpha_max) = 4096;
8458 MY(alpha_fade) = 20000;
8459 MY(color_min) = "0xff4200";
8460 MY(color_max) = "0xff0000";
8462 MY(originjitter) = '2.0 2.0 2.0';
8463 MY(sizeincrease) = 1.500000;
8466 MY(stretchfactor) = 2;
8470 MY(velocityjitter) = '10.0 10.0 10.0';
8471 MY(velocitymultiplier) = 10;
8476 SUB(arc_lightning) {
8479 MY(countabsolute) = 1;
8480 MY(lightcolor) = '3.1 4.4 10.0';
8481 MY(lightradiusfade) = 200;
8482 MY(lightradius) = 50;
8483 MY(originjitter) = '2.0 2.0 2.0';
8491 SUB(arc_lightning) {
8492 MY(airfriction) = 110;
8493 MY(alpha_min) = 256;
8494 MY(alpha_max) = 256;
8495 MY(alpha_fade) = 512;
8496 MY(color_min) = "0xDDFDFF";
8497 MY(color_max) = "0xFDFDFF";
8499 MY(originjitter) = '20.0 20.0 20.0';
8500 MY(startangle_max) = 360;
8501 MY(spin_min) = -36000;
8502 MY(spin_max) = 36000;
8503 MY(sizeincrease) = -5;
8505 MY(stretchfactor) = 1;
8508 MY(type) = "static";
8509 MY(velocityjitter) = '250.0 250.0 250.0';
8510 MY(velocitymultiplier) = 100;
8512 // impact sparks (underwater)
8513 SUB(arc_lightning) {
8514 MY(airfriction) = 5;
8515 MY(alpha_min) = 256;
8516 MY(alpha_max) = 256;
8517 MY(alpha_fade) = 512;
8518 MY(color_min) = "0xDDFDFF";
8519 MY(color_max) = "0xFDFDFF";
8521 MY(liquidfriction) = 5;
8522 MY(orientation) = "spark";
8523 MY(originjitter) = '20.0 20.0 20.0';
8524 MY(startangle_max) = 360;
8525 MY(spin_min) = -36000;
8526 MY(spin_max) = 36000;
8527 MY(sizeincrease) = -5;
8529 MY(stretchfactor) = 1;
8532 MY(type) = "static";
8533 MY(underwater) = true;
8534 MY(velocityjitter) = '250.0 250.0 250.0';
8535 MY(velocitymultiplier) = 20;
8541 MY(airfriction) = -10;
8542 MY(alpha_min) = 256;
8543 MY(alpha_max) = 256;
8544 MY(alpha_fade) = 16384;
8545 MY(color_min) = "0xfafad2";
8546 MY(color_max) = "0xffffff";
8547 MY(originjitter) = '3.0 3.0 3.0';
8548 MY(relativeoriginoffset) = '10.0 0.0 0.0';
8549 MY(startangle_max) = 360;
8551 MY(spin_max) = 1000;
8552 MY(stretchfactor) = 1;
8555 MY(time_min) = 0.050000;
8556 MY(time_max) = 0.050000;
8557 MY(trailspacing) = 10;
8559 MY(velocityjitter) = '100.0 100.0 100.0';
8560 MY(velocitymultiplier) = 200;
8562 // sparks on beam (underwater)
8564 MY(alpha_min) = 256;
8565 MY(alpha_max) = 256;
8566 MY(alpha_fade) = 16384;
8567 MY(color_min) = "0xfafad2";
8568 MY(color_max) = "0xffffff";
8569 MY(liquidfriction) = -10;
8570 MY(originjitter) = '30.0 30.0 30.0';
8571 MY(relativeoriginoffset) = '10.0 0.0 0.0';
8572 MY(startangle_max) = 360;
8574 MY(spin_max) = 1000;
8575 MY(stretchfactor) = 1;
8578 MY(time_min) = 0.001000;
8579 MY(time_max) = 0.001000;
8580 MY(trailspacing) = 10;
8582 MY(underwater) = true;
8583 MY(velocityjitter) = '100.0 100.0 100.0';
8584 MY(velocitymultiplier) = 200;
8589 SUB(arc_beam_heal) {
8590 MY(airfriction) = -20;
8591 MY(alpha_min) = 2048;
8592 MY(alpha_max) = 2048;
8593 MY(alpha_fade) = 256;
8594 MY(color_min) = "0x20FF20";
8595 MY(color_max) = "0x40FF40";
8596 MY(relativeoriginoffset) = '5.0 0.0 0.0';
8597 MY(relativevelocityoffset) = '100.0 0.0 0.0';
8598 MY(sizeincrease) = 20;
8599 MY(size_min) = 0.100000;
8600 MY(size_max) = 0.100000;
8603 MY(trailspacing) = 1500;
8605 MY(velocityjitter) = '3.0 3.0 3.0';
8606 MY(velocitymultiplier) = 200;
8609 DEF(arc_beam_healimpact);
8611 SUB(arc_beam_healimpact) {
8614 MY(alpha_fade) = 350;
8615 MY(color_min) = "0x00ff00";
8616 MY(color_max) = "0x84c52f";
8617 MY(countabsolute) = 1;
8618 MY(lightcolor) = '0.0 4.4 0.0';
8619 MY(lightradiusfade) = 150;
8620 MY(lightradius) = 20;
8621 MY(sizeincrease) = -1000;
8627 MY(velocitymultiplier) = 44;
8630 SUB(arc_beam_healimpact) {
8631 MY(airfriction) = 3;
8632 MY(alpha_min) = 200;
8633 MY(alpha_max) = 456;
8634 MY(alpha_fade) = 512;
8635 MY(color_min) = "0x00ff00";
8636 MY(color_max) = "0x84c52f";
8639 MY(startangle_min) = -180;
8640 MY(startangle_max) = 180;
8643 MY(size_min) = 0.500000;
8648 MY(velocityjitter) = '120.0 120.0 420.0';
8652 // arc heat smoke (notunderwater)
8654 MY(airfriction) = 1;
8657 MY(alpha_fade) = 48;
8658 MY(color_min) = "0x4c453f";
8659 MY(color_max) = "0x2a241f";
8661 MY(gravity) = -0.125000;
8662 MY(notunderwater) = true;
8663 MY(startangle_max) = 360;
8664 MY(spin_min) = -180;
8666 MY(sizeincrease) = 10;
8671 MY(velocityjitter) = '0.0 0.0 16.0';
8673 // arc heat bubbles (underwater)
8675 MY(alpha_min) = 170;
8676 MY(alpha_max) = 256;
8677 MY(alpha_fade) = 64;
8678 MY(bounce) = 1.500000;
8679 MY(color_min) = "0x404040";
8680 MY(color_max) = "0x808080";
8682 MY(gravity) = -0.125000;
8683 MY(liquidfriction) = 0.250000;
8684 MY(originjitter) = '6.0 6.0 6.0';
8685 MY(size_min) = 0.100000;
8689 MY(type) = "bubble";
8690 MY(underwater) = true;
8691 MY(velocityjitter) = '16.0 16.0 16.0';
8695 // arc overheat electric bolts
8697 MY(airfriction) = 5;
8698 MY(alpha_min) = 128;
8699 MY(alpha_max) = 128;
8700 MY(alpha_fade) = 292;
8701 MY(color_min) = "0xffffff";
8702 MY(color_max) = "0x9271fb";
8704 MY(gravity) = -0.400000;
8705 MY(liquidfriction) = 10;
8706 MY(originjitter) = '10.0 10.0 10.0';
8707 MY(sizeincrease) = -24;
8713 MY(velocityjitter) = '256.0 256.0 256.0';
8716 DEF(arc_overheat_fire);
8717 // arc overheat bouncing sparks
8718 SUB(arc_overheat_fire) {
8719 MY(alpha_max) = 256;
8720 MY(alpha_fade) = 640;
8721 MY(bounce) = 1.500000;
8722 MY(color_min) = "0x4444ff";
8723 MY(color_max) = "0xeeeeff";
8726 MY(liquidfriction) = 5;
8727 MY(originjitter) = '6.0 6.0 6.0';
8728 MY(size_min) = 0.400000;
8731 MY(velocityjitter) = '92.0 92.0 92.0';
8732 MY(velocitymultiplier) = 80;
8733 MY(velocityoffset) = '0.0 0.0 80.0';
8736 #include "effectinfo_buffs.inc"
8738 #include "effectinfo_instagib.inc"
8740 DEF(arc_muzzleflash);
8741 SUB(arc_muzzleflash) {
8742 MY(alpha_min) = 256;
8743 MY(alpha_max) = 256;
8744 MY(alpha_fade) = 512;
8745 MY(color_min) = "0x00ff00";
8746 MY(color_max) = "0x8f4333";
8748 MY(lightcolor) = '0.3 2.0 0.2';
8749 MY(lightradiusfade) = 2000;
8750 MY(lightradius) = 200;
8751 MY(originjitter) = '1.5 1.5 1.5';
8756 MY(velocityjitter) = '6.0 6.0 6.0';
8757 MY(velocitymultiplier) = 0.010000;
8759 SUB(arc_muzzleflash) {
8760 MY(airfriction) = 12;
8761 MY(alpha_max) = 128;
8762 MY(alpha_fade) = 1024;
8763 MY(color_min) = "0x00ff00";
8764 MY(color_max) = "0x8f4333";
8766 MY(originjitter) = '1.0 1.0 1.0';
8767 MY(startangle_min) = -180;
8768 MY(startangle_max) = 180;
8769 MY(spin_min) = -400;
8773 MY(stretchfactor) = 2;
8777 MY(velocityjitter) = '200.0 200.0 200.0';
8778 MY(velocitymultiplier) = 0.500000;
8781 DEF(arc_bolt_explode);
8783 SUB(arc_bolt_explode) {
8784 MY(alpha_min) = 256;
8785 MY(alpha_max) = 256;
8786 MY(countabsolute) = 1;
8787 MY(lightcolor) = '8.0 4.0 1.0';
8788 MY(lightradiusfade) = 400;
8789 MY(lightradius) = 120;
8790 MY(originjitter) = '14.0 14.0 14.0';
8797 // fire effect which make bright dot inside
8798 SUB(arc_bolt_explode) {
8799 MY(airfriction) = 8;
8801 MY(alpha_max) = 200;
8802 MY(alpha_fade) = 356;
8803 MY(bounce) = 1.500000;
8804 MY(color_min) = "0x00ffff";
8805 MY(color_max) = "0x00ffff";
8806 MY(count) = 3.500000;
8807 MY(liquidfriction) = 8;
8808 MY(notunderwater) = true;
8809 MY(originjitter) = '8.0 8.0 8.0';
8810 MY(sizeincrease) = 5;
8816 MY(velocityjitter) = '156.0 156.0 156.0';
8818 // fire effect which expands then slows
8819 SUB(arc_bolt_explode) {
8820 MY(airfriction) = 12;
8821 MY(alpha_min) = 128;
8822 MY(alpha_max) = 256;
8823 MY(alpha_fade) = 456;
8824 MY(bounce) = 1.500000;
8825 MY(color_min) = "0x00ff00";
8826 MY(color_max) = "0x8f4333";
8828 MY(liquidfriction) = 8;
8829 MY(notunderwater) = true;
8830 MY(originjitter) = '8.0 8.0 8.0';
8831 MY(sizeincrease) = 15;
8836 MY(type) = "static";
8837 MY(velocityjitter) = '286.0 286.0 286.0';
8839 // underwater bubbles
8840 SUB(arc_bolt_explode) {
8841 MY(alpha_min) = 128;
8842 MY(alpha_max) = 256;
8843 MY(alpha_fade) = 64;
8844 MY(bounce) = 1.500000;
8845 MY(color_min) = "0x404040";
8846 MY(color_max) = "0x808080";
8848 MY(gravity) = -0.125000;
8849 MY(liquidfriction) = 0.250000;
8850 MY(originjitter) = '16.0 16.0 16.0';
8855 MY(type) = "bubble";
8856 MY(underwater) = true;
8857 MY(velocityjitter) = '96.0 96.0 96.0';
8860 SUB(arc_bolt_explode) {
8861 MY(airfriction) = 1;
8862 MY(alpha_min) = 644;
8863 MY(alpha_max) = 956;
8864 MY(alpha_fade) = 684;
8865 MY(bounce) = 1.600000;
8866 MY(color_min) = "0x00ff00";
8867 MY(color_max) = "0x8f4333";
8870 MY(liquidfriction) = 0.800000;
8871 MY(notunderwater) = true;
8872 MY(originjitter) = '16.0 16.0 16.0';
8874 MY(size_max) = 0.100000;
8878 MY(velocityjitter) = '224.0 224.0 224.0';
8879 MY(velocityoffset) = '0.0 0.0 80.0';