1 // docs: https://www.quakewiki.net/darkplaces-wiki/effectinfo-scripting-reference/
2 // use cl_particles_reloadeffects to reload effects without restarting engine
6 // flare particle and light
11 MY(color_min) = "0x63F2EA";
12 MY(color_max) = "0x63f2EA";
13 MY(countabsolute) = 1;
14 MY(lightcolor) = '0.4 0.9 0.9';
15 MY(lightradiusfade) = 200;
16 MY(lightradius) = 200;
21 // cloud of particles which expand rapidly and then slow to form a ball
27 MY(color_min) = "0x63F2EA";
28 MY(color_max) = "0x63f2EA";
30 MY(liquidfriction) = 2;
31 MY(originjitter) = '16.0 16.0 16.0';
35 MY(velocityjitter) = '32.0 32.0 32.0';
44 MY(countabsolute) = 1;
45 MY(lightcolor) = '4.0 0.2 0.2';
46 MY(lightradiusfade) = 1000;
47 MY(lightradius) = 200;
48 MY(originjitter) = '16.0 16.0 16.0';
59 MY(alpha_fade) = 1024;
60 MY(color_min) = "0xFF2010";
61 MY(color_max) = "0xFF2010";
62 MY(countabsolute) = 1;
69 // sparks that rapidly expand and rapidly slow down to form an interesting spherical effect
74 MY(alpha_fade) = 1024;
75 MY(color_min) = "0x800000";
76 MY(color_max) = "0xFF8020";
78 MY(liquidfriction) = 6;
82 MY(velocityjitter) = '256.0 256.0 256.0';
85 // machinegun bullet impact
87 // bullet impact decal
91 MY(countabsolute) = 1;
92 MY(originjitter) = '6.0 6.0 6.0';
99 // dust/smoke drifting away from the impact
103 MY(alpha_fade) = 256;
104 MY(color_min) = "0x101010";
105 MY(color_max) = "0x101010";
107 MY(sizeincrease) = 3;
112 MY(velocityjitter) = '8.0 8.0 8.0';
114 // dust/smoke staying at the impact
118 MY(alpha_fade) = 128;
119 MY(color_min) = "0x505050";
120 MY(color_max) = "0x505050";
121 MY(count) = 0.500000;
122 MY(sizeincrease) = 4;
131 MY(alpha_fade) = 256;
132 MY(bounce) = 1.500000;
133 MY(color_min) = "0x8f4333";
134 MY(color_max) = "0xfff31b";
137 MY(size_min) = 0.400000;
138 MY(size_max) = 0.400000;
140 MY(velocityjitter) = '64.0 64.0 64.0';
141 MY(velocityoffset) = '0.0 0.0 80.0';
144 // electro combo explosion
150 MY(countabsolute) = 1;
151 MY(lightcolor) = '2.0 2.5 3.0';
152 MY(lightradiusfade) = 200;
153 MY(lightradius) = 400;
154 MY(originjitter) = '34.0 34.0 34.0';
165 MY(alpha_fade) = 128;
166 MY(color_min) = "0x80C0FF";
167 MY(color_max) = "0x80C0FF";
168 MY(countabsolute) = 1;
180 MY(alpha_fade) = 256;
181 MY(bounce) = 1.500000;
182 MY(color_min) = "0x2030FF";
183 MY(color_max) = "0x80C0FF";
185 MY(liquidfriction) = 16;
189 MY(velocityjitter) = '512.0 512.0 512.0';
198 MY(countabsolute) = 1;
199 MY(originjitter) = '6.0 6.0 6.0';
206 // dust/smoke drifting away from the impact
210 MY(alpha_fade) = 256;
211 MY(color_min) = "0x101010";
212 MY(color_max) = "0x101010";
214 MY(sizeincrease) = 3;
219 MY(velocityjitter) = '8.0 8.0 8.0';
221 // dust/smoke staying at the impact
225 MY(alpha_fade) = 128;
226 MY(color_min) = "0x505050";
227 MY(color_max) = "0x505050";
228 MY(count) = 0.500000;
229 MY(sizeincrease) = 4;
235 // sparks that disappear on impact
238 MY(alpha_fade) = 768;
240 MY(color_min) = "0x8f4333";
241 MY(color_max) = "0xfff31b";
244 MY(size_min) = 0.400000;
245 MY(size_max) = 0.400000;
247 MY(velocityjitter) = '64.0 64.0 64.0';
248 MY(velocityoffset) = '0.0 0.0 80.0';
252 DEF(TE_SUPERSPIKEQUAD);
254 SUB(TE_SUPERSPIKEQUAD) {
257 MY(countabsolute) = 1;
258 MY(lightcolor) = '0.2 0.2 1.5';
259 MY(lightradiusfade) = 500;
260 MY(lightradius) = 100;
261 MY(originjitter) = '6.0 6.0 6.0';
268 // dust/smoke drifting away from the impact
269 SUB(TE_SUPERSPIKEQUAD) {
272 MY(alpha_fade) = 256;
273 MY(color_min) = "0x101010";
274 MY(color_max) = "0x101010";
276 MY(sizeincrease) = 3;
281 MY(velocityjitter) = '8.0 8.0 8.0';
283 // dust/smoke staying at the impact
284 SUB(TE_SUPERSPIKEQUAD) {
287 MY(alpha_fade) = 128;
288 MY(color_min) = "0x505050";
289 MY(color_max) = "0x505050";
290 MY(count) = 0.500000;
291 MY(sizeincrease) = 4;
297 // sparks that disappear on impact
298 SUB(TE_SUPERSPIKEQUAD) {
300 MY(alpha_fade) = 768;
302 MY(color_min) = "0x8f4333";
303 MY(color_max) = "0xfff31b";
306 MY(size_min) = 0.400000;
307 MY(size_max) = 0.400000;
309 MY(velocityjitter) = '64.0 64.0 64.0';
310 MY(velocityoffset) = '0.0 0.0 80.0';
313 // shotgun pellet impact
319 MY(countabsolute) = 1;
320 MY(originjitter) = '6.0 6.0 6.0';
327 // dust/smoke drifting away from the impact
332 MY(color_min) = "0x101010";
333 MY(color_max) = "0x101010";
334 MY(count) = 0.800000;
335 MY(sizeincrease) = 3;
340 MY(velocityjitter) = '8.0 8.0 8.0';
342 // dust/smoke staying at the impact
347 MY(color_min) = "0x505050";
348 MY(color_max) = "0x505050";
349 MY(count) = 0.200000;
350 MY(sizeincrease) = 4;
360 MY(bounce) = 1.500000;
361 MY(color_min) = "0x8f4333";
362 MY(color_max) = "0xfff31b";
363 MY(count) = 2.500000;
365 MY(size_min) = 0.400000;
366 MY(size_max) = 0.400000;
368 MY(velocityjitter) = '64.0 64.0 64.0';
369 MY(velocityoffset) = '0.0 0.0 80.0';
372 // crylink impact effect
375 SUB(TE_GUNSHOTQUAD) {
378 MY(countabsolute) = 1;
379 MY(originjitter) = '12.0 12.0 12.0';
386 // purple flare effect
387 SUB(TE_GUNSHOTQUAD) {
390 MY(alpha_fade) = 512;
391 MY(color_min) = "0x504060";
392 MY(color_max) = "0x504060";
393 MY(countabsolute) = 1;
401 SUB(TE_GUNSHOTQUAD) {
404 MY(alpha_fade) = 384;
405 MY(bounce) = 1.500000;
406 MY(color_min) = "0xA040C0";
407 MY(color_max) = "0xFFFFFF";
413 MY(velocityjitter) = '128.0 128.0 128.0';
414 MY(velocityoffset) = '0.0 0.0 80.0';
417 // mortar/hagar explosion (smaller than rocket)
423 MY(countabsolute) = 1;
424 MY(lightcolor) = '4.0 2.0 0.5';
425 MY(lightradiusfade) = 300;
426 MY(lightradius) = 150;
427 MY(originjitter) = '40.0 40.0 40.0';
439 MY(color_min) = "0x404040";
440 MY(color_max) = "0x404040";
441 MY(countabsolute) = 1;
448 // fire effect which expands then slows
453 MY(alpha_fade) = 256;
454 MY(bounce) = 1.500000;
455 MY(color_min) = "0x902010";
456 MY(color_max) = "0xFFD080";
458 MY(liquidfriction) = 4;
459 MY(notunderwater) = true;
460 MY(originjitter) = '8.0 8.0 8.0';
466 MY(velocityjitter) = '256.0 256.0 256.0';
468 // underwater bubbles
473 MY(bounce) = 1.500000;
474 MY(color_min) = "0x404040";
475 MY(color_max) = "0x808080";
477 MY(gravity) = -0.125000;
478 MY(liquidfriction) = 0.250000;
479 MY(originjitter) = '16.0 16.0 16.0';
485 MY(underwater) = true;
486 MY(velocityjitter) = '96.0 96.0 96.0';
490 MY(airfriction) = 0.200000;
493 MY(alpha_fade) = 384;
494 MY(bounce) = 1.500000;
495 MY(color_min) = "0x903010";
496 MY(color_max) = "0xFFD030";
499 MY(liquidfriction) = 0.800000;
500 MY(notunderwater) = true;
504 MY(velocityjitter) = '256.0 256.0 256.0';
505 MY(velocityoffset) = '0.0 0.0 80.0';
509 DEF(TE_EXPLOSIONQUAD);
511 SUB(TE_EXPLOSIONQUAD) {
514 MY(countabsolute) = 1;
515 MY(lightcolor) = '4.0 2.0 8.0';
516 MY(lightradiusfade) = 700;
517 MY(lightradius) = 350;
518 MY(originjitter) = '40.0 40.0 40.0';
526 SUB(TE_EXPLOSIONQUAD) {
530 MY(color_min) = "0x202020";
531 MY(color_max) = "0x404040";
533 MY(notunderwater) = true;
538 MY(velocityjitter) = '48.0 48.0 48.0';
540 // underwater bubbles
541 SUB(TE_EXPLOSIONQUAD) {
545 MY(bounce) = 1.500000;
546 MY(color_min) = "0x404040";
547 MY(color_max) = "0x808080";
549 MY(gravity) = -0.125000;
550 MY(liquidfriction) = 0.250000;
551 MY(originjitter) = '16.0 16.0 16.0';
557 MY(underwater) = true;
558 MY(velocityjitter) = '96.0 96.0 96.0';
560 // sparks which go through walls
561 SUB(TE_EXPLOSIONQUAD) {
562 MY(airfriction) = 0.200000;
564 MY(alpha_fade) = 512;
565 MY(color_min) = "0x903010";
566 MY(color_max) = "0xFFD030";
569 MY(liquidfriction) = 0.800000;
570 MY(notunderwater) = true;
574 MY(velocityjitter) = '256.0 256.0 256.0';
575 MY(velocityoffset) = '0.0 0.0 80.0';
579 DEF(TE_TAREXPLOSION);
581 SUB(TE_TAREXPLOSION) {
584 MY(countabsolute) = 1;
585 MY(lightcolor) = '1.6 0.8 2.0';
586 MY(lightradiusfade) = 1200;
587 MY(lightradius) = 600;
588 MY(originjitter) = '40.0 40.0 40.0';
596 SUB(TE_TAREXPLOSION) {
600 MY(color_min) = "0x202020";
601 MY(color_max) = "0x404040";
603 MY(notunderwater) = true;
608 MY(velocityjitter) = '48.0 48.0 48.0';
610 // underwater bubbles
611 SUB(TE_TAREXPLOSION) {
615 MY(bounce) = 1.500000;
616 MY(color_min) = "0x404040";
617 MY(color_max) = "0x808080";
619 MY(gravity) = -0.125000;
620 MY(liquidfriction) = 0.250000;
621 MY(originjitter) = '16.0 16.0 16.0';
627 MY(underwater) = true;
628 MY(velocityjitter) = '96.0 96.0 96.0';
630 // sparks which go through walls
631 SUB(TE_TAREXPLOSION) {
632 MY(airfriction) = 0.200000;
634 MY(alpha_fade) = 512;
635 MY(color_min) = "0x903010";
636 MY(color_max) = "0xFFD030";
639 MY(liquidfriction) = 0.800000;
640 MY(notunderwater) = true;
644 MY(velocityjitter) = '256.0 256.0 256.0';
645 MY(velocityoffset) = '0.0 0.0 80.0';
648 // bloody impact effect indicating damage
656 MY(count) = 0.167000;
657 MY(liquidfriction) = 4;
660 MY(staincolor_min) = "0x808080";
661 MY(staincolor_max) = "0x808080";
662 MY(staintex_min) = 16;
663 MY(staintex_max) = 24;
667 MY(velocityjitter) = '64.0 64.0 64.0';
668 MY(velocitymultiplier) = 1;
671 // sparks (quake effect)
676 MY(alpha_fade) = 768;
678 MY(color_min) = "0x8f4333";
679 MY(color_max) = "0xfff31b";
680 MY(count) = 0.500000;
682 MY(size_min) = 0.400000;
683 MY(size_max) = 0.600000;
687 MY(velocityjitter) = '64.0 64.0 64.0';
688 MY(velocitymultiplier) = 1;
689 MY(velocityoffset) = '0.0 0.0 80.0';
698 MY(countabsolute) = 1;
699 MY(lightcolor) = '1.0 1.0 1.0';
700 MY(lightradiusfade) = 400;
701 MY(lightradius) = 200;
702 MY(originjitter) = '16.0 16.0 16.0';
713 MY(alpha_fade) = 512;
714 MY(color_min) = "0x80C0FF";
715 MY(color_max) = "0x80C0FF";
716 MY(countabsolute) = 1;
723 // small sparks which form a sphere as they slow down
728 MY(alpha_fade) = 1024;
730 MY(color_min) = "0x2030FF";
731 MY(color_max) = "0x80C0FF";
733 MY(liquidfriction) = 8;
737 MY(velocityjitter) = '128.0 128.0 128.0';
743 MY(lightcolor) = '2.0 2.0 2.0';
744 MY(lightradiusfade) = 1000;
745 MY(lightradius) = 200;
754 MY(alpha_fade) = 384;
755 MY(bounce) = 1.100000;
756 MY(color_min) = "0x6f0f00";
757 MY(color_max) = "0xe3974f";
758 MY(count) = 0.500000;
760 MY(liquidfriction) = 4;
764 MY(velocityjitter) = '128.0 128.0 128.0';
765 MY(velocitymultiplier) = 1;
773 MY(alpha_fade) = 256;
774 MY(color_min) = "0x6f0f00";
775 MY(color_max) = "0xe3974f";
777 MY(gravity) = 0.050000;
778 MY(originjitter) = '128.0 128.0 32.0';
779 MY(originoffset) = '0.0 0.0 32.0';
782 MY(type) = "alphastatic";
783 MY(velocityjitter) = '128.0 128.0 0.0';
784 MY(velocityoffset) = '0.0 0.0 256.0';
787 // player teleport effect
793 MY(alpha_fade) = 256;
794 MY(color_min) = "0xA0A0A0";
795 MY(color_max) = "0xFFFFFF";
797 MY(liquidfriction) = 4;
798 MY(originjitter) = '16.0 16.0 28.0';
799 MY(originoffset) = '0.0 0.0 28.0';
803 MY(velocityjitter) = '0.0 0.0 256.0';
811 MY(alpha_fade) = 256;
812 MY(color_min) = "0xFFFFFF";
813 MY(color_max) = "0xFFFFFF";
814 MY(countabsolute) = 1;
822 MY(airfriction) = -4;
825 MY(alpha_fade) = 512;
826 MY(color_min) = "0x202020";
827 MY(color_max) = "0x404040";
830 MY(trailspacing) = 4;
832 MY(velocityjitter) = '8.0 8.0 8.0';
840 MY(alpha_fade) = 512;
841 MY(color_min) = "0x202020";
842 MY(color_max) = "0x404040";
843 MY(count) = 0.167000;
844 MY(originjitter) = '1.5 1.5 1.5';
849 MY(velocityjitter) = '6.0 6.0 6.0';
850 MY(velocitymultiplier) = 1;
853 // rocket explosion (bigger than mortar and hagar)
854 DEF(TE_TEI_BIGEXPLOSION);
856 SUB(TE_TEI_BIGEXPLOSION) {
859 MY(countabsolute) = 1;
860 MY(lightcolor) = '4.0 2.0 0.5';
861 MY(lightradiusfade) = 500;
862 MY(lightradius) = 500;
863 MY(originjitter) = '40.0 40.0 40.0';
871 SUB(TE_TEI_BIGEXPLOSION) {
875 MY(color_min) = "0x404040";
876 MY(color_max) = "0x404040";
877 MY(countabsolute) = 1;
885 SUB(TE_TEI_BIGEXPLOSION) {
889 MY(alpha_fade) = 256;
890 MY(bounce) = 1.500000;
891 MY(color_min) = "0x902010";
892 MY(color_max) = "0xFFD080";
894 MY(liquidfriction) = 4;
895 MY(notunderwater) = true;
896 MY(originjitter) = '8.0 8.0 8.0';
902 MY(velocityjitter) = '512.0 512.0 512.0';
904 // underwater bubbles
905 SUB(TE_TEI_BIGEXPLOSION) {
909 MY(bounce) = 1.500000;
910 MY(color_min) = "0x404040";
911 MY(color_max) = "0x808080";
913 MY(gravity) = -0.125000;
914 MY(liquidfriction) = 0.250000;
915 MY(originjitter) = '16.0 16.0 16.0';
921 MY(underwater) = true;
922 MY(velocityjitter) = '144.0 144.0 144.0';
925 SUB(TE_TEI_BIGEXPLOSION) {
926 MY(airfriction) = 0.200000;
929 MY(alpha_fade) = 384;
930 MY(bounce) = 1.500000;
931 MY(color_min) = "0x903010";
932 MY(color_max) = "0xFFD030";
935 MY(liquidfriction) = 0.800000;
936 MY(notunderwater) = true;
940 MY(velocityjitter) = '384.0 384.0 384.0';
941 MY(velocityoffset) = '0.0 0.0 80.0';
945 DEF(TE_TEI_PLASMAHIT);
947 SUB(TE_TEI_PLASMAHIT) {
950 MY(countabsolute) = 1;
951 MY(lightcolor) = '2.4 4.8 8.0';
952 MY(lightradiusfade) = 600;
953 MY(lightradius) = 200;
954 MY(originjitter) = '20.0 20.0 20.0';
962 SUB(TE_TEI_PLASMAHIT) {
965 MY(alpha_fade) = 512;
966 MY(color_min) = "0x80C0FF";
967 MY(color_max) = "0x80C0FF";
968 MY(countabsolute) = 1;
975 // cloud of bouncing sparks
976 SUB(TE_TEI_PLASMAHIT) {
979 MY(alpha_fade) = 1024;
980 MY(bounce) = 1.500000;
981 MY(color_min) = "0x2030FF";
982 MY(color_max) = "0x80C0FF";
983 MY(count) = 0.500000;
987 MY(velocityjitter) = '512.0 512.0 512.0';
990 // bloody impact effect indicating damage
993 MY(airfriction) = 0.400000;
994 MY(alpha_min) = 1560;
995 MY(alpha_max) = 2560;
996 MY(alpha_fade) = 7000;
997 MY(blend) = "invmod";
999 MY(color_min) = "0xA8FFFF";
1000 MY(color_max) = "0xA8FFFFF";
1001 MY(count) = 0.400000;
1002 MY(sizeincrease) = 20;
1005 MY(staincolor_min) = "0x808080";
1006 MY(staincolor_max) = "0x808080";
1007 MY(stainsize_min) = 1;
1008 MY(stainsize_max) = 2;
1009 MY(staintex_min) = 16;
1010 MY(staintex_max) = 24;
1011 MY(stretchfactor) = 20;
1015 MY(velocityjitter) = '99.0 99.0 55.0';
1019 MY(alpha_min) = 100;
1020 MY(alpha_max) = 256;
1021 MY(alpha_fade) = 400;
1022 MY(blend) = "invmod";
1023 MY(color_min) = "0x000000";
1024 MY(color_max) = "0x420000";
1025 MY(countabsolute) = 1;
1026 MY(originjitter) = '11.0 11.0 11.0';
1027 MY(sizeincrease) = 20;
1032 MY(type) = "alphastatic";
1035 // player teleport effect
1038 MY(airfriction) = 2;
1039 MY(alpha_max) = 256;
1040 MY(alpha_fade) = 100;
1041 MY(bounce) = 1.500000;
1042 MY(color_min) = "0x807aff";
1043 MY(color_max) = "0x4463d5";
1045 MY(originjitter) = '1.0 1.0 1.0';
1048 MY(stretchfactor) = 0.600000;
1052 MY(velocityjitter) = '1000.0 1000.0 1500.0';
1053 MY(velocitymultiplier) = 0.500000;
1056 MY(alpha_min) = 190;
1057 MY(alpha_max) = 190;
1058 MY(alpha_fade) = 180;
1059 MY(color_min) = "0x807aff";
1060 MY(color_max) = "0x4463d5";
1061 MY(countabsolute) = 1;
1062 MY(sizeincrease) = -80;
1070 // normal super gory blood trail (used by gibs)
1073 MY(airfriction) = -2;
1074 MY(alpha_min) = 384;
1075 MY(alpha_max) = 984;
1076 MY(alpha_fade) = 1492;
1077 MY(blend) = "invmod";
1079 MY(color_min) = "0xA8FFFF";
1080 MY(color_max) = "0xA8FFFF";
1081 MY(gravity) = 0.400000;
1082 MY(liquidfriction) = 1;
1083 MY(sizeincrease) = -5;
1086 MY(staincolor_min) = "0x808080";
1087 MY(staincolor_max) = "0x808080";
1088 MY(stainsize_min) = 1;
1089 MY(stainsize_max) = 2;
1090 MY(staintex_min) = 16;
1091 MY(staintex_max) = 24;
1092 MY(stretchfactor) = 7;
1095 MY(trailspacing) = 20;
1097 MY(velocityjitter) = '64.0 64.0 64.0';
1098 MY(velocitymultiplier) = -0.100000;
1100 // splash around gib
1102 MY(alpha_min) = 684;
1103 MY(alpha_max) = 684;
1104 MY(alpha_fade) = 7492;
1105 MY(color_min) = "0xA8FFFF";
1106 MY(color_max) = "0xA8FFFF";
1107 MY(sizeincrease) = 500;
1112 MY(trailspacing) = 42;
1116 // thinner blood trail (used by quake zombies)
1117 DEF(TR_SLIGHTBLOOD);
1118 SUB(TR_SLIGHTBLOOD) {
1119 MY(airfriction) = 1;
1120 MY(alpha_min) = 384;
1121 MY(alpha_max) = 384;
1122 MY(alpha_fade) = 192;
1124 MY(color_min) = "0xA8FFFF";
1125 MY(color_max) = "0xA8FFFF";
1126 MY(liquidfriction) = 4;
1129 MY(staincolor_min) = "0x808080";
1130 MY(staincolor_max) = "0x808080";
1131 MY(staintex_min) = 16;
1132 MY(staintex_max) = 24;
1135 MY(trailspacing) = 64;
1137 MY(velocityjitter) = '64.0 64.0 64.0';
1138 MY(velocitymultiplier) = 0.500000;
1141 // func_stardust effect, used in some maps to indicate teleporters
1144 MY(airfriction) = 0.200000;
1146 MY(alpha_max) = 128;
1147 MY(alpha_fade) = 128;
1148 MY(color_min) = "0xfff368";
1149 MY(color_max) = "0xfff368";
1150 MY(count) = 37.500000;
1151 MY(gravity) = -0.100000;
1152 MY(liquidfriction) = 0.800000;
1153 MY(originjitter) = '16.0 16.0 64.0';
1156 MY(type) = "static";
1157 MY(velocityjitter) = '32.0 32.0 0.0';
1160 // flare particle and light
1163 MY(alpha_min) = 128;
1164 MY(alpha_max) = 128;
1165 MY(alpha_fade) = 128;
1166 MY(color_min) = "0x63F2EA";
1167 MY(color_max) = "0x63f2EA";
1168 MY(countabsolute) = 1;
1171 MY(type) = "static";
1173 // cloud of particles which expand rapidly and then slow to form a ball
1175 MY(alpha_min) = 256;
1176 MY(alpha_max) = 256;
1177 MY(alpha_fade) = 1280;
1178 MY(color_min) = "0x63F2EA";
1179 MY(color_max) = "0x63f2EA";
1186 MY(velocityjitter) = '256.0 256.0 256.0';
1189 DEF(jumppad_activate);
1190 SUB(jumppad_activate) {
1191 MY(lightcolor) = '2.0 2.0 2.0';
1192 MY(lightradiusfade) = 2000;
1193 MY(lightradius) = 200;
1196 DEF(laser_muzzleflash);
1198 SUB(laser_muzzleflash) {
1199 MY(airfriction) = 10;
1200 MY(alpha_min) = 256;
1201 MY(alpha_max) = 512;
1202 MY(alpha_fade) = 6280;
1203 MY(color_min) = "0xcc0000";
1204 MY(color_max) = "0xff0000";
1205 MY(countabsolute) = 1;
1206 MY(lightcolor) = '3.0 0.1 0.1';
1207 MY(lightradiusfade) = 2000;
1208 MY(lightradius) = 200;
1209 MY(sizeincrease) = -100;
1212 MY(stretchfactor) = 2;
1218 SUB(laser_muzzleflash) {
1219 MY(airfriction) = 10;
1220 MY(alpha_min) = 256;
1221 MY(alpha_max) = 512;
1222 MY(alpha_fade) = 6280;
1223 MY(color_min) = "0xb44215";
1224 MY(color_max) = "0xff0000";
1226 MY(originjitter) = '2.0 2.0 2.0';
1227 MY(startangle_min) = -180;
1228 MY(startangle_max) = 180;
1229 MY(spin_min) = 4000;
1230 MY(spin_max) = -4000;
1231 MY(sizeincrease) = -100;
1234 MY(stretchfactor) = 2.300000;
1238 MY(velocityjitter) = '150.0 150.0 150.0';
1239 MY(velocitymultiplier) = 0.200000;
1242 SUB(laser_muzzleflash) {
1243 MY(airfriction) = 12;
1244 MY(alpha_min) = 256;
1245 MY(alpha_max) = 512;
1246 MY(alpha_fade) = 6280;
1247 MY(color_min) = "0xff4200";
1248 MY(color_max) = "0xff0000";
1250 MY(originjitter) = '2.0 2.0 2.0';
1251 MY(sizeincrease) = -100;
1254 MY(stretchfactor) = 2;
1258 MY(velocityjitter) = '100.0 100.0 100.0';
1259 MY(velocitymultiplier) = 0.200000;
1265 MY(alpha_min) = 256;
1266 MY(alpha_max) = 256;
1267 MY(countabsolute) = 1;
1268 MY(lightcolor) = '8.0 0.4 0.4';
1269 MY(lightradiusfade) = 500;
1270 MY(lightradius) = 200;
1271 MY(originjitter) = '14.0 14.0 14.0';
1280 MY(alpha_min) = 256;
1281 MY(alpha_max) = 256;
1282 MY(alpha_fade) = 1024;
1283 MY(color_min) = "0xFF2010";
1284 MY(color_max) = "0xFF2010";
1285 MY(countabsolute) = 1;
1290 MY(type) = "static";
1292 // sparks that rapidly expand and rapidly slow down to form an interesting spherical effect
1294 MY(airfriction) = 6;
1295 MY(alpha_min) = 256;
1296 MY(alpha_max) = 256;
1297 MY(alpha_fade) = 1024;
1298 MY(color_min) = "0x800000";
1299 MY(color_max) = "0xFF8020";
1301 MY(liquidfriction) = 6;
1305 MY(velocityjitter) = '256.0 256.0 256.0';
1308 MY(alpha_min) = 128;
1309 MY(alpha_max) = 256;
1310 MY(alpha_fade) = 256;
1311 MY(color_min) = "0x800000";
1312 MY(color_max) = "0xFF8020";
1314 MY(originjitter) = '1.0 1.0 1.0';
1315 MY(sizeincrease) = 6;
1321 MY(velocityjitter) = '16.0 16.0 16.0';
1322 MY(velocitymultiplier) = 0.010000;
1325 DEF(shotgun_muzzleflash);
1326 SUB(shotgun_muzzleflash) {
1327 MY(alpha_min) = 256;
1328 MY(alpha_max) = 256;
1329 MY(alpha_fade) = 512;
1330 MY(color_min) = "0x202020";
1331 MY(color_max) = "0x404040";
1332 MY(count) = 1.500000;
1333 MY(lightcolor) = '2.0 1.5 0.2';
1334 MY(lightradiusfade) = 2000;
1335 MY(lightradius) = 200;
1336 MY(originjitter) = '1.5 1.5 1.5';
1337 MY(sizeincrease) = 12;
1342 MY(velocityjitter) = '6.0 6.0 6.0';
1343 MY(velocitymultiplier) = 0.050000;
1345 SUB(shotgun_muzzleflash) {
1346 MY(airfriction) = 5;
1347 MY(alpha_max) = 128;
1348 MY(alpha_fade) = 1024;
1349 MY(color_min) = "0xffdb96";
1350 MY(color_max) = "0xff5400";
1352 MY(originjitter) = '1.0 1.0 1.0';
1355 MY(stretchfactor) = 2.500000;
1359 MY(velocityjitter) = '100.0 100.0 100.0';
1360 MY(velocitymultiplier) = 0.500000;
1363 // shotgun pellet impact
1364 DEF(shotgun_impact);
1366 SUB(shotgun_impact) {
1367 MY(alpha_min) = 256;
1368 MY(alpha_max) = 256;
1369 MY(countabsolute) = 1;
1370 MY(originjitter) = '10.0 10.0 10.0';
1377 // dust/smoke drifting away from the impact
1378 SUB(shotgun_impact) {
1379 MY(airfriction) = 5;
1380 MY(alpha_min) = 300;
1381 MY(alpha_max) = 550;
1382 MY(alpha_fade) = 756;
1383 MY(color_min) = "0x473a37";
1384 MY(color_max) = "0x0b0a07";
1386 MY(notunderwater) = true;
1387 MY(startangle_max) = 360;
1390 MY(sizeincrease) = 25;
1394 MY(type) = "alphastatic";
1395 MY(velocityjitter) = '150.0 150.0 150.0';
1396 MY(velocitymultiplier) = 0.200000;
1398 // dust/smoke staying at the impact
1399 SUB(shotgun_impact) {
1400 MY(airfriction) = 5;
1401 MY(alpha_min) = 200;
1402 MY(alpha_max) = 350;
1403 MY(alpha_fade) = 500;
1405 MY(color_min) = "0x201d1a";
1406 MY(color_max) = "0x000000";
1407 MY(count) = 0.200000;
1408 MY(notunderwater) = true;
1409 MY(startangle_max) = 360;
1412 MY(sizeincrease) = 74;
1417 MY(type) = "alphastatic";
1418 MY(velocityjitter) = '11.0 11.0 11.0';
1419 MY(velocitymultiplier) = 0.030000;
1422 SUB(shotgun_impact) {
1423 MY(airfriction) = 1.100000;
1424 MY(alpha_max) = 356;
1425 MY(alpha_fade) = 268;
1426 MY(bounce) = 1.500000;
1427 MY(color_min) = "0xFDFFD9";
1428 MY(color_max) = "0xFDFFD9";
1429 MY(count) = 0.500000;
1431 MY(notunderwater) = true;
1432 MY(originjitter) = '1.0 1.0 1.0';
1433 MY(size_min) = 0.600000;
1434 MY(size_max) = 0.600000;
1438 MY(velocityjitter) = '200.0 200.0 200.0';
1439 MY(velocitymultiplier) = 0.200000;
1442 DEF(uzi_muzzleflash);
1443 SUB(uzi_muzzleflash) {
1444 MY(alpha_min) = 256;
1445 MY(alpha_max) = 256;
1446 MY(alpha_fade) = 512;
1447 MY(color_min) = "0x202020";
1448 MY(color_max) = "0x404040";
1450 MY(gravity) = -0.100000;
1451 MY(lightcolor) = '2.0 1.5 0.2';
1452 MY(lightradiusfade) = 2000;
1453 MY(lightradius) = 200;
1454 MY(originjitter) = '1.5 1.5 1.5';
1458 MY(type) = "static";
1459 MY(velocityjitter) = '1.0 1.0 1.0';
1460 MY(velocitymultiplier) = 0.030000;
1462 SUB(uzi_muzzleflash) {
1463 MY(airfriction) = 12;
1464 MY(alpha_max) = 256;
1465 MY(alpha_fade) = 6000;
1466 MY(color_min) = "0xff9c00";
1467 MY(color_max) = "0xffd200";
1469 MY(originjitter) = '1.0 1.0 1.0';
1470 MY(size_min) = 0.300000;
1471 MY(size_max) = 0.400000;
1472 MY(stretchfactor) = 0.150000;
1476 MY(velocityjitter) = '555.0 555.0 555.0';
1477 MY(velocitymultiplier) = 3;
1480 DEF(machinegun_impact);
1482 SUB(machinegun_impact) {
1483 MY(alpha_min) = 256;
1484 MY(alpha_max) = 256;
1485 MY(countabsolute) = 1;
1486 MY(lightcolor) = '6.0 3.6 0.6';
1487 MY(lightradiusfade) = 800;
1488 MY(lightradius) = 80;
1489 MY(originjitter) = '10.0 10.0 10.0';
1496 // dust/smoke drifting away from the impact
1497 SUB(machinegun_impact) {
1498 MY(airfriction) = 5;
1499 MY(alpha_min) = 300;
1500 MY(alpha_max) = 550;
1501 MY(alpha_fade) = 456;
1502 MY(color_min) = "0x473a37";
1503 MY(color_max) = "0x0b0a07";
1504 MY(count) = 1.500000;
1505 MY(notunderwater) = true;
1506 MY(startangle_max) = 360;
1509 MY(sizeincrease) = 15;
1513 MY(type) = "alphastatic";
1514 MY(velocityjitter) = '150.0 150.0 150.0';
1515 MY(velocitymultiplier) = 0.100000;
1517 // dust/smoke staying at the impact
1518 SUB(machinegun_impact) {
1519 MY(airfriction) = 5;
1520 MY(alpha_min) = 200;
1521 MY(alpha_max) = 350;
1522 MY(alpha_fade) = 500;
1524 MY(color_min) = "0x201d1a";
1525 MY(color_max) = "0x000000";
1526 MY(count) = 0.500000;
1527 MY(notunderwater) = true;
1528 MY(startangle_max) = 360;
1531 MY(sizeincrease) = 74;
1536 MY(type) = "alphastatic";
1537 MY(velocityjitter) = '11.0 11.0 11.0';
1538 MY(velocitymultiplier) = 0.030000;
1541 SUB(machinegun_impact) {
1542 MY(airfriction) = 1;
1543 MY(alpha_min) = 300;
1544 MY(alpha_max) = 550;
1545 MY(alpha_fade) = 256;
1546 MY(bounce) = 1.700000;
1547 MY(color_min) = "0x63493e";
1548 MY(color_max) = "0xffffff";
1550 MY(gravity) = 1.400000;
1551 MY(notunderwater) = true;
1552 MY(startangle_max) = 360;
1553 MY(spin_min) = -500;
1559 MY(type) = "alphastatic";
1560 MY(velocityjitter) = '350.0 350.0 350.0';
1561 MY(velocitymultiplier) = 0.200000;
1564 SUB(machinegun_impact) {
1565 MY(airfriction) = 2;
1566 MY(alpha_min) = 256;
1567 MY(alpha_max) = 256;
1568 MY(alpha_fade) = 168;
1570 MY(color_min) = "0xFDFFD9";
1571 MY(color_max) = "0xFDFFD9";
1574 MY(notunderwater) = true;
1575 MY(originjitter) = '1.0 1.0 1.0';
1576 MY(size_min) = 0.300000;
1577 MY(size_max) = 0.300000;
1581 MY(velocityjitter) = '300.0 300.0 300.0';
1582 MY(velocitymultiplier) = 0.200000;
1585 DEF(grenadelauncher_muzzleflash);
1586 SUB(grenadelauncher_muzzleflash) {
1587 MY(airfriction) = 12;
1588 MY(alpha_min) = 256;
1589 MY(alpha_max) = 256;
1590 MY(alpha_fade) = 512;
1591 MY(color_min) = "0x202020";
1592 MY(color_max) = "0x404040";
1593 MY(count) = 1.500000;
1594 MY(lightcolor) = '2.0 1.5 0.2';
1595 MY(lightradiusfade) = 2000;
1596 MY(lightradius) = 200;
1597 MY(originjitter) = '1.5 1.5 1.5';
1602 MY(velocityjitter) = '20.0 20.0 20.0';
1603 MY(velocitymultiplier) = 0.030000;
1605 SUB(grenadelauncher_muzzleflash) {
1606 MY(airfriction) = 5;
1607 MY(alpha_max) = 128;
1608 MY(alpha_fade) = 1024;
1609 MY(color_min) = "0xffdb96";
1610 MY(color_max) = "0xff5400";
1612 MY(originjitter) = '1.0 1.0 1.0';
1615 MY(stretchfactor) = 2.500000;
1619 MY(velocityjitter) = '100.0 100.0 100.0';
1620 MY(velocitymultiplier) = 0.500000;
1627 MY(alpha_min) = 300;
1628 MY(alpha_max) = 400;
1629 MY(alpha_fade) = 780;
1631 MY(color_min) = "0x101010";
1632 MY(color_max) = "0x000000";
1633 MY(originjitter) = '1.0 1.0 1.0';
1634 MY(sizeincrease) = 10;
1638 MY(trailspacing) = 4;
1640 MY(velocityjitter) = '1.0 1.0 1.0';
1641 MY(velocitymultiplier) = -0.020000;
1645 MY(airfriction) = 8;
1646 MY(alpha_min) = 100;
1647 MY(alpha_max) = 144;
1648 MY(alpha_fade) = 988;
1649 MY(color_min) = "0xffdf72";
1650 MY(color_max) = "0x811200";
1651 MY(notunderwater) = true;
1652 MY(sizeincrease) = -15;
1657 MY(trailspacing) = 4;
1658 MY(type) = "static";
1659 MY(velocityjitter) = '32.0 32.0 32.0';
1660 MY(velocitymultiplier) = -1;
1664 MY(alpha_min) = 256;
1665 MY(alpha_max) = 256;
1666 MY(alpha_fade) = 256;
1667 MY(bounce) = 1.500000;
1668 MY(color_min) = "0x404040";
1669 MY(color_max) = "0x808080";
1670 MY(gravity) = -0.125000;
1671 MY(liquidfriction) = 4;
1676 MY(trailspacing) = 16;
1677 MY(type) = "bubble";
1678 MY(underwater) = true;
1679 MY(velocityjitter) = '16.0 16.0 16.0';
1683 DEF(TR_KNIGHTSPIKE);
1685 SUB(TR_KNIGHTSPIKE) {
1686 MY(alpha_min) = 300;
1687 MY(alpha_max) = 400;
1688 MY(alpha_fade) = 600;
1690 MY(color_min) = "0x303030";
1691 MY(color_max) = "0x000000";
1692 MY(gravity) = -0.110000;
1693 MY(notunderwater) = true;
1694 MY(originjitter) = '2.0 2.0 2.0';
1695 MY(sizeincrease) = 11;
1699 MY(trailspacing) = 6;
1701 MY(velocityjitter) = '3.0 3.0 3.0';
1702 MY(velocitymultiplier) = -0.020000;
1705 SUB(TR_KNIGHTSPIKE) {
1706 MY(alpha_min) = 256;
1707 MY(alpha_max) = 256;
1708 MY(alpha_fade) = 720;
1709 MY(color_min) = "0x666666";
1710 MY(color_max) = "0x000000";
1711 MY(sizeincrease) = -0.100000;
1716 MY(trailspacing) = 2;
1717 MY(type) = "alphastatic";
1720 SUB(TR_KNIGHTSPIKE) {
1721 MY(alpha_min) = 256;
1722 MY(alpha_max) = 256;
1723 MY(alpha_fade) = 256;
1724 MY(bounce) = 1.500000;
1725 MY(color_min) = "0x404040";
1726 MY(color_max) = "0x808080";
1727 MY(gravity) = -0.125000;
1728 MY(liquidfriction) = 4;
1733 MY(trailspacing) = 32;
1734 MY(type) = "bubble";
1735 MY(underwater) = true;
1736 MY(velocityjitter) = '16.0 16.0 16.0';
1739 DEF(grenade_explode);
1741 SUB(grenade_explode) {
1742 MY(alpha_min) = 256;
1743 MY(alpha_max) = 256;
1744 MY(countabsolute) = 1;
1745 MY(lightcolor) = '8.0 4.0 1.0';
1746 MY(lightradiusfade) = 400;
1747 MY(lightradius) = 250;
1748 MY(originjitter) = '26.0 26.0 26.0';
1755 // fire effect which expands then slows
1756 SUB(grenade_explode) {
1757 MY(airfriction) = 8;
1758 MY(alpha_min) = 128;
1759 MY(alpha_max) = 228;
1760 MY(alpha_fade) = 356;
1761 MY(bounce) = 4.500000;
1762 MY(color_min) = "0xe03f00";
1763 MY(color_max) = "0x5e0000";
1765 MY(liquidfriction) = 8;
1766 MY(notunderwater) = true;
1767 MY(originjitter) = '8.0 8.0 8.0';
1768 MY(sizeincrease) = 20;
1773 MY(type) = "static";
1774 MY(velocityjitter) = '256.0 256.0 256.0';
1776 // fire effect which make bright dot inside
1777 SUB(grenade_explode) {
1778 MY(airfriction) = 8;
1779 MY(alpha_min) = 228;
1780 MY(alpha_max) = 328;
1781 MY(alpha_fade) = 756;
1783 MY(color_min) = "0xe03f00";
1784 MY(color_max) = "0xffdf92";
1786 MY(liquidfriction) = 8;
1787 MY(notunderwater) = true;
1788 MY(originjitter) = '8.0 8.0 8.0';
1789 MY(sizeincrease) = 40;
1794 MY(type) = "static";
1795 MY(velocityjitter) = '256.0 256.0 256.0';
1798 SUB(grenade_explode) {
1799 MY(airfriction) = 5;
1800 MY(alpha_min) = 300;
1801 MY(alpha_max) = 550;
1802 MY(alpha_fade) = 556;
1804 MY(color_min) = "0x000000";
1805 MY(color_max) = "0x111111";
1807 MY(notunderwater) = true;
1808 MY(sizeincrease) = 34;
1812 MY(type) = "alphastatic";
1813 MY(velocityjitter) = '256.0 256.0 256.0';
1815 // underwater bubbles
1816 SUB(grenade_explode) {
1817 MY(alpha_min) = 128;
1818 MY(alpha_max) = 256;
1819 MY(alpha_fade) = 64;
1820 MY(bounce) = 1.500000;
1821 MY(color_min) = "0x404040";
1822 MY(color_max) = "0x808080";
1824 MY(gravity) = -0.125000;
1825 MY(liquidfriction) = 0.250000;
1826 MY(originjitter) = '16.0 16.0 16.0';
1831 MY(type) = "bubble";
1832 MY(underwater) = true;
1833 MY(velocityjitter) = '196.0 196.0 196.0';
1835 // underwatershockwave
1836 SUB(grenade_explode) {
1839 MY(alpha_fade) = 300;
1840 MY(countabsolute) = 1;
1841 MY(sizeincrease) = 1500;
1847 MY(underwater) = true;
1848 MY(velocitymultiplier) = 0.300000;
1851 SUB(grenade_explode) {
1852 MY(airfriction) = 1;
1853 MY(alpha_min) = 644;
1854 MY(alpha_max) = 956;
1855 MY(alpha_fade) = 484;
1856 MY(bounce) = 1.600000;
1857 MY(color_min) = "0xffa35b";
1858 MY(color_max) = "0xfff2be";
1861 MY(liquidfriction) = 0.800000;
1862 MY(notunderwater) = true;
1863 MY(originjitter) = '16.0 16.0 16.0';
1865 MY(size_max) = 0.100000;
1869 MY(velocityjitter) = '424.0 424.0 624.0';
1870 MY(velocityoffset) = '0.0 0.0 80.0';
1873 SUB(grenade_explode) {
1874 MY(airfriction) = 0.500000;
1875 MY(alpha_min) = 644;
1876 MY(alpha_max) = 956;
1877 MY(alpha_fade) = 684;
1878 MY(bounce) = 1.600000;
1879 MY(color_min) = "0x6a3d25";
1880 MY(color_max) = "0xcac5b4";
1882 MY(gravity) = 1.300000;
1883 MY(notunderwater) = true;
1884 MY(startangle_min) = -180;
1885 MY(startangle_max) = 180;
1886 MY(spin_min) = -1000;
1887 MY(spin_max) = 1000;
1892 MY(type) = "alphastatic";
1893 MY(velocityjitter) = '324.0 324.0 524.0';
1896 DEF(electro_muzzleflash);
1897 SUB(electro_muzzleflash) {
1898 MY(alpha_min) = 256;
1899 MY(alpha_max) = 256;
1900 MY(alpha_fade) = 512;
1901 MY(color_min) = "0x283880";
1902 MY(color_max) = "0x283880";
1903 MY(countabsolute) = 1;
1904 MY(lightcolor) = '1.5 3.0 6.0';
1905 MY(lightradiusfade) = 2000;
1906 MY(lightradius) = 200;
1907 MY(originjitter) = '1.5 1.5 1.5';
1908 MY(sizeincrease) = -10;
1914 MY(velocityjitter) = '6.0 6.0 6.0';
1915 MY(velocitymultiplier) = 0.010000;
1917 SUB(electro_muzzleflash) {
1918 MY(airfriction) = 2;
1919 MY(alpha_min) = 110;
1920 MY(alpha_max) = 228;
1921 MY(alpha_fade) = 2024;
1922 MY(color_min) = "0xD9FDFF";
1923 MY(color_max) = "0xD9FDFF";
1925 MY(originjitter) = '1.0 1.0 1.0';
1928 MY(stretchfactor) = 1.500000;
1932 MY(velocityjitter) = '150.0 150.0 150.0';
1933 MY(velocitymultiplier) = 0.500000;
1935 SUB(electro_muzzleflash) {
1936 MY(airfriction) = 8;
1937 MY(alpha_min) = 110;
1938 MY(alpha_max) = 228;
1939 MY(alpha_fade) = 1024;
1940 MY(color_min) = "0xD9FDFF";
1941 MY(color_max) = "0xD9FDFF";
1943 MY(gravity) = 1.300000;
1944 MY(originjitter) = '1.0 1.0 1.0';
1947 MY(stretchfactor) = 0.100000;
1951 MY(velocityjitter) = '350.0 350.0 350.0';
1952 MY(velocitymultiplier) = 2.500000;
1956 DEF(TR_NEXUIZPLASMA);
1957 // glowing vapor trail
1958 SUB(TR_NEXUIZPLASMA) {
1959 MY(alpha_min) = 256;
1960 MY(alpha_max) = 256;
1961 MY(alpha_fade) = 968;
1962 MY(color_min) = "0x283880";
1963 MY(color_max) = "0x283880";
1964 MY(lightcolor) = '1.5 3.0 6.0';
1965 MY(lightradius) = 90;
1970 MY(trailspacing) = 2;
1971 MY(type) = "static";
1972 MY(velocitymultiplier) = -0.100000;
1975 SUB(TR_NEXUIZPLASMA) {
1976 MY(airfriction) = 12;
1977 MY(alpha_min) = 444;
1978 MY(alpha_max) = 512;
1979 MY(alpha_fade) = 1866;
1981 MY(color_min) = "0x629dff";
1982 MY(color_max) = "0x0018ff";
1983 MY(count) = 1.500000;
1984 MY(originjitter) = '1.0 1.0 1.0';
1985 MY(sizeincrease) = -20;
1990 MY(trailspacing) = 12;
1992 MY(velocityjitter) = '50.0 50.0 50.0';
1993 MY(velocityoffset) = '0.0 0.0 15.0';
1996 DEF(electro_impact);
1998 SUB(electro_impact) {
1999 MY(alpha_min) = 256;
2000 MY(alpha_max) = 256;
2001 MY(countabsolute) = 1;
2002 MY(lightcolor) = '3.1 4.4 10.0';
2003 MY(lightradiusfade) = 250;
2004 MY(lightradius) = 250;
2005 MY(originjitter) = '17.0 17.0 17.0';
2013 SUB(electro_impact) {
2016 MY(alpha_fade) = 350;
2017 MY(color_min) = "0x80C0FF";
2018 MY(color_max) = "0x80C0FF";
2019 MY(countabsolute) = 1;
2020 MY(sizeincrease) = 1000;
2026 MY(velocitymultiplier) = 44;
2029 SUB(electro_impact) {
2030 MY(alpha_min) = 256;
2031 MY(alpha_max) = 256;
2032 MY(alpha_fade) = 512;
2033 MY(color_min) = "0x80C0FF";
2034 MY(color_max) = "0x80C0FF";
2035 MY(countabsolute) = 1;
2040 MY(type) = "static";
2042 // cloud of bouncing sparks
2043 SUB(electro_impact) {
2044 MY(airfriction) = 6;
2045 MY(alpha_min) = 256;
2046 MY(alpha_max) = 256;
2047 MY(alpha_fade) = 1024;
2049 MY(color_min) = "0x629dff";
2050 MY(color_max) = "0x0018ff";
2052 MY(gravity) = -0.300000;
2053 MY(originjitter) = '1.0 1.0 1.0';
2054 MY(startangle_min) = -180;
2055 MY(startangle_max) = 180;
2056 MY(spin_min) = -9999;
2057 MY(spin_max) = 9999;
2058 MY(sizeincrease) = -50;
2064 MY(velocityjitter) = '512.0 512.0 512.0';
2066 // inner cloud of smoke
2067 SUB(electro_impact) {
2068 MY(airfriction) = 30;
2069 MY(alpha_min) = 200;
2070 MY(alpha_max) = 256;
2071 MY(alpha_fade) = 512;
2072 MY(color_min) = "0x629dff";
2073 MY(color_max) = "0x0018ff";
2075 MY(originjitter) = '20.0 20.0 20.0';
2076 MY(sizeincrease) = 50;
2081 MY(velocityjitter) = '320.0 320.0 320.0';
2084 DEF(electro_ballexplode);
2086 SUB(electro_ballexplode) {
2087 MY(alpha_min) = 256;
2088 MY(alpha_max) = 256;
2089 MY(countabsolute) = 1;
2090 MY(lightcolor) = '3.1 4.4 10.0';
2091 MY(lightradiusfade) = 250;
2092 MY(lightradius) = 250;
2093 MY(originjitter) = '17.0 17.0 17.0';
2101 SUB(electro_ballexplode) {
2102 MY(alpha_min) = 256;
2103 MY(alpha_max) = 256;
2104 MY(alpha_fade) = 512;
2105 MY(color_min) = "0x80C0FF";
2106 MY(color_max) = "0x80C0FF";
2107 MY(countabsolute) = 1;
2112 MY(type) = "static";
2114 // cloud of bouncing sparks
2115 SUB(electro_ballexplode) {
2116 MY(alpha_min) = 256;
2117 MY(alpha_max) = 256;
2118 MY(alpha_fade) = 1024;
2120 MY(color_min) = "0xFDFFD9";
2121 MY(color_max) = "0xFDFFD9";
2123 MY(originjitter) = '1.0 1.0 1.0';
2126 MY(stretchfactor) = 0.400000;
2130 MY(velocityjitter) = '512.0 512.0 512.0';
2132 // inner cloud of smoke
2133 SUB(electro_ballexplode) {
2134 MY(alpha_min) = 256;
2135 MY(alpha_max) = 256;
2136 MY(alpha_fade) = 512;
2137 MY(color_min) = "0x202020";
2138 MY(color_max) = "0x404040";
2140 MY(originjitter) = '20.0 20.0 20.0';
2145 MY(velocityjitter) = '32.0 32.0 32.0';
2150 SUB(electro_combo) {
2151 MY(alpha_min) = 256;
2152 MY(alpha_max) = 256;
2153 MY(countabsolute) = 1;
2154 MY(lightcolor) = '4.0 5.0 6.0';
2155 MY(lightradiusfade) = 300;
2156 MY(lightradius) = 400;
2157 MY(originjitter) = '17.0 17.0 17.0';
2165 SUB(electro_combo) {
2166 MY(alpha_min) = 128;
2167 MY(alpha_max) = 128;
2168 MY(alpha_fade) = 64;
2169 MY(color_min) = "0x80C0FF";
2170 MY(color_max) = "0x80C0FF";
2171 MY(countabsolute) = 1;
2176 MY(type) = "static";
2179 SUB(electro_combo) {
2180 MY(airfriction) = 6;
2181 MY(alpha_min) = 156;
2182 MY(alpha_max) = 156;
2183 MY(alpha_fade) = 156;
2185 MY(color_min) = "0x2030FF";
2186 MY(color_max) = "0x80C0FF";
2188 MY(liquidfriction) = 16;
2189 MY(sizeincrease) = 50;
2193 MY(type) = "static";
2194 MY(velocityjitter) = '512.0 512.0 512.0';
2196 SUB(electro_combo) {
2197 MY(alpha_min) = 444;
2198 MY(alpha_max) = 512;
2199 MY(alpha_fade) = 700;
2200 MY(bounce) = 1.600000;
2201 MY(color_min) = "0xa9cacf";
2202 MY(color_max) = "0x0054ff";
2204 MY(gravity) = 0.300000;
2205 MY(originjitter) = '1.0 1.0 1.0';
2208 MY(stretchfactor) = 2;
2212 MY(velocityjitter) = '312.0 312.0 312.0';
2213 MY(velocitymultiplier) = 3;
2215 // inner cloud of smoke
2216 SUB(electro_combo) {
2217 MY(alpha_min) = 256;
2218 MY(alpha_max) = 256;
2219 MY(alpha_fade) = 256;
2220 MY(color_min) = "0x202020";
2221 MY(color_max) = "0x404040";
2222 MY(count) = 0.125000;
2223 MY(originjitter) = '20.0 20.0 20.0';
2228 MY(velocityjitter) = '32.0 32.0 32.0';
2231 SUB(electro_combo) {
2234 MY(alpha_fade) = 100;
2235 MY(color_min) = "0xa9cacf";
2236 MY(color_max) = "0x0054ff";
2237 MY(countabsolute) = 1;
2238 MY(sizeincrease) = 600;
2244 MY(velocitymultiplier) = 0.300000;
2247 DEF(crylink_muzzleflash);
2248 SUB(crylink_muzzleflash) {
2249 MY(alpha_min) = 128;
2250 MY(alpha_max) = 128;
2251 MY(alpha_fade) = 2024;
2252 MY(color_min) = "0xdd9cff";
2253 MY(color_max) = "0xff0090";
2254 MY(count) = 0.500000;
2255 MY(lightcolor) = '1.6 0.2 2.0';
2256 MY(lightradiusfade) = 2000;
2257 MY(lightradius) = 200;
2263 MY(velocitymultiplier) = 0.010000;
2265 SUB(crylink_muzzleflash) {
2266 MY(airfriction) = 12;
2267 MY(alpha_max) = 128;
2268 MY(alpha_fade) = 1024;
2269 MY(color_min) = "0xA080C0";
2270 MY(color_max) = "0xA080C0";
2272 MY(originjitter) = '1.0 1.0 1.0';
2275 MY(stretchfactor) = 1.500000;
2279 MY(velocityjitter) = '200.0 200.0 200.0';
2280 MY(velocitymultiplier) = 0.300000;
2283 DEF(crylink_impact);
2285 SUB(crylink_impact) {
2286 MY(alpha_min) = 256;
2287 MY(alpha_max) = 256;
2288 MY(countabsolute) = 1;
2289 MY(originjitter) = '12.0 12.0 12.0';
2296 // purple flare effect
2297 SUB(crylink_impact) {
2298 MY(alpha_min) = 256;
2299 MY(alpha_max) = 256;
2300 MY(alpha_fade) = 512;
2301 MY(color_min) = "0x504060";
2302 MY(color_max) = "0x504060";
2303 MY(countabsolute) = 1;
2308 MY(type) = "static";
2311 SUB(crylink_impact) {
2312 MY(alpha_min) = 256;
2313 MY(alpha_max) = 256;
2314 MY(alpha_fade) = 1024;
2316 MY(color_min) = "0xA040C0";
2317 MY(color_max) = "0xA040C0";
2324 MY(velocityjitter) = '512.0 512.0 512.0';
2327 SUB(crylink_impact) {
2328 MY(alpha_min) = 256;
2329 MY(alpha_max) = 256;
2330 MY(alpha_fade) = 512;
2331 MY(color_min) = "0xE070FF";
2332 MY(color_max) = "0xE070FF";
2333 MY(count) = 1.500000;
2336 MY(type) = "static";
2337 MY(velocityjitter) = '32.0 32.0 32.0';
2340 SUB(crylink_impact) {
2341 MY(alpha_min) = 256;
2342 MY(alpha_max) = 256;
2343 MY(alpha_fade) = 1024;
2344 MY(color_min) = "0xE070FF";
2345 MY(color_max) = "0xE070FF";
2349 MY(type) = "static";
2350 MY(velocityjitter) = '256.0 256.0 256.0';
2353 DEF(nex_muzzleflash);
2354 SUB(nex_muzzleflash) {
2355 MY(airfriction) = 9;
2356 MY(alpha_min) = 328;
2357 MY(alpha_max) = 328;
2358 MY(alpha_fade) = 4000;
2359 MY(color_min) = "0x202020";
2360 MY(color_max) = "0x0072ff";
2362 MY(lightcolor) = '2.0 2.5 3.0';
2363 MY(lightradiusfade) = 200;
2364 MY(lightradius) = 200;
2365 MY(originjitter) = '4.0 4.0 4.0';
2366 MY(sizeincrease) = -100;
2369 MY(stretchfactor) = 2;
2373 MY(velocityjitter) = '180.0 180.0 180.0';
2374 MY(velocitymultiplier) = 1.400000;
2376 SUB(nex_muzzleflash) {
2377 MY(airfriction) = 9;
2378 MY(alpha_max) = 128;
2379 MY(alpha_fade) = 1024;
2380 MY(color_min) = "0xD9FDFF";
2381 MY(color_max) = "0xD9FDFF";
2383 MY(originjitter) = '1.0 1.0 1.0';
2389 MY(velocityjitter) = '600.0 600.0 600.0';
2390 MY(velocitymultiplier) = 1.500000;
2396 MY(airfriction) = 5;
2398 MY(alpha_max) = 128;
2399 MY(alpha_fade) = 64;
2400 MY(color_min) = "0x1680A0";
2401 MY(color_max) = "0x1680A0";
2402 MY(sizeincrease) = 2;
2407 MY(trailspacing) = 64;
2408 MY(type) = "static";
2412 MY(airfriction) = 9;
2415 MY(alpha_fade) = 32;
2416 MY(color_min) = "0x5080A0";
2417 MY(color_max) = "0x5080A0";
2418 MY(sizeincrease) = 8;
2422 MY(trailspacing) = 12;
2423 MY(type) = "static";
2424 MY(velocityjitter) = '64.0 64.0 64.0';
2428 MY(alpha_min) = 256;
2429 MY(alpha_max) = 256;
2430 MY(alpha_fade) = 1280;
2431 MY(color_min) = "0x80CDFF";
2432 MY(color_max) = "0x80CDFF";
2435 MY(trailspacing) = 12;
2436 MY(type) = "static";
2440 MY(airfriction) = 5;
2442 MY(alpha_max) = 128;
2443 MY(alpha_fade) = 80;
2444 MY(color_min) = "0x1680A0";
2445 MY(color_max) = "0x1680A0";
2446 MY(gravity) = -0.010000;
2451 MY(trailspacing) = 16;
2458 MY(alpha_min) = 256;
2459 MY(alpha_max) = 256;
2460 MY(countabsolute) = 1;
2461 MY(lightcolor) = '4.0 6.0 8.0';
2462 MY(lightradiusfade) = 250;
2463 MY(lightradius) = 200;
2464 MY(originjitter) = '14.0 14.0 14.0';
2465 MY(startangle_min) = -180;
2466 MY(startangle_max) = 180;
2473 // rotating something
2477 MY(alpha_fade) = 50;
2478 MY(color_min) = "0x1680A0";
2479 MY(color_max) = "0x1680A0";
2481 MY(startangle_min) = 180;
2482 MY(startangle_max) = -180;
2484 MY(spin_max) = -500;
2485 MY(sizeincrease) = 20;
2496 MY(alpha_fade) = 400;
2497 MY(color_min) = "0x1680A0";
2498 MY(color_max) = "0x1680A0";
2499 MY(countabsolute) = 1;
2500 MY(sizeincrease) = 900;
2505 MY(type) = "static";
2511 MY(alpha_fade) = 100;
2512 MY(color_min) = "0x1680A0";
2513 MY(color_max) = "0x1680A0";
2514 MY(countabsolute) = 1;
2515 MY(sizeincrease) = 500;
2520 MY(type) = "static";
2524 MY(alpha_min) = 256;
2525 MY(alpha_max) = 256;
2526 MY(alpha_fade) = 256;
2527 MY(color_min) = "0x80C0FF";
2528 MY(color_max) = "0x80C0FF";
2529 MY(countabsolute) = 1;
2534 MY(type) = "static";
2536 // small sparks which glow brightly but live briefly
2538 MY(airfriction) = 9;
2539 MY(alpha_max) = 128;
2540 MY(alpha_fade) = 512;
2542 MY(color_min) = "0xD9FDFF";
2543 MY(color_max) = "0xD9FDFF";
2547 MY(stretchfactor) = 3;
2551 MY(velocityjitter) = '600.0 600.0 600.0';
2552 MY(velocitymultiplier) = 0.500000;
2554 // small sparks that live longer
2556 MY(airfriction) = 2;
2557 MY(alpha_min) = 255;
2558 MY(alpha_max) = 255;
2559 MY(alpha_fade) = 112;
2560 MY(bounce) = 1.600000;
2561 MY(color_min) = "0xD9FDFF";
2562 MY(color_max) = "0xD9FDFF";
2567 MY(stretchfactor) = 0.700000;
2571 MY(velocityjitter) = '300.0 300.0 600.0';
2572 MY(velocitymultiplier) = 2.500000;
2575 DEF(hagar_muzzleflash);
2576 SUB(hagar_muzzleflash) {
2577 MY(alpha_min) = 256;
2578 MY(alpha_max) = 256;
2579 MY(alpha_fade) = 512;
2580 MY(color_min) = "0x202020";
2581 MY(color_max) = "0x404040";
2583 MY(lightcolor) = '2.0 1.5 0.2';
2584 MY(lightradiusfade) = 2000;
2585 MY(lightradius) = 200;
2586 MY(originjitter) = '1.5 1.5 1.5';
2591 MY(velocityjitter) = '6.0 6.0 6.0';
2592 MY(velocitymultiplier) = 0.010000;
2594 SUB(hagar_muzzleflash) {
2595 MY(airfriction) = 12;
2596 MY(alpha_max) = 128;
2597 MY(alpha_fade) = 1024;
2598 MY(color_min) = "0xff8400";
2599 MY(color_max) = "0xff4200";
2601 MY(originjitter) = '1.0 1.0 1.0';
2602 MY(startangle_min) = -180;
2603 MY(startangle_max) = 180;
2604 MY(spin_min) = -400;
2608 MY(stretchfactor) = 2;
2612 MY(velocityjitter) = '200.0 200.0 200.0';
2613 MY(velocitymultiplier) = 0.500000;
2618 MY(alpha_min) = 256;
2619 MY(alpha_max) = 256;
2620 MY(alpha_fade) = 256;
2621 MY(color_min) = "0x202020";
2622 MY(color_max) = "0x404040";
2624 MY(lightcolor) = '2.0 1.5 0.2';
2625 MY(lightradiusfade) = 300;
2626 MY(lightradius) = 60;
2627 MY(originjitter) = '1.5 1.5 1.5';
2632 MY(velocityjitter) = '6.0 6.0 6.0';
2633 MY(velocitymultiplier) = 0.010000;
2636 MY(airfriction) = 12;
2637 MY(alpha_max) = 256;
2638 MY(alpha_fade) = 256;
2639 MY(bounce) = 1.500000;
2640 MY(color_min) = "0xFFFDD9";
2641 MY(color_max) = "0xFFFDD9";
2644 MY(originjitter) = '1.0 1.0 1.0';
2650 MY(velocityjitter) = '600.0 600.0 600.0';
2651 MY(velocitymultiplier) = 0.500000;
2656 SUB(hagar_explode) {
2657 MY(alpha_min) = 256;
2658 MY(alpha_max) = 256;
2659 MY(countabsolute) = 1;
2660 MY(lightcolor) = '8.0 4.0 1.0';
2661 MY(lightradiusfade) = 400;
2662 MY(lightradius) = 120;
2663 MY(originjitter) = '14.0 14.0 14.0';
2670 // fire effect which make bright dot inside
2671 SUB(hagar_explode) {
2672 MY(airfriction) = 8;
2674 MY(alpha_max) = 200;
2675 MY(alpha_fade) = 356;
2676 MY(bounce) = 1.500000;
2677 MY(color_min) = "0xffe955";
2678 MY(color_max) = "0xff5a00";
2679 MY(count) = 3.500000;
2680 MY(liquidfriction) = 8;
2681 MY(notunderwater) = true;
2682 MY(originjitter) = '8.0 8.0 8.0';
2683 MY(sizeincrease) = 5;
2689 MY(velocityjitter) = '156.0 156.0 156.0';
2691 // fire effect which expands then slows
2692 SUB(hagar_explode) {
2693 MY(airfriction) = 12;
2694 MY(alpha_min) = 128;
2695 MY(alpha_max) = 256;
2696 MY(alpha_fade) = 456;
2697 MY(bounce) = 1.500000;
2698 MY(color_min) = "0x8f0d00";
2699 MY(color_max) = "0xff5a00";
2701 MY(liquidfriction) = 8;
2702 MY(notunderwater) = true;
2703 MY(originjitter) = '8.0 8.0 8.0';
2704 MY(sizeincrease) = 15;
2709 MY(type) = "static";
2710 MY(velocityjitter) = '286.0 286.0 286.0';
2713 SUB(hagar_explode) {
2714 MY(airfriction) = 5;
2715 MY(alpha_min) = 200;
2716 MY(alpha_max) = 500;
2717 MY(alpha_fade) = 600;
2719 MY(color_min) = "0x000000";
2720 MY(color_max) = "0x111111";
2722 MY(notunderwater) = true;
2723 MY(sizeincrease) = 20;
2727 MY(type) = "alphastatic";
2728 MY(velocityjitter) = '244.0 244.0 244.0';
2730 // underwater bubbles
2731 SUB(hagar_explode) {
2732 MY(alpha_min) = 128;
2733 MY(alpha_max) = 256;
2734 MY(alpha_fade) = 64;
2735 MY(bounce) = 1.500000;
2736 MY(color_min) = "0x404040";
2737 MY(color_max) = "0x808080";
2739 MY(gravity) = -0.125000;
2740 MY(liquidfriction) = 0.250000;
2741 MY(originjitter) = '16.0 16.0 16.0';
2746 MY(type) = "bubble";
2747 MY(underwater) = true;
2748 MY(velocityjitter) = '96.0 96.0 96.0';
2751 SUB(hagar_explode) {
2752 MY(airfriction) = 1;
2753 MY(alpha_min) = 644;
2754 MY(alpha_max) = 956;
2755 MY(alpha_fade) = 684;
2756 MY(bounce) = 1.600000;
2757 MY(color_min) = "0xffa35b";
2758 MY(color_max) = "0xfff2be";
2761 MY(liquidfriction) = 0.800000;
2762 MY(notunderwater) = true;
2763 MY(originjitter) = '16.0 16.0 16.0';
2765 MY(size_max) = 0.100000;
2769 MY(velocityjitter) = '224.0 224.0 224.0';
2770 MY(velocityoffset) = '0.0 0.0 80.0';
2773 DEF(rocketlauncher_muzzleflash);
2774 SUB(rocketlauncher_muzzleflash) {
2775 MY(airfriction) = 2;
2776 MY(alpha_min) = 256;
2777 MY(alpha_max) = 256;
2778 MY(alpha_fade) = 256;
2779 MY(color_min) = "0x202020";
2780 MY(color_max) = "0x404040";
2782 MY(originjitter) = '1.5 1.5 1.5';
2783 MY(sizeincrease) = 20;
2788 MY(velocityjitter) = '40.0 40.0 40.0';
2789 MY(velocitymultiplier) = -0.130000;
2791 SUB(rocketlauncher_muzzleflash) {
2792 MY(airfriction) = 9;
2795 MY(alpha_fade) = 20;
2796 MY(color_min) = "0xFFFDD9";
2797 MY(color_max) = "0xFFFDD9";
2799 MY(originjitter) = '3.0 3.0 3.0';
2800 MY(startangle_min) = -180;
2801 MY(startangle_max) = 180;
2804 MY(sizeincrease) = 20;
2810 MY(velocityjitter) = '100.0 100.0 100.0';
2811 MY(velocitymultiplier) = 0.300000;
2818 MY(alpha_min) = 200;
2819 MY(alpha_max) = 300;
2820 MY(alpha_fade) = 200;
2822 MY(color_min) = "0x000000";
2823 MY(color_max) = "0x666666";
2824 MY(lightcolor) = '6.0 3.0 1.0';
2825 MY(lightradius) = 150;
2826 MY(notunderwater) = true;
2827 MY(originjitter) = '2.0 2.0 2.0';
2828 MY(startangle_min) = -180;
2829 MY(startangle_max) = 180;
2832 MY(sizeincrease) = 11;
2836 MY(trailspacing) = 10;
2838 MY(velocityjitter) = '3.0 3.0 3.0';
2839 MY(velocitymultiplier) = -0.020000;
2843 MY(airfriction) = 8;
2844 MY(alpha_min) = 100;
2845 MY(alpha_max) = 144;
2846 MY(alpha_fade) = 588;
2847 MY(color_min) = "0xffdf72";
2848 MY(color_max) = "0x811200";
2849 MY(sizeincrease) = -30;
2854 MY(trailspacing) = 4;
2855 MY(type) = "static";
2856 MY(velocityjitter) = '32.0 32.0 32.0';
2857 MY(velocitymultiplier) = -1.500000;
2861 MY(alpha_min) = 256;
2862 MY(alpha_max) = 256;
2863 MY(alpha_fade) = 256;
2864 MY(bounce) = 1.500000;
2865 MY(gravity) = -0.125000;
2866 MY(liquidfriction) = 4;
2871 MY(trailspacing) = 16;
2872 MY(type) = "bubble";
2873 MY(underwater) = true;
2874 MY(velocityjitter) = '16.0 16.0 16.0';
2875 MY(velocitymultiplier) = -0.310000;
2879 MY(airfriction) = 5;
2880 MY(alpha_min) = 444;
2881 MY(alpha_max) = 512;
2882 MY(alpha_fade) = 1866;
2884 MY(color_min) = "0xFFFDD9";
2885 MY(color_max) = "0xFFFDD9";
2886 MY(notunderwater) = true;
2887 MY(originjitter) = '1.0 1.0 1.0';
2888 MY(size_min) = 0.500000;
2889 MY(size_max) = 0.500000;
2890 MY(stretchfactor) = 0.300000;
2893 MY(trailspacing) = 20;
2895 MY(velocityjitter) = '100.0 100.0 100.0';
2896 MY(velocitymultiplier) = -0.310000;
2899 // rocket explosion (bigger than mortar and hagar)
2900 DEF(rocket_explode);
2901 SUB(rocket_explode) {
2902 MY(alpha_min) = 256;
2903 MY(alpha_max) = 256;
2904 MY(countabsolute) = 1;
2905 MY(lightcolor) = '8.0 4.0 1.0';
2906 MY(lightradiusfade) = 750;
2907 MY(lightradius) = 400;
2908 MY(originjitter) = '23.0 23.0 23.0';
2916 SUB(rocket_explode) {
2917 MY(airfriction) = 8;
2918 MY(alpha_min) = 200;
2919 MY(alpha_max) = 256;
2920 MY(alpha_fade) = 512;
2921 MY(bounce) = 1.500000;
2922 MY(color_min) = "0x8f0d00";
2923 MY(color_max) = "0xff5a00";
2925 MY(liquidfriction) = 8;
2926 MY(notunderwater) = true;
2927 MY(originjitter) = '8.0 8.0 8.0';
2928 MY(sizeincrease) = 45;
2933 MY(type) = "static";
2934 MY(velocityjitter) = '512.0 512.0 512.0';
2937 SUB(rocket_explode) {
2938 MY(airfriction) = 19;
2939 MY(alpha_min) = 200;
2940 MY(alpha_max) = 256;
2941 MY(alpha_fade) = 612;
2942 MY(bounce) = 2.500000;
2943 MY(color_min) = "0xea691b";
2944 MY(color_max) = "0xeed05a";
2946 MY(liquidfriction) = 19;
2947 MY(notunderwater) = true;
2948 MY(originjitter) = '8.0 8.0 8.0';
2949 MY(sizeincrease) = 55;
2955 MY(velocityjitter) = '912.0 912.0 912.0';
2958 SUB(rocket_explode) {
2959 MY(airfriction) = 5;
2960 MY(alpha_min) = 200;
2961 MY(alpha_max) = 450;
2962 MY(alpha_fade) = 456;
2964 MY(color_min) = "0x000000";
2965 MY(color_max) = "0x111111";
2967 MY(notunderwater) = true;
2968 MY(sizeincrease) = 44;
2972 MY(type) = "alphastatic";
2973 MY(velocityjitter) = '444.0 444.0 444.0';
2975 // underwater bubbles
2976 SUB(rocket_explode) {
2977 MY(alpha_min) = 128;
2978 MY(alpha_max) = 256;
2979 MY(alpha_fade) = 64;
2980 MY(bounce) = 1.500000;
2981 MY(color_min) = "0x404040";
2982 MY(color_max) = "0x808080";
2984 MY(gravity) = -0.125000;
2985 MY(liquidfriction) = 0.250000;
2986 MY(originjitter) = '16.0 16.0 16.0';
2991 MY(type) = "bubble";
2992 MY(underwater) = true;
2993 MY(velocityjitter) = '144.0 144.0 144.0';
2995 // underwatershockwave
2996 SUB(rocket_explode) {
2999 MY(alpha_fade) = 300;
3000 MY(countabsolute) = 1;
3001 MY(sizeincrease) = 1900;
3007 MY(underwater) = true;
3008 MY(velocitymultiplier) = 0.300000;
3011 SUB(rocket_explode) {
3012 MY(airfriction) = 1;
3013 MY(alpha_min) = 644;
3014 MY(alpha_max) = 956;
3015 MY(alpha_fade) = 484;
3016 MY(bounce) = 1.600000;
3017 MY(color_min) = "0xffa35b";
3018 MY(color_max) = "0xfff2be";
3021 MY(liquidfriction) = 0.800000;
3022 MY(notunderwater) = true;
3023 MY(originjitter) = '16.0 16.0 16.0';
3025 MY(size_max) = 0.100000;
3029 MY(velocityjitter) = '424.0 424.0 624.0';
3030 MY(velocityoffset) = '0.0 0.0 80.0';
3033 SUB(rocket_explode) {
3034 MY(airfriction) = 0.500000;
3035 MY(alpha_min) = 644;
3036 MY(alpha_max) = 956;
3037 MY(alpha_fade) = 684;
3038 MY(bounce) = 1.600000;
3039 MY(color_min) = "0x6a3d25";
3040 MY(color_max) = "0xcac5b4";
3042 MY(gravity) = 1.300000;
3043 MY(notunderwater) = true;
3044 MY(startangle_min) = -180;
3045 MY(startangle_max) = 180;
3046 MY(spin_min) = -1000;
3047 MY(spin_max) = 1000;
3052 MY(type) = "alphastatic";
3053 MY(velocityjitter) = '324.0 324.0 524.0';
3056 DEF(grapple_muzzleflash);
3057 SUB(grapple_muzzleflash) {
3058 MY(lightcolor) = '1.0 0.0 0.0';
3059 MY(lightradiusfade) = 800;
3060 MY(lightradius) = 160;
3063 DEF(grapple_impact);
3064 SUB(grapple_impact) {
3065 MY(lightcolor) = '1.0 0.0 0.0';
3066 MY(lightradiusfade) = 800;
3067 MY(lightradius) = 160;
3070 DEF(nex242_misc_laser_beam);
3071 SUB(nex242_misc_laser_beam) {
3072 MY(alpha_min) = 256;
3073 MY(alpha_max) = 256;
3074 MY(alpha_fade) = 64;
3075 MY(color_min) = "0xff0000";
3076 MY(color_max) = "0xff0000";
3077 MY(countabsolute) = 1;
3078 MY(sizeincrease) = 1;
3086 DEF(nex242_misc_laser_beam_end);
3087 SUB(nex242_misc_laser_beam_end) {
3088 MY(alpha_min) = 128;
3089 MY(alpha_max) = 256;
3090 MY(alpha_fade) = 768;
3092 MY(color_min) = "0x8f4333";
3093 MY(color_max) = "0xfff31b";
3094 MY(count) = 0.500000;
3096 MY(size_min) = 0.400000;
3097 MY(size_max) = 0.400000;
3099 MY(velocityjitter) = '64.0 64.0 64.0';
3100 MY(velocitymultiplier) = 100;
3103 DEF(nex242_misc_laser_beam_fast);
3104 SUB(nex242_misc_laser_beam_fast) {
3105 MY(alpha_min) = 256;
3106 MY(alpha_max) = 256;
3107 MY(alpha_fade) = 640;
3108 MY(color_min) = "0xff0000";
3109 MY(color_max) = "0xff0000";
3110 MY(countabsolute) = 1;
3111 MY(sizeincrease) = 0.100000;
3119 DEF(nex242_misc_laser_beam_fast_end);
3120 SUB(nex242_misc_laser_beam_fast_end) {
3121 MY(alpha_min) = 128;
3122 MY(alpha_max) = 256;
3123 MY(alpha_fade) = 768;
3125 MY(color_min) = "0x8f4333";
3126 MY(color_max) = "0xfff31b";
3127 MY(count) = 0.500000;
3129 MY(size_min) = 0.400000;
3130 MY(size_max) = 0.400000;
3132 MY(velocityjitter) = '64.0 64.0 64.0';
3133 MY(velocitymultiplier) = 100;
3136 DEF(nex242_misc_laser_green_beam);
3137 SUB(nex242_misc_laser_green_beam) {
3138 MY(alpha_min) = 256;
3139 MY(alpha_max) = 256;
3140 MY(alpha_fade) = 64;
3141 MY(color_min) = "0x00ff00";
3142 MY(color_max) = "0x00ff00";
3143 MY(countabsolute) = 1;
3144 MY(sizeincrease) = 1;
3152 DEF(nex242_misc_laser_green_beam_end);
3153 SUB(nex242_misc_laser_green_beam_end) {
3154 MY(alpha_min) = 128;
3155 MY(alpha_max) = 256;
3156 MY(alpha_fade) = 768;
3158 MY(color_min) = "0x8f4333";
3159 MY(color_max) = "0xfff31b";
3160 MY(count) = 0.500000;
3162 MY(size_min) = 0.400000;
3163 MY(size_max) = 0.400000;
3165 MY(velocityjitter) = '64.0 64.0 64.0';
3166 MY(velocitymultiplier) = 100;
3169 DEF(nex242_misc_laser_blue_beam);
3170 SUB(nex242_misc_laser_blue_beam) {
3171 MY(alpha_min) = 256;
3172 MY(alpha_max) = 256;
3173 MY(alpha_fade) = 64;
3174 MY(color_min) = "0x0000ff";
3175 MY(color_max) = "0x0000ff";
3176 MY(countabsolute) = 1;
3177 MY(sizeincrease) = 1;
3185 DEF(nex242_misc_laser_blue_beam_end);
3186 SUB(nex242_misc_laser_blue_beam_end) {
3187 MY(alpha_min) = 128;
3188 MY(alpha_max) = 256;
3189 MY(alpha_fade) = 768;
3191 MY(color_min) = "0x8f4333";
3192 MY(color_max) = "0xfff31b";
3193 MY(count) = 0.500000;
3195 MY(size_min) = 0.400000;
3196 MY(size_max) = 0.400000;
3198 MY(velocityjitter) = '64.0 64.0 64.0';
3199 MY(velocitymultiplier) = 100;
3202 DEF(nex242_misc_laser_yellow_beam);
3203 SUB(nex242_misc_laser_yellow_beam) {
3204 MY(alpha_min) = 256;
3205 MY(alpha_max) = 256;
3206 MY(alpha_fade) = 64;
3207 MY(color_min) = "0xffff00";
3208 MY(color_max) = "0xffff00";
3209 MY(countabsolute) = 1;
3210 MY(sizeincrease) = 1;
3218 DEF(nex242_misc_laser_yellow_beam_end);
3219 SUB(nex242_misc_laser_yellow_beam_end) {
3220 MY(alpha_min) = 128;
3221 MY(alpha_max) = 256;
3222 MY(alpha_fade) = 768;
3224 MY(color_min) = "0x8f4333";
3225 MY(color_max) = "0xfff31b";
3226 MY(count) = 0.500000;
3228 MY(size_min) = 0.400000;
3229 MY(size_max) = 0.400000;
3231 MY(velocityjitter) = '64.0 64.0 64.0';
3232 MY(velocitymultiplier) = 100;
3235 DEF(nex242_misc_laser_cyan_beam);
3236 SUB(nex242_misc_laser_cyan_beam) {
3237 MY(alpha_min) = 256;
3238 MY(alpha_max) = 256;
3239 MY(alpha_fade) = 64;
3240 MY(color_min) = "0x00ffff";
3241 MY(color_max) = "0x00ffff";
3242 MY(countabsolute) = 1;
3243 MY(sizeincrease) = 1;
3251 DEF(nex242_misc_laser_cyan_beam_end);
3252 SUB(nex242_misc_laser_cyan_beam_end) {
3253 MY(alpha_min) = 128;
3254 MY(alpha_max) = 256;
3255 MY(alpha_fade) = 768;
3257 MY(color_min) = "0x8f4333";
3258 MY(color_max) = "0xfff31b";
3259 MY(count) = 0.500000;
3261 MY(size_min) = 0.400000;
3262 MY(size_max) = 0.400000;
3264 MY(velocityjitter) = '64.0 64.0 64.0';
3265 MY(velocitymultiplier) = 100;
3268 DEF(nex242_misc_laser_magenta_beam);
3269 SUB(nex242_misc_laser_magenta_beam) {
3270 MY(alpha_min) = 256;
3271 MY(alpha_max) = 256;
3272 MY(alpha_fade) = 64;
3273 MY(color_min) = "0xff00ff";
3274 MY(color_max) = "0xff00ff";
3275 MY(countabsolute) = 1;
3276 MY(sizeincrease) = 1;
3284 DEF(nex242_misc_laser_magenta_beam_end);
3285 SUB(nex242_misc_laser_magenta_beam_end) {
3286 MY(alpha_min) = 128;
3287 MY(alpha_max) = 256;
3288 MY(alpha_fade) = 768;
3290 MY(color_min) = "0x8f4333";
3291 MY(color_max) = "0xfff31b";
3292 MY(count) = 0.500000;
3294 MY(size_min) = 0.400000;
3295 MY(size_max) = 0.400000;
3297 MY(velocityjitter) = '64.0 64.0 64.0';
3298 MY(velocitymultiplier) = 100;
3301 DEF(nex242_misc_laser_white_beam);
3302 SUB(nex242_misc_laser_white_beam) {
3303 MY(alpha_min) = 256;
3304 MY(alpha_max) = 256;
3305 MY(alpha_fade) = 64;
3306 MY(color_min) = "0xffffff";
3307 MY(color_max) = "0xffffff";
3308 MY(countabsolute) = 1;
3309 MY(sizeincrease) = 1;
3317 DEF(nex242_misc_laser_white_beam_end);
3318 SUB(nex242_misc_laser_white_beam_end) {
3319 MY(alpha_min) = 128;
3320 MY(alpha_max) = 256;
3321 MY(alpha_fade) = 768;
3323 MY(color_min) = "0x8f4333";
3324 MY(color_max) = "0xfff31b";
3325 MY(count) = 0.500000;
3327 MY(size_min) = 0.400000;
3328 MY(size_max) = 0.400000;
3330 MY(velocityjitter) = '64.0 64.0 64.0';
3331 MY(velocitymultiplier) = 100;
3334 DEF(nex242_misc_laser_black_beam);
3335 SUB(nex242_misc_laser_black_beam) {
3336 MY(alpha_min) = 256;
3337 MY(alpha_max) = 256;
3338 MY(alpha_fade) = 64;
3339 MY(color_min) = "0x000000";
3340 MY(color_max) = "0x000000";
3341 MY(countabsolute) = 1;
3342 MY(sizeincrease) = 1;
3350 DEF(nex242_misc_laser_black_beam_end);
3351 SUB(nex242_misc_laser_black_beam_end) {
3352 MY(alpha_min) = 128;
3353 MY(alpha_max) = 256;
3354 MY(alpha_fade) = 768;
3356 MY(color_min) = "0x8f4333";
3357 MY(color_max) = "0xfff31b";
3358 MY(count) = 0.500000;
3360 MY(size_min) = 0.400000;
3361 MY(size_max) = 0.400000;
3363 MY(velocityjitter) = '64.0 64.0 64.0';
3364 MY(velocitymultiplier) = 100;
3367 DEF(nex242_misc_laser_orange_beam);
3368 SUB(nex242_misc_laser_orange_beam) {
3369 MY(alpha_min) = 256;
3370 MY(alpha_max) = 256;
3371 MY(alpha_fade) = 64;
3372 MY(color_min) = "0xff6600";
3373 MY(color_max) = "0xff6600";
3374 MY(countabsolute) = 1;
3375 MY(sizeincrease) = 1;
3383 DEF(nex242_misc_laser_orange_beam_end);
3384 SUB(nex242_misc_laser_orange_beam_end) {
3385 MY(alpha_min) = 128;
3386 MY(alpha_max) = 256;
3387 MY(alpha_fade) = 768;
3389 MY(color_min) = "0x8f4333";
3390 MY(color_max) = "0xfff31b";
3391 MY(count) = 0.500000;
3393 MY(size_min) = 0.400000;
3394 MY(size_max) = 0.400000;
3396 MY(velocityjitter) = '64.0 64.0 64.0';
3397 MY(velocitymultiplier) = 100;
3400 // bigger crylink impact effect
3401 DEF(crylink_impactbig);
3403 SUB(crylink_impactbig) {
3404 MY(alpha_min) = 256;
3405 MY(alpha_max) = 256;
3406 MY(countabsolute) = 1;
3407 MY(originjitter) = '12.0 12.0 12.0';
3414 // purple flare effect
3415 SUB(crylink_impactbig) {
3416 MY(alpha_min) = 256;
3417 MY(alpha_max) = 256;
3418 MY(alpha_fade) = 512;
3419 MY(color_min) = "0x504060";
3420 MY(color_max) = "0x504060";
3421 MY(countabsolute) = 1;
3426 MY(type) = "static";
3429 SUB(crylink_impactbig) {
3430 MY(alpha_min) = 256;
3431 MY(alpha_max) = 256;
3432 MY(alpha_fade) = 1024;
3434 MY(color_min) = "0xA040C0";
3435 MY(color_max) = "0xA040C0";
3442 MY(velocityjitter) = '512.0 512.0 512.0';
3445 SUB(crylink_impactbig) {
3446 MY(alpha_min) = 256;
3447 MY(alpha_max) = 256;
3448 MY(alpha_fade) = 512;
3449 MY(color_min) = "0xE070FF";
3450 MY(color_max) = "0xE070FF";
3451 MY(count) = 1.500000;
3454 MY(type) = "static";
3455 MY(velocityjitter) = '32.0 32.0 32.0';
3458 SUB(crylink_impactbig) {
3459 MY(alpha_min) = 256;
3460 MY(alpha_max) = 256;
3461 MY(alpha_fade) = 1024;
3462 MY(color_min) = "0xE070FF";
3463 MY(color_max) = "0xE070FF";
3467 MY(type) = "static";
3468 MY(velocityjitter) = '256.0 256.0 256.0';
3471 #include "effectinfo_gentle.inc"
3476 MY(alpha_min) = 256;
3477 MY(alpha_max) = 256;
3478 MY(countabsolute) = 1;
3479 MY(originjitter) = '6.0 6.0 6.0';
3486 // dust/smoke drifting away from the impact
3488 MY(airfriction) = 7;
3490 MY(alpha_fade) = 64;
3491 MY(color_min) = "0xFFFFFF";
3492 MY(color_max) = "0xFFFFFF";
3493 MY(count) = 0.025000;
3494 MY(liquidfriction) = 16;
3495 MY(originjitter) = '1.0 1.0 1.0';
3496 MY(sizeincrease) = 2;
3502 MY(velocityjitter) = '15.0 15.0 15.0';
3503 MY(velocitymultiplier) = 20;
3507 MY(airfriction) = 5;
3508 MY(alpha_min) = 256;
3509 MY(alpha_max) = 256;
3510 MY(alpha_fade) = 768;
3512 MY(color_min) = "0xFDFFD9";
3513 MY(color_max) = "0xFDFFD9";
3514 MY(count) = 0.025000;
3516 MY(notunderwater) = true;
3517 MY(originjitter) = '1.0 1.0 1.0';
3518 MY(size_min) = 0.600000;
3519 MY(size_max) = 0.600000;
3523 MY(velocityjitter) = '100.0 100.0 100.0';
3524 MY(velocitymultiplier) = 100;
3530 MY(alpha_min) = 200;
3531 MY(alpha_max) = 256;
3532 MY(alpha_fade) = 512;
3533 MY(color_min) = "0x8f0d00";
3534 MY(color_max) = "0xff5a00";
3536 MY(gravity) = -0.500000;
3537 MY(originjitter) = '5.0 5.0 5.0';
3538 MY(sizeincrease) = -1;
3544 MY(velocityjitter) = '1.0 1.0 50.0';
3548 MY(alpha_min) = 200;
3549 MY(alpha_max) = 256;
3550 MY(alpha_fade) = 200;
3551 MY(color_min) = "0x000000";
3552 MY(color_max) = "0x111111";
3554 MY(gravity) = -0.300000;
3555 MY(originjitter) = '3.0 3.0 3.0';
3556 MY(sizeincrease) = 5;
3560 MY(type) = "alphastatic";
3561 MY(velocityjitter) = '11.0 11.0 50.0';
3566 MY(alpha_max) = 100;
3567 MY(alpha_fade) = 100;
3569 MY(color_min) = "0x7cbaff";
3570 MY(color_max) = "0xcfd1ff";
3572 MY(gravity) = 0.600000;
3573 MY(originjitter) = '5.0 5.0 5.0';
3574 MY(sizeincrease) = 20;
3579 MY(velocityjitter) = '81.0 81.0 150.0';
3580 MY(velocitymultiplier) = 2;
3583 DEF(hookbomb_explode);
3585 SUB(hookbomb_explode) {
3586 MY(airfriction) = 10;
3587 MY(alpha_max) = 256;
3588 MY(alpha_fade) = 200;
3589 MY(bounce) = 1.500000;
3590 MY(color_min) = "0x807aff";
3591 MY(color_max) = "0x4463d5";
3593 MY(originjitter) = '10.0 10.0 10.0';
3594 MY(sizeincrease) = -160;
3599 MY(type) = "static";
3600 MY(velocityjitter) = '550.0 550.0 550.0';
3603 SUB(hookbomb_explode) {
3604 MY(alpha_min) = 256;
3605 MY(alpha_max) = 265;
3606 MY(alpha_fade) = 100;
3607 MY(color_min) = "0x807aff";
3608 MY(color_max) = "0x4463d5";
3609 MY(countabsolute) = 3;
3610 MY(originoffset) = '0.0 0.0 6.0';
3611 MY(sizeincrease) = -60;
3616 MY(type) = "static";
3618 // decal on the ground
3619 SUB(hookbomb_explode) {
3620 MY(alpha_min) = 256;
3621 MY(alpha_max) = 256;
3622 MY(countabsolute) = 1;
3623 MY(originjitter) = '6.0 6.0 6.0';
3631 SUB(hookbomb_explode) {
3632 MY(airfriction) = 2;
3633 MY(alpha_min) = 256;
3634 MY(alpha_max) = 256;
3635 MY(alpha_fade) = 456;
3636 MY(bounce) = 1.500000;
3637 MY(color_min) = "0x807aff";
3638 MY(color_max) = "0x4463d5";
3641 MY(originjitter) = '1.0 1.0 1.0';
3642 MY(sizeincrease) = -60;
3648 MY(velocityjitter) = '1900.0 1900.0 1300.0';
3649 MY(velocitymultiplier) = 0.500000;
3652 DEF(EF_MGTURRETTRAIL);
3654 SUB(EF_MGTURRETTRAIL) {
3655 MY(alpha_min) = 128;
3656 MY(alpha_max) = 196;
3657 MY(alpha_fade) = 768;
3658 MY(color_min) = "0xd0d0a0";
3659 MY(color_max) = "0xffffff";
3660 MY(gravity) = -0.010000;
3661 MY(notunderwater) = true;
3662 MY(sizeincrease) = -8;
3666 MY(trailspacing) = 10;
3670 SUB(EF_MGTURRETTRAIL) {
3671 MY(alpha_min) = 256;
3672 MY(alpha_max) = 256;
3673 MY(alpha_fade) = 256;
3674 MY(bounce) = 1.500000;
3675 MY(color_min) = "0x404040";
3676 MY(color_max) = "0x808080";
3677 MY(gravity) = -0.125000;
3678 MY(liquidfriction) = 4;
3683 MY(trailspacing) = 32;
3684 MY(type) = "bubble";
3685 MY(underwater) = true;
3686 MY(velocityjitter) = '16.0 16.0 16.0';
3692 MY(alpha_min) = 200;
3693 MY(alpha_max) = 356;
3694 MY(alpha_fade) = 512;
3696 MY(color_min) = "0x8f0d00";
3697 MY(color_max) = "0xff5a00";
3699 MY(gravity) = -0.500000;
3700 MY(originjitter) = '33.0 33.0 33.0';
3701 MY(sizeincrease) = -3;
3707 MY(velocityjitter) = '22.0 22.0 50.0';
3711 MY(alpha_min) = 200;
3712 MY(alpha_max) = 256;
3713 MY(alpha_fade) = 200;
3715 MY(color_min) = "0x000000";
3716 MY(color_max) = "0x111111";
3718 MY(gravity) = -0.300000;
3719 MY(originjitter) = '44.0 44.0 44.0';
3720 MY(sizeincrease) = 11;
3724 MY(type) = "alphastatic";
3725 MY(velocityjitter) = '11.0 11.0 50.0';
3728 #define flare(name, colormin, colormax) \
3729 DEF(name##_flare); \
3730 SUB(name##_flare) /* smoke */ { \
3731 MY(alpha_min) = 200; \
3732 MY(alpha_max) = 256; \
3733 MY(alpha_fade) = 160; \
3735 MY(color_min) = colormin; \
3736 MY(color_max) = colormax; \
3737 MY(count) = 10.500000; \
3738 MY(gravity) = -0.240000; \
3739 MY(originjitter) = '2.0 2.0 0.0'; \
3740 MY(sizeincrease) = 11; \
3742 MY(size_max) = 11; \
3744 MY(type) = "alphastatic"; \
3745 MY(velocityjitter) = '15.0 15.0 30.0'; \
3748 flare(red, "0xff0000", "0xdc7171")
3749 flare(blue, "0x0000ff", "0x7194dc")
3755 MY(airfriction) = 3;
3756 MY(alpha_min) = 100;
3757 MY(alpha_max) = 156;
3758 MY(alpha_fade) = 200;
3759 MY(bounce) = 1.100000;
3760 MY(color_min) = "0x111111";
3761 MY(color_max) = "0x979797";
3763 MY(gravity) = 0.100000;
3764 MY(notunderwater) = true;
3765 MY(sizeincrease) = 21;
3770 MY(velocityjitter) = '190.0 190.0 50.0';
3776 MY(airfriction) = 7;
3777 MY(alpha_min) = 140;
3778 MY(alpha_max) = 256;
3779 MY(alpha_fade) = 190;
3780 MY(bounce) = 1.100000;
3781 MY(color_min) = "0x9e895f";
3782 MY(color_max) = "0xffd39b";
3784 MY(gravity) = -0.150000;
3785 MY(notunderwater) = true;
3786 MY(sizeincrease) = 21;
3790 MY(type) = "alphastatic";
3791 MY(velocityjitter) = '390.0 390.0 390.0';
3796 MY(airfriction) = 3;
3797 MY(alpha_max) = 256;
3798 MY(alpha_fade) = 256;
3799 MY(bounce) = 1.500000;
3800 MY(color_min) = "0xFFFDD9";
3801 MY(color_max) = "0xFFFDD9";
3804 MY(originjitter) = '1.0 1.0 1.0';
3810 MY(velocityjitter) = '300.0 300.0 200.0';
3811 MY(velocitymultiplier) = 1.500000;
3814 DEF(electricity_sparks);
3815 SUB(electricity_sparks) {
3816 MY(airfriction) = 3;
3817 MY(alpha_max) = 256;
3818 MY(alpha_fade) = 556;
3819 MY(bounce) = 1.500000;
3820 MY(color_min) = "0x807aff";
3821 MY(color_max) = "0x4463d5";
3824 MY(originjitter) = '1.0 1.0 1.0';
3830 MY(velocityjitter) = '300.0 300.0 300.0';
3831 MY(velocitymultiplier) = 0.500000;
3836 MY(airfriction) = 5;
3837 MY(alpha_min) = 140;
3838 MY(alpha_max) = 256;
3839 MY(alpha_fade) = 190;
3840 MY(bounce) = 1.100000;
3841 MY(color_min) = "0xfffbdf";
3842 MY(color_max) = "0xffffff";
3844 MY(gravity) = -0.250000;
3845 MY(notunderwater) = true;
3846 MY(sizeincrease) = 7;
3851 MY(velocityjitter) = '19.0 19.0 19.0';
3852 MY(velocitymultiplier) = 14;
3857 MY(airfriction) = -1;
3858 MY(alpha_min) = 100;
3859 MY(alpha_max) = 256;
3860 MY(alpha_fade) = 100;
3861 MY(bounce) = 1.500000;
3862 MY(color_min) = "0x292929";
3863 MY(color_max) = "0x000000";
3865 MY(gravity) = -0.100000;
3866 MY(originjitter) = '10.0 10.0 10.0';
3867 MY(sizeincrease) = 5;
3871 MY(type) = "alphastatic";
3872 MY(velocityjitter) = '5.0 5.0 20.0';
3875 // golden dust (create it once per second to cover large area in small yellow particles)
3878 MY(alpha_min) = 256;
3879 MY(alpha_max) = 256;
3880 MY(alpha_fade) = 70;
3881 MY(bounce) = 1.500000;
3882 MY(color_min) = "0xff9600";
3883 MY(color_max) = "0xffefb8";
3885 MY(originjitter) = '500.0 500.0 500.0';
3886 MY(sizeincrease) = -0.300000;
3892 MY(velocityjitter) = '0.1 0.1 0.1';
3897 MY(airfriction) = -0.500000;
3898 MY(alpha_min) = 256;
3899 MY(alpha_max) = 256;
3900 MY(alpha_fade) = 170;
3901 MY(bounce) = 1.500000;
3902 MY(color_min) = "0xff0000";
3903 MY(color_max) = "0xff0000";
3905 MY(gravity) = -0.100000;
3906 MY(originjitter) = '5.0 5.0 100.0';
3907 MY(sizeincrease) = -0.050000;
3913 MY(velocityjitter) = '50.0 50.0 0.0';
3916 DEF(armorrepair_fx);
3917 SUB(armorrepair_fx) {
3918 MY(airfriction) = -0.500000;
3919 MY(alpha_min) = 256;
3920 MY(alpha_max) = 256;
3921 MY(alpha_fade) = 170;
3922 MY(bounce) = 1.500000;
3923 MY(color_min) = "0x00ff00";
3924 MY(color_max) = "0x00ff00";
3926 MY(gravity) = -0.100000;
3927 MY(originjitter) = '5.0 5.0 50.0';
3928 MY(sizeincrease) = -0.050000;
3934 MY(velocityjitter) = '50.0 50.0 0.0';
3939 MY(airfriction) = -0.500000;
3940 MY(alpha_min) = 256;
3941 MY(alpha_max) = 256;
3942 MY(alpha_fade) = 170;
3943 MY(bounce) = 1.500000;
3944 MY(color_min) = "0x0000ff";
3945 MY(color_max) = "0x0000ff";
3947 MY(gravity) = -0.100000;
3948 MY(originjitter) = '5.0 5.0 50.0';
3949 MY(sizeincrease) = -0.050000;
3955 MY(velocityjitter) = '50.0 50.0 0.0';
3958 // red-yellow flame like fx
3961 MY(airfriction) = 2;
3962 MY(alpha_min) = 256;
3963 MY(alpha_max) = 256;
3964 MY(alpha_fade) = 190;
3965 MY(color_min) = "0xff0000";
3966 MY(color_max) = "0xff7800";
3967 MY(count) = 2.500000;
3968 MY(gravity) = -0.060000;
3969 MY(originjitter) = '5.0 5.0 5.0';
3970 MY(sizeincrease) = 10;
3976 MY(velocityjitter) = '25.0 25.0 25.0';
3979 // pieces of glass or ice falling on the floor
3982 MY(airfriction) = 3;
3983 MY(alpha_min) = 256;
3984 MY(alpha_max) = 256;
3986 MY(color_min) = "0xffffff";
3987 MY(color_max) = "0xb2d3e6";
3989 MY(gravity) = 1.300000;
3990 MY(originjitter) = '30.0 30.0 30.0';
3997 MY(type) = "alphastatic";
3998 MY(velocityjitter) = '100.0 100.0 100.0';
4001 // cover small area in poison gas, spawn it once per second
4004 MY(airfriction) = 1;
4005 MY(alpha_min) = 256;
4006 MY(alpha_max) = 256;
4007 MY(alpha_fade) = 50;
4008 MY(bounce) = 1.500000;
4009 MY(color_min) = "0x00ff00";
4010 MY(color_max) = "0x7db843";
4012 MY(gravity) = -0.010000;
4013 MY(originjitter) = '333.0 333.0 50.0';
4014 MY(sizeincrease) = 30;
4019 MY(velocityjitter) = '5.0 5.0 5.0';
4022 // cover small area in icy mist, spawn it once per second
4025 MY(airfriction) = 1;
4026 MY(alpha_min) = 256;
4027 MY(alpha_max) = 256;
4028 MY(alpha_fade) = 50;
4029 MY(bounce) = 1.500000;
4030 MY(color_min) = "0x008aff";
4031 MY(color_max) = "0x75e7ff";
4033 MY(gravity) = -0.010000;
4034 MY(originjitter) = '333.0 333.0 0.0';
4035 MY(sizeincrease) = 10;
4040 MY(velocityjitter) = '5.0 5.0 30.0';
4043 MY(alpha_min) = 256;
4044 MY(alpha_max) = 256;
4045 MY(alpha_fade) = 50;
4046 MY(color_min) = "0x008aff";
4047 MY(color_max) = "0x75e7ff";
4049 MY(gravity) = -0.001000;
4050 MY(originjitter) = '333.0 333.0 0.0';
4051 MY(sizeincrease) = 10;
4059 // 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 )
4061 // flames that go up
4063 MY(airfriction) = 1;
4065 MY(alpha_max) = 256;
4066 MY(alpha_fade) = 200;
4067 MY(bounce) = 1.500000;
4068 MY(color_min) = "0x8f0d00";
4069 MY(color_max) = "0xff5a00";
4071 MY(gravity) = -0.060000;
4072 MY(originjitter) = '180.0 180.0 0.0';
4073 MY(sizeincrease) = 20;
4079 MY(velocityjitter) = '5.0 5.0 30.0';
4081 // flames that stay on the ground
4084 MY(alpha_max) = 256;
4085 MY(alpha_fade) = 200;
4086 MY(color_min) = "0x8f0d00";
4087 MY(color_max) = "0xff5a00";
4089 MY(originjitter) = '180.0 180.0 0.0';
4090 MY(sizeincrease) = 40;
4099 MY(alpha_min) = 256;
4100 MY(alpha_max) = 256;
4101 MY(alpha_fade) = 70;
4102 MY(color_min) = "0x000000";
4103 MY(color_max) = "0x111111";
4105 MY(gravity) = -0.020000;
4106 MY(originjitter) = '180.0 180.0 0.0';
4107 MY(sizeincrease) = 7;
4111 MY(type) = "alphastatic";
4114 // flamethrower, spawn it as fast as you can 20 times per second or more, it needs direction
4118 MY(airfriction) = 1.200000;
4120 MY(alpha_max) = 256;
4121 MY(alpha_fade) = 250;
4122 MY(bounce) = 1.500000;
4123 MY(color_min) = "0x8f0d00";
4124 MY(color_max) = "0xff5a00";
4126 MY(gravity) = -0.060000;
4127 MY(sizeincrease) = 20;
4133 MY(velocityjitter) = '40.0 40.0 11.0';
4134 MY(velocitymultiplier) = 30;
4138 MY(airfriction) = 1.200000;
4140 MY(alpha_max) = 256;
4141 MY(alpha_fade) = 200;
4142 MY(bounce) = 1.500000;
4143 MY(color_min) = "0x8f0d00";
4144 MY(color_max) = "0xff5a00";
4145 MY(count) = 2.500000;
4146 MY(gravity) = -0.060000;
4147 MY(sizeincrease) = 20;
4153 MY(velocityjitter) = '40.0 40.0 40.0';
4154 MY(velocitymultiplier) = 20;
4156 // very slow and small fire
4158 MY(airfriction) = 0.300000;
4160 MY(alpha_max) = 256;
4161 MY(alpha_fade) = 200;
4162 MY(bounce) = 1.500000;
4163 MY(color_min) = "0x8f0d00";
4164 MY(color_max) = "0xff5a00";
4165 MY(count) = 1.500000;
4166 MY(gravity) = -0.060000;
4167 MY(sizeincrease) = 10;
4173 MY(velocityjitter) = '30.0 30.0 30.0';
4174 MY(velocitymultiplier) = 10;
4178 MY(airfriction) = 0.300000;
4180 MY(alpha_max) = 256;
4181 MY(alpha_fade) = 200;
4182 MY(bounce) = 1.500000;
4183 MY(color_min) = "0x8f0d00";
4184 MY(color_max) = "0xff5a00";
4186 MY(gravity) = -0.060000;
4187 MY(sizeincrease) = -10;
4193 MY(velocityjitter) = '10.0 10.0 10.0';
4194 MY(velocitymultiplier) = 15;
4198 MY(airfriction) = 1;
4199 MY(alpha_min) = 256;
4200 MY(alpha_max) = 256;
4201 MY(alpha_fade) = 90;
4202 MY(color_min) = "0x000000";
4203 MY(color_max) = "0x111111";
4204 MY(count) = 0.500000;
4205 MY(originjitter) = '10.0 10.0 10.0';
4206 MY(sizeincrease) = 7;
4210 MY(type) = "alphastatic";
4211 MY(velocitymultiplier) = 20;
4212 MY(velocityoffset) = '0.0 0.0 10.0';
4215 // port-o-launch trail
4217 // glowing vapor trail
4219 MY(alpha_min) = 256;
4220 MY(alpha_max) = 256;
4221 MY(alpha_fade) = 968;
4222 MY(color_min) = "0x404040";
4223 MY(color_max) = "0x404040";
4224 MY(lightcolor) = '1.5 3.0 6.0';
4225 MY(lightradius) = 90;
4230 MY(trailspacing) = 4;
4231 MY(type) = "static";
4232 MY(velocitymultiplier) = -0.100000;
4236 MY(airfriction) = 12;
4237 MY(alpha_min) = 444;
4238 MY(alpha_max) = 512;
4239 MY(alpha_fade) = 1866;
4241 MY(color_min) = "0x404040";
4242 MY(color_max) = "0x404040";
4243 MY(count) = 1.500000;
4244 MY(originjitter) = '1.0 1.0 1.0';
4245 MY(sizeincrease) = -20;
4250 MY(trailspacing) = 12;
4252 MY(velocityjitter) = '50.0 50.0 50.0';
4253 MY(velocityoffset) = '0.0 0.0 15.0';
4258 // glowing vapor trail
4260 MY(alpha_min) = 256;
4261 MY(alpha_max) = 256;
4262 MY(alpha_fade) = 968;
4263 MY(color_min) = "0x804000";
4264 MY(color_max) = "0x804000";
4265 MY(lightcolor) = '1.5 3.0 6.0';
4266 MY(lightradius) = 90;
4271 MY(trailspacing) = 4;
4272 MY(type) = "static";
4273 MY(velocitymultiplier) = -0.100000;
4277 MY(airfriction) = 12;
4278 MY(alpha_min) = 444;
4279 MY(alpha_max) = 512;
4280 MY(alpha_fade) = 1866;
4282 MY(color_min) = "0xff8000";
4283 MY(color_max) = "0xff8000";
4284 MY(count) = 1.500000;
4285 MY(originjitter) = '1.0 1.0 1.0';
4286 MY(sizeincrease) = -20;
4291 MY(trailspacing) = 12;
4293 MY(velocityjitter) = '50.0 50.0 50.0';
4294 MY(velocityoffset) = '0.0 0.0 15.0';
4299 MY(alpha_min) = 256;
4300 MY(alpha_max) = 256;
4301 MY(countabsolute) = 1;
4302 MY(lightcolor) = '8.0 4.0 1.0';
4303 MY(lightradiusfade) = 400;
4304 MY(lightradius) = 150;
4305 MY(originjitter) = '40.0 40.0 40.0';
4312 // fire effect which make bright dot inside
4314 MY(airfriction) = 8;
4315 MY(alpha_min) = 128;
4316 MY(alpha_max) = 256;
4317 MY(alpha_fade) = 456;
4318 MY(bounce) = 1.500000;
4319 MY(color_min) = "0xffe955";
4320 MY(color_max) = "0xff5a00";
4322 MY(liquidfriction) = 8;
4323 MY(notunderwater) = true;
4324 MY(originjitter) = '8.0 8.0 8.0';
4325 MY(sizeincrease) = 5;
4331 MY(velocityjitter) = '156.0 156.0 156.0';
4333 // fire effect which expands then slows
4335 MY(airfriction) = 12;
4336 MY(alpha_min) = 128;
4337 MY(alpha_max) = 256;
4338 MY(alpha_fade) = 456;
4339 MY(bounce) = 1.500000;
4340 MY(color_min) = "0x8f0d00";
4341 MY(color_max) = "0xff5a00";
4343 MY(liquidfriction) = 8;
4344 MY(notunderwater) = true;
4345 MY(originjitter) = '8.0 8.0 8.0';
4346 MY(sizeincrease) = 15;
4351 MY(type) = "static";
4352 MY(velocityjitter) = '256.0 256.0 256.0';
4356 MY(airfriction) = 5;
4357 MY(alpha_min) = 500;
4358 MY(alpha_max) = 600;
4359 MY(alpha_fade) = 556;
4361 MY(color_min) = "0x000000";
4362 MY(color_max) = "0x111111";
4364 MY(notunderwater) = true;
4365 MY(sizeincrease) = 20;
4369 MY(type) = "alphastatic";
4370 MY(velocityjitter) = '244.0 244.0 244.0';
4372 // underwater bubbles
4374 MY(alpha_min) = 128;
4375 MY(alpha_max) = 256;
4376 MY(alpha_fade) = 64;
4377 MY(bounce) = 1.500000;
4378 MY(color_min) = "0x404040";
4379 MY(color_max) = "0x808080";
4381 MY(gravity) = -0.125000;
4382 MY(liquidfriction) = 0.250000;
4383 MY(originjitter) = '16.0 16.0 16.0';
4388 MY(type) = "bubble";
4389 MY(underwater) = true;
4390 MY(velocityjitter) = '96.0 96.0 96.0';
4394 MY(airfriction) = 0.200000;
4395 MY(alpha_min) = 256;
4396 MY(alpha_max) = 256;
4397 MY(alpha_fade) = 384;
4398 MY(bounce) = 1.500000;
4399 MY(color_min) = "0x903010";
4400 MY(color_max) = "0xFFD030";
4403 MY(liquidfriction) = 0.800000;
4404 MY(notunderwater) = true;
4410 MY(velocityjitter) = '256.0 256.0 256.0';
4411 MY(velocityoffset) = '0.0 0.0 80.0';
4414 // bullet trail (somewhat like a tracer)
4417 MY(alpha_min) = 256;
4418 MY(alpha_max) = 256;
4419 MY(alpha_fade) = 2560;
4420 MY(color_min) = "0xff8960";
4421 MY(color_max) = "0xff8533";
4424 MY(stretchfactor) = 0.200000;
4427 MY(trailspacing) = 750;
4429 MY(velocitymultiplier) = 3;
4432 // smoke emitter for small pipes
4433 DEF(smoking_smallemitter);
4434 SUB(smoking_smallemitter) {
4435 MY(airfriction) = -1;
4436 MY(alpha_min) = 200;
4437 MY(alpha_max) = 256;
4438 MY(alpha_fade) = 100;
4439 MY(color_min) = "0x292929";
4440 MY(color_max) = "0x000000";
4442 MY(gravity) = -0.100000;
4443 MY(originjitter) = '10.0 10.0 10.0';
4444 MY(sizeincrease) = 20;
4448 MY(type) = "alphastatic";
4449 MY(velocityjitter) = '5.0 5.0 20.0';
4453 DEF(TR_CRYLINKPLASMA);
4455 SUB(TR_CRYLINKPLASMA) {
4456 MY(alpha_min) = 256;
4457 MY(alpha_max) = 256;
4458 MY(alpha_fade) = 1024;
4459 MY(color_min) = "0x5522aa";
4460 MY(color_max) = "0x6622ff";
4461 MY(sizeincrease) = 8;
4466 MY(trailspacing) = 128;
4467 MY(type) = "static";
4468 MY(velocityjitter) = '8.0 8.0 8.0';
4469 MY(velocitymultiplier) = -0.010000;
4471 // crylink main trail
4472 SUB(TR_CRYLINKPLASMA) {
4473 MY(alpha_min) = 256;
4474 MY(alpha_max) = 256;
4475 MY(alpha_fade) = 2600;
4476 MY(color_min) = "0x5522aa";
4477 MY(color_max) = "0x6622ff";
4478 MY(sizeincrease) = 15;
4483 MY(trailspacing) = 16;
4484 MY(type) = "static";
4485 MY(velocityjitter) = '2.0 2.0 2.0';
4486 MY(velocitymultiplier) = 0.010000;
4490 SUB(cherryblossom) {
4491 MY(airfriction) = 1;
4492 MY(alpha_min) = 128;
4493 MY(alpha_max) = 256;
4494 MY(alpha_fade) = 32;
4495 MY(bounce) = 1.500000;
4496 MY(color_min) = "0xb123ff";
4497 MY(color_max) = "0xb183ff";
4498 MY(count) = 1.500000;
4499 MY(gravity) = 0.050000;
4500 MY(liquidfriction) = 1;
4501 MY(originjitter) = '16.0 16.0 16.0';
4502 MY(size_min) = 1.500000;
4506 MY(type) = "static";
4507 MY(velocityjitter) = '32.0 32.0 0.0';
4512 MY(airfriction) = 0.400000;
4513 MY(alpha_min) = 1560;
4514 MY(alpha_max) = 2560;
4515 MY(alpha_fade) = 7000;
4516 MY(blend) = "invmod";
4518 MY(color_min) = "0xDC9BCD";
4519 MY(color_max) = "0xDC9BCD";
4520 MY(count) = 0.400000;
4521 MY(sizeincrease) = 20;
4524 MY(staincolor_min) = "0xDC9BCD";
4525 MY(staincolor_max) = "0xDC9BCD";
4526 MY(stainsize_min) = 1;
4527 MY(stainsize_max) = 2;
4528 MY(staintex_min) = 16;
4529 MY(staintex_max) = 24;
4530 MY(stretchfactor) = 25;
4534 MY(velocityjitter) = '99.0 99.0 55.0';
4538 MY(alpha_min) = 3000;
4539 MY(alpha_max) = 5560;
4540 MY(alpha_fade) = 12000;
4541 MY(blend) = "invmod";
4542 MY(color_min) = "0xDC9BCD";
4543 MY(color_max) = "0xDC9BCD";
4544 MY(countabsolute) = 1;
4545 MY(originjitter) = '11.0 11.0 11.0';
4546 MY(sizeincrease) = 20;
4556 MY(airfriction) = 1;
4557 MY(alpha_min) = 256;
4558 MY(alpha_max) = 256;
4559 MY(alpha_fade) = 64;
4561 MY(color_min) = "0xff3000";
4562 MY(color_max) = "0xff7373";
4563 MY(count) = 0.167000;
4565 MY(liquidfriction) = 4;
4571 MY(velocityjitter) = '264.0 264.0 264.0';
4572 MY(velocityoffset) = '0.0 0.0 100.0';
4577 MY(alpha_fade) = 1000;
4578 MY(color_min) = "0xff8400";
4579 MY(color_max) = "0xffbb72";
4580 MY(countabsolute) = 1;
4581 MY(originjitter) = '11.0 11.0 11.0';
4582 MY(sizeincrease) = 800;
4591 MY(alpha_min) = 256;
4592 MY(alpha_max) = 256;
4593 MY(alpha_fade) = 5120;
4594 MY(color_min) = "0xff3000";
4595 MY(color_max) = "0xff8585";
4596 MY(count) = 0.100000;
4597 MY(originjitter) = '41.0 41.0 21.0';
4598 MY(startangle_min) = -180;
4599 MY(startangle_max) = 180;
4600 MY(spin_min) = 4000;
4601 MY(spin_max) = -4000;
4609 DEF(alien_TR_BLOOD);
4610 SUB(alien_TR_BLOOD) {
4611 MY(airfriction) = -2;
4612 MY(alpha_min) = 384;
4613 MY(alpha_max) = 984;
4614 MY(alpha_fade) = 1492;
4615 MY(blend) = "invmod";
4617 MY(color_min) = "0xC080B0";
4618 MY(color_max) = "0xC080B0";
4619 MY(gravity) = 0.400000;
4620 MY(liquidfriction) = 1;
4621 MY(sizeincrease) = -5;
4624 MY(staincolor_min) = "0xC080B0";
4625 MY(staincolor_max) = "0xC080B0";
4626 MY(stainsize_min) = 1;
4627 MY(stainsize_max) = 2;
4628 MY(staintex_min) = 16;
4629 MY(staintex_max) = 24;
4630 MY(stretchfactor) = 7;
4633 MY(trailspacing) = 20;
4635 MY(velocityjitter) = '64.0 64.0 64.0';
4636 MY(velocitymultiplier) = -0.100000;
4639 // splash around gib
4641 MY(alpha_min) = 684;
4642 MY(alpha_max) = 684;
4643 MY(alpha_fade) = 7492;
4644 MY(color_min) = "0xA8FFFF";
4645 MY(color_max) = "0xA8FFFF";
4646 MY(sizeincrease) = 500;
4651 MY(trailspacing) = 42;
4655 DEF(robot_TR_BLOOD);
4656 SUB(robot_TR_BLOOD) {
4657 MY(airfriction) = -2;
4658 MY(alpha_min) = 384;
4659 MY(alpha_max) = 984;
4660 MY(alpha_fade) = 1892;
4661 MY(blend) = "invmod";
4663 MY(color_min) = "0xC0D890";
4664 MY(color_max) = "0xC0D890";
4665 MY(gravity) = 0.400000;
4666 MY(liquidfriction) = 1;
4667 MY(sizeincrease) = -6;
4670 MY(staincolor_min) = "0x808080";
4671 MY(staincolor_max) = "0x808080";
4672 MY(stainsize_min) = 1;
4673 MY(stainsize_max) = 3;
4674 MY(staintex_min) = 16;
4675 MY(staintex_max) = 24;
4676 MY(stretchfactor) = 6;
4679 MY(trailspacing) = 16;
4681 MY(velocityjitter) = '64.0 64.0 64.0';
4682 MY(velocitymultiplier) = -0.300000;
4685 SUB(robot_TR_BLOOD) {
4686 MY(airfriction) = 4;
4687 MY(alpha_min) = 128;
4688 MY(alpha_max) = 256;
4689 MY(alpha_fade) = 900;
4690 MY(color_min) = "0x902010";
4691 MY(color_max) = "0xff3600";
4693 MY(liquidfriction) = 4;
4694 MY(notunderwater) = true;
4695 MY(sizeincrease) = 10;
4698 MY(stretchfactor) = 5;
4701 MY(trailspacing) = 16;
4703 MY(velocityjitter) = '44.0 44.0 44.0';
4706 SUB(robot_TR_BLOOD) {
4707 MY(alpha_min) = 1128;
4708 MY(alpha_max) = 1256;
4709 MY(alpha_fade) = 44900;
4710 MY(color_min) = "0xff3000";
4711 MY(color_max) = "0xff8585";
4712 MY(startangle_min) = -180;
4713 MY(startangle_max) = 180;
4714 MY(spin_min) = 4000;
4715 MY(spin_max) = -4000;
4720 MY(trailspacing) = 128;
4722 MY(velocityjitter) = '44.0 44.0 44.0';
4725 DEF(alien_TR_SLIGHTBLOOD);
4726 SUB(alien_TR_SLIGHTBLOOD) {
4727 MY(airfriction) = 1;
4728 MY(alpha_min) = 384;
4729 MY(alpha_max) = 384;
4730 MY(alpha_fade) = 192;
4732 MY(color_min) = "0xC080B0";
4733 MY(color_max) = "0xC080B0";
4734 MY(liquidfriction) = 4;
4737 MY(staincolor_min) = "0x808080";
4738 MY(staincolor_max) = "0x808080";
4739 MY(staintex_min) = 16;
4740 MY(staintex_max) = 24;
4743 MY(trailspacing) = 64;
4745 MY(velocityjitter) = '64.0 64.0 64.0';
4746 MY(velocitymultiplier) = 0.500000;
4749 DEF(robot_TR_SLIGHTBLOOD);
4750 SUB(robot_TR_SLIGHTBLOOD) {
4751 MY(airfriction) = 1;
4752 MY(alpha_min) = 384;
4753 MY(alpha_max) = 384;
4754 MY(alpha_fade) = 192;
4756 MY(color_min) = "0xC0D890";
4757 MY(color_max) = "0xC0D890";
4758 MY(liquidfriction) = 4;
4761 MY(staincolor_min) = "0x808080";
4762 MY(staincolor_max) = "0x808080";
4763 MY(staintex_min) = 16;
4764 MY(staintex_max) = 24;
4767 MY(trailspacing) = 64;
4769 MY(velocityjitter) = '64.0 64.0 64.0';
4770 MY(velocitymultiplier) = 0.500000;
4774 // flare particle and light
4776 MY(alpha_min) = 128;
4778 MY(alpha_fade) = 64;
4779 MY(color_min) = "0x63F2EA";
4780 MY(color_max) = "0xB0C5C4";
4781 MY(countabsolute) = 1;
4784 MY(type) = "static";
4786 // cloud of particles which expand rapidly and then slow to form a ball
4788 MY(alpha_min) = 256;
4789 MY(alpha_max) = 256;
4790 MY(alpha_fade) = 1280;
4791 MY(color_min) = "0x63F2EA";
4792 MY(color_max) = "0xB0C5C4";
4799 MY(velocityjitter) = '256.0 256.0 256.0';
4804 MY(alpha_min) = 156;
4805 MY(alpha_max) = 656;
4806 MY(alpha_fade) = 1664;
4807 MY(blend) = "invmod";
4809 MY(color_min) = "0xA8FFFF";
4810 MY(color_max) = "0xA8FFFFF";
4813 MY(liquidfriction) = 4;
4816 MY(staincolor_min) = "0x808080";
4817 MY(staincolor_max) = "0x808080";
4818 MY(stainsize_min) = 1;
4819 MY(stainsize_max) = 2;
4820 MY(staintex_min) = 16;
4821 MY(staintex_max) = 24;
4822 MY(stretchfactor) = 3;
4826 MY(velocityjitter) = '764.0 764.0 764.0';
4830 MY(alpha_min) = 156;
4831 MY(alpha_max) = 656;
4832 MY(alpha_fade) = 1664;
4833 MY(blend) = "invmod";
4834 MY(color_min) = "0xA8FFFF";
4835 MY(color_max) = "0xA8FFFFF";
4836 MY(countabsolute) = 0.100000;
4837 MY(originjitter) = '50.0 50.0 50.0';
4838 MY(sizeincrease) = 300;
4846 DEF(alien_bloodshower);
4847 SUB(alien_bloodshower) {
4848 MY(alpha_min) = 156;
4849 MY(alpha_max) = 656;
4850 MY(alpha_fade) = 1664;
4851 MY(blend) = "invmod";
4853 MY(color_min) = "0xC080B0";
4854 MY(color_max) = "0xC080B0";
4857 MY(liquidfriction) = 4;
4860 MY(staincolor_min) = "0xC080B0";
4861 MY(staincolor_max) = "0xC080B0";
4862 MY(stainsize_min) = 1;
4863 MY(stainsize_max) = 2;
4864 MY(staintex_min) = 16;
4865 MY(staintex_max) = 24;
4866 MY(stretchfactor) = 3;
4870 MY(velocityjitter) = '764.0 764.0 764.0';
4874 MY(alpha_min) = 156;
4875 MY(alpha_max) = 656;
4876 MY(alpha_fade) = 1664;
4877 MY(blend) = "invmod";
4878 MY(color_min) = "0xA8FFFF";
4879 MY(color_max) = "0xA8FFFFF";
4880 MY(countabsolute) = 0.100000;
4881 MY(originjitter) = '50.0 50.0 50.0';
4882 MY(sizeincrease) = 300;
4890 DEF(robot_bloodshower);
4891 SUB(robot_bloodshower) {
4892 MY(alpha_min) = 156;
4893 MY(alpha_max) = 656;
4894 MY(alpha_fade) = 1664;
4895 MY(blend) = "invmod";
4897 MY(color_min) = "0xC0D890";
4898 MY(color_max) = "0xC0D890";
4901 MY(liquidfriction) = 4;
4904 MY(staincolor_min) = "0xC0D890";
4905 MY(staincolor_max) = "0xC0D890";
4906 MY(stainsize_min) = 1;
4907 MY(stainsize_max) = 2;
4908 MY(staintex_min) = 16;
4909 MY(staintex_max) = 24;
4910 MY(stretchfactor) = 3;
4914 MY(velocityjitter) = '764.0 764.0 764.0';
4917 SUB(robot_bloodshower) {
4918 MY(alpha_min) = 1128;
4919 MY(alpha_max) = 1256;
4920 MY(alpha_fade) = 4200;
4921 MY(color_min) = "0xff3000";
4922 MY(color_max) = "0xff8585";
4923 MY(count) = 2.500000;
4924 MY(originjitter) = '150.0 150.0 150.0';
4925 MY(startangle_min) = -180;
4926 MY(startangle_max) = 180;
4934 MY(velocityjitter) = '44.0 44.0 44.0';
4937 SUB(robot_bloodshower) {
4939 MY(alpha_max) = 125;
4940 MY(alpha_fade) = 990;
4941 MY(color_min) = "0xff3000";
4942 MY(color_max) = "0xff8585";
4943 MY(count) = 2.500000;
4944 MY(sizeincrease) = 3000;
4952 #define ground_quake(name, colormin, colormax) \
4953 DEF(name##_ground_quake); \
4954 SUB(name##_ground_quake) /* smoke */ { \
4955 MY(airfriction) = 3; \
4956 MY(alpha_min) = 100; \
4957 MY(alpha_max) = 126; \
4958 MY(alpha_fade) = 200; \
4959 MY(bounce) = 1.100000; \
4960 MY(color_min) = "0x111111"; \
4961 MY(color_max) = "0xbbbbbb"; \
4963 MY(gravity) = 0.500000; \
4964 MY(notunderwater) = true; \
4965 MY(sizeincrease) = 100; \
4966 MY(size_min) = 20; \
4967 MY(size_max) = 50; \
4970 MY(time_max) = 10; \
4971 MY(type) = "smoke"; \
4972 MY(velocityjitter) = '190.0 190.0 50.0'; \
4974 SUB(name##_ground_quake) { \
4975 MY(airfriction) = 4; \
4976 MY(alpha_min) = 100; \
4977 MY(alpha_max) = 126; \
4978 MY(alpha_fade) = 200; \
4979 MY(bounce) = 1.200000; \
4980 MY(color_min) = "0x111111"; \
4981 MY(color_max) = "0x979797"; \
4983 MY(gravity) = 0.200000; \
4984 MY(notunderwater) = true; \
4985 MY(sizeincrease) = 60; \
4986 MY(size_min) = 10; \
4987 MY(size_max) = 30; \
4989 MY(time_min) = 10; \
4990 MY(time_max) = 15; \
4991 MY(type) = "smoke"; \
4992 MY(velocityjitter) = '190.0 190.0 50.0'; \
4994 SUB(name##_ground_quake) { \
4995 MY(alpha_min) = 200; \
4996 MY(alpha_max) = 356; \
4997 MY(alpha_fade) = 512; \
4999 MY(color_min) = colormin; \
5000 MY(color_max) = colormax; \
5002 MY(gravity) = -0.500000; \
5003 MY(originjitter) = '33.0 33.0 33.0'; \
5004 MY(sizeincrease) = 5; \
5006 MY(size_max) = 20; \
5009 MY(time_min) = 15; \
5010 MY(time_max) = 25; \
5011 MY(type) = "smoke"; \
5012 MY(velocityjitter) = '22.0 22.0 50.0'; \
5014 SUB(name##_ground_quake) /* smoke */ { \
5015 MY(alpha_min) = 200; \
5016 MY(alpha_max) = 256; \
5017 MY(alpha_fade) = 200; \
5019 MY(color_min) = "0x000000"; \
5020 MY(color_max) = "0xffffff"; \
5022 MY(gravity) = -0.300000; \
5023 MY(originjitter) = '44.0 44.0 44.0'; \
5024 MY(sizeincrease) = 11; \
5025 MY(size_min) = 22; \
5026 MY(size_max) = 33; \
5028 MY(time_min) = 25; \
5029 MY(time_max) = 35; \
5030 MY(type) = "alphastatic"; \
5031 MY(velocityjitter) = '11.0 11.0 50.0'; \
5035 ground_quake(red, "0x9E6A64", "0x91302D")
5036 ground_quake(blue, "0x64679E", "0x2D4C91")
5039 #include "effectinfo_gentle_morphed.inc"
5041 // Team / hit vaporizer effects
5042 #define TE_TEI_G3(name, colormin1, colormax1, colormin2, colormax2) \
5043 DEF(TE_TEI_G3##name); \
5044 SUB(TE_TEI_G3##name) { \
5045 MY(alpha_min) = 128; \
5046 MY(alpha_max) = 128; \
5047 MY(alpha_fade) = 256; \
5048 MY(color_min) = colormin1; \
5049 MY(color_max) = colormax1; \
5050 MY(countabsolute) = 1; \
5053 MY(tex_min) = 200; \
5054 MY(tex_max) = 200; \
5055 MY(type) = "beam"; \
5057 SUB(TE_TEI_G3##name) { \
5058 MY(airfriction) = -4; \
5059 MY(alpha_min) = 256; \
5060 MY(alpha_max) = 256; \
5061 MY(alpha_fade) = 512; \
5062 MY(color_min) = colormin2; \
5063 MY(color_max) = colormax2; \
5064 MY(sizeincrease) = 3; \
5065 MY(size_min) = 0.300000; \
5066 MY(size_max) = 0.300000; \
5069 MY(trailspacing) = 8; \
5070 MY(type) = "smoke"; \
5071 MY(velocityjitter) = '3.0 3.0 3.0'; \
5073 DEF(TE_TEI_G3##name##_HIT); \
5074 SUB(TE_TEI_G3##name##_HIT) { \
5075 MY(alpha_min) = 128; \
5076 MY(alpha_max) = 128; \
5077 MY(alpha_fade) = 256; \
5078 MY(color_min) = colormin1; \
5079 MY(color_max) = colormax1; \
5080 MY(countabsolute) = 1; \
5083 MY(tex_min) = 200; \
5084 MY(tex_max) = 200; \
5085 MY(type) = "beam"; \
5087 SUB(TE_TEI_G3##name##_HIT) /* rings */ { \
5088 MY(airfriction) = -4; \
5089 MY(alpha_min) = 256; \
5090 MY(alpha_max) = 256; \
5091 MY(alpha_fade) = 512; \
5092 MY(color_min) = "0xFFFFFF"; \
5093 MY(color_max) = colormax1; \
5094 MY(sizeincrease) = -2; \
5097 MY(trailspacing) = 20; \
5098 MY(type) = "smoke"; \
5099 MY(velocityjitter) = '2.0 2.0 2.0'; \
5101 SUB(TE_TEI_G3##name##_HIT) { \
5102 MY(airfriction) = -4; \
5103 MY(alpha_min) = 256; \
5104 MY(alpha_max) = 256; \
5105 MY(alpha_fade) = 512; \
5106 MY(color_min) = colormin1; \
5107 MY(color_max) = colormax1; \
5108 MY(sizeincrease) = -6; \
5109 MY(size_min) = 10; \
5110 MY(size_max) = 10; \
5111 MY(trailspacing) = 40; \
5112 MY(type) = "smoke"; \
5115 TE_TEI_G3(RED, "0xFF0000", "0xFF0011", "0x200000", "0x400000")
5116 TE_TEI_G3(BLUE, "0x0000FF", "0x1100FF", "0x000020", "0x000040")
5117 TE_TEI_G3(YELLOW, "0xffff00", "0xffff11", "0x202000", "0x404000")
5118 TE_TEI_G3(PINK, "0xFF00FF", "0xFF11FF", "0x200020", "0x400040")
5121 #include "effectinfo_gentle_particlegibs.inc"
5123 #include "effectinfo_onslaught.inc"
5127 MY(airfriction) = 1.200000;
5129 MY(alpha_max) = 256;
5130 MY(alpha_fade) = 250;
5131 MY(bounce) = 1.500000;
5132 MY(color_min) = "0x8f0d00";
5133 MY(color_max) = "0xff5a00";
5134 MY(count) = 0.500000;
5135 MY(gravity) = -0.060000;
5136 MY(sizeincrease) = 5;
5141 MY(trailspacing) = 2;
5143 MY(velocityjitter) = '10.0 10.0 2.0';
5147 MY(airfriction) = 1.200000;
5149 MY(alpha_max) = 256;
5150 MY(alpha_fade) = 200;
5151 MY(bounce) = 1.500000;
5152 MY(color_min) = "0x8f0d00";
5153 MY(color_max) = "0xff5a00";
5154 MY(count) = 0.500000;
5155 MY(gravity) = -0.060000;
5156 MY(sizeincrease) = 5;
5161 MY(trailspacing) = 2;
5163 MY(velocityjitter) = '10.0 10.0 10.0';
5165 // very slow and small fire
5167 MY(airfriction) = 0.300000;
5169 MY(alpha_max) = 256;
5170 MY(alpha_fade) = 200;
5171 MY(bounce) = 1.500000;
5172 MY(color_min) = "0x8f0d00";
5173 MY(color_max) = "0xff5a00";
5174 MY(count) = 0.500000;
5175 MY(gravity) = -0.060000;
5176 MY(sizeincrease) = 2;
5181 MY(trailspacing) = 4;
5183 MY(velocityjitter) = '8.0 8.0 8.0';
5187 MY(airfriction) = 0.300000;
5189 MY(alpha_max) = 256;
5190 MY(alpha_fade) = 200;
5191 MY(bounce) = 1.500000;
5192 MY(color_min) = "0x8f0d00";
5193 MY(color_max) = "0xff5a00";
5194 MY(count) = 0.500000;
5195 MY(gravity) = -0.060000;
5196 MY(sizeincrease) = -3;
5201 MY(trailspacing) = 4;
5203 MY(velocityjitter) = '3.0 3.0 3.0';
5207 MY(airfriction) = 1;
5208 MY(alpha_min) = 256;
5209 MY(alpha_max) = 256;
5210 MY(alpha_fade) = 90;
5211 MY(color_min) = "0x000000";
5212 MY(color_max) = "0x111111";
5213 MY(count) = 0.500000;
5214 MY(originjitter) = '2.0 2.0 2.0';
5215 MY(sizeincrease) = 1;
5219 MY(trailspacing) = 8;
5220 MY(type) = "alphastatic";
5221 MY(velocityoffset) = '0.0 0.0 3.0';
5225 MY(airfriction) = 1.200000;
5227 MY(alpha_max) = 256;
5228 MY(alpha_fade) = 1600;
5229 MY(bounce) = 1.500000;
5230 MY(color_min) = "0x8f0d00";
5231 MY(color_max) = "0xff5a00";
5232 MY(count) = 0.500000;
5237 MY(trailspacing) = 1;
5242 MY(lightcolor) = '2.7 2.7 0.6';
5243 MY(lightradiusfade) = 50000;
5244 MY(lightradius) = 50;
5245 MY(trailspacing) = 16;
5250 MY(airfriction) = 1.200000;
5252 MY(alpha_max) = 256;
5253 MY(alpha_fade) = 250;
5254 MY(bounce) = 1.500000;
5255 MY(color_min) = "0x8f0d00";
5256 MY(color_max) = "0xff5a00";
5257 MY(count) = 0.500000;
5258 MY(gravity) = -0.060000;
5259 MY(sizeincrease) = 20;
5264 MY(trailspacing) = 2;
5266 MY(velocityjitter) = '40.0 40.0 11.0';
5270 MY(airfriction) = 1.200000;
5272 MY(alpha_max) = 256;
5273 MY(alpha_fade) = 200;
5274 MY(bounce) = 1.500000;
5275 MY(color_min) = "0x8f0d00";
5276 MY(color_max) = "0xff5a00";
5277 MY(count) = 0.500000;
5278 MY(gravity) = -0.060000;
5279 MY(sizeincrease) = 20;
5284 MY(trailspacing) = 2;
5286 MY(velocityjitter) = '40.0 40.0 40.0';
5288 // very slow and small fire
5290 MY(airfriction) = 0.300000;
5292 MY(alpha_max) = 256;
5293 MY(alpha_fade) = 200;
5294 MY(bounce) = 1.500000;
5295 MY(color_min) = "0x8f0d00";
5296 MY(color_max) = "0xff5a00";
5297 MY(count) = 0.500000;
5298 MY(gravity) = -0.060000;
5299 MY(sizeincrease) = 10;
5304 MY(trailspacing) = 4;
5306 MY(velocityjitter) = '30.0 30.0 30.0';
5310 MY(airfriction) = 0.300000;
5312 MY(alpha_max) = 256;
5313 MY(alpha_fade) = 200;
5314 MY(bounce) = 1.500000;
5315 MY(color_min) = "0x8f0d00";
5316 MY(color_max) = "0xff5a00";
5317 MY(count) = 0.500000;
5318 MY(gravity) = -0.060000;
5319 MY(sizeincrease) = -10;
5324 MY(trailspacing) = 4;
5326 MY(velocityjitter) = '10.0 10.0 10.0';
5330 MY(airfriction) = 1;
5331 MY(alpha_min) = 256;
5332 MY(alpha_max) = 256;
5333 MY(alpha_fade) = 90;
5334 MY(color_min) = "0x000000";
5335 MY(color_max) = "0x111111";
5336 MY(count) = 0.500000;
5337 MY(originjitter) = '10.0 10.0 10.0';
5338 MY(sizeincrease) = 7;
5342 MY(trailspacing) = 8;
5343 MY(type) = "alphastatic";
5344 MY(velocityoffset) = '0.0 0.0 10.0';
5348 MY(airfriction) = 1.200000;
5350 MY(alpha_max) = 256;
5351 MY(alpha_fade) = 1600;
5352 MY(bounce) = 1.500000;
5353 MY(color_min) = "0x8f0d00";
5354 MY(color_max) = "0xff5a00";
5355 MY(count) = 0.500000;
5360 MY(trailspacing) = 1;
5365 MY(lightcolor) = '2.7 2.7 0.6';
5366 MY(lightradiusfade) = 3000;
5367 MY(lightradius) = 300;
5368 MY(trailspacing) = 16;
5371 DEF(fireball_laser);
5372 SUB(fireball_laser) {
5373 MY(alpha_min) = 192;
5374 MY(alpha_max) = 256;
5375 MY(alpha_fade) = 2560;
5376 MY(color_min) = "0x800000";
5377 MY(color_max) = "0xFF8020";
5381 MY(stretchfactor) = 0.700000;
5383 MY(velocityjitter) = '1.0 1.0 1.0';
5384 MY(velocitymultiplier) = 10;
5387 // rocket explosion (bigger than mortar and hagar)
5388 DEF(fireball_explode);
5390 SUB(fireball_explode) {
5391 MY(alpha_min) = 256;
5392 MY(alpha_max) = 256;
5393 MY(countabsolute) = 1;
5394 MY(lightcolor) = '4.0 2.0 0.5';
5395 MY(lightradiusfade) = 500;
5396 MY(lightradius) = 500;
5397 MY(originjitter) = '56.0 56.0 56.0';
5405 SUB(fireball_explode) {
5406 MY(alpha_min) = 192;
5407 MY(alpha_max) = 192;
5408 MY(alpha_fade) = 64;
5409 MY(color_min) = "0x404040";
5410 MY(color_max) = "0x404040";
5411 MY(countabsolute) = 1;
5416 MY(type) = "static";
5419 SUB(fireball_explode) {
5420 MY(airfriction) = 4;
5421 MY(alpha_min) = 128;
5422 MY(alpha_max) = 128;
5423 MY(alpha_fade) = 256;
5424 MY(bounce) = 1.500000;
5425 MY(color_min) = "0x902010";
5426 MY(color_max) = "0xFFD080";
5428 MY(liquidfriction) = 4;
5429 MY(notunderwater) = true;
5430 MY(originjitter) = '8.0 8.0 8.0';
5435 MY(type) = "static";
5436 MY(velocityjitter) = '512.0 512.0 512.0';
5438 // underwater bubbles
5439 SUB(fireball_explode) {
5440 MY(alpha_min) = 128;
5441 MY(alpha_max) = 256;
5442 MY(alpha_fade) = 64;
5443 MY(bounce) = 1.500000;
5444 MY(color_min) = "0x404040";
5445 MY(color_max) = "0x808080";
5447 MY(gravity) = -0.125000;
5448 MY(liquidfriction) = 0.250000;
5449 MY(originjitter) = '16.0 16.0 16.0';
5454 MY(type) = "bubble";
5455 MY(underwater) = true;
5456 MY(velocityjitter) = '144.0 144.0 144.0';
5459 SUB(fireball_explode) {
5460 MY(airfriction) = 0.200000;
5461 MY(alpha_min) = 256;
5462 MY(alpha_max) = 256;
5463 MY(alpha_fade) = 384;
5464 MY(bounce) = 1.500000;
5465 MY(color_min) = "0x903010";
5466 MY(color_max) = "0xFFD030";
5469 MY(liquidfriction) = 0.800000;
5470 MY(notunderwater) = true;
5474 MY(velocityjitter) = '384.0 384.0 384.0';
5475 MY(velocityoffset) = '0.0 0.0 80.0';
5478 DEF(fireball_muzzleflash);
5479 SUB(fireball_muzzleflash) {
5480 MY(alpha_min) = 256;
5481 MY(alpha_max) = 256;
5482 MY(alpha_fade) = 512;
5483 MY(color_min) = "0x202020";
5484 MY(color_max) = "0x404040";
5486 MY(lightcolor) = '2.0 1.5 0.2';
5487 MY(lightradiusfade) = 2000;
5488 MY(lightradius) = 200;
5489 MY(originjitter) = '1.5 1.5 1.5';
5494 MY(velocityjitter) = '6.0 6.0 6.0';
5495 MY(velocitymultiplier) = 0.010000;
5497 SUB(fireball_muzzleflash) {
5498 MY(airfriction) = 12;
5499 MY(alpha_max) = 128;
5500 MY(alpha_fade) = 1024;
5501 MY(color_min) = "0xFFFDD9";
5502 MY(color_max) = "0xFFFDD9";
5504 MY(originjitter) = '1.0 1.0 1.0';
5510 MY(velocityjitter) = '300.0 300.0 300.0';
5511 MY(velocitymultiplier) = 0.500000;
5514 DEF(fireball_preattack_muzzleflash);
5515 SUB(fireball_preattack_muzzleflash) {
5516 MY(alpha_min) = 256;
5517 MY(alpha_max) = 256;
5518 MY(alpha_fade) = 512;
5519 MY(color_min) = "0x202020";
5520 MY(color_max) = "0x404040";
5522 MY(lightcolor) = '2.0 1.5 0.2';
5523 MY(lightradiusfade) = 2000;
5524 MY(lightradius) = 200;
5525 MY(originjitter) = '1.5 1.5 1.5';
5530 MY(velocityjitter) = '6.0 6.0 6.0';
5531 MY(velocitymultiplier) = 0.010000;
5533 SUB(fireball_preattack_muzzleflash) {
5534 MY(airfriction) = 12;
5535 MY(alpha_max) = 128;
5536 MY(alpha_fade) = 1024;
5537 MY(color_min) = "0xFFFDD9";
5538 MY(color_max) = "0xFFFDD9";
5540 MY(originjitter) = '1.0 1.0 1.0';
5546 MY(velocityjitter) = '300.0 300.0 300.0';
5547 MY(velocitymultiplier) = 0.500000;
5550 DEF(fireball_bfgdamage);
5551 SUB(fireball_bfgdamage) {
5552 MY(alpha_min) = 256;
5553 MY(alpha_max) = 256;
5554 MY(alpha_fade) = 512;
5555 MY(color_min) = "0x202020";
5556 MY(color_max) = "0x404040";
5558 MY(lightcolor) = '2.0 1.5 0.2';
5559 MY(lightradiusfade) = 2000;
5560 MY(lightradius) = 200;
5561 MY(originjitter) = '1.5 1.5 1.5';
5566 MY(velocityjitter) = '6.0 6.0 6.0';
5567 MY(velocitymultiplier) = 0.010000;
5569 SUB(fireball_bfgdamage) {
5570 MY(airfriction) = 12;
5571 MY(alpha_max) = 128;
5572 MY(alpha_fade) = 1024;
5573 MY(color_min) = "0xFFFDD9";
5574 MY(color_max) = "0xFFFDD9";
5576 MY(originjitter) = '1.0 1.0 1.0';
5582 MY(velocityjitter) = '300.0 300.0 300.0';
5583 MY(velocitymultiplier) = 0.500000;
5589 MY(alpha_min) = 200;
5590 MY(alpha_max) = 356;
5591 MY(alpha_fade) = 512;
5593 MY(color_min) = "0x8f0d00";
5594 MY(color_max) = "0xff5a00";
5596 MY(gravity) = -0.500000;
5597 MY(originjitter) = '12.0 12.0 34.0';
5598 MY(originoffset) = '0.0 0.0 10.0';
5599 MY(sizeincrease) = -1;
5605 MY(velocityjitter) = '22.0 22.0 50.0';
5609 MY(alpha_min) = 200;
5610 MY(alpha_max) = 256;
5611 MY(alpha_fade) = 200;
5613 MY(color_min) = "0x000000";
5614 MY(color_max) = "0x111111";
5616 MY(gravity) = -0.300000;
5617 MY(originjitter) = '12.0 12.0 34.0';
5618 MY(originoffset) = '0.0 0.0 10.0';
5619 MY(sizeincrease) = 6;
5623 MY(type) = "alphastatic";
5624 MY(velocityjitter) = '11.0 11.0 50.0';
5627 MY(count) = 0.500000;
5628 MY(lightcolor) = '0.9 0.9 0.2';
5629 MY(lightradiusfade) = 10000;
5630 MY(lightradius) = 200;
5633 // rifle bullet trail (somewhat like a tracer)
5636 MY(alpha_min) = 256;
5637 MY(alpha_max) = 256;
5638 MY(alpha_fade) = 2560;
5639 MY(color_min) = "0x800000";
5640 MY(color_max) = "0xFF8020";
5641 MY(size_min) = 1.500000;
5642 MY(size_max) = 1.500000;
5643 MY(stretchfactor) = 1;
5644 MY(trailspacing) = 128;
5646 MY(velocitymultiplier) = 0.700000;
5649 MY(airfriction) = -4;
5650 MY(alpha_min) = 256;
5651 MY(alpha_max) = 256;
5652 MY(alpha_fade) = 256;
5653 MY(color_min) = "0x202020";
5654 MY(color_max) = "0x404040";
5655 MY(notunderwater) = true;
5656 MY(sizeincrease) = 0.400000;
5660 MY(trailspacing) = 8;
5662 MY(velocityjitter) = '4.0 4.0 4.0';
5665 MY(alpha_min) = 256;
5666 MY(alpha_max) = 256;
5667 MY(alpha_fade) = 128;
5668 MY(bounce) = 1.500000;
5669 MY(color_min) = "0x404040";
5670 MY(color_max) = "0x808080";
5671 MY(gravity) = -0.125000;
5672 MY(liquidfriction) = 4;
5677 MY(trailspacing) = 32;
5678 MY(type) = "bubble";
5679 MY(underwater) = true;
5680 MY(velocityjitter) = '16.0 16.0 16.0';
5683 // rocket guiding start
5685 // underwater bubbles
5687 MY(alpha_min) = 128;
5688 MY(alpha_max) = 256;
5689 MY(alpha_fade) = 64;
5690 MY(bounce) = 1.500000;
5691 MY(color_min) = "0x404040";
5692 MY(color_max) = "0x808080";
5694 MY(gravity) = -0.125000;
5695 MY(liquidfriction) = 0.250000;
5696 MY(originjitter) = '8.0 8.0 8.0';
5697 MY(size_min) = 1.500000;
5698 MY(size_max) = 1.500000;
5701 MY(type) = "bubble";
5702 MY(underwater) = true;
5703 MY(velocityjitter) = '48.0 48.0 48.0';
5704 MY(velocitymultiplier) = -0.100000;
5708 MY(airfriction) = 0.200000;
5709 MY(alpha_min) = 256;
5710 MY(alpha_max) = 256;
5711 MY(alpha_fade) = 984;
5712 MY(bounce) = 1.500000;
5713 MY(color_min) = "0x903010";
5714 MY(color_max) = "0xFFD030";
5717 MY(liquidfriction) = 0.800000;
5718 MY(notunderwater) = true;
5719 MY(size_min) = 0.300000;
5720 MY(size_max) = 0.700000;
5721 MY(stretchfactor) = 0.400000;
5725 MY(velocityjitter) = '156.0 156.0 156.0';
5726 MY(velocitymultiplier) = -0.300000;
5727 MY(velocityoffset) = '0.0 0.0 80.0';
5730 MY(alpha_min) = 100;
5731 MY(alpha_max) = 100;
5732 MY(alpha_fade) = 500;
5733 MY(color_min) = "0x903010";
5734 MY(color_max) = "0xFFD030";
5735 MY(countabsolute) = 1;
5736 MY(sizeincrease) = 300;
5745 DEF(laser_gauntlet);
5746 SUB(laser_gauntlet) {
5747 MY(airfriction) = 10;
5748 MY(alpha_min) = 128;
5749 MY(alpha_max) = 512;
5750 MY(alpha_fade) = 6280;
5751 MY(color_min) = "0xb44215";
5752 MY(color_max) = "0x880000";
5754 MY(originjitter) = '2.0 2.0 2.0';
5755 MY(startangle_min) = -180;
5756 MY(startangle_max) = 180;
5757 MY(spin_min) = 4000;
5758 MY(spin_max) = -4000;
5759 MY(sizeincrease) = -100;
5762 MY(stretchfactor) = 2.300000;
5766 MY(velocityjitter) = '150.0 150.0 150.0';
5767 MY(velocitymultiplier) = 0.200000;
5769 SUB(laser_gauntlet) {
5770 MY(airfriction) = 12;
5771 MY(alpha_min) = 256;
5772 MY(alpha_max) = 512;
5773 MY(alpha_fade) = 6280;
5774 MY(color_min) = "0xff4200";
5775 MY(color_max) = "0xff0000";
5777 MY(originjitter) = '2.0 2.0 2.0';
5778 MY(sizeincrease) = -100;
5781 MY(stretchfactor) = 2;
5785 MY(velocityjitter) = '100.0 100.0 100.0';
5786 MY(velocitymultiplier) = 0.200000;
5789 DEF(laser_gauntletmuzzleflash);
5791 SUB(laser_gauntletmuzzleflash) {
5792 MY(airfriction) = 10;
5793 MY(alpha_min) = 256;
5794 MY(alpha_max) = 512;
5795 MY(alpha_fade) = 6280;
5796 MY(color_min) = "0x220000";
5797 MY(color_max) = "0x880000";
5798 MY(countabsolute) = 1;
5799 MY(lightcolor) = '3.0 0.1 0.1';
5800 MY(lightradiusfade) = 500;
5801 MY(lightradius) = 150;
5802 MY(sizeincrease) = -100;
5805 MY(stretchfactor) = 2;
5811 SUB(laser_gauntletmuzzleflash) {
5812 MY(airfriction) = 10;
5813 MY(alpha_min) = 128;
5814 MY(alpha_max) = 512;
5815 MY(alpha_fade) = 6280;
5816 MY(color_min) = "0xb44215";
5817 MY(color_max) = "0x880000";
5819 MY(originjitter) = '2.0 2.0 2.0';
5820 MY(startangle_min) = -180;
5821 MY(startangle_max) = 180;
5822 MY(spin_min) = 4000;
5823 MY(spin_max) = -4000;
5824 MY(sizeincrease) = -100;
5827 MY(stretchfactor) = 2.300000;
5831 MY(velocityjitter) = '150.0 150.0 150.0';
5832 MY(velocitymultiplier) = 0.200000;
5835 SUB(laser_gauntletmuzzleflash) {
5836 MY(airfriction) = 12;
5837 MY(alpha_min) = 256;
5838 MY(alpha_max) = 512;
5839 MY(alpha_fade) = 6280;
5840 MY(color_min) = "0xff4200";
5841 MY(color_max) = "0xff0000";
5843 MY(originjitter) = '2.0 2.0 2.0';
5844 MY(sizeincrease) = -100;
5847 MY(stretchfactor) = 2;
5851 MY(velocityjitter) = '100.0 100.0 100.0';
5852 MY(velocitymultiplier) = 0.200000;
5855 // torch flame, spawn it as fast as you can 20 times per second or more, supports direction but not required
5859 MY(airfriction) = 1.200000;
5861 MY(alpha_max) = 256;
5862 MY(alpha_fade) = 250;
5863 MY(color_min) = "0x8f0d00";
5864 MY(color_max) = "0xff5a00";
5866 MY(gravity) = -0.060000;
5867 MY(sizeincrease) = 20;
5873 MY(velocityjitter) = '40.0 40.0 11.0';
5874 MY(velocitymultiplier) = 30;
5878 MY(airfriction) = 1.200000;
5880 MY(alpha_max) = 256;
5881 MY(alpha_fade) = 200;
5882 MY(color_min) = "0x8f0d00";
5883 MY(color_max) = "0xff5a00";
5884 MY(count) = 2.500000;
5885 MY(gravity) = -0.060000;
5886 MY(sizeincrease) = 20;
5892 MY(velocityjitter) = '40.0 40.0 40.0';
5893 MY(velocitymultiplier) = 20;
5895 // very slow and small fire
5897 MY(airfriction) = 0.300000;
5899 MY(alpha_max) = 256;
5900 MY(alpha_fade) = 200;
5901 MY(color_min) = "0x8f0d00";
5902 MY(color_max) = "0xff5a00";
5903 MY(count) = 1.500000;
5904 MY(gravity) = -0.060000;
5905 MY(sizeincrease) = 10;
5911 MY(velocityjitter) = '30.0 30.0 30.0';
5912 MY(velocitymultiplier) = 10;
5916 MY(airfriction) = 0.300000;
5918 MY(alpha_max) = 256;
5919 MY(alpha_fade) = 200;
5920 MY(color_min) = "0x8f0d00";
5921 MY(color_max) = "0xff5a00";
5923 MY(gravity) = -0.060000;
5924 MY(sizeincrease) = -10;
5930 MY(velocityjitter) = '10.0 10.0 10.0';
5931 MY(velocitymultiplier) = 15;
5935 MY(airfriction) = 1;
5936 MY(alpha_min) = 256;
5937 MY(alpha_max) = 256;
5938 MY(alpha_fade) = 90;
5939 MY(color_min) = "0x000000";
5940 MY(color_max) = "0x111111";
5941 MY(count) = 0.500000;
5942 MY(originjitter) = '10.0 10.0 10.0';
5943 MY(sizeincrease) = 7;
5947 MY(type) = "alphastatic";
5948 MY(velocitymultiplier) = 20;
5949 MY(velocityoffset) = '0.0 0.0 10.0';
5952 #include "effectinfo_gentle_happy.inc"
5954 DEF(electro_lightning);
5955 SUB(electro_lightning) {
5956 MY(alpha_min) = 256;
5957 MY(alpha_max) = 256;
5958 MY(countabsolute) = 1;
5959 MY(lightcolor) = '3.1 4.4 10.0';
5960 MY(lightradiusfade) = 500;
5961 MY(lightradius) = 50;
5962 MY(originjitter) = '2.0 2.0 2.0';
5969 SUB(electro_lightning) {
5970 MY(alpha_min) = 100;
5971 MY(alpha_max) = 206;
5972 MY(alpha_fade) = 1724;
5973 MY(color_min) = "0x2030FF";
5974 MY(color_max) = "0x80C0FF";
5976 MY(originjitter) = '1.5 1.5 1.5';
5977 MY(sizeincrease) = 10;
5983 MY(velocityjitter) = '6.0 6.0 6.0';
5984 MY(velocitymultiplier) = 2000;
5986 SUB(electro_lightning) {
5987 MY(airfriction) = 2;
5988 MY(alpha_min) = 110;
5989 MY(alpha_max) = 170;
5990 MY(alpha_fade) = 1500;
5991 MY(color_min) = "0xDDFDFF";
5992 MY(color_max) = "0xFDFDFF";
5994 MY(originjitter) = '1.0 1.0 1.0';
5997 MY(stretchfactor) = 1.500000;
6001 MY(velocityjitter) = '150.0 150.0 150.0';
6002 MY(velocitymultiplier) = 0.500000;
6004 SUB(electro_lightning) {
6005 MY(airfriction) = 8;
6006 MY(alpha_min) = 110;
6007 MY(alpha_max) = 170;
6008 MY(alpha_fade) = 1500;
6009 MY(color_min) = "0xFDFDFF";
6010 MY(color_max) = "0xF9FDFF";
6012 MY(gravity) = 1.300000;
6013 MY(originjitter) = '1.0 1.0 1.0';
6016 MY(stretchfactor) = 0.100000;
6020 MY(velocityjitter) = '350.0 350.0 350.0';
6021 MY(velocitymultiplier) = 2.500000;
6024 DEF(gauntlet_lightning);
6025 SUB(gauntlet_lightning) {
6026 MY(alpha_min) = 256;
6027 MY(alpha_max) = 256;
6028 MY(alpha_fade) = 1024;
6029 MY(color_min) = "0x280000";
6030 MY(color_max) = "0x280000";
6032 MY(originjitter) = '1.5 1.5 1.5';
6033 MY(sizeincrease) = 15;
6039 MY(velocityjitter) = '6.0 6.0 6.0';
6040 MY(velocitymultiplier) = 2000;
6042 SUB(gauntlet_lightning) {
6043 MY(airfriction) = 2;
6044 MY(alpha_min) = 110;
6045 MY(alpha_max) = 228;
6046 MY(alpha_fade) = 1024;
6047 MY(color_min) = "0xDD0000";
6048 MY(color_max) = "0xFD0000";
6050 MY(originjitter) = '1.0 1.0 1.0';
6053 MY(stretchfactor) = 1.500000;
6057 MY(velocityjitter) = '150.0 150.0 150.0';
6058 MY(velocitymultiplier) = 0.500000;
6060 SUB(gauntlet_lightning) {
6061 MY(airfriction) = 8;
6062 MY(alpha_min) = 110;
6063 MY(alpha_max) = 228;
6064 MY(alpha_fade) = 600;
6065 MY(color_min) = "0xFD0000";
6066 MY(color_max) = "0xF90000";
6068 MY(gravity) = 1.300000;
6069 MY(originjitter) = '1.0 1.0 1.0';
6072 MY(stretchfactor) = 0.100000;
6076 MY(velocityjitter) = '350.0 350.0 350.0';
6077 MY(velocitymultiplier) = 2.500000;
6080 DEF(crylink_joinexplode);
6082 SUB(crylink_joinexplode) {
6083 MY(alpha_min) = 256;
6084 MY(alpha_max) = 256;
6085 MY(countabsolute) = 1;
6086 MY(originjitter) = '12.0 12.0 12.0';
6093 // purple flare effect
6094 SUB(crylink_joinexplode) {
6095 MY(alpha_min) = 256;
6096 MY(alpha_max) = 256;
6097 MY(alpha_fade) = 512;
6098 MY(color_min) = "0x504060";
6099 MY(color_max) = "0x504060";
6100 MY(countabsolute) = 1;
6105 MY(type) = "static";
6108 SUB(crylink_joinexplode) {
6109 MY(alpha_min) = 256;
6110 MY(alpha_max) = 256;
6111 MY(alpha_fade) = 1024;
6113 MY(color_min) = "0xA040C0";
6114 MY(color_max) = "0xA040C0";
6121 MY(velocityjitter) = '512.0 512.0 512.0';
6124 SUB(crylink_joinexplode) {
6125 MY(alpha_min) = 256;
6126 MY(alpha_max) = 256;
6127 MY(alpha_fade) = 512;
6128 MY(color_min) = "0xE070FF";
6129 MY(color_max) = "0xE070FF";
6130 MY(count) = 1.500000;
6133 MY(type) = "static";
6134 MY(velocityjitter) = '32.0 32.0 32.0';
6137 SUB(crylink_joinexplode) {
6138 MY(alpha_min) = 256;
6139 MY(alpha_max) = 256;
6140 MY(alpha_fade) = 1024;
6141 MY(color_min) = "0xE070FF";
6142 MY(color_max) = "0xE070FF";
6146 MY(type) = "static";
6147 MY(velocityjitter) = '256.0 256.0 256.0';
6150 // sparks for keepaway ball touch
6152 SUB(kaball_sparks) {
6153 MY(airfriction) = 3;
6154 MY(alpha_max) = 256;
6155 MY(alpha_fade) = 556;
6156 MY(bounce) = 1.500000;
6157 MY(color_min) = "0xa9cacf";
6158 MY(color_max) = "0x0054ff";
6161 MY(originjitter) = '1.0 1.0 1.0';
6167 MY(velocityjitter) = '300.0 300.0 300.0';
6168 MY(velocitymultiplier) = 0.500000;
6171 // weak rifle bullet trail (somewhat like a tracer)
6173 SUB(tr_rifle_weak) {
6174 MY(alpha_min) = 256;
6175 MY(alpha_max) = 256;
6176 MY(alpha_fade) = 2560;
6177 MY(color_min) = "0x800000";
6178 MY(color_max) = "0xFF8020";
6179 MY(size_min) = 1.500000;
6180 MY(size_max) = 1.500000;
6181 MY(stretchfactor) = 1;
6182 MY(trailspacing) = 128;
6184 MY(velocitymultiplier) = 0.700000;
6186 SUB(tr_rifle_weak) {
6187 MY(airfriction) = -4;
6188 MY(alpha_min) = 256;
6189 MY(alpha_max) = 256;
6190 MY(alpha_fade) = 256;
6191 MY(color_min) = "0x202020";
6192 MY(color_max) = "0x404040";
6193 MY(notunderwater) = true;
6194 MY(sizeincrease) = 0.400000;
6198 MY(trailspacing) = 48;
6200 MY(velocityjitter) = '4.0 4.0 4.0';
6202 SUB(tr_rifle_weak) {
6203 MY(alpha_min) = 256;
6204 MY(alpha_max) = 256;
6205 MY(alpha_fade) = 128;
6206 MY(bounce) = 1.500000;
6207 MY(color_min) = "0x404040";
6208 MY(color_max) = "0x808080";
6209 MY(gravity) = -0.125000;
6210 MY(liquidfriction) = 4;
6215 MY(trailspacing) = 192;
6216 MY(type) = "bubble";
6217 MY(underwater) = true;
6218 MY(velocityjitter) = '16.0 16.0 16.0';
6224 MY(airfriction) = -1;
6227 MY(alpha_fade) = 32;
6228 MY(color_min) = "0xff8866";
6229 MY(color_max) = "0x331100";
6231 MY(gravity) = -0.007000;
6232 MY(startangle_max) = 360;
6239 MY(velocitymultiplier) = 5;
6242 // pipe smoke emiter
6245 MY(airfriction) = -1;
6248 MY(alpha_fade) = 48;
6249 MY(color_min) = "0x999999";
6250 MY(color_max) = "0x555555";
6252 MY(gravity) = -0.015000;
6253 MY(startangle_max) = 360;
6254 MY(spin_min) = -180;
6256 MY(sizeincrease) = 35;
6261 MY(velocityjitter) = '0.0 0.0 5.0';
6262 MY(velocitymultiplier) = 15;
6265 // seeker missile trail
6268 MY(alpha_min) = 200;
6269 MY(alpha_max) = 300;
6270 MY(alpha_fade) = 200;
6272 MY(color_min) = "0x000000";
6273 MY(color_max) = "0x666666";
6274 MY(lightcolor) = '6.0 3.0 1.0';
6275 MY(lightradius) = 100;
6276 MY(notunderwater) = true;
6277 MY(originjitter) = '2.0 2.0 2.0';
6278 MY(startangle_min) = -180;
6279 MY(startangle_max) = 180;
6282 MY(sizeincrease) = 11;
6286 MY(trailspacing) = 10;
6288 MY(velocityjitter) = '3.0 3.0 3.0';
6289 MY(velocitymultiplier) = -0.020000;
6293 MY(airfriction) = 8;
6294 MY(alpha_min) = 100;
6295 MY(alpha_max) = 144;
6296 MY(alpha_fade) = 588;
6297 MY(color_min) = "0xffdf72";
6298 MY(color_max) = "0x811200";
6299 MY(sizeincrease) = -30;
6304 MY(trailspacing) = 4;
6305 MY(type) = "static";
6306 MY(velocityjitter) = '32.0 32.0 32.0';
6307 MY(velocitymultiplier) = -1.500000;
6311 MY(alpha_min) = 256;
6312 MY(alpha_max) = 256;
6313 MY(alpha_fade) = 256;
6314 MY(bounce) = 1.500000;
6315 MY(gravity) = -0.125000;
6316 MY(liquidfriction) = 4;
6321 MY(trailspacing) = 16;
6322 MY(type) = "bubble";
6323 MY(underwater) = true;
6324 MY(velocityjitter) = '16.0 16.0 16.0';
6325 MY(velocitymultiplier) = -0.310000;
6329 MY(airfriction) = 5;
6330 MY(alpha_min) = 444;
6331 MY(alpha_max) = 512;
6332 MY(alpha_fade) = 1866;
6334 MY(color_min) = "0xFFFDD9";
6335 MY(color_max) = "0xFFFDD9";
6336 MY(notunderwater) = true;
6337 MY(originjitter) = '1.0 1.0 1.0';
6338 MY(size_min) = 0.500000;
6339 MY(size_max) = 0.500000;
6340 MY(stretchfactor) = 0.300000;
6343 MY(trailspacing) = 20;
6345 MY(velocityjitter) = '100.0 100.0 100.0';
6346 MY(velocitymultiplier) = -0.310000;
6349 #include "effectinfo_vehicles.inc"
6351 // generic explosion size:big (biggest explosion ever)
6354 SUB(explosion_big) {
6355 MY(alpha_min) = 256;
6356 MY(alpha_max) = 256;
6357 MY(countabsolute) = 1;
6358 MY(lightcolor) = '8.0 4.0 0.0';
6359 MY(lightradiusfade) = 1750;
6360 MY(lightradius) = 600;
6361 MY(originjitter) = '23.0 23.0 23.0';
6369 SUB(explosion_big) {
6372 MY(alpha_fade) = 330;
6373 MY(color_min) = "0x8f0d00";
6374 MY(color_max) = "0xff5a00";
6375 MY(countabsolute) = 1;
6376 MY(sizeincrease) = 4400;
6381 MY(type) = "static";
6384 SUB(explosion_big) {
6385 MY(airfriction) = 8;
6386 MY(alpha_min) = 200;
6387 MY(alpha_max) = 256;
6388 MY(alpha_fade) = 712;
6389 MY(color_min) = "0x8f0d00";
6390 MY(color_max) = "0xff5a00";
6392 MY(liquidfriction) = 8;
6393 MY(notunderwater) = true;
6394 MY(originjitter) = '80.0 80.0 80.0';
6395 MY(sizeincrease) = 45;
6400 MY(type) = "static";
6401 MY(velocityjitter) = '2512.0 2512.0 2512.0';
6404 SUB(explosion_big) {
6405 MY(airfriction) = -5;
6406 MY(alpha_min) = 200;
6407 MY(alpha_max) = 256;
6408 MY(alpha_fade) = 800;
6409 MY(color_min) = "0x8f0d00";
6410 MY(color_max) = "0xff5a00";
6412 MY(liquidfriction) = 8;
6413 MY(notunderwater) = true;
6414 MY(originjitter) = '40.0 40.0 40.0';
6415 MY(sizeincrease) = 45;
6418 MY(stretchfactor) = 10;
6422 MY(velocityjitter) = '512.0 512.0 512.0';
6425 SUB(explosion_big) {
6426 MY(airfriction) = 8;
6427 MY(alpha_min) = 300;
6428 MY(alpha_max) = 650;
6429 MY(alpha_fade) = 456;
6430 MY(color_min) = "0x4F4B46";
6431 MY(color_max) = "0x000000";
6433 MY(notunderwater) = true;
6434 MY(sizeincrease) = 244;
6438 MY(type) = "alphastatic";
6439 MY(velocityjitter) = '3444.0 3444.0 3444.0';
6442 SUB(explosion_big) {
6443 MY(airfriction) = 1;
6444 MY(alpha_min) = 644;
6445 MY(alpha_max) = 956;
6446 MY(alpha_fade) = 1284;
6447 MY(color_min) = "0xffa35b";
6448 MY(color_max) = "0xfff2be";
6451 MY(liquidfriction) = 0.800000;
6452 MY(notunderwater) = true;
6453 MY(originjitter) = '160.0 160.0 160.0';
6456 MY(stretchfactor) = 0.700000;
6460 MY(velocityjitter) = '924.0 924.0 924.0';
6461 MY(velocityoffset) = '0.0 0.0 370.0';
6464 SUB(explosion_big) {
6465 MY(airfriction) = 0.500000;
6466 MY(alpha_min) = 444;
6467 MY(alpha_max) = 1356;
6468 MY(alpha_fade) = 1184;
6469 MY(color_min) = "0xFFFFFF";
6470 MY(color_max) = "0xcac5b4";
6472 MY(gravity) = 2.300000;
6473 MY(notunderwater) = true;
6474 MY(startangle_min) = -180;
6475 MY(startangle_max) = 180;
6476 MY(spin_min) = -1000;
6477 MY(spin_max) = 1000;
6478 MY(sizeincrease) = -5;
6483 MY(type) = "alphastatic";
6484 MY(velocityjitter) = '1800.0 1800.0 1800.0';
6485 MY(velocityoffset) = '0.0 0.0 970.0';
6487 // underwater bubbles
6488 SUB(explosion_big) {
6489 MY(alpha_min) = 128;
6490 MY(alpha_max) = 256;
6491 MY(alpha_fade) = 64;
6492 MY(bounce) = 1.500000;
6493 MY(color_min) = "0x404040";
6494 MY(color_max) = "0x808080";
6496 MY(gravity) = -0.125000;
6497 MY(liquidfriction) = 0.250000;
6498 MY(originjitter) = '160.0 160.0 160.0';
6503 MY(type) = "bubble";
6504 MY(underwater) = true;
6505 MY(velocityjitter) = '444.0 444.0 444.0';
6507 // underwatershockwave
6508 SUB(explosion_big) {
6511 MY(alpha_fade) = 300;
6512 MY(countabsolute) = 1;
6513 MY(sizeincrease) = 2900;
6519 MY(underwater) = true;
6520 MY(velocitymultiplier) = 0.300000;
6523 // generic explosion size:medium (it leaves rising smoke for a longer time)
6524 DEF(explosion_medium);
6526 SUB(explosion_medium) {
6529 MY(alpha_fade) = 330;
6530 MY(color_min) = "0x8f0d00";
6531 MY(color_max) = "0xff5a00";
6532 MY(countabsolute) = 1;
6533 MY(sizeincrease) = 2400;
6538 MY(type) = "static";
6541 SUB(explosion_medium) {
6542 MY(airfriction) = 8;
6543 MY(alpha_min) = 200;
6544 MY(alpha_max) = 256;
6545 MY(alpha_fade) = 712;
6546 MY(color_min) = "0x8f0d00";
6547 MY(color_max) = "0xff5a00";
6549 MY(liquidfriction) = 8;
6550 MY(notunderwater) = true;
6551 MY(originjitter) = '30.0 30.0 30.0';
6552 MY(startangle_min) = -180;
6553 MY(startangle_max) = 180;
6554 MY(spin_min) = -500;
6556 MY(sizeincrease) = 45;
6561 MY(type) = "static";
6562 MY(velocityjitter) = '1512.0 1512.0 1512.0';
6565 SUB(explosion_medium) {
6566 MY(airfriction) = 8;
6567 MY(alpha_min) = 200;
6568 MY(alpha_max) = 256;
6569 MY(alpha_fade) = 612;
6570 MY(color_min) = "0x8f0d00";
6571 MY(color_max) = "0xff5a00";
6574 MY(liquidfriction) = 8;
6575 MY(notunderwater) = true;
6576 MY(originjitter) = '30.0 30.0 30.0';
6577 MY(startangle_min) = -180;
6578 MY(startangle_max) = 180;
6579 MY(spin_min) = -150;
6581 MY(sizeincrease) = 40;
6586 MY(type) = "static";
6587 MY(velocityjitter) = '1512.0 1512.0 1512.0';
6590 SUB(explosion_medium) {
6591 MY(airfriction) = -3;
6592 MY(alpha_min) = 200;
6593 MY(alpha_max) = 256;
6594 MY(alpha_fade) = 800;
6595 MY(color_min) = "0x8f0d00";
6596 MY(color_max) = "0xff5a00";
6598 MY(liquidfriction) = 8;
6599 MY(notunderwater) = true;
6600 MY(originjitter) = '40.0 40.0 40.0';
6601 MY(sizeincrease) = 40;
6604 MY(stretchfactor) = 8;
6608 MY(velocityjitter) = '512.0 512.0 512.0';
6611 SUB(explosion_medium) {
6612 MY(airfriction) = 3;
6613 MY(alpha_min) = 300;
6614 MY(alpha_max) = 650;
6615 MY(alpha_fade) = 756;
6616 MY(color_min) = "0x4F4B46";
6617 MY(color_max) = "0x000000";
6619 MY(notunderwater) = true;
6620 MY(originjitter) = '100.0 100.0 100.0';
6621 MY(startangle_min) = -180;
6622 MY(startangle_max) = 180;
6625 MY(sizeincrease) = -30;
6629 MY(type) = "alphastatic";
6630 MY(velocityjitter) = '200.0 200.0 200.0';
6633 SUB(explosion_medium) {
6634 MY(airfriction) = 3;
6635 MY(alpha_min) = 300;
6636 MY(alpha_max) = 650;
6637 MY(alpha_fade) = 256;
6638 MY(color_min) = "0x4F4B46";
6639 MY(color_max) = "0x000000";
6641 MY(gravity) = -0.300000;
6642 MY(notunderwater) = true;
6643 MY(originjitter) = '100.0 100.0 100.0';
6644 MY(startangle_min) = -180;
6645 MY(startangle_max) = 180;
6648 MY(sizeincrease) = 50;
6652 MY(type) = "alphastatic";
6653 MY(velocityjitter) = '500.0 500.0 500.0';
6654 MY(velocityoffset) = '0.0 0.0 200.0';
6657 SUB(explosion_medium) {
6658 MY(alpha_min) = 140;
6659 MY(alpha_max) = 255;
6660 MY(alpha_fade) = 350;
6661 MY(color_min) = "0x4F4B46";
6662 MY(color_max) = "0x000000";
6664 MY(notunderwater) = true;
6665 MY(originjitter) = '40.0 40.0 40.0';
6666 MY(sizeincrease) = 100;
6669 MY(stretchfactor) = 50;
6672 MY(velocityjitter) = '250.0 250.0 250.0';
6675 SUB(explosion_medium) {
6676 MY(airfriction) = 1;
6677 MY(alpha_min) = 644;
6678 MY(alpha_max) = 956;
6679 MY(alpha_fade) = 984;
6680 MY(color_min) = "0xffa35b";
6681 MY(color_max) = "0xfff2be";
6684 MY(liquidfriction) = 0.800000;
6685 MY(notunderwater) = true;
6686 MY(originjitter) = '100.0 100.0 100.0';
6689 MY(stretchfactor) = 0.700000;
6693 MY(velocityjitter) = '624.0 624.0 624.0';
6694 MY(velocityoffset) = '0.0 0.0 370.0';
6696 // underwater bubbles
6697 SUB(explosion_medium) {
6698 MY(alpha_min) = 128;
6699 MY(alpha_max) = 256;
6700 MY(alpha_fade) = 64;
6701 MY(bounce) = 1.500000;
6702 MY(color_min) = "0x404040";
6703 MY(color_max) = "0x808080";
6705 MY(gravity) = -0.125000;
6706 MY(liquidfriction) = 0.250000;
6707 MY(originjitter) = '160.0 160.0 160.0';
6712 MY(type) = "bubble";
6713 MY(underwater) = true;
6714 MY(velocityjitter) = '444.0 444.0 444.0';
6716 // underwatershockwave
6717 SUB(explosion_medium) {
6720 MY(alpha_fade) = 300;
6721 MY(countabsolute) = 1;
6722 MY(sizeincrease) = 2900;
6728 MY(underwater) = true;
6729 MY(velocitymultiplier) = 0.300000;
6732 // generic explosion size:small (its fire only, made to support other explosions)
6733 DEF(explosion_small);
6735 SUB(explosion_small) {
6738 MY(alpha_fade) = 330;
6739 MY(color_min) = "0x8f0d00";
6740 MY(color_max) = "0xff5a00";
6741 MY(countabsolute) = 1;
6742 MY(sizeincrease) = 2400;
6747 MY(type) = "static";
6750 SUB(explosion_small) {
6751 MY(airfriction) = 5;
6752 MY(alpha_min) = 200;
6753 MY(alpha_max) = 256;
6754 MY(alpha_fade) = 1212;
6755 MY(color_min) = "0x8f0d00";
6756 MY(color_max) = "0xff5a00";
6758 MY(liquidfriction) = 8;
6759 MY(notunderwater) = true;
6760 MY(startangle_min) = -180;
6761 MY(startangle_max) = 180;
6762 MY(spin_min) = -500;
6764 MY(sizeincrease) = 45;
6769 MY(type) = "static";
6770 MY(velocityjitter) = '512.0 512.0 512.0';
6773 SUB(explosion_small) {
6774 MY(airfriction) = 8;
6775 MY(alpha_min) = 200;
6776 MY(alpha_max) = 256;
6777 MY(alpha_fade) = 812;
6778 MY(color_min) = "0x8f0d00";
6779 MY(color_max) = "0xff5a00";
6781 MY(liquidfriction) = 8;
6782 MY(notunderwater) = true;
6783 MY(startangle_min) = -180;
6784 MY(startangle_max) = 180;
6785 MY(spin_min) = -150;
6787 MY(sizeincrease) = 40;
6792 MY(type) = "static";
6793 MY(velocityjitter) = '912.0 912.0 912.0';
6796 SUB(explosion_small) {
6797 MY(airfriction) = -3;
6798 MY(alpha_min) = 200;
6799 MY(alpha_max) = 256;
6800 MY(alpha_fade) = 1300;
6801 MY(color_min) = "0x8f0d00";
6802 MY(color_max) = "0xff5a00";
6804 MY(liquidfriction) = 8;
6805 MY(notunderwater) = true;
6806 MY(originjitter) = '40.0 40.0 40.0';
6807 MY(sizeincrease) = 30;
6810 MY(stretchfactor) = 8;
6814 MY(velocityjitter) = '512.0 512.0 512.0';
6816 // underwater bubbles
6817 SUB(explosion_small) {
6818 MY(alpha_min) = 128;
6819 MY(alpha_max) = 256;
6820 MY(alpha_fade) = 64;
6821 MY(bounce) = 1.500000;
6822 MY(color_min) = "0x404040";
6823 MY(color_max) = "0x808080";
6825 MY(gravity) = -0.125000;
6826 MY(liquidfriction) = 0.250000;
6827 MY(originjitter) = '160.0 160.0 160.0';
6832 MY(type) = "bubble";
6833 MY(underwater) = true;
6834 MY(velocityjitter) = '144.0 144.0 144.0';
6836 // underwatershockwave
6837 SUB(explosion_small) {
6840 MY(alpha_fade) = 300;
6841 MY(countabsolute) = 1;
6842 MY(sizeincrease) = 1200;
6848 MY(underwater) = true;
6851 // big smoke ( for spamming on damaged stuff )
6854 MY(airfriction) = 4;
6855 MY(alpha_min) = 200;
6856 MY(alpha_max) = 750;
6857 MY(alpha_fade) = 200;
6858 MY(color_min) = "0x4F4B46";
6859 MY(color_max) = "0x000000";
6861 MY(gravity) = -0.500000;
6862 MY(notunderwater) = true;
6863 MY(originjitter) = '55.0 55.0 55.0';
6864 MY(startangle_min) = -180;
6865 MY(startangle_max) = 180;
6868 MY(sizeincrease) = 15;
6872 MY(type) = "alphastatic";
6873 MY(velocityjitter) = '140.0 140.0 200.0';
6874 MY(velocityoffset) = '0.0 0.0 200.0';
6877 // small smoke ( more precise than big one, for spamming on damaged parts like raptors spinner )
6880 MY(airfriction) = 4;
6881 MY(alpha_min) = 200;
6882 MY(alpha_max) = 750;
6883 MY(alpha_fade) = 200;
6884 MY(color_min) = "0x4F4B46";
6885 MY(color_max) = "0x000000";
6887 MY(gravity) = -0.500000;
6888 MY(notunderwater) = true;
6889 MY(startangle_min) = -180;
6890 MY(startangle_max) = 180;
6893 MY(sizeincrease) = -10;
6897 MY(type) = "alphastatic";
6898 MY(velocityjitter) = '40.0 40.0 400.0';
6899 MY(velocityoffset) = '0.0 0.0 200.0';
6902 // metal impact effect
6907 MY(alpha_fade) = 50;
6908 MY(color_min) = "0x000000";
6909 MY(color_max) = "0x886666";
6911 MY(gravity) = -0.010000;
6912 MY(originjitter) = '20.0 20.0 5.0';
6913 MY(sizeincrease) = 10;
6917 MY(type) = "alphastatic";
6921 MY(airfriction) = 2;
6922 MY(alpha_min) = 255;
6923 MY(alpha_max) = 255;
6924 MY(alpha_fade) = 112;
6925 MY(bounce) = 1.800000;
6926 MY(color_min) = "0xFFCC22";
6927 MY(color_max) = "0xFF4422";
6932 MY(stretchfactor) = 0.500000;
6936 MY(velocityjitter) = '200.0 200.0 300.0';
6937 MY(velocitymultiplier) = 2;
6940 // stone impact effect
6944 MY(alpha_max) = 128;
6945 MY(alpha_fade) = 75;
6946 MY(color_min) = "0x000000";
6947 MY(color_max) = "0xcc9966";
6949 MY(gravity) = -0.010000;
6950 MY(originjitter) = '20.0 20.0 5.0';
6951 MY(sizeincrease) = 15;
6955 MY(type) = "alphastatic";
6959 MY(airfriction) = 0.500000;
6960 MY(alpha_min) = 450;
6961 MY(alpha_max) = 750;
6962 MY(alpha_fade) = 300;
6963 MY(bounce) = 1.200000;
6964 MY(color_min) = "0x000000";
6965 MY(color_max) = "0x886644";
6967 MY(gravity) = 1.300000;
6968 MY(notunderwater) = true;
6969 MY(startangle_min) = -180;
6970 MY(startangle_max) = 180;
6971 MY(spin_min) = -1000;
6972 MY(spin_max) = 1000;
6977 MY(type) = "alphastatic";
6978 MY(velocityjitter) = '124.0 124.0 324.0';
6981 // wood impact effect
6985 MY(alpha_max) = 128;
6986 MY(alpha_fade) = 75;
6987 MY(color_min) = "0x000000";
6988 MY(color_max) = "0xcc9966";
6990 MY(gravity) = -0.010000;
6991 MY(originjitter) = '20.0 20.0 5.0';
6992 MY(sizeincrease) = 10;
6996 MY(type) = "alphastatic";
7000 MY(airfriction) = 2;
7001 MY(alpha_min) = 255;
7002 MY(alpha_max) = 255;
7003 MY(alpha_fade) = 75;
7004 MY(bounce) = 1.500000;
7005 MY(color_min) = "0x221100";
7006 MY(color_max) = "0x221100";
7014 MY(velocityjitter) = '180.0 180.0 260.0';
7015 MY(velocitymultiplier) = 2;
7018 // flesh impact effect
7021 MY(alpha_min) = 100;
7022 MY(alpha_max) = 256;
7023 MY(alpha_fade) = 400;
7024 MY(color_min) = "0x000000";
7025 MY(color_max) = "0x420000";
7026 MY(count) = 0.500000;
7027 MY(originjitter) = '11.0 11.0 11.0';
7031 MY(type) = "alphastatic";
7035 MY(airfriction) = 1;
7036 MY(alpha_min) = 256;
7037 MY(alpha_max) = 256;
7038 MY(alpha_fade) = 64;
7040 MY(color_min) = "0xA8FFFF";
7041 MY(color_max) = "0xA8FFFFF";
7042 MY(count) = 0.300000;
7043 MY(liquidfriction) = 4;
7046 MY(staincolor_min) = "0x808080";
7047 MY(staincolor_max) = "0x808080";
7048 MY(staintex_min) = 16;
7049 MY(staintex_max) = 24;
7053 MY(velocityjitter) = '96.0 96.0 96.0';
7054 MY(velocitymultiplier) = 5;
7061 MY(alpha_min) = 300;
7062 MY(alpha_max) = 400;
7063 MY(alpha_fade) = 780;
7065 MY(color_min) = "0x101010";
7066 MY(color_max) = "0x000000";
7067 MY(originjitter) = '1.0 1.0 1.0';
7068 MY(sizeincrease) = 10;
7072 MY(trailspacing) = 4;
7074 MY(velocityjitter) = '1.0 1.0 1.0';
7075 MY(velocitymultiplier) = -0.020000;
7079 MY(airfriction) = 8;
7080 MY(alpha_min) = 100;
7081 MY(alpha_max) = 144;
7082 MY(alpha_fade) = 988;
7083 MY(color_min) = "0xffdf72";
7084 MY(color_max) = "0x811200";
7085 MY(notunderwater) = true;
7086 MY(sizeincrease) = -15;
7091 MY(trailspacing) = 4;
7092 MY(type) = "static";
7093 MY(velocityjitter) = '32.0 32.0 32.0';
7094 MY(velocitymultiplier) = -1;
7098 MY(alpha_min) = 256;
7099 MY(alpha_max) = 256;
7100 MY(alpha_fade) = 256;
7101 MY(bounce) = 1.500000;
7102 MY(color_min) = "0x404040";
7103 MY(color_max) = "0x808080";
7104 MY(gravity) = -0.125000;
7105 MY(liquidfriction) = 4;
7110 MY(trailspacing) = 16;
7111 MY(type) = "bubble";
7112 MY(underwater) = true;
7113 MY(velocityjitter) = '16.0 16.0 16.0';
7116 // laser damage effect
7119 MY(airfriction) = -0.350000;
7120 MY(alpha_min) = 128;
7122 MY(alpha_fade) = 128;
7123 MY(color_min) = "0x880000";
7124 MY(color_max) = "0xff4400";
7126 MY(notunderwater) = true;
7127 MY(originjitter) = '2.0 2.0 2.0';
7128 MY(startangle_max) = 180;
7131 MY(sizeincrease) = 8;
7136 MY(velocityjitter) = '0.4 0.4 0.6';
7139 // shotgun damage effect, normal blood
7140 DEF(damage_shotgun);
7141 SUB(damage_shotgun) {
7142 MY(airfriction) = 1;
7143 MY(alpha_min) = 256;
7144 MY(alpha_max) = 256;
7145 MY(alpha_fade) = 64;
7147 MY(color_min) = "0xA8FFFF";
7148 MY(color_max) = "0xA8FFFFF";
7149 MY(count) = 0.600000;
7150 MY(liquidfriction) = 4;
7153 MY(staincolor_min) = "0x808080";
7154 MY(staincolor_max) = "0x808080";
7155 MY(staintex_min) = 16;
7156 MY(staintex_max) = 24;
7160 MY(velocityjitter) = '64.0 64.0 64.0';
7161 MY(velocitymultiplier) = 5;
7164 SUB(damage_shotgun) {
7165 MY(alpha_min) = 100;
7166 MY(alpha_max) = 256;
7167 MY(alpha_fade) = 400;
7168 MY(color_min) = "0x000000";
7169 MY(color_max) = "0x420000";
7171 MY(originjitter) = '1.0 1.0 1.0';
7175 MY(type) = "alphastatic";
7178 // shotgun damage effect, alien blood
7179 DEF(damage_shotgun_alien);
7180 SUB(damage_shotgun_alien) {
7181 MY(airfriction) = 1;
7182 MY(alpha_min) = 256;
7183 MY(alpha_max) = 256;
7184 MY(alpha_fade) = 64;
7186 MY(color_min) = "0xDC9BCD";
7187 MY(color_max) = "0xDC9BCD";
7188 MY(count) = 0.600000;
7189 MY(liquidfriction) = 4;
7192 MY(staincolor_min) = "0x808080";
7193 MY(staincolor_max) = "0x808080";
7194 MY(staintex_min) = 16;
7195 MY(staintex_max) = 24;
7199 MY(velocityjitter) = '64.0 64.0 64.0';
7200 MY(velocitymultiplier) = 5;
7203 SUB(damage_shotgun_alien) {
7204 MY(alpha_min) = 100;
7205 MY(alpha_max) = 256;
7206 MY(alpha_fade) = 400;
7207 MY(color_min) = "0x000000";
7208 MY(color_max) = "0x204010";
7210 MY(originjitter) = '1.0 1.0 1.0';
7214 MY(type) = "alphastatic";
7217 // shotgun damage effect, robot blood
7218 DEF(damage_shotgun_robot);
7219 SUB(damage_shotgun_robot) {
7220 MY(airfriction) = 1;
7221 MY(alpha_min) = 256;
7222 MY(alpha_max) = 256;
7223 MY(alpha_fade) = 64;
7225 MY(color_min) = "0xC0D890";
7226 MY(color_max) = "0xC0D890";
7227 MY(count) = 0.600000;
7228 MY(liquidfriction) = 4;
7231 MY(staincolor_min) = "0x808080";
7232 MY(staincolor_max) = "0x808080";
7233 MY(staintex_min) = 16;
7234 MY(staintex_max) = 24;
7238 MY(velocityjitter) = '64.0 64.0 64.0';
7239 MY(velocitymultiplier) = 5;
7242 SUB(damage_shotgun_robot) {
7243 MY(alpha_min) = 100;
7244 MY(alpha_max) = 256;
7245 MY(alpha_fade) = 400;
7246 MY(color_min) = "0x000000";
7247 MY(color_max) = "0x301860";
7249 MY(originjitter) = '1.0 1.0 1.0';
7253 MY(type) = "alphastatic";
7256 // machinegun damage effect, normal blood
7259 MY(airfriction) = 1;
7260 MY(alpha_min) = 256;
7261 MY(alpha_max) = 256;
7262 MY(alpha_fade) = 64;
7264 MY(color_min) = "0xA8FFFF";
7265 MY(color_max) = "0xA8FFFFF";
7266 MY(count) = 0.300000;
7267 MY(liquidfriction) = 4;
7270 MY(staincolor_min) = "0x808080";
7271 MY(staincolor_max) = "0x808080";
7272 MY(staintex_min) = 16;
7273 MY(staintex_max) = 24;
7277 MY(velocityjitter) = '32.0 32.0 32.0';
7278 MY(velocitymultiplier) = 5;
7282 MY(alpha_min) = 100;
7283 MY(alpha_max) = 256;
7284 MY(alpha_fade) = 400;
7285 MY(color_min) = "0x000000";
7286 MY(color_max) = "0x420000";
7291 MY(type) = "alphastatic";
7294 // machinegun damage effect, alien blood
7295 DEF(damage_uzi_alien);
7296 SUB(damage_uzi_alien) {
7297 MY(airfriction) = 1;
7298 MY(alpha_min) = 256;
7299 MY(alpha_max) = 256;
7300 MY(alpha_fade) = 64;
7302 MY(color_min) = "0xDC9BCD";
7303 MY(color_max) = "0xDC9BCD";
7304 MY(count) = 0.300000;
7305 MY(liquidfriction) = 4;
7308 MY(staincolor_min) = "0x808080";
7309 MY(staincolor_max) = "0x808080";
7310 MY(staintex_min) = 16;
7311 MY(staintex_max) = 24;
7315 MY(velocityjitter) = '32.0 32.0 32.0';
7316 MY(velocitymultiplier) = 5;
7319 SUB(damage_uzi_alien) {
7320 MY(alpha_min) = 100;
7321 MY(alpha_max) = 256;
7322 MY(alpha_fade) = 400;
7323 MY(color_min) = "0x000000";
7324 MY(color_max) = "0x204010";
7329 MY(type) = "alphastatic";
7332 // machinegun damage effect, robot blood
7333 DEF(damage_uzi_robot);
7334 SUB(damage_uzi_robot) {
7335 MY(airfriction) = 1;
7336 MY(alpha_min) = 256;
7337 MY(alpha_max) = 256;
7338 MY(alpha_fade) = 64;
7340 MY(color_min) = "0xC0D890";
7341 MY(color_max) = "0xC0D890";
7342 MY(count) = 0.300000;
7343 MY(liquidfriction) = 4;
7346 MY(staincolor_min) = "0x808080";
7347 MY(staincolor_max) = "0x808080";
7348 MY(staintex_min) = 16;
7349 MY(staintex_max) = 24;
7353 MY(velocityjitter) = '32.0 32.0 32.0';
7354 MY(velocitymultiplier) = 5;
7357 SUB(damage_uzi_robot) {
7358 MY(alpha_min) = 100;
7359 MY(alpha_max) = 256;
7360 MY(alpha_fade) = 400;
7361 MY(color_min) = "0x000000";
7362 MY(color_max) = "0x301860";
7367 MY(type) = "alphastatic";
7370 // minelayer damage effect
7371 DEF(damage_minelayer);
7372 SUB(damage_minelayer) {
7373 MY(alpha_min) = 512;
7375 MY(alpha_fade) = 1024;
7376 MY(color_min) = "0x8f0d00";
7377 MY(color_max) = "0xff5a00";
7379 MY(gravity) = -0.500000;
7380 MY(notunderwater) = true;
7381 MY(originjitter) = '2.0 2.0 2.0';
7382 MY(sizeincrease) = -15;
7388 MY(velocityjitter) = '22.0 22.0 50.0';
7391 SUB(damage_minelayer) {
7392 MY(alpha_min) = 128;
7394 MY(alpha_fade) = 128;
7395 MY(color_min) = "0x000000";
7396 MY(color_max) = "0x111111";
7398 MY(gravity) = -0.300000;
7399 MY(notunderwater) = true;
7400 MY(originjitter) = '4.0 4.0 4.0';
7401 MY(sizeincrease) = 5;
7405 MY(type) = "alphastatic";
7406 MY(velocityjitter) = '11.0 11.0 50.0';
7409 // mortar damage effect
7410 DEF(damage_grenadelauncher);
7411 SUB(damage_grenadelauncher) {
7412 MY(alpha_min) = 512;
7414 MY(alpha_fade) = 1024;
7415 MY(color_min) = "0x8f0d00";
7416 MY(color_max) = "0xff5a00";
7418 MY(gravity) = -0.500000;
7419 MY(notunderwater) = true;
7420 MY(originjitter) = '2.0 2.0 2.0';
7421 MY(sizeincrease) = -15;
7427 MY(velocityjitter) = '22.0 22.0 50.0';
7430 SUB(damage_grenadelauncher) {
7431 MY(alpha_min) = 128;
7433 MY(alpha_fade) = 128;
7434 MY(color_min) = "0x000000";
7435 MY(color_max) = "0x111111";
7437 MY(gravity) = -0.300000;
7438 MY(notunderwater) = true;
7439 MY(originjitter) = '4.0 4.0 4.0';
7440 MY(sizeincrease) = 5;
7444 MY(type) = "alphastatic";
7445 MY(velocityjitter) = '11.0 11.0 50.0';
7448 // electro damage effect
7449 DEF(damage_electro);
7450 SUB(damage_electro) {
7451 MY(airfriction) = -0.500000;
7454 MY(alpha_fade) = 48;
7455 MY(color_min) = "0x66ffff";
7456 MY(color_max) = "0x2288ff";
7458 MY(gravity) = -0.000100;
7459 MY(liquidfriction) = 0.800000;
7460 MY(notunderwater) = true;
7461 MY(originjitter) = '3.0 3.0 3.0';
7462 MY(startangle_min) = 180;
7463 MY(startangle_max) = 360;
7466 MY(sizeincrease) = -14;
7471 MY(type) = "static";
7472 MY(velocityjitter) = '8.0 8.0 16.0';
7475 SUB(damage_electro) {
7476 MY(airfriction) = -0.350000;
7479 MY(alpha_fade) = 64;
7480 MY(color_min) = "0x2244ff";
7481 MY(color_max) = "0x002266";
7483 MY(notunderwater) = true;
7484 MY(originjitter) = '4.0 4.0 4.0';
7485 MY(startangle_max) = 180;
7488 MY(sizeincrease) = 10;
7493 MY(velocityjitter) = '0.4 0.4 0.6';
7496 SUB(damage_electro) {
7497 MY(airfriction) = 1;
7498 MY(alpha_min) = 768;
7500 MY(alpha_fade) = 256;
7501 MY(bounce) = 1.500000;
7502 MY(color_min) = "0x003090";
7503 MY(color_max) = "0x00CCFF";
7504 MY(count) = 0.500000;
7505 MY(gravity) = 0.200000;
7506 MY(liquidfriction) = 0.800000;
7512 MY(velocityjitter) = '32.0 32.0 32.0';
7515 // crylink damage effect
7516 DEF(damage_crylink);
7517 SUB(damage_crylink) {
7518 MY(airfriction) = -0.500000;
7521 MY(alpha_fade) = 48;
7522 MY(color_min) = "0xff44ff";
7523 MY(color_max) = "0x9966ff";
7525 MY(gravity) = -0.000100;
7526 MY(liquidfriction) = 0.800000;
7527 MY(notunderwater) = true;
7528 MY(originjitter) = '3.0 3.0 3.0';
7529 MY(startangle_min) = 180;
7530 MY(startangle_max) = 360;
7533 MY(sizeincrease) = -8;
7534 MY(size_min) = 0.500000;
7538 MY(type) = "static";
7539 MY(velocityjitter) = '10.0 10.0 20.0';
7542 SUB(damage_crylink) {
7543 MY(airfriction) = -0.350000;
7546 MY(alpha_fade) = 64;
7547 MY(color_min) = "0x8844ff";
7548 MY(color_max) = "0x662244";
7550 MY(gravity) = 0.001000;
7551 MY(notunderwater) = true;
7552 MY(originjitter) = '4.0 4.0 4.0';
7553 MY(startangle_max) = 180;
7556 MY(sizeincrease) = 6;
7561 MY(velocityjitter) = '0.4 0.4 0.6';
7564 SUB(damage_crylink) {
7565 MY(airfriction) = 0.200000;
7566 MY(alpha_min) = 192;
7567 MY(alpha_max) = 192;
7568 MY(alpha_fade) = 128;
7569 MY(color_min) = "0x903090";
7570 MY(color_max) = "0xFFD0FF";
7571 MY(count) = 0.300000;
7572 MY(liquidfriction) = 0.800000;
7573 MY(sizeincrease) = -5;
7574 MY(size_min) = 0.500000;
7575 MY(size_max) = 0.500000;
7577 MY(velocityjitter) = '12.0 12.0 12.0';
7580 // hlac damage effect
7583 MY(airfriction) = -0.350000;
7584 MY(alpha_min) = 128;
7586 MY(alpha_fade) = 128;
7587 MY(color_min) = "0x880000";
7588 MY(color_max) = "0xff4400";
7590 MY(notunderwater) = true;
7591 MY(originjitter) = '4.0 4.0 4.0';
7592 MY(startangle_max) = 180;
7595 MY(sizeincrease) = 10;
7600 MY(velocityjitter) = '0.4 0.4 0.6';
7603 // vortex damage effect
7606 MY(airfriction) = -0.500000;
7609 MY(alpha_fade) = 64;
7610 MY(color_min) = "0xffffff";
7611 MY(color_max) = "0x88ffff";
7613 MY(gravity) = -0.000100;
7614 MY(liquidfriction) = 0.600000;
7615 MY(originjitter) = '4.0 4.0 4.0';
7616 MY(startangle_min) = 180;
7617 MY(startangle_max) = 360;
7620 MY(sizeincrease) = -14;
7625 MY(type) = "static";
7626 MY(velocityjitter) = '8.0 8.0 16.0';
7630 MY(airfriction) = -0.350000;
7633 MY(alpha_fade) = 64;
7634 MY(color_min) = "0x6688ff";
7635 MY(color_max) = "0x226688";
7637 MY(originjitter) = '2.0 2.0 2.0';
7638 MY(startangle_max) = 180;
7641 MY(sizeincrease) = 8;
7646 MY(velocityjitter) = '0.5 0.5 0.8';
7650 MY(airfriction) = 2;
7651 MY(alpha_min) = 255;
7652 MY(alpha_max) = 255;
7653 MY(alpha_fade) = 112;
7654 MY(bounce) = 1.600000;
7655 MY(color_min) = "0xD9FDFF";
7656 MY(color_max) = "0xD9FDFF";
7657 MY(count) = 0.200000;
7661 MY(stretchfactor) = 0.700000;
7665 MY(velocityjitter) = '100.0 100.0 300.0';
7666 MY(velocitymultiplier) = 3;
7669 // vaporizer damage effect
7670 DEF(damage_minstanex);
7671 SUB(damage_minstanex) {
7672 MY(airfriction) = -0.500000;
7675 MY(alpha_fade) = 64;
7676 MY(color_min) = "0xffffff";
7677 MY(color_max) = "0x88ffff";
7679 MY(gravity) = -0.000100;
7680 MY(liquidfriction) = 0.600000;
7681 MY(originjitter) = '4.0 4.0 4.0';
7682 MY(startangle_min) = 180;
7683 MY(startangle_max) = 360;
7686 MY(sizeincrease) = -14;
7691 MY(type) = "static";
7692 MY(velocityjitter) = '8.0 8.0 16.0';
7695 SUB(damage_minstanex) {
7696 MY(airfriction) = -0.350000;
7699 MY(alpha_fade) = 64;
7700 MY(color_min) = "0x6688ff";
7701 MY(color_max) = "0x226688";
7703 MY(originjitter) = '2.0 2.0 2.0';
7704 MY(startangle_max) = 180;
7707 MY(sizeincrease) = 8;
7712 MY(velocityjitter) = '0.5 0.5 0.8';
7715 SUB(damage_minstanex) {
7716 MY(airfriction) = 2;
7717 MY(alpha_min) = 255;
7718 MY(alpha_max) = 255;
7719 MY(alpha_fade) = 112;
7720 MY(bounce) = 1.600000;
7721 MY(color_min) = "0xD9FDFF";
7722 MY(color_max) = "0xD9FDFF";
7723 MY(count) = 0.200000;
7727 MY(stretchfactor) = 0.700000;
7731 MY(velocityjitter) = '100.0 100.0 300.0';
7732 MY(velocitymultiplier) = 3;
7735 // rifle damage effect, normal blood
7738 MY(airfriction) = 1;
7739 MY(alpha_min) = 256;
7740 MY(alpha_max) = 256;
7741 MY(alpha_fade) = 64;
7743 MY(color_min) = "0xA8FFFF";
7744 MY(color_max) = "0xA8FFFFF";
7745 MY(count) = 0.300000;
7746 MY(liquidfriction) = 4;
7749 MY(staincolor_min) = "0x808080";
7750 MY(staincolor_max) = "0x808080";
7751 MY(staintex_min) = 16;
7752 MY(staintex_max) = 24;
7756 MY(velocityjitter) = '32.0 32.0 32.0';
7757 MY(velocitymultiplier) = 5;
7761 MY(alpha_min) = 100;
7762 MY(alpha_max) = 256;
7763 MY(alpha_fade) = 400;
7764 MY(color_min) = "0x000000";
7765 MY(color_max) = "0x420000";
7770 MY(type) = "alphastatic";
7773 // rifle damage effect, alien blood
7774 DEF(damage_rifle_alien);
7775 SUB(damage_rifle_alien) {
7776 MY(airfriction) = 1;
7777 MY(alpha_min) = 256;
7778 MY(alpha_max) = 256;
7779 MY(alpha_fade) = 64;
7781 MY(color_min) = "0xDC9BCD";
7782 MY(color_max) = "0xDC9BCD";
7783 MY(count) = 0.300000;
7784 MY(liquidfriction) = 4;
7787 MY(staincolor_min) = "0x808080";
7788 MY(staincolor_max) = "0x808080";
7789 MY(staintex_min) = 16;
7790 MY(staintex_max) = 24;
7794 MY(velocityjitter) = '32.0 32.0 32.0';
7795 MY(velocitymultiplier) = 5;
7798 SUB(damage_rifle_alien) {
7799 MY(alpha_min) = 100;
7800 MY(alpha_max) = 256;
7801 MY(alpha_fade) = 400;
7802 MY(color_min) = "0x000000";
7803 MY(color_max) = "0x204010";
7808 MY(type) = "alphastatic";
7811 // rifle damage effect, robot blood
7812 DEF(damage_rifle_robot);
7813 SUB(damage_rifle_robot) {
7814 MY(airfriction) = 1;
7815 MY(alpha_min) = 256;
7816 MY(alpha_max) = 256;
7817 MY(alpha_fade) = 64;
7819 MY(color_min) = "0xC0D890";
7820 MY(color_max) = "0xC0D890";
7821 MY(count) = 0.300000;
7822 MY(liquidfriction) = 4;
7825 MY(staincolor_min) = "0x808080";
7826 MY(staincolor_max) = "0x808080";
7827 MY(staintex_min) = 16;
7828 MY(staintex_max) = 24;
7832 MY(velocityjitter) = '32.0 32.0 32.0';
7833 MY(velocitymultiplier) = 5;
7836 SUB(damage_rifle_robot) {
7837 MY(alpha_min) = 100;
7838 MY(alpha_max) = 256;
7839 MY(alpha_fade) = 400;
7840 MY(color_min) = "0x000000";
7841 MY(color_max) = "0x301860";
7846 MY(type) = "alphastatic";
7849 // seeker damage effect
7851 SUB(damage_seeker) {
7852 MY(alpha_min) = 512;
7854 MY(alpha_fade) = 1024;
7855 MY(color_min) = "0x8f0c00";
7856 MY(color_max) = "0xff2200";
7858 MY(gravity) = -0.300000;
7859 MY(notunderwater) = true;
7860 MY(originjitter) = '2.0 2.0 2.0';
7861 MY(sizeincrease) = -10;
7867 MY(velocityjitter) = '22.0 22.0 50.0';
7870 SUB(damage_seeker) {
7871 MY(alpha_min) = 128;
7873 MY(alpha_fade) = 128;
7874 MY(color_min) = "0x000000";
7875 MY(color_max) = "0x111111";
7877 MY(gravity) = -0.300000;
7878 MY(notunderwater) = true;
7879 MY(originjitter) = '4.0 4.0 4.0';
7880 MY(sizeincrease) = 10;
7884 MY(type) = "alphastatic";
7885 MY(velocityjitter) = '11.0 11.0 50.0';
7888 // hagar damage effect
7891 MY(alpha_min) = 512;
7893 MY(alpha_fade) = 1024;
7894 MY(color_min) = "0x8f0c00";
7895 MY(color_max) = "0xff3a00";
7897 MY(gravity) = -0.300000;
7898 MY(notunderwater) = true;
7899 MY(originjitter) = '2.0 2.0 2.0';
7900 MY(sizeincrease) = -10;
7906 MY(velocityjitter) = '22.0 22.0 50.0';
7910 MY(alpha_min) = 128;
7912 MY(alpha_fade) = 128;
7913 MY(color_min) = "0x000000";
7914 MY(color_max) = "0x111111";
7916 MY(gravity) = -0.300000;
7917 MY(notunderwater) = true;
7918 MY(originjitter) = '4.0 4.0 4.0';
7919 MY(sizeincrease) = 10;
7923 MY(type) = "alphastatic";
7924 MY(velocityjitter) = '11.0 11.0 50.0';
7927 // fireball damage effect
7928 DEF(damage_fireball);
7929 SUB(damage_fireball) {
7930 MY(alpha_min) = 256;
7932 MY(alpha_fade) = 512;
7933 MY(color_min) = "0x8f0d00";
7934 MY(color_max) = "0xff5a00";
7936 MY(gravity) = -0.500000;
7937 MY(notunderwater) = true;
7938 MY(originjitter) = '8.0 8.0 8.0';
7939 MY(sizeincrease) = -10;
7945 MY(velocityjitter) = '22.0 22.0 50.0';
7948 SUB(damage_fireball) {
7949 MY(alpha_min) = 128;
7951 MY(alpha_fade) = 128;
7952 MY(color_min) = "0x000000";
7953 MY(color_max) = "0x111111";
7955 MY(gravity) = -0.300000;
7956 MY(notunderwater) = true;
7957 MY(originjitter) = '6.0 6.0 6.0';
7958 MY(sizeincrease) = 10;
7962 MY(type) = "alphastatic";
7963 MY(velocityjitter) = '11.0 11.0 50.0';
7966 // rocketlauncher damage effect
7967 DEF(damage_rocketlauncher);
7968 SUB(damage_rocketlauncher) {
7969 MY(alpha_min) = 512;
7971 MY(alpha_fade) = 1024;
7972 MY(color_min) = "0x8f0c00";
7973 MY(color_max) = "0xff2a00";
7975 MY(gravity) = -0.700000;
7976 MY(notunderwater) = true;
7977 MY(originjitter) = '4.0 4.0 4.0';
7978 MY(sizeincrease) = -10;
7984 MY(velocityjitter) = '22.0 22.0 30.0';
7987 SUB(damage_rocketlauncher) {
7988 MY(alpha_min) = 128;
7990 MY(alpha_fade) = 128;
7991 MY(color_min) = "0x000000";
7992 MY(color_max) = "0x111111";
7994 MY(gravity) = -0.300000;
7995 MY(notunderwater) = true;
7996 MY(originjitter) = '4.0 4.0 4.0';
7997 MY(sizeincrease) = 10;
8001 MY(type) = "alphastatic";
8002 MY(velocityjitter) = '11.0 11.0 50.0';
8008 MY(airfriction) = 5;
8009 MY(alpha_min) = 256;
8010 MY(alpha_max) = 256;
8011 MY(alpha_fade) = 70;
8013 MY(color_min) = "0xff9600";
8014 MY(color_max) = "0xffefb8";
8016 MY(originjitter) = '32.0 32.0 32.0';
8017 MY(originoffset) = '8.0 8.0 8.0';
8018 MY(sizeincrease) = -0.300000;
8025 MY(type) = "static";
8026 MY(velocityjitter) = '64.0 64.0 64.0';
8027 MY(velocityoffset) = '2.0 2.0 2.0';
8030 DEF(healray_muzzleflash);
8031 SUB(healray_muzzleflash) {
8032 MY(alpha_min) = 256;
8033 MY(alpha_max) = 256;
8034 MY(alpha_fade) = 512;
8035 MY(color_min) = "0x283880";
8036 MY(color_max) = "0x283880";
8037 MY(countabsolute) = 1;
8038 MY(lightcolor) = '1.5 3.0 6.0';
8039 MY(lightradiusfade) = 2000;
8040 MY(lightradius) = 200;
8041 MY(originjitter) = '1.5 1.5 1.5';
8042 MY(sizeincrease) = -10;
8048 MY(velocityjitter) = '6.0 6.0 6.0';
8049 MY(velocitymultiplier) = 0.010000;
8051 SUB(healray_muzzleflash) {
8052 MY(airfriction) = 5;
8054 MY(alpha_max) = 150;
8055 MY(alpha_fade) = 1924;
8056 MY(color_min) = "0xD9FDFF";
8057 MY(color_max) = "0x00f0ff";
8059 MY(originjitter) = '1.0 1.0 1.0';
8060 MY(sizeincrease) = 3;
8063 MY(stretchfactor) = 3.900000;
8067 MY(velocityjitter) = '150.0 150.0 150.0';
8068 MY(velocitymultiplier) = 0.400000;
8070 SUB(healray_muzzleflash) {
8071 MY(alpha_min) = 110;
8072 MY(alpha_max) = 228;
8073 MY(alpha_fade) = 4024;
8074 MY(color_min) = "0xD9FDFF";
8075 MY(color_max) = "0x00f0ff";
8077 MY(originjitter) = '1.0 1.0 1.0';
8080 MY(stretchfactor) = 0.200000;
8084 MY(velocityjitter) = '650.0 650.0 650.0';
8085 MY(velocitymultiplier) = 1.100000;
8088 DEF(healray_impact);
8089 SUB(healray_impact) {
8090 MY(alpha_min) = 256;
8091 MY(alpha_max) = 256;
8092 MY(color_min) = "0xd800ff";
8093 MY(color_max) = "0xd800ff";
8094 MY(countabsolute) = 1;
8095 MY(lightcolor) = '0.0 4.4 0.0';
8096 MY(lightradiusfade) = 450;
8097 MY(lightradius) = 125;
8098 MY(originjitter) = '17.0 17.0 17.0';
8106 SUB(healray_impact) {
8109 MY(alpha_fade) = 350;
8110 MY(color_min) = "0x00ff00";
8111 MY(color_max) = "0x84c52f";
8112 MY(countabsolute) = 1;
8113 MY(sizeincrease) = 1400;
8119 MY(velocitymultiplier) = 44;
8121 // cloud of bouncing sparks
8122 SUB(healray_impact) {
8123 MY(airfriction) = 6;
8124 MY(alpha_min) = 156;
8125 MY(alpha_max) = 300;
8126 MY(alpha_fade) = 1024;
8127 MY(color_min) = "0x00ff00";
8128 MY(color_max) = "0x84c52f";
8131 MY(originjitter) = '1.0 1.0 1.0';
8137 MY(velocityjitter) = '1112.0 1112.0 1112.0';
8139 // inner cloud of smoke
8140 SUB(healray_impact) {
8141 MY(airfriction) = 3;
8142 MY(alpha_min) = 200;
8143 MY(alpha_max) = 456;
8144 MY(alpha_fade) = 512;
8145 MY(color_min) = "0x00ff00";
8146 MY(color_max) = "0x84c52f";
8149 MY(startangle_min) = -180;
8150 MY(startangle_max) = 180;
8158 MY(velocityjitter) = '120.0 120.0 420.0';
8161 DEF(bigplasma_muzzleflash);
8162 SUB(bigplasma_muzzleflash) {
8163 MY(alpha_min) = 256;
8164 MY(alpha_max) = 256;
8165 MY(alpha_fade) = 812;
8166 MY(color_min) = "0x283880";
8167 MY(color_max) = "0x283880";
8168 MY(countabsolute) = 1;
8169 MY(lightcolor) = '1.5 3.0 6.0';
8170 MY(lightradiusfade) = 2000;
8171 MY(lightradius) = 200;
8172 MY(originjitter) = '1.5 1.5 1.5';
8173 MY(sizeincrease) = -10;
8179 MY(velocityjitter) = '6.0 6.0 6.0';
8180 MY(velocitymultiplier) = 0.010000;
8182 SUB(bigplasma_muzzleflash) {
8185 MY(alpha_fade) = 1112;
8186 MY(color_min) = "0x00f0ff";
8187 MY(color_max) = "0x00f0ff";
8188 MY(countabsolute) = 1;
8189 MY(sizeincrease) = 300;
8196 SUB(bigplasma_muzzleflash) {
8197 MY(airfriction) = 5;
8199 MY(alpha_max) = 150;
8200 MY(alpha_fade) = 1924;
8201 MY(color_min) = "0xD9FDFF";
8202 MY(color_max) = "0x00f0ff";
8204 MY(originjitter) = '1.0 1.0 1.0';
8205 MY(sizeincrease) = 135;
8208 MY(stretchfactor) = 1.900000;
8212 MY(velocityjitter) = '350.0 350.0 350.0';
8213 MY(velocitymultiplier) = 0.400000;
8215 SUB(bigplasma_muzzleflash) {
8216 MY(alpha_min) = 110;
8217 MY(alpha_max) = 228;
8218 MY(alpha_fade) = 4024;
8219 MY(color_min) = "0xD9FDFF";
8220 MY(color_max) = "0x00f0ff";
8222 MY(originjitter) = '1.0 1.0 1.0';
8225 MY(stretchfactor) = 0.200000;
8229 MY(velocityjitter) = '650.0 650.0 650.0';
8230 MY(velocitymultiplier) = 1.100000;
8233 DEF(bigplasma_impact);
8234 SUB(bigplasma_impact) {
8235 MY(alpha_min) = 256;
8236 MY(alpha_max) = 256;
8237 MY(countabsolute) = 1;
8238 MY(lightcolor) = '3.1 4.4 10.0';
8239 MY(lightradiusfade) = 450;
8240 MY(lightradius) = 125;
8241 MY(originjitter) = '17.0 17.0 17.0';
8249 SUB(bigplasma_impact) {
8252 MY(alpha_fade) = 350;
8253 MY(color_min) = "0x80C0FF";
8254 MY(color_max) = "0x80C0FF";
8255 MY(countabsolute) = 1;
8256 MY(sizeincrease) = 1400;
8262 MY(velocitymultiplier) = 44;
8264 // cloud of bouncing sparks
8265 SUB(bigplasma_impact) {
8266 MY(airfriction) = 6;
8267 MY(alpha_min) = 156;
8268 MY(alpha_max) = 300;
8269 MY(alpha_fade) = 1024;
8270 MY(color_min) = "0x629dff";
8271 MY(color_max) = "0x0018ff";
8274 MY(originjitter) = '1.0 1.0 1.0';
8280 MY(velocityjitter) = '1512.0 1512.0 1512.0';
8282 // inner cloud of smoke
8283 SUB(bigplasma_impact) {
8284 MY(airfriction) = 30;
8285 MY(alpha_min) = 200;
8286 MY(alpha_max) = 456;
8287 MY(alpha_fade) = 1512;
8288 MY(color_min) = "0x629dff";
8289 MY(color_max) = "0x0018ff";
8291 MY(originjitter) = '20.0 20.0 20.0';
8292 MY(startangle_min) = -180;
8293 MY(startangle_max) = 180;
8296 MY(sizeincrease) = 555;
8302 MY(velocityjitter) = '320.0 320.0 320.0';
8305 SUB(bigplasma_impact) {
8306 MY(airfriction) = 0.040000;
8307 MY(alpha_min) = 128;
8308 MY(alpha_max) = 328;
8309 MY(alpha_fade) = 390;
8310 MY(blend) = "alpha";
8311 MY(color_min) = "0x222222";
8312 MY(color_max) = "0x000000";
8314 MY(gravity) = 0.400000;
8315 MY(originjitter) = '80.0 80.0 10.0';
8316 MY(startangle_min) = -180;
8317 MY(startangle_max) = 180;
8320 MY(sizeincrease) = 30;
8325 MY(velocityjitter) = '100.0 100.0 200.0';
8326 MY(velocityoffset) = '0.0 0.0 180.0';
8328 // smoke in the middle
8329 SUB(bigplasma_impact) {
8330 MY(airfriction) = 0.040000;
8331 MY(alpha_min) = 128;
8332 MY(alpha_max) = 328;
8333 MY(alpha_fade) = 310;
8334 MY(color_min) = "0x222222";
8335 MY(color_max) = "0x000000";
8337 MY(gravity) = -0.200000;
8338 MY(originjitter) = '80.0 80.0 80.0';
8339 MY(startangle_min) = -180;
8340 MY(startangle_max) = 180;
8343 MY(sizeincrease) = -10;
8347 MY(type) = "alphastatic";
8348 MY(velocityjitter) = '10.0 10.0 10.0';
8351 #include "effectinfo_ctf.inc"
8353 // spawn_point -- team idle spawn point effect
8354 #define spawn_point(name, color) \
8355 DEF(spawn_point_##name); \
8356 SUB(spawn_point_##name) { \
8357 MY(airfriction) = 0.200000; \
8358 MY(alpha_min) = 64; \
8359 MY(alpha_max) = 128; \
8360 MY(alpha_fade) = 128; \
8361 MY(color_min) = color; \
8362 MY(color_max) = color; \
8363 MY(count) = 37.500000; \
8364 MY(gravity) = -0.100000; \
8365 MY(liquidfriction) = 0.800000; \
8366 MY(originjitter) = '16.0 16.0 64.0'; \
8369 MY(type) = "static"; \
8370 MY(velocityjitter) = '32.0 32.0 0.0'; \
8373 spawn_point(red, "0xFF0F0F")
8374 spawn_point(blue, "0x0F0FFF")
8375 spawn_point(yellow, "0xFFFF0F")
8376 spawn_point(pink, "0xFF0FFF")
8377 spawn_point(neutral, "0xFFFFFF")
8380 // spawn_event -- team spawning effect
8381 #define spawn_event(name, color) \
8382 DEF(spawn_event_##name); \
8383 SUB(spawn_event_##name) { \
8384 MY(airfriction) = 2; \
8385 MY(alpha_max) = 256; \
8386 MY(alpha_fade) = 256; \
8388 MY(color_min) = color; \
8389 MY(color_max) = color; \
8391 MY(originjitter) = '1.0 1.0 1.0'; \
8394 MY(stretchfactor) = 0.600000; \
8397 MY(type) = "spark"; \
8398 MY(velocityjitter) = '500.0 500.0 500.0'; \
8399 MY(velocitymultiplier) = 0.100000; \
8401 SUB(spawn_event_##name) { \
8402 MY(alpha_min) = 190; \
8403 MY(alpha_max) = 190; \
8404 MY(alpha_fade) = 180; \
8405 MY(color_min) = color; \
8406 MY(color_max) = color; \
8407 MY(countabsolute) = 1; \
8408 MY(sizeincrease) = -80; \
8409 MY(size_min) = 100; \
8410 MY(size_max) = 100; \
8413 MY(type) = "smoke"; \
8417 spawn_event(red, "0xFF0F0F")
8418 spawn_event(blue, "0x0F0FFF")
8419 spawn_event(yellow, "0xFFFF0F")
8420 spawn_event(pink, "0xFF0FFF")
8421 spawn_event(neutral, "0xFFFFFF")
8424 #include "effectinfo_nades.inc"
8426 DEF(shockwave_attack);
8428 SUB(shockwave_attack) {
8429 MY(airfriction) = 1;
8430 MY(alpha_min) = 4096;
8431 MY(alpha_max) = 4096;
8432 MY(alpha_fade) = 20000;
8433 MY(color_min) = "0xb44215";
8434 MY(color_max) = "0xff0000";
8436 MY(originjitter) = '2.0 2.0 2.0';
8437 MY(startangle_min) = -180;
8438 MY(startangle_max) = 180;
8439 MY(spin_min) = 4000;
8440 MY(spin_max) = -4000;
8441 MY(sizeincrease) = 1.500000;
8444 MY(stretchfactor) = 2.300000;
8448 MY(velocityjitter) = '10.0 10.0 10.0';
8449 MY(velocitymultiplier) = 10;
8452 SUB(shockwave_attack) {
8453 MY(airfriction) = 1;
8454 MY(alpha_min) = 4096;
8455 MY(alpha_max) = 4096;
8456 MY(alpha_fade) = 20000;
8457 MY(color_min) = "0xff4200";
8458 MY(color_max) = "0xff0000";
8460 MY(originjitter) = '2.0 2.0 2.0';
8461 MY(sizeincrease) = 1.500000;
8464 MY(stretchfactor) = 2;
8468 MY(velocityjitter) = '10.0 10.0 10.0';
8469 MY(velocitymultiplier) = 10;
8474 SUB(arc_lightning) {
8477 MY(countabsolute) = 1;
8478 MY(lightcolor) = '3.1 4.4 10.0';
8479 MY(lightradiusfade) = 200;
8480 MY(lightradius) = 50;
8481 MY(originjitter) = '2.0 2.0 2.0';
8489 SUB(arc_lightning) {
8490 MY(airfriction) = 110;
8491 MY(alpha_min) = 256;
8492 MY(alpha_max) = 256;
8493 MY(alpha_fade) = 512;
8494 MY(color_min) = "0xDDFDFF";
8495 MY(color_max) = "0xFDFDFF";
8497 MY(originjitter) = '20.0 20.0 20.0';
8498 MY(startangle_max) = 360;
8499 MY(spin_min) = -36000;
8500 MY(spin_max) = 36000;
8501 MY(sizeincrease) = -5;
8503 MY(stretchfactor) = 1;
8506 MY(type) = "static";
8507 MY(velocityjitter) = '250.0 250.0 250.0';
8508 MY(velocitymultiplier) = 100;
8510 // impact sparks (underwater)
8511 SUB(arc_lightning) {
8512 MY(airfriction) = 5;
8513 MY(alpha_min) = 256;
8514 MY(alpha_max) = 256;
8515 MY(alpha_fade) = 512;
8516 MY(color_min) = "0xDDFDFF";
8517 MY(color_max) = "0xFDFDFF";
8519 MY(liquidfriction) = 5;
8520 MY(orientation) = "spark";
8521 MY(originjitter) = '20.0 20.0 20.0';
8522 MY(startangle_max) = 360;
8523 MY(spin_min) = -36000;
8524 MY(spin_max) = 36000;
8525 MY(sizeincrease) = -5;
8527 MY(stretchfactor) = 1;
8530 MY(type) = "static";
8531 MY(underwater) = true;
8532 MY(velocityjitter) = '250.0 250.0 250.0';
8533 MY(velocitymultiplier) = 20;
8539 MY(airfriction) = -10;
8540 MY(alpha_min) = 256;
8541 MY(alpha_max) = 256;
8542 MY(alpha_fade) = 16384;
8543 MY(color_min) = "0xfafad2";
8544 MY(color_max) = "0xffffff";
8545 MY(originjitter) = '3.0 3.0 3.0';
8546 MY(relativeoriginoffset) = '10.0 0.0 0.0';
8547 MY(startangle_max) = 360;
8549 MY(spin_max) = 1000;
8550 MY(stretchfactor) = 1;
8553 MY(time_min) = 0.050000;
8554 MY(time_max) = 0.050000;
8555 MY(trailspacing) = 10;
8557 MY(velocityjitter) = '100.0 100.0 100.0';
8558 MY(velocitymultiplier) = 200;
8560 // sparks on beam (underwater)
8562 MY(alpha_min) = 256;
8563 MY(alpha_max) = 256;
8564 MY(alpha_fade) = 16384;
8565 MY(color_min) = "0xfafad2";
8566 MY(color_max) = "0xffffff";
8567 MY(liquidfriction) = -10;
8568 MY(originjitter) = '30.0 30.0 30.0';
8569 MY(relativeoriginoffset) = '10.0 0.0 0.0';
8570 MY(startangle_max) = 360;
8572 MY(spin_max) = 1000;
8573 MY(stretchfactor) = 1;
8576 MY(time_min) = 0.001000;
8577 MY(time_max) = 0.001000;
8578 MY(trailspacing) = 10;
8580 MY(underwater) = true;
8581 MY(velocityjitter) = '100.0 100.0 100.0';
8582 MY(velocitymultiplier) = 200;
8587 SUB(arc_beam_heal) {
8588 MY(airfriction) = -20;
8589 MY(alpha_min) = 2048;
8590 MY(alpha_max) = 2048;
8591 MY(alpha_fade) = 256;
8592 MY(color_min) = "0x20FF20";
8593 MY(color_max) = "0x40FF40";
8594 MY(relativeoriginoffset) = '5.0 0.0 0.0';
8595 MY(relativevelocityoffset) = '100.0 0.0 0.0';
8596 MY(sizeincrease) = 20;
8597 MY(size_min) = 0.100000;
8598 MY(size_max) = 0.100000;
8601 MY(trailspacing) = 1500;
8603 MY(velocityjitter) = '3.0 3.0 3.0';
8604 MY(velocitymultiplier) = 200;
8607 DEF(arc_beam_healimpact);
8609 SUB(arc_beam_healimpact) {
8612 MY(alpha_fade) = 350;
8613 MY(color_min) = "0x00ff00";
8614 MY(color_max) = "0x84c52f";
8615 MY(countabsolute) = 1;
8616 MY(lightcolor) = '0.0 4.4 0.0';
8617 MY(lightradiusfade) = 150;
8618 MY(lightradius) = 20;
8619 MY(sizeincrease) = -1000;
8625 MY(velocitymultiplier) = 44;
8628 SUB(arc_beam_healimpact) {
8629 MY(airfriction) = 3;
8630 MY(alpha_min) = 200;
8631 MY(alpha_max) = 456;
8632 MY(alpha_fade) = 512;
8633 MY(color_min) = "0x00ff00";
8634 MY(color_max) = "0x84c52f";
8637 MY(startangle_min) = -180;
8638 MY(startangle_max) = 180;
8641 MY(size_min) = 0.500000;
8646 MY(velocityjitter) = '120.0 120.0 420.0';
8650 // arc heat smoke (notunderwater)
8652 MY(airfriction) = 1;
8655 MY(alpha_fade) = 48;
8656 MY(color_min) = "0x4c453f";
8657 MY(color_max) = "0x2a241f";
8659 MY(gravity) = -0.125000;
8660 MY(notunderwater) = true;
8661 MY(startangle_max) = 360;
8662 MY(spin_min) = -180;
8664 MY(sizeincrease) = 10;
8669 MY(velocityjitter) = '0.0 0.0 16.0';
8671 // arc heat bubbles (underwater)
8673 MY(alpha_min) = 170;
8674 MY(alpha_max) = 256;
8675 MY(alpha_fade) = 64;
8676 MY(bounce) = 1.500000;
8677 MY(color_min) = "0x404040";
8678 MY(color_max) = "0x808080";
8680 MY(gravity) = -0.125000;
8681 MY(liquidfriction) = 0.250000;
8682 MY(originjitter) = '6.0 6.0 6.0';
8683 MY(size_min) = 0.100000;
8687 MY(type) = "bubble";
8688 MY(underwater) = true;
8689 MY(velocityjitter) = '16.0 16.0 16.0';
8693 // arc overheat electric bolts
8695 MY(airfriction) = 5;
8696 MY(alpha_min) = 128;
8697 MY(alpha_max) = 128;
8698 MY(alpha_fade) = 292;
8699 MY(color_min) = "0xffffff";
8700 MY(color_max) = "0x9271fb";
8702 MY(gravity) = -0.400000;
8703 MY(liquidfriction) = 10;
8704 MY(originjitter) = '10.0 10.0 10.0';
8705 MY(sizeincrease) = -24;
8711 MY(velocityjitter) = '256.0 256.0 256.0';
8714 DEF(arc_overheat_fire);
8715 // arc overheat bouncing sparks
8716 SUB(arc_overheat_fire) {
8717 MY(alpha_max) = 256;
8718 MY(alpha_fade) = 640;
8719 MY(bounce) = 1.500000;
8720 MY(color_min) = "0x4444ff";
8721 MY(color_max) = "0xeeeeff";
8724 MY(liquidfriction) = 5;
8725 MY(originjitter) = '6.0 6.0 6.0';
8726 MY(size_min) = 0.400000;
8729 MY(velocityjitter) = '92.0 92.0 92.0';
8730 MY(velocitymultiplier) = 80;
8731 MY(velocityoffset) = '0.0 0.0 80.0';
8734 #include "effectinfo_buffs.inc"
8736 #include "effectinfo_instagib.inc"
8738 DEF(arc_muzzleflash);
8739 SUB(arc_muzzleflash) {
8740 MY(alpha_min) = 256;
8741 MY(alpha_max) = 256;
8742 MY(alpha_fade) = 512;
8743 MY(color_min) = "0x00ff00";
8744 MY(color_max) = "0x8f4333";
8746 MY(lightcolor) = '0.3 2.0 0.2';
8747 MY(lightradiusfade) = 2000;
8748 MY(lightradius) = 200;
8749 MY(originjitter) = '1.5 1.5 1.5';
8754 MY(velocityjitter) = '6.0 6.0 6.0';
8755 MY(velocitymultiplier) = 0.010000;
8757 SUB(arc_muzzleflash) {
8758 MY(airfriction) = 12;
8759 MY(alpha_max) = 128;
8760 MY(alpha_fade) = 1024;
8761 MY(color_min) = "0x00ff00";
8762 MY(color_max) = "0x8f4333";
8764 MY(originjitter) = '1.0 1.0 1.0';
8765 MY(startangle_min) = -180;
8766 MY(startangle_max) = 180;
8767 MY(spin_min) = -400;
8771 MY(stretchfactor) = 2;
8775 MY(velocityjitter) = '200.0 200.0 200.0';
8776 MY(velocitymultiplier) = 0.500000;
8779 DEF(arc_bolt_explode);
8781 SUB(arc_bolt_explode) {
8782 MY(alpha_min) = 256;
8783 MY(alpha_max) = 256;
8784 MY(countabsolute) = 1;
8785 MY(lightcolor) = '8.0 4.0 1.0';
8786 MY(lightradiusfade) = 400;
8787 MY(lightradius) = 120;
8788 MY(originjitter) = '14.0 14.0 14.0';
8795 // fire effect which make bright dot inside
8796 SUB(arc_bolt_explode) {
8797 MY(airfriction) = 8;
8799 MY(alpha_max) = 200;
8800 MY(alpha_fade) = 356;
8801 MY(bounce) = 1.500000;
8802 MY(color_min) = "0x00ffff";
8803 MY(color_max) = "0x00ffff";
8804 MY(count) = 3.500000;
8805 MY(liquidfriction) = 8;
8806 MY(notunderwater) = true;
8807 MY(originjitter) = '8.0 8.0 8.0';
8808 MY(sizeincrease) = 5;
8814 MY(velocityjitter) = '156.0 156.0 156.0';
8816 // fire effect which expands then slows
8817 SUB(arc_bolt_explode) {
8818 MY(airfriction) = 12;
8819 MY(alpha_min) = 128;
8820 MY(alpha_max) = 256;
8821 MY(alpha_fade) = 456;
8822 MY(bounce) = 1.500000;
8823 MY(color_min) = "0x00ff00";
8824 MY(color_max) = "0x8f4333";
8826 MY(liquidfriction) = 8;
8827 MY(notunderwater) = true;
8828 MY(originjitter) = '8.0 8.0 8.0';
8829 MY(sizeincrease) = 15;
8834 MY(type) = "static";
8835 MY(velocityjitter) = '286.0 286.0 286.0';
8837 // underwater bubbles
8838 SUB(arc_bolt_explode) {
8839 MY(alpha_min) = 128;
8840 MY(alpha_max) = 256;
8841 MY(alpha_fade) = 64;
8842 MY(bounce) = 1.500000;
8843 MY(color_min) = "0x404040";
8844 MY(color_max) = "0x808080";
8846 MY(gravity) = -0.125000;
8847 MY(liquidfriction) = 0.250000;
8848 MY(originjitter) = '16.0 16.0 16.0';
8853 MY(type) = "bubble";
8854 MY(underwater) = true;
8855 MY(velocityjitter) = '96.0 96.0 96.0';
8858 SUB(arc_bolt_explode) {
8859 MY(airfriction) = 1;
8860 MY(alpha_min) = 644;
8861 MY(alpha_max) = 956;
8862 MY(alpha_fade) = 684;
8863 MY(bounce) = 1.600000;
8864 MY(color_min) = "0x00ff00";
8865 MY(color_max) = "0x8f4333";
8868 MY(liquidfriction) = 0.800000;
8869 MY(notunderwater) = true;
8870 MY(originjitter) = '16.0 16.0 16.0';
8872 MY(size_max) = 0.100000;
8876 MY(velocityjitter) = '224.0 224.0 224.0';
8877 MY(velocityoffset) = '0.0 0.0 80.0';