1 // docs: https://www.quakewiki.net/darkplaces-wiki/effectinfo-scripting-reference/
2 // use `cl_particles_reloadeffects` to reload effects without restarting engine
3 // use `chase_active 1` and `cl_lockview 1` to see effects from different perspectives
4 // `dumpeffectinfo` currently doesn't work so edit effectinfo.txt manually, just try to keep the files in sync
5 // always add new effects to the bottom of the list
7 // `tex` are indices into particles/particlefont.tga (see particles/particlefont-template.tga for numbers)
8 // the first index is inclusive, second exclusive (so `tex 0 8` will use images 0 though 7)
9 // unless they're equal (`tex 69 69` is the same as `tex 69 70`)
11 // item respawn effect
13 // flare particle and light
18 MY(color_min) = "0x63F2EA";
19 MY(color_max) = "0x63f2EA";
20 MY(countabsolute) = 1;
21 MY(lightcolor) = '0.4 0.9 0.9';
22 MY(lightradiusfade) = 200;
23 MY(lightradius) = 200;
28 // cloud of particles which expand rapidly and then slow to form a ball
34 MY(color_min) = "0x63F2EA";
35 MY(color_max) = "0x63f2EA";
37 MY(liquidfriction) = 2;
38 MY(originjitter) = '16.0 16.0 16.0';
42 MY(velocityjitter) = '32.0 32.0 32.0';
51 MY(countabsolute) = 1;
52 MY(lightcolor) = '4.0 0.2 0.2';
53 MY(lightradiusfade) = 1000;
54 MY(lightradius) = 200;
55 MY(originjitter) = '16.0 16.0 16.0';
66 MY(alpha_fade) = 1024;
67 MY(color_min) = "0xFF2010";
68 MY(color_max) = "0xFF2010";
69 MY(countabsolute) = 1;
76 // sparks that rapidly expand and rapidly slow down to form an interesting spherical effect
81 MY(alpha_fade) = 1024;
82 MY(color_min) = "0x800000";
83 MY(color_max) = "0xFF8020";
85 MY(liquidfriction) = 6;
89 MY(velocityjitter) = '256.0 256.0 256.0';
92 // machinegun bullet impact
94 // bullet impact decal
98 MY(countabsolute) = 1;
99 MY(originjitter) = '6.0 6.0 6.0';
106 // dust/smoke drifting away from the impact
110 MY(alpha_fade) = 256;
111 MY(color_min) = "0x101010";
112 MY(color_max) = "0x101010";
114 MY(sizeincrease) = 3;
119 MY(velocityjitter) = '8.0 8.0 8.0';
121 // dust/smoke staying at the impact
125 MY(alpha_fade) = 128;
126 MY(color_min) = "0x505050";
127 MY(color_max) = "0x505050";
128 MY(count) = 0.500000;
129 MY(sizeincrease) = 4;
138 MY(alpha_fade) = 256;
139 MY(bounce) = 1.500000;
140 MY(color_min) = "0x8f4333";
141 MY(color_max) = "0xfff31b";
144 MY(size_min) = 0.400000;
145 MY(size_max) = 0.400000;
147 MY(velocityjitter) = '64.0 64.0 64.0';
148 MY(velocityoffset) = '0.0 0.0 80.0';
151 // electro combo explosion
157 MY(countabsolute) = 1;
158 MY(lightcolor) = '2.0 2.5 3.0';
159 MY(lightradiusfade) = 200;
160 MY(lightradius) = 400;
161 MY(originjitter) = '34.0 34.0 34.0';
172 MY(alpha_fade) = 128;
173 MY(color_min) = "0x80C0FF";
174 MY(color_max) = "0x80C0FF";
175 MY(countabsolute) = 1;
187 MY(alpha_fade) = 256;
188 MY(bounce) = 1.500000;
189 MY(color_min) = "0x2030FF";
190 MY(color_max) = "0x80C0FF";
192 MY(liquidfriction) = 16;
196 MY(velocityjitter) = '512.0 512.0 512.0';
205 MY(countabsolute) = 1;
206 MY(originjitter) = '6.0 6.0 6.0';
213 // dust/smoke drifting away from the impact
217 MY(alpha_fade) = 256;
218 MY(color_min) = "0x101010";
219 MY(color_max) = "0x101010";
221 MY(sizeincrease) = 3;
226 MY(velocityjitter) = '8.0 8.0 8.0';
228 // dust/smoke staying at the impact
232 MY(alpha_fade) = 128;
233 MY(color_min) = "0x505050";
234 MY(color_max) = "0x505050";
235 MY(count) = 0.500000;
236 MY(sizeincrease) = 4;
242 // sparks that disappear on impact
245 MY(alpha_fade) = 768;
247 MY(color_min) = "0x8f4333";
248 MY(color_max) = "0xfff31b";
251 MY(size_min) = 0.400000;
252 MY(size_max) = 0.400000;
254 MY(velocityjitter) = '64.0 64.0 64.0';
255 MY(velocityoffset) = '0.0 0.0 80.0';
259 DEF(TE_SUPERSPIKEQUAD);
261 SUB(TE_SUPERSPIKEQUAD) {
264 MY(countabsolute) = 1;
265 MY(lightcolor) = '0.2 0.2 1.5';
266 MY(lightradiusfade) = 500;
267 MY(lightradius) = 100;
268 MY(originjitter) = '6.0 6.0 6.0';
275 // dust/smoke drifting away from the impact
276 SUB(TE_SUPERSPIKEQUAD) {
279 MY(alpha_fade) = 256;
280 MY(color_min) = "0x101010";
281 MY(color_max) = "0x101010";
283 MY(sizeincrease) = 3;
288 MY(velocityjitter) = '8.0 8.0 8.0';
290 // dust/smoke staying at the impact
291 SUB(TE_SUPERSPIKEQUAD) {
294 MY(alpha_fade) = 128;
295 MY(color_min) = "0x505050";
296 MY(color_max) = "0x505050";
297 MY(count) = 0.500000;
298 MY(sizeincrease) = 4;
304 // sparks that disappear on impact
305 SUB(TE_SUPERSPIKEQUAD) {
307 MY(alpha_fade) = 768;
309 MY(color_min) = "0x8f4333";
310 MY(color_max) = "0xfff31b";
313 MY(size_min) = 0.400000;
314 MY(size_max) = 0.400000;
316 MY(velocityjitter) = '64.0 64.0 64.0';
317 MY(velocityoffset) = '0.0 0.0 80.0';
320 // shotgun pellet impact
326 MY(countabsolute) = 1;
327 MY(originjitter) = '6.0 6.0 6.0';
334 // dust/smoke drifting away from the impact
339 MY(color_min) = "0x101010";
340 MY(color_max) = "0x101010";
341 MY(count) = 0.800000;
342 MY(sizeincrease) = 3;
347 MY(velocityjitter) = '8.0 8.0 8.0';
349 // dust/smoke staying at the impact
354 MY(color_min) = "0x505050";
355 MY(color_max) = "0x505050";
356 MY(count) = 0.200000;
357 MY(sizeincrease) = 4;
367 MY(bounce) = 1.500000;
368 MY(color_min) = "0x8f4333";
369 MY(color_max) = "0xfff31b";
370 MY(count) = 2.500000;
372 MY(size_min) = 0.400000;
373 MY(size_max) = 0.400000;
375 MY(velocityjitter) = '64.0 64.0 64.0';
376 MY(velocityoffset) = '0.0 0.0 80.0';
379 // crylink impact effect
382 SUB(TE_GUNSHOTQUAD) {
385 MY(countabsolute) = 1;
386 MY(originjitter) = '12.0 12.0 12.0';
393 // purple flare effect
394 SUB(TE_GUNSHOTQUAD) {
397 MY(alpha_fade) = 512;
398 MY(color_min) = "0x504060";
399 MY(color_max) = "0x504060";
400 MY(countabsolute) = 1;
408 SUB(TE_GUNSHOTQUAD) {
411 MY(alpha_fade) = 384;
412 MY(bounce) = 1.500000;
413 MY(color_min) = "0xA040C0";
414 MY(color_max) = "0xFFFFFF";
420 MY(velocityjitter) = '128.0 128.0 128.0';
421 MY(velocityoffset) = '0.0 0.0 80.0';
424 // mortar/hagar explosion (smaller than rocket)
430 MY(countabsolute) = 1;
431 MY(lightcolor) = '4.0 2.0 0.5';
432 MY(lightradiusfade) = 300;
433 MY(lightradius) = 150;
434 MY(originjitter) = '40.0 40.0 40.0';
446 MY(color_min) = "0x404040";
447 MY(color_max) = "0x404040";
448 MY(countabsolute) = 1;
455 // fire effect which expands then slows
460 MY(alpha_fade) = 256;
461 MY(bounce) = 1.500000;
462 MY(color_min) = "0x902010";
463 MY(color_max) = "0xFFD080";
465 MY(liquidfriction) = 4;
466 MY(notunderwater) = true;
467 MY(originjitter) = '8.0 8.0 8.0';
473 MY(velocityjitter) = '256.0 256.0 256.0';
475 // underwater bubbles
480 MY(bounce) = 1.500000;
481 MY(color_min) = "0x404040";
482 MY(color_max) = "0x808080";
484 MY(gravity) = -0.125000;
485 MY(liquidfriction) = 0.250000;
486 MY(originjitter) = '16.0 16.0 16.0';
492 MY(underwater) = true;
493 MY(velocityjitter) = '96.0 96.0 96.0';
497 MY(airfriction) = 0.200000;
500 MY(alpha_fade) = 384;
501 MY(bounce) = 1.500000;
502 MY(color_min) = "0x903010";
503 MY(color_max) = "0xFFD030";
506 MY(liquidfriction) = 0.800000;
507 MY(notunderwater) = true;
511 MY(velocityjitter) = '256.0 256.0 256.0';
512 MY(velocityoffset) = '0.0 0.0 80.0';
516 DEF(TE_EXPLOSIONQUAD);
518 SUB(TE_EXPLOSIONQUAD) {
521 MY(countabsolute) = 1;
522 MY(lightcolor) = '4.0 2.0 8.0';
523 MY(lightradiusfade) = 700;
524 MY(lightradius) = 350;
525 MY(originjitter) = '40.0 40.0 40.0';
533 SUB(TE_EXPLOSIONQUAD) {
537 MY(color_min) = "0x202020";
538 MY(color_max) = "0x404040";
540 MY(notunderwater) = true;
545 MY(velocityjitter) = '48.0 48.0 48.0';
547 // underwater bubbles
548 SUB(TE_EXPLOSIONQUAD) {
552 MY(bounce) = 1.500000;
553 MY(color_min) = "0x404040";
554 MY(color_max) = "0x808080";
556 MY(gravity) = -0.125000;
557 MY(liquidfriction) = 0.250000;
558 MY(originjitter) = '16.0 16.0 16.0';
564 MY(underwater) = true;
565 MY(velocityjitter) = '96.0 96.0 96.0';
567 // sparks which go through walls
568 SUB(TE_EXPLOSIONQUAD) {
569 MY(airfriction) = 0.200000;
571 MY(alpha_fade) = 512;
572 MY(color_min) = "0x903010";
573 MY(color_max) = "0xFFD030";
576 MY(liquidfriction) = 0.800000;
577 MY(notunderwater) = true;
581 MY(velocityjitter) = '256.0 256.0 256.0';
582 MY(velocityoffset) = '0.0 0.0 80.0';
586 DEF(TE_TAREXPLOSION);
588 SUB(TE_TAREXPLOSION) {
591 MY(countabsolute) = 1;
592 MY(lightcolor) = '1.6 0.8 2.0';
593 MY(lightradiusfade) = 1200;
594 MY(lightradius) = 600;
595 MY(originjitter) = '40.0 40.0 40.0';
603 SUB(TE_TAREXPLOSION) {
607 MY(color_min) = "0x202020";
608 MY(color_max) = "0x404040";
610 MY(notunderwater) = true;
615 MY(velocityjitter) = '48.0 48.0 48.0';
617 // underwater bubbles
618 SUB(TE_TAREXPLOSION) {
622 MY(bounce) = 1.500000;
623 MY(color_min) = "0x404040";
624 MY(color_max) = "0x808080";
626 MY(gravity) = -0.125000;
627 MY(liquidfriction) = 0.250000;
628 MY(originjitter) = '16.0 16.0 16.0';
634 MY(underwater) = true;
635 MY(velocityjitter) = '96.0 96.0 96.0';
637 // sparks which go through walls
638 SUB(TE_TAREXPLOSION) {
639 MY(airfriction) = 0.200000;
641 MY(alpha_fade) = 512;
642 MY(color_min) = "0x903010";
643 MY(color_max) = "0xFFD030";
646 MY(liquidfriction) = 0.800000;
647 MY(notunderwater) = true;
651 MY(velocityjitter) = '256.0 256.0 256.0';
652 MY(velocityoffset) = '0.0 0.0 80.0';
655 // bloody impact effect indicating damage
663 MY(count) = 0.167000;
664 MY(liquidfriction) = 4;
667 MY(staincolor_min) = "0x808080";
668 MY(staincolor_max) = "0x808080";
669 MY(staintex_min) = 16;
670 MY(staintex_max) = 24;
674 MY(velocityjitter) = '64.0 64.0 64.0';
675 MY(velocitymultiplier) = 1;
678 // sparks (quake effect)
683 MY(alpha_fade) = 768;
685 MY(color_min) = "0x8f4333";
686 MY(color_max) = "0xfff31b";
687 MY(count) = 0.500000;
689 MY(size_min) = 0.400000;
690 MY(size_max) = 0.600000;
694 MY(velocityjitter) = '64.0 64.0 64.0';
695 MY(velocitymultiplier) = 1;
696 MY(velocityoffset) = '0.0 0.0 80.0';
705 MY(countabsolute) = 1;
706 MY(lightcolor) = '1.0 1.0 1.0';
707 MY(lightradiusfade) = 400;
708 MY(lightradius) = 200;
709 MY(originjitter) = '16.0 16.0 16.0';
720 MY(alpha_fade) = 512;
721 MY(color_min) = "0x80C0FF";
722 MY(color_max) = "0x80C0FF";
723 MY(countabsolute) = 1;
730 // small sparks which form a sphere as they slow down
735 MY(alpha_fade) = 1024;
737 MY(color_min) = "0x2030FF";
738 MY(color_max) = "0x80C0FF";
740 MY(liquidfriction) = 8;
744 MY(velocityjitter) = '128.0 128.0 128.0';
750 MY(lightcolor) = '2.0 2.0 2.0';
751 MY(lightradiusfade) = 1000;
752 MY(lightradius) = 200;
761 MY(alpha_fade) = 384;
762 MY(bounce) = 1.100000;
763 MY(color_min) = "0x6f0f00";
764 MY(color_max) = "0xe3974f";
765 MY(count) = 0.500000;
767 MY(liquidfriction) = 4;
771 MY(velocityjitter) = '128.0 128.0 128.0';
772 MY(velocitymultiplier) = 1;
780 MY(alpha_fade) = 256;
781 MY(color_min) = "0x6f0f00";
782 MY(color_max) = "0xe3974f";
784 MY(gravity) = 0.050000;
785 MY(originjitter) = '128.0 128.0 32.0';
786 MY(originoffset) = '0.0 0.0 32.0';
789 MY(type) = "alphastatic";
790 MY(velocityjitter) = '128.0 128.0 0.0';
791 MY(velocityoffset) = '0.0 0.0 256.0';
794 // player teleport effect
800 MY(alpha_fade) = 256;
801 MY(color_min) = "0xA0A0A0";
802 MY(color_max) = "0xFFFFFF";
804 MY(liquidfriction) = 4;
805 MY(originjitter) = '16.0 16.0 28.0';
806 MY(originoffset) = '0.0 0.0 28.0';
810 MY(velocityjitter) = '0.0 0.0 256.0';
818 MY(alpha_fade) = 256;
819 MY(color_min) = "0xFFFFFF";
820 MY(color_max) = "0xFFFFFF";
821 MY(countabsolute) = 1;
829 MY(airfriction) = -4;
832 MY(alpha_fade) = 512;
833 MY(color_min) = "0x202020";
834 MY(color_max) = "0x404040";
837 MY(trailspacing) = 4;
839 MY(velocityjitter) = '8.0 8.0 8.0';
847 MY(alpha_fade) = 512;
848 MY(color_min) = "0x202020";
849 MY(color_max) = "0x404040";
850 MY(count) = 0.167000;
851 MY(originjitter) = '1.5 1.5 1.5';
856 MY(velocityjitter) = '6.0 6.0 6.0';
857 MY(velocitymultiplier) = 1;
860 // rocket explosion (bigger than mortar and hagar)
861 DEF(TE_TEI_BIGEXPLOSION);
863 SUB(TE_TEI_BIGEXPLOSION) {
866 MY(countabsolute) = 1;
867 MY(lightcolor) = '4.0 2.0 0.5';
868 MY(lightradiusfade) = 500;
869 MY(lightradius) = 500;
870 MY(originjitter) = '40.0 40.0 40.0';
878 SUB(TE_TEI_BIGEXPLOSION) {
882 MY(color_min) = "0x404040";
883 MY(color_max) = "0x404040";
884 MY(countabsolute) = 1;
892 SUB(TE_TEI_BIGEXPLOSION) {
896 MY(alpha_fade) = 256;
897 MY(bounce) = 1.500000;
898 MY(color_min) = "0x902010";
899 MY(color_max) = "0xFFD080";
901 MY(liquidfriction) = 4;
902 MY(notunderwater) = true;
903 MY(originjitter) = '8.0 8.0 8.0';
909 MY(velocityjitter) = '512.0 512.0 512.0';
911 // underwater bubbles
912 SUB(TE_TEI_BIGEXPLOSION) {
916 MY(bounce) = 1.500000;
917 MY(color_min) = "0x404040";
918 MY(color_max) = "0x808080";
920 MY(gravity) = -0.125000;
921 MY(liquidfriction) = 0.250000;
922 MY(originjitter) = '16.0 16.0 16.0';
928 MY(underwater) = true;
929 MY(velocityjitter) = '144.0 144.0 144.0';
932 SUB(TE_TEI_BIGEXPLOSION) {
933 MY(airfriction) = 0.200000;
936 MY(alpha_fade) = 384;
937 MY(bounce) = 1.500000;
938 MY(color_min) = "0x903010";
939 MY(color_max) = "0xFFD030";
942 MY(liquidfriction) = 0.800000;
943 MY(notunderwater) = true;
947 MY(velocityjitter) = '384.0 384.0 384.0';
948 MY(velocityoffset) = '0.0 0.0 80.0';
952 DEF(TE_TEI_PLASMAHIT);
954 SUB(TE_TEI_PLASMAHIT) {
957 MY(countabsolute) = 1;
958 MY(lightcolor) = '2.4 4.8 8.0';
959 MY(lightradiusfade) = 600;
960 MY(lightradius) = 200;
961 MY(originjitter) = '20.0 20.0 20.0';
969 SUB(TE_TEI_PLASMAHIT) {
972 MY(alpha_fade) = 512;
973 MY(color_min) = "0x80C0FF";
974 MY(color_max) = "0x80C0FF";
975 MY(countabsolute) = 1;
982 // cloud of bouncing sparks
983 SUB(TE_TEI_PLASMAHIT) {
986 MY(alpha_fade) = 1024;
987 MY(bounce) = 1.500000;
988 MY(color_min) = "0x2030FF";
989 MY(color_max) = "0x80C0FF";
990 MY(count) = 0.500000;
994 MY(velocityjitter) = '512.0 512.0 512.0';
997 // bloody impact effect indicating damage
1000 MY(airfriction) = 0.400000;
1001 MY(alpha_min) = 1560;
1002 MY(alpha_max) = 2560;
1003 MY(alpha_fade) = 7000;
1004 MY(blend) = "invmod";
1006 MY(color_min) = "0xA8FFFF";
1007 MY(color_max) = "0xA8FFFFF";
1008 MY(count) = 0.400000;
1009 MY(sizeincrease) = 20;
1012 MY(staincolor_min) = "0x808080";
1013 MY(staincolor_max) = "0x808080";
1014 MY(stainsize_min) = 1;
1015 MY(stainsize_max) = 2;
1016 MY(staintex_min) = 16;
1017 MY(staintex_max) = 24;
1018 MY(stretchfactor) = 20;
1022 MY(velocityjitter) = '99.0 99.0 55.0';
1026 MY(alpha_min) = 100;
1027 MY(alpha_max) = 256;
1028 MY(alpha_fade) = 400;
1029 MY(blend) = "invmod";
1030 MY(color_min) = "0x000000";
1031 MY(color_max) = "0x420000";
1032 MY(countabsolute) = 1;
1033 MY(originjitter) = '11.0 11.0 11.0';
1034 MY(sizeincrease) = 20;
1039 MY(type) = "alphastatic";
1042 // player teleport effect
1045 MY(airfriction) = 2;
1046 MY(alpha_max) = 256;
1047 MY(alpha_fade) = 100;
1048 MY(bounce) = 1.500000;
1049 MY(color_min) = "0x807aff";
1050 MY(color_max) = "0x4463d5";
1052 MY(originjitter) = '1.0 1.0 1.0';
1055 MY(stretchfactor) = 0.600000;
1059 MY(velocityjitter) = '1000.0 1000.0 1500.0';
1060 MY(velocitymultiplier) = 0.500000;
1063 MY(alpha_min) = 190;
1064 MY(alpha_max) = 190;
1065 MY(alpha_fade) = 180;
1066 MY(color_min) = "0x807aff";
1067 MY(color_max) = "0x4463d5";
1068 MY(countabsolute) = 1;
1069 MY(sizeincrease) = -80;
1077 // normal super gory blood trail (used by gibs)
1080 MY(airfriction) = -2;
1081 MY(alpha_min) = 384;
1082 MY(alpha_max) = 984;
1083 MY(alpha_fade) = 1492;
1084 MY(blend) = "invmod";
1086 MY(color_min) = "0xA8FFFF";
1087 MY(color_max) = "0xA8FFFF";
1088 MY(gravity) = 0.400000;
1089 MY(liquidfriction) = 1;
1090 MY(sizeincrease) = -5;
1093 MY(staincolor_min) = "0x808080";
1094 MY(staincolor_max) = "0x808080";
1095 MY(stainsize_min) = 1;
1096 MY(stainsize_max) = 2;
1097 MY(staintex_min) = 16;
1098 MY(staintex_max) = 24;
1099 MY(stretchfactor) = 7;
1102 MY(trailspacing) = 20;
1104 MY(velocityjitter) = '64.0 64.0 64.0';
1105 MY(velocitymultiplier) = -0.100000;
1107 // splash around gib
1109 MY(alpha_min) = 684;
1110 MY(alpha_max) = 684;
1111 MY(alpha_fade) = 7492;
1112 MY(color_min) = "0xA8FFFF";
1113 MY(color_max) = "0xA8FFFF";
1114 MY(sizeincrease) = 500;
1119 MY(trailspacing) = 42;
1123 // thinner blood trail (used by quake zombies)
1124 DEF(TR_SLIGHTBLOOD);
1125 SUB(TR_SLIGHTBLOOD) {
1126 MY(airfriction) = 1;
1127 MY(alpha_min) = 384;
1128 MY(alpha_max) = 384;
1129 MY(alpha_fade) = 192;
1131 MY(color_min) = "0xA8FFFF";
1132 MY(color_max) = "0xA8FFFF";
1133 MY(liquidfriction) = 4;
1136 MY(staincolor_min) = "0x808080";
1137 MY(staincolor_max) = "0x808080";
1138 MY(staintex_min) = 16;
1139 MY(staintex_max) = 24;
1142 MY(trailspacing) = 64;
1144 MY(velocityjitter) = '64.0 64.0 64.0';
1145 MY(velocitymultiplier) = 0.500000;
1148 // func_stardust effect, used in some maps to indicate teleporters
1151 MY(airfriction) = 0.200000;
1153 MY(alpha_max) = 128;
1154 MY(alpha_fade) = 128;
1155 MY(color_min) = "0xfff368";
1156 MY(color_max) = "0xfff368";
1157 MY(count) = 37.500000;
1158 MY(gravity) = -0.100000;
1159 MY(liquidfriction) = 0.800000;
1160 MY(originjitter) = '16.0 16.0 64.0';
1163 MY(type) = "static";
1164 MY(velocityjitter) = '32.0 32.0 0.0';
1167 // flare particle and light
1170 MY(alpha_min) = 128;
1171 MY(alpha_max) = 128;
1172 MY(alpha_fade) = 128;
1173 MY(color_min) = "0x63F2EA";
1174 MY(color_max) = "0x63f2EA";
1175 MY(countabsolute) = 1;
1178 MY(type) = "static";
1180 // cloud of particles which expand rapidly and then slow to form a ball
1182 MY(alpha_min) = 256;
1183 MY(alpha_max) = 256;
1184 MY(alpha_fade) = 1280;
1185 MY(color_min) = "0x63F2EA";
1186 MY(color_max) = "0x63f2EA";
1193 MY(velocityjitter) = '256.0 256.0 256.0';
1196 DEF(jumppad_activate);
1197 SUB(jumppad_activate) {
1198 MY(lightcolor) = '2.0 2.0 2.0';
1199 MY(lightradiusfade) = 2000;
1200 MY(lightradius) = 200;
1203 DEF(laser_muzzleflash);
1205 SUB(laser_muzzleflash) {
1206 MY(airfriction) = 10;
1207 MY(alpha_min) = 256;
1208 MY(alpha_max) = 512;
1209 MY(alpha_fade) = 6280;
1210 MY(color_min) = "0xcc0000";
1211 MY(color_max) = "0xff0000";
1212 MY(countabsolute) = 1;
1213 MY(lightcolor) = '3.0 0.1 0.1';
1214 MY(lightradiusfade) = 2000;
1215 MY(lightradius) = 200;
1216 MY(sizeincrease) = -100;
1219 MY(stretchfactor) = 2;
1225 SUB(laser_muzzleflash) {
1226 MY(airfriction) = 10;
1227 MY(alpha_min) = 256;
1228 MY(alpha_max) = 512;
1229 MY(alpha_fade) = 6280;
1230 MY(color_min) = "0xb44215";
1231 MY(color_max) = "0xff0000";
1233 MY(originjitter) = '2.0 2.0 2.0';
1234 MY(startangle_min) = -180;
1235 MY(startangle_max) = 180;
1236 MY(spin_min) = 4000;
1237 MY(spin_max) = -4000;
1238 MY(sizeincrease) = -100;
1241 MY(stretchfactor) = 2.300000;
1245 MY(velocityjitter) = '150.0 150.0 150.0';
1246 MY(velocitymultiplier) = 0.200000;
1249 SUB(laser_muzzleflash) {
1250 MY(airfriction) = 12;
1251 MY(alpha_min) = 256;
1252 MY(alpha_max) = 512;
1253 MY(alpha_fade) = 6280;
1254 MY(color_min) = "0xff4200";
1255 MY(color_max) = "0xff0000";
1257 MY(originjitter) = '2.0 2.0 2.0';
1258 MY(sizeincrease) = -100;
1261 MY(stretchfactor) = 2;
1265 MY(velocityjitter) = '100.0 100.0 100.0';
1266 MY(velocitymultiplier) = 0.200000;
1272 MY(alpha_min) = 256;
1273 MY(alpha_max) = 256;
1274 MY(countabsolute) = 1;
1275 MY(lightcolor) = '8.0 0.4 0.4';
1276 MY(lightradiusfade) = 500;
1277 MY(lightradius) = 200;
1278 MY(originjitter) = '14.0 14.0 14.0';
1287 MY(alpha_min) = 256;
1288 MY(alpha_max) = 256;
1289 MY(alpha_fade) = 1024;
1290 MY(color_min) = "0xFF2010";
1291 MY(color_max) = "0xFF2010";
1292 MY(countabsolute) = 1;
1297 MY(type) = "static";
1299 // sparks that rapidly expand and rapidly slow down to form an interesting spherical effect
1301 MY(airfriction) = 6;
1302 MY(alpha_min) = 256;
1303 MY(alpha_max) = 256;
1304 MY(alpha_fade) = 1024;
1305 MY(color_min) = "0x800000";
1306 MY(color_max) = "0xFF8020";
1308 MY(liquidfriction) = 6;
1312 MY(velocityjitter) = '256.0 256.0 256.0';
1315 MY(alpha_min) = 128;
1316 MY(alpha_max) = 256;
1317 MY(alpha_fade) = 256;
1318 MY(color_min) = "0x800000";
1319 MY(color_max) = "0xFF8020";
1321 MY(originjitter) = '1.0 1.0 1.0';
1322 MY(sizeincrease) = 6;
1328 MY(velocityjitter) = '16.0 16.0 16.0';
1329 MY(velocitymultiplier) = 0.010000;
1332 DEF(shotgun_muzzleflash);
1333 SUB(shotgun_muzzleflash) {
1334 MY(alpha_min) = 256;
1335 MY(alpha_max) = 256;
1336 MY(alpha_fade) = 512;
1337 MY(color_min) = "0x202020";
1338 MY(color_max) = "0x404040";
1339 MY(count) = 1.500000;
1340 MY(lightcolor) = '2.0 1.5 0.2';
1341 MY(lightradiusfade) = 2000;
1342 MY(lightradius) = 200;
1343 MY(originjitter) = '1.5 1.5 1.5';
1344 MY(sizeincrease) = 12;
1349 MY(velocityjitter) = '6.0 6.0 6.0';
1350 MY(velocitymultiplier) = 0.050000;
1352 SUB(shotgun_muzzleflash) {
1353 MY(airfriction) = 5;
1354 MY(alpha_max) = 128;
1355 MY(alpha_fade) = 1024;
1356 MY(color_min) = "0xffdb96";
1357 MY(color_max) = "0xff5400";
1359 MY(originjitter) = '1.0 1.0 1.0';
1362 MY(stretchfactor) = 2.500000;
1366 MY(velocityjitter) = '100.0 100.0 100.0';
1367 MY(velocitymultiplier) = 0.500000;
1370 // shotgun pellet impact
1371 DEF(shotgun_impact);
1373 SUB(shotgun_impact) {
1374 MY(alpha_min) = 256;
1375 MY(alpha_max) = 256;
1376 MY(countabsolute) = 1;
1377 MY(originjitter) = '10.0 10.0 10.0';
1384 // dust/smoke drifting away from the impact
1385 SUB(shotgun_impact) {
1386 MY(airfriction) = 5;
1387 MY(alpha_min) = 300;
1388 MY(alpha_max) = 550;
1389 MY(alpha_fade) = 756;
1390 MY(color_min) = "0x473a37";
1391 MY(color_max) = "0x0b0a07";
1393 MY(notunderwater) = true;
1394 MY(startangle_max) = 360;
1397 MY(sizeincrease) = 25;
1401 MY(type) = "alphastatic";
1402 MY(velocityjitter) = '150.0 150.0 150.0';
1403 MY(velocitymultiplier) = 0.200000;
1405 // dust/smoke staying at the impact
1406 SUB(shotgun_impact) {
1407 MY(airfriction) = 5;
1408 MY(alpha_min) = 200;
1409 MY(alpha_max) = 350;
1410 MY(alpha_fade) = 500;
1412 MY(color_min) = "0x201d1a";
1413 MY(color_max) = "0x000000";
1414 MY(count) = 0.200000;
1415 MY(notunderwater) = true;
1416 MY(startangle_max) = 360;
1419 MY(sizeincrease) = 74;
1424 MY(type) = "alphastatic";
1425 MY(velocityjitter) = '11.0 11.0 11.0';
1426 MY(velocitymultiplier) = 0.030000;
1429 SUB(shotgun_impact) {
1430 MY(airfriction) = 1.100000;
1431 MY(alpha_max) = 356;
1432 MY(alpha_fade) = 268;
1433 MY(bounce) = 1.500000;
1434 MY(color_min) = "0xFDFFD9";
1435 MY(color_max) = "0xFDFFD9";
1436 MY(count) = 0.500000;
1438 MY(notunderwater) = true;
1439 MY(originjitter) = '1.0 1.0 1.0';
1440 MY(size_min) = 0.600000;
1441 MY(size_max) = 0.600000;
1445 MY(velocityjitter) = '200.0 200.0 200.0';
1446 MY(velocitymultiplier) = 0.200000;
1449 DEF(uzi_muzzleflash);
1450 SUB(uzi_muzzleflash) {
1451 MY(alpha_min) = 256;
1452 MY(alpha_max) = 256;
1453 MY(alpha_fade) = 512;
1454 MY(color_min) = "0x202020";
1455 MY(color_max) = "0x404040";
1457 MY(gravity) = -0.100000;
1458 MY(lightcolor) = '2.0 1.5 0.2';
1459 MY(lightradiusfade) = 2000;
1460 MY(lightradius) = 200;
1461 MY(originjitter) = '1.5 1.5 1.5';
1465 MY(type) = "static";
1466 MY(velocityjitter) = '1.0 1.0 1.0';
1467 MY(velocitymultiplier) = 0.030000;
1469 SUB(uzi_muzzleflash) {
1470 MY(airfriction) = 12;
1471 MY(alpha_max) = 256;
1472 MY(alpha_fade) = 6000;
1473 MY(color_min) = "0xff9c00";
1474 MY(color_max) = "0xffd200";
1476 MY(originjitter) = '1.0 1.0 1.0';
1477 MY(size_min) = 0.300000;
1478 MY(size_max) = 0.400000;
1479 MY(stretchfactor) = 0.150000;
1483 MY(velocityjitter) = '555.0 555.0 555.0';
1484 MY(velocitymultiplier) = 3;
1487 DEF(machinegun_impact);
1489 SUB(machinegun_impact) {
1490 MY(alpha_min) = 256;
1491 MY(alpha_max) = 256;
1492 MY(countabsolute) = 1;
1493 MY(lightcolor) = '6.0 3.6 0.6';
1494 MY(lightradiusfade) = 800;
1495 MY(lightradius) = 80;
1496 MY(originjitter) = '10.0 10.0 10.0';
1503 // dust/smoke drifting away from the impact
1504 SUB(machinegun_impact) {
1505 MY(airfriction) = 5;
1506 MY(alpha_min) = 300;
1507 MY(alpha_max) = 550;
1508 MY(alpha_fade) = 456;
1509 MY(color_min) = "0x473a37";
1510 MY(color_max) = "0x0b0a07";
1511 MY(count) = 1.500000;
1512 MY(notunderwater) = true;
1513 MY(startangle_max) = 360;
1516 MY(sizeincrease) = 15;
1520 MY(type) = "alphastatic";
1521 MY(velocityjitter) = '150.0 150.0 150.0';
1522 MY(velocitymultiplier) = 0.100000;
1524 // dust/smoke staying at the impact
1525 SUB(machinegun_impact) {
1526 MY(airfriction) = 5;
1527 MY(alpha_min) = 200;
1528 MY(alpha_max) = 350;
1529 MY(alpha_fade) = 500;
1531 MY(color_min) = "0x201d1a";
1532 MY(color_max) = "0x000000";
1533 MY(count) = 0.500000;
1534 MY(notunderwater) = true;
1535 MY(startangle_max) = 360;
1538 MY(sizeincrease) = 74;
1543 MY(type) = "alphastatic";
1544 MY(velocityjitter) = '11.0 11.0 11.0';
1545 MY(velocitymultiplier) = 0.030000;
1548 SUB(machinegun_impact) {
1549 MY(airfriction) = 1;
1550 MY(alpha_min) = 300;
1551 MY(alpha_max) = 550;
1552 MY(alpha_fade) = 256;
1553 MY(bounce) = 1.700000;
1554 MY(color_min) = "0x63493e";
1555 MY(color_max) = "0xffffff";
1557 MY(gravity) = 1.400000;
1558 MY(notunderwater) = true;
1559 MY(startangle_max) = 360;
1560 MY(spin_min) = -500;
1566 MY(type) = "alphastatic";
1567 MY(velocityjitter) = '350.0 350.0 350.0';
1568 MY(velocitymultiplier) = 0.200000;
1571 SUB(machinegun_impact) {
1572 MY(airfriction) = 2;
1573 MY(alpha_min) = 256;
1574 MY(alpha_max) = 256;
1575 MY(alpha_fade) = 168;
1577 MY(color_min) = "0xFDFFD9";
1578 MY(color_max) = "0xFDFFD9";
1581 MY(notunderwater) = true;
1582 MY(originjitter) = '1.0 1.0 1.0';
1583 MY(size_min) = 0.300000;
1584 MY(size_max) = 0.300000;
1588 MY(velocityjitter) = '300.0 300.0 300.0';
1589 MY(velocitymultiplier) = 0.200000;
1592 DEF(grenadelauncher_muzzleflash);
1593 SUB(grenadelauncher_muzzleflash) {
1594 MY(airfriction) = 12;
1595 MY(alpha_min) = 256;
1596 MY(alpha_max) = 256;
1597 MY(alpha_fade) = 512;
1598 MY(color_min) = "0x202020";
1599 MY(color_max) = "0x404040";
1600 MY(count) = 1.500000;
1601 MY(lightcolor) = '2.0 1.5 0.2';
1602 MY(lightradiusfade) = 2000;
1603 MY(lightradius) = 200;
1604 MY(originjitter) = '1.5 1.5 1.5';
1609 MY(velocityjitter) = '20.0 20.0 20.0';
1610 MY(velocitymultiplier) = 0.030000;
1612 SUB(grenadelauncher_muzzleflash) {
1613 MY(airfriction) = 5;
1614 MY(alpha_max) = 128;
1615 MY(alpha_fade) = 1024;
1616 MY(color_min) = "0xffdb96";
1617 MY(color_max) = "0xff5400";
1619 MY(originjitter) = '1.0 1.0 1.0';
1622 MY(stretchfactor) = 2.500000;
1626 MY(velocityjitter) = '100.0 100.0 100.0';
1627 MY(velocitymultiplier) = 0.500000;
1634 MY(alpha_min) = 300;
1635 MY(alpha_max) = 400;
1636 MY(alpha_fade) = 780;
1638 MY(color_min) = "0x101010";
1639 MY(color_max) = "0x000000";
1640 MY(originjitter) = '1.0 1.0 1.0';
1641 MY(sizeincrease) = 10;
1645 MY(trailspacing) = 4;
1647 MY(velocityjitter) = '1.0 1.0 1.0';
1648 MY(velocitymultiplier) = -0.020000;
1652 MY(airfriction) = 8;
1653 MY(alpha_min) = 100;
1654 MY(alpha_max) = 144;
1655 MY(alpha_fade) = 988;
1656 MY(color_min) = "0xffdf72";
1657 MY(color_max) = "0x811200";
1658 MY(notunderwater) = true;
1659 MY(sizeincrease) = -15;
1664 MY(trailspacing) = 4;
1665 MY(type) = "static";
1666 MY(velocityjitter) = '32.0 32.0 32.0';
1667 MY(velocitymultiplier) = -1;
1671 MY(alpha_min) = 256;
1672 MY(alpha_max) = 256;
1673 MY(alpha_fade) = 256;
1674 MY(bounce) = 1.500000;
1675 MY(color_min) = "0x404040";
1676 MY(color_max) = "0x808080";
1677 MY(gravity) = -0.125000;
1678 MY(liquidfriction) = 4;
1683 MY(trailspacing) = 16;
1684 MY(type) = "bubble";
1685 MY(underwater) = true;
1686 MY(velocityjitter) = '16.0 16.0 16.0';
1690 DEF(TR_KNIGHTSPIKE);
1692 SUB(TR_KNIGHTSPIKE) {
1693 MY(alpha_min) = 300;
1694 MY(alpha_max) = 400;
1695 MY(alpha_fade) = 600;
1697 MY(color_min) = "0x303030";
1698 MY(color_max) = "0x000000";
1699 MY(gravity) = -0.110000;
1700 MY(notunderwater) = true;
1701 MY(originjitter) = '2.0 2.0 2.0';
1702 MY(sizeincrease) = 11;
1706 MY(trailspacing) = 6;
1708 MY(velocityjitter) = '3.0 3.0 3.0';
1709 MY(velocitymultiplier) = -0.020000;
1712 SUB(TR_KNIGHTSPIKE) {
1713 MY(alpha_min) = 256;
1714 MY(alpha_max) = 256;
1715 MY(alpha_fade) = 720;
1716 MY(color_min) = "0x666666";
1717 MY(color_max) = "0x000000";
1718 MY(sizeincrease) = -0.100000;
1723 MY(trailspacing) = 2;
1724 MY(type) = "alphastatic";
1727 SUB(TR_KNIGHTSPIKE) {
1728 MY(alpha_min) = 256;
1729 MY(alpha_max) = 256;
1730 MY(alpha_fade) = 256;
1731 MY(bounce) = 1.500000;
1732 MY(color_min) = "0x404040";
1733 MY(color_max) = "0x808080";
1734 MY(gravity) = -0.125000;
1735 MY(liquidfriction) = 4;
1740 MY(trailspacing) = 32;
1741 MY(type) = "bubble";
1742 MY(underwater) = true;
1743 MY(velocityjitter) = '16.0 16.0 16.0';
1746 DEF(grenade_explode);
1748 SUB(grenade_explode) {
1749 MY(alpha_min) = 256;
1750 MY(alpha_max) = 256;
1751 MY(countabsolute) = 1;
1752 MY(lightcolor) = '8.0 4.0 1.0';
1753 MY(lightradiusfade) = 400;
1754 MY(lightradius) = 250;
1755 MY(originjitter) = '26.0 26.0 26.0';
1762 // fire effect which expands then slows
1763 SUB(grenade_explode) {
1764 MY(airfriction) = 8;
1765 MY(alpha_min) = 128;
1766 MY(alpha_max) = 228;
1767 MY(alpha_fade) = 356;
1768 MY(bounce) = 4.500000;
1769 MY(color_min) = "0xe03f00";
1770 MY(color_max) = "0x5e0000";
1772 MY(liquidfriction) = 8;
1773 MY(notunderwater) = true;
1774 MY(originjitter) = '8.0 8.0 8.0';
1775 MY(sizeincrease) = 20;
1780 MY(type) = "static";
1781 MY(velocityjitter) = '256.0 256.0 256.0';
1783 // fire effect which make bright dot inside
1784 SUB(grenade_explode) {
1785 MY(airfriction) = 8;
1786 MY(alpha_min) = 228;
1787 MY(alpha_max) = 328;
1788 MY(alpha_fade) = 756;
1790 MY(color_min) = "0xe03f00";
1791 MY(color_max) = "0xffdf92";
1793 MY(liquidfriction) = 8;
1794 MY(notunderwater) = true;
1795 MY(originjitter) = '8.0 8.0 8.0';
1796 MY(sizeincrease) = 40;
1801 MY(type) = "static";
1802 MY(velocityjitter) = '256.0 256.0 256.0';
1805 SUB(grenade_explode) {
1806 MY(airfriction) = 5;
1807 MY(alpha_min) = 300;
1808 MY(alpha_max) = 550;
1809 MY(alpha_fade) = 556;
1811 MY(color_min) = "0x000000";
1812 MY(color_max) = "0x111111";
1814 MY(notunderwater) = true;
1815 MY(sizeincrease) = 34;
1819 MY(type) = "alphastatic";
1820 MY(velocityjitter) = '256.0 256.0 256.0';
1822 // underwater bubbles
1823 SUB(grenade_explode) {
1824 MY(alpha_min) = 128;
1825 MY(alpha_max) = 256;
1826 MY(alpha_fade) = 64;
1827 MY(bounce) = 1.500000;
1828 MY(color_min) = "0x404040";
1829 MY(color_max) = "0x808080";
1831 MY(gravity) = -0.125000;
1832 MY(liquidfriction) = 0.250000;
1833 MY(originjitter) = '16.0 16.0 16.0';
1838 MY(type) = "bubble";
1839 MY(underwater) = true;
1840 MY(velocityjitter) = '196.0 196.0 196.0';
1842 // underwatershockwave
1843 SUB(grenade_explode) {
1846 MY(alpha_fade) = 300;
1847 MY(countabsolute) = 1;
1848 MY(sizeincrease) = 1500;
1854 MY(underwater) = true;
1855 MY(velocitymultiplier) = 0.300000;
1858 SUB(grenade_explode) {
1859 MY(airfriction) = 1;
1860 MY(alpha_min) = 644;
1861 MY(alpha_max) = 956;
1862 MY(alpha_fade) = 484;
1863 MY(bounce) = 1.600000;
1864 MY(color_min) = "0xffa35b";
1865 MY(color_max) = "0xfff2be";
1868 MY(liquidfriction) = 0.800000;
1869 MY(notunderwater) = true;
1870 MY(originjitter) = '16.0 16.0 16.0';
1872 MY(size_max) = 0.100000;
1876 MY(velocityjitter) = '424.0 424.0 624.0';
1877 MY(velocityoffset) = '0.0 0.0 80.0';
1880 SUB(grenade_explode) {
1881 MY(airfriction) = 0.500000;
1882 MY(alpha_min) = 644;
1883 MY(alpha_max) = 956;
1884 MY(alpha_fade) = 684;
1885 MY(bounce) = 1.600000;
1886 MY(color_min) = "0x6a3d25";
1887 MY(color_max) = "0xcac5b4";
1889 MY(gravity) = 1.300000;
1890 MY(notunderwater) = true;
1891 MY(startangle_min) = -180;
1892 MY(startangle_max) = 180;
1893 MY(spin_min) = -1000;
1894 MY(spin_max) = 1000;
1899 MY(type) = "alphastatic";
1900 MY(velocityjitter) = '324.0 324.0 524.0';
1903 DEF(electro_muzzleflash);
1904 SUB(electro_muzzleflash) {
1905 MY(alpha_min) = 256;
1906 MY(alpha_max) = 256;
1907 MY(alpha_fade) = 512;
1908 MY(color_min) = "0x283880";
1909 MY(color_max) = "0x283880";
1910 MY(countabsolute) = 1;
1911 MY(lightcolor) = '1.5 3.0 6.0';
1912 MY(lightradiusfade) = 2000;
1913 MY(lightradius) = 200;
1914 MY(originjitter) = '1.5 1.5 1.5';
1915 MY(sizeincrease) = -10;
1921 MY(velocityjitter) = '6.0 6.0 6.0';
1922 MY(velocitymultiplier) = 0.010000;
1924 SUB(electro_muzzleflash) {
1925 MY(airfriction) = 2;
1926 MY(alpha_min) = 110;
1927 MY(alpha_max) = 228;
1928 MY(alpha_fade) = 2024;
1929 MY(color_min) = "0xD9FDFF";
1930 MY(color_max) = "0xD9FDFF";
1932 MY(originjitter) = '1.0 1.0 1.0';
1935 MY(stretchfactor) = 1.500000;
1939 MY(velocityjitter) = '150.0 150.0 150.0';
1940 MY(velocitymultiplier) = 0.500000;
1942 SUB(electro_muzzleflash) {
1943 MY(airfriction) = 8;
1944 MY(alpha_min) = 110;
1945 MY(alpha_max) = 228;
1946 MY(alpha_fade) = 1024;
1947 MY(color_min) = "0xD9FDFF";
1948 MY(color_max) = "0xD9FDFF";
1950 MY(gravity) = 1.300000;
1951 MY(originjitter) = '1.0 1.0 1.0';
1954 MY(stretchfactor) = 0.100000;
1958 MY(velocityjitter) = '350.0 350.0 350.0';
1959 MY(velocitymultiplier) = 2.500000;
1963 DEF(TR_NEXUIZPLASMA);
1964 // glowing vapor trail
1965 SUB(TR_NEXUIZPLASMA) {
1966 MY(alpha_min) = 256;
1967 MY(alpha_max) = 256;
1968 MY(alpha_fade) = 968;
1969 MY(color_min) = "0x283880";
1970 MY(color_max) = "0x283880";
1971 MY(lightcolor) = '1.5 3.0 6.0';
1972 MY(lightradius) = 90;
1977 MY(trailspacing) = 2;
1978 MY(type) = "static";
1979 MY(velocitymultiplier) = -0.100000;
1982 SUB(TR_NEXUIZPLASMA) {
1983 MY(airfriction) = 12;
1984 MY(alpha_min) = 444;
1985 MY(alpha_max) = 512;
1986 MY(alpha_fade) = 1866;
1988 MY(color_min) = "0x629dff";
1989 MY(color_max) = "0x0018ff";
1990 MY(count) = 1.500000;
1991 MY(originjitter) = '1.0 1.0 1.0';
1992 MY(sizeincrease) = -20;
1997 MY(trailspacing) = 12;
1999 MY(velocityjitter) = '50.0 50.0 50.0';
2000 MY(velocityoffset) = '0.0 0.0 15.0';
2003 DEF(electro_impact);
2005 SUB(electro_impact) {
2006 MY(alpha_min) = 256;
2007 MY(alpha_max) = 256;
2008 MY(countabsolute) = 1;
2009 MY(lightcolor) = '3.1 4.4 10.0';
2010 MY(lightradiusfade) = 250;
2011 MY(lightradius) = 250;
2012 MY(originjitter) = '17.0 17.0 17.0';
2020 SUB(electro_impact) {
2023 MY(alpha_fade) = 350;
2024 MY(color_min) = "0x80C0FF";
2025 MY(color_max) = "0x80C0FF";
2026 MY(countabsolute) = 1;
2027 MY(sizeincrease) = 1000;
2033 MY(velocitymultiplier) = 44;
2036 SUB(electro_impact) {
2037 MY(alpha_min) = 256;
2038 MY(alpha_max) = 256;
2039 MY(alpha_fade) = 512;
2040 MY(color_min) = "0x80C0FF";
2041 MY(color_max) = "0x80C0FF";
2042 MY(countabsolute) = 1;
2047 MY(type) = "static";
2049 // cloud of bouncing sparks
2050 SUB(electro_impact) {
2051 MY(airfriction) = 6;
2052 MY(alpha_min) = 256;
2053 MY(alpha_max) = 256;
2054 MY(alpha_fade) = 1024;
2056 MY(color_min) = "0x629dff";
2057 MY(color_max) = "0x0018ff";
2059 MY(gravity) = -0.300000;
2060 MY(originjitter) = '1.0 1.0 1.0';
2061 MY(startangle_min) = -180;
2062 MY(startangle_max) = 180;
2063 MY(spin_min) = -9999;
2064 MY(spin_max) = 9999;
2065 MY(sizeincrease) = -50;
2071 MY(velocityjitter) = '512.0 512.0 512.0';
2073 // inner cloud of smoke
2074 SUB(electro_impact) {
2075 MY(airfriction) = 30;
2076 MY(alpha_min) = 200;
2077 MY(alpha_max) = 256;
2078 MY(alpha_fade) = 512;
2079 MY(color_min) = "0x629dff";
2080 MY(color_max) = "0x0018ff";
2082 MY(originjitter) = '20.0 20.0 20.0';
2083 MY(sizeincrease) = 50;
2088 MY(velocityjitter) = '320.0 320.0 320.0';
2091 DEF(electro_ballexplode);
2093 SUB(electro_ballexplode) {
2094 MY(alpha_min) = 256;
2095 MY(alpha_max) = 256;
2096 MY(countabsolute) = 1;
2097 MY(lightcolor) = '3.1 4.4 10.0';
2098 MY(lightradiusfade) = 250;
2099 MY(lightradius) = 250;
2100 MY(originjitter) = '17.0 17.0 17.0';
2108 SUB(electro_ballexplode) {
2109 MY(alpha_min) = 256;
2110 MY(alpha_max) = 256;
2111 MY(alpha_fade) = 512;
2112 MY(color_min) = "0x80C0FF";
2113 MY(color_max) = "0x80C0FF";
2114 MY(countabsolute) = 1;
2119 MY(type) = "static";
2121 // cloud of bouncing sparks
2122 SUB(electro_ballexplode) {
2123 MY(alpha_min) = 256;
2124 MY(alpha_max) = 256;
2125 MY(alpha_fade) = 1024;
2127 MY(color_min) = "0xFDFFD9";
2128 MY(color_max) = "0xFDFFD9";
2130 MY(originjitter) = '1.0 1.0 1.0';
2133 MY(stretchfactor) = 0.400000;
2137 MY(velocityjitter) = '512.0 512.0 512.0';
2139 // inner cloud of smoke
2140 SUB(electro_ballexplode) {
2141 MY(alpha_min) = 256;
2142 MY(alpha_max) = 256;
2143 MY(alpha_fade) = 512;
2144 MY(color_min) = "0x202020";
2145 MY(color_max) = "0x404040";
2147 MY(originjitter) = '20.0 20.0 20.0';
2152 MY(velocityjitter) = '32.0 32.0 32.0';
2157 SUB(electro_combo) {
2158 MY(alpha_min) = 256;
2159 MY(alpha_max) = 256;
2160 MY(countabsolute) = 1;
2161 MY(lightcolor) = '4.0 5.0 6.0';
2162 MY(lightradiusfade) = 300;
2163 MY(lightradius) = 400;
2164 MY(originjitter) = '17.0 17.0 17.0';
2172 SUB(electro_combo) {
2173 MY(alpha_min) = 128;
2174 MY(alpha_max) = 128;
2175 MY(alpha_fade) = 64;
2176 MY(color_min) = "0x80C0FF";
2177 MY(color_max) = "0x80C0FF";
2178 MY(countabsolute) = 1;
2183 MY(type) = "static";
2186 SUB(electro_combo) {
2187 MY(airfriction) = 6;
2188 MY(alpha_min) = 156;
2189 MY(alpha_max) = 156;
2190 MY(alpha_fade) = 156;
2192 MY(color_min) = "0x2030FF";
2193 MY(color_max) = "0x80C0FF";
2195 MY(liquidfriction) = 16;
2196 MY(sizeincrease) = 50;
2200 MY(type) = "static";
2201 MY(velocityjitter) = '512.0 512.0 512.0';
2203 SUB(electro_combo) {
2204 MY(alpha_min) = 444;
2205 MY(alpha_max) = 512;
2206 MY(alpha_fade) = 700;
2207 MY(bounce) = 1.600000;
2208 MY(color_min) = "0xa9cacf";
2209 MY(color_max) = "0x0054ff";
2211 MY(gravity) = 0.300000;
2212 MY(originjitter) = '1.0 1.0 1.0';
2215 MY(stretchfactor) = 2;
2219 MY(velocityjitter) = '312.0 312.0 312.0';
2220 MY(velocitymultiplier) = 3;
2222 // inner cloud of smoke
2223 SUB(electro_combo) {
2224 MY(alpha_min) = 256;
2225 MY(alpha_max) = 256;
2226 MY(alpha_fade) = 256;
2227 MY(color_min) = "0x202020";
2228 MY(color_max) = "0x404040";
2229 MY(count) = 0.125000;
2230 MY(originjitter) = '20.0 20.0 20.0';
2235 MY(velocityjitter) = '32.0 32.0 32.0';
2238 SUB(electro_combo) {
2241 MY(alpha_fade) = 100;
2242 MY(color_min) = "0xa9cacf";
2243 MY(color_max) = "0x0054ff";
2244 MY(countabsolute) = 1;
2245 MY(sizeincrease) = 600;
2251 MY(velocitymultiplier) = 0.300000;
2254 DEF(crylink_muzzleflash);
2255 SUB(crylink_muzzleflash) {
2256 MY(alpha_min) = 128;
2257 MY(alpha_max) = 128;
2258 MY(alpha_fade) = 2024;
2259 MY(color_min) = "0xdd9cff";
2260 MY(color_max) = "0xff0090";
2261 MY(count) = 0.500000;
2262 MY(lightcolor) = '1.6 0.2 2.0';
2263 MY(lightradiusfade) = 2000;
2264 MY(lightradius) = 200;
2270 MY(velocitymultiplier) = 0.010000;
2272 SUB(crylink_muzzleflash) {
2273 MY(airfriction) = 12;
2274 MY(alpha_max) = 128;
2275 MY(alpha_fade) = 1024;
2276 MY(color_min) = "0xA080C0";
2277 MY(color_max) = "0xA080C0";
2279 MY(originjitter) = '1.0 1.0 1.0';
2282 MY(stretchfactor) = 1.500000;
2286 MY(velocityjitter) = '200.0 200.0 200.0';
2287 MY(velocitymultiplier) = 0.300000;
2290 DEF(crylink_impact);
2292 SUB(crylink_impact) {
2293 MY(alpha_min) = 256;
2294 MY(alpha_max) = 256;
2295 MY(countabsolute) = 1;
2296 MY(originjitter) = '12.0 12.0 12.0';
2303 // purple flare effect
2304 SUB(crylink_impact) {
2305 MY(alpha_min) = 256;
2306 MY(alpha_max) = 256;
2307 MY(alpha_fade) = 512;
2308 MY(color_min) = "0x504060";
2309 MY(color_max) = "0x504060";
2310 MY(countabsolute) = 1;
2315 MY(type) = "static";
2318 SUB(crylink_impact) {
2319 MY(alpha_min) = 256;
2320 MY(alpha_max) = 256;
2321 MY(alpha_fade) = 1024;
2323 MY(color_min) = "0xA040C0";
2324 MY(color_max) = "0xA040C0";
2331 MY(velocityjitter) = '512.0 512.0 512.0';
2334 SUB(crylink_impact) {
2335 MY(alpha_min) = 256;
2336 MY(alpha_max) = 256;
2337 MY(alpha_fade) = 512;
2338 MY(color_min) = "0xE070FF";
2339 MY(color_max) = "0xE070FF";
2340 MY(count) = 1.500000;
2343 MY(type) = "static";
2344 MY(velocityjitter) = '32.0 32.0 32.0';
2347 SUB(crylink_impact) {
2348 MY(alpha_min) = 256;
2349 MY(alpha_max) = 256;
2350 MY(alpha_fade) = 1024;
2351 MY(color_min) = "0xE070FF";
2352 MY(color_max) = "0xE070FF";
2356 MY(type) = "static";
2357 MY(velocityjitter) = '256.0 256.0 256.0';
2360 DEF(nex_muzzleflash);
2361 SUB(nex_muzzleflash) {
2362 MY(airfriction) = 9;
2363 MY(alpha_min) = 328;
2364 MY(alpha_max) = 328;
2365 MY(alpha_fade) = 4000;
2366 MY(color_min) = "0x202020";
2367 MY(color_max) = "0x0072ff";
2369 MY(lightcolor) = '2.0 2.5 3.0';
2370 MY(lightradiusfade) = 200;
2371 MY(lightradius) = 200;
2372 MY(originjitter) = '4.0 4.0 4.0';
2373 MY(sizeincrease) = -100;
2376 MY(stretchfactor) = 2;
2380 MY(velocityjitter) = '180.0 180.0 180.0';
2381 MY(velocitymultiplier) = 1.400000;
2383 SUB(nex_muzzleflash) {
2384 MY(airfriction) = 9;
2385 MY(alpha_max) = 128;
2386 MY(alpha_fade) = 1024;
2387 MY(color_min) = "0xD9FDFF";
2388 MY(color_max) = "0xD9FDFF";
2390 MY(originjitter) = '1.0 1.0 1.0';
2396 MY(velocityjitter) = '600.0 600.0 600.0';
2397 MY(velocitymultiplier) = 1.500000;
2403 MY(airfriction) = 5;
2405 MY(alpha_max) = 128;
2406 MY(alpha_fade) = 64;
2407 MY(color_min) = "0x1680A0";
2408 MY(color_max) = "0x1680A0";
2409 MY(sizeincrease) = 2;
2414 MY(trailspacing) = 64;
2415 MY(type) = "static";
2419 MY(airfriction) = 9;
2422 MY(alpha_fade) = 32;
2423 MY(color_min) = "0x5080A0";
2424 MY(color_max) = "0x5080A0";
2425 MY(sizeincrease) = 8;
2429 MY(trailspacing) = 12;
2430 MY(type) = "static";
2431 MY(velocityjitter) = '64.0 64.0 64.0';
2435 MY(alpha_min) = 256;
2436 MY(alpha_max) = 256;
2437 MY(alpha_fade) = 1280;
2438 MY(color_min) = "0x80CDFF";
2439 MY(color_max) = "0x80CDFF";
2442 MY(trailspacing) = 12;
2443 MY(type) = "static";
2447 MY(airfriction) = 5;
2449 MY(alpha_max) = 128;
2450 MY(alpha_fade) = 80;
2451 MY(color_min) = "0x1680A0";
2452 MY(color_max) = "0x1680A0";
2453 MY(gravity) = -0.010000;
2458 MY(trailspacing) = 16;
2465 MY(alpha_min) = 256;
2466 MY(alpha_max) = 256;
2467 MY(countabsolute) = 1;
2468 MY(lightcolor) = '4.0 6.0 8.0';
2469 MY(lightradiusfade) = 250;
2470 MY(lightradius) = 200;
2471 MY(originjitter) = '14.0 14.0 14.0';
2472 MY(startangle_min) = -180;
2473 MY(startangle_max) = 180;
2480 // rotating something
2484 MY(alpha_fade) = 50;
2485 MY(color_min) = "0x1680A0";
2486 MY(color_max) = "0x1680A0";
2488 MY(startangle_min) = 180;
2489 MY(startangle_max) = -180;
2491 MY(spin_max) = -500;
2492 MY(sizeincrease) = 20;
2503 MY(alpha_fade) = 400;
2504 MY(color_min) = "0x1680A0";
2505 MY(color_max) = "0x1680A0";
2506 MY(countabsolute) = 1;
2507 MY(sizeincrease) = 900;
2512 MY(type) = "static";
2518 MY(alpha_fade) = 100;
2519 MY(color_min) = "0x1680A0";
2520 MY(color_max) = "0x1680A0";
2521 MY(countabsolute) = 1;
2522 MY(sizeincrease) = 500;
2527 MY(type) = "static";
2531 MY(alpha_min) = 256;
2532 MY(alpha_max) = 256;
2533 MY(alpha_fade) = 256;
2534 MY(color_min) = "0x80C0FF";
2535 MY(color_max) = "0x80C0FF";
2536 MY(countabsolute) = 1;
2541 MY(type) = "static";
2543 // small sparks which glow brightly but live briefly
2545 MY(airfriction) = 9;
2546 MY(alpha_max) = 128;
2547 MY(alpha_fade) = 512;
2549 MY(color_min) = "0xD9FDFF";
2550 MY(color_max) = "0xD9FDFF";
2554 MY(stretchfactor) = 3;
2558 MY(velocityjitter) = '600.0 600.0 600.0';
2559 MY(velocitymultiplier) = 0.500000;
2561 // small sparks that live longer
2563 MY(airfriction) = 2;
2564 MY(alpha_min) = 255;
2565 MY(alpha_max) = 255;
2566 MY(alpha_fade) = 112;
2567 MY(bounce) = 1.600000;
2568 MY(color_min) = "0xD9FDFF";
2569 MY(color_max) = "0xD9FDFF";
2574 MY(stretchfactor) = 0.700000;
2578 MY(velocityjitter) = '300.0 300.0 600.0';
2579 MY(velocitymultiplier) = 2.500000;
2582 DEF(hagar_muzzleflash);
2583 SUB(hagar_muzzleflash) {
2584 MY(alpha_min) = 256;
2585 MY(alpha_max) = 256;
2586 MY(alpha_fade) = 512;
2587 MY(color_min) = "0x202020";
2588 MY(color_max) = "0x404040";
2590 MY(lightcolor) = '2.0 1.5 0.2';
2591 MY(lightradiusfade) = 2000;
2592 MY(lightradius) = 200;
2593 MY(originjitter) = '1.5 1.5 1.5';
2598 MY(velocityjitter) = '6.0 6.0 6.0';
2599 MY(velocitymultiplier) = 0.010000;
2601 SUB(hagar_muzzleflash) {
2602 MY(airfriction) = 12;
2603 MY(alpha_max) = 128;
2604 MY(alpha_fade) = 1024;
2605 MY(color_min) = "0xff8400";
2606 MY(color_max) = "0xff4200";
2608 MY(originjitter) = '1.0 1.0 1.0';
2609 MY(startangle_min) = -180;
2610 MY(startangle_max) = 180;
2611 MY(spin_min) = -400;
2615 MY(stretchfactor) = 2;
2619 MY(velocityjitter) = '200.0 200.0 200.0';
2620 MY(velocitymultiplier) = 0.500000;
2625 MY(alpha_min) = 256;
2626 MY(alpha_max) = 256;
2627 MY(alpha_fade) = 256;
2628 MY(color_min) = "0x202020";
2629 MY(color_max) = "0x404040";
2631 MY(lightcolor) = '2.0 1.5 0.2';
2632 MY(lightradiusfade) = 300;
2633 MY(lightradius) = 60;
2634 MY(originjitter) = '1.5 1.5 1.5';
2639 MY(velocityjitter) = '6.0 6.0 6.0';
2640 MY(velocitymultiplier) = 0.010000;
2643 MY(airfriction) = 12;
2644 MY(alpha_max) = 256;
2645 MY(alpha_fade) = 256;
2646 MY(bounce) = 1.500000;
2647 MY(color_min) = "0xFFFDD9";
2648 MY(color_max) = "0xFFFDD9";
2651 MY(originjitter) = '1.0 1.0 1.0';
2657 MY(velocityjitter) = '600.0 600.0 600.0';
2658 MY(velocitymultiplier) = 0.500000;
2663 SUB(hagar_explode) {
2664 MY(alpha_min) = 256;
2665 MY(alpha_max) = 256;
2666 MY(countabsolute) = 1;
2667 MY(lightcolor) = '8.0 4.0 1.0';
2668 MY(lightradiusfade) = 400;
2669 MY(lightradius) = 120;
2670 MY(originjitter) = '14.0 14.0 14.0';
2677 // fire effect which make bright dot inside
2678 SUB(hagar_explode) {
2679 MY(airfriction) = 8;
2681 MY(alpha_max) = 200;
2682 MY(alpha_fade) = 356;
2683 MY(bounce) = 1.500000;
2684 MY(color_min) = "0xffe955";
2685 MY(color_max) = "0xff5a00";
2686 MY(count) = 3.500000;
2687 MY(liquidfriction) = 8;
2688 MY(notunderwater) = true;
2689 MY(originjitter) = '8.0 8.0 8.0';
2690 MY(sizeincrease) = 5;
2696 MY(velocityjitter) = '156.0 156.0 156.0';
2698 // fire effect which expands then slows
2699 SUB(hagar_explode) {
2700 MY(airfriction) = 12;
2701 MY(alpha_min) = 128;
2702 MY(alpha_max) = 256;
2703 MY(alpha_fade) = 456;
2704 MY(bounce) = 1.500000;
2705 MY(color_min) = "0x8f0d00";
2706 MY(color_max) = "0xff5a00";
2708 MY(liquidfriction) = 8;
2709 MY(notunderwater) = true;
2710 MY(originjitter) = '8.0 8.0 8.0';
2711 MY(sizeincrease) = 15;
2716 MY(type) = "static";
2717 MY(velocityjitter) = '286.0 286.0 286.0';
2720 SUB(hagar_explode) {
2721 MY(airfriction) = 5;
2722 MY(alpha_min) = 200;
2723 MY(alpha_max) = 500;
2724 MY(alpha_fade) = 600;
2726 MY(color_min) = "0x000000";
2727 MY(color_max) = "0x111111";
2729 MY(notunderwater) = true;
2730 MY(sizeincrease) = 20;
2734 MY(type) = "alphastatic";
2735 MY(velocityjitter) = '244.0 244.0 244.0';
2737 // underwater bubbles
2738 SUB(hagar_explode) {
2739 MY(alpha_min) = 128;
2740 MY(alpha_max) = 256;
2741 MY(alpha_fade) = 64;
2742 MY(bounce) = 1.500000;
2743 MY(color_min) = "0x404040";
2744 MY(color_max) = "0x808080";
2746 MY(gravity) = -0.125000;
2747 MY(liquidfriction) = 0.250000;
2748 MY(originjitter) = '16.0 16.0 16.0';
2753 MY(type) = "bubble";
2754 MY(underwater) = true;
2755 MY(velocityjitter) = '96.0 96.0 96.0';
2758 SUB(hagar_explode) {
2759 MY(airfriction) = 1;
2760 MY(alpha_min) = 644;
2761 MY(alpha_max) = 956;
2762 MY(alpha_fade) = 684;
2763 MY(bounce) = 1.600000;
2764 MY(color_min) = "0xffa35b";
2765 MY(color_max) = "0xfff2be";
2768 MY(liquidfriction) = 0.800000;
2769 MY(notunderwater) = true;
2770 MY(originjitter) = '16.0 16.0 16.0';
2772 MY(size_max) = 0.100000;
2776 MY(velocityjitter) = '224.0 224.0 224.0';
2777 MY(velocityoffset) = '0.0 0.0 80.0';
2780 DEF(rocketlauncher_muzzleflash);
2781 SUB(rocketlauncher_muzzleflash) {
2782 MY(airfriction) = 2;
2783 MY(alpha_min) = 256;
2784 MY(alpha_max) = 256;
2785 MY(alpha_fade) = 256;
2786 MY(color_min) = "0x202020";
2787 MY(color_max) = "0x404040";
2789 MY(originjitter) = '1.5 1.5 1.5';
2790 MY(sizeincrease) = 20;
2795 MY(velocityjitter) = '40.0 40.0 40.0';
2796 MY(velocitymultiplier) = -0.130000;
2798 SUB(rocketlauncher_muzzleflash) {
2799 MY(airfriction) = 9;
2802 MY(alpha_fade) = 20;
2803 MY(color_min) = "0xFFFDD9";
2804 MY(color_max) = "0xFFFDD9";
2806 MY(originjitter) = '3.0 3.0 3.0';
2807 MY(startangle_min) = -180;
2808 MY(startangle_max) = 180;
2811 MY(sizeincrease) = 20;
2817 MY(velocityjitter) = '100.0 100.0 100.0';
2818 MY(velocitymultiplier) = 0.300000;
2825 MY(alpha_min) = 200;
2826 MY(alpha_max) = 300;
2827 MY(alpha_fade) = 200;
2829 MY(color_min) = "0x000000";
2830 MY(color_max) = "0x666666";
2831 MY(lightcolor) = '6.0 3.0 1.0';
2832 MY(lightradius) = 150;
2833 MY(notunderwater) = true;
2834 MY(originjitter) = '2.0 2.0 2.0';
2835 MY(startangle_min) = -180;
2836 MY(startangle_max) = 180;
2839 MY(sizeincrease) = 11;
2843 MY(trailspacing) = 10;
2845 MY(velocityjitter) = '3.0 3.0 3.0';
2846 MY(velocitymultiplier) = -0.020000;
2850 MY(airfriction) = 8;
2851 MY(alpha_min) = 100;
2852 MY(alpha_max) = 144;
2853 MY(alpha_fade) = 588;
2854 MY(color_min) = "0xffdf72";
2855 MY(color_max) = "0x811200";
2856 MY(sizeincrease) = -30;
2861 MY(trailspacing) = 4;
2862 MY(type) = "static";
2863 MY(velocityjitter) = '32.0 32.0 32.0';
2864 MY(velocitymultiplier) = -1.500000;
2868 MY(alpha_min) = 256;
2869 MY(alpha_max) = 256;
2870 MY(alpha_fade) = 256;
2871 MY(bounce) = 1.500000;
2872 MY(gravity) = -0.125000;
2873 MY(liquidfriction) = 4;
2878 MY(trailspacing) = 16;
2879 MY(type) = "bubble";
2880 MY(underwater) = true;
2881 MY(velocityjitter) = '16.0 16.0 16.0';
2882 MY(velocitymultiplier) = -0.310000;
2886 MY(airfriction) = 5;
2887 MY(alpha_min) = 444;
2888 MY(alpha_max) = 512;
2889 MY(alpha_fade) = 1866;
2891 MY(color_min) = "0xFFFDD9";
2892 MY(color_max) = "0xFFFDD9";
2893 MY(notunderwater) = true;
2894 MY(originjitter) = '1.0 1.0 1.0';
2895 MY(size_min) = 0.500000;
2896 MY(size_max) = 0.500000;
2897 MY(stretchfactor) = 0.300000;
2900 MY(trailspacing) = 20;
2902 MY(velocityjitter) = '100.0 100.0 100.0';
2903 MY(velocitymultiplier) = -0.310000;
2906 // rocket explosion (bigger than mortar and hagar)
2907 DEF(rocket_explode);
2908 SUB(rocket_explode) {
2909 MY(alpha_min) = 256;
2910 MY(alpha_max) = 256;
2911 MY(countabsolute) = 1;
2912 MY(lightcolor) = '8.0 4.0 1.0';
2913 MY(lightradiusfade) = 750;
2914 MY(lightradius) = 400;
2915 MY(originjitter) = '23.0 23.0 23.0';
2923 SUB(rocket_explode) {
2924 MY(airfriction) = 8;
2925 MY(alpha_min) = 200;
2926 MY(alpha_max) = 256;
2927 MY(alpha_fade) = 512;
2928 MY(bounce) = 1.500000;
2929 MY(color_min) = "0x8f0d00";
2930 MY(color_max) = "0xff5a00";
2932 MY(liquidfriction) = 8;
2933 MY(notunderwater) = true;
2934 MY(originjitter) = '8.0 8.0 8.0';
2935 MY(sizeincrease) = 45;
2940 MY(type) = "static";
2941 MY(velocityjitter) = '512.0 512.0 512.0';
2944 SUB(rocket_explode) {
2945 MY(airfriction) = 19;
2946 MY(alpha_min) = 200;
2947 MY(alpha_max) = 256;
2948 MY(alpha_fade) = 612;
2949 MY(bounce) = 2.500000;
2950 MY(color_min) = "0xea691b";
2951 MY(color_max) = "0xeed05a";
2953 MY(liquidfriction) = 19;
2954 MY(notunderwater) = true;
2955 MY(originjitter) = '8.0 8.0 8.0';
2956 MY(sizeincrease) = 55;
2962 MY(velocityjitter) = '912.0 912.0 912.0';
2965 SUB(rocket_explode) {
2966 MY(airfriction) = 5;
2967 MY(alpha_min) = 200;
2968 MY(alpha_max) = 450;
2969 MY(alpha_fade) = 456;
2971 MY(color_min) = "0x000000";
2972 MY(color_max) = "0x111111";
2974 MY(notunderwater) = true;
2975 MY(sizeincrease) = 44;
2979 MY(type) = "alphastatic";
2980 MY(velocityjitter) = '444.0 444.0 444.0';
2982 // underwater bubbles
2983 SUB(rocket_explode) {
2984 MY(alpha_min) = 128;
2985 MY(alpha_max) = 256;
2986 MY(alpha_fade) = 64;
2987 MY(bounce) = 1.500000;
2988 MY(color_min) = "0x404040";
2989 MY(color_max) = "0x808080";
2991 MY(gravity) = -0.125000;
2992 MY(liquidfriction) = 0.250000;
2993 MY(originjitter) = '16.0 16.0 16.0';
2998 MY(type) = "bubble";
2999 MY(underwater) = true;
3000 MY(velocityjitter) = '144.0 144.0 144.0';
3002 // underwatershockwave
3003 SUB(rocket_explode) {
3006 MY(alpha_fade) = 300;
3007 MY(countabsolute) = 1;
3008 MY(sizeincrease) = 1900;
3014 MY(underwater) = true;
3015 MY(velocitymultiplier) = 0.300000;
3018 SUB(rocket_explode) {
3019 MY(airfriction) = 1;
3020 MY(alpha_min) = 644;
3021 MY(alpha_max) = 956;
3022 MY(alpha_fade) = 484;
3023 MY(bounce) = 1.600000;
3024 MY(color_min) = "0xffa35b";
3025 MY(color_max) = "0xfff2be";
3028 MY(liquidfriction) = 0.800000;
3029 MY(notunderwater) = true;
3030 MY(originjitter) = '16.0 16.0 16.0';
3032 MY(size_max) = 0.100000;
3036 MY(velocityjitter) = '424.0 424.0 624.0';
3037 MY(velocityoffset) = '0.0 0.0 80.0';
3040 SUB(rocket_explode) {
3041 MY(airfriction) = 0.500000;
3042 MY(alpha_min) = 644;
3043 MY(alpha_max) = 956;
3044 MY(alpha_fade) = 684;
3045 MY(bounce) = 1.600000;
3046 MY(color_min) = "0x6a3d25";
3047 MY(color_max) = "0xcac5b4";
3049 MY(gravity) = 1.300000;
3050 MY(notunderwater) = true;
3051 MY(startangle_min) = -180;
3052 MY(startangle_max) = 180;
3053 MY(spin_min) = -1000;
3054 MY(spin_max) = 1000;
3059 MY(type) = "alphastatic";
3060 MY(velocityjitter) = '324.0 324.0 524.0';
3063 DEF(grapple_muzzleflash);
3064 SUB(grapple_muzzleflash) {
3065 MY(lightcolor) = '1.0 0.0 0.0';
3066 MY(lightradiusfade) = 800;
3067 MY(lightradius) = 160;
3070 DEF(grapple_impact);
3071 SUB(grapple_impact) {
3072 MY(lightcolor) = '1.0 0.0 0.0';
3073 MY(lightradiusfade) = 800;
3074 MY(lightradius) = 160;
3077 DEF(nex242_misc_laser_beam);
3078 SUB(nex242_misc_laser_beam) {
3079 MY(alpha_min) = 256;
3080 MY(alpha_max) = 256;
3081 MY(alpha_fade) = 64;
3082 MY(color_min) = "0xff0000";
3083 MY(color_max) = "0xff0000";
3084 MY(countabsolute) = 1;
3085 MY(sizeincrease) = 1;
3093 DEF(nex242_misc_laser_beam_end);
3094 SUB(nex242_misc_laser_beam_end) {
3095 MY(alpha_min) = 128;
3096 MY(alpha_max) = 256;
3097 MY(alpha_fade) = 768;
3099 MY(color_min) = "0x8f4333";
3100 MY(color_max) = "0xfff31b";
3101 MY(count) = 0.500000;
3103 MY(size_min) = 0.400000;
3104 MY(size_max) = 0.400000;
3106 MY(velocityjitter) = '64.0 64.0 64.0';
3107 MY(velocitymultiplier) = 100;
3110 DEF(nex242_misc_laser_beam_fast);
3111 SUB(nex242_misc_laser_beam_fast) {
3112 MY(alpha_min) = 256;
3113 MY(alpha_max) = 256;
3114 MY(alpha_fade) = 640;
3115 MY(color_min) = "0xff0000";
3116 MY(color_max) = "0xff0000";
3117 MY(countabsolute) = 1;
3118 MY(sizeincrease) = 0.100000;
3126 DEF(nex242_misc_laser_beam_fast_end);
3127 SUB(nex242_misc_laser_beam_fast_end) {
3128 MY(alpha_min) = 128;
3129 MY(alpha_max) = 256;
3130 MY(alpha_fade) = 768;
3132 MY(color_min) = "0x8f4333";
3133 MY(color_max) = "0xfff31b";
3134 MY(count) = 0.500000;
3136 MY(size_min) = 0.400000;
3137 MY(size_max) = 0.400000;
3139 MY(velocityjitter) = '64.0 64.0 64.0';
3140 MY(velocitymultiplier) = 100;
3143 DEF(nex242_misc_laser_green_beam);
3144 SUB(nex242_misc_laser_green_beam) {
3145 MY(alpha_min) = 256;
3146 MY(alpha_max) = 256;
3147 MY(alpha_fade) = 64;
3148 MY(color_min) = "0x00ff00";
3149 MY(color_max) = "0x00ff00";
3150 MY(countabsolute) = 1;
3151 MY(sizeincrease) = 1;
3159 DEF(nex242_misc_laser_green_beam_end);
3160 SUB(nex242_misc_laser_green_beam_end) {
3161 MY(alpha_min) = 128;
3162 MY(alpha_max) = 256;
3163 MY(alpha_fade) = 768;
3165 MY(color_min) = "0x8f4333";
3166 MY(color_max) = "0xfff31b";
3167 MY(count) = 0.500000;
3169 MY(size_min) = 0.400000;
3170 MY(size_max) = 0.400000;
3172 MY(velocityjitter) = '64.0 64.0 64.0';
3173 MY(velocitymultiplier) = 100;
3176 DEF(nex242_misc_laser_blue_beam);
3177 SUB(nex242_misc_laser_blue_beam) {
3178 MY(alpha_min) = 256;
3179 MY(alpha_max) = 256;
3180 MY(alpha_fade) = 64;
3181 MY(color_min) = "0x0000ff";
3182 MY(color_max) = "0x0000ff";
3183 MY(countabsolute) = 1;
3184 MY(sizeincrease) = 1;
3192 DEF(nex242_misc_laser_blue_beam_end);
3193 SUB(nex242_misc_laser_blue_beam_end) {
3194 MY(alpha_min) = 128;
3195 MY(alpha_max) = 256;
3196 MY(alpha_fade) = 768;
3198 MY(color_min) = "0x8f4333";
3199 MY(color_max) = "0xfff31b";
3200 MY(count) = 0.500000;
3202 MY(size_min) = 0.400000;
3203 MY(size_max) = 0.400000;
3205 MY(velocityjitter) = '64.0 64.0 64.0';
3206 MY(velocitymultiplier) = 100;
3209 DEF(nex242_misc_laser_yellow_beam);
3210 SUB(nex242_misc_laser_yellow_beam) {
3211 MY(alpha_min) = 256;
3212 MY(alpha_max) = 256;
3213 MY(alpha_fade) = 64;
3214 MY(color_min) = "0xffff00";
3215 MY(color_max) = "0xffff00";
3216 MY(countabsolute) = 1;
3217 MY(sizeincrease) = 1;
3225 DEF(nex242_misc_laser_yellow_beam_end);
3226 SUB(nex242_misc_laser_yellow_beam_end) {
3227 MY(alpha_min) = 128;
3228 MY(alpha_max) = 256;
3229 MY(alpha_fade) = 768;
3231 MY(color_min) = "0x8f4333";
3232 MY(color_max) = "0xfff31b";
3233 MY(count) = 0.500000;
3235 MY(size_min) = 0.400000;
3236 MY(size_max) = 0.400000;
3238 MY(velocityjitter) = '64.0 64.0 64.0';
3239 MY(velocitymultiplier) = 100;
3242 DEF(nex242_misc_laser_cyan_beam);
3243 SUB(nex242_misc_laser_cyan_beam) {
3244 MY(alpha_min) = 256;
3245 MY(alpha_max) = 256;
3246 MY(alpha_fade) = 64;
3247 MY(color_min) = "0x00ffff";
3248 MY(color_max) = "0x00ffff";
3249 MY(countabsolute) = 1;
3250 MY(sizeincrease) = 1;
3258 DEF(nex242_misc_laser_cyan_beam_end);
3259 SUB(nex242_misc_laser_cyan_beam_end) {
3260 MY(alpha_min) = 128;
3261 MY(alpha_max) = 256;
3262 MY(alpha_fade) = 768;
3264 MY(color_min) = "0x8f4333";
3265 MY(color_max) = "0xfff31b";
3266 MY(count) = 0.500000;
3268 MY(size_min) = 0.400000;
3269 MY(size_max) = 0.400000;
3271 MY(velocityjitter) = '64.0 64.0 64.0';
3272 MY(velocitymultiplier) = 100;
3275 DEF(nex242_misc_laser_magenta_beam);
3276 SUB(nex242_misc_laser_magenta_beam) {
3277 MY(alpha_min) = 256;
3278 MY(alpha_max) = 256;
3279 MY(alpha_fade) = 64;
3280 MY(color_min) = "0xff00ff";
3281 MY(color_max) = "0xff00ff";
3282 MY(countabsolute) = 1;
3283 MY(sizeincrease) = 1;
3291 DEF(nex242_misc_laser_magenta_beam_end);
3292 SUB(nex242_misc_laser_magenta_beam_end) {
3293 MY(alpha_min) = 128;
3294 MY(alpha_max) = 256;
3295 MY(alpha_fade) = 768;
3297 MY(color_min) = "0x8f4333";
3298 MY(color_max) = "0xfff31b";
3299 MY(count) = 0.500000;
3301 MY(size_min) = 0.400000;
3302 MY(size_max) = 0.400000;
3304 MY(velocityjitter) = '64.0 64.0 64.0';
3305 MY(velocitymultiplier) = 100;
3308 DEF(nex242_misc_laser_white_beam);
3309 SUB(nex242_misc_laser_white_beam) {
3310 MY(alpha_min) = 256;
3311 MY(alpha_max) = 256;
3312 MY(alpha_fade) = 64;
3313 MY(color_min) = "0xffffff";
3314 MY(color_max) = "0xffffff";
3315 MY(countabsolute) = 1;
3316 MY(sizeincrease) = 1;
3324 DEF(nex242_misc_laser_white_beam_end);
3325 SUB(nex242_misc_laser_white_beam_end) {
3326 MY(alpha_min) = 128;
3327 MY(alpha_max) = 256;
3328 MY(alpha_fade) = 768;
3330 MY(color_min) = "0x8f4333";
3331 MY(color_max) = "0xfff31b";
3332 MY(count) = 0.500000;
3334 MY(size_min) = 0.400000;
3335 MY(size_max) = 0.400000;
3337 MY(velocityjitter) = '64.0 64.0 64.0';
3338 MY(velocitymultiplier) = 100;
3341 DEF(nex242_misc_laser_black_beam);
3342 SUB(nex242_misc_laser_black_beam) {
3343 MY(alpha_min) = 256;
3344 MY(alpha_max) = 256;
3345 MY(alpha_fade) = 64;
3346 MY(color_min) = "0x000000";
3347 MY(color_max) = "0x000000";
3348 MY(countabsolute) = 1;
3349 MY(sizeincrease) = 1;
3357 DEF(nex242_misc_laser_black_beam_end);
3358 SUB(nex242_misc_laser_black_beam_end) {
3359 MY(alpha_min) = 128;
3360 MY(alpha_max) = 256;
3361 MY(alpha_fade) = 768;
3363 MY(color_min) = "0x8f4333";
3364 MY(color_max) = "0xfff31b";
3365 MY(count) = 0.500000;
3367 MY(size_min) = 0.400000;
3368 MY(size_max) = 0.400000;
3370 MY(velocityjitter) = '64.0 64.0 64.0';
3371 MY(velocitymultiplier) = 100;
3374 DEF(nex242_misc_laser_orange_beam);
3375 SUB(nex242_misc_laser_orange_beam) {
3376 MY(alpha_min) = 256;
3377 MY(alpha_max) = 256;
3378 MY(alpha_fade) = 64;
3379 MY(color_min) = "0xff6600";
3380 MY(color_max) = "0xff6600";
3381 MY(countabsolute) = 1;
3382 MY(sizeincrease) = 1;
3390 DEF(nex242_misc_laser_orange_beam_end);
3391 SUB(nex242_misc_laser_orange_beam_end) {
3392 MY(alpha_min) = 128;
3393 MY(alpha_max) = 256;
3394 MY(alpha_fade) = 768;
3396 MY(color_min) = "0x8f4333";
3397 MY(color_max) = "0xfff31b";
3398 MY(count) = 0.500000;
3400 MY(size_min) = 0.400000;
3401 MY(size_max) = 0.400000;
3403 MY(velocityjitter) = '64.0 64.0 64.0';
3404 MY(velocitymultiplier) = 100;
3407 // bigger crylink impact effect
3408 DEF(crylink_impactbig);
3410 SUB(crylink_impactbig) {
3411 MY(alpha_min) = 256;
3412 MY(alpha_max) = 256;
3413 MY(countabsolute) = 1;
3414 MY(originjitter) = '12.0 12.0 12.0';
3421 // purple flare effect
3422 SUB(crylink_impactbig) {
3423 MY(alpha_min) = 256;
3424 MY(alpha_max) = 256;
3425 MY(alpha_fade) = 512;
3426 MY(color_min) = "0x504060";
3427 MY(color_max) = "0x504060";
3428 MY(countabsolute) = 1;
3433 MY(type) = "static";
3436 SUB(crylink_impactbig) {
3437 MY(alpha_min) = 256;
3438 MY(alpha_max) = 256;
3439 MY(alpha_fade) = 1024;
3441 MY(color_min) = "0xA040C0";
3442 MY(color_max) = "0xA040C0";
3449 MY(velocityjitter) = '512.0 512.0 512.0';
3452 SUB(crylink_impactbig) {
3453 MY(alpha_min) = 256;
3454 MY(alpha_max) = 256;
3455 MY(alpha_fade) = 512;
3456 MY(color_min) = "0xE070FF";
3457 MY(color_max) = "0xE070FF";
3458 MY(count) = 1.500000;
3461 MY(type) = "static";
3462 MY(velocityjitter) = '32.0 32.0 32.0';
3465 SUB(crylink_impactbig) {
3466 MY(alpha_min) = 256;
3467 MY(alpha_max) = 256;
3468 MY(alpha_fade) = 1024;
3469 MY(color_min) = "0xE070FF";
3470 MY(color_max) = "0xE070FF";
3474 MY(type) = "static";
3475 MY(velocityjitter) = '256.0 256.0 256.0';
3478 #include "effectinfo_gentle.inc"
3483 MY(alpha_min) = 256;
3484 MY(alpha_max) = 256;
3485 MY(countabsolute) = 1;
3486 MY(originjitter) = '6.0 6.0 6.0';
3493 // dust/smoke drifting away from the impact
3495 MY(airfriction) = 7;
3497 MY(alpha_fade) = 64;
3498 MY(color_min) = "0xFFFFFF";
3499 MY(color_max) = "0xFFFFFF";
3500 MY(count) = 0.025000;
3501 MY(liquidfriction) = 16;
3502 MY(originjitter) = '1.0 1.0 1.0';
3503 MY(sizeincrease) = 2;
3509 MY(velocityjitter) = '15.0 15.0 15.0';
3510 MY(velocitymultiplier) = 20;
3514 MY(airfriction) = 5;
3515 MY(alpha_min) = 256;
3516 MY(alpha_max) = 256;
3517 MY(alpha_fade) = 768;
3519 MY(color_min) = "0xFDFFD9";
3520 MY(color_max) = "0xFDFFD9";
3521 MY(count) = 0.025000;
3523 MY(notunderwater) = true;
3524 MY(originjitter) = '1.0 1.0 1.0';
3525 MY(size_min) = 0.600000;
3526 MY(size_max) = 0.600000;
3530 MY(velocityjitter) = '100.0 100.0 100.0';
3531 MY(velocitymultiplier) = 100;
3537 MY(alpha_min) = 200;
3538 MY(alpha_max) = 256;
3539 MY(alpha_fade) = 512;
3540 MY(color_min) = "0x8f0d00";
3541 MY(color_max) = "0xff5a00";
3543 MY(gravity) = -0.500000;
3544 MY(originjitter) = '5.0 5.0 5.0';
3545 MY(sizeincrease) = -1;
3551 MY(velocityjitter) = '1.0 1.0 50.0';
3555 MY(alpha_min) = 200;
3556 MY(alpha_max) = 256;
3557 MY(alpha_fade) = 200;
3558 MY(color_min) = "0x000000";
3559 MY(color_max) = "0x111111";
3561 MY(gravity) = -0.300000;
3562 MY(originjitter) = '3.0 3.0 3.0';
3563 MY(sizeincrease) = 5;
3567 MY(type) = "alphastatic";
3568 MY(velocityjitter) = '11.0 11.0 50.0';
3573 MY(alpha_max) = 100;
3574 MY(alpha_fade) = 100;
3576 MY(color_min) = "0x7cbaff";
3577 MY(color_max) = "0xcfd1ff";
3579 MY(gravity) = 0.600000;
3580 MY(originjitter) = '5.0 5.0 5.0';
3581 MY(sizeincrease) = 20;
3586 MY(velocityjitter) = '81.0 81.0 150.0';
3587 MY(velocitymultiplier) = 2;
3590 DEF(hookbomb_explode);
3592 SUB(hookbomb_explode) {
3593 MY(airfriction) = 10;
3594 MY(alpha_max) = 256;
3595 MY(alpha_fade) = 200;
3596 MY(bounce) = 1.500000;
3597 MY(color_min) = "0x807aff";
3598 MY(color_max) = "0x4463d5";
3600 MY(originjitter) = '10.0 10.0 10.0';
3601 MY(sizeincrease) = -160;
3606 MY(type) = "static";
3607 MY(velocityjitter) = '550.0 550.0 550.0';
3610 SUB(hookbomb_explode) {
3611 MY(alpha_min) = 256;
3612 MY(alpha_max) = 265;
3613 MY(alpha_fade) = 100;
3614 MY(color_min) = "0x807aff";
3615 MY(color_max) = "0x4463d5";
3616 MY(countabsolute) = 3;
3617 MY(originoffset) = '0.0 0.0 6.0';
3618 MY(sizeincrease) = -60;
3623 MY(type) = "static";
3625 // decal on the ground
3626 SUB(hookbomb_explode) {
3627 MY(alpha_min) = 256;
3628 MY(alpha_max) = 256;
3629 MY(countabsolute) = 1;
3630 MY(originjitter) = '6.0 6.0 6.0';
3638 SUB(hookbomb_explode) {
3639 MY(airfriction) = 2;
3640 MY(alpha_min) = 256;
3641 MY(alpha_max) = 256;
3642 MY(alpha_fade) = 456;
3643 MY(bounce) = 1.500000;
3644 MY(color_min) = "0x807aff";
3645 MY(color_max) = "0x4463d5";
3648 MY(originjitter) = '1.0 1.0 1.0';
3649 MY(sizeincrease) = -60;
3655 MY(velocityjitter) = '1900.0 1900.0 1300.0';
3656 MY(velocitymultiplier) = 0.500000;
3659 DEF(EF_MGTURRETTRAIL);
3661 SUB(EF_MGTURRETTRAIL) {
3662 MY(alpha_min) = 128;
3663 MY(alpha_max) = 196;
3664 MY(alpha_fade) = 768;
3665 MY(color_min) = "0xd0d0a0";
3666 MY(color_max) = "0xffffff";
3667 MY(gravity) = -0.010000;
3668 MY(notunderwater) = true;
3669 MY(sizeincrease) = -8;
3673 MY(trailspacing) = 10;
3677 SUB(EF_MGTURRETTRAIL) {
3678 MY(alpha_min) = 256;
3679 MY(alpha_max) = 256;
3680 MY(alpha_fade) = 256;
3681 MY(bounce) = 1.500000;
3682 MY(color_min) = "0x404040";
3683 MY(color_max) = "0x808080";
3684 MY(gravity) = -0.125000;
3685 MY(liquidfriction) = 4;
3690 MY(trailspacing) = 32;
3691 MY(type) = "bubble";
3692 MY(underwater) = true;
3693 MY(velocityjitter) = '16.0 16.0 16.0';
3699 MY(alpha_min) = 200;
3700 MY(alpha_max) = 356;
3701 MY(alpha_fade) = 512;
3703 MY(color_min) = "0x8f0d00";
3704 MY(color_max) = "0xff5a00";
3706 MY(gravity) = -0.500000;
3707 MY(originjitter) = '33.0 33.0 33.0';
3708 MY(sizeincrease) = -3;
3714 MY(velocityjitter) = '22.0 22.0 50.0';
3718 MY(alpha_min) = 200;
3719 MY(alpha_max) = 256;
3720 MY(alpha_fade) = 200;
3722 MY(color_min) = "0x000000";
3723 MY(color_max) = "0x111111";
3725 MY(gravity) = -0.300000;
3726 MY(originjitter) = '44.0 44.0 44.0';
3727 MY(sizeincrease) = 11;
3731 MY(type) = "alphastatic";
3732 MY(velocityjitter) = '11.0 11.0 50.0';
3735 #define flare(name, colormin, colormax) \
3736 DEF(name##_flare); \
3737 SUB(name##_flare) /* smoke */ { \
3738 MY(alpha_min) = 200; \
3739 MY(alpha_max) = 256; \
3740 MY(alpha_fade) = 160; \
3742 MY(color_min) = colormin; \
3743 MY(color_max) = colormax; \
3744 MY(count) = 10.500000; \
3745 MY(gravity) = -0.240000; \
3746 MY(originjitter) = '2.0 2.0 0.0'; \
3747 MY(sizeincrease) = 11; \
3749 MY(size_max) = 11; \
3751 MY(type) = "alphastatic"; \
3752 MY(velocityjitter) = '15.0 15.0 30.0'; \
3755 flare(red, "0xff0000", "0xdc7171")
3756 flare(blue, "0x0000ff", "0x7194dc")
3762 MY(airfriction) = 3;
3763 MY(alpha_min) = 100;
3764 MY(alpha_max) = 156;
3765 MY(alpha_fade) = 200;
3766 MY(bounce) = 1.100000;
3767 MY(color_min) = "0x111111";
3768 MY(color_max) = "0x979797";
3770 MY(gravity) = 0.100000;
3771 MY(notunderwater) = true;
3772 MY(sizeincrease) = 21;
3777 MY(velocityjitter) = '190.0 190.0 50.0';
3783 MY(airfriction) = 7;
3784 MY(alpha_min) = 140;
3785 MY(alpha_max) = 256;
3786 MY(alpha_fade) = 190;
3787 MY(bounce) = 1.100000;
3788 MY(color_min) = "0x9e895f";
3789 MY(color_max) = "0xffd39b";
3791 MY(gravity) = -0.150000;
3792 MY(notunderwater) = true;
3793 MY(sizeincrease) = 21;
3797 MY(type) = "alphastatic";
3798 MY(velocityjitter) = '390.0 390.0 390.0';
3803 MY(airfriction) = 3;
3804 MY(alpha_max) = 256;
3805 MY(alpha_fade) = 256;
3806 MY(bounce) = 1.500000;
3807 MY(color_min) = "0xFFFDD9";
3808 MY(color_max) = "0xFFFDD9";
3811 MY(originjitter) = '1.0 1.0 1.0';
3817 MY(velocityjitter) = '300.0 300.0 200.0';
3818 MY(velocitymultiplier) = 1.500000;
3821 DEF(electricity_sparks);
3822 SUB(electricity_sparks) {
3823 MY(airfriction) = 3;
3824 MY(alpha_max) = 256;
3825 MY(alpha_fade) = 556;
3826 MY(bounce) = 1.500000;
3827 MY(color_min) = "0x807aff";
3828 MY(color_max) = "0x4463d5";
3831 MY(originjitter) = '1.0 1.0 1.0';
3837 MY(velocityjitter) = '300.0 300.0 300.0';
3838 MY(velocitymultiplier) = 0.500000;
3843 MY(airfriction) = 5;
3844 MY(alpha_min) = 140;
3845 MY(alpha_max) = 256;
3846 MY(alpha_fade) = 190;
3847 MY(bounce) = 1.100000;
3848 MY(color_min) = "0xfffbdf";
3849 MY(color_max) = "0xffffff";
3851 MY(gravity) = -0.250000;
3852 MY(notunderwater) = true;
3853 MY(sizeincrease) = 7;
3858 MY(velocityjitter) = '19.0 19.0 19.0';
3859 MY(velocitymultiplier) = 14;
3864 MY(airfriction) = -1;
3865 MY(alpha_min) = 100;
3866 MY(alpha_max) = 256;
3867 MY(alpha_fade) = 100;
3868 MY(bounce) = 1.500000;
3869 MY(color_min) = "0x292929";
3870 MY(color_max) = "0x000000";
3872 MY(gravity) = -0.100000;
3873 MY(originjitter) = '10.0 10.0 10.0';
3874 MY(sizeincrease) = 5;
3878 MY(type) = "alphastatic";
3879 MY(velocityjitter) = '5.0 5.0 20.0';
3882 // golden dust (create it once per second to cover large area in small yellow particles)
3885 MY(alpha_min) = 256;
3886 MY(alpha_max) = 256;
3887 MY(alpha_fade) = 70;
3888 MY(bounce) = 1.500000;
3889 MY(color_min) = "0xff9600";
3890 MY(color_max) = "0xffefb8";
3892 MY(originjitter) = '500.0 500.0 500.0';
3893 MY(sizeincrease) = -0.300000;
3899 MY(velocityjitter) = '0.1 0.1 0.1';
3904 MY(airfriction) = -0.500000;
3905 MY(alpha_min) = 256;
3906 MY(alpha_max) = 256;
3907 MY(alpha_fade) = 170;
3908 MY(bounce) = 1.500000;
3909 MY(color_min) = "0xff0000";
3910 MY(color_max) = "0xff0000";
3912 MY(gravity) = -0.100000;
3913 MY(originjitter) = '5.0 5.0 100.0';
3914 MY(sizeincrease) = -0.050000;
3920 MY(velocityjitter) = '50.0 50.0 0.0';
3923 DEF(armorrepair_fx);
3924 SUB(armorrepair_fx) {
3925 MY(airfriction) = -0.500000;
3926 MY(alpha_min) = 256;
3927 MY(alpha_max) = 256;
3928 MY(alpha_fade) = 170;
3929 MY(bounce) = 1.500000;
3930 MY(color_min) = "0x00ff00";
3931 MY(color_max) = "0x00ff00";
3933 MY(gravity) = -0.100000;
3934 MY(originjitter) = '5.0 5.0 50.0';
3935 MY(sizeincrease) = -0.050000;
3941 MY(velocityjitter) = '50.0 50.0 0.0';
3946 MY(airfriction) = -0.500000;
3947 MY(alpha_min) = 256;
3948 MY(alpha_max) = 256;
3949 MY(alpha_fade) = 170;
3950 MY(bounce) = 1.500000;
3951 MY(color_min) = "0x0000ff";
3952 MY(color_max) = "0x0000ff";
3954 MY(gravity) = -0.100000;
3955 MY(originjitter) = '5.0 5.0 50.0';
3956 MY(sizeincrease) = -0.050000;
3962 MY(velocityjitter) = '50.0 50.0 0.0';
3965 // red-yellow flame like fx
3968 MY(airfriction) = 2;
3969 MY(alpha_min) = 256;
3970 MY(alpha_max) = 256;
3971 MY(alpha_fade) = 190;
3972 MY(color_min) = "0xff0000";
3973 MY(color_max) = "0xff7800";
3974 MY(count) = 2.500000;
3975 MY(gravity) = -0.060000;
3976 MY(originjitter) = '5.0 5.0 5.0';
3977 MY(sizeincrease) = 10;
3983 MY(velocityjitter) = '25.0 25.0 25.0';
3986 // pieces of glass or ice falling on the floor
3989 MY(airfriction) = 3;
3990 MY(alpha_min) = 256;
3991 MY(alpha_max) = 256;
3993 MY(color_min) = "0xffffff";
3994 MY(color_max) = "0xb2d3e6";
3996 MY(gravity) = 1.300000;
3997 MY(originjitter) = '30.0 30.0 30.0';
4004 MY(type) = "alphastatic";
4005 MY(velocityjitter) = '100.0 100.0 100.0';
4008 // cover small area in poison gas, spawn it once per second
4011 MY(airfriction) = 1;
4012 MY(alpha_min) = 256;
4013 MY(alpha_max) = 256;
4014 MY(alpha_fade) = 50;
4015 MY(bounce) = 1.500000;
4016 MY(color_min) = "0x00ff00";
4017 MY(color_max) = "0x7db843";
4019 MY(gravity) = -0.010000;
4020 MY(originjitter) = '333.0 333.0 50.0';
4021 MY(sizeincrease) = 30;
4026 MY(velocityjitter) = '5.0 5.0 5.0';
4029 // cover small area in dark fog, spawn it once per second
4032 MY(airfriction) = 1;
4033 MY(alpha_min) = 256;
4034 MY(alpha_max) = 256;
4035 MY(alpha_fade) = 50;
4036 MY(bounce) = 1.500000;
4037 MY(color_min) = "0x600089";
4038 MY(color_max) = "0x000000";
4040 MY(gravity) = -0.010000;
4041 MY(originjitter) = '333.0 333.0 0.0';
4042 MY(sizeincrease) = 10;
4047 MY(velocityjitter) = '5.0 5.0 30.0';
4050 MY(alpha_min) = 256;
4051 MY(alpha_max) = 256;
4052 MY(alpha_fade) = 50;
4053 MY(color_min) = "0x600089";
4054 MY(color_max) = "0x000000";
4056 MY(gravity) = -0.001000;
4057 MY(originjitter) = '333.0 333.0 0.0';
4058 MY(sizeincrease) = 10;
4066 // cover small area in icy mist, spawn it once per second
4069 MY(airfriction) = 1;
4070 MY(alpha_min) = 256;
4071 MY(alpha_max) = 256;
4072 MY(alpha_fade) = 50;
4073 MY(bounce) = 1.500000;
4074 MY(color_min) = "0x008aff";
4075 MY(color_max) = "0x75e7ff";
4077 MY(gravity) = -0.010000;
4078 MY(originjitter) = '333.0 333.0 0.0';
4079 MY(sizeincrease) = 10;
4084 MY(velocityjitter) = '5.0 5.0 30.0';
4087 MY(alpha_min) = 256;
4088 MY(alpha_max) = 256;
4089 MY(alpha_fade) = 50;
4090 MY(color_min) = "0x008aff";
4091 MY(color_max) = "0x75e7ff";
4093 MY(gravity) = -0.001000;
4094 MY(originjitter) = '333.0 333.0 0.0';
4095 MY(sizeincrease) = 10;
4103 // 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 )
4105 // flames that go up
4107 MY(airfriction) = 1;
4109 MY(alpha_max) = 256;
4110 MY(alpha_fade) = 200;
4111 MY(bounce) = 1.500000;
4112 MY(color_min) = "0x8f0d00";
4113 MY(color_max) = "0xff5a00";
4115 MY(gravity) = -0.060000;
4116 MY(originjitter) = '180.0 180.0 0.0';
4117 MY(sizeincrease) = 20;
4123 MY(velocityjitter) = '5.0 5.0 30.0';
4125 // flames that stay on the ground
4128 MY(alpha_max) = 256;
4129 MY(alpha_fade) = 200;
4130 MY(color_min) = "0x8f0d00";
4131 MY(color_max) = "0xff5a00";
4133 MY(originjitter) = '180.0 180.0 0.0';
4134 MY(sizeincrease) = 40;
4143 MY(alpha_min) = 256;
4144 MY(alpha_max) = 256;
4145 MY(alpha_fade) = 70;
4146 MY(color_min) = "0x000000";
4147 MY(color_max) = "0x111111";
4149 MY(gravity) = -0.020000;
4150 MY(originjitter) = '180.0 180.0 0.0';
4151 MY(sizeincrease) = 7;
4155 MY(type) = "alphastatic";
4158 // flamethrower, spawn it as fast as you can 20 times per second or more, it needs direction
4162 MY(airfriction) = 1.200000;
4164 MY(alpha_max) = 256;
4165 MY(alpha_fade) = 250;
4166 MY(bounce) = 1.500000;
4167 MY(color_min) = "0x8f0d00";
4168 MY(color_max) = "0xff5a00";
4170 MY(gravity) = -0.060000;
4171 MY(sizeincrease) = 20;
4177 MY(velocityjitter) = '40.0 40.0 11.0';
4178 MY(velocitymultiplier) = 30;
4182 MY(airfriction) = 1.200000;
4184 MY(alpha_max) = 256;
4185 MY(alpha_fade) = 200;
4186 MY(bounce) = 1.500000;
4187 MY(color_min) = "0x8f0d00";
4188 MY(color_max) = "0xff5a00";
4189 MY(count) = 2.500000;
4190 MY(gravity) = -0.060000;
4191 MY(sizeincrease) = 20;
4197 MY(velocityjitter) = '40.0 40.0 40.0';
4198 MY(velocitymultiplier) = 20;
4200 // very slow and small fire
4202 MY(airfriction) = 0.300000;
4204 MY(alpha_max) = 256;
4205 MY(alpha_fade) = 200;
4206 MY(bounce) = 1.500000;
4207 MY(color_min) = "0x8f0d00";
4208 MY(color_max) = "0xff5a00";
4209 MY(count) = 1.500000;
4210 MY(gravity) = -0.060000;
4211 MY(sizeincrease) = 10;
4217 MY(velocityjitter) = '30.0 30.0 30.0';
4218 MY(velocitymultiplier) = 10;
4222 MY(airfriction) = 0.300000;
4224 MY(alpha_max) = 256;
4225 MY(alpha_fade) = 200;
4226 MY(bounce) = 1.500000;
4227 MY(color_min) = "0x8f0d00";
4228 MY(color_max) = "0xff5a00";
4230 MY(gravity) = -0.060000;
4231 MY(sizeincrease) = -10;
4237 MY(velocityjitter) = '10.0 10.0 10.0';
4238 MY(velocitymultiplier) = 15;
4242 MY(airfriction) = 1;
4243 MY(alpha_min) = 256;
4244 MY(alpha_max) = 256;
4245 MY(alpha_fade) = 90;
4246 MY(color_min) = "0x000000";
4247 MY(color_max) = "0x111111";
4248 MY(count) = 0.500000;
4249 MY(originjitter) = '10.0 10.0 10.0';
4250 MY(sizeincrease) = 7;
4254 MY(type) = "alphastatic";
4255 MY(velocitymultiplier) = 20;
4256 MY(velocityoffset) = '0.0 0.0 10.0';
4259 // port-o-launch trail
4261 // glowing vapor trail
4263 MY(alpha_min) = 256;
4264 MY(alpha_max) = 256;
4265 MY(alpha_fade) = 968;
4266 MY(color_min) = "0x404040";
4267 MY(color_max) = "0x404040";
4268 MY(lightcolor) = '1.5 3.0 6.0';
4269 MY(lightradius) = 90;
4274 MY(trailspacing) = 4;
4275 MY(type) = "static";
4276 MY(velocitymultiplier) = -0.100000;
4280 MY(airfriction) = 12;
4281 MY(alpha_min) = 444;
4282 MY(alpha_max) = 512;
4283 MY(alpha_fade) = 1866;
4285 MY(color_min) = "0x404040";
4286 MY(color_max) = "0x404040";
4287 MY(count) = 1.500000;
4288 MY(originjitter) = '1.0 1.0 1.0';
4289 MY(sizeincrease) = -20;
4294 MY(trailspacing) = 12;
4296 MY(velocityjitter) = '50.0 50.0 50.0';
4297 MY(velocityoffset) = '0.0 0.0 15.0';
4302 // glowing vapor trail
4304 MY(alpha_min) = 256;
4305 MY(alpha_max) = 256;
4306 MY(alpha_fade) = 968;
4307 MY(color_min) = "0x804000";
4308 MY(color_max) = "0x804000";
4309 MY(lightcolor) = '1.5 3.0 6.0';
4310 MY(lightradius) = 90;
4315 MY(trailspacing) = 4;
4316 MY(type) = "static";
4317 MY(velocitymultiplier) = -0.100000;
4321 MY(airfriction) = 12;
4322 MY(alpha_min) = 444;
4323 MY(alpha_max) = 512;
4324 MY(alpha_fade) = 1866;
4326 MY(color_min) = "0xff8000";
4327 MY(color_max) = "0xff8000";
4328 MY(count) = 1.500000;
4329 MY(originjitter) = '1.0 1.0 1.0';
4330 MY(sizeincrease) = -20;
4335 MY(trailspacing) = 12;
4337 MY(velocityjitter) = '50.0 50.0 50.0';
4338 MY(velocityoffset) = '0.0 0.0 15.0';
4343 MY(alpha_min) = 256;
4344 MY(alpha_max) = 256;
4345 MY(countabsolute) = 1;
4346 MY(lightcolor) = '8.0 4.0 1.0';
4347 MY(lightradiusfade) = 400;
4348 MY(lightradius) = 150;
4349 MY(originjitter) = '40.0 40.0 40.0';
4356 // fire effect which make bright dot inside
4358 MY(airfriction) = 8;
4359 MY(alpha_min) = 128;
4360 MY(alpha_max) = 256;
4361 MY(alpha_fade) = 456;
4362 MY(bounce) = 1.500000;
4363 MY(color_min) = "0xffe955";
4364 MY(color_max) = "0xff5a00";
4366 MY(liquidfriction) = 8;
4367 MY(notunderwater) = true;
4368 MY(originjitter) = '8.0 8.0 8.0';
4369 MY(sizeincrease) = 5;
4375 MY(velocityjitter) = '156.0 156.0 156.0';
4377 // fire effect which expands then slows
4379 MY(airfriction) = 12;
4380 MY(alpha_min) = 128;
4381 MY(alpha_max) = 256;
4382 MY(alpha_fade) = 456;
4383 MY(bounce) = 1.500000;
4384 MY(color_min) = "0x8f0d00";
4385 MY(color_max) = "0xff5a00";
4387 MY(liquidfriction) = 8;
4388 MY(notunderwater) = true;
4389 MY(originjitter) = '8.0 8.0 8.0';
4390 MY(sizeincrease) = 15;
4395 MY(type) = "static";
4396 MY(velocityjitter) = '256.0 256.0 256.0';
4400 MY(airfriction) = 5;
4401 MY(alpha_min) = 500;
4402 MY(alpha_max) = 600;
4403 MY(alpha_fade) = 556;
4405 MY(color_min) = "0x000000";
4406 MY(color_max) = "0x111111";
4408 MY(notunderwater) = true;
4409 MY(sizeincrease) = 20;
4413 MY(type) = "alphastatic";
4414 MY(velocityjitter) = '244.0 244.0 244.0';
4416 // underwater bubbles
4418 MY(alpha_min) = 128;
4419 MY(alpha_max) = 256;
4420 MY(alpha_fade) = 64;
4421 MY(bounce) = 1.500000;
4422 MY(color_min) = "0x404040";
4423 MY(color_max) = "0x808080";
4425 MY(gravity) = -0.125000;
4426 MY(liquidfriction) = 0.250000;
4427 MY(originjitter) = '16.0 16.0 16.0';
4432 MY(type) = "bubble";
4433 MY(underwater) = true;
4434 MY(velocityjitter) = '96.0 96.0 96.0';
4438 MY(airfriction) = 0.200000;
4439 MY(alpha_min) = 256;
4440 MY(alpha_max) = 256;
4441 MY(alpha_fade) = 384;
4442 MY(bounce) = 1.500000;
4443 MY(color_min) = "0x903010";
4444 MY(color_max) = "0xFFD030";
4447 MY(liquidfriction) = 0.800000;
4448 MY(notunderwater) = true;
4454 MY(velocityjitter) = '256.0 256.0 256.0';
4455 MY(velocityoffset) = '0.0 0.0 80.0';
4458 // bullet trail (somewhat like a tracer)
4461 MY(alpha) = '500 600 10000';
4462 MY(color_min) = "0xf03000";
4463 MY(color_max) = "0xff6010";
4464 MY(countabsolute) = 1;
4465 MY(sizeincrease) = -3;
4473 MY(airfriction) = -4;
4474 MY(alpha) = '256 256 350';
4475 MY(color_min) = "0x202020";
4476 MY(color_max) = "0x404040";
4477 MY(notunderwater) = true;
4478 MY(sizeincrease) = 0.4;
4483 MY(trailspacing) = 16;
4485 MY(velocityjitter) = '4 4 4';
4488 MY(alpha_min) = 256;
4489 MY(alpha_max) = 256;
4490 MY(alpha_fade) = 128;
4491 MY(bounce) = 1.500000;
4492 MY(color_min) = "0x404040";
4493 MY(color_max) = "0x808080";
4494 MY(gravity) = -0.125000;
4495 MY(liquidfriction) = 4;
4500 MY(trailspacing) = 16;
4501 MY(type) = "bubble";
4502 MY(underwater) = true;
4503 MY(velocityjitter) = '16.0 16.0 16.0';
4506 // smoke emitter for small pipes
4507 DEF(smoking_smallemitter);
4508 SUB(smoking_smallemitter) {
4509 MY(airfriction) = -1;
4510 MY(alpha_min) = 200;
4511 MY(alpha_max) = 256;
4512 MY(alpha_fade) = 100;
4513 MY(color_min) = "0x292929";
4514 MY(color_max) = "0x000000";
4516 MY(gravity) = -0.100000;
4517 MY(originjitter) = '10.0 10.0 10.0';
4518 MY(sizeincrease) = 20;
4522 MY(type) = "alphastatic";
4523 MY(velocityjitter) = '5.0 5.0 20.0';
4527 DEF(TR_CRYLINKPLASMA);
4529 SUB(TR_CRYLINKPLASMA) {
4530 MY(alpha_min) = 256;
4531 MY(alpha_max) = 256;
4532 MY(alpha_fade) = 1024;
4533 MY(color_min) = "0x5522aa";
4534 MY(color_max) = "0x6622ff";
4535 MY(sizeincrease) = 8;
4540 MY(trailspacing) = 128;
4541 MY(type) = "static";
4542 MY(velocityjitter) = '8.0 8.0 8.0';
4543 MY(velocitymultiplier) = -0.010000;
4545 // crylink main trail
4546 SUB(TR_CRYLINKPLASMA) {
4547 MY(alpha_min) = 256;
4548 MY(alpha_max) = 256;
4549 MY(alpha_fade) = 2600;
4550 MY(color_min) = "0x5522aa";
4551 MY(color_max) = "0x6622ff";
4552 MY(sizeincrease) = 15;
4557 MY(trailspacing) = 16;
4558 MY(type) = "static";
4559 MY(velocityjitter) = '2.0 2.0 2.0';
4560 MY(velocitymultiplier) = 0.010000;
4564 SUB(cherryblossom) {
4565 MY(airfriction) = 1;
4566 MY(alpha_min) = 128;
4567 MY(alpha_max) = 256;
4568 MY(alpha_fade) = 32;
4569 MY(bounce) = 1.500000;
4570 MY(color_min) = "0xb123ff";
4571 MY(color_max) = "0xb183ff";
4572 MY(count) = 1.500000;
4573 MY(gravity) = 0.050000;
4574 MY(liquidfriction) = 1;
4575 MY(originjitter) = '16.0 16.0 16.0';
4576 MY(size_min) = 1.500000;
4580 MY(type) = "static";
4581 MY(velocityjitter) = '32.0 32.0 0.0';
4586 MY(airfriction) = 0.400000;
4587 MY(alpha_min) = 1560;
4588 MY(alpha_max) = 2560;
4589 MY(alpha_fade) = 7000;
4590 MY(blend) = "invmod";
4592 MY(color_min) = "0xDC9BCD";
4593 MY(color_max) = "0xDC9BCD";
4594 MY(count) = 0.400000;
4595 MY(sizeincrease) = 20;
4598 MY(staincolor_min) = "0xDC9BCD";
4599 MY(staincolor_max) = "0xDC9BCD";
4600 MY(stainsize_min) = 1;
4601 MY(stainsize_max) = 2;
4602 MY(staintex_min) = 16;
4603 MY(staintex_max) = 24;
4604 MY(stretchfactor) = 25;
4608 MY(velocityjitter) = '99.0 99.0 55.0';
4612 MY(alpha_min) = 3000;
4613 MY(alpha_max) = 5560;
4614 MY(alpha_fade) = 12000;
4615 MY(blend) = "invmod";
4616 MY(color_min) = "0xDC9BCD";
4617 MY(color_max) = "0xDC9BCD";
4618 MY(countabsolute) = 1;
4619 MY(originjitter) = '11.0 11.0 11.0';
4620 MY(sizeincrease) = 20;
4630 MY(airfriction) = 1;
4631 MY(alpha_min) = 256;
4632 MY(alpha_max) = 256;
4633 MY(alpha_fade) = 64;
4635 MY(color_min) = "0xff3000";
4636 MY(color_max) = "0xff7373";
4637 MY(count) = 0.167000;
4639 MY(liquidfriction) = 4;
4645 MY(velocityjitter) = '264.0 264.0 264.0';
4646 MY(velocityoffset) = '0.0 0.0 100.0';
4651 MY(alpha_fade) = 1000;
4652 MY(color_min) = "0xff8400";
4653 MY(color_max) = "0xffbb72";
4654 MY(countabsolute) = 1;
4655 MY(originjitter) = '11.0 11.0 11.0';
4656 MY(sizeincrease) = 800;
4665 MY(alpha_min) = 256;
4666 MY(alpha_max) = 256;
4667 MY(alpha_fade) = 5120;
4668 MY(color_min) = "0xff3000";
4669 MY(color_max) = "0xff8585";
4670 MY(count) = 0.100000;
4671 MY(originjitter) = '41.0 41.0 21.0';
4672 MY(startangle_min) = -180;
4673 MY(startangle_max) = 180;
4674 MY(spin_min) = 4000;
4675 MY(spin_max) = -4000;
4683 DEF(alien_TR_BLOOD);
4684 SUB(alien_TR_BLOOD) {
4685 MY(airfriction) = -2;
4686 MY(alpha_min) = 384;
4687 MY(alpha_max) = 984;
4688 MY(alpha_fade) = 1492;
4689 MY(blend) = "invmod";
4691 MY(color_min) = "0xC080B0";
4692 MY(color_max) = "0xC080B0";
4693 MY(gravity) = 0.400000;
4694 MY(liquidfriction) = 1;
4695 MY(sizeincrease) = -5;
4698 MY(staincolor_min) = "0xC080B0";
4699 MY(staincolor_max) = "0xC080B0";
4700 MY(stainsize_min) = 1;
4701 MY(stainsize_max) = 2;
4702 MY(staintex_min) = 16;
4703 MY(staintex_max) = 24;
4704 MY(stretchfactor) = 7;
4707 MY(trailspacing) = 20;
4709 MY(velocityjitter) = '64.0 64.0 64.0';
4710 MY(velocitymultiplier) = -0.100000;
4713 // splash around gib
4715 MY(alpha_min) = 684;
4716 MY(alpha_max) = 684;
4717 MY(alpha_fade) = 7492;
4718 MY(color_min) = "0xA8FFFF";
4719 MY(color_max) = "0xA8FFFF";
4720 MY(sizeincrease) = 500;
4725 MY(trailspacing) = 42;
4729 DEF(robot_TR_BLOOD);
4730 SUB(robot_TR_BLOOD) {
4731 MY(airfriction) = -2;
4732 MY(alpha_min) = 384;
4733 MY(alpha_max) = 984;
4734 MY(alpha_fade) = 1892;
4735 MY(blend) = "invmod";
4737 MY(color_min) = "0xC0D890";
4738 MY(color_max) = "0xC0D890";
4739 MY(gravity) = 0.400000;
4740 MY(liquidfriction) = 1;
4741 MY(sizeincrease) = -6;
4744 MY(staincolor_min) = "0x808080";
4745 MY(staincolor_max) = "0x808080";
4746 MY(stainsize_min) = 1;
4747 MY(stainsize_max) = 3;
4748 MY(staintex_min) = 16;
4749 MY(staintex_max) = 24;
4750 MY(stretchfactor) = 6;
4753 MY(trailspacing) = 16;
4755 MY(velocityjitter) = '64.0 64.0 64.0';
4756 MY(velocitymultiplier) = -0.300000;
4759 SUB(robot_TR_BLOOD) {
4760 MY(airfriction) = 4;
4761 MY(alpha_min) = 128;
4762 MY(alpha_max) = 256;
4763 MY(alpha_fade) = 900;
4764 MY(color_min) = "0x902010";
4765 MY(color_max) = "0xff3600";
4767 MY(liquidfriction) = 4;
4768 MY(notunderwater) = true;
4769 MY(sizeincrease) = 10;
4772 MY(stretchfactor) = 5;
4775 MY(trailspacing) = 16;
4777 MY(velocityjitter) = '44.0 44.0 44.0';
4780 SUB(robot_TR_BLOOD) {
4781 MY(alpha_min) = 1128;
4782 MY(alpha_max) = 1256;
4783 MY(alpha_fade) = 44900;
4784 MY(color_min) = "0xff3000";
4785 MY(color_max) = "0xff8585";
4786 MY(startangle_min) = -180;
4787 MY(startangle_max) = 180;
4788 MY(spin_min) = 4000;
4789 MY(spin_max) = -4000;
4794 MY(trailspacing) = 128;
4796 MY(velocityjitter) = '44.0 44.0 44.0';
4799 DEF(alien_TR_SLIGHTBLOOD);
4800 SUB(alien_TR_SLIGHTBLOOD) {
4801 MY(airfriction) = 1;
4802 MY(alpha_min) = 384;
4803 MY(alpha_max) = 384;
4804 MY(alpha_fade) = 192;
4806 MY(color_min) = "0xC080B0";
4807 MY(color_max) = "0xC080B0";
4808 MY(liquidfriction) = 4;
4811 MY(staincolor_min) = "0x808080";
4812 MY(staincolor_max) = "0x808080";
4813 MY(staintex_min) = 16;
4814 MY(staintex_max) = 24;
4817 MY(trailspacing) = 64;
4819 MY(velocityjitter) = '64.0 64.0 64.0';
4820 MY(velocitymultiplier) = 0.500000;
4823 DEF(robot_TR_SLIGHTBLOOD);
4824 SUB(robot_TR_SLIGHTBLOOD) {
4825 MY(airfriction) = 1;
4826 MY(alpha_min) = 384;
4827 MY(alpha_max) = 384;
4828 MY(alpha_fade) = 192;
4830 MY(color_min) = "0xC0D890";
4831 MY(color_max) = "0xC0D890";
4832 MY(liquidfriction) = 4;
4835 MY(staincolor_min) = "0x808080";
4836 MY(staincolor_max) = "0x808080";
4837 MY(staintex_min) = 16;
4838 MY(staintex_max) = 24;
4841 MY(trailspacing) = 64;
4843 MY(velocityjitter) = '64.0 64.0 64.0';
4844 MY(velocitymultiplier) = 0.500000;
4848 // flare particle and light
4850 MY(alpha_min) = 128;
4852 MY(alpha_fade) = 64;
4853 MY(color_min) = "0x63F2EA";
4854 MY(color_max) = "0xB0C5C4";
4855 MY(countabsolute) = 1;
4858 MY(type) = "static";
4860 // cloud of particles which expand rapidly and then slow to form a ball
4862 MY(alpha_min) = 256;
4863 MY(alpha_max) = 256;
4864 MY(alpha_fade) = 1280;
4865 MY(color_min) = "0x63F2EA";
4866 MY(color_max) = "0xB0C5C4";
4873 MY(velocityjitter) = '256.0 256.0 256.0';
4878 MY(alpha_min) = 156;
4879 MY(alpha_max) = 656;
4880 MY(alpha_fade) = 1664;
4881 MY(blend) = "invmod";
4883 MY(color_min) = "0xA8FFFF";
4884 MY(color_max) = "0xA8FFFFF";
4887 MY(liquidfriction) = 4;
4890 MY(staincolor_min) = "0x808080";
4891 MY(staincolor_max) = "0x808080";
4892 MY(stainsize_min) = 1;
4893 MY(stainsize_max) = 2;
4894 MY(staintex_min) = 16;
4895 MY(staintex_max) = 24;
4896 MY(stretchfactor) = 3;
4900 MY(velocityjitter) = '764.0 764.0 764.0';
4904 MY(alpha_min) = 156;
4905 MY(alpha_max) = 656;
4906 MY(alpha_fade) = 1664;
4907 MY(blend) = "invmod";
4908 MY(color_min) = "0xA8FFFF";
4909 MY(color_max) = "0xA8FFFFF";
4910 MY(countabsolute) = 0.100000;
4911 MY(originjitter) = '50.0 50.0 50.0';
4912 MY(sizeincrease) = 300;
4920 DEF(alien_bloodshower);
4921 SUB(alien_bloodshower) {
4922 MY(alpha_min) = 156;
4923 MY(alpha_max) = 656;
4924 MY(alpha_fade) = 1664;
4925 MY(blend) = "invmod";
4927 MY(color_min) = "0xC080B0";
4928 MY(color_max) = "0xC080B0";
4931 MY(liquidfriction) = 4;
4934 MY(staincolor_min) = "0xC080B0";
4935 MY(staincolor_max) = "0xC080B0";
4936 MY(stainsize_min) = 1;
4937 MY(stainsize_max) = 2;
4938 MY(staintex_min) = 16;
4939 MY(staintex_max) = 24;
4940 MY(stretchfactor) = 3;
4944 MY(velocityjitter) = '764.0 764.0 764.0';
4948 MY(alpha_min) = 156;
4949 MY(alpha_max) = 656;
4950 MY(alpha_fade) = 1664;
4951 MY(blend) = "invmod";
4952 MY(color_min) = "0xA8FFFF";
4953 MY(color_max) = "0xA8FFFFF";
4954 MY(countabsolute) = 0.100000;
4955 MY(originjitter) = '50.0 50.0 50.0';
4956 MY(sizeincrease) = 300;
4964 DEF(robot_bloodshower);
4965 SUB(robot_bloodshower) {
4966 MY(alpha_min) = 156;
4967 MY(alpha_max) = 656;
4968 MY(alpha_fade) = 1664;
4969 MY(blend) = "invmod";
4971 MY(color_min) = "0xC0D890";
4972 MY(color_max) = "0xC0D890";
4975 MY(liquidfriction) = 4;
4978 MY(staincolor_min) = "0xC0D890";
4979 MY(staincolor_max) = "0xC0D890";
4980 MY(stainsize_min) = 1;
4981 MY(stainsize_max) = 2;
4982 MY(staintex_min) = 16;
4983 MY(staintex_max) = 24;
4984 MY(stretchfactor) = 3;
4988 MY(velocityjitter) = '764.0 764.0 764.0';
4991 SUB(robot_bloodshower) {
4992 MY(alpha_min) = 1128;
4993 MY(alpha_max) = 1256;
4994 MY(alpha_fade) = 4200;
4995 MY(color_min) = "0xff3000";
4996 MY(color_max) = "0xff8585";
4997 MY(count) = 2.500000;
4998 MY(originjitter) = '150.0 150.0 150.0';
4999 MY(startangle_min) = -180;
5000 MY(startangle_max) = 180;
5008 MY(velocityjitter) = '44.0 44.0 44.0';
5011 SUB(robot_bloodshower) {
5013 MY(alpha_max) = 125;
5014 MY(alpha_fade) = 990;
5015 MY(color_min) = "0xff3000";
5016 MY(color_max) = "0xff8585";
5017 MY(count) = 2.500000;
5018 MY(sizeincrease) = 3000;
5026 #define ground_quake(name, colormin, colormax) \
5027 DEF(name##_ground_quake); \
5028 SUB(name##_ground_quake) /* smoke */ { \
5029 MY(airfriction) = 3; \
5030 MY(alpha_min) = 100; \
5031 MY(alpha_max) = 126; \
5032 MY(alpha_fade) = 200; \
5033 MY(bounce) = 1.100000; \
5034 MY(color_min) = "0x111111"; \
5035 MY(color_max) = "0xbbbbbb"; \
5037 MY(gravity) = 0.500000; \
5038 MY(notunderwater) = true; \
5039 MY(sizeincrease) = 100; \
5040 MY(size_min) = 20; \
5041 MY(size_max) = 50; \
5044 MY(time_max) = 10; \
5045 MY(type) = "smoke"; \
5046 MY(velocityjitter) = '190.0 190.0 50.0'; \
5048 SUB(name##_ground_quake) { \
5049 MY(airfriction) = 4; \
5050 MY(alpha_min) = 100; \
5051 MY(alpha_max) = 126; \
5052 MY(alpha_fade) = 200; \
5053 MY(bounce) = 1.200000; \
5054 MY(color_min) = "0x111111"; \
5055 MY(color_max) = "0x979797"; \
5057 MY(gravity) = 0.200000; \
5058 MY(notunderwater) = true; \
5059 MY(sizeincrease) = 60; \
5060 MY(size_min) = 10; \
5061 MY(size_max) = 30; \
5063 MY(time_min) = 10; \
5064 MY(time_max) = 15; \
5065 MY(type) = "smoke"; \
5066 MY(velocityjitter) = '190.0 190.0 50.0'; \
5068 SUB(name##_ground_quake) { \
5069 MY(alpha_min) = 200; \
5070 MY(alpha_max) = 356; \
5071 MY(alpha_fade) = 512; \
5073 MY(color_min) = colormin; \
5074 MY(color_max) = colormax; \
5076 MY(gravity) = -0.500000; \
5077 MY(originjitter) = '33.0 33.0 33.0'; \
5078 MY(sizeincrease) = 5; \
5080 MY(size_max) = 20; \
5083 MY(time_min) = 15; \
5084 MY(time_max) = 25; \
5085 MY(type) = "smoke"; \
5086 MY(velocityjitter) = '22.0 22.0 50.0'; \
5088 SUB(name##_ground_quake) /* smoke */ { \
5089 MY(alpha_min) = 200; \
5090 MY(alpha_max) = 256; \
5091 MY(alpha_fade) = 200; \
5093 MY(color_min) = "0x000000"; \
5094 MY(color_max) = "0xffffff"; \
5096 MY(gravity) = -0.300000; \
5097 MY(originjitter) = '44.0 44.0 44.0'; \
5098 MY(sizeincrease) = 11; \
5099 MY(size_min) = 22; \
5100 MY(size_max) = 33; \
5102 MY(time_min) = 25; \
5103 MY(time_max) = 35; \
5104 MY(type) = "alphastatic"; \
5105 MY(velocityjitter) = '11.0 11.0 50.0'; \
5109 ground_quake(red, "0x9E6A64", "0x91302D")
5110 ground_quake(blue, "0x64679E", "0x2D4C91")
5113 #include "effectinfo_gentle_morphed.inc"
5115 // Team / hit vaporizer effects
5116 #define TE_TEI_G3(name, colormin1, colormax1, colormin2, colormax2) \
5117 DEF(TE_TEI_G3##name); \
5118 SUB(TE_TEI_G3##name) { \
5119 MY(alpha_min) = 128; \
5120 MY(alpha_max) = 128; \
5121 MY(alpha_fade) = 256; \
5122 MY(color_min) = colormin1; \
5123 MY(color_max) = colormax1; \
5124 MY(countabsolute) = 1; \
5127 MY(tex_min) = 200; \
5128 MY(tex_max) = 200; \
5129 MY(type) = "beam"; \
5131 SUB(TE_TEI_G3##name) { \
5132 MY(airfriction) = -4; \
5133 MY(alpha_min) = 256; \
5134 MY(alpha_max) = 256; \
5135 MY(alpha_fade) = 512; \
5136 MY(color_min) = colormin2; \
5137 MY(color_max) = colormax2; \
5138 MY(sizeincrease) = 3; \
5139 MY(size_min) = 0.300000; \
5140 MY(size_max) = 0.300000; \
5143 MY(trailspacing) = 8; \
5144 MY(type) = "smoke"; \
5145 MY(velocityjitter) = '3.0 3.0 3.0'; \
5147 DEF(TE_TEI_G3##name##_HIT); \
5148 SUB(TE_TEI_G3##name##_HIT) { \
5149 MY(alpha_min) = 128; \
5150 MY(alpha_max) = 128; \
5151 MY(alpha_fade) = 256; \
5152 MY(color_min) = colormin1; \
5153 MY(color_max) = colormax1; \
5154 MY(countabsolute) = 1; \
5157 MY(tex_min) = 200; \
5158 MY(tex_max) = 200; \
5159 MY(type) = "beam"; \
5161 SUB(TE_TEI_G3##name##_HIT) /* rings */ { \
5162 MY(airfriction) = -4; \
5163 MY(alpha_min) = 256; \
5164 MY(alpha_max) = 256; \
5165 MY(alpha_fade) = 512; \
5166 MY(color_min) = "0xFFFFFF"; \
5167 MY(color_max) = colormax1; \
5168 MY(sizeincrease) = -2; \
5171 MY(trailspacing) = 20; \
5172 MY(type) = "smoke"; \
5173 MY(velocityjitter) = '2.0 2.0 2.0'; \
5175 SUB(TE_TEI_G3##name##_HIT) { \
5176 MY(airfriction) = -4; \
5177 MY(alpha_min) = 256; \
5178 MY(alpha_max) = 256; \
5179 MY(alpha_fade) = 512; \
5180 MY(color_min) = colormin1; \
5181 MY(color_max) = colormax1; \
5182 MY(sizeincrease) = -6; \
5183 MY(size_min) = 10; \
5184 MY(size_max) = 10; \
5185 MY(trailspacing) = 40; \
5186 MY(type) = "smoke"; \
5189 TE_TEI_G3(RED, "0xFF0000", "0xFF0011", "0x200000", "0x400000")
5190 TE_TEI_G3(BLUE, "0x0000FF", "0x1100FF", "0x000020", "0x000040")
5191 TE_TEI_G3(YELLOW, "0xffff00", "0xffff11", "0x202000", "0x404000")
5192 TE_TEI_G3(PINK, "0xFF00FF", "0xFF11FF", "0x200020", "0x400040")
5195 #include "effectinfo_gentle_particlegibs.inc"
5197 #include "effectinfo_onslaught.inc"
5201 MY(airfriction) = 1.200000;
5203 MY(alpha_max) = 256;
5204 MY(alpha_fade) = 250;
5205 MY(bounce) = 1.500000;
5206 MY(color_min) = "0x8f0d00";
5207 MY(color_max) = "0xff5a00";
5208 MY(count) = 0.500000;
5209 MY(gravity) = -0.060000;
5210 MY(sizeincrease) = 5;
5215 MY(trailspacing) = 2;
5217 MY(velocityjitter) = '10.0 10.0 2.0';
5221 MY(airfriction) = 1.200000;
5223 MY(alpha_max) = 256;
5224 MY(alpha_fade) = 200;
5225 MY(bounce) = 1.500000;
5226 MY(color_min) = "0x8f0d00";
5227 MY(color_max) = "0xff5a00";
5228 MY(count) = 0.500000;
5229 MY(gravity) = -0.060000;
5230 MY(sizeincrease) = 5;
5235 MY(trailspacing) = 2;
5237 MY(velocityjitter) = '10.0 10.0 10.0';
5239 // very slow and small fire
5241 MY(airfriction) = 0.300000;
5243 MY(alpha_max) = 256;
5244 MY(alpha_fade) = 200;
5245 MY(bounce) = 1.500000;
5246 MY(color_min) = "0x8f0d00";
5247 MY(color_max) = "0xff5a00";
5248 MY(count) = 0.500000;
5249 MY(gravity) = -0.060000;
5250 MY(sizeincrease) = 2;
5255 MY(trailspacing) = 4;
5257 MY(velocityjitter) = '8.0 8.0 8.0';
5261 MY(airfriction) = 0.300000;
5263 MY(alpha_max) = 256;
5264 MY(alpha_fade) = 200;
5265 MY(bounce) = 1.500000;
5266 MY(color_min) = "0x8f0d00";
5267 MY(color_max) = "0xff5a00";
5268 MY(count) = 0.500000;
5269 MY(gravity) = -0.060000;
5270 MY(sizeincrease) = -3;
5275 MY(trailspacing) = 4;
5277 MY(velocityjitter) = '3.0 3.0 3.0';
5281 MY(airfriction) = 1;
5282 MY(alpha_min) = 256;
5283 MY(alpha_max) = 256;
5284 MY(alpha_fade) = 90;
5285 MY(color_min) = "0x000000";
5286 MY(color_max) = "0x111111";
5287 MY(count) = 0.500000;
5288 MY(originjitter) = '2.0 2.0 2.0';
5289 MY(sizeincrease) = 1;
5293 MY(trailspacing) = 8;
5294 MY(type) = "alphastatic";
5295 MY(velocityoffset) = '0.0 0.0 3.0';
5299 MY(airfriction) = 1.200000;
5301 MY(alpha_max) = 256;
5302 MY(alpha_fade) = 1600;
5303 MY(bounce) = 1.500000;
5304 MY(color_min) = "0x8f0d00";
5305 MY(color_max) = "0xff5a00";
5306 MY(count) = 0.500000;
5311 MY(trailspacing) = 1;
5316 MY(lightcolor) = '2.7 2.7 0.6';
5317 MY(lightradiusfade) = 50000;
5318 MY(lightradius) = 50;
5319 MY(trailspacing) = 16;
5324 MY(airfriction) = 1.200000;
5326 MY(alpha_max) = 256;
5327 MY(alpha_fade) = 250;
5328 MY(bounce) = 1.500000;
5329 MY(color_min) = "0x8f0d00";
5330 MY(color_max) = "0xff5a00";
5331 MY(count) = 0.500000;
5332 MY(gravity) = -0.060000;
5333 MY(sizeincrease) = 20;
5338 MY(trailspacing) = 2;
5340 MY(velocityjitter) = '40.0 40.0 11.0';
5344 MY(airfriction) = 1.200000;
5346 MY(alpha_max) = 256;
5347 MY(alpha_fade) = 200;
5348 MY(bounce) = 1.500000;
5349 MY(color_min) = "0x8f0d00";
5350 MY(color_max) = "0xff5a00";
5351 MY(count) = 0.500000;
5352 MY(gravity) = -0.060000;
5353 MY(sizeincrease) = 20;
5358 MY(trailspacing) = 2;
5360 MY(velocityjitter) = '40.0 40.0 40.0';
5362 // very slow and small fire
5364 MY(airfriction) = 0.300000;
5366 MY(alpha_max) = 256;
5367 MY(alpha_fade) = 200;
5368 MY(bounce) = 1.500000;
5369 MY(color_min) = "0x8f0d00";
5370 MY(color_max) = "0xff5a00";
5371 MY(count) = 0.500000;
5372 MY(gravity) = -0.060000;
5373 MY(sizeincrease) = 10;
5378 MY(trailspacing) = 4;
5380 MY(velocityjitter) = '30.0 30.0 30.0';
5384 MY(airfriction) = 0.300000;
5386 MY(alpha_max) = 256;
5387 MY(alpha_fade) = 200;
5388 MY(bounce) = 1.500000;
5389 MY(color_min) = "0x8f0d00";
5390 MY(color_max) = "0xff5a00";
5391 MY(count) = 0.500000;
5392 MY(gravity) = -0.060000;
5393 MY(sizeincrease) = -10;
5398 MY(trailspacing) = 4;
5400 MY(velocityjitter) = '10.0 10.0 10.0';
5404 MY(airfriction) = 1;
5405 MY(alpha_min) = 256;
5406 MY(alpha_max) = 256;
5407 MY(alpha_fade) = 90;
5408 MY(color_min) = "0x000000";
5409 MY(color_max) = "0x111111";
5410 MY(count) = 0.500000;
5411 MY(originjitter) = '10.0 10.0 10.0';
5412 MY(sizeincrease) = 7;
5416 MY(trailspacing) = 8;
5417 MY(type) = "alphastatic";
5418 MY(velocityoffset) = '0.0 0.0 10.0';
5422 MY(airfriction) = 1.200000;
5424 MY(alpha_max) = 256;
5425 MY(alpha_fade) = 1600;
5426 MY(bounce) = 1.500000;
5427 MY(color_min) = "0x8f0d00";
5428 MY(color_max) = "0xff5a00";
5429 MY(count) = 0.500000;
5434 MY(trailspacing) = 1;
5439 MY(lightcolor) = '2.7 2.7 0.6';
5440 MY(lightradiusfade) = 3000;
5441 MY(lightradius) = 300;
5442 MY(trailspacing) = 16;
5445 DEF(fireball_laser);
5446 SUB(fireball_laser) {
5447 MY(alpha_min) = 192;
5448 MY(alpha_max) = 256;
5449 MY(alpha_fade) = 2560;
5450 MY(color_min) = "0x800000";
5451 MY(color_max) = "0xFF8020";
5455 MY(stretchfactor) = 0.700000;
5457 MY(velocityjitter) = '1.0 1.0 1.0';
5458 MY(velocitymultiplier) = 10;
5461 // rocket explosion (bigger than mortar and hagar)
5462 DEF(fireball_explode);
5464 SUB(fireball_explode) {
5465 MY(alpha_min) = 256;
5466 MY(alpha_max) = 256;
5467 MY(countabsolute) = 1;
5468 MY(lightcolor) = '4.0 2.0 0.5';
5469 MY(lightradiusfade) = 500;
5470 MY(lightradius) = 500;
5471 MY(originjitter) = '56.0 56.0 56.0';
5479 SUB(fireball_explode) {
5480 MY(alpha_min) = 192;
5481 MY(alpha_max) = 192;
5482 MY(alpha_fade) = 64;
5483 MY(color_min) = "0x404040";
5484 MY(color_max) = "0x404040";
5485 MY(countabsolute) = 1;
5490 MY(type) = "static";
5493 SUB(fireball_explode) {
5494 MY(airfriction) = 4;
5495 MY(alpha_min) = 128;
5496 MY(alpha_max) = 128;
5497 MY(alpha_fade) = 256;
5498 MY(bounce) = 1.500000;
5499 MY(color_min) = "0x902010";
5500 MY(color_max) = "0xFFD080";
5502 MY(liquidfriction) = 4;
5503 MY(notunderwater) = true;
5504 MY(originjitter) = '8.0 8.0 8.0';
5509 MY(type) = "static";
5510 MY(velocityjitter) = '512.0 512.0 512.0';
5512 // underwater bubbles
5513 SUB(fireball_explode) {
5514 MY(alpha_min) = 128;
5515 MY(alpha_max) = 256;
5516 MY(alpha_fade) = 64;
5517 MY(bounce) = 1.500000;
5518 MY(color_min) = "0x404040";
5519 MY(color_max) = "0x808080";
5521 MY(gravity) = -0.125000;
5522 MY(liquidfriction) = 0.250000;
5523 MY(originjitter) = '16.0 16.0 16.0';
5528 MY(type) = "bubble";
5529 MY(underwater) = true;
5530 MY(velocityjitter) = '144.0 144.0 144.0';
5533 SUB(fireball_explode) {
5534 MY(airfriction) = 0.200000;
5535 MY(alpha_min) = 256;
5536 MY(alpha_max) = 256;
5537 MY(alpha_fade) = 384;
5538 MY(bounce) = 1.500000;
5539 MY(color_min) = "0x903010";
5540 MY(color_max) = "0xFFD030";
5543 MY(liquidfriction) = 0.800000;
5544 MY(notunderwater) = true;
5548 MY(velocityjitter) = '384.0 384.0 384.0';
5549 MY(velocityoffset) = '0.0 0.0 80.0';
5552 DEF(fireball_muzzleflash);
5553 SUB(fireball_muzzleflash) {
5554 MY(alpha_min) = 256;
5555 MY(alpha_max) = 256;
5556 MY(alpha_fade) = 512;
5557 MY(color_min) = "0x202020";
5558 MY(color_max) = "0x404040";
5560 MY(lightcolor) = '2.0 1.5 0.2';
5561 MY(lightradiusfade) = 2000;
5562 MY(lightradius) = 200;
5563 MY(originjitter) = '1.5 1.5 1.5';
5568 MY(velocityjitter) = '6.0 6.0 6.0';
5569 MY(velocitymultiplier) = 0.010000;
5571 SUB(fireball_muzzleflash) {
5572 MY(airfriction) = 12;
5573 MY(alpha_max) = 128;
5574 MY(alpha_fade) = 1024;
5575 MY(color_min) = "0xFFFDD9";
5576 MY(color_max) = "0xFFFDD9";
5578 MY(originjitter) = '1.0 1.0 1.0';
5584 MY(velocityjitter) = '300.0 300.0 300.0';
5585 MY(velocitymultiplier) = 0.500000;
5588 DEF(fireball_preattack_muzzleflash);
5589 SUB(fireball_preattack_muzzleflash) {
5590 MY(alpha_min) = 256;
5591 MY(alpha_max) = 256;
5592 MY(alpha_fade) = 512;
5593 MY(color_min) = "0x202020";
5594 MY(color_max) = "0x404040";
5596 MY(lightcolor) = '2.0 1.5 0.2';
5597 MY(lightradiusfade) = 2000;
5598 MY(lightradius) = 200;
5599 MY(originjitter) = '1.5 1.5 1.5';
5604 MY(velocityjitter) = '6.0 6.0 6.0';
5605 MY(velocitymultiplier) = 0.010000;
5607 SUB(fireball_preattack_muzzleflash) {
5608 MY(airfriction) = 12;
5609 MY(alpha_max) = 128;
5610 MY(alpha_fade) = 1024;
5611 MY(color_min) = "0xFFFDD9";
5612 MY(color_max) = "0xFFFDD9";
5614 MY(originjitter) = '1.0 1.0 1.0';
5620 MY(velocityjitter) = '300.0 300.0 300.0';
5621 MY(velocitymultiplier) = 0.500000;
5624 DEF(fireball_bfgdamage);
5625 SUB(fireball_bfgdamage) {
5626 MY(alpha_min) = 256;
5627 MY(alpha_max) = 256;
5628 MY(alpha_fade) = 512;
5629 MY(color_min) = "0x202020";
5630 MY(color_max) = "0x404040";
5632 MY(lightcolor) = '2.0 1.5 0.2';
5633 MY(lightradiusfade) = 2000;
5634 MY(lightradius) = 200;
5635 MY(originjitter) = '1.5 1.5 1.5';
5640 MY(velocityjitter) = '6.0 6.0 6.0';
5641 MY(velocitymultiplier) = 0.010000;
5643 SUB(fireball_bfgdamage) {
5644 MY(airfriction) = 12;
5645 MY(alpha_max) = 128;
5646 MY(alpha_fade) = 1024;
5647 MY(color_min) = "0xFFFDD9";
5648 MY(color_max) = "0xFFFDD9";
5650 MY(originjitter) = '1.0 1.0 1.0';
5656 MY(velocityjitter) = '300.0 300.0 300.0';
5657 MY(velocitymultiplier) = 0.500000;
5663 MY(alpha_min) = 200;
5664 MY(alpha_max) = 356;
5665 MY(alpha_fade) = 512;
5667 MY(color_min) = "0x8f0d00";
5668 MY(color_max) = "0xff5a00";
5670 MY(gravity) = -0.500000;
5671 MY(originjitter) = '12.0 12.0 34.0';
5672 MY(originoffset) = '0.0 0.0 10.0';
5673 MY(sizeincrease) = -1;
5679 MY(velocityjitter) = '22.0 22.0 50.0';
5683 MY(alpha_min) = 200;
5684 MY(alpha_max) = 256;
5685 MY(alpha_fade) = 200;
5687 MY(color_min) = "0x000000";
5688 MY(color_max) = "0x111111";
5690 MY(gravity) = -0.300000;
5691 MY(originjitter) = '12.0 12.0 34.0';
5692 MY(originoffset) = '0.0 0.0 10.0';
5693 MY(sizeincrease) = 6;
5697 MY(type) = "alphastatic";
5698 MY(velocityjitter) = '11.0 11.0 50.0';
5701 MY(count) = 0.500000;
5702 MY(lightcolor) = '0.9 0.9 0.2';
5703 MY(lightradiusfade) = 10000;
5704 MY(lightradius) = 200;
5707 // rifle bullet trail (somewhat like a tracer)
5710 MY(alpha_min) = 256;
5711 MY(alpha_max) = 256;
5712 MY(alpha_fade) = 2560;
5713 MY(color_min) = "0x800000";
5714 MY(color_max) = "0xFF8020";
5715 MY(size_min) = 1.500000;
5716 MY(size_max) = 1.500000;
5717 MY(stretchfactor) = 1;
5718 MY(trailspacing) = 128;
5720 MY(velocitymultiplier) = 0.700000;
5723 MY(airfriction) = -4;
5724 MY(alpha_min) = 256;
5725 MY(alpha_max) = 256;
5726 MY(alpha_fade) = 256;
5727 MY(color_min) = "0x202020";
5728 MY(color_max) = "0x404040";
5729 MY(notunderwater) = true;
5730 MY(sizeincrease) = 0.400000;
5734 MY(trailspacing) = 8;
5736 MY(velocityjitter) = '4.0 4.0 4.0';
5739 MY(alpha_min) = 256;
5740 MY(alpha_max) = 256;
5741 MY(alpha_fade) = 128;
5742 MY(bounce) = 1.500000;
5743 MY(color_min) = "0x404040";
5744 MY(color_max) = "0x808080";
5745 MY(gravity) = -0.125000;
5746 MY(liquidfriction) = 4;
5751 MY(trailspacing) = 32;
5752 MY(type) = "bubble";
5753 MY(underwater) = true;
5754 MY(velocityjitter) = '16.0 16.0 16.0';
5757 // rocket guiding start
5759 // underwater bubbles
5761 MY(alpha_min) = 128;
5762 MY(alpha_max) = 256;
5763 MY(alpha_fade) = 64;
5764 MY(bounce) = 1.500000;
5765 MY(color_min) = "0x404040";
5766 MY(color_max) = "0x808080";
5768 MY(gravity) = -0.125000;
5769 MY(liquidfriction) = 0.250000;
5770 MY(originjitter) = '8.0 8.0 8.0';
5771 MY(size_min) = 1.500000;
5772 MY(size_max) = 1.500000;
5775 MY(type) = "bubble";
5776 MY(underwater) = true;
5777 MY(velocityjitter) = '48.0 48.0 48.0';
5778 MY(velocitymultiplier) = -0.100000;
5782 MY(airfriction) = 0.200000;
5783 MY(alpha_min) = 256;
5784 MY(alpha_max) = 256;
5785 MY(alpha_fade) = 984;
5786 MY(bounce) = 1.500000;
5787 MY(color_min) = "0x903010";
5788 MY(color_max) = "0xFFD030";
5791 MY(liquidfriction) = 0.800000;
5792 MY(notunderwater) = true;
5793 MY(size_min) = 0.300000;
5794 MY(size_max) = 0.700000;
5795 MY(stretchfactor) = 0.400000;
5799 MY(velocityjitter) = '156.0 156.0 156.0';
5800 MY(velocitymultiplier) = -0.300000;
5801 MY(velocityoffset) = '0.0 0.0 80.0';
5804 MY(alpha_min) = 100;
5805 MY(alpha_max) = 100;
5806 MY(alpha_fade) = 500;
5807 MY(color_min) = "0x903010";
5808 MY(color_max) = "0xFFD030";
5809 MY(countabsolute) = 1;
5810 MY(sizeincrease) = 300;
5819 DEF(laser_gauntlet);
5820 SUB(laser_gauntlet) {
5821 MY(airfriction) = 10;
5822 MY(alpha_min) = 128;
5823 MY(alpha_max) = 512;
5824 MY(alpha_fade) = 6280;
5825 MY(color_min) = "0xb44215";
5826 MY(color_max) = "0x880000";
5828 MY(originjitter) = '2.0 2.0 2.0';
5829 MY(startangle_min) = -180;
5830 MY(startangle_max) = 180;
5831 MY(spin_min) = 4000;
5832 MY(spin_max) = -4000;
5833 MY(sizeincrease) = -100;
5836 MY(stretchfactor) = 2.300000;
5840 MY(velocityjitter) = '150.0 150.0 150.0';
5841 MY(velocitymultiplier) = 0.200000;
5843 SUB(laser_gauntlet) {
5844 MY(airfriction) = 12;
5845 MY(alpha_min) = 256;
5846 MY(alpha_max) = 512;
5847 MY(alpha_fade) = 6280;
5848 MY(color_min) = "0xff4200";
5849 MY(color_max) = "0xff0000";
5851 MY(originjitter) = '2.0 2.0 2.0';
5852 MY(sizeincrease) = -100;
5855 MY(stretchfactor) = 2;
5859 MY(velocityjitter) = '100.0 100.0 100.0';
5860 MY(velocitymultiplier) = 0.200000;
5863 DEF(laser_gauntletmuzzleflash);
5865 SUB(laser_gauntletmuzzleflash) {
5866 MY(airfriction) = 10;
5867 MY(alpha_min) = 256;
5868 MY(alpha_max) = 512;
5869 MY(alpha_fade) = 6280;
5870 MY(color_min) = "0x220000";
5871 MY(color_max) = "0x880000";
5872 MY(countabsolute) = 1;
5873 MY(lightcolor) = '3.0 0.1 0.1';
5874 MY(lightradiusfade) = 500;
5875 MY(lightradius) = 150;
5876 MY(sizeincrease) = -100;
5879 MY(stretchfactor) = 2;
5885 SUB(laser_gauntletmuzzleflash) {
5886 MY(airfriction) = 10;
5887 MY(alpha_min) = 128;
5888 MY(alpha_max) = 512;
5889 MY(alpha_fade) = 6280;
5890 MY(color_min) = "0xb44215";
5891 MY(color_max) = "0x880000";
5893 MY(originjitter) = '2.0 2.0 2.0';
5894 MY(startangle_min) = -180;
5895 MY(startangle_max) = 180;
5896 MY(spin_min) = 4000;
5897 MY(spin_max) = -4000;
5898 MY(sizeincrease) = -100;
5901 MY(stretchfactor) = 2.300000;
5905 MY(velocityjitter) = '150.0 150.0 150.0';
5906 MY(velocitymultiplier) = 0.200000;
5909 SUB(laser_gauntletmuzzleflash) {
5910 MY(airfriction) = 12;
5911 MY(alpha_min) = 256;
5912 MY(alpha_max) = 512;
5913 MY(alpha_fade) = 6280;
5914 MY(color_min) = "0xff4200";
5915 MY(color_max) = "0xff0000";
5917 MY(originjitter) = '2.0 2.0 2.0';
5918 MY(sizeincrease) = -100;
5921 MY(stretchfactor) = 2;
5925 MY(velocityjitter) = '100.0 100.0 100.0';
5926 MY(velocitymultiplier) = 0.200000;
5929 // torch flame, spawn it as fast as you can 20 times per second or more, supports direction but not required
5933 MY(airfriction) = 1.200000;
5935 MY(alpha_max) = 256;
5936 MY(alpha_fade) = 250;
5937 MY(color_min) = "0x8f0d00";
5938 MY(color_max) = "0xff5a00";
5940 MY(gravity) = -0.060000;
5941 MY(sizeincrease) = 20;
5947 MY(velocityjitter) = '40.0 40.0 11.0';
5948 MY(velocitymultiplier) = 30;
5952 MY(airfriction) = 1.200000;
5954 MY(alpha_max) = 256;
5955 MY(alpha_fade) = 200;
5956 MY(color_min) = "0x8f0d00";
5957 MY(color_max) = "0xff5a00";
5958 MY(count) = 2.500000;
5959 MY(gravity) = -0.060000;
5960 MY(sizeincrease) = 20;
5966 MY(velocityjitter) = '40.0 40.0 40.0';
5967 MY(velocitymultiplier) = 20;
5969 // very slow and small fire
5971 MY(airfriction) = 0.300000;
5973 MY(alpha_max) = 256;
5974 MY(alpha_fade) = 200;
5975 MY(color_min) = "0x8f0d00";
5976 MY(color_max) = "0xff5a00";
5977 MY(count) = 1.500000;
5978 MY(gravity) = -0.060000;
5979 MY(sizeincrease) = 10;
5985 MY(velocityjitter) = '30.0 30.0 30.0';
5986 MY(velocitymultiplier) = 10;
5990 MY(airfriction) = 0.300000;
5992 MY(alpha_max) = 256;
5993 MY(alpha_fade) = 200;
5994 MY(color_min) = "0x8f0d00";
5995 MY(color_max) = "0xff5a00";
5997 MY(gravity) = -0.060000;
5998 MY(sizeincrease) = -10;
6004 MY(velocityjitter) = '10.0 10.0 10.0';
6005 MY(velocitymultiplier) = 15;
6009 MY(airfriction) = 1;
6010 MY(alpha_min) = 256;
6011 MY(alpha_max) = 256;
6012 MY(alpha_fade) = 90;
6013 MY(color_min) = "0x000000";
6014 MY(color_max) = "0x111111";
6015 MY(count) = 0.500000;
6016 MY(originjitter) = '10.0 10.0 10.0';
6017 MY(sizeincrease) = 7;
6021 MY(type) = "alphastatic";
6022 MY(velocitymultiplier) = 20;
6023 MY(velocityoffset) = '0.0 0.0 10.0';
6026 #include "effectinfo_gentle_happy.inc"
6028 DEF(electro_lightning);
6029 SUB(electro_lightning) {
6030 MY(alpha_min) = 256;
6031 MY(alpha_max) = 256;
6032 MY(countabsolute) = 1;
6033 MY(lightcolor) = '3.1 4.4 10.0';
6034 MY(lightradiusfade) = 500;
6035 MY(lightradius) = 50;
6036 MY(originjitter) = '2.0 2.0 2.0';
6043 SUB(electro_lightning) {
6044 MY(alpha_min) = 100;
6045 MY(alpha_max) = 206;
6046 MY(alpha_fade) = 1724;
6047 MY(color_min) = "0x2030FF";
6048 MY(color_max) = "0x80C0FF";
6050 MY(originjitter) = '1.5 1.5 1.5';
6051 MY(sizeincrease) = 10;
6057 MY(velocityjitter) = '6.0 6.0 6.0';
6058 MY(velocitymultiplier) = 2000;
6060 SUB(electro_lightning) {
6061 MY(airfriction) = 2;
6062 MY(alpha_min) = 110;
6063 MY(alpha_max) = 170;
6064 MY(alpha_fade) = 1500;
6065 MY(color_min) = "0xDDFDFF";
6066 MY(color_max) = "0xFDFDFF";
6068 MY(originjitter) = '1.0 1.0 1.0';
6071 MY(stretchfactor) = 1.500000;
6075 MY(velocityjitter) = '150.0 150.0 150.0';
6076 MY(velocitymultiplier) = 0.500000;
6078 SUB(electro_lightning) {
6079 MY(airfriction) = 8;
6080 MY(alpha_min) = 110;
6081 MY(alpha_max) = 170;
6082 MY(alpha_fade) = 1500;
6083 MY(color_min) = "0xFDFDFF";
6084 MY(color_max) = "0xF9FDFF";
6086 MY(gravity) = 1.300000;
6087 MY(originjitter) = '1.0 1.0 1.0';
6090 MY(stretchfactor) = 0.100000;
6094 MY(velocityjitter) = '350.0 350.0 350.0';
6095 MY(velocitymultiplier) = 2.500000;
6098 DEF(gauntlet_lightning);
6099 SUB(gauntlet_lightning) {
6100 MY(alpha_min) = 256;
6101 MY(alpha_max) = 256;
6102 MY(alpha_fade) = 1024;
6103 MY(color_min) = "0x280000";
6104 MY(color_max) = "0x280000";
6106 MY(originjitter) = '1.5 1.5 1.5';
6107 MY(sizeincrease) = 15;
6113 MY(velocityjitter) = '6.0 6.0 6.0';
6114 MY(velocitymultiplier) = 2000;
6116 SUB(gauntlet_lightning) {
6117 MY(airfriction) = 2;
6118 MY(alpha_min) = 110;
6119 MY(alpha_max) = 228;
6120 MY(alpha_fade) = 1024;
6121 MY(color_min) = "0xDD0000";
6122 MY(color_max) = "0xFD0000";
6124 MY(originjitter) = '1.0 1.0 1.0';
6127 MY(stretchfactor) = 1.500000;
6131 MY(velocityjitter) = '150.0 150.0 150.0';
6132 MY(velocitymultiplier) = 0.500000;
6134 SUB(gauntlet_lightning) {
6135 MY(airfriction) = 8;
6136 MY(alpha_min) = 110;
6137 MY(alpha_max) = 228;
6138 MY(alpha_fade) = 600;
6139 MY(color_min) = "0xFD0000";
6140 MY(color_max) = "0xF90000";
6142 MY(gravity) = 1.300000;
6143 MY(originjitter) = '1.0 1.0 1.0';
6146 MY(stretchfactor) = 0.100000;
6150 MY(velocityjitter) = '350.0 350.0 350.0';
6151 MY(velocitymultiplier) = 2.500000;
6154 DEF(crylink_joinexplode);
6156 SUB(crylink_joinexplode) {
6157 MY(alpha_min) = 256;
6158 MY(alpha_max) = 256;
6159 MY(countabsolute) = 1;
6160 MY(originjitter) = '12.0 12.0 12.0';
6167 // purple flare effect
6168 SUB(crylink_joinexplode) {
6169 MY(alpha_min) = 256;
6170 MY(alpha_max) = 256;
6171 MY(alpha_fade) = 512;
6172 MY(color_min) = "0x504060";
6173 MY(color_max) = "0x504060";
6174 MY(countabsolute) = 1;
6179 MY(type) = "static";
6182 SUB(crylink_joinexplode) {
6183 MY(alpha_min) = 256;
6184 MY(alpha_max) = 256;
6185 MY(alpha_fade) = 1024;
6187 MY(color_min) = "0xA040C0";
6188 MY(color_max) = "0xA040C0";
6195 MY(velocityjitter) = '512.0 512.0 512.0';
6198 SUB(crylink_joinexplode) {
6199 MY(alpha_min) = 256;
6200 MY(alpha_max) = 256;
6201 MY(alpha_fade) = 512;
6202 MY(color_min) = "0xE070FF";
6203 MY(color_max) = "0xE070FF";
6204 MY(count) = 1.500000;
6207 MY(type) = "static";
6208 MY(velocityjitter) = '32.0 32.0 32.0';
6211 SUB(crylink_joinexplode) {
6212 MY(alpha_min) = 256;
6213 MY(alpha_max) = 256;
6214 MY(alpha_fade) = 1024;
6215 MY(color_min) = "0xE070FF";
6216 MY(color_max) = "0xE070FF";
6220 MY(type) = "static";
6221 MY(velocityjitter) = '256.0 256.0 256.0';
6224 // sparks for keepaway ball touch
6226 SUB(kaball_sparks) {
6227 MY(airfriction) = 3;
6228 MY(alpha_max) = 256;
6229 MY(alpha_fade) = 556;
6230 MY(bounce) = 1.500000;
6231 MY(color_min) = "0xa9cacf";
6232 MY(color_max) = "0x0054ff";
6235 MY(originjitter) = '1.0 1.0 1.0';
6241 MY(velocityjitter) = '300.0 300.0 300.0';
6242 MY(velocitymultiplier) = 0.500000;
6245 // weak rifle bullet trail (somewhat like a tracer)
6247 SUB(tr_rifle_weak) {
6248 MY(alpha_min) = 256;
6249 MY(alpha_max) = 256;
6250 MY(alpha_fade) = 2560;
6251 MY(color_min) = "0x800000";
6252 MY(color_max) = "0xFF8020";
6253 MY(size_min) = 1.500000;
6254 MY(size_max) = 1.500000;
6255 MY(stretchfactor) = 1;
6256 MY(trailspacing) = 128;
6258 MY(velocitymultiplier) = 0.700000;
6260 SUB(tr_rifle_weak) {
6261 MY(airfriction) = -4;
6262 MY(alpha_min) = 256;
6263 MY(alpha_max) = 256;
6264 MY(alpha_fade) = 256;
6265 MY(color_min) = "0x202020";
6266 MY(color_max) = "0x404040";
6267 MY(notunderwater) = true;
6268 MY(sizeincrease) = 0.400000;
6272 MY(trailspacing) = 48;
6274 MY(velocityjitter) = '4.0 4.0 4.0';
6276 SUB(tr_rifle_weak) {
6277 MY(alpha_min) = 256;
6278 MY(alpha_max) = 256;
6279 MY(alpha_fade) = 128;
6280 MY(bounce) = 1.500000;
6281 MY(color_min) = "0x404040";
6282 MY(color_max) = "0x808080";
6283 MY(gravity) = -0.125000;
6284 MY(liquidfriction) = 4;
6289 MY(trailspacing) = 192;
6290 MY(type) = "bubble";
6291 MY(underwater) = true;
6292 MY(velocityjitter) = '16.0 16.0 16.0';
6298 MY(airfriction) = -1;
6301 MY(alpha_fade) = 32;
6302 MY(color_min) = "0xff8866";
6303 MY(color_max) = "0x331100";
6305 MY(gravity) = -0.007000;
6306 MY(startangle_max) = 360;
6313 MY(velocitymultiplier) = 5;
6316 // pipe smoke emiter
6319 MY(airfriction) = -1;
6322 MY(alpha_fade) = 48;
6323 MY(color_min) = "0x999999";
6324 MY(color_max) = "0x555555";
6326 MY(gravity) = -0.015000;
6327 MY(startangle_max) = 360;
6328 MY(spin_min) = -180;
6330 MY(sizeincrease) = 35;
6335 MY(velocityjitter) = '0.0 0.0 5.0';
6336 MY(velocitymultiplier) = 15;
6339 // seeker missile trail
6342 MY(alpha_min) = 200;
6343 MY(alpha_max) = 300;
6344 MY(alpha_fade) = 200;
6346 MY(color_min) = "0x000000";
6347 MY(color_max) = "0x666666";
6348 MY(lightcolor) = '6.0 3.0 1.0';
6349 MY(lightradius) = 100;
6350 MY(notunderwater) = true;
6351 MY(originjitter) = '2.0 2.0 2.0';
6352 MY(startangle_min) = -180;
6353 MY(startangle_max) = 180;
6356 MY(sizeincrease) = 11;
6360 MY(trailspacing) = 10;
6362 MY(velocityjitter) = '3.0 3.0 3.0';
6363 MY(velocitymultiplier) = -0.020000;
6367 MY(airfriction) = 8;
6368 MY(alpha_min) = 100;
6369 MY(alpha_max) = 144;
6370 MY(alpha_fade) = 588;
6371 MY(color_min) = "0xffdf72";
6372 MY(color_max) = "0x811200";
6373 MY(sizeincrease) = -30;
6378 MY(trailspacing) = 4;
6379 MY(type) = "static";
6380 MY(velocityjitter) = '32.0 32.0 32.0';
6381 MY(velocitymultiplier) = -1.500000;
6385 MY(alpha_min) = 256;
6386 MY(alpha_max) = 256;
6387 MY(alpha_fade) = 256;
6388 MY(bounce) = 1.500000;
6389 MY(gravity) = -0.125000;
6390 MY(liquidfriction) = 4;
6395 MY(trailspacing) = 16;
6396 MY(type) = "bubble";
6397 MY(underwater) = true;
6398 MY(velocityjitter) = '16.0 16.0 16.0';
6399 MY(velocitymultiplier) = -0.310000;
6403 MY(airfriction) = 5;
6404 MY(alpha_min) = 444;
6405 MY(alpha_max) = 512;
6406 MY(alpha_fade) = 1866;
6408 MY(color_min) = "0xFFFDD9";
6409 MY(color_max) = "0xFFFDD9";
6410 MY(notunderwater) = true;
6411 MY(originjitter) = '1.0 1.0 1.0';
6412 MY(size_min) = 0.500000;
6413 MY(size_max) = 0.500000;
6414 MY(stretchfactor) = 0.300000;
6417 MY(trailspacing) = 20;
6419 MY(velocityjitter) = '100.0 100.0 100.0';
6420 MY(velocitymultiplier) = -0.310000;
6423 #include "effectinfo_vehicles.inc"
6425 // generic explosion size:big (biggest explosion ever)
6428 SUB(explosion_big) {
6429 MY(alpha_min) = 256;
6430 MY(alpha_max) = 256;
6431 MY(countabsolute) = 1;
6432 MY(lightcolor) = '8.0 4.0 0.0';
6433 MY(lightradiusfade) = 1750;
6434 MY(lightradius) = 600;
6435 MY(originjitter) = '23.0 23.0 23.0';
6443 SUB(explosion_big) {
6446 MY(alpha_fade) = 330;
6447 MY(color_min) = "0x8f0d00";
6448 MY(color_max) = "0xff5a00";
6449 MY(countabsolute) = 1;
6450 MY(sizeincrease) = 4400;
6455 MY(type) = "static";
6458 SUB(explosion_big) {
6459 MY(airfriction) = 8;
6460 MY(alpha_min) = 200;
6461 MY(alpha_max) = 256;
6462 MY(alpha_fade) = 712;
6463 MY(color_min) = "0x8f0d00";
6464 MY(color_max) = "0xff5a00";
6466 MY(liquidfriction) = 8;
6467 MY(notunderwater) = true;
6468 MY(originjitter) = '80.0 80.0 80.0';
6469 MY(sizeincrease) = 45;
6474 MY(type) = "static";
6475 MY(velocityjitter) = '2512.0 2512.0 2512.0';
6478 SUB(explosion_big) {
6479 MY(airfriction) = -5;
6480 MY(alpha_min) = 200;
6481 MY(alpha_max) = 256;
6482 MY(alpha_fade) = 800;
6483 MY(color_min) = "0x8f0d00";
6484 MY(color_max) = "0xff5a00";
6486 MY(liquidfriction) = 8;
6487 MY(notunderwater) = true;
6488 MY(originjitter) = '40.0 40.0 40.0';
6489 MY(sizeincrease) = 45;
6492 MY(stretchfactor) = 10;
6496 MY(velocityjitter) = '512.0 512.0 512.0';
6499 SUB(explosion_big) {
6500 MY(airfriction) = 8;
6501 MY(alpha_min) = 300;
6502 MY(alpha_max) = 650;
6503 MY(alpha_fade) = 456;
6504 MY(color_min) = "0x4F4B46";
6505 MY(color_max) = "0x000000";
6507 MY(notunderwater) = true;
6508 MY(sizeincrease) = 244;
6512 MY(type) = "alphastatic";
6513 MY(velocityjitter) = '3444.0 3444.0 3444.0';
6516 SUB(explosion_big) {
6517 MY(airfriction) = 1;
6518 MY(alpha_min) = 644;
6519 MY(alpha_max) = 956;
6520 MY(alpha_fade) = 1284;
6521 MY(color_min) = "0xffa35b";
6522 MY(color_max) = "0xfff2be";
6525 MY(liquidfriction) = 0.800000;
6526 MY(notunderwater) = true;
6527 MY(originjitter) = '160.0 160.0 160.0';
6530 MY(stretchfactor) = 0.700000;
6534 MY(velocityjitter) = '924.0 924.0 924.0';
6535 MY(velocityoffset) = '0.0 0.0 370.0';
6538 SUB(explosion_big) {
6539 MY(airfriction) = 0.500000;
6540 MY(alpha_min) = 444;
6541 MY(alpha_max) = 1356;
6542 MY(alpha_fade) = 1184;
6543 MY(color_min) = "0xFFFFFF";
6544 MY(color_max) = "0xcac5b4";
6546 MY(gravity) = 2.300000;
6547 MY(notunderwater) = true;
6548 MY(startangle_min) = -180;
6549 MY(startangle_max) = 180;
6550 MY(spin_min) = -1000;
6551 MY(spin_max) = 1000;
6552 MY(sizeincrease) = -5;
6557 MY(type) = "alphastatic";
6558 MY(velocityjitter) = '1800.0 1800.0 1800.0';
6559 MY(velocityoffset) = '0.0 0.0 970.0';
6561 // underwater bubbles
6562 SUB(explosion_big) {
6563 MY(alpha_min) = 128;
6564 MY(alpha_max) = 256;
6565 MY(alpha_fade) = 64;
6566 MY(bounce) = 1.500000;
6567 MY(color_min) = "0x404040";
6568 MY(color_max) = "0x808080";
6570 MY(gravity) = -0.125000;
6571 MY(liquidfriction) = 0.250000;
6572 MY(originjitter) = '160.0 160.0 160.0';
6577 MY(type) = "bubble";
6578 MY(underwater) = true;
6579 MY(velocityjitter) = '444.0 444.0 444.0';
6581 // underwatershockwave
6582 SUB(explosion_big) {
6585 MY(alpha_fade) = 300;
6586 MY(countabsolute) = 1;
6587 MY(sizeincrease) = 2900;
6593 MY(underwater) = true;
6594 MY(velocitymultiplier) = 0.300000;
6597 // generic explosion size:medium (it leaves rising smoke for a longer time)
6598 DEF(explosion_medium);
6600 SUB(explosion_medium) {
6603 MY(alpha_fade) = 330;
6604 MY(color_min) = "0x8f0d00";
6605 MY(color_max) = "0xff5a00";
6606 MY(countabsolute) = 1;
6607 MY(sizeincrease) = 2400;
6612 MY(type) = "static";
6615 SUB(explosion_medium) {
6616 MY(airfriction) = 8;
6617 MY(alpha_min) = 200;
6618 MY(alpha_max) = 256;
6619 MY(alpha_fade) = 712;
6620 MY(color_min) = "0x8f0d00";
6621 MY(color_max) = "0xff5a00";
6623 MY(liquidfriction) = 8;
6624 MY(notunderwater) = true;
6625 MY(originjitter) = '30.0 30.0 30.0';
6626 MY(startangle_min) = -180;
6627 MY(startangle_max) = 180;
6628 MY(spin_min) = -500;
6630 MY(sizeincrease) = 45;
6635 MY(type) = "static";
6636 MY(velocityjitter) = '1512.0 1512.0 1512.0';
6639 SUB(explosion_medium) {
6640 MY(airfriction) = 8;
6641 MY(alpha_min) = 200;
6642 MY(alpha_max) = 256;
6643 MY(alpha_fade) = 612;
6644 MY(color_min) = "0x8f0d00";
6645 MY(color_max) = "0xff5a00";
6648 MY(liquidfriction) = 8;
6649 MY(notunderwater) = true;
6650 MY(originjitter) = '30.0 30.0 30.0';
6651 MY(startangle_min) = -180;
6652 MY(startangle_max) = 180;
6653 MY(spin_min) = -150;
6655 MY(sizeincrease) = 40;
6660 MY(type) = "static";
6661 MY(velocityjitter) = '1512.0 1512.0 1512.0';
6664 SUB(explosion_medium) {
6665 MY(airfriction) = -3;
6666 MY(alpha_min) = 200;
6667 MY(alpha_max) = 256;
6668 MY(alpha_fade) = 800;
6669 MY(color_min) = "0x8f0d00";
6670 MY(color_max) = "0xff5a00";
6672 MY(liquidfriction) = 8;
6673 MY(notunderwater) = true;
6674 MY(originjitter) = '40.0 40.0 40.0';
6675 MY(sizeincrease) = 40;
6678 MY(stretchfactor) = 8;
6682 MY(velocityjitter) = '512.0 512.0 512.0';
6685 SUB(explosion_medium) {
6686 MY(airfriction) = 3;
6687 MY(alpha_min) = 300;
6688 MY(alpha_max) = 650;
6689 MY(alpha_fade) = 756;
6690 MY(color_min) = "0x4F4B46";
6691 MY(color_max) = "0x000000";
6693 MY(notunderwater) = true;
6694 MY(originjitter) = '100.0 100.0 100.0';
6695 MY(startangle_min) = -180;
6696 MY(startangle_max) = 180;
6699 MY(sizeincrease) = -30;
6703 MY(type) = "alphastatic";
6704 MY(velocityjitter) = '200.0 200.0 200.0';
6707 SUB(explosion_medium) {
6708 MY(airfriction) = 3;
6709 MY(alpha_min) = 300;
6710 MY(alpha_max) = 650;
6711 MY(alpha_fade) = 256;
6712 MY(color_min) = "0x4F4B46";
6713 MY(color_max) = "0x000000";
6715 MY(gravity) = -0.300000;
6716 MY(notunderwater) = true;
6717 MY(originjitter) = '100.0 100.0 100.0';
6718 MY(startangle_min) = -180;
6719 MY(startangle_max) = 180;
6722 MY(sizeincrease) = 50;
6726 MY(type) = "alphastatic";
6727 MY(velocityjitter) = '500.0 500.0 500.0';
6728 MY(velocityoffset) = '0.0 0.0 200.0';
6731 SUB(explosion_medium) {
6732 MY(alpha_min) = 140;
6733 MY(alpha_max) = 255;
6734 MY(alpha_fade) = 350;
6735 MY(color_min) = "0x4F4B46";
6736 MY(color_max) = "0x000000";
6738 MY(notunderwater) = true;
6739 MY(originjitter) = '40.0 40.0 40.0';
6740 MY(sizeincrease) = 100;
6743 MY(stretchfactor) = 50;
6746 MY(velocityjitter) = '250.0 250.0 250.0';
6749 SUB(explosion_medium) {
6750 MY(airfriction) = 1;
6751 MY(alpha_min) = 644;
6752 MY(alpha_max) = 956;
6753 MY(alpha_fade) = 984;
6754 MY(color_min) = "0xffa35b";
6755 MY(color_max) = "0xfff2be";
6758 MY(liquidfriction) = 0.800000;
6759 MY(notunderwater) = true;
6760 MY(originjitter) = '100.0 100.0 100.0';
6763 MY(stretchfactor) = 0.700000;
6767 MY(velocityjitter) = '624.0 624.0 624.0';
6768 MY(velocityoffset) = '0.0 0.0 370.0';
6770 // underwater bubbles
6771 SUB(explosion_medium) {
6772 MY(alpha_min) = 128;
6773 MY(alpha_max) = 256;
6774 MY(alpha_fade) = 64;
6775 MY(bounce) = 1.500000;
6776 MY(color_min) = "0x404040";
6777 MY(color_max) = "0x808080";
6779 MY(gravity) = -0.125000;
6780 MY(liquidfriction) = 0.250000;
6781 MY(originjitter) = '160.0 160.0 160.0';
6786 MY(type) = "bubble";
6787 MY(underwater) = true;
6788 MY(velocityjitter) = '444.0 444.0 444.0';
6790 // underwatershockwave
6791 SUB(explosion_medium) {
6794 MY(alpha_fade) = 300;
6795 MY(countabsolute) = 1;
6796 MY(sizeincrease) = 2900;
6802 MY(underwater) = true;
6803 MY(velocitymultiplier) = 0.300000;
6806 // generic explosion size:small (its fire only, made to support other explosions)
6807 DEF(explosion_small);
6809 SUB(explosion_small) {
6812 MY(alpha_fade) = 330;
6813 MY(color_min) = "0x8f0d00";
6814 MY(color_max) = "0xff5a00";
6815 MY(countabsolute) = 1;
6816 MY(sizeincrease) = 2400;
6821 MY(type) = "static";
6824 SUB(explosion_small) {
6825 MY(airfriction) = 5;
6826 MY(alpha_min) = 200;
6827 MY(alpha_max) = 256;
6828 MY(alpha_fade) = 1212;
6829 MY(color_min) = "0x8f0d00";
6830 MY(color_max) = "0xff5a00";
6832 MY(liquidfriction) = 8;
6833 MY(notunderwater) = true;
6834 MY(startangle_min) = -180;
6835 MY(startangle_max) = 180;
6836 MY(spin_min) = -500;
6838 MY(sizeincrease) = 45;
6843 MY(type) = "static";
6844 MY(velocityjitter) = '512.0 512.0 512.0';
6847 SUB(explosion_small) {
6848 MY(airfriction) = 8;
6849 MY(alpha_min) = 200;
6850 MY(alpha_max) = 256;
6851 MY(alpha_fade) = 812;
6852 MY(color_min) = "0x8f0d00";
6853 MY(color_max) = "0xff5a00";
6855 MY(liquidfriction) = 8;
6856 MY(notunderwater) = true;
6857 MY(startangle_min) = -180;
6858 MY(startangle_max) = 180;
6859 MY(spin_min) = -150;
6861 MY(sizeincrease) = 40;
6866 MY(type) = "static";
6867 MY(velocityjitter) = '912.0 912.0 912.0';
6870 SUB(explosion_small) {
6871 MY(airfriction) = -3;
6872 MY(alpha_min) = 200;
6873 MY(alpha_max) = 256;
6874 MY(alpha_fade) = 1300;
6875 MY(color_min) = "0x8f0d00";
6876 MY(color_max) = "0xff5a00";
6878 MY(liquidfriction) = 8;
6879 MY(notunderwater) = true;
6880 MY(originjitter) = '40.0 40.0 40.0';
6881 MY(sizeincrease) = 30;
6884 MY(stretchfactor) = 8;
6888 MY(velocityjitter) = '512.0 512.0 512.0';
6890 // underwater bubbles
6891 SUB(explosion_small) {
6892 MY(alpha_min) = 128;
6893 MY(alpha_max) = 256;
6894 MY(alpha_fade) = 64;
6895 MY(bounce) = 1.500000;
6896 MY(color_min) = "0x404040";
6897 MY(color_max) = "0x808080";
6899 MY(gravity) = -0.125000;
6900 MY(liquidfriction) = 0.250000;
6901 MY(originjitter) = '160.0 160.0 160.0';
6906 MY(type) = "bubble";
6907 MY(underwater) = true;
6908 MY(velocityjitter) = '144.0 144.0 144.0';
6910 // underwatershockwave
6911 SUB(explosion_small) {
6914 MY(alpha_fade) = 300;
6915 MY(countabsolute) = 1;
6916 MY(sizeincrease) = 1200;
6922 MY(underwater) = true;
6925 // big smoke ( for spamming on damaged stuff )
6928 MY(airfriction) = 4;
6929 MY(alpha_min) = 200;
6930 MY(alpha_max) = 750;
6931 MY(alpha_fade) = 200;
6932 MY(color_min) = "0x4F4B46";
6933 MY(color_max) = "0x000000";
6935 MY(gravity) = -0.500000;
6936 MY(notunderwater) = true;
6937 MY(originjitter) = '55.0 55.0 55.0';
6938 MY(startangle_min) = -180;
6939 MY(startangle_max) = 180;
6942 MY(sizeincrease) = 15;
6946 MY(type) = "alphastatic";
6947 MY(velocityjitter) = '140.0 140.0 200.0';
6948 MY(velocityoffset) = '0.0 0.0 200.0';
6951 // small smoke ( more precise than big one, for spamming on damaged parts like raptors spinner )
6954 MY(airfriction) = 4;
6955 MY(alpha_min) = 200;
6956 MY(alpha_max) = 750;
6957 MY(alpha_fade) = 200;
6958 MY(color_min) = "0x4F4B46";
6959 MY(color_max) = "0x000000";
6961 MY(gravity) = -0.500000;
6962 MY(notunderwater) = true;
6963 MY(startangle_min) = -180;
6964 MY(startangle_max) = 180;
6967 MY(sizeincrease) = -10;
6971 MY(type) = "alphastatic";
6972 MY(velocityjitter) = '40.0 40.0 400.0';
6973 MY(velocityoffset) = '0.0 0.0 200.0';
6976 // metal impact effect
6981 MY(alpha_fade) = 50;
6982 MY(color_min) = "0x000000";
6983 MY(color_max) = "0x886666";
6985 MY(gravity) = -0.010000;
6986 MY(originjitter) = '20.0 20.0 5.0';
6987 MY(sizeincrease) = 10;
6991 MY(type) = "alphastatic";
6995 MY(airfriction) = 2;
6996 MY(alpha_min) = 255;
6997 MY(alpha_max) = 255;
6998 MY(alpha_fade) = 112;
6999 MY(bounce) = 1.800000;
7000 MY(color_min) = "0xFFCC22";
7001 MY(color_max) = "0xFF4422";
7006 MY(stretchfactor) = 0.500000;
7010 MY(velocityjitter) = '200.0 200.0 300.0';
7011 MY(velocitymultiplier) = 2;
7014 // stone impact effect
7018 MY(alpha_max) = 128;
7019 MY(alpha_fade) = 75;
7020 MY(color_min) = "0x000000";
7021 MY(color_max) = "0xcc9966";
7023 MY(gravity) = -0.010000;
7024 MY(originjitter) = '20.0 20.0 5.0';
7025 MY(sizeincrease) = 15;
7029 MY(type) = "alphastatic";
7033 MY(airfriction) = 0.500000;
7034 MY(alpha_min) = 450;
7035 MY(alpha_max) = 750;
7036 MY(alpha_fade) = 300;
7037 MY(bounce) = 1.200000;
7038 MY(color_min) = "0x000000";
7039 MY(color_max) = "0x886644";
7041 MY(gravity) = 1.300000;
7042 MY(notunderwater) = true;
7043 MY(startangle_min) = -180;
7044 MY(startangle_max) = 180;
7045 MY(spin_min) = -1000;
7046 MY(spin_max) = 1000;
7051 MY(type) = "alphastatic";
7052 MY(velocityjitter) = '124.0 124.0 324.0';
7055 // wood impact effect
7059 MY(alpha_max) = 128;
7060 MY(alpha_fade) = 75;
7061 MY(color_min) = "0x000000";
7062 MY(color_max) = "0xcc9966";
7064 MY(gravity) = -0.010000;
7065 MY(originjitter) = '20.0 20.0 5.0';
7066 MY(sizeincrease) = 10;
7070 MY(type) = "alphastatic";
7074 MY(airfriction) = 2;
7075 MY(alpha_min) = 255;
7076 MY(alpha_max) = 255;
7077 MY(alpha_fade) = 75;
7078 MY(bounce) = 1.500000;
7079 MY(color_min) = "0x221100";
7080 MY(color_max) = "0x221100";
7088 MY(velocityjitter) = '180.0 180.0 260.0';
7089 MY(velocitymultiplier) = 2;
7092 // flesh impact effect
7095 MY(alpha_min) = 100;
7096 MY(alpha_max) = 256;
7097 MY(alpha_fade) = 400;
7098 MY(color_min) = "0x000000";
7099 MY(color_max) = "0x420000";
7100 MY(count) = 0.500000;
7101 MY(originjitter) = '11.0 11.0 11.0';
7105 MY(type) = "alphastatic";
7109 MY(airfriction) = 1;
7110 MY(alpha_min) = 256;
7111 MY(alpha_max) = 256;
7112 MY(alpha_fade) = 64;
7114 MY(color_min) = "0xA8FFFF";
7115 MY(color_max) = "0xA8FFFFF";
7116 MY(count) = 0.300000;
7117 MY(liquidfriction) = 4;
7120 MY(staincolor_min) = "0x808080";
7121 MY(staincolor_max) = "0x808080";
7122 MY(staintex_min) = 16;
7123 MY(staintex_max) = 24;
7127 MY(velocityjitter) = '96.0 96.0 96.0';
7128 MY(velocitymultiplier) = 5;
7135 MY(alpha_min) = 300;
7136 MY(alpha_max) = 400;
7137 MY(alpha_fade) = 780;
7139 MY(color_min) = "0x101010";
7140 MY(color_max) = "0x000000";
7141 MY(originjitter) = '1.0 1.0 1.0';
7142 MY(sizeincrease) = 10;
7146 MY(trailspacing) = 4;
7148 MY(velocityjitter) = '1.0 1.0 1.0';
7149 MY(velocitymultiplier) = -0.020000;
7153 MY(airfriction) = 8;
7154 MY(alpha_min) = 100;
7155 MY(alpha_max) = 144;
7156 MY(alpha_fade) = 988;
7157 MY(color_min) = "0xffdf72";
7158 MY(color_max) = "0x811200";
7159 MY(notunderwater) = true;
7160 MY(sizeincrease) = -15;
7165 MY(trailspacing) = 4;
7166 MY(type) = "static";
7167 MY(velocityjitter) = '32.0 32.0 32.0';
7168 MY(velocitymultiplier) = -1;
7172 MY(alpha_min) = 256;
7173 MY(alpha_max) = 256;
7174 MY(alpha_fade) = 256;
7175 MY(bounce) = 1.500000;
7176 MY(color_min) = "0x404040";
7177 MY(color_max) = "0x808080";
7178 MY(gravity) = -0.125000;
7179 MY(liquidfriction) = 4;
7184 MY(trailspacing) = 16;
7185 MY(type) = "bubble";
7186 MY(underwater) = true;
7187 MY(velocityjitter) = '16.0 16.0 16.0';
7190 // laser damage effect
7191 DEF(damage_blaster);
7192 SUB(damage_blaster) {
7193 MY(airfriction) = -0.350000;
7194 MY(alpha_min) = 128;
7196 MY(alpha_fade) = 128;
7197 MY(color_min) = "0x880000";
7198 MY(color_max) = "0xff4400";
7200 MY(notunderwater) = true;
7201 MY(originjitter) = '2.0 2.0 2.0';
7202 MY(startangle_max) = 180;
7205 MY(sizeincrease) = 8;
7210 MY(velocityjitter) = '0.4 0.4 0.6';
7213 // shotgun damage effect, normal blood
7214 DEF(damage_shotgun);
7215 SUB(damage_shotgun) {
7216 MY(airfriction) = 1;
7217 MY(alpha_min) = 256;
7218 MY(alpha_max) = 256;
7219 MY(alpha_fade) = 64;
7221 MY(color_min) = "0xA8FFFF";
7222 MY(color_max) = "0xA8FFFFF";
7223 MY(count) = 0.600000;
7224 MY(liquidfriction) = 4;
7227 MY(staincolor_min) = "0x808080";
7228 MY(staincolor_max) = "0x808080";
7229 MY(staintex_min) = 16;
7230 MY(staintex_max) = 24;
7234 MY(velocityjitter) = '64.0 64.0 64.0';
7235 MY(velocitymultiplier) = 5;
7238 SUB(damage_shotgun) {
7239 MY(alpha_min) = 100;
7240 MY(alpha_max) = 256;
7241 MY(alpha_fade) = 400;
7242 MY(color_min) = "0x000000";
7243 MY(color_max) = "0x420000";
7245 MY(originjitter) = '1.0 1.0 1.0';
7249 MY(type) = "alphastatic";
7252 // shotgun damage effect, alien blood
7253 DEF(alien_damage_shotgun);
7254 SUB(alien_damage_shotgun) {
7255 MY(airfriction) = 1;
7256 MY(alpha_min) = 256;
7257 MY(alpha_max) = 256;
7258 MY(alpha_fade) = 64;
7260 MY(color_min) = "0xDC9BCD";
7261 MY(color_max) = "0xDC9BCD";
7262 MY(count) = 0.600000;
7263 MY(liquidfriction) = 4;
7266 MY(staincolor_min) = "0x808080";
7267 MY(staincolor_max) = "0x808080";
7268 MY(staintex_min) = 16;
7269 MY(staintex_max) = 24;
7273 MY(velocityjitter) = '64.0 64.0 64.0';
7274 MY(velocitymultiplier) = 5;
7277 SUB(alien_damage_shotgun) {
7278 MY(alpha_min) = 100;
7279 MY(alpha_max) = 256;
7280 MY(alpha_fade) = 400;
7281 MY(color_min) = "0x000000";
7282 MY(color_max) = "0x204010";
7284 MY(originjitter) = '1.0 1.0 1.0';
7288 MY(type) = "alphastatic";
7291 // shotgun damage effect, robot blood
7292 DEF(robot_damage_shotgun);
7293 SUB(robot_damage_shotgun) {
7294 MY(airfriction) = 1;
7295 MY(alpha_min) = 256;
7296 MY(alpha_max) = 256;
7297 MY(alpha_fade) = 64;
7299 MY(color_min) = "0xC0D890";
7300 MY(color_max) = "0xC0D890";
7301 MY(count) = 0.600000;
7302 MY(liquidfriction) = 4;
7305 MY(staincolor_min) = "0x808080";
7306 MY(staincolor_max) = "0x808080";
7307 MY(staintex_min) = 16;
7308 MY(staintex_max) = 24;
7312 MY(velocityjitter) = '64.0 64.0 64.0';
7313 MY(velocitymultiplier) = 5;
7316 SUB(robot_damage_shotgun) {
7317 MY(alpha_min) = 100;
7318 MY(alpha_max) = 256;
7319 MY(alpha_fade) = 400;
7320 MY(color_min) = "0x000000";
7321 MY(color_max) = "0x301860";
7323 MY(originjitter) = '1.0 1.0 1.0';
7327 MY(type) = "alphastatic";
7330 // machinegun damage effect, normal blood
7331 DEF(damage_machinegun);
7332 SUB(damage_machinegun) {
7333 MY(airfriction) = 1;
7334 MY(alpha_min) = 256;
7335 MY(alpha_max) = 256;
7336 MY(alpha_fade) = 64;
7338 MY(color_min) = "0xA8FFFF";
7339 MY(color_max) = "0xA8FFFFF";
7340 MY(count) = 0.300000;
7341 MY(liquidfriction) = 4;
7344 MY(staincolor_min) = "0x808080";
7345 MY(staincolor_max) = "0x808080";
7346 MY(staintex_min) = 16;
7347 MY(staintex_max) = 24;
7351 MY(velocityjitter) = '32.0 32.0 32.0';
7352 MY(velocitymultiplier) = 5;
7355 SUB(damage_machinegun) {
7356 MY(alpha_min) = 100;
7357 MY(alpha_max) = 256;
7358 MY(alpha_fade) = 400;
7359 MY(color_min) = "0x000000";
7360 MY(color_max) = "0x420000";
7365 MY(type) = "alphastatic";
7368 // machinegun damage effect, alien blood
7369 DEF(alien_damage_machinegun);
7370 SUB(alien_damage_machinegun) {
7371 MY(airfriction) = 1;
7372 MY(alpha_min) = 256;
7373 MY(alpha_max) = 256;
7374 MY(alpha_fade) = 64;
7376 MY(color_min) = "0xDC9BCD";
7377 MY(color_max) = "0xDC9BCD";
7378 MY(count) = 0.300000;
7379 MY(liquidfriction) = 4;
7382 MY(staincolor_min) = "0x808080";
7383 MY(staincolor_max) = "0x808080";
7384 MY(staintex_min) = 16;
7385 MY(staintex_max) = 24;
7389 MY(velocityjitter) = '32.0 32.0 32.0';
7390 MY(velocitymultiplier) = 5;
7393 SUB(alien_damage_machinegun) {
7394 MY(alpha_min) = 100;
7395 MY(alpha_max) = 256;
7396 MY(alpha_fade) = 400;
7397 MY(color_min) = "0x000000";
7398 MY(color_max) = "0x204010";
7403 MY(type) = "alphastatic";
7406 // machinegun damage effect, robot blood
7407 DEF(robot_damage_machinegun);
7408 SUB(robot_damage_machinegun) {
7409 MY(airfriction) = 1;
7410 MY(alpha_min) = 256;
7411 MY(alpha_max) = 256;
7412 MY(alpha_fade) = 64;
7414 MY(color_min) = "0xC0D890";
7415 MY(color_max) = "0xC0D890";
7416 MY(count) = 0.300000;
7417 MY(liquidfriction) = 4;
7420 MY(staincolor_min) = "0x808080";
7421 MY(staincolor_max) = "0x808080";
7422 MY(staintex_min) = 16;
7423 MY(staintex_max) = 24;
7427 MY(velocityjitter) = '32.0 32.0 32.0';
7428 MY(velocitymultiplier) = 5;
7431 SUB(robot_damage_machinegun) {
7432 MY(alpha_min) = 100;
7433 MY(alpha_max) = 256;
7434 MY(alpha_fade) = 400;
7435 MY(color_min) = "0x000000";
7436 MY(color_max) = "0x301860";
7441 MY(type) = "alphastatic";
7444 // minelayer damage effect
7445 DEF(damage_minelayer);
7446 SUB(damage_minelayer) {
7447 MY(alpha_min) = 512;
7449 MY(alpha_fade) = 1024;
7450 MY(color_min) = "0x8f0d00";
7451 MY(color_max) = "0xff5a00";
7453 MY(gravity) = -0.500000;
7454 MY(notunderwater) = true;
7455 MY(originjitter) = '2.0 2.0 2.0';
7456 MY(sizeincrease) = -15;
7462 MY(velocityjitter) = '22.0 22.0 50.0';
7465 SUB(damage_minelayer) {
7466 MY(alpha_min) = 128;
7468 MY(alpha_fade) = 128;
7469 MY(color_min) = "0x000000";
7470 MY(color_max) = "0x111111";
7472 MY(gravity) = -0.300000;
7473 MY(notunderwater) = true;
7474 MY(originjitter) = '4.0 4.0 4.0';
7475 MY(sizeincrease) = 5;
7479 MY(type) = "alphastatic";
7480 MY(velocityjitter) = '11.0 11.0 50.0';
7483 // mortar damage effect
7485 SUB(damage_mortar) {
7486 MY(alpha_min) = 512;
7488 MY(alpha_fade) = 1024;
7489 MY(color_min) = "0x8f0d00";
7490 MY(color_max) = "0xff5a00";
7492 MY(gravity) = -0.500000;
7493 MY(notunderwater) = true;
7494 MY(originjitter) = '2.0 2.0 2.0';
7495 MY(sizeincrease) = -15;
7501 MY(velocityjitter) = '22.0 22.0 50.0';
7504 SUB(damage_mortar) {
7505 MY(alpha_min) = 128;
7507 MY(alpha_fade) = 128;
7508 MY(color_min) = "0x000000";
7509 MY(color_max) = "0x111111";
7511 MY(gravity) = -0.300000;
7512 MY(notunderwater) = true;
7513 MY(originjitter) = '4.0 4.0 4.0';
7514 MY(sizeincrease) = 5;
7518 MY(type) = "alphastatic";
7519 MY(velocityjitter) = '11.0 11.0 50.0';
7522 // arc damage effect
7525 MY(airfriction) = -0.650000;
7528 MY(alpha_fade) = 48;
7529 MY(color_min) = "0x66ffff";
7530 MY(color_max) = "0x2288ff";
7532 MY(gravity) = -0.000100;
7533 MY(liquidfriction) = 0.600000;
7534 MY(notunderwater) = true;
7535 MY(originjitter) = '2.0 2.0 2.0';
7536 MY(startangle_min) = 180;
7537 MY(startangle_max) = 360;
7540 MY(sizeincrease) = -14;
7545 MY(type) = "static";
7546 MY(velocityjitter) = '6.0 6.0 12.0';
7550 MY(airfriction) = -0.500000;
7553 MY(alpha_fade) = 64;
7554 MY(color_min) = "0x2244ff";
7555 MY(color_max) = "0x002266";
7557 MY(notunderwater) = true;
7558 MY(originjitter) = '3.0 3.0 3.0';
7559 MY(startangle_max) = 180;
7562 MY(sizeincrease) = 10;
7567 MY(velocityjitter) = '0.3 0.3 0.5';
7571 MY(airfriction) = 1;
7572 MY(alpha_min) = 768;
7574 MY(alpha_fade) = 256;
7575 MY(bounce) = 1.500000;
7576 MY(color_min) = "0x003090";
7577 MY(color_max) = "0x00CCFF";
7578 MY(count) = 0.500000;
7579 MY(gravity) = 0.150000;
7580 MY(liquidfriction) = 0.600000;
7586 MY(velocityjitter) = '24.0 24.0 24.0';
7589 // electro damage effect
7590 DEF(damage_electro);
7591 SUB(damage_electro) {
7592 MY(airfriction) = -0.500000;
7595 MY(alpha_fade) = 48;
7596 MY(color_min) = "0x66ffff";
7597 MY(color_max) = "0x2288ff";
7599 MY(gravity) = -0.000100;
7600 MY(liquidfriction) = 0.800000;
7601 MY(notunderwater) = true;
7602 MY(originjitter) = '3.0 3.0 3.0';
7603 MY(startangle_min) = 180;
7604 MY(startangle_max) = 360;
7607 MY(sizeincrease) = -14;
7612 MY(type) = "static";
7613 MY(velocityjitter) = '8.0 8.0 16.0';
7616 SUB(damage_electro) {
7617 MY(airfriction) = -0.350000;
7620 MY(alpha_fade) = 64;
7621 MY(color_min) = "0x2244ff";
7622 MY(color_max) = "0x002266";
7624 MY(notunderwater) = true;
7625 MY(originjitter) = '4.0 4.0 4.0';
7626 MY(startangle_max) = 180;
7629 MY(sizeincrease) = 10;
7634 MY(velocityjitter) = '0.4 0.4 0.6';
7637 SUB(damage_electro) {
7638 MY(airfriction) = 1;
7639 MY(alpha_min) = 768;
7641 MY(alpha_fade) = 256;
7642 MY(bounce) = 1.500000;
7643 MY(color_min) = "0x003090";
7644 MY(color_max) = "0x00CCFF";
7645 MY(count) = 0.500000;
7646 MY(gravity) = 0.200000;
7647 MY(liquidfriction) = 0.800000;
7653 MY(velocityjitter) = '32.0 32.0 32.0';
7656 // crylink damage effect
7657 DEF(damage_crylink);
7658 SUB(damage_crylink) {
7659 MY(airfriction) = -0.500000;
7662 MY(alpha_fade) = 48;
7663 MY(color_min) = "0xff44ff";
7664 MY(color_max) = "0x9966ff";
7666 MY(gravity) = -0.000100;
7667 MY(liquidfriction) = 0.800000;
7668 MY(notunderwater) = true;
7669 MY(originjitter) = '3.0 3.0 3.0';
7670 MY(startangle_min) = 180;
7671 MY(startangle_max) = 360;
7674 MY(sizeincrease) = -8;
7675 MY(size_min) = 0.500000;
7679 MY(type) = "static";
7680 MY(velocityjitter) = '10.0 10.0 20.0';
7683 SUB(damage_crylink) {
7684 MY(airfriction) = -0.350000;
7687 MY(alpha_fade) = 64;
7688 MY(color_min) = "0x8844ff";
7689 MY(color_max) = "0x662244";
7691 MY(gravity) = 0.001000;
7692 MY(notunderwater) = true;
7693 MY(originjitter) = '4.0 4.0 4.0';
7694 MY(startangle_max) = 180;
7697 MY(sizeincrease) = 6;
7702 MY(velocityjitter) = '0.4 0.4 0.6';
7705 SUB(damage_crylink) {
7706 MY(airfriction) = 0.200000;
7707 MY(alpha_min) = 192;
7708 MY(alpha_max) = 192;
7709 MY(alpha_fade) = 128;
7710 MY(color_min) = "0x903090";
7711 MY(color_max) = "0xFFD0FF";
7712 MY(count) = 0.300000;
7713 MY(liquidfriction) = 0.800000;
7714 MY(sizeincrease) = -5;
7715 MY(size_min) = 0.500000;
7716 MY(size_max) = 0.500000;
7718 MY(velocityjitter) = '12.0 12.0 12.0';
7721 // hlac damage effect
7724 MY(airfriction) = -0.350000;
7725 MY(alpha_min) = 128;
7727 MY(alpha_fade) = 128;
7728 MY(color_min) = "0x880000";
7729 MY(color_max) = "0xff4400";
7731 MY(notunderwater) = true;
7732 MY(originjitter) = '4.0 4.0 4.0';
7733 MY(startangle_max) = 180;
7736 MY(sizeincrease) = 10;
7741 MY(velocityjitter) = '0.4 0.4 0.6';
7744 // vortex damage effect
7746 SUB(damage_vortex) {
7747 MY(airfriction) = -0.500000;
7750 MY(alpha_fade) = 64;
7751 MY(color_min) = "0xffffff";
7752 MY(color_max) = "0x88ffff";
7754 MY(gravity) = -0.000100;
7755 MY(liquidfriction) = 0.600000;
7756 MY(originjitter) = '4.0 4.0 4.0';
7757 MY(startangle_min) = 180;
7758 MY(startangle_max) = 360;
7761 MY(sizeincrease) = -14;
7766 MY(type) = "static";
7767 MY(velocityjitter) = '8.0 8.0 16.0';
7770 SUB(damage_vortex) {
7771 MY(airfriction) = -0.350000;
7774 MY(alpha_fade) = 64;
7775 MY(color_min) = "0x6688ff";
7776 MY(color_max) = "0x226688";
7778 MY(originjitter) = '2.0 2.0 2.0';
7779 MY(startangle_max) = 180;
7782 MY(sizeincrease) = 8;
7787 MY(velocityjitter) = '0.5 0.5 0.8';
7790 SUB(damage_vortex) {
7791 MY(airfriction) = 2;
7792 MY(alpha_min) = 255;
7793 MY(alpha_max) = 255;
7794 MY(alpha_fade) = 112;
7795 MY(bounce) = 1.600000;
7796 MY(color_min) = "0xD9FDFF";
7797 MY(color_max) = "0xD9FDFF";
7798 MY(count) = 0.200000;
7802 MY(stretchfactor) = 0.700000;
7806 MY(velocityjitter) = '100.0 100.0 300.0';
7807 MY(velocitymultiplier) = 3;
7810 // vaporizer damage effect
7811 DEF(damage_vaporizer);
7812 SUB(damage_vaporizer) {
7813 MY(airfriction) = -0.500000;
7816 MY(alpha_fade) = 64;
7817 MY(color_min) = "0xffffff";
7818 MY(color_max) = "0x88ffff";
7820 MY(gravity) = -0.000100;
7821 MY(liquidfriction) = 0.600000;
7822 MY(originjitter) = '4.0 4.0 4.0';
7823 MY(startangle_min) = 180;
7824 MY(startangle_max) = 360;
7827 MY(sizeincrease) = -14;
7832 MY(type) = "static";
7833 MY(velocityjitter) = '8.0 8.0 16.0';
7836 SUB(damage_vaporizer) {
7837 MY(airfriction) = -0.350000;
7840 MY(alpha_fade) = 64;
7841 MY(color_min) = "0x6688ff";
7842 MY(color_max) = "0x226688";
7844 MY(originjitter) = '2.0 2.0 2.0';
7845 MY(startangle_max) = 180;
7848 MY(sizeincrease) = 8;
7853 MY(velocityjitter) = '0.5 0.5 0.8';
7856 SUB(damage_vaporizer) {
7857 MY(airfriction) = 2;
7858 MY(alpha_min) = 255;
7859 MY(alpha_max) = 255;
7860 MY(alpha_fade) = 112;
7861 MY(bounce) = 1.600000;
7862 MY(color_min) = "0xD9FDFF";
7863 MY(color_max) = "0xD9FDFF";
7864 MY(count) = 0.200000;
7868 MY(stretchfactor) = 0.700000;
7872 MY(velocityjitter) = '100.0 100.0 300.0';
7873 MY(velocitymultiplier) = 3;
7876 // rifle damage effect, normal blood
7879 MY(airfriction) = 1;
7880 MY(alpha_min) = 256;
7881 MY(alpha_max) = 256;
7882 MY(alpha_fade) = 64;
7884 MY(color_min) = "0xA8FFFF";
7885 MY(color_max) = "0xA8FFFFF";
7886 MY(count) = 0.300000;
7887 MY(liquidfriction) = 4;
7890 MY(staincolor_min) = "0x808080";
7891 MY(staincolor_max) = "0x808080";
7892 MY(staintex_min) = 16;
7893 MY(staintex_max) = 24;
7897 MY(velocityjitter) = '32.0 32.0 32.0';
7898 MY(velocitymultiplier) = 5;
7902 MY(alpha_min) = 100;
7903 MY(alpha_max) = 256;
7904 MY(alpha_fade) = 400;
7905 MY(color_min) = "0x000000";
7906 MY(color_max) = "0x420000";
7911 MY(type) = "alphastatic";
7914 // rifle damage effect, alien blood
7915 DEF(damage_rifle_alien);
7916 SUB(damage_rifle_alien) {
7917 MY(airfriction) = 1;
7918 MY(alpha_min) = 256;
7919 MY(alpha_max) = 256;
7920 MY(alpha_fade) = 64;
7922 MY(color_min) = "0xDC9BCD";
7923 MY(color_max) = "0xDC9BCD";
7924 MY(count) = 0.300000;
7925 MY(liquidfriction) = 4;
7928 MY(staincolor_min) = "0x808080";
7929 MY(staincolor_max) = "0x808080";
7930 MY(staintex_min) = 16;
7931 MY(staintex_max) = 24;
7935 MY(velocityjitter) = '32.0 32.0 32.0';
7936 MY(velocitymultiplier) = 5;
7939 SUB(damage_rifle_alien) {
7940 MY(alpha_min) = 100;
7941 MY(alpha_max) = 256;
7942 MY(alpha_fade) = 400;
7943 MY(color_min) = "0x000000";
7944 MY(color_max) = "0x204010";
7949 MY(type) = "alphastatic";
7952 // rifle damage effect, robot blood
7953 DEF(damage_rifle_robot);
7954 SUB(damage_rifle_robot) {
7955 MY(airfriction) = 1;
7956 MY(alpha_min) = 256;
7957 MY(alpha_max) = 256;
7958 MY(alpha_fade) = 64;
7960 MY(color_min) = "0xC0D890";
7961 MY(color_max) = "0xC0D890";
7962 MY(count) = 0.300000;
7963 MY(liquidfriction) = 4;
7966 MY(staincolor_min) = "0x808080";
7967 MY(staincolor_max) = "0x808080";
7968 MY(staintex_min) = 16;
7969 MY(staintex_max) = 24;
7973 MY(velocityjitter) = '32.0 32.0 32.0';
7974 MY(velocitymultiplier) = 5;
7977 SUB(damage_rifle_robot) {
7978 MY(alpha_min) = 100;
7979 MY(alpha_max) = 256;
7980 MY(alpha_fade) = 400;
7981 MY(color_min) = "0x000000";
7982 MY(color_max) = "0x301860";
7987 MY(type) = "alphastatic";
7990 // seeker damage effect
7992 SUB(damage_seeker) {
7993 MY(alpha_min) = 512;
7995 MY(alpha_fade) = 1024;
7996 MY(color_min) = "0x8f0c00";
7997 MY(color_max) = "0xff2200";
7999 MY(gravity) = -0.300000;
8000 MY(notunderwater) = true;
8001 MY(originjitter) = '2.0 2.0 2.0';
8002 MY(sizeincrease) = -10;
8008 MY(velocityjitter) = '22.0 22.0 50.0';
8011 SUB(damage_seeker) {
8012 MY(alpha_min) = 128;
8014 MY(alpha_fade) = 128;
8015 MY(color_min) = "0x000000";
8016 MY(color_max) = "0x111111";
8018 MY(gravity) = -0.300000;
8019 MY(notunderwater) = true;
8020 MY(originjitter) = '4.0 4.0 4.0';
8021 MY(sizeincrease) = 10;
8025 MY(type) = "alphastatic";
8026 MY(velocityjitter) = '11.0 11.0 50.0';
8029 // hagar damage effect
8032 MY(alpha_min) = 512;
8034 MY(alpha_fade) = 1024;
8035 MY(color_min) = "0x8f0c00";
8036 MY(color_max) = "0xff3a00";
8038 MY(gravity) = -0.300000;
8039 MY(notunderwater) = true;
8040 MY(originjitter) = '2.0 2.0 2.0';
8041 MY(sizeincrease) = -10;
8047 MY(velocityjitter) = '22.0 22.0 50.0';
8051 MY(alpha_min) = 128;
8053 MY(alpha_fade) = 128;
8054 MY(color_min) = "0x000000";
8055 MY(color_max) = "0x111111";
8057 MY(gravity) = -0.300000;
8058 MY(notunderwater) = true;
8059 MY(originjitter) = '4.0 4.0 4.0';
8060 MY(sizeincrease) = 10;
8064 MY(type) = "alphastatic";
8065 MY(velocityjitter) = '11.0 11.0 50.0';
8068 // fireball damage effect
8069 DEF(damage_fireball);
8070 SUB(damage_fireball) {
8071 MY(alpha_min) = 256;
8073 MY(alpha_fade) = 512;
8074 MY(color_min) = "0x8f0d00";
8075 MY(color_max) = "0xff5a00";
8077 MY(gravity) = -0.500000;
8078 MY(notunderwater) = true;
8079 MY(originjitter) = '8.0 8.0 8.0';
8080 MY(sizeincrease) = -10;
8086 MY(velocityjitter) = '22.0 22.0 50.0';
8089 SUB(damage_fireball) {
8090 MY(alpha_min) = 128;
8092 MY(alpha_fade) = 128;
8093 MY(color_min) = "0x000000";
8094 MY(color_max) = "0x111111";
8096 MY(gravity) = -0.300000;
8097 MY(notunderwater) = true;
8098 MY(originjitter) = '6.0 6.0 6.0';
8099 MY(sizeincrease) = 10;
8103 MY(type) = "alphastatic";
8104 MY(velocityjitter) = '11.0 11.0 50.0';
8107 // rocketlauncher damage effect
8108 DEF(damage_devastator);
8109 SUB(damage_devastator) {
8110 MY(alpha_min) = 512;
8112 MY(alpha_fade) = 1024;
8113 MY(color_min) = "0x8f0c00";
8114 MY(color_max) = "0xff2a00";
8116 MY(gravity) = -0.700000;
8117 MY(notunderwater) = true;
8118 MY(originjitter) = '4.0 4.0 4.0';
8119 MY(sizeincrease) = -10;
8125 MY(velocityjitter) = '22.0 22.0 30.0';
8128 SUB(damage_devastator) {
8129 MY(alpha_min) = 128;
8131 MY(alpha_fade) = 128;
8132 MY(color_min) = "0x000000";
8133 MY(color_max) = "0x111111";
8135 MY(gravity) = -0.300000;
8136 MY(notunderwater) = true;
8137 MY(originjitter) = '4.0 4.0 4.0';
8138 MY(sizeincrease) = 10;
8142 MY(type) = "alphastatic";
8143 MY(velocityjitter) = '11.0 11.0 50.0';
8149 MY(airfriction) = 5;
8150 MY(alpha_min) = 256;
8151 MY(alpha_max) = 256;
8152 MY(alpha_fade) = 70;
8154 MY(color_min) = "0xff9600";
8155 MY(color_max) = "0xffefb8";
8157 MY(originjitter) = '32.0 32.0 32.0';
8158 MY(originoffset) = '8.0 8.0 8.0';
8159 MY(sizeincrease) = -0.300000;
8166 MY(type) = "static";
8167 MY(velocityjitter) = '64.0 64.0 64.0';
8168 MY(velocityoffset) = '2.0 2.0 2.0';
8171 DEF(healray_muzzleflash);
8172 SUB(healray_muzzleflash) {
8173 MY(alpha_min) = 256;
8174 MY(alpha_max) = 256;
8175 MY(alpha_fade) = 512;
8176 MY(color_min) = "0x283880";
8177 MY(color_max) = "0x283880";
8178 MY(countabsolute) = 1;
8179 MY(lightcolor) = '1.5 3.0 6.0';
8180 MY(lightradiusfade) = 2000;
8181 MY(lightradius) = 200;
8182 MY(originjitter) = '1.5 1.5 1.5';
8183 MY(sizeincrease) = -10;
8189 MY(velocityjitter) = '6.0 6.0 6.0';
8190 MY(velocitymultiplier) = 0.010000;
8192 SUB(healray_muzzleflash) {
8193 MY(airfriction) = 5;
8195 MY(alpha_max) = 150;
8196 MY(alpha_fade) = 1924;
8197 MY(color_min) = "0xD9FDFF";
8198 MY(color_max) = "0x00f0ff";
8200 MY(originjitter) = '1.0 1.0 1.0';
8201 MY(sizeincrease) = 3;
8204 MY(stretchfactor) = 3.900000;
8208 MY(velocityjitter) = '150.0 150.0 150.0';
8209 MY(velocitymultiplier) = 0.400000;
8211 SUB(healray_muzzleflash) {
8212 MY(alpha_min) = 110;
8213 MY(alpha_max) = 228;
8214 MY(alpha_fade) = 4024;
8215 MY(color_min) = "0xD9FDFF";
8216 MY(color_max) = "0x00f0ff";
8218 MY(originjitter) = '1.0 1.0 1.0';
8221 MY(stretchfactor) = 0.200000;
8225 MY(velocityjitter) = '650.0 650.0 650.0';
8226 MY(velocitymultiplier) = 1.100000;
8229 DEF(healray_impact);
8230 SUB(healray_impact) {
8231 MY(alpha_min) = 256;
8232 MY(alpha_max) = 256;
8233 MY(color_min) = "0xd800ff";
8234 MY(color_max) = "0xd800ff";
8235 MY(countabsolute) = 1;
8236 MY(lightcolor) = '0.0 4.4 0.0';
8237 MY(lightradiusfade) = 450;
8238 MY(lightradius) = 125;
8239 MY(originjitter) = '17.0 17.0 17.0';
8247 SUB(healray_impact) {
8250 MY(alpha_fade) = 350;
8251 MY(color_min) = "0x00ff00";
8252 MY(color_max) = "0x84c52f";
8253 MY(countabsolute) = 1;
8254 MY(sizeincrease) = 1400;
8260 MY(velocitymultiplier) = 44;
8262 // cloud of bouncing sparks
8263 SUB(healray_impact) {
8264 MY(airfriction) = 6;
8265 MY(alpha_min) = 156;
8266 MY(alpha_max) = 300;
8267 MY(alpha_fade) = 1024;
8268 MY(color_min) = "0x00ff00";
8269 MY(color_max) = "0x84c52f";
8272 MY(originjitter) = '1.0 1.0 1.0';
8278 MY(velocityjitter) = '1112.0 1112.0 1112.0';
8280 // inner cloud of smoke
8281 SUB(healray_impact) {
8282 MY(airfriction) = 3;
8283 MY(alpha_min) = 200;
8284 MY(alpha_max) = 456;
8285 MY(alpha_fade) = 512;
8286 MY(color_min) = "0x00ff00";
8287 MY(color_max) = "0x84c52f";
8290 MY(startangle_min) = -180;
8291 MY(startangle_max) = 180;
8299 MY(velocityjitter) = '120.0 120.0 420.0';
8302 DEF(bigplasma_muzzleflash);
8303 SUB(bigplasma_muzzleflash) {
8304 MY(alpha_min) = 256;
8305 MY(alpha_max) = 256;
8306 MY(alpha_fade) = 812;
8307 MY(color_min) = "0x283880";
8308 MY(color_max) = "0x283880";
8309 MY(countabsolute) = 1;
8310 MY(lightcolor) = '1.5 3.0 6.0';
8311 MY(lightradiusfade) = 2000;
8312 MY(lightradius) = 200;
8313 MY(originjitter) = '1.5 1.5 1.5';
8314 MY(sizeincrease) = -10;
8320 MY(velocityjitter) = '6.0 6.0 6.0';
8321 MY(velocitymultiplier) = 0.010000;
8323 SUB(bigplasma_muzzleflash) {
8326 MY(alpha_fade) = 1112;
8327 MY(color_min) = "0x00f0ff";
8328 MY(color_max) = "0x00f0ff";
8329 MY(countabsolute) = 1;
8330 MY(sizeincrease) = 300;
8337 SUB(bigplasma_muzzleflash) {
8338 MY(airfriction) = 5;
8340 MY(alpha_max) = 150;
8341 MY(alpha_fade) = 1924;
8342 MY(color_min) = "0xD9FDFF";
8343 MY(color_max) = "0x00f0ff";
8345 MY(originjitter) = '1.0 1.0 1.0';
8346 MY(sizeincrease) = 135;
8349 MY(stretchfactor) = 1.900000;
8353 MY(velocityjitter) = '350.0 350.0 350.0';
8354 MY(velocitymultiplier) = 0.400000;
8356 SUB(bigplasma_muzzleflash) {
8357 MY(alpha_min) = 110;
8358 MY(alpha_max) = 228;
8359 MY(alpha_fade) = 4024;
8360 MY(color_min) = "0xD9FDFF";
8361 MY(color_max) = "0x00f0ff";
8363 MY(originjitter) = '1.0 1.0 1.0';
8366 MY(stretchfactor) = 0.200000;
8370 MY(velocityjitter) = '650.0 650.0 650.0';
8371 MY(velocitymultiplier) = 1.100000;
8374 DEF(bigplasma_impact);
8375 SUB(bigplasma_impact) {
8376 MY(alpha_min) = 256;
8377 MY(alpha_max) = 256;
8378 MY(countabsolute) = 1;
8379 MY(lightcolor) = '3.1 4.4 10.0';
8380 MY(lightradiusfade) = 450;
8381 MY(lightradius) = 125;
8382 MY(originjitter) = '17.0 17.0 17.0';
8390 SUB(bigplasma_impact) {
8393 MY(alpha_fade) = 350;
8394 MY(color_min) = "0x80C0FF";
8395 MY(color_max) = "0x80C0FF";
8396 MY(countabsolute) = 1;
8397 MY(sizeincrease) = 1400;
8403 MY(velocitymultiplier) = 44;
8405 // cloud of bouncing sparks
8406 SUB(bigplasma_impact) {
8407 MY(airfriction) = 6;
8408 MY(alpha_min) = 156;
8409 MY(alpha_max) = 300;
8410 MY(alpha_fade) = 1024;
8411 MY(color_min) = "0x629dff";
8412 MY(color_max) = "0x0018ff";
8415 MY(originjitter) = '1.0 1.0 1.0';
8421 MY(velocityjitter) = '1512.0 1512.0 1512.0';
8423 // inner cloud of smoke
8424 SUB(bigplasma_impact) {
8425 MY(airfriction) = 30;
8426 MY(alpha_min) = 200;
8427 MY(alpha_max) = 456;
8428 MY(alpha_fade) = 1512;
8429 MY(color_min) = "0x629dff";
8430 MY(color_max) = "0x0018ff";
8432 MY(originjitter) = '20.0 20.0 20.0';
8433 MY(startangle_min) = -180;
8434 MY(startangle_max) = 180;
8437 MY(sizeincrease) = 555;
8443 MY(velocityjitter) = '320.0 320.0 320.0';
8446 SUB(bigplasma_impact) {
8447 MY(airfriction) = 0.040000;
8448 MY(alpha_min) = 128;
8449 MY(alpha_max) = 328;
8450 MY(alpha_fade) = 390;
8451 MY(blend) = "alpha";
8452 MY(color_min) = "0x222222";
8453 MY(color_max) = "0x000000";
8455 MY(gravity) = 0.400000;
8456 MY(originjitter) = '80.0 80.0 10.0';
8457 MY(startangle_min) = -180;
8458 MY(startangle_max) = 180;
8461 MY(sizeincrease) = 30;
8466 MY(velocityjitter) = '100.0 100.0 200.0';
8467 MY(velocityoffset) = '0.0 0.0 180.0';
8469 // smoke in the middle
8470 SUB(bigplasma_impact) {
8471 MY(airfriction) = 0.040000;
8472 MY(alpha_min) = 128;
8473 MY(alpha_max) = 328;
8474 MY(alpha_fade) = 310;
8475 MY(color_min) = "0x222222";
8476 MY(color_max) = "0x000000";
8478 MY(gravity) = -0.200000;
8479 MY(originjitter) = '80.0 80.0 80.0';
8480 MY(startangle_min) = -180;
8481 MY(startangle_max) = 180;
8484 MY(sizeincrease) = -10;
8488 MY(type) = "alphastatic";
8489 MY(velocityjitter) = '10.0 10.0 10.0';
8492 #include "effectinfo_ctf.inc"
8494 // spawn_point -- team idle spawn point effect
8495 #define spawn_point(name, color) \
8496 DEF(spawn_point_##name); \
8497 SUB(spawn_point_##name) { \
8498 MY(airfriction) = 0.200000; \
8499 MY(alpha_min) = 64; \
8500 MY(alpha_max) = 128; \
8501 MY(alpha_fade) = 128; \
8502 MY(color_min) = color; \
8503 MY(color_max) = color; \
8504 MY(count) = 37.500000; \
8505 MY(gravity) = -0.100000; \
8506 MY(liquidfriction) = 0.800000; \
8507 MY(originjitter) = '16.0 16.0 64.0'; \
8510 MY(type) = "static"; \
8511 MY(velocityjitter) = '32.0 32.0 0.0'; \
8514 spawn_point(red, "0xFF0F0F")
8515 spawn_point(blue, "0x0F0FFF")
8516 spawn_point(yellow, "0xFFFF0F")
8517 spawn_point(pink, "0xFF0FFF")
8518 spawn_point(neutral, "0xFFFFFF")
8521 // spawn_event -- team spawning effect
8522 #define spawn_event(name, color) \
8523 DEF(spawn_event_##name); \
8524 SUB(spawn_event_##name) { \
8525 MY(airfriction) = 2; \
8526 MY(alpha_max) = 256; \
8527 MY(alpha_fade) = 256; \
8529 MY(color_min) = color; \
8530 MY(color_max) = color; \
8532 MY(originjitter) = '1.0 1.0 1.0'; \
8535 MY(stretchfactor) = 0.600000; \
8538 MY(type) = "spark"; \
8539 MY(velocityjitter) = '500.0 500.0 500.0'; \
8540 MY(velocitymultiplier) = 0.100000; \
8542 SUB(spawn_event_##name) { \
8543 MY(alpha_min) = 190; \
8544 MY(alpha_max) = 190; \
8545 MY(alpha_fade) = 180; \
8546 MY(color_min) = color; \
8547 MY(color_max) = color; \
8548 MY(countabsolute) = 1; \
8549 MY(sizeincrease) = -80; \
8550 MY(size_min) = 100; \
8551 MY(size_max) = 100; \
8554 MY(type) = "smoke"; \
8558 spawn_event(red, "0xFF0F0F")
8559 spawn_event(blue, "0x0F0FFF")
8560 spawn_event(yellow, "0xFFFF0F")
8561 spawn_event(pink, "0xFF0FFF")
8562 spawn_event(neutral, "0xFFFFFF")
8565 #include "effectinfo_nades.inc"
8567 DEF(shockwave_attack);
8569 SUB(shockwave_attack) {
8570 MY(airfriction) = 1;
8571 MY(alpha_min) = 4096;
8572 MY(alpha_max) = 4096;
8573 MY(alpha_fade) = 20000;
8574 MY(color_min) = "0xb44215";
8575 MY(color_max) = "0xff0000";
8577 MY(originjitter) = '2.0 2.0 2.0';
8578 MY(startangle_min) = -180;
8579 MY(startangle_max) = 180;
8580 MY(spin_min) = 4000;
8581 MY(spin_max) = -4000;
8582 MY(sizeincrease) = 1.500000;
8585 MY(stretchfactor) = 2.300000;
8589 MY(velocityjitter) = '10.0 10.0 10.0';
8590 MY(velocitymultiplier) = 10;
8593 SUB(shockwave_attack) {
8594 MY(airfriction) = 1;
8595 MY(alpha_min) = 4096;
8596 MY(alpha_max) = 4096;
8597 MY(alpha_fade) = 20000;
8598 MY(color_min) = "0xff4200";
8599 MY(color_max) = "0xff0000";
8601 MY(originjitter) = '2.0 2.0 2.0';
8602 MY(sizeincrease) = 1.500000;
8605 MY(stretchfactor) = 2;
8609 MY(velocityjitter) = '10.0 10.0 10.0';
8610 MY(velocitymultiplier) = 10;
8615 SUB(arc_lightning) {
8618 MY(countabsolute) = 1;
8619 MY(lightcolor) = '3.1 4.4 10.0';
8620 MY(lightradiusfade) = 200;
8621 MY(lightradius) = 50;
8622 MY(originjitter) = '2.0 2.0 2.0';
8630 SUB(arc_lightning) {
8631 MY(airfriction) = 110;
8632 MY(alpha_min) = 256;
8633 MY(alpha_max) = 256;
8634 MY(alpha_fade) = 512;
8635 MY(color_min) = "0xDDFDFF";
8636 MY(color_max) = "0xFDFDFF";
8638 MY(originjitter) = '20.0 20.0 20.0';
8639 MY(startangle_max) = 360;
8640 MY(spin_min) = -36000;
8641 MY(spin_max) = 36000;
8642 MY(sizeincrease) = -5;
8644 MY(stretchfactor) = 1;
8647 MY(type) = "static";
8648 MY(velocityjitter) = '250.0 250.0 250.0';
8649 MY(velocitymultiplier) = 100;
8651 // impact sparks (underwater)
8652 SUB(arc_lightning) {
8653 MY(airfriction) = 5;
8654 MY(alpha_min) = 256;
8655 MY(alpha_max) = 256;
8656 MY(alpha_fade) = 512;
8657 MY(color_min) = "0xDDFDFF";
8658 MY(color_max) = "0xFDFDFF";
8660 MY(liquidfriction) = 5;
8661 MY(orientation) = "spark";
8662 MY(originjitter) = '20.0 20.0 20.0';
8663 MY(startangle_max) = 360;
8664 MY(spin_min) = -36000;
8665 MY(spin_max) = 36000;
8666 MY(sizeincrease) = -5;
8668 MY(stretchfactor) = 1;
8671 MY(type) = "static";
8672 MY(underwater) = true;
8673 MY(velocityjitter) = '250.0 250.0 250.0';
8674 MY(velocitymultiplier) = 20;
8677 SUB(arc_lightning) {
8680 MY(alpha_fade) = 350;
8681 MY(color_min) = "0x80C0FF";
8682 MY(color_max) = "0x80C0FF";
8683 MY(countabsolute) = 1;
8684 MY(sizeincrease) = 400;
8690 MY(velocitymultiplier) = 100;
8696 MY(airfriction) = -10;
8697 MY(alpha_min) = 256;
8698 MY(alpha_max) = 256;
8699 MY(alpha_fade) = 16384;
8700 MY(color_min) = "0xfafad2";
8701 MY(color_max) = "0xffffff";
8702 MY(originjitter) = '3.0 3.0 3.0';
8703 MY(relativeoriginoffset) = '10.0 0.0 0.0';
8704 MY(startangle_max) = 360;
8706 MY(spin_max) = 1000;
8707 MY(stretchfactor) = 1;
8710 MY(time_min) = 0.050000;
8711 MY(time_max) = 0.050000;
8712 MY(trailspacing) = 10;
8714 MY(velocityjitter) = '100.0 100.0 100.0';
8715 MY(velocitymultiplier) = 200;
8717 // sparks on beam (underwater)
8719 MY(alpha_min) = 256;
8720 MY(alpha_max) = 256;
8721 MY(alpha_fade) = 16384;
8722 MY(color_min) = "0xfafad2";
8723 MY(color_max) = "0xffffff";
8724 MY(liquidfriction) = -10;
8725 MY(originjitter) = '30.0 30.0 30.0';
8726 MY(relativeoriginoffset) = '10.0 0.0 0.0';
8727 MY(startangle_max) = 360;
8729 MY(spin_max) = 1000;
8730 MY(stretchfactor) = 1;
8733 MY(time_min) = 0.001000;
8734 MY(time_max) = 0.001000;
8735 MY(trailspacing) = 10;
8737 MY(underwater) = true;
8738 MY(velocityjitter) = '100.0 100.0 100.0';
8739 MY(velocitymultiplier) = 200;
8744 SUB(arc_beam_heal) {
8745 MY(airfriction) = -20;
8746 MY(alpha_min) = 2048;
8747 MY(alpha_max) = 2048;
8748 MY(alpha_fade) = 256;
8749 MY(color_min) = "0x20FF20";
8750 MY(color_max) = "0x40FF40";
8751 MY(relativeoriginoffset) = '5.0 0.0 0.0';
8752 MY(relativevelocityoffset) = '100.0 0.0 0.0';
8753 MY(sizeincrease) = 20;
8754 MY(size_min) = 0.100000;
8755 MY(size_max) = 0.100000;
8758 MY(trailspacing) = 1500;
8760 MY(velocityjitter) = '3.0 3.0 3.0';
8761 MY(velocitymultiplier) = 200;
8764 DEF(arc_beam_healimpact);
8766 SUB(arc_beam_healimpact) {
8769 MY(alpha_fade) = 350;
8770 MY(color_min) = "0x00ff00";
8771 MY(color_max) = "0x84c52f";
8772 MY(countabsolute) = 1;
8773 MY(lightcolor) = '0.0 4.4 0.0';
8774 MY(lightradiusfade) = 150;
8775 MY(lightradius) = 20;
8776 MY(sizeincrease) = -1000;
8782 MY(velocitymultiplier) = 44;
8785 SUB(arc_beam_healimpact) {
8786 MY(airfriction) = 3;
8787 MY(alpha_min) = 200;
8788 MY(alpha_max) = 456;
8789 MY(alpha_fade) = 512;
8790 MY(color_min) = "0x00ff00";
8791 MY(color_max) = "0x84c52f";
8794 MY(startangle_min) = -180;
8795 MY(startangle_max) = 180;
8798 MY(size_min) = 0.500000;
8803 MY(velocityjitter) = '120.0 120.0 420.0';
8807 // arc heat smoke (notunderwater)
8809 MY(airfriction) = 1;
8812 MY(alpha_fade) = 48;
8813 MY(color_min) = "0x4c453f";
8814 MY(color_max) = "0x2a241f";
8816 MY(gravity) = -0.125000;
8817 MY(notunderwater) = true;
8818 MY(startangle_max) = 360;
8819 MY(spin_min) = -180;
8821 MY(sizeincrease) = 10;
8826 MY(velocityjitter) = '0.0 0.0 16.0';
8828 // arc heat bubbles (underwater)
8830 MY(alpha_min) = 170;
8831 MY(alpha_max) = 256;
8832 MY(alpha_fade) = 64;
8833 MY(bounce) = 1.500000;
8834 MY(color_min) = "0x404040";
8835 MY(color_max) = "0x808080";
8837 MY(gravity) = -0.125000;
8838 MY(liquidfriction) = 0.250000;
8839 MY(originjitter) = '6.0 6.0 6.0';
8840 MY(size_min) = 0.100000;
8844 MY(type) = "bubble";
8845 MY(underwater) = true;
8846 MY(velocityjitter) = '16.0 16.0 16.0';
8850 // arc overheat electric bolts
8852 MY(airfriction) = 5;
8853 MY(alpha_min) = 128;
8854 MY(alpha_max) = 128;
8855 MY(alpha_fade) = 292;
8856 MY(color_min) = "0xffffff";
8857 MY(color_max) = "0x9271fb";
8859 MY(gravity) = -0.400000;
8860 MY(liquidfriction) = 10;
8861 MY(originjitter) = '10.0 10.0 10.0';
8862 MY(sizeincrease) = -24;
8868 MY(velocityjitter) = '256.0 256.0 256.0';
8871 DEF(arc_overheat_fire);
8872 // arc overheat bouncing sparks
8873 SUB(arc_overheat_fire) {
8874 MY(alpha_max) = 256;
8875 MY(alpha_fade) = 640;
8876 MY(bounce) = 1.500000;
8877 MY(color_min) = "0x4444ff";
8878 MY(color_max) = "0xeeeeff";
8881 MY(liquidfriction) = 5;
8882 MY(originjitter) = '6.0 6.0 6.0';
8883 MY(size_min) = 0.400000;
8886 MY(velocityjitter) = '92.0 92.0 92.0';
8887 MY(velocitymultiplier) = 80;
8888 MY(velocityoffset) = '0.0 0.0 80.0';
8891 #include "effectinfo_buffs.inc"
8893 #include "effectinfo_instagib.inc"
8895 DEF(arc_muzzleflash);
8896 SUB(arc_muzzleflash) {
8897 MY(alpha_min) = 256;
8898 MY(alpha_max) = 256;
8899 MY(alpha_fade) = 512;
8900 MY(color_min) = "0x00ff00";
8901 MY(color_max) = "0x8f4333";
8903 MY(lightcolor) = '0.3 2.0 0.2';
8904 MY(lightradiusfade) = 2000;
8905 MY(lightradius) = 200;
8906 MY(originjitter) = '1.5 1.5 1.5';
8911 MY(velocityjitter) = '6.0 6.0 6.0';
8912 MY(velocitymultiplier) = 0.010000;
8914 SUB(arc_muzzleflash) {
8915 MY(airfriction) = 12;
8916 MY(alpha_max) = 128;
8917 MY(alpha_fade) = 1024;
8918 MY(color_min) = "0x00ff00";
8919 MY(color_max) = "0x8f4333";
8921 MY(originjitter) = '1.0 1.0 1.0';
8922 MY(startangle_min) = -180;
8923 MY(startangle_max) = 180;
8924 MY(spin_min) = -400;
8928 MY(stretchfactor) = 2;
8932 MY(velocityjitter) = '200.0 200.0 200.0';
8933 MY(velocitymultiplier) = 0.500000;
8936 DEF(arc_bolt_explode);
8938 SUB(arc_bolt_explode) {
8939 MY(alpha_min) = 256;
8940 MY(alpha_max) = 256;
8941 MY(countabsolute) = 1;
8942 MY(lightcolor) = '8.0 4.0 1.0';
8943 MY(lightradiusfade) = 400;
8944 MY(lightradius) = 120;
8945 MY(originjitter) = '14.0 14.0 14.0';
8952 // fire effect which make bright dot inside
8953 SUB(arc_bolt_explode) {
8954 MY(airfriction) = 8;
8956 MY(alpha_max) = 200;
8957 MY(alpha_fade) = 356;
8958 MY(bounce) = 1.500000;
8959 MY(color_min) = "0x00ffff";
8960 MY(color_max) = "0x00ffff";
8961 MY(count) = 3.500000;
8962 MY(liquidfriction) = 8;
8963 MY(notunderwater) = true;
8964 MY(originjitter) = '8.0 8.0 8.0';
8965 MY(sizeincrease) = 5;
8971 MY(velocityjitter) = '156.0 156.0 156.0';
8973 // fire effect which expands then slows
8974 SUB(arc_bolt_explode) {
8975 MY(airfriction) = 12;
8976 MY(alpha_min) = 128;
8977 MY(alpha_max) = 256;
8978 MY(alpha_fade) = 456;
8979 MY(bounce) = 1.500000;
8980 MY(color_min) = "0x00ff00";
8981 MY(color_max) = "0x8f4333";
8983 MY(liquidfriction) = 8;
8984 MY(notunderwater) = true;
8985 MY(originjitter) = '8.0 8.0 8.0';
8986 MY(sizeincrease) = 15;
8991 MY(type) = "static";
8992 MY(velocityjitter) = '286.0 286.0 286.0';
8994 // underwater bubbles
8995 SUB(arc_bolt_explode) {
8996 MY(alpha_min) = 128;
8997 MY(alpha_max) = 256;
8998 MY(alpha_fade) = 64;
8999 MY(bounce) = 1.500000;
9000 MY(color_min) = "0x404040";
9001 MY(color_max) = "0x808080";
9003 MY(gravity) = -0.125000;
9004 MY(liquidfriction) = 0.250000;
9005 MY(originjitter) = '16.0 16.0 16.0';
9010 MY(type) = "bubble";
9011 MY(underwater) = true;
9012 MY(velocityjitter) = '96.0 96.0 96.0';
9015 SUB(arc_bolt_explode) {
9016 MY(airfriction) = 1;
9017 MY(alpha_min) = 644;
9018 MY(alpha_max) = 956;
9019 MY(alpha_fade) = 684;
9020 MY(bounce) = 1.600000;
9021 MY(color_min) = "0x00ff00";
9022 MY(color_max) = "0x8f4333";
9025 MY(liquidfriction) = 0.800000;
9026 MY(notunderwater) = true;
9027 MY(originjitter) = '16.0 16.0 16.0';
9029 MY(size_max) = 0.100000;
9033 MY(velocityjitter) = '224.0 224.0 224.0';
9034 MY(velocityoffset) = '0.0 0.0 80.0';
9037 // weak bullet trail (somewhat like a tracer)
9038 DEF(tr_bullet_weak);
9039 SUB(tr_bullet_weak) {
9040 MY(alpha) = '75 100 3000';
9041 MY(color_min) = "0xf03000";
9042 MY(color_max) = "0xff6010";
9043 MY(countabsolute) = 1;
9044 MY(sizeincrease) = -3;
9051 SUB(tr_bullet_weak) {
9052 MY(airfriction) = -4;
9053 MY(alpha) = '256 256 350';
9054 MY(color_min) = "0x202020";
9055 MY(color_max) = "0x404040";
9056 MY(notunderwater) = true;
9057 MY(sizeincrease) = 0.4;
9062 MY(trailspacing) = 16;
9064 MY(velocityjitter) = '4 4 4';
9066 SUB(tr_bullet_weak) {
9067 MY(alpha_min) = 256;
9068 MY(alpha_max) = 256;
9069 MY(alpha_fade) = 128;
9070 MY(bounce) = 1.500000;
9071 MY(color_min) = "0x404040";
9072 MY(color_max) = "0x808080";
9073 MY(gravity) = -0.125000;
9074 MY(liquidfriction) = 4;
9079 MY(trailspacing) = 32;
9080 MY(type) = "bubble";
9081 MY(underwater) = true;
9082 MY(velocityjitter) = '16.0 16.0 16.0';
9085 // Vaporizer hit effect
9087 SUB(TE_TEI_G3_HIT) {
9088 MY(alpha_min) = 128;
9089 MY(alpha_max) = 128;
9090 MY(alpha_fade) = 256;
9091 MY(color_min) = "0xFFFFFF";
9092 MY(color_max) = "0xFFFFFF";
9093 MY(countabsolute) = 1;
9100 SUB(TE_TEI_G3_HIT) /* rings */ {
9101 MY(airfriction) = -4;
9102 MY(alpha_min) = 256;
9103 MY(alpha_max) = 256;
9104 MY(alpha_fade) = 512;
9105 MY(color_min) = "0xFFFFFF";
9106 MY(color_max) = "0xFFFFFF";
9107 MY(sizeincrease) = -2;
9110 MY(trailspacing) = 20;
9112 MY(velocityjitter) = '2.0 2.0 2.0';
9114 SUB(TE_TEI_G3_HIT) {
9115 MY(airfriction) = -4;
9116 MY(alpha_min) = 256;
9117 MY(alpha_max) = 256;
9118 MY(alpha_fade) = 512;
9119 MY(color_min) = "0xFFFFFF";
9120 MY(color_max) = "0xFFFFFF";
9121 MY(sizeincrease) = -6;
9124 MY(trailspacing) = 40;
9128 // respawn ghosts effect
9130 SUB(respawn_ghost) {
9132 MY(type) = "static";
9133 MY(color_min) = "0xA0A0A0";
9134 MY(color_max) = "0xFFFFFF";
9139 MY(alpha_fade) = 128;
9140 MY(airfriction) = 1;
9141 MY(liquidfriction) = 4;
9142 MY(originoffset) = '0 0 -8';
9143 MY(originjitter) = '28 28 16';
9144 MY(velocityjitter) = '0 0 256';
9147 // originally based on goldendust
9151 // MY(type) = "smoke";
9153 MY(alpha_min) = 192;
9154 MY(alpha_max) = 256;
9155 MY(alpha_fade) = 256;
9156 MY(color_min) = "0xff9600";
9157 MY(color_max) = "0xffefb8";
9159 MY(originjitter) = '8 8 8';
9160 MY(sizeincrease) = 1;
9165 MY(velocityjitter) = '16 16 32';
9166 MY(lightradius) = 48;
9167 MY(lightradiusfade) 64;
9168 MY(lightcolor) '1 0.75 0.36';
9172 // always add new effects to the bottom of the list. And keep this comment in the bottom line of this file!