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 icy mist, 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) = "0x008aff";
4038 MY(color_max) = "0x75e7ff";
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) = "0x008aff";
4054 MY(color_max) = "0x75e7ff";
4056 MY(gravity) = -0.001000;
4057 MY(originjitter) = '333.0 333.0 0.0';
4058 MY(sizeincrease) = 10;
4066 // 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 )
4068 // flames that go up
4070 MY(airfriction) = 1;
4072 MY(alpha_max) = 256;
4073 MY(alpha_fade) = 200;
4074 MY(bounce) = 1.500000;
4075 MY(color_min) = "0x8f0d00";
4076 MY(color_max) = "0xff5a00";
4078 MY(gravity) = -0.060000;
4079 MY(originjitter) = '180.0 180.0 0.0';
4080 MY(sizeincrease) = 20;
4086 MY(velocityjitter) = '5.0 5.0 30.0';
4088 // flames that stay on the ground
4091 MY(alpha_max) = 256;
4092 MY(alpha_fade) = 200;
4093 MY(color_min) = "0x8f0d00";
4094 MY(color_max) = "0xff5a00";
4096 MY(originjitter) = '180.0 180.0 0.0';
4097 MY(sizeincrease) = 40;
4106 MY(alpha_min) = 256;
4107 MY(alpha_max) = 256;
4108 MY(alpha_fade) = 70;
4109 MY(color_min) = "0x000000";
4110 MY(color_max) = "0x111111";
4112 MY(gravity) = -0.020000;
4113 MY(originjitter) = '180.0 180.0 0.0';
4114 MY(sizeincrease) = 7;
4118 MY(type) = "alphastatic";
4121 // flamethrower, spawn it as fast as you can 20 times per second or more, it needs direction
4125 MY(airfriction) = 1.200000;
4127 MY(alpha_max) = 256;
4128 MY(alpha_fade) = 250;
4129 MY(bounce) = 1.500000;
4130 MY(color_min) = "0x8f0d00";
4131 MY(color_max) = "0xff5a00";
4133 MY(gravity) = -0.060000;
4134 MY(sizeincrease) = 20;
4140 MY(velocityjitter) = '40.0 40.0 11.0';
4141 MY(velocitymultiplier) = 30;
4145 MY(airfriction) = 1.200000;
4147 MY(alpha_max) = 256;
4148 MY(alpha_fade) = 200;
4149 MY(bounce) = 1.500000;
4150 MY(color_min) = "0x8f0d00";
4151 MY(color_max) = "0xff5a00";
4152 MY(count) = 2.500000;
4153 MY(gravity) = -0.060000;
4154 MY(sizeincrease) = 20;
4160 MY(velocityjitter) = '40.0 40.0 40.0';
4161 MY(velocitymultiplier) = 20;
4163 // very slow and small fire
4165 MY(airfriction) = 0.300000;
4167 MY(alpha_max) = 256;
4168 MY(alpha_fade) = 200;
4169 MY(bounce) = 1.500000;
4170 MY(color_min) = "0x8f0d00";
4171 MY(color_max) = "0xff5a00";
4172 MY(count) = 1.500000;
4173 MY(gravity) = -0.060000;
4174 MY(sizeincrease) = 10;
4180 MY(velocityjitter) = '30.0 30.0 30.0';
4181 MY(velocitymultiplier) = 10;
4185 MY(airfriction) = 0.300000;
4187 MY(alpha_max) = 256;
4188 MY(alpha_fade) = 200;
4189 MY(bounce) = 1.500000;
4190 MY(color_min) = "0x8f0d00";
4191 MY(color_max) = "0xff5a00";
4193 MY(gravity) = -0.060000;
4194 MY(sizeincrease) = -10;
4200 MY(velocityjitter) = '10.0 10.0 10.0';
4201 MY(velocitymultiplier) = 15;
4205 MY(airfriction) = 1;
4206 MY(alpha_min) = 256;
4207 MY(alpha_max) = 256;
4208 MY(alpha_fade) = 90;
4209 MY(color_min) = "0x000000";
4210 MY(color_max) = "0x111111";
4211 MY(count) = 0.500000;
4212 MY(originjitter) = '10.0 10.0 10.0';
4213 MY(sizeincrease) = 7;
4217 MY(type) = "alphastatic";
4218 MY(velocitymultiplier) = 20;
4219 MY(velocityoffset) = '0.0 0.0 10.0';
4222 // port-o-launch trail
4224 // glowing vapor trail
4226 MY(alpha_min) = 256;
4227 MY(alpha_max) = 256;
4228 MY(alpha_fade) = 968;
4229 MY(color_min) = "0x404040";
4230 MY(color_max) = "0x404040";
4231 MY(lightcolor) = '1.5 3.0 6.0';
4232 MY(lightradius) = 90;
4237 MY(trailspacing) = 4;
4238 MY(type) = "static";
4239 MY(velocitymultiplier) = -0.100000;
4243 MY(airfriction) = 12;
4244 MY(alpha_min) = 444;
4245 MY(alpha_max) = 512;
4246 MY(alpha_fade) = 1866;
4248 MY(color_min) = "0x404040";
4249 MY(color_max) = "0x404040";
4250 MY(count) = 1.500000;
4251 MY(originjitter) = '1.0 1.0 1.0';
4252 MY(sizeincrease) = -20;
4257 MY(trailspacing) = 12;
4259 MY(velocityjitter) = '50.0 50.0 50.0';
4260 MY(velocityoffset) = '0.0 0.0 15.0';
4265 // glowing vapor trail
4267 MY(alpha_min) = 256;
4268 MY(alpha_max) = 256;
4269 MY(alpha_fade) = 968;
4270 MY(color_min) = "0x804000";
4271 MY(color_max) = "0x804000";
4272 MY(lightcolor) = '1.5 3.0 6.0';
4273 MY(lightradius) = 90;
4278 MY(trailspacing) = 4;
4279 MY(type) = "static";
4280 MY(velocitymultiplier) = -0.100000;
4284 MY(airfriction) = 12;
4285 MY(alpha_min) = 444;
4286 MY(alpha_max) = 512;
4287 MY(alpha_fade) = 1866;
4289 MY(color_min) = "0xff8000";
4290 MY(color_max) = "0xff8000";
4291 MY(count) = 1.500000;
4292 MY(originjitter) = '1.0 1.0 1.0';
4293 MY(sizeincrease) = -20;
4298 MY(trailspacing) = 12;
4300 MY(velocityjitter) = '50.0 50.0 50.0';
4301 MY(velocityoffset) = '0.0 0.0 15.0';
4306 MY(alpha_min) = 256;
4307 MY(alpha_max) = 256;
4308 MY(countabsolute) = 1;
4309 MY(lightcolor) = '8.0 4.0 1.0';
4310 MY(lightradiusfade) = 400;
4311 MY(lightradius) = 150;
4312 MY(originjitter) = '40.0 40.0 40.0';
4319 // fire effect which make bright dot inside
4321 MY(airfriction) = 8;
4322 MY(alpha_min) = 128;
4323 MY(alpha_max) = 256;
4324 MY(alpha_fade) = 456;
4325 MY(bounce) = 1.500000;
4326 MY(color_min) = "0xffe955";
4327 MY(color_max) = "0xff5a00";
4329 MY(liquidfriction) = 8;
4330 MY(notunderwater) = true;
4331 MY(originjitter) = '8.0 8.0 8.0';
4332 MY(sizeincrease) = 5;
4338 MY(velocityjitter) = '156.0 156.0 156.0';
4340 // fire effect which expands then slows
4342 MY(airfriction) = 12;
4343 MY(alpha_min) = 128;
4344 MY(alpha_max) = 256;
4345 MY(alpha_fade) = 456;
4346 MY(bounce) = 1.500000;
4347 MY(color_min) = "0x8f0d00";
4348 MY(color_max) = "0xff5a00";
4350 MY(liquidfriction) = 8;
4351 MY(notunderwater) = true;
4352 MY(originjitter) = '8.0 8.0 8.0';
4353 MY(sizeincrease) = 15;
4358 MY(type) = "static";
4359 MY(velocityjitter) = '256.0 256.0 256.0';
4363 MY(airfriction) = 5;
4364 MY(alpha_min) = 500;
4365 MY(alpha_max) = 600;
4366 MY(alpha_fade) = 556;
4368 MY(color_min) = "0x000000";
4369 MY(color_max) = "0x111111";
4371 MY(notunderwater) = true;
4372 MY(sizeincrease) = 20;
4376 MY(type) = "alphastatic";
4377 MY(velocityjitter) = '244.0 244.0 244.0';
4379 // underwater bubbles
4381 MY(alpha_min) = 128;
4382 MY(alpha_max) = 256;
4383 MY(alpha_fade) = 64;
4384 MY(bounce) = 1.500000;
4385 MY(color_min) = "0x404040";
4386 MY(color_max) = "0x808080";
4388 MY(gravity) = -0.125000;
4389 MY(liquidfriction) = 0.250000;
4390 MY(originjitter) = '16.0 16.0 16.0';
4395 MY(type) = "bubble";
4396 MY(underwater) = true;
4397 MY(velocityjitter) = '96.0 96.0 96.0';
4401 MY(airfriction) = 0.200000;
4402 MY(alpha_min) = 256;
4403 MY(alpha_max) = 256;
4404 MY(alpha_fade) = 384;
4405 MY(bounce) = 1.500000;
4406 MY(color_min) = "0x903010";
4407 MY(color_max) = "0xFFD030";
4410 MY(liquidfriction) = 0.800000;
4411 MY(notunderwater) = true;
4417 MY(velocityjitter) = '256.0 256.0 256.0';
4418 MY(velocityoffset) = '0.0 0.0 80.0';
4421 // bullet trail (somewhat like a tracer)
4424 MY(alpha) = '500 600 10000';
4425 MY(color_min) = "0xf03000";
4426 MY(color_max) = "0xff6010";
4427 MY(countabsolute) = 1;
4428 MY(sizeincrease) = -3;
4436 MY(airfriction) = -4;
4437 MY(alpha) = '256 256 350';
4438 MY(color_min) = "0x202020";
4439 MY(color_max) = "0x404040";
4440 MY(notunderwater) = true;
4441 MY(sizeincrease) = 0.4;
4446 MY(trailspacing) = 16;
4448 MY(velocityjitter) = '4 4 4';
4451 MY(alpha_min) = 256;
4452 MY(alpha_max) = 256;
4453 MY(alpha_fade) = 128;
4454 MY(bounce) = 1.500000;
4455 MY(color_min) = "0x404040";
4456 MY(color_max) = "0x808080";
4457 MY(gravity) = -0.125000;
4458 MY(liquidfriction) = 4;
4463 MY(trailspacing) = 16;
4464 MY(type) = "bubble";
4465 MY(underwater) = true;
4466 MY(velocityjitter) = '16.0 16.0 16.0';
4469 // smoke emitter for small pipes
4470 DEF(smoking_smallemitter);
4471 SUB(smoking_smallemitter) {
4472 MY(airfriction) = -1;
4473 MY(alpha_min) = 200;
4474 MY(alpha_max) = 256;
4475 MY(alpha_fade) = 100;
4476 MY(color_min) = "0x292929";
4477 MY(color_max) = "0x000000";
4479 MY(gravity) = -0.100000;
4480 MY(originjitter) = '10.0 10.0 10.0';
4481 MY(sizeincrease) = 20;
4485 MY(type) = "alphastatic";
4486 MY(velocityjitter) = '5.0 5.0 20.0';
4490 DEF(TR_CRYLINKPLASMA);
4492 SUB(TR_CRYLINKPLASMA) {
4493 MY(alpha_min) = 256;
4494 MY(alpha_max) = 256;
4495 MY(alpha_fade) = 1024;
4496 MY(color_min) = "0x5522aa";
4497 MY(color_max) = "0x6622ff";
4498 MY(sizeincrease) = 8;
4503 MY(trailspacing) = 128;
4504 MY(type) = "static";
4505 MY(velocityjitter) = '8.0 8.0 8.0';
4506 MY(velocitymultiplier) = -0.010000;
4508 // crylink main trail
4509 SUB(TR_CRYLINKPLASMA) {
4510 MY(alpha_min) = 256;
4511 MY(alpha_max) = 256;
4512 MY(alpha_fade) = 2600;
4513 MY(color_min) = "0x5522aa";
4514 MY(color_max) = "0x6622ff";
4515 MY(sizeincrease) = 15;
4520 MY(trailspacing) = 16;
4521 MY(type) = "static";
4522 MY(velocityjitter) = '2.0 2.0 2.0';
4523 MY(velocitymultiplier) = 0.010000;
4527 SUB(cherryblossom) {
4528 MY(airfriction) = 1;
4529 MY(alpha_min) = 128;
4530 MY(alpha_max) = 256;
4531 MY(alpha_fade) = 32;
4532 MY(bounce) = 1.500000;
4533 MY(color_min) = "0xb123ff";
4534 MY(color_max) = "0xb183ff";
4535 MY(count) = 1.500000;
4536 MY(gravity) = 0.050000;
4537 MY(liquidfriction) = 1;
4538 MY(originjitter) = '16.0 16.0 16.0';
4539 MY(size_min) = 1.500000;
4543 MY(type) = "static";
4544 MY(velocityjitter) = '32.0 32.0 0.0';
4549 MY(airfriction) = 0.400000;
4550 MY(alpha_min) = 1560;
4551 MY(alpha_max) = 2560;
4552 MY(alpha_fade) = 7000;
4553 MY(blend) = "invmod";
4555 MY(color_min) = "0xDC9BCD";
4556 MY(color_max) = "0xDC9BCD";
4557 MY(count) = 0.400000;
4558 MY(sizeincrease) = 20;
4561 MY(staincolor_min) = "0xDC9BCD";
4562 MY(staincolor_max) = "0xDC9BCD";
4563 MY(stainsize_min) = 1;
4564 MY(stainsize_max) = 2;
4565 MY(staintex_min) = 16;
4566 MY(staintex_max) = 24;
4567 MY(stretchfactor) = 25;
4571 MY(velocityjitter) = '99.0 99.0 55.0';
4575 MY(alpha_min) = 3000;
4576 MY(alpha_max) = 5560;
4577 MY(alpha_fade) = 12000;
4578 MY(blend) = "invmod";
4579 MY(color_min) = "0xDC9BCD";
4580 MY(color_max) = "0xDC9BCD";
4581 MY(countabsolute) = 1;
4582 MY(originjitter) = '11.0 11.0 11.0';
4583 MY(sizeincrease) = 20;
4593 MY(airfriction) = 1;
4594 MY(alpha_min) = 256;
4595 MY(alpha_max) = 256;
4596 MY(alpha_fade) = 64;
4598 MY(color_min) = "0xff3000";
4599 MY(color_max) = "0xff7373";
4600 MY(count) = 0.167000;
4602 MY(liquidfriction) = 4;
4608 MY(velocityjitter) = '264.0 264.0 264.0';
4609 MY(velocityoffset) = '0.0 0.0 100.0';
4614 MY(alpha_fade) = 1000;
4615 MY(color_min) = "0xff8400";
4616 MY(color_max) = "0xffbb72";
4617 MY(countabsolute) = 1;
4618 MY(originjitter) = '11.0 11.0 11.0';
4619 MY(sizeincrease) = 800;
4628 MY(alpha_min) = 256;
4629 MY(alpha_max) = 256;
4630 MY(alpha_fade) = 5120;
4631 MY(color_min) = "0xff3000";
4632 MY(color_max) = "0xff8585";
4633 MY(count) = 0.100000;
4634 MY(originjitter) = '41.0 41.0 21.0';
4635 MY(startangle_min) = -180;
4636 MY(startangle_max) = 180;
4637 MY(spin_min) = 4000;
4638 MY(spin_max) = -4000;
4646 DEF(alien_TR_BLOOD);
4647 SUB(alien_TR_BLOOD) {
4648 MY(airfriction) = -2;
4649 MY(alpha_min) = 384;
4650 MY(alpha_max) = 984;
4651 MY(alpha_fade) = 1492;
4652 MY(blend) = "invmod";
4654 MY(color_min) = "0xC080B0";
4655 MY(color_max) = "0xC080B0";
4656 MY(gravity) = 0.400000;
4657 MY(liquidfriction) = 1;
4658 MY(sizeincrease) = -5;
4661 MY(staincolor_min) = "0xC080B0";
4662 MY(staincolor_max) = "0xC080B0";
4663 MY(stainsize_min) = 1;
4664 MY(stainsize_max) = 2;
4665 MY(staintex_min) = 16;
4666 MY(staintex_max) = 24;
4667 MY(stretchfactor) = 7;
4670 MY(trailspacing) = 20;
4672 MY(velocityjitter) = '64.0 64.0 64.0';
4673 MY(velocitymultiplier) = -0.100000;
4676 // splash around gib
4678 MY(alpha_min) = 684;
4679 MY(alpha_max) = 684;
4680 MY(alpha_fade) = 7492;
4681 MY(color_min) = "0xA8FFFF";
4682 MY(color_max) = "0xA8FFFF";
4683 MY(sizeincrease) = 500;
4688 MY(trailspacing) = 42;
4692 DEF(robot_TR_BLOOD);
4693 SUB(robot_TR_BLOOD) {
4694 MY(airfriction) = -2;
4695 MY(alpha_min) = 384;
4696 MY(alpha_max) = 984;
4697 MY(alpha_fade) = 1892;
4698 MY(blend) = "invmod";
4700 MY(color_min) = "0xC0D890";
4701 MY(color_max) = "0xC0D890";
4702 MY(gravity) = 0.400000;
4703 MY(liquidfriction) = 1;
4704 MY(sizeincrease) = -6;
4707 MY(staincolor_min) = "0x808080";
4708 MY(staincolor_max) = "0x808080";
4709 MY(stainsize_min) = 1;
4710 MY(stainsize_max) = 3;
4711 MY(staintex_min) = 16;
4712 MY(staintex_max) = 24;
4713 MY(stretchfactor) = 6;
4716 MY(trailspacing) = 16;
4718 MY(velocityjitter) = '64.0 64.0 64.0';
4719 MY(velocitymultiplier) = -0.300000;
4722 SUB(robot_TR_BLOOD) {
4723 MY(airfriction) = 4;
4724 MY(alpha_min) = 128;
4725 MY(alpha_max) = 256;
4726 MY(alpha_fade) = 900;
4727 MY(color_min) = "0x902010";
4728 MY(color_max) = "0xff3600";
4730 MY(liquidfriction) = 4;
4731 MY(notunderwater) = true;
4732 MY(sizeincrease) = 10;
4735 MY(stretchfactor) = 5;
4738 MY(trailspacing) = 16;
4740 MY(velocityjitter) = '44.0 44.0 44.0';
4743 SUB(robot_TR_BLOOD) {
4744 MY(alpha_min) = 1128;
4745 MY(alpha_max) = 1256;
4746 MY(alpha_fade) = 44900;
4747 MY(color_min) = "0xff3000";
4748 MY(color_max) = "0xff8585";
4749 MY(startangle_min) = -180;
4750 MY(startangle_max) = 180;
4751 MY(spin_min) = 4000;
4752 MY(spin_max) = -4000;
4757 MY(trailspacing) = 128;
4759 MY(velocityjitter) = '44.0 44.0 44.0';
4762 DEF(alien_TR_SLIGHTBLOOD);
4763 SUB(alien_TR_SLIGHTBLOOD) {
4764 MY(airfriction) = 1;
4765 MY(alpha_min) = 384;
4766 MY(alpha_max) = 384;
4767 MY(alpha_fade) = 192;
4769 MY(color_min) = "0xC080B0";
4770 MY(color_max) = "0xC080B0";
4771 MY(liquidfriction) = 4;
4774 MY(staincolor_min) = "0x808080";
4775 MY(staincolor_max) = "0x808080";
4776 MY(staintex_min) = 16;
4777 MY(staintex_max) = 24;
4780 MY(trailspacing) = 64;
4782 MY(velocityjitter) = '64.0 64.0 64.0';
4783 MY(velocitymultiplier) = 0.500000;
4786 DEF(robot_TR_SLIGHTBLOOD);
4787 SUB(robot_TR_SLIGHTBLOOD) {
4788 MY(airfriction) = 1;
4789 MY(alpha_min) = 384;
4790 MY(alpha_max) = 384;
4791 MY(alpha_fade) = 192;
4793 MY(color_min) = "0xC0D890";
4794 MY(color_max) = "0xC0D890";
4795 MY(liquidfriction) = 4;
4798 MY(staincolor_min) = "0x808080";
4799 MY(staincolor_max) = "0x808080";
4800 MY(staintex_min) = 16;
4801 MY(staintex_max) = 24;
4804 MY(trailspacing) = 64;
4806 MY(velocityjitter) = '64.0 64.0 64.0';
4807 MY(velocitymultiplier) = 0.500000;
4811 // flare particle and light
4813 MY(alpha_min) = 128;
4815 MY(alpha_fade) = 64;
4816 MY(color_min) = "0x63F2EA";
4817 MY(color_max) = "0xB0C5C4";
4818 MY(countabsolute) = 1;
4821 MY(type) = "static";
4823 // cloud of particles which expand rapidly and then slow to form a ball
4825 MY(alpha_min) = 256;
4826 MY(alpha_max) = 256;
4827 MY(alpha_fade) = 1280;
4828 MY(color_min) = "0x63F2EA";
4829 MY(color_max) = "0xB0C5C4";
4836 MY(velocityjitter) = '256.0 256.0 256.0';
4841 MY(alpha_min) = 156;
4842 MY(alpha_max) = 656;
4843 MY(alpha_fade) = 1664;
4844 MY(blend) = "invmod";
4846 MY(color_min) = "0xA8FFFF";
4847 MY(color_max) = "0xA8FFFFF";
4850 MY(liquidfriction) = 4;
4853 MY(staincolor_min) = "0x808080";
4854 MY(staincolor_max) = "0x808080";
4855 MY(stainsize_min) = 1;
4856 MY(stainsize_max) = 2;
4857 MY(staintex_min) = 16;
4858 MY(staintex_max) = 24;
4859 MY(stretchfactor) = 3;
4863 MY(velocityjitter) = '764.0 764.0 764.0';
4867 MY(alpha_min) = 156;
4868 MY(alpha_max) = 656;
4869 MY(alpha_fade) = 1664;
4870 MY(blend) = "invmod";
4871 MY(color_min) = "0xA8FFFF";
4872 MY(color_max) = "0xA8FFFFF";
4873 MY(countabsolute) = 0.100000;
4874 MY(originjitter) = '50.0 50.0 50.0';
4875 MY(sizeincrease) = 300;
4883 DEF(alien_bloodshower);
4884 SUB(alien_bloodshower) {
4885 MY(alpha_min) = 156;
4886 MY(alpha_max) = 656;
4887 MY(alpha_fade) = 1664;
4888 MY(blend) = "invmod";
4890 MY(color_min) = "0xC080B0";
4891 MY(color_max) = "0xC080B0";
4894 MY(liquidfriction) = 4;
4897 MY(staincolor_min) = "0xC080B0";
4898 MY(staincolor_max) = "0xC080B0";
4899 MY(stainsize_min) = 1;
4900 MY(stainsize_max) = 2;
4901 MY(staintex_min) = 16;
4902 MY(staintex_max) = 24;
4903 MY(stretchfactor) = 3;
4907 MY(velocityjitter) = '764.0 764.0 764.0';
4911 MY(alpha_min) = 156;
4912 MY(alpha_max) = 656;
4913 MY(alpha_fade) = 1664;
4914 MY(blend) = "invmod";
4915 MY(color_min) = "0xA8FFFF";
4916 MY(color_max) = "0xA8FFFFF";
4917 MY(countabsolute) = 0.100000;
4918 MY(originjitter) = '50.0 50.0 50.0';
4919 MY(sizeincrease) = 300;
4927 DEF(robot_bloodshower);
4928 SUB(robot_bloodshower) {
4929 MY(alpha_min) = 156;
4930 MY(alpha_max) = 656;
4931 MY(alpha_fade) = 1664;
4932 MY(blend) = "invmod";
4934 MY(color_min) = "0xC0D890";
4935 MY(color_max) = "0xC0D890";
4938 MY(liquidfriction) = 4;
4941 MY(staincolor_min) = "0xC0D890";
4942 MY(staincolor_max) = "0xC0D890";
4943 MY(stainsize_min) = 1;
4944 MY(stainsize_max) = 2;
4945 MY(staintex_min) = 16;
4946 MY(staintex_max) = 24;
4947 MY(stretchfactor) = 3;
4951 MY(velocityjitter) = '764.0 764.0 764.0';
4954 SUB(robot_bloodshower) {
4955 MY(alpha_min) = 1128;
4956 MY(alpha_max) = 1256;
4957 MY(alpha_fade) = 4200;
4958 MY(color_min) = "0xff3000";
4959 MY(color_max) = "0xff8585";
4960 MY(count) = 2.500000;
4961 MY(originjitter) = '150.0 150.0 150.0';
4962 MY(startangle_min) = -180;
4963 MY(startangle_max) = 180;
4971 MY(velocityjitter) = '44.0 44.0 44.0';
4974 SUB(robot_bloodshower) {
4976 MY(alpha_max) = 125;
4977 MY(alpha_fade) = 990;
4978 MY(color_min) = "0xff3000";
4979 MY(color_max) = "0xff8585";
4980 MY(count) = 2.500000;
4981 MY(sizeincrease) = 3000;
4989 #define ground_quake(name, colormin, colormax) \
4990 DEF(name##_ground_quake); \
4991 SUB(name##_ground_quake) /* smoke */ { \
4992 MY(airfriction) = 3; \
4993 MY(alpha_min) = 100; \
4994 MY(alpha_max) = 126; \
4995 MY(alpha_fade) = 200; \
4996 MY(bounce) = 1.100000; \
4997 MY(color_min) = "0x111111"; \
4998 MY(color_max) = "0xbbbbbb"; \
5000 MY(gravity) = 0.500000; \
5001 MY(notunderwater) = true; \
5002 MY(sizeincrease) = 100; \
5003 MY(size_min) = 20; \
5004 MY(size_max) = 50; \
5007 MY(time_max) = 10; \
5008 MY(type) = "smoke"; \
5009 MY(velocityjitter) = '190.0 190.0 50.0'; \
5011 SUB(name##_ground_quake) { \
5012 MY(airfriction) = 4; \
5013 MY(alpha_min) = 100; \
5014 MY(alpha_max) = 126; \
5015 MY(alpha_fade) = 200; \
5016 MY(bounce) = 1.200000; \
5017 MY(color_min) = "0x111111"; \
5018 MY(color_max) = "0x979797"; \
5020 MY(gravity) = 0.200000; \
5021 MY(notunderwater) = true; \
5022 MY(sizeincrease) = 60; \
5023 MY(size_min) = 10; \
5024 MY(size_max) = 30; \
5026 MY(time_min) = 10; \
5027 MY(time_max) = 15; \
5028 MY(type) = "smoke"; \
5029 MY(velocityjitter) = '190.0 190.0 50.0'; \
5031 SUB(name##_ground_quake) { \
5032 MY(alpha_min) = 200; \
5033 MY(alpha_max) = 356; \
5034 MY(alpha_fade) = 512; \
5036 MY(color_min) = colormin; \
5037 MY(color_max) = colormax; \
5039 MY(gravity) = -0.500000; \
5040 MY(originjitter) = '33.0 33.0 33.0'; \
5041 MY(sizeincrease) = 5; \
5043 MY(size_max) = 20; \
5046 MY(time_min) = 15; \
5047 MY(time_max) = 25; \
5048 MY(type) = "smoke"; \
5049 MY(velocityjitter) = '22.0 22.0 50.0'; \
5051 SUB(name##_ground_quake) /* smoke */ { \
5052 MY(alpha_min) = 200; \
5053 MY(alpha_max) = 256; \
5054 MY(alpha_fade) = 200; \
5056 MY(color_min) = "0x000000"; \
5057 MY(color_max) = "0xffffff"; \
5059 MY(gravity) = -0.300000; \
5060 MY(originjitter) = '44.0 44.0 44.0'; \
5061 MY(sizeincrease) = 11; \
5062 MY(size_min) = 22; \
5063 MY(size_max) = 33; \
5065 MY(time_min) = 25; \
5066 MY(time_max) = 35; \
5067 MY(type) = "alphastatic"; \
5068 MY(velocityjitter) = '11.0 11.0 50.0'; \
5072 ground_quake(red, "0x9E6A64", "0x91302D")
5073 ground_quake(blue, "0x64679E", "0x2D4C91")
5076 #include "effectinfo_gentle_morphed.inc"
5078 // Team / hit vaporizer effects
5079 #define TE_TEI_G3(name, colormin1, colormax1, colormin2, colormax2) \
5080 DEF(TE_TEI_G3##name); \
5081 SUB(TE_TEI_G3##name) { \
5082 MY(alpha_min) = 128; \
5083 MY(alpha_max) = 128; \
5084 MY(alpha_fade) = 256; \
5085 MY(color_min) = colormin1; \
5086 MY(color_max) = colormax1; \
5087 MY(countabsolute) = 1; \
5090 MY(tex_min) = 200; \
5091 MY(tex_max) = 200; \
5092 MY(type) = "beam"; \
5094 SUB(TE_TEI_G3##name) { \
5095 MY(airfriction) = -4; \
5096 MY(alpha_min) = 256; \
5097 MY(alpha_max) = 256; \
5098 MY(alpha_fade) = 512; \
5099 MY(color_min) = colormin2; \
5100 MY(color_max) = colormax2; \
5101 MY(sizeincrease) = 3; \
5102 MY(size_min) = 0.300000; \
5103 MY(size_max) = 0.300000; \
5106 MY(trailspacing) = 8; \
5107 MY(type) = "smoke"; \
5108 MY(velocityjitter) = '3.0 3.0 3.0'; \
5110 DEF(TE_TEI_G3##name##_HIT); \
5111 SUB(TE_TEI_G3##name##_HIT) { \
5112 MY(alpha_min) = 128; \
5113 MY(alpha_max) = 128; \
5114 MY(alpha_fade) = 256; \
5115 MY(color_min) = colormin1; \
5116 MY(color_max) = colormax1; \
5117 MY(countabsolute) = 1; \
5120 MY(tex_min) = 200; \
5121 MY(tex_max) = 200; \
5122 MY(type) = "beam"; \
5124 SUB(TE_TEI_G3##name##_HIT) /* rings */ { \
5125 MY(airfriction) = -4; \
5126 MY(alpha_min) = 256; \
5127 MY(alpha_max) = 256; \
5128 MY(alpha_fade) = 512; \
5129 MY(color_min) = "0xFFFFFF"; \
5130 MY(color_max) = colormax1; \
5131 MY(sizeincrease) = -2; \
5134 MY(trailspacing) = 20; \
5135 MY(type) = "smoke"; \
5136 MY(velocityjitter) = '2.0 2.0 2.0'; \
5138 SUB(TE_TEI_G3##name##_HIT) { \
5139 MY(airfriction) = -4; \
5140 MY(alpha_min) = 256; \
5141 MY(alpha_max) = 256; \
5142 MY(alpha_fade) = 512; \
5143 MY(color_min) = colormin1; \
5144 MY(color_max) = colormax1; \
5145 MY(sizeincrease) = -6; \
5146 MY(size_min) = 10; \
5147 MY(size_max) = 10; \
5148 MY(trailspacing) = 40; \
5149 MY(type) = "smoke"; \
5152 TE_TEI_G3(RED, "0xFF0000", "0xFF0011", "0x200000", "0x400000")
5153 TE_TEI_G3(BLUE, "0x0000FF", "0x1100FF", "0x000020", "0x000040")
5154 TE_TEI_G3(YELLOW, "0xffff00", "0xffff11", "0x202000", "0x404000")
5155 TE_TEI_G3(PINK, "0xFF00FF", "0xFF11FF", "0x200020", "0x400040")
5158 #include "effectinfo_gentle_particlegibs.inc"
5160 #include "effectinfo_onslaught.inc"
5164 MY(airfriction) = 1.200000;
5166 MY(alpha_max) = 256;
5167 MY(alpha_fade) = 250;
5168 MY(bounce) = 1.500000;
5169 MY(color_min) = "0x8f0d00";
5170 MY(color_max) = "0xff5a00";
5171 MY(count) = 0.500000;
5172 MY(gravity) = -0.060000;
5173 MY(sizeincrease) = 5;
5178 MY(trailspacing) = 2;
5180 MY(velocityjitter) = '10.0 10.0 2.0';
5184 MY(airfriction) = 1.200000;
5186 MY(alpha_max) = 256;
5187 MY(alpha_fade) = 200;
5188 MY(bounce) = 1.500000;
5189 MY(color_min) = "0x8f0d00";
5190 MY(color_max) = "0xff5a00";
5191 MY(count) = 0.500000;
5192 MY(gravity) = -0.060000;
5193 MY(sizeincrease) = 5;
5198 MY(trailspacing) = 2;
5200 MY(velocityjitter) = '10.0 10.0 10.0';
5202 // very slow and small fire
5204 MY(airfriction) = 0.300000;
5206 MY(alpha_max) = 256;
5207 MY(alpha_fade) = 200;
5208 MY(bounce) = 1.500000;
5209 MY(color_min) = "0x8f0d00";
5210 MY(color_max) = "0xff5a00";
5211 MY(count) = 0.500000;
5212 MY(gravity) = -0.060000;
5213 MY(sizeincrease) = 2;
5218 MY(trailspacing) = 4;
5220 MY(velocityjitter) = '8.0 8.0 8.0';
5224 MY(airfriction) = 0.300000;
5226 MY(alpha_max) = 256;
5227 MY(alpha_fade) = 200;
5228 MY(bounce) = 1.500000;
5229 MY(color_min) = "0x8f0d00";
5230 MY(color_max) = "0xff5a00";
5231 MY(count) = 0.500000;
5232 MY(gravity) = -0.060000;
5233 MY(sizeincrease) = -3;
5238 MY(trailspacing) = 4;
5240 MY(velocityjitter) = '3.0 3.0 3.0';
5244 MY(airfriction) = 1;
5245 MY(alpha_min) = 256;
5246 MY(alpha_max) = 256;
5247 MY(alpha_fade) = 90;
5248 MY(color_min) = "0x000000";
5249 MY(color_max) = "0x111111";
5250 MY(count) = 0.500000;
5251 MY(originjitter) = '2.0 2.0 2.0';
5252 MY(sizeincrease) = 1;
5256 MY(trailspacing) = 8;
5257 MY(type) = "alphastatic";
5258 MY(velocityoffset) = '0.0 0.0 3.0';
5262 MY(airfriction) = 1.200000;
5264 MY(alpha_max) = 256;
5265 MY(alpha_fade) = 1600;
5266 MY(bounce) = 1.500000;
5267 MY(color_min) = "0x8f0d00";
5268 MY(color_max) = "0xff5a00";
5269 MY(count) = 0.500000;
5274 MY(trailspacing) = 1;
5279 MY(lightcolor) = '2.7 2.7 0.6';
5280 MY(lightradiusfade) = 50000;
5281 MY(lightradius) = 50;
5282 MY(trailspacing) = 16;
5287 MY(airfriction) = 1.200000;
5289 MY(alpha_max) = 256;
5290 MY(alpha_fade) = 250;
5291 MY(bounce) = 1.500000;
5292 MY(color_min) = "0x8f0d00";
5293 MY(color_max) = "0xff5a00";
5294 MY(count) = 0.500000;
5295 MY(gravity) = -0.060000;
5296 MY(sizeincrease) = 20;
5301 MY(trailspacing) = 2;
5303 MY(velocityjitter) = '40.0 40.0 11.0';
5307 MY(airfriction) = 1.200000;
5309 MY(alpha_max) = 256;
5310 MY(alpha_fade) = 200;
5311 MY(bounce) = 1.500000;
5312 MY(color_min) = "0x8f0d00";
5313 MY(color_max) = "0xff5a00";
5314 MY(count) = 0.500000;
5315 MY(gravity) = -0.060000;
5316 MY(sizeincrease) = 20;
5321 MY(trailspacing) = 2;
5323 MY(velocityjitter) = '40.0 40.0 40.0';
5325 // very slow and small fire
5327 MY(airfriction) = 0.300000;
5329 MY(alpha_max) = 256;
5330 MY(alpha_fade) = 200;
5331 MY(bounce) = 1.500000;
5332 MY(color_min) = "0x8f0d00";
5333 MY(color_max) = "0xff5a00";
5334 MY(count) = 0.500000;
5335 MY(gravity) = -0.060000;
5336 MY(sizeincrease) = 10;
5341 MY(trailspacing) = 4;
5343 MY(velocityjitter) = '30.0 30.0 30.0';
5347 MY(airfriction) = 0.300000;
5349 MY(alpha_max) = 256;
5350 MY(alpha_fade) = 200;
5351 MY(bounce) = 1.500000;
5352 MY(color_min) = "0x8f0d00";
5353 MY(color_max) = "0xff5a00";
5354 MY(count) = 0.500000;
5355 MY(gravity) = -0.060000;
5356 MY(sizeincrease) = -10;
5361 MY(trailspacing) = 4;
5363 MY(velocityjitter) = '10.0 10.0 10.0';
5367 MY(airfriction) = 1;
5368 MY(alpha_min) = 256;
5369 MY(alpha_max) = 256;
5370 MY(alpha_fade) = 90;
5371 MY(color_min) = "0x000000";
5372 MY(color_max) = "0x111111";
5373 MY(count) = 0.500000;
5374 MY(originjitter) = '10.0 10.0 10.0';
5375 MY(sizeincrease) = 7;
5379 MY(trailspacing) = 8;
5380 MY(type) = "alphastatic";
5381 MY(velocityoffset) = '0.0 0.0 10.0';
5385 MY(airfriction) = 1.200000;
5387 MY(alpha_max) = 256;
5388 MY(alpha_fade) = 1600;
5389 MY(bounce) = 1.500000;
5390 MY(color_min) = "0x8f0d00";
5391 MY(color_max) = "0xff5a00";
5392 MY(count) = 0.500000;
5397 MY(trailspacing) = 1;
5402 MY(lightcolor) = '2.7 2.7 0.6';
5403 MY(lightradiusfade) = 3000;
5404 MY(lightradius) = 300;
5405 MY(trailspacing) = 16;
5408 DEF(fireball_laser);
5409 SUB(fireball_laser) {
5410 MY(alpha_min) = 192;
5411 MY(alpha_max) = 256;
5412 MY(alpha_fade) = 2560;
5413 MY(color_min) = "0x800000";
5414 MY(color_max) = "0xFF8020";
5418 MY(stretchfactor) = 0.700000;
5420 MY(velocityjitter) = '1.0 1.0 1.0';
5421 MY(velocitymultiplier) = 10;
5424 // rocket explosion (bigger than mortar and hagar)
5425 DEF(fireball_explode);
5427 SUB(fireball_explode) {
5428 MY(alpha_min) = 256;
5429 MY(alpha_max) = 256;
5430 MY(countabsolute) = 1;
5431 MY(lightcolor) = '4.0 2.0 0.5';
5432 MY(lightradiusfade) = 500;
5433 MY(lightradius) = 500;
5434 MY(originjitter) = '56.0 56.0 56.0';
5442 SUB(fireball_explode) {
5443 MY(alpha_min) = 192;
5444 MY(alpha_max) = 192;
5445 MY(alpha_fade) = 64;
5446 MY(color_min) = "0x404040";
5447 MY(color_max) = "0x404040";
5448 MY(countabsolute) = 1;
5453 MY(type) = "static";
5456 SUB(fireball_explode) {
5457 MY(airfriction) = 4;
5458 MY(alpha_min) = 128;
5459 MY(alpha_max) = 128;
5460 MY(alpha_fade) = 256;
5461 MY(bounce) = 1.500000;
5462 MY(color_min) = "0x902010";
5463 MY(color_max) = "0xFFD080";
5465 MY(liquidfriction) = 4;
5466 MY(notunderwater) = true;
5467 MY(originjitter) = '8.0 8.0 8.0';
5472 MY(type) = "static";
5473 MY(velocityjitter) = '512.0 512.0 512.0';
5475 // underwater bubbles
5476 SUB(fireball_explode) {
5477 MY(alpha_min) = 128;
5478 MY(alpha_max) = 256;
5479 MY(alpha_fade) = 64;
5480 MY(bounce) = 1.500000;
5481 MY(color_min) = "0x404040";
5482 MY(color_max) = "0x808080";
5484 MY(gravity) = -0.125000;
5485 MY(liquidfriction) = 0.250000;
5486 MY(originjitter) = '16.0 16.0 16.0';
5491 MY(type) = "bubble";
5492 MY(underwater) = true;
5493 MY(velocityjitter) = '144.0 144.0 144.0';
5496 SUB(fireball_explode) {
5497 MY(airfriction) = 0.200000;
5498 MY(alpha_min) = 256;
5499 MY(alpha_max) = 256;
5500 MY(alpha_fade) = 384;
5501 MY(bounce) = 1.500000;
5502 MY(color_min) = "0x903010";
5503 MY(color_max) = "0xFFD030";
5506 MY(liquidfriction) = 0.800000;
5507 MY(notunderwater) = true;
5511 MY(velocityjitter) = '384.0 384.0 384.0';
5512 MY(velocityoffset) = '0.0 0.0 80.0';
5515 DEF(fireball_muzzleflash);
5516 SUB(fireball_muzzleflash) {
5517 MY(alpha_min) = 256;
5518 MY(alpha_max) = 256;
5519 MY(alpha_fade) = 512;
5520 MY(color_min) = "0x202020";
5521 MY(color_max) = "0x404040";
5523 MY(lightcolor) = '2.0 1.5 0.2';
5524 MY(lightradiusfade) = 2000;
5525 MY(lightradius) = 200;
5526 MY(originjitter) = '1.5 1.5 1.5';
5531 MY(velocityjitter) = '6.0 6.0 6.0';
5532 MY(velocitymultiplier) = 0.010000;
5534 SUB(fireball_muzzleflash) {
5535 MY(airfriction) = 12;
5536 MY(alpha_max) = 128;
5537 MY(alpha_fade) = 1024;
5538 MY(color_min) = "0xFFFDD9";
5539 MY(color_max) = "0xFFFDD9";
5541 MY(originjitter) = '1.0 1.0 1.0';
5547 MY(velocityjitter) = '300.0 300.0 300.0';
5548 MY(velocitymultiplier) = 0.500000;
5551 DEF(fireball_preattack_muzzleflash);
5552 SUB(fireball_preattack_muzzleflash) {
5553 MY(alpha_min) = 256;
5554 MY(alpha_max) = 256;
5555 MY(alpha_fade) = 512;
5556 MY(color_min) = "0x202020";
5557 MY(color_max) = "0x404040";
5559 MY(lightcolor) = '2.0 1.5 0.2';
5560 MY(lightradiusfade) = 2000;
5561 MY(lightradius) = 200;
5562 MY(originjitter) = '1.5 1.5 1.5';
5567 MY(velocityjitter) = '6.0 6.0 6.0';
5568 MY(velocitymultiplier) = 0.010000;
5570 SUB(fireball_preattack_muzzleflash) {
5571 MY(airfriction) = 12;
5572 MY(alpha_max) = 128;
5573 MY(alpha_fade) = 1024;
5574 MY(color_min) = "0xFFFDD9";
5575 MY(color_max) = "0xFFFDD9";
5577 MY(originjitter) = '1.0 1.0 1.0';
5583 MY(velocityjitter) = '300.0 300.0 300.0';
5584 MY(velocitymultiplier) = 0.500000;
5587 DEF(fireball_bfgdamage);
5588 SUB(fireball_bfgdamage) {
5589 MY(alpha_min) = 256;
5590 MY(alpha_max) = 256;
5591 MY(alpha_fade) = 512;
5592 MY(color_min) = "0x202020";
5593 MY(color_max) = "0x404040";
5595 MY(lightcolor) = '2.0 1.5 0.2';
5596 MY(lightradiusfade) = 2000;
5597 MY(lightradius) = 200;
5598 MY(originjitter) = '1.5 1.5 1.5';
5603 MY(velocityjitter) = '6.0 6.0 6.0';
5604 MY(velocitymultiplier) = 0.010000;
5606 SUB(fireball_bfgdamage) {
5607 MY(airfriction) = 12;
5608 MY(alpha_max) = 128;
5609 MY(alpha_fade) = 1024;
5610 MY(color_min) = "0xFFFDD9";
5611 MY(color_max) = "0xFFFDD9";
5613 MY(originjitter) = '1.0 1.0 1.0';
5619 MY(velocityjitter) = '300.0 300.0 300.0';
5620 MY(velocitymultiplier) = 0.500000;
5626 MY(alpha_min) = 200;
5627 MY(alpha_max) = 356;
5628 MY(alpha_fade) = 512;
5630 MY(color_min) = "0x8f0d00";
5631 MY(color_max) = "0xff5a00";
5633 MY(gravity) = -0.500000;
5634 MY(originjitter) = '12.0 12.0 34.0';
5635 MY(originoffset) = '0.0 0.0 10.0';
5636 MY(sizeincrease) = -1;
5642 MY(velocityjitter) = '22.0 22.0 50.0';
5646 MY(alpha_min) = 200;
5647 MY(alpha_max) = 256;
5648 MY(alpha_fade) = 200;
5650 MY(color_min) = "0x000000";
5651 MY(color_max) = "0x111111";
5653 MY(gravity) = -0.300000;
5654 MY(originjitter) = '12.0 12.0 34.0';
5655 MY(originoffset) = '0.0 0.0 10.0';
5656 MY(sizeincrease) = 6;
5660 MY(type) = "alphastatic";
5661 MY(velocityjitter) = '11.0 11.0 50.0';
5664 MY(count) = 0.500000;
5665 MY(lightcolor) = '0.9 0.9 0.2';
5666 MY(lightradiusfade) = 10000;
5667 MY(lightradius) = 200;
5670 // rifle bullet trail (somewhat like a tracer)
5673 MY(alpha_min) = 256;
5674 MY(alpha_max) = 256;
5675 MY(alpha_fade) = 2560;
5676 MY(color_min) = "0x800000";
5677 MY(color_max) = "0xFF8020";
5678 MY(size_min) = 1.500000;
5679 MY(size_max) = 1.500000;
5680 MY(stretchfactor) = 1;
5681 MY(trailspacing) = 128;
5683 MY(velocitymultiplier) = 0.700000;
5686 MY(airfriction) = -4;
5687 MY(alpha_min) = 256;
5688 MY(alpha_max) = 256;
5689 MY(alpha_fade) = 256;
5690 MY(color_min) = "0x202020";
5691 MY(color_max) = "0x404040";
5692 MY(notunderwater) = true;
5693 MY(sizeincrease) = 0.400000;
5697 MY(trailspacing) = 8;
5699 MY(velocityjitter) = '4.0 4.0 4.0';
5702 MY(alpha_min) = 256;
5703 MY(alpha_max) = 256;
5704 MY(alpha_fade) = 128;
5705 MY(bounce) = 1.500000;
5706 MY(color_min) = "0x404040";
5707 MY(color_max) = "0x808080";
5708 MY(gravity) = -0.125000;
5709 MY(liquidfriction) = 4;
5714 MY(trailspacing) = 32;
5715 MY(type) = "bubble";
5716 MY(underwater) = true;
5717 MY(velocityjitter) = '16.0 16.0 16.0';
5720 // rocket guiding start
5722 // underwater bubbles
5724 MY(alpha_min) = 128;
5725 MY(alpha_max) = 256;
5726 MY(alpha_fade) = 64;
5727 MY(bounce) = 1.500000;
5728 MY(color_min) = "0x404040";
5729 MY(color_max) = "0x808080";
5731 MY(gravity) = -0.125000;
5732 MY(liquidfriction) = 0.250000;
5733 MY(originjitter) = '8.0 8.0 8.0';
5734 MY(size_min) = 1.500000;
5735 MY(size_max) = 1.500000;
5738 MY(type) = "bubble";
5739 MY(underwater) = true;
5740 MY(velocityjitter) = '48.0 48.0 48.0';
5741 MY(velocitymultiplier) = -0.100000;
5745 MY(airfriction) = 0.200000;
5746 MY(alpha_min) = 256;
5747 MY(alpha_max) = 256;
5748 MY(alpha_fade) = 984;
5749 MY(bounce) = 1.500000;
5750 MY(color_min) = "0x903010";
5751 MY(color_max) = "0xFFD030";
5754 MY(liquidfriction) = 0.800000;
5755 MY(notunderwater) = true;
5756 MY(size_min) = 0.300000;
5757 MY(size_max) = 0.700000;
5758 MY(stretchfactor) = 0.400000;
5762 MY(velocityjitter) = '156.0 156.0 156.0';
5763 MY(velocitymultiplier) = -0.300000;
5764 MY(velocityoffset) = '0.0 0.0 80.0';
5767 MY(alpha_min) = 100;
5768 MY(alpha_max) = 100;
5769 MY(alpha_fade) = 500;
5770 MY(color_min) = "0x903010";
5771 MY(color_max) = "0xFFD030";
5772 MY(countabsolute) = 1;
5773 MY(sizeincrease) = 300;
5782 DEF(laser_gauntlet);
5783 SUB(laser_gauntlet) {
5784 MY(airfriction) = 10;
5785 MY(alpha_min) = 128;
5786 MY(alpha_max) = 512;
5787 MY(alpha_fade) = 6280;
5788 MY(color_min) = "0xb44215";
5789 MY(color_max) = "0x880000";
5791 MY(originjitter) = '2.0 2.0 2.0';
5792 MY(startangle_min) = -180;
5793 MY(startangle_max) = 180;
5794 MY(spin_min) = 4000;
5795 MY(spin_max) = -4000;
5796 MY(sizeincrease) = -100;
5799 MY(stretchfactor) = 2.300000;
5803 MY(velocityjitter) = '150.0 150.0 150.0';
5804 MY(velocitymultiplier) = 0.200000;
5806 SUB(laser_gauntlet) {
5807 MY(airfriction) = 12;
5808 MY(alpha_min) = 256;
5809 MY(alpha_max) = 512;
5810 MY(alpha_fade) = 6280;
5811 MY(color_min) = "0xff4200";
5812 MY(color_max) = "0xff0000";
5814 MY(originjitter) = '2.0 2.0 2.0';
5815 MY(sizeincrease) = -100;
5818 MY(stretchfactor) = 2;
5822 MY(velocityjitter) = '100.0 100.0 100.0';
5823 MY(velocitymultiplier) = 0.200000;
5826 DEF(laser_gauntletmuzzleflash);
5828 SUB(laser_gauntletmuzzleflash) {
5829 MY(airfriction) = 10;
5830 MY(alpha_min) = 256;
5831 MY(alpha_max) = 512;
5832 MY(alpha_fade) = 6280;
5833 MY(color_min) = "0x220000";
5834 MY(color_max) = "0x880000";
5835 MY(countabsolute) = 1;
5836 MY(lightcolor) = '3.0 0.1 0.1';
5837 MY(lightradiusfade) = 500;
5838 MY(lightradius) = 150;
5839 MY(sizeincrease) = -100;
5842 MY(stretchfactor) = 2;
5848 SUB(laser_gauntletmuzzleflash) {
5849 MY(airfriction) = 10;
5850 MY(alpha_min) = 128;
5851 MY(alpha_max) = 512;
5852 MY(alpha_fade) = 6280;
5853 MY(color_min) = "0xb44215";
5854 MY(color_max) = "0x880000";
5856 MY(originjitter) = '2.0 2.0 2.0';
5857 MY(startangle_min) = -180;
5858 MY(startangle_max) = 180;
5859 MY(spin_min) = 4000;
5860 MY(spin_max) = -4000;
5861 MY(sizeincrease) = -100;
5864 MY(stretchfactor) = 2.300000;
5868 MY(velocityjitter) = '150.0 150.0 150.0';
5869 MY(velocitymultiplier) = 0.200000;
5872 SUB(laser_gauntletmuzzleflash) {
5873 MY(airfriction) = 12;
5874 MY(alpha_min) = 256;
5875 MY(alpha_max) = 512;
5876 MY(alpha_fade) = 6280;
5877 MY(color_min) = "0xff4200";
5878 MY(color_max) = "0xff0000";
5880 MY(originjitter) = '2.0 2.0 2.0';
5881 MY(sizeincrease) = -100;
5884 MY(stretchfactor) = 2;
5888 MY(velocityjitter) = '100.0 100.0 100.0';
5889 MY(velocitymultiplier) = 0.200000;
5892 // torch flame, spawn it as fast as you can 20 times per second or more, supports direction but not required
5896 MY(airfriction) = 1.200000;
5898 MY(alpha_max) = 256;
5899 MY(alpha_fade) = 250;
5900 MY(color_min) = "0x8f0d00";
5901 MY(color_max) = "0xff5a00";
5903 MY(gravity) = -0.060000;
5904 MY(sizeincrease) = 20;
5910 MY(velocityjitter) = '40.0 40.0 11.0';
5911 MY(velocitymultiplier) = 30;
5915 MY(airfriction) = 1.200000;
5917 MY(alpha_max) = 256;
5918 MY(alpha_fade) = 200;
5919 MY(color_min) = "0x8f0d00";
5920 MY(color_max) = "0xff5a00";
5921 MY(count) = 2.500000;
5922 MY(gravity) = -0.060000;
5923 MY(sizeincrease) = 20;
5929 MY(velocityjitter) = '40.0 40.0 40.0';
5930 MY(velocitymultiplier) = 20;
5932 // very slow and small fire
5934 MY(airfriction) = 0.300000;
5936 MY(alpha_max) = 256;
5937 MY(alpha_fade) = 200;
5938 MY(color_min) = "0x8f0d00";
5939 MY(color_max) = "0xff5a00";
5940 MY(count) = 1.500000;
5941 MY(gravity) = -0.060000;
5942 MY(sizeincrease) = 10;
5948 MY(velocityjitter) = '30.0 30.0 30.0';
5949 MY(velocitymultiplier) = 10;
5953 MY(airfriction) = 0.300000;
5955 MY(alpha_max) = 256;
5956 MY(alpha_fade) = 200;
5957 MY(color_min) = "0x8f0d00";
5958 MY(color_max) = "0xff5a00";
5960 MY(gravity) = -0.060000;
5961 MY(sizeincrease) = -10;
5967 MY(velocityjitter) = '10.0 10.0 10.0';
5968 MY(velocitymultiplier) = 15;
5972 MY(airfriction) = 1;
5973 MY(alpha_min) = 256;
5974 MY(alpha_max) = 256;
5975 MY(alpha_fade) = 90;
5976 MY(color_min) = "0x000000";
5977 MY(color_max) = "0x111111";
5978 MY(count) = 0.500000;
5979 MY(originjitter) = '10.0 10.0 10.0';
5980 MY(sizeincrease) = 7;
5984 MY(type) = "alphastatic";
5985 MY(velocitymultiplier) = 20;
5986 MY(velocityoffset) = '0.0 0.0 10.0';
5989 #include "effectinfo_gentle_happy.inc"
5991 DEF(electro_lightning);
5992 SUB(electro_lightning) {
5993 MY(alpha_min) = 256;
5994 MY(alpha_max) = 256;
5995 MY(countabsolute) = 1;
5996 MY(lightcolor) = '3.1 4.4 10.0';
5997 MY(lightradiusfade) = 500;
5998 MY(lightradius) = 50;
5999 MY(originjitter) = '2.0 2.0 2.0';
6006 SUB(electro_lightning) {
6007 MY(alpha_min) = 100;
6008 MY(alpha_max) = 206;
6009 MY(alpha_fade) = 1724;
6010 MY(color_min) = "0x2030FF";
6011 MY(color_max) = "0x80C0FF";
6013 MY(originjitter) = '1.5 1.5 1.5';
6014 MY(sizeincrease) = 10;
6020 MY(velocityjitter) = '6.0 6.0 6.0';
6021 MY(velocitymultiplier) = 2000;
6023 SUB(electro_lightning) {
6024 MY(airfriction) = 2;
6025 MY(alpha_min) = 110;
6026 MY(alpha_max) = 170;
6027 MY(alpha_fade) = 1500;
6028 MY(color_min) = "0xDDFDFF";
6029 MY(color_max) = "0xFDFDFF";
6031 MY(originjitter) = '1.0 1.0 1.0';
6034 MY(stretchfactor) = 1.500000;
6038 MY(velocityjitter) = '150.0 150.0 150.0';
6039 MY(velocitymultiplier) = 0.500000;
6041 SUB(electro_lightning) {
6042 MY(airfriction) = 8;
6043 MY(alpha_min) = 110;
6044 MY(alpha_max) = 170;
6045 MY(alpha_fade) = 1500;
6046 MY(color_min) = "0xFDFDFF";
6047 MY(color_max) = "0xF9FDFF";
6049 MY(gravity) = 1.300000;
6050 MY(originjitter) = '1.0 1.0 1.0';
6053 MY(stretchfactor) = 0.100000;
6057 MY(velocityjitter) = '350.0 350.0 350.0';
6058 MY(velocitymultiplier) = 2.500000;
6061 DEF(gauntlet_lightning);
6062 SUB(gauntlet_lightning) {
6063 MY(alpha_min) = 256;
6064 MY(alpha_max) = 256;
6065 MY(alpha_fade) = 1024;
6066 MY(color_min) = "0x280000";
6067 MY(color_max) = "0x280000";
6069 MY(originjitter) = '1.5 1.5 1.5';
6070 MY(sizeincrease) = 15;
6076 MY(velocityjitter) = '6.0 6.0 6.0';
6077 MY(velocitymultiplier) = 2000;
6079 SUB(gauntlet_lightning) {
6080 MY(airfriction) = 2;
6081 MY(alpha_min) = 110;
6082 MY(alpha_max) = 228;
6083 MY(alpha_fade) = 1024;
6084 MY(color_min) = "0xDD0000";
6085 MY(color_max) = "0xFD0000";
6087 MY(originjitter) = '1.0 1.0 1.0';
6090 MY(stretchfactor) = 1.500000;
6094 MY(velocityjitter) = '150.0 150.0 150.0';
6095 MY(velocitymultiplier) = 0.500000;
6097 SUB(gauntlet_lightning) {
6098 MY(airfriction) = 8;
6099 MY(alpha_min) = 110;
6100 MY(alpha_max) = 228;
6101 MY(alpha_fade) = 600;
6102 MY(color_min) = "0xFD0000";
6103 MY(color_max) = "0xF90000";
6105 MY(gravity) = 1.300000;
6106 MY(originjitter) = '1.0 1.0 1.0';
6109 MY(stretchfactor) = 0.100000;
6113 MY(velocityjitter) = '350.0 350.0 350.0';
6114 MY(velocitymultiplier) = 2.500000;
6117 DEF(crylink_joinexplode);
6119 SUB(crylink_joinexplode) {
6120 MY(alpha_min) = 256;
6121 MY(alpha_max) = 256;
6122 MY(countabsolute) = 1;
6123 MY(originjitter) = '12.0 12.0 12.0';
6130 // purple flare effect
6131 SUB(crylink_joinexplode) {
6132 MY(alpha_min) = 256;
6133 MY(alpha_max) = 256;
6134 MY(alpha_fade) = 512;
6135 MY(color_min) = "0x504060";
6136 MY(color_max) = "0x504060";
6137 MY(countabsolute) = 1;
6142 MY(type) = "static";
6145 SUB(crylink_joinexplode) {
6146 MY(alpha_min) = 256;
6147 MY(alpha_max) = 256;
6148 MY(alpha_fade) = 1024;
6150 MY(color_min) = "0xA040C0";
6151 MY(color_max) = "0xA040C0";
6158 MY(velocityjitter) = '512.0 512.0 512.0';
6161 SUB(crylink_joinexplode) {
6162 MY(alpha_min) = 256;
6163 MY(alpha_max) = 256;
6164 MY(alpha_fade) = 512;
6165 MY(color_min) = "0xE070FF";
6166 MY(color_max) = "0xE070FF";
6167 MY(count) = 1.500000;
6170 MY(type) = "static";
6171 MY(velocityjitter) = '32.0 32.0 32.0';
6174 SUB(crylink_joinexplode) {
6175 MY(alpha_min) = 256;
6176 MY(alpha_max) = 256;
6177 MY(alpha_fade) = 1024;
6178 MY(color_min) = "0xE070FF";
6179 MY(color_max) = "0xE070FF";
6183 MY(type) = "static";
6184 MY(velocityjitter) = '256.0 256.0 256.0';
6187 // sparks for keepaway ball touch
6189 SUB(kaball_sparks) {
6190 MY(airfriction) = 3;
6191 MY(alpha_max) = 256;
6192 MY(alpha_fade) = 556;
6193 MY(bounce) = 1.500000;
6194 MY(color_min) = "0xa9cacf";
6195 MY(color_max) = "0x0054ff";
6198 MY(originjitter) = '1.0 1.0 1.0';
6204 MY(velocityjitter) = '300.0 300.0 300.0';
6205 MY(velocitymultiplier) = 0.500000;
6208 // weak rifle bullet trail (somewhat like a tracer)
6210 SUB(tr_rifle_weak) {
6211 MY(alpha_min) = 256;
6212 MY(alpha_max) = 256;
6213 MY(alpha_fade) = 2560;
6214 MY(color_min) = "0x800000";
6215 MY(color_max) = "0xFF8020";
6216 MY(size_min) = 1.500000;
6217 MY(size_max) = 1.500000;
6218 MY(stretchfactor) = 1;
6219 MY(trailspacing) = 128;
6221 MY(velocitymultiplier) = 0.700000;
6223 SUB(tr_rifle_weak) {
6224 MY(airfriction) = -4;
6225 MY(alpha_min) = 256;
6226 MY(alpha_max) = 256;
6227 MY(alpha_fade) = 256;
6228 MY(color_min) = "0x202020";
6229 MY(color_max) = "0x404040";
6230 MY(notunderwater) = true;
6231 MY(sizeincrease) = 0.400000;
6235 MY(trailspacing) = 48;
6237 MY(velocityjitter) = '4.0 4.0 4.0';
6239 SUB(tr_rifle_weak) {
6240 MY(alpha_min) = 256;
6241 MY(alpha_max) = 256;
6242 MY(alpha_fade) = 128;
6243 MY(bounce) = 1.500000;
6244 MY(color_min) = "0x404040";
6245 MY(color_max) = "0x808080";
6246 MY(gravity) = -0.125000;
6247 MY(liquidfriction) = 4;
6252 MY(trailspacing) = 192;
6253 MY(type) = "bubble";
6254 MY(underwater) = true;
6255 MY(velocityjitter) = '16.0 16.0 16.0';
6261 MY(airfriction) = -1;
6264 MY(alpha_fade) = 32;
6265 MY(color_min) = "0xff8866";
6266 MY(color_max) = "0x331100";
6268 MY(gravity) = -0.007000;
6269 MY(startangle_max) = 360;
6276 MY(velocitymultiplier) = 5;
6279 // pipe smoke emiter
6282 MY(airfriction) = -1;
6285 MY(alpha_fade) = 48;
6286 MY(color_min) = "0x999999";
6287 MY(color_max) = "0x555555";
6289 MY(gravity) = -0.015000;
6290 MY(startangle_max) = 360;
6291 MY(spin_min) = -180;
6293 MY(sizeincrease) = 35;
6298 MY(velocityjitter) = '0.0 0.0 5.0';
6299 MY(velocitymultiplier) = 15;
6302 // seeker missile trail
6305 MY(alpha_min) = 200;
6306 MY(alpha_max) = 300;
6307 MY(alpha_fade) = 200;
6309 MY(color_min) = "0x000000";
6310 MY(color_max) = "0x666666";
6311 MY(lightcolor) = '6.0 3.0 1.0';
6312 MY(lightradius) = 100;
6313 MY(notunderwater) = true;
6314 MY(originjitter) = '2.0 2.0 2.0';
6315 MY(startangle_min) = -180;
6316 MY(startangle_max) = 180;
6319 MY(sizeincrease) = 11;
6323 MY(trailspacing) = 10;
6325 MY(velocityjitter) = '3.0 3.0 3.0';
6326 MY(velocitymultiplier) = -0.020000;
6330 MY(airfriction) = 8;
6331 MY(alpha_min) = 100;
6332 MY(alpha_max) = 144;
6333 MY(alpha_fade) = 588;
6334 MY(color_min) = "0xffdf72";
6335 MY(color_max) = "0x811200";
6336 MY(sizeincrease) = -30;
6341 MY(trailspacing) = 4;
6342 MY(type) = "static";
6343 MY(velocityjitter) = '32.0 32.0 32.0';
6344 MY(velocitymultiplier) = -1.500000;
6348 MY(alpha_min) = 256;
6349 MY(alpha_max) = 256;
6350 MY(alpha_fade) = 256;
6351 MY(bounce) = 1.500000;
6352 MY(gravity) = -0.125000;
6353 MY(liquidfriction) = 4;
6358 MY(trailspacing) = 16;
6359 MY(type) = "bubble";
6360 MY(underwater) = true;
6361 MY(velocityjitter) = '16.0 16.0 16.0';
6362 MY(velocitymultiplier) = -0.310000;
6366 MY(airfriction) = 5;
6367 MY(alpha_min) = 444;
6368 MY(alpha_max) = 512;
6369 MY(alpha_fade) = 1866;
6371 MY(color_min) = "0xFFFDD9";
6372 MY(color_max) = "0xFFFDD9";
6373 MY(notunderwater) = true;
6374 MY(originjitter) = '1.0 1.0 1.0';
6375 MY(size_min) = 0.500000;
6376 MY(size_max) = 0.500000;
6377 MY(stretchfactor) = 0.300000;
6380 MY(trailspacing) = 20;
6382 MY(velocityjitter) = '100.0 100.0 100.0';
6383 MY(velocitymultiplier) = -0.310000;
6386 #include "effectinfo_vehicles.inc"
6388 // generic explosion size:big (biggest explosion ever)
6391 SUB(explosion_big) {
6392 MY(alpha_min) = 256;
6393 MY(alpha_max) = 256;
6394 MY(countabsolute) = 1;
6395 MY(lightcolor) = '8.0 4.0 0.0';
6396 MY(lightradiusfade) = 1750;
6397 MY(lightradius) = 600;
6398 MY(originjitter) = '23.0 23.0 23.0';
6406 SUB(explosion_big) {
6409 MY(alpha_fade) = 330;
6410 MY(color_min) = "0x8f0d00";
6411 MY(color_max) = "0xff5a00";
6412 MY(countabsolute) = 1;
6413 MY(sizeincrease) = 4400;
6418 MY(type) = "static";
6421 SUB(explosion_big) {
6422 MY(airfriction) = 8;
6423 MY(alpha_min) = 200;
6424 MY(alpha_max) = 256;
6425 MY(alpha_fade) = 712;
6426 MY(color_min) = "0x8f0d00";
6427 MY(color_max) = "0xff5a00";
6429 MY(liquidfriction) = 8;
6430 MY(notunderwater) = true;
6431 MY(originjitter) = '80.0 80.0 80.0';
6432 MY(sizeincrease) = 45;
6437 MY(type) = "static";
6438 MY(velocityjitter) = '2512.0 2512.0 2512.0';
6441 SUB(explosion_big) {
6442 MY(airfriction) = -5;
6443 MY(alpha_min) = 200;
6444 MY(alpha_max) = 256;
6445 MY(alpha_fade) = 800;
6446 MY(color_min) = "0x8f0d00";
6447 MY(color_max) = "0xff5a00";
6449 MY(liquidfriction) = 8;
6450 MY(notunderwater) = true;
6451 MY(originjitter) = '40.0 40.0 40.0';
6452 MY(sizeincrease) = 45;
6455 MY(stretchfactor) = 10;
6459 MY(velocityjitter) = '512.0 512.0 512.0';
6462 SUB(explosion_big) {
6463 MY(airfriction) = 8;
6464 MY(alpha_min) = 300;
6465 MY(alpha_max) = 650;
6466 MY(alpha_fade) = 456;
6467 MY(color_min) = "0x4F4B46";
6468 MY(color_max) = "0x000000";
6470 MY(notunderwater) = true;
6471 MY(sizeincrease) = 244;
6475 MY(type) = "alphastatic";
6476 MY(velocityjitter) = '3444.0 3444.0 3444.0';
6479 SUB(explosion_big) {
6480 MY(airfriction) = 1;
6481 MY(alpha_min) = 644;
6482 MY(alpha_max) = 956;
6483 MY(alpha_fade) = 1284;
6484 MY(color_min) = "0xffa35b";
6485 MY(color_max) = "0xfff2be";
6488 MY(liquidfriction) = 0.800000;
6489 MY(notunderwater) = true;
6490 MY(originjitter) = '160.0 160.0 160.0';
6493 MY(stretchfactor) = 0.700000;
6497 MY(velocityjitter) = '924.0 924.0 924.0';
6498 MY(velocityoffset) = '0.0 0.0 370.0';
6501 SUB(explosion_big) {
6502 MY(airfriction) = 0.500000;
6503 MY(alpha_min) = 444;
6504 MY(alpha_max) = 1356;
6505 MY(alpha_fade) = 1184;
6506 MY(color_min) = "0xFFFFFF";
6507 MY(color_max) = "0xcac5b4";
6509 MY(gravity) = 2.300000;
6510 MY(notunderwater) = true;
6511 MY(startangle_min) = -180;
6512 MY(startangle_max) = 180;
6513 MY(spin_min) = -1000;
6514 MY(spin_max) = 1000;
6515 MY(sizeincrease) = -5;
6520 MY(type) = "alphastatic";
6521 MY(velocityjitter) = '1800.0 1800.0 1800.0';
6522 MY(velocityoffset) = '0.0 0.0 970.0';
6524 // underwater bubbles
6525 SUB(explosion_big) {
6526 MY(alpha_min) = 128;
6527 MY(alpha_max) = 256;
6528 MY(alpha_fade) = 64;
6529 MY(bounce) = 1.500000;
6530 MY(color_min) = "0x404040";
6531 MY(color_max) = "0x808080";
6533 MY(gravity) = -0.125000;
6534 MY(liquidfriction) = 0.250000;
6535 MY(originjitter) = '160.0 160.0 160.0';
6540 MY(type) = "bubble";
6541 MY(underwater) = true;
6542 MY(velocityjitter) = '444.0 444.0 444.0';
6544 // underwatershockwave
6545 SUB(explosion_big) {
6548 MY(alpha_fade) = 300;
6549 MY(countabsolute) = 1;
6550 MY(sizeincrease) = 2900;
6556 MY(underwater) = true;
6557 MY(velocitymultiplier) = 0.300000;
6560 // generic explosion size:medium (it leaves rising smoke for a longer time)
6561 DEF(explosion_medium);
6563 SUB(explosion_medium) {
6566 MY(alpha_fade) = 330;
6567 MY(color_min) = "0x8f0d00";
6568 MY(color_max) = "0xff5a00";
6569 MY(countabsolute) = 1;
6570 MY(sizeincrease) = 2400;
6575 MY(type) = "static";
6578 SUB(explosion_medium) {
6579 MY(airfriction) = 8;
6580 MY(alpha_min) = 200;
6581 MY(alpha_max) = 256;
6582 MY(alpha_fade) = 712;
6583 MY(color_min) = "0x8f0d00";
6584 MY(color_max) = "0xff5a00";
6586 MY(liquidfriction) = 8;
6587 MY(notunderwater) = true;
6588 MY(originjitter) = '30.0 30.0 30.0';
6589 MY(startangle_min) = -180;
6590 MY(startangle_max) = 180;
6591 MY(spin_min) = -500;
6593 MY(sizeincrease) = 45;
6598 MY(type) = "static";
6599 MY(velocityjitter) = '1512.0 1512.0 1512.0';
6602 SUB(explosion_medium) {
6603 MY(airfriction) = 8;
6604 MY(alpha_min) = 200;
6605 MY(alpha_max) = 256;
6606 MY(alpha_fade) = 612;
6607 MY(color_min) = "0x8f0d00";
6608 MY(color_max) = "0xff5a00";
6611 MY(liquidfriction) = 8;
6612 MY(notunderwater) = true;
6613 MY(originjitter) = '30.0 30.0 30.0';
6614 MY(startangle_min) = -180;
6615 MY(startangle_max) = 180;
6616 MY(spin_min) = -150;
6618 MY(sizeincrease) = 40;
6623 MY(type) = "static";
6624 MY(velocityjitter) = '1512.0 1512.0 1512.0';
6627 SUB(explosion_medium) {
6628 MY(airfriction) = -3;
6629 MY(alpha_min) = 200;
6630 MY(alpha_max) = 256;
6631 MY(alpha_fade) = 800;
6632 MY(color_min) = "0x8f0d00";
6633 MY(color_max) = "0xff5a00";
6635 MY(liquidfriction) = 8;
6636 MY(notunderwater) = true;
6637 MY(originjitter) = '40.0 40.0 40.0';
6638 MY(sizeincrease) = 40;
6641 MY(stretchfactor) = 8;
6645 MY(velocityjitter) = '512.0 512.0 512.0';
6648 SUB(explosion_medium) {
6649 MY(airfriction) = 3;
6650 MY(alpha_min) = 300;
6651 MY(alpha_max) = 650;
6652 MY(alpha_fade) = 756;
6653 MY(color_min) = "0x4F4B46";
6654 MY(color_max) = "0x000000";
6656 MY(notunderwater) = true;
6657 MY(originjitter) = '100.0 100.0 100.0';
6658 MY(startangle_min) = -180;
6659 MY(startangle_max) = 180;
6662 MY(sizeincrease) = -30;
6666 MY(type) = "alphastatic";
6667 MY(velocityjitter) = '200.0 200.0 200.0';
6670 SUB(explosion_medium) {
6671 MY(airfriction) = 3;
6672 MY(alpha_min) = 300;
6673 MY(alpha_max) = 650;
6674 MY(alpha_fade) = 256;
6675 MY(color_min) = "0x4F4B46";
6676 MY(color_max) = "0x000000";
6678 MY(gravity) = -0.300000;
6679 MY(notunderwater) = true;
6680 MY(originjitter) = '100.0 100.0 100.0';
6681 MY(startangle_min) = -180;
6682 MY(startangle_max) = 180;
6685 MY(sizeincrease) = 50;
6689 MY(type) = "alphastatic";
6690 MY(velocityjitter) = '500.0 500.0 500.0';
6691 MY(velocityoffset) = '0.0 0.0 200.0';
6694 SUB(explosion_medium) {
6695 MY(alpha_min) = 140;
6696 MY(alpha_max) = 255;
6697 MY(alpha_fade) = 350;
6698 MY(color_min) = "0x4F4B46";
6699 MY(color_max) = "0x000000";
6701 MY(notunderwater) = true;
6702 MY(originjitter) = '40.0 40.0 40.0';
6703 MY(sizeincrease) = 100;
6706 MY(stretchfactor) = 50;
6709 MY(velocityjitter) = '250.0 250.0 250.0';
6712 SUB(explosion_medium) {
6713 MY(airfriction) = 1;
6714 MY(alpha_min) = 644;
6715 MY(alpha_max) = 956;
6716 MY(alpha_fade) = 984;
6717 MY(color_min) = "0xffa35b";
6718 MY(color_max) = "0xfff2be";
6721 MY(liquidfriction) = 0.800000;
6722 MY(notunderwater) = true;
6723 MY(originjitter) = '100.0 100.0 100.0';
6726 MY(stretchfactor) = 0.700000;
6730 MY(velocityjitter) = '624.0 624.0 624.0';
6731 MY(velocityoffset) = '0.0 0.0 370.0';
6733 // underwater bubbles
6734 SUB(explosion_medium) {
6735 MY(alpha_min) = 128;
6736 MY(alpha_max) = 256;
6737 MY(alpha_fade) = 64;
6738 MY(bounce) = 1.500000;
6739 MY(color_min) = "0x404040";
6740 MY(color_max) = "0x808080";
6742 MY(gravity) = -0.125000;
6743 MY(liquidfriction) = 0.250000;
6744 MY(originjitter) = '160.0 160.0 160.0';
6749 MY(type) = "bubble";
6750 MY(underwater) = true;
6751 MY(velocityjitter) = '444.0 444.0 444.0';
6753 // underwatershockwave
6754 SUB(explosion_medium) {
6757 MY(alpha_fade) = 300;
6758 MY(countabsolute) = 1;
6759 MY(sizeincrease) = 2900;
6765 MY(underwater) = true;
6766 MY(velocitymultiplier) = 0.300000;
6769 // generic explosion size:small (its fire only, made to support other explosions)
6770 DEF(explosion_small);
6772 SUB(explosion_small) {
6775 MY(alpha_fade) = 330;
6776 MY(color_min) = "0x8f0d00";
6777 MY(color_max) = "0xff5a00";
6778 MY(countabsolute) = 1;
6779 MY(sizeincrease) = 2400;
6784 MY(type) = "static";
6787 SUB(explosion_small) {
6788 MY(airfriction) = 5;
6789 MY(alpha_min) = 200;
6790 MY(alpha_max) = 256;
6791 MY(alpha_fade) = 1212;
6792 MY(color_min) = "0x8f0d00";
6793 MY(color_max) = "0xff5a00";
6795 MY(liquidfriction) = 8;
6796 MY(notunderwater) = true;
6797 MY(startangle_min) = -180;
6798 MY(startangle_max) = 180;
6799 MY(spin_min) = -500;
6801 MY(sizeincrease) = 45;
6806 MY(type) = "static";
6807 MY(velocityjitter) = '512.0 512.0 512.0';
6810 SUB(explosion_small) {
6811 MY(airfriction) = 8;
6812 MY(alpha_min) = 200;
6813 MY(alpha_max) = 256;
6814 MY(alpha_fade) = 812;
6815 MY(color_min) = "0x8f0d00";
6816 MY(color_max) = "0xff5a00";
6818 MY(liquidfriction) = 8;
6819 MY(notunderwater) = true;
6820 MY(startangle_min) = -180;
6821 MY(startangle_max) = 180;
6822 MY(spin_min) = -150;
6824 MY(sizeincrease) = 40;
6829 MY(type) = "static";
6830 MY(velocityjitter) = '912.0 912.0 912.0';
6833 SUB(explosion_small) {
6834 MY(airfriction) = -3;
6835 MY(alpha_min) = 200;
6836 MY(alpha_max) = 256;
6837 MY(alpha_fade) = 1300;
6838 MY(color_min) = "0x8f0d00";
6839 MY(color_max) = "0xff5a00";
6841 MY(liquidfriction) = 8;
6842 MY(notunderwater) = true;
6843 MY(originjitter) = '40.0 40.0 40.0';
6844 MY(sizeincrease) = 30;
6847 MY(stretchfactor) = 8;
6851 MY(velocityjitter) = '512.0 512.0 512.0';
6853 // underwater bubbles
6854 SUB(explosion_small) {
6855 MY(alpha_min) = 128;
6856 MY(alpha_max) = 256;
6857 MY(alpha_fade) = 64;
6858 MY(bounce) = 1.500000;
6859 MY(color_min) = "0x404040";
6860 MY(color_max) = "0x808080";
6862 MY(gravity) = -0.125000;
6863 MY(liquidfriction) = 0.250000;
6864 MY(originjitter) = '160.0 160.0 160.0';
6869 MY(type) = "bubble";
6870 MY(underwater) = true;
6871 MY(velocityjitter) = '144.0 144.0 144.0';
6873 // underwatershockwave
6874 SUB(explosion_small) {
6877 MY(alpha_fade) = 300;
6878 MY(countabsolute) = 1;
6879 MY(sizeincrease) = 1200;
6885 MY(underwater) = true;
6888 // big smoke ( for spamming on damaged stuff )
6891 MY(airfriction) = 4;
6892 MY(alpha_min) = 200;
6893 MY(alpha_max) = 750;
6894 MY(alpha_fade) = 200;
6895 MY(color_min) = "0x4F4B46";
6896 MY(color_max) = "0x000000";
6898 MY(gravity) = -0.500000;
6899 MY(notunderwater) = true;
6900 MY(originjitter) = '55.0 55.0 55.0';
6901 MY(startangle_min) = -180;
6902 MY(startangle_max) = 180;
6905 MY(sizeincrease) = 15;
6909 MY(type) = "alphastatic";
6910 MY(velocityjitter) = '140.0 140.0 200.0';
6911 MY(velocityoffset) = '0.0 0.0 200.0';
6914 // small smoke ( more precise than big one, for spamming on damaged parts like raptors spinner )
6917 MY(airfriction) = 4;
6918 MY(alpha_min) = 200;
6919 MY(alpha_max) = 750;
6920 MY(alpha_fade) = 200;
6921 MY(color_min) = "0x4F4B46";
6922 MY(color_max) = "0x000000";
6924 MY(gravity) = -0.500000;
6925 MY(notunderwater) = true;
6926 MY(startangle_min) = -180;
6927 MY(startangle_max) = 180;
6930 MY(sizeincrease) = -10;
6934 MY(type) = "alphastatic";
6935 MY(velocityjitter) = '40.0 40.0 400.0';
6936 MY(velocityoffset) = '0.0 0.0 200.0';
6939 // metal impact effect
6944 MY(alpha_fade) = 50;
6945 MY(color_min) = "0x000000";
6946 MY(color_max) = "0x886666";
6948 MY(gravity) = -0.010000;
6949 MY(originjitter) = '20.0 20.0 5.0';
6950 MY(sizeincrease) = 10;
6954 MY(type) = "alphastatic";
6958 MY(airfriction) = 2;
6959 MY(alpha_min) = 255;
6960 MY(alpha_max) = 255;
6961 MY(alpha_fade) = 112;
6962 MY(bounce) = 1.800000;
6963 MY(color_min) = "0xFFCC22";
6964 MY(color_max) = "0xFF4422";
6969 MY(stretchfactor) = 0.500000;
6973 MY(velocityjitter) = '200.0 200.0 300.0';
6974 MY(velocitymultiplier) = 2;
6977 // stone impact effect
6981 MY(alpha_max) = 128;
6982 MY(alpha_fade) = 75;
6983 MY(color_min) = "0x000000";
6984 MY(color_max) = "0xcc9966";
6986 MY(gravity) = -0.010000;
6987 MY(originjitter) = '20.0 20.0 5.0';
6988 MY(sizeincrease) = 15;
6992 MY(type) = "alphastatic";
6996 MY(airfriction) = 0.500000;
6997 MY(alpha_min) = 450;
6998 MY(alpha_max) = 750;
6999 MY(alpha_fade) = 300;
7000 MY(bounce) = 1.200000;
7001 MY(color_min) = "0x000000";
7002 MY(color_max) = "0x886644";
7004 MY(gravity) = 1.300000;
7005 MY(notunderwater) = true;
7006 MY(startangle_min) = -180;
7007 MY(startangle_max) = 180;
7008 MY(spin_min) = -1000;
7009 MY(spin_max) = 1000;
7014 MY(type) = "alphastatic";
7015 MY(velocityjitter) = '124.0 124.0 324.0';
7018 // wood impact effect
7022 MY(alpha_max) = 128;
7023 MY(alpha_fade) = 75;
7024 MY(color_min) = "0x000000";
7025 MY(color_max) = "0xcc9966";
7027 MY(gravity) = -0.010000;
7028 MY(originjitter) = '20.0 20.0 5.0';
7029 MY(sizeincrease) = 10;
7033 MY(type) = "alphastatic";
7037 MY(airfriction) = 2;
7038 MY(alpha_min) = 255;
7039 MY(alpha_max) = 255;
7040 MY(alpha_fade) = 75;
7041 MY(bounce) = 1.500000;
7042 MY(color_min) = "0x221100";
7043 MY(color_max) = "0x221100";
7051 MY(velocityjitter) = '180.0 180.0 260.0';
7052 MY(velocitymultiplier) = 2;
7055 // flesh impact effect
7058 MY(alpha_min) = 100;
7059 MY(alpha_max) = 256;
7060 MY(alpha_fade) = 400;
7061 MY(color_min) = "0x000000";
7062 MY(color_max) = "0x420000";
7063 MY(count) = 0.500000;
7064 MY(originjitter) = '11.0 11.0 11.0';
7068 MY(type) = "alphastatic";
7072 MY(airfriction) = 1;
7073 MY(alpha_min) = 256;
7074 MY(alpha_max) = 256;
7075 MY(alpha_fade) = 64;
7077 MY(color_min) = "0xA8FFFF";
7078 MY(color_max) = "0xA8FFFFF";
7079 MY(count) = 0.300000;
7080 MY(liquidfriction) = 4;
7083 MY(staincolor_min) = "0x808080";
7084 MY(staincolor_max) = "0x808080";
7085 MY(staintex_min) = 16;
7086 MY(staintex_max) = 24;
7090 MY(velocityjitter) = '96.0 96.0 96.0';
7091 MY(velocitymultiplier) = 5;
7098 MY(alpha_min) = 300;
7099 MY(alpha_max) = 400;
7100 MY(alpha_fade) = 780;
7102 MY(color_min) = "0x101010";
7103 MY(color_max) = "0x000000";
7104 MY(originjitter) = '1.0 1.0 1.0';
7105 MY(sizeincrease) = 10;
7109 MY(trailspacing) = 4;
7111 MY(velocityjitter) = '1.0 1.0 1.0';
7112 MY(velocitymultiplier) = -0.020000;
7116 MY(airfriction) = 8;
7117 MY(alpha_min) = 100;
7118 MY(alpha_max) = 144;
7119 MY(alpha_fade) = 988;
7120 MY(color_min) = "0xffdf72";
7121 MY(color_max) = "0x811200";
7122 MY(notunderwater) = true;
7123 MY(sizeincrease) = -15;
7128 MY(trailspacing) = 4;
7129 MY(type) = "static";
7130 MY(velocityjitter) = '32.0 32.0 32.0';
7131 MY(velocitymultiplier) = -1;
7135 MY(alpha_min) = 256;
7136 MY(alpha_max) = 256;
7137 MY(alpha_fade) = 256;
7138 MY(bounce) = 1.500000;
7139 MY(color_min) = "0x404040";
7140 MY(color_max) = "0x808080";
7141 MY(gravity) = -0.125000;
7142 MY(liquidfriction) = 4;
7147 MY(trailspacing) = 16;
7148 MY(type) = "bubble";
7149 MY(underwater) = true;
7150 MY(velocityjitter) = '16.0 16.0 16.0';
7153 // laser damage effect
7154 DEF(damage_blaster);
7155 SUB(damage_blaster) {
7156 MY(airfriction) = -0.350000;
7157 MY(alpha_min) = 128;
7159 MY(alpha_fade) = 128;
7160 MY(color_min) = "0x880000";
7161 MY(color_max) = "0xff4400";
7163 MY(notunderwater) = true;
7164 MY(originjitter) = '2.0 2.0 2.0';
7165 MY(startangle_max) = 180;
7168 MY(sizeincrease) = 8;
7173 MY(velocityjitter) = '0.4 0.4 0.6';
7176 // shotgun damage effect, normal blood
7177 DEF(damage_shotgun);
7178 SUB(damage_shotgun) {
7179 MY(airfriction) = 1;
7180 MY(alpha_min) = 256;
7181 MY(alpha_max) = 256;
7182 MY(alpha_fade) = 64;
7184 MY(color_min) = "0xA8FFFF";
7185 MY(color_max) = "0xA8FFFFF";
7186 MY(count) = 0.600000;
7187 MY(liquidfriction) = 4;
7190 MY(staincolor_min) = "0x808080";
7191 MY(staincolor_max) = "0x808080";
7192 MY(staintex_min) = 16;
7193 MY(staintex_max) = 24;
7197 MY(velocityjitter) = '64.0 64.0 64.0';
7198 MY(velocitymultiplier) = 5;
7201 SUB(damage_shotgun) {
7202 MY(alpha_min) = 100;
7203 MY(alpha_max) = 256;
7204 MY(alpha_fade) = 400;
7205 MY(color_min) = "0x000000";
7206 MY(color_max) = "0x420000";
7208 MY(originjitter) = '1.0 1.0 1.0';
7212 MY(type) = "alphastatic";
7215 // shotgun damage effect, alien blood
7216 DEF(alien_damage_shotgun);
7217 SUB(alien_damage_shotgun) {
7218 MY(airfriction) = 1;
7219 MY(alpha_min) = 256;
7220 MY(alpha_max) = 256;
7221 MY(alpha_fade) = 64;
7223 MY(color_min) = "0xDC9BCD";
7224 MY(color_max) = "0xDC9BCD";
7225 MY(count) = 0.600000;
7226 MY(liquidfriction) = 4;
7229 MY(staincolor_min) = "0x808080";
7230 MY(staincolor_max) = "0x808080";
7231 MY(staintex_min) = 16;
7232 MY(staintex_max) = 24;
7236 MY(velocityjitter) = '64.0 64.0 64.0';
7237 MY(velocitymultiplier) = 5;
7240 SUB(alien_damage_shotgun) {
7241 MY(alpha_min) = 100;
7242 MY(alpha_max) = 256;
7243 MY(alpha_fade) = 400;
7244 MY(color_min) = "0x000000";
7245 MY(color_max) = "0x204010";
7247 MY(originjitter) = '1.0 1.0 1.0';
7251 MY(type) = "alphastatic";
7254 // shotgun damage effect, robot blood
7255 DEF(robot_damage_shotgun);
7256 SUB(robot_damage_shotgun) {
7257 MY(airfriction) = 1;
7258 MY(alpha_min) = 256;
7259 MY(alpha_max) = 256;
7260 MY(alpha_fade) = 64;
7262 MY(color_min) = "0xC0D890";
7263 MY(color_max) = "0xC0D890";
7264 MY(count) = 0.600000;
7265 MY(liquidfriction) = 4;
7268 MY(staincolor_min) = "0x808080";
7269 MY(staincolor_max) = "0x808080";
7270 MY(staintex_min) = 16;
7271 MY(staintex_max) = 24;
7275 MY(velocityjitter) = '64.0 64.0 64.0';
7276 MY(velocitymultiplier) = 5;
7279 SUB(robot_damage_shotgun) {
7280 MY(alpha_min) = 100;
7281 MY(alpha_max) = 256;
7282 MY(alpha_fade) = 400;
7283 MY(color_min) = "0x000000";
7284 MY(color_max) = "0x301860";
7286 MY(originjitter) = '1.0 1.0 1.0';
7290 MY(type) = "alphastatic";
7293 // machinegun damage effect, normal blood
7294 DEF(damage_machinegun);
7295 SUB(damage_machinegun) {
7296 MY(airfriction) = 1;
7297 MY(alpha_min) = 256;
7298 MY(alpha_max) = 256;
7299 MY(alpha_fade) = 64;
7301 MY(color_min) = "0xA8FFFF";
7302 MY(color_max) = "0xA8FFFFF";
7303 MY(count) = 0.300000;
7304 MY(liquidfriction) = 4;
7307 MY(staincolor_min) = "0x808080";
7308 MY(staincolor_max) = "0x808080";
7309 MY(staintex_min) = 16;
7310 MY(staintex_max) = 24;
7314 MY(velocityjitter) = '32.0 32.0 32.0';
7315 MY(velocitymultiplier) = 5;
7318 SUB(damage_machinegun) {
7319 MY(alpha_min) = 100;
7320 MY(alpha_max) = 256;
7321 MY(alpha_fade) = 400;
7322 MY(color_min) = "0x000000";
7323 MY(color_max) = "0x420000";
7328 MY(type) = "alphastatic";
7331 // machinegun damage effect, alien blood
7332 DEF(alien_damage_machinegun);
7333 SUB(alien_damage_machinegun) {
7334 MY(airfriction) = 1;
7335 MY(alpha_min) = 256;
7336 MY(alpha_max) = 256;
7337 MY(alpha_fade) = 64;
7339 MY(color_min) = "0xDC9BCD";
7340 MY(color_max) = "0xDC9BCD";
7341 MY(count) = 0.300000;
7342 MY(liquidfriction) = 4;
7345 MY(staincolor_min) = "0x808080";
7346 MY(staincolor_max) = "0x808080";
7347 MY(staintex_min) = 16;
7348 MY(staintex_max) = 24;
7352 MY(velocityjitter) = '32.0 32.0 32.0';
7353 MY(velocitymultiplier) = 5;
7356 SUB(alien_damage_machinegun) {
7357 MY(alpha_min) = 100;
7358 MY(alpha_max) = 256;
7359 MY(alpha_fade) = 400;
7360 MY(color_min) = "0x000000";
7361 MY(color_max) = "0x204010";
7366 MY(type) = "alphastatic";
7369 // machinegun damage effect, robot blood
7370 DEF(robot_damage_machinegun);
7371 SUB(robot_damage_machinegun) {
7372 MY(airfriction) = 1;
7373 MY(alpha_min) = 256;
7374 MY(alpha_max) = 256;
7375 MY(alpha_fade) = 64;
7377 MY(color_min) = "0xC0D890";
7378 MY(color_max) = "0xC0D890";
7379 MY(count) = 0.300000;
7380 MY(liquidfriction) = 4;
7383 MY(staincolor_min) = "0x808080";
7384 MY(staincolor_max) = "0x808080";
7385 MY(staintex_min) = 16;
7386 MY(staintex_max) = 24;
7390 MY(velocityjitter) = '32.0 32.0 32.0';
7391 MY(velocitymultiplier) = 5;
7394 SUB(robot_damage_machinegun) {
7395 MY(alpha_min) = 100;
7396 MY(alpha_max) = 256;
7397 MY(alpha_fade) = 400;
7398 MY(color_min) = "0x000000";
7399 MY(color_max) = "0x301860";
7404 MY(type) = "alphastatic";
7407 // minelayer damage effect
7408 DEF(damage_minelayer);
7409 SUB(damage_minelayer) {
7410 MY(alpha_min) = 512;
7412 MY(alpha_fade) = 1024;
7413 MY(color_min) = "0x8f0d00";
7414 MY(color_max) = "0xff5a00";
7416 MY(gravity) = -0.500000;
7417 MY(notunderwater) = true;
7418 MY(originjitter) = '2.0 2.0 2.0';
7419 MY(sizeincrease) = -15;
7425 MY(velocityjitter) = '22.0 22.0 50.0';
7428 SUB(damage_minelayer) {
7429 MY(alpha_min) = 128;
7431 MY(alpha_fade) = 128;
7432 MY(color_min) = "0x000000";
7433 MY(color_max) = "0x111111";
7435 MY(gravity) = -0.300000;
7436 MY(notunderwater) = true;
7437 MY(originjitter) = '4.0 4.0 4.0';
7438 MY(sizeincrease) = 5;
7442 MY(type) = "alphastatic";
7443 MY(velocityjitter) = '11.0 11.0 50.0';
7446 // mortar damage effect
7448 SUB(damage_mortar) {
7449 MY(alpha_min) = 512;
7451 MY(alpha_fade) = 1024;
7452 MY(color_min) = "0x8f0d00";
7453 MY(color_max) = "0xff5a00";
7455 MY(gravity) = -0.500000;
7456 MY(notunderwater) = true;
7457 MY(originjitter) = '2.0 2.0 2.0';
7458 MY(sizeincrease) = -15;
7464 MY(velocityjitter) = '22.0 22.0 50.0';
7467 SUB(damage_mortar) {
7468 MY(alpha_min) = 128;
7470 MY(alpha_fade) = 128;
7471 MY(color_min) = "0x000000";
7472 MY(color_max) = "0x111111";
7474 MY(gravity) = -0.300000;
7475 MY(notunderwater) = true;
7476 MY(originjitter) = '4.0 4.0 4.0';
7477 MY(sizeincrease) = 5;
7481 MY(type) = "alphastatic";
7482 MY(velocityjitter) = '11.0 11.0 50.0';
7485 // arc damage effect
7488 MY(airfriction) = -0.650000;
7491 MY(alpha_fade) = 48;
7492 MY(color_min) = "0x66ffff";
7493 MY(color_max) = "0x2288ff";
7495 MY(gravity) = -0.000100;
7496 MY(liquidfriction) = 0.600000;
7497 MY(notunderwater) = true;
7498 MY(originjitter) = '2.0 2.0 2.0';
7499 MY(startangle_min) = 180;
7500 MY(startangle_max) = 360;
7503 MY(sizeincrease) = -14;
7508 MY(type) = "static";
7509 MY(velocityjitter) = '6.0 6.0 12.0';
7513 MY(airfriction) = -0.500000;
7516 MY(alpha_fade) = 64;
7517 MY(color_min) = "0x2244ff";
7518 MY(color_max) = "0x002266";
7520 MY(notunderwater) = true;
7521 MY(originjitter) = '3.0 3.0 3.0';
7522 MY(startangle_max) = 180;
7525 MY(sizeincrease) = 10;
7530 MY(velocityjitter) = '0.3 0.3 0.5';
7534 MY(airfriction) = 1;
7535 MY(alpha_min) = 768;
7537 MY(alpha_fade) = 256;
7538 MY(bounce) = 1.500000;
7539 MY(color_min) = "0x003090";
7540 MY(color_max) = "0x00CCFF";
7541 MY(count) = 0.500000;
7542 MY(gravity) = 0.150000;
7543 MY(liquidfriction) = 0.600000;
7549 MY(velocityjitter) = '24.0 24.0 24.0';
7552 // electro damage effect
7553 DEF(damage_electro);
7554 SUB(damage_electro) {
7555 MY(airfriction) = -0.500000;
7558 MY(alpha_fade) = 48;
7559 MY(color_min) = "0x66ffff";
7560 MY(color_max) = "0x2288ff";
7562 MY(gravity) = -0.000100;
7563 MY(liquidfriction) = 0.800000;
7564 MY(notunderwater) = true;
7565 MY(originjitter) = '3.0 3.0 3.0';
7566 MY(startangle_min) = 180;
7567 MY(startangle_max) = 360;
7570 MY(sizeincrease) = -14;
7575 MY(type) = "static";
7576 MY(velocityjitter) = '8.0 8.0 16.0';
7579 SUB(damage_electro) {
7580 MY(airfriction) = -0.350000;
7583 MY(alpha_fade) = 64;
7584 MY(color_min) = "0x2244ff";
7585 MY(color_max) = "0x002266";
7587 MY(notunderwater) = true;
7588 MY(originjitter) = '4.0 4.0 4.0';
7589 MY(startangle_max) = 180;
7592 MY(sizeincrease) = 10;
7597 MY(velocityjitter) = '0.4 0.4 0.6';
7600 SUB(damage_electro) {
7601 MY(airfriction) = 1;
7602 MY(alpha_min) = 768;
7604 MY(alpha_fade) = 256;
7605 MY(bounce) = 1.500000;
7606 MY(color_min) = "0x003090";
7607 MY(color_max) = "0x00CCFF";
7608 MY(count) = 0.500000;
7609 MY(gravity) = 0.200000;
7610 MY(liquidfriction) = 0.800000;
7616 MY(velocityjitter) = '32.0 32.0 32.0';
7619 // crylink damage effect
7620 DEF(damage_crylink);
7621 SUB(damage_crylink) {
7622 MY(airfriction) = -0.500000;
7625 MY(alpha_fade) = 48;
7626 MY(color_min) = "0xff44ff";
7627 MY(color_max) = "0x9966ff";
7629 MY(gravity) = -0.000100;
7630 MY(liquidfriction) = 0.800000;
7631 MY(notunderwater) = true;
7632 MY(originjitter) = '3.0 3.0 3.0';
7633 MY(startangle_min) = 180;
7634 MY(startangle_max) = 360;
7637 MY(sizeincrease) = -8;
7638 MY(size_min) = 0.500000;
7642 MY(type) = "static";
7643 MY(velocityjitter) = '10.0 10.0 20.0';
7646 SUB(damage_crylink) {
7647 MY(airfriction) = -0.350000;
7650 MY(alpha_fade) = 64;
7651 MY(color_min) = "0x8844ff";
7652 MY(color_max) = "0x662244";
7654 MY(gravity) = 0.001000;
7655 MY(notunderwater) = true;
7656 MY(originjitter) = '4.0 4.0 4.0';
7657 MY(startangle_max) = 180;
7660 MY(sizeincrease) = 6;
7665 MY(velocityjitter) = '0.4 0.4 0.6';
7668 SUB(damage_crylink) {
7669 MY(airfriction) = 0.200000;
7670 MY(alpha_min) = 192;
7671 MY(alpha_max) = 192;
7672 MY(alpha_fade) = 128;
7673 MY(color_min) = "0x903090";
7674 MY(color_max) = "0xFFD0FF";
7675 MY(count) = 0.300000;
7676 MY(liquidfriction) = 0.800000;
7677 MY(sizeincrease) = -5;
7678 MY(size_min) = 0.500000;
7679 MY(size_max) = 0.500000;
7681 MY(velocityjitter) = '12.0 12.0 12.0';
7684 // hlac damage effect
7687 MY(airfriction) = -0.350000;
7688 MY(alpha_min) = 128;
7690 MY(alpha_fade) = 128;
7691 MY(color_min) = "0x880000";
7692 MY(color_max) = "0xff4400";
7694 MY(notunderwater) = true;
7695 MY(originjitter) = '4.0 4.0 4.0';
7696 MY(startangle_max) = 180;
7699 MY(sizeincrease) = 10;
7704 MY(velocityjitter) = '0.4 0.4 0.6';
7707 // vortex damage effect
7709 SUB(damage_vortex) {
7710 MY(airfriction) = -0.500000;
7713 MY(alpha_fade) = 64;
7714 MY(color_min) = "0xffffff";
7715 MY(color_max) = "0x88ffff";
7717 MY(gravity) = -0.000100;
7718 MY(liquidfriction) = 0.600000;
7719 MY(originjitter) = '4.0 4.0 4.0';
7720 MY(startangle_min) = 180;
7721 MY(startangle_max) = 360;
7724 MY(sizeincrease) = -14;
7729 MY(type) = "static";
7730 MY(velocityjitter) = '8.0 8.0 16.0';
7733 SUB(damage_vortex) {
7734 MY(airfriction) = -0.350000;
7737 MY(alpha_fade) = 64;
7738 MY(color_min) = "0x6688ff";
7739 MY(color_max) = "0x226688";
7741 MY(originjitter) = '2.0 2.0 2.0';
7742 MY(startangle_max) = 180;
7745 MY(sizeincrease) = 8;
7750 MY(velocityjitter) = '0.5 0.5 0.8';
7753 SUB(damage_vortex) {
7754 MY(airfriction) = 2;
7755 MY(alpha_min) = 255;
7756 MY(alpha_max) = 255;
7757 MY(alpha_fade) = 112;
7758 MY(bounce) = 1.600000;
7759 MY(color_min) = "0xD9FDFF";
7760 MY(color_max) = "0xD9FDFF";
7761 MY(count) = 0.200000;
7765 MY(stretchfactor) = 0.700000;
7769 MY(velocityjitter) = '100.0 100.0 300.0';
7770 MY(velocitymultiplier) = 3;
7773 // vaporizer damage effect
7774 DEF(damage_vaporizer);
7775 SUB(damage_vaporizer) {
7776 MY(airfriction) = -0.500000;
7779 MY(alpha_fade) = 64;
7780 MY(color_min) = "0xffffff";
7781 MY(color_max) = "0x88ffff";
7783 MY(gravity) = -0.000100;
7784 MY(liquidfriction) = 0.600000;
7785 MY(originjitter) = '4.0 4.0 4.0';
7786 MY(startangle_min) = 180;
7787 MY(startangle_max) = 360;
7790 MY(sizeincrease) = -14;
7795 MY(type) = "static";
7796 MY(velocityjitter) = '8.0 8.0 16.0';
7799 SUB(damage_vaporizer) {
7800 MY(airfriction) = -0.350000;
7803 MY(alpha_fade) = 64;
7804 MY(color_min) = "0x6688ff";
7805 MY(color_max) = "0x226688";
7807 MY(originjitter) = '2.0 2.0 2.0';
7808 MY(startangle_max) = 180;
7811 MY(sizeincrease) = 8;
7816 MY(velocityjitter) = '0.5 0.5 0.8';
7819 SUB(damage_vaporizer) {
7820 MY(airfriction) = 2;
7821 MY(alpha_min) = 255;
7822 MY(alpha_max) = 255;
7823 MY(alpha_fade) = 112;
7824 MY(bounce) = 1.600000;
7825 MY(color_min) = "0xD9FDFF";
7826 MY(color_max) = "0xD9FDFF";
7827 MY(count) = 0.200000;
7831 MY(stretchfactor) = 0.700000;
7835 MY(velocityjitter) = '100.0 100.0 300.0';
7836 MY(velocitymultiplier) = 3;
7839 // rifle damage effect, normal blood
7842 MY(airfriction) = 1;
7843 MY(alpha_min) = 256;
7844 MY(alpha_max) = 256;
7845 MY(alpha_fade) = 64;
7847 MY(color_min) = "0xA8FFFF";
7848 MY(color_max) = "0xA8FFFFF";
7849 MY(count) = 0.300000;
7850 MY(liquidfriction) = 4;
7853 MY(staincolor_min) = "0x808080";
7854 MY(staincolor_max) = "0x808080";
7855 MY(staintex_min) = 16;
7856 MY(staintex_max) = 24;
7860 MY(velocityjitter) = '32.0 32.0 32.0';
7861 MY(velocitymultiplier) = 5;
7865 MY(alpha_min) = 100;
7866 MY(alpha_max) = 256;
7867 MY(alpha_fade) = 400;
7868 MY(color_min) = "0x000000";
7869 MY(color_max) = "0x420000";
7874 MY(type) = "alphastatic";
7877 // rifle damage effect, alien blood
7878 DEF(damage_rifle_alien);
7879 SUB(damage_rifle_alien) {
7880 MY(airfriction) = 1;
7881 MY(alpha_min) = 256;
7882 MY(alpha_max) = 256;
7883 MY(alpha_fade) = 64;
7885 MY(color_min) = "0xDC9BCD";
7886 MY(color_max) = "0xDC9BCD";
7887 MY(count) = 0.300000;
7888 MY(liquidfriction) = 4;
7891 MY(staincolor_min) = "0x808080";
7892 MY(staincolor_max) = "0x808080";
7893 MY(staintex_min) = 16;
7894 MY(staintex_max) = 24;
7898 MY(velocityjitter) = '32.0 32.0 32.0';
7899 MY(velocitymultiplier) = 5;
7902 SUB(damage_rifle_alien) {
7903 MY(alpha_min) = 100;
7904 MY(alpha_max) = 256;
7905 MY(alpha_fade) = 400;
7906 MY(color_min) = "0x000000";
7907 MY(color_max) = "0x204010";
7912 MY(type) = "alphastatic";
7915 // rifle damage effect, robot blood
7916 DEF(damage_rifle_robot);
7917 SUB(damage_rifle_robot) {
7918 MY(airfriction) = 1;
7919 MY(alpha_min) = 256;
7920 MY(alpha_max) = 256;
7921 MY(alpha_fade) = 64;
7923 MY(color_min) = "0xC0D890";
7924 MY(color_max) = "0xC0D890";
7925 MY(count) = 0.300000;
7926 MY(liquidfriction) = 4;
7929 MY(staincolor_min) = "0x808080";
7930 MY(staincolor_max) = "0x808080";
7931 MY(staintex_min) = 16;
7932 MY(staintex_max) = 24;
7936 MY(velocityjitter) = '32.0 32.0 32.0';
7937 MY(velocitymultiplier) = 5;
7940 SUB(damage_rifle_robot) {
7941 MY(alpha_min) = 100;
7942 MY(alpha_max) = 256;
7943 MY(alpha_fade) = 400;
7944 MY(color_min) = "0x000000";
7945 MY(color_max) = "0x301860";
7950 MY(type) = "alphastatic";
7953 // seeker damage effect
7955 SUB(damage_seeker) {
7956 MY(alpha_min) = 512;
7958 MY(alpha_fade) = 1024;
7959 MY(color_min) = "0x8f0c00";
7960 MY(color_max) = "0xff2200";
7962 MY(gravity) = -0.300000;
7963 MY(notunderwater) = true;
7964 MY(originjitter) = '2.0 2.0 2.0';
7965 MY(sizeincrease) = -10;
7971 MY(velocityjitter) = '22.0 22.0 50.0';
7974 SUB(damage_seeker) {
7975 MY(alpha_min) = 128;
7977 MY(alpha_fade) = 128;
7978 MY(color_min) = "0x000000";
7979 MY(color_max) = "0x111111";
7981 MY(gravity) = -0.300000;
7982 MY(notunderwater) = true;
7983 MY(originjitter) = '4.0 4.0 4.0';
7984 MY(sizeincrease) = 10;
7988 MY(type) = "alphastatic";
7989 MY(velocityjitter) = '11.0 11.0 50.0';
7992 // hagar damage effect
7995 MY(alpha_min) = 512;
7997 MY(alpha_fade) = 1024;
7998 MY(color_min) = "0x8f0c00";
7999 MY(color_max) = "0xff3a00";
8001 MY(gravity) = -0.300000;
8002 MY(notunderwater) = true;
8003 MY(originjitter) = '2.0 2.0 2.0';
8004 MY(sizeincrease) = -10;
8010 MY(velocityjitter) = '22.0 22.0 50.0';
8014 MY(alpha_min) = 128;
8016 MY(alpha_fade) = 128;
8017 MY(color_min) = "0x000000";
8018 MY(color_max) = "0x111111";
8020 MY(gravity) = -0.300000;
8021 MY(notunderwater) = true;
8022 MY(originjitter) = '4.0 4.0 4.0';
8023 MY(sizeincrease) = 10;
8027 MY(type) = "alphastatic";
8028 MY(velocityjitter) = '11.0 11.0 50.0';
8031 // fireball damage effect
8032 DEF(damage_fireball);
8033 SUB(damage_fireball) {
8034 MY(alpha_min) = 256;
8036 MY(alpha_fade) = 512;
8037 MY(color_min) = "0x8f0d00";
8038 MY(color_max) = "0xff5a00";
8040 MY(gravity) = -0.500000;
8041 MY(notunderwater) = true;
8042 MY(originjitter) = '8.0 8.0 8.0';
8043 MY(sizeincrease) = -10;
8049 MY(velocityjitter) = '22.0 22.0 50.0';
8052 SUB(damage_fireball) {
8053 MY(alpha_min) = 128;
8055 MY(alpha_fade) = 128;
8056 MY(color_min) = "0x000000";
8057 MY(color_max) = "0x111111";
8059 MY(gravity) = -0.300000;
8060 MY(notunderwater) = true;
8061 MY(originjitter) = '6.0 6.0 6.0';
8062 MY(sizeincrease) = 10;
8066 MY(type) = "alphastatic";
8067 MY(velocityjitter) = '11.0 11.0 50.0';
8070 // rocketlauncher damage effect
8071 DEF(damage_devastator);
8072 SUB(damage_devastator) {
8073 MY(alpha_min) = 512;
8075 MY(alpha_fade) = 1024;
8076 MY(color_min) = "0x8f0c00";
8077 MY(color_max) = "0xff2a00";
8079 MY(gravity) = -0.700000;
8080 MY(notunderwater) = true;
8081 MY(originjitter) = '4.0 4.0 4.0';
8082 MY(sizeincrease) = -10;
8088 MY(velocityjitter) = '22.0 22.0 30.0';
8091 SUB(damage_devastator) {
8092 MY(alpha_min) = 128;
8094 MY(alpha_fade) = 128;
8095 MY(color_min) = "0x000000";
8096 MY(color_max) = "0x111111";
8098 MY(gravity) = -0.300000;
8099 MY(notunderwater) = true;
8100 MY(originjitter) = '4.0 4.0 4.0';
8101 MY(sizeincrease) = 10;
8105 MY(type) = "alphastatic";
8106 MY(velocityjitter) = '11.0 11.0 50.0';
8112 MY(airfriction) = 5;
8113 MY(alpha_min) = 256;
8114 MY(alpha_max) = 256;
8115 MY(alpha_fade) = 70;
8117 MY(color_min) = "0xff9600";
8118 MY(color_max) = "0xffefb8";
8120 MY(originjitter) = '32.0 32.0 32.0';
8121 MY(originoffset) = '8.0 8.0 8.0';
8122 MY(sizeincrease) = -0.300000;
8129 MY(type) = "static";
8130 MY(velocityjitter) = '64.0 64.0 64.0';
8131 MY(velocityoffset) = '2.0 2.0 2.0';
8134 DEF(healray_muzzleflash);
8135 SUB(healray_muzzleflash) {
8136 MY(alpha_min) = 256;
8137 MY(alpha_max) = 256;
8138 MY(alpha_fade) = 512;
8139 MY(color_min) = "0x283880";
8140 MY(color_max) = "0x283880";
8141 MY(countabsolute) = 1;
8142 MY(lightcolor) = '1.5 3.0 6.0';
8143 MY(lightradiusfade) = 2000;
8144 MY(lightradius) = 200;
8145 MY(originjitter) = '1.5 1.5 1.5';
8146 MY(sizeincrease) = -10;
8152 MY(velocityjitter) = '6.0 6.0 6.0';
8153 MY(velocitymultiplier) = 0.010000;
8155 SUB(healray_muzzleflash) {
8156 MY(airfriction) = 5;
8158 MY(alpha_max) = 150;
8159 MY(alpha_fade) = 1924;
8160 MY(color_min) = "0xD9FDFF";
8161 MY(color_max) = "0x00f0ff";
8163 MY(originjitter) = '1.0 1.0 1.0';
8164 MY(sizeincrease) = 3;
8167 MY(stretchfactor) = 3.900000;
8171 MY(velocityjitter) = '150.0 150.0 150.0';
8172 MY(velocitymultiplier) = 0.400000;
8174 SUB(healray_muzzleflash) {
8175 MY(alpha_min) = 110;
8176 MY(alpha_max) = 228;
8177 MY(alpha_fade) = 4024;
8178 MY(color_min) = "0xD9FDFF";
8179 MY(color_max) = "0x00f0ff";
8181 MY(originjitter) = '1.0 1.0 1.0';
8184 MY(stretchfactor) = 0.200000;
8188 MY(velocityjitter) = '650.0 650.0 650.0';
8189 MY(velocitymultiplier) = 1.100000;
8192 DEF(healray_impact);
8193 SUB(healray_impact) {
8194 MY(alpha_min) = 256;
8195 MY(alpha_max) = 256;
8196 MY(color_min) = "0xd800ff";
8197 MY(color_max) = "0xd800ff";
8198 MY(countabsolute) = 1;
8199 MY(lightcolor) = '0.0 4.4 0.0';
8200 MY(lightradiusfade) = 450;
8201 MY(lightradius) = 125;
8202 MY(originjitter) = '17.0 17.0 17.0';
8210 SUB(healray_impact) {
8213 MY(alpha_fade) = 350;
8214 MY(color_min) = "0x00ff00";
8215 MY(color_max) = "0x84c52f";
8216 MY(countabsolute) = 1;
8217 MY(sizeincrease) = 1400;
8223 MY(velocitymultiplier) = 44;
8225 // cloud of bouncing sparks
8226 SUB(healray_impact) {
8227 MY(airfriction) = 6;
8228 MY(alpha_min) = 156;
8229 MY(alpha_max) = 300;
8230 MY(alpha_fade) = 1024;
8231 MY(color_min) = "0x00ff00";
8232 MY(color_max) = "0x84c52f";
8235 MY(originjitter) = '1.0 1.0 1.0';
8241 MY(velocityjitter) = '1112.0 1112.0 1112.0';
8243 // inner cloud of smoke
8244 SUB(healray_impact) {
8245 MY(airfriction) = 3;
8246 MY(alpha_min) = 200;
8247 MY(alpha_max) = 456;
8248 MY(alpha_fade) = 512;
8249 MY(color_min) = "0x00ff00";
8250 MY(color_max) = "0x84c52f";
8253 MY(startangle_min) = -180;
8254 MY(startangle_max) = 180;
8262 MY(velocityjitter) = '120.0 120.0 420.0';
8265 DEF(bigplasma_muzzleflash);
8266 SUB(bigplasma_muzzleflash) {
8267 MY(alpha_min) = 256;
8268 MY(alpha_max) = 256;
8269 MY(alpha_fade) = 812;
8270 MY(color_min) = "0x283880";
8271 MY(color_max) = "0x283880";
8272 MY(countabsolute) = 1;
8273 MY(lightcolor) = '1.5 3.0 6.0';
8274 MY(lightradiusfade) = 2000;
8275 MY(lightradius) = 200;
8276 MY(originjitter) = '1.5 1.5 1.5';
8277 MY(sizeincrease) = -10;
8283 MY(velocityjitter) = '6.0 6.0 6.0';
8284 MY(velocitymultiplier) = 0.010000;
8286 SUB(bigplasma_muzzleflash) {
8289 MY(alpha_fade) = 1112;
8290 MY(color_min) = "0x00f0ff";
8291 MY(color_max) = "0x00f0ff";
8292 MY(countabsolute) = 1;
8293 MY(sizeincrease) = 300;
8300 SUB(bigplasma_muzzleflash) {
8301 MY(airfriction) = 5;
8303 MY(alpha_max) = 150;
8304 MY(alpha_fade) = 1924;
8305 MY(color_min) = "0xD9FDFF";
8306 MY(color_max) = "0x00f0ff";
8308 MY(originjitter) = '1.0 1.0 1.0';
8309 MY(sizeincrease) = 135;
8312 MY(stretchfactor) = 1.900000;
8316 MY(velocityjitter) = '350.0 350.0 350.0';
8317 MY(velocitymultiplier) = 0.400000;
8319 SUB(bigplasma_muzzleflash) {
8320 MY(alpha_min) = 110;
8321 MY(alpha_max) = 228;
8322 MY(alpha_fade) = 4024;
8323 MY(color_min) = "0xD9FDFF";
8324 MY(color_max) = "0x00f0ff";
8326 MY(originjitter) = '1.0 1.0 1.0';
8329 MY(stretchfactor) = 0.200000;
8333 MY(velocityjitter) = '650.0 650.0 650.0';
8334 MY(velocitymultiplier) = 1.100000;
8337 DEF(bigplasma_impact);
8338 SUB(bigplasma_impact) {
8339 MY(alpha_min) = 256;
8340 MY(alpha_max) = 256;
8341 MY(countabsolute) = 1;
8342 MY(lightcolor) = '3.1 4.4 10.0';
8343 MY(lightradiusfade) = 450;
8344 MY(lightradius) = 125;
8345 MY(originjitter) = '17.0 17.0 17.0';
8353 SUB(bigplasma_impact) {
8356 MY(alpha_fade) = 350;
8357 MY(color_min) = "0x80C0FF";
8358 MY(color_max) = "0x80C0FF";
8359 MY(countabsolute) = 1;
8360 MY(sizeincrease) = 1400;
8366 MY(velocitymultiplier) = 44;
8368 // cloud of bouncing sparks
8369 SUB(bigplasma_impact) {
8370 MY(airfriction) = 6;
8371 MY(alpha_min) = 156;
8372 MY(alpha_max) = 300;
8373 MY(alpha_fade) = 1024;
8374 MY(color_min) = "0x629dff";
8375 MY(color_max) = "0x0018ff";
8378 MY(originjitter) = '1.0 1.0 1.0';
8384 MY(velocityjitter) = '1512.0 1512.0 1512.0';
8386 // inner cloud of smoke
8387 SUB(bigplasma_impact) {
8388 MY(airfriction) = 30;
8389 MY(alpha_min) = 200;
8390 MY(alpha_max) = 456;
8391 MY(alpha_fade) = 1512;
8392 MY(color_min) = "0x629dff";
8393 MY(color_max) = "0x0018ff";
8395 MY(originjitter) = '20.0 20.0 20.0';
8396 MY(startangle_min) = -180;
8397 MY(startangle_max) = 180;
8400 MY(sizeincrease) = 555;
8406 MY(velocityjitter) = '320.0 320.0 320.0';
8409 SUB(bigplasma_impact) {
8410 MY(airfriction) = 0.040000;
8411 MY(alpha_min) = 128;
8412 MY(alpha_max) = 328;
8413 MY(alpha_fade) = 390;
8414 MY(blend) = "alpha";
8415 MY(color_min) = "0x222222";
8416 MY(color_max) = "0x000000";
8418 MY(gravity) = 0.400000;
8419 MY(originjitter) = '80.0 80.0 10.0';
8420 MY(startangle_min) = -180;
8421 MY(startangle_max) = 180;
8424 MY(sizeincrease) = 30;
8429 MY(velocityjitter) = '100.0 100.0 200.0';
8430 MY(velocityoffset) = '0.0 0.0 180.0';
8432 // smoke in the middle
8433 SUB(bigplasma_impact) {
8434 MY(airfriction) = 0.040000;
8435 MY(alpha_min) = 128;
8436 MY(alpha_max) = 328;
8437 MY(alpha_fade) = 310;
8438 MY(color_min) = "0x222222";
8439 MY(color_max) = "0x000000";
8441 MY(gravity) = -0.200000;
8442 MY(originjitter) = '80.0 80.0 80.0';
8443 MY(startangle_min) = -180;
8444 MY(startangle_max) = 180;
8447 MY(sizeincrease) = -10;
8451 MY(type) = "alphastatic";
8452 MY(velocityjitter) = '10.0 10.0 10.0';
8455 #include "effectinfo_ctf.inc"
8457 // spawn_point -- team idle spawn point effect
8458 #define spawn_point(name, color) \
8459 DEF(spawn_point_##name); \
8460 SUB(spawn_point_##name) { \
8461 MY(airfriction) = 0.200000; \
8462 MY(alpha_min) = 64; \
8463 MY(alpha_max) = 128; \
8464 MY(alpha_fade) = 128; \
8465 MY(color_min) = color; \
8466 MY(color_max) = color; \
8467 MY(count) = 37.500000; \
8468 MY(gravity) = -0.100000; \
8469 MY(liquidfriction) = 0.800000; \
8470 MY(originjitter) = '16.0 16.0 64.0'; \
8473 MY(type) = "static"; \
8474 MY(velocityjitter) = '32.0 32.0 0.0'; \
8477 spawn_point(red, "0xFF0F0F")
8478 spawn_point(blue, "0x0F0FFF")
8479 spawn_point(yellow, "0xFFFF0F")
8480 spawn_point(pink, "0xFF0FFF")
8481 spawn_point(neutral, "0xFFFFFF")
8484 // spawn_event -- team spawning effect
8485 #define spawn_event(name, color) \
8486 DEF(spawn_event_##name); \
8487 SUB(spawn_event_##name) { \
8488 MY(airfriction) = 2; \
8489 MY(alpha_max) = 256; \
8490 MY(alpha_fade) = 256; \
8492 MY(color_min) = color; \
8493 MY(color_max) = color; \
8495 MY(originjitter) = '1.0 1.0 1.0'; \
8498 MY(stretchfactor) = 0.600000; \
8501 MY(type) = "spark"; \
8502 MY(velocityjitter) = '500.0 500.0 500.0'; \
8503 MY(velocitymultiplier) = 0.100000; \
8505 SUB(spawn_event_##name) { \
8506 MY(alpha_min) = 190; \
8507 MY(alpha_max) = 190; \
8508 MY(alpha_fade) = 180; \
8509 MY(color_min) = color; \
8510 MY(color_max) = color; \
8511 MY(countabsolute) = 1; \
8512 MY(sizeincrease) = -80; \
8513 MY(size_min) = 100; \
8514 MY(size_max) = 100; \
8517 MY(type) = "smoke"; \
8521 spawn_event(red, "0xFF0F0F")
8522 spawn_event(blue, "0x0F0FFF")
8523 spawn_event(yellow, "0xFFFF0F")
8524 spawn_event(pink, "0xFF0FFF")
8525 spawn_event(neutral, "0xFFFFFF")
8528 #include "effectinfo_nades.inc"
8530 DEF(shockwave_attack);
8532 SUB(shockwave_attack) {
8533 MY(airfriction) = 1;
8534 MY(alpha_min) = 4096;
8535 MY(alpha_max) = 4096;
8536 MY(alpha_fade) = 20000;
8537 MY(color_min) = "0xb44215";
8538 MY(color_max) = "0xff0000";
8540 MY(originjitter) = '2.0 2.0 2.0';
8541 MY(startangle_min) = -180;
8542 MY(startangle_max) = 180;
8543 MY(spin_min) = 4000;
8544 MY(spin_max) = -4000;
8545 MY(sizeincrease) = 1.500000;
8548 MY(stretchfactor) = 2.300000;
8552 MY(velocityjitter) = '10.0 10.0 10.0';
8553 MY(velocitymultiplier) = 10;
8556 SUB(shockwave_attack) {
8557 MY(airfriction) = 1;
8558 MY(alpha_min) = 4096;
8559 MY(alpha_max) = 4096;
8560 MY(alpha_fade) = 20000;
8561 MY(color_min) = "0xff4200";
8562 MY(color_max) = "0xff0000";
8564 MY(originjitter) = '2.0 2.0 2.0';
8565 MY(sizeincrease) = 1.500000;
8568 MY(stretchfactor) = 2;
8572 MY(velocityjitter) = '10.0 10.0 10.0';
8573 MY(velocitymultiplier) = 10;
8578 SUB(arc_lightning) {
8581 MY(countabsolute) = 1;
8582 MY(lightcolor) = '3.1 4.4 10.0';
8583 MY(lightradiusfade) = 200;
8584 MY(lightradius) = 50;
8585 MY(originjitter) = '2.0 2.0 2.0';
8593 SUB(arc_lightning) {
8594 MY(airfriction) = 110;
8595 MY(alpha_min) = 256;
8596 MY(alpha_max) = 256;
8597 MY(alpha_fade) = 512;
8598 MY(color_min) = "0xDDFDFF";
8599 MY(color_max) = "0xFDFDFF";
8601 MY(originjitter) = '20.0 20.0 20.0';
8602 MY(startangle_max) = 360;
8603 MY(spin_min) = -36000;
8604 MY(spin_max) = 36000;
8605 MY(sizeincrease) = -5;
8607 MY(stretchfactor) = 1;
8610 MY(type) = "static";
8611 MY(velocityjitter) = '250.0 250.0 250.0';
8612 MY(velocitymultiplier) = 100;
8614 // impact sparks (underwater)
8615 SUB(arc_lightning) {
8616 MY(airfriction) = 5;
8617 MY(alpha_min) = 256;
8618 MY(alpha_max) = 256;
8619 MY(alpha_fade) = 512;
8620 MY(color_min) = "0xDDFDFF";
8621 MY(color_max) = "0xFDFDFF";
8623 MY(liquidfriction) = 5;
8624 MY(orientation) = "spark";
8625 MY(originjitter) = '20.0 20.0 20.0';
8626 MY(startangle_max) = 360;
8627 MY(spin_min) = -36000;
8628 MY(spin_max) = 36000;
8629 MY(sizeincrease) = -5;
8631 MY(stretchfactor) = 1;
8634 MY(type) = "static";
8635 MY(underwater) = true;
8636 MY(velocityjitter) = '250.0 250.0 250.0';
8637 MY(velocitymultiplier) = 20;
8640 SUB(arc_lightning) {
8643 MY(alpha_fade) = 350;
8644 MY(color_min) = "0x80C0FF";
8645 MY(color_max) = "0x80C0FF";
8646 MY(countabsolute) = 1;
8647 MY(sizeincrease) = 400;
8653 MY(velocitymultiplier) = 100;
8659 MY(airfriction) = -10;
8660 MY(alpha_min) = 256;
8661 MY(alpha_max) = 256;
8662 MY(alpha_fade) = 16384;
8663 MY(color_min) = "0xfafad2";
8664 MY(color_max) = "0xffffff";
8665 MY(originjitter) = '3.0 3.0 3.0';
8666 MY(relativeoriginoffset) = '10.0 0.0 0.0';
8667 MY(startangle_max) = 360;
8669 MY(spin_max) = 1000;
8670 MY(stretchfactor) = 1;
8673 MY(time_min) = 0.050000;
8674 MY(time_max) = 0.050000;
8675 MY(trailspacing) = 10;
8677 MY(velocityjitter) = '100.0 100.0 100.0';
8678 MY(velocitymultiplier) = 200;
8680 // sparks on beam (underwater)
8682 MY(alpha_min) = 256;
8683 MY(alpha_max) = 256;
8684 MY(alpha_fade) = 16384;
8685 MY(color_min) = "0xfafad2";
8686 MY(color_max) = "0xffffff";
8687 MY(liquidfriction) = -10;
8688 MY(originjitter) = '30.0 30.0 30.0';
8689 MY(relativeoriginoffset) = '10.0 0.0 0.0';
8690 MY(startangle_max) = 360;
8692 MY(spin_max) = 1000;
8693 MY(stretchfactor) = 1;
8696 MY(time_min) = 0.001000;
8697 MY(time_max) = 0.001000;
8698 MY(trailspacing) = 10;
8700 MY(underwater) = true;
8701 MY(velocityjitter) = '100.0 100.0 100.0';
8702 MY(velocitymultiplier) = 200;
8707 SUB(arc_beam_heal) {
8708 MY(airfriction) = -20;
8709 MY(alpha_min) = 2048;
8710 MY(alpha_max) = 2048;
8711 MY(alpha_fade) = 256;
8712 MY(color_min) = "0x20FF20";
8713 MY(color_max) = "0x40FF40";
8714 MY(relativeoriginoffset) = '5.0 0.0 0.0';
8715 MY(relativevelocityoffset) = '100.0 0.0 0.0';
8716 MY(sizeincrease) = 20;
8717 MY(size_min) = 0.100000;
8718 MY(size_max) = 0.100000;
8721 MY(trailspacing) = 1500;
8723 MY(velocityjitter) = '3.0 3.0 3.0';
8724 MY(velocitymultiplier) = 200;
8727 DEF(arc_beam_healimpact);
8729 SUB(arc_beam_healimpact) {
8732 MY(alpha_fade) = 350;
8733 MY(color_min) = "0x00ff00";
8734 MY(color_max) = "0x84c52f";
8735 MY(countabsolute) = 1;
8736 MY(lightcolor) = '0.0 4.4 0.0';
8737 MY(lightradiusfade) = 150;
8738 MY(lightradius) = 20;
8739 MY(sizeincrease) = -1000;
8745 MY(velocitymultiplier) = 44;
8748 SUB(arc_beam_healimpact) {
8749 MY(airfriction) = 3;
8750 MY(alpha_min) = 200;
8751 MY(alpha_max) = 456;
8752 MY(alpha_fade) = 512;
8753 MY(color_min) = "0x00ff00";
8754 MY(color_max) = "0x84c52f";
8757 MY(startangle_min) = -180;
8758 MY(startangle_max) = 180;
8761 MY(size_min) = 0.500000;
8766 MY(velocityjitter) = '120.0 120.0 420.0';
8770 // arc heat smoke (notunderwater)
8772 MY(airfriction) = 1;
8775 MY(alpha_fade) = 48;
8776 MY(color_min) = "0x4c453f";
8777 MY(color_max) = "0x2a241f";
8779 MY(gravity) = -0.125000;
8780 MY(notunderwater) = true;
8781 MY(startangle_max) = 360;
8782 MY(spin_min) = -180;
8784 MY(sizeincrease) = 10;
8789 MY(velocityjitter) = '0.0 0.0 16.0';
8791 // arc heat bubbles (underwater)
8793 MY(alpha_min) = 170;
8794 MY(alpha_max) = 256;
8795 MY(alpha_fade) = 64;
8796 MY(bounce) = 1.500000;
8797 MY(color_min) = "0x404040";
8798 MY(color_max) = "0x808080";
8800 MY(gravity) = -0.125000;
8801 MY(liquidfriction) = 0.250000;
8802 MY(originjitter) = '6.0 6.0 6.0';
8803 MY(size_min) = 0.100000;
8807 MY(type) = "bubble";
8808 MY(underwater) = true;
8809 MY(velocityjitter) = '16.0 16.0 16.0';
8813 // arc overheat electric bolts
8815 MY(airfriction) = 5;
8816 MY(alpha_min) = 128;
8817 MY(alpha_max) = 128;
8818 MY(alpha_fade) = 292;
8819 MY(color_min) = "0xffffff";
8820 MY(color_max) = "0x9271fb";
8822 MY(gravity) = -0.400000;
8823 MY(liquidfriction) = 10;
8824 MY(originjitter) = '10.0 10.0 10.0';
8825 MY(sizeincrease) = -24;
8831 MY(velocityjitter) = '256.0 256.0 256.0';
8834 DEF(arc_overheat_fire);
8835 // arc overheat bouncing sparks
8836 SUB(arc_overheat_fire) {
8837 MY(alpha_max) = 256;
8838 MY(alpha_fade) = 640;
8839 MY(bounce) = 1.500000;
8840 MY(color_min) = "0x4444ff";
8841 MY(color_max) = "0xeeeeff";
8844 MY(liquidfriction) = 5;
8845 MY(originjitter) = '6.0 6.0 6.0';
8846 MY(size_min) = 0.400000;
8849 MY(velocityjitter) = '92.0 92.0 92.0';
8850 MY(velocitymultiplier) = 80;
8851 MY(velocityoffset) = '0.0 0.0 80.0';
8854 #include "effectinfo_buffs.inc"
8856 #include "effectinfo_instagib.inc"
8858 DEF(arc_muzzleflash);
8859 SUB(arc_muzzleflash) {
8860 MY(alpha_min) = 256;
8861 MY(alpha_max) = 256;
8862 MY(alpha_fade) = 512;
8863 MY(color_min) = "0x00ff00";
8864 MY(color_max) = "0x8f4333";
8866 MY(lightcolor) = '0.3 2.0 0.2';
8867 MY(lightradiusfade) = 2000;
8868 MY(lightradius) = 200;
8869 MY(originjitter) = '1.5 1.5 1.5';
8874 MY(velocityjitter) = '6.0 6.0 6.0';
8875 MY(velocitymultiplier) = 0.010000;
8877 SUB(arc_muzzleflash) {
8878 MY(airfriction) = 12;
8879 MY(alpha_max) = 128;
8880 MY(alpha_fade) = 1024;
8881 MY(color_min) = "0x00ff00";
8882 MY(color_max) = "0x8f4333";
8884 MY(originjitter) = '1.0 1.0 1.0';
8885 MY(startangle_min) = -180;
8886 MY(startangle_max) = 180;
8887 MY(spin_min) = -400;
8891 MY(stretchfactor) = 2;
8895 MY(velocityjitter) = '200.0 200.0 200.0';
8896 MY(velocitymultiplier) = 0.500000;
8899 DEF(arc_bolt_explode);
8901 SUB(arc_bolt_explode) {
8902 MY(alpha_min) = 256;
8903 MY(alpha_max) = 256;
8904 MY(countabsolute) = 1;
8905 MY(lightcolor) = '8.0 4.0 1.0';
8906 MY(lightradiusfade) = 400;
8907 MY(lightradius) = 120;
8908 MY(originjitter) = '14.0 14.0 14.0';
8915 // fire effect which make bright dot inside
8916 SUB(arc_bolt_explode) {
8917 MY(airfriction) = 8;
8919 MY(alpha_max) = 200;
8920 MY(alpha_fade) = 356;
8921 MY(bounce) = 1.500000;
8922 MY(color_min) = "0x00ffff";
8923 MY(color_max) = "0x00ffff";
8924 MY(count) = 3.500000;
8925 MY(liquidfriction) = 8;
8926 MY(notunderwater) = true;
8927 MY(originjitter) = '8.0 8.0 8.0';
8928 MY(sizeincrease) = 5;
8934 MY(velocityjitter) = '156.0 156.0 156.0';
8936 // fire effect which expands then slows
8937 SUB(arc_bolt_explode) {
8938 MY(airfriction) = 12;
8939 MY(alpha_min) = 128;
8940 MY(alpha_max) = 256;
8941 MY(alpha_fade) = 456;
8942 MY(bounce) = 1.500000;
8943 MY(color_min) = "0x00ff00";
8944 MY(color_max) = "0x8f4333";
8946 MY(liquidfriction) = 8;
8947 MY(notunderwater) = true;
8948 MY(originjitter) = '8.0 8.0 8.0';
8949 MY(sizeincrease) = 15;
8954 MY(type) = "static";
8955 MY(velocityjitter) = '286.0 286.0 286.0';
8957 // underwater bubbles
8958 SUB(arc_bolt_explode) {
8959 MY(alpha_min) = 128;
8960 MY(alpha_max) = 256;
8961 MY(alpha_fade) = 64;
8962 MY(bounce) = 1.500000;
8963 MY(color_min) = "0x404040";
8964 MY(color_max) = "0x808080";
8966 MY(gravity) = -0.125000;
8967 MY(liquidfriction) = 0.250000;
8968 MY(originjitter) = '16.0 16.0 16.0';
8973 MY(type) = "bubble";
8974 MY(underwater) = true;
8975 MY(velocityjitter) = '96.0 96.0 96.0';
8978 SUB(arc_bolt_explode) {
8979 MY(airfriction) = 1;
8980 MY(alpha_min) = 644;
8981 MY(alpha_max) = 956;
8982 MY(alpha_fade) = 684;
8983 MY(bounce) = 1.600000;
8984 MY(color_min) = "0x00ff00";
8985 MY(color_max) = "0x8f4333";
8988 MY(liquidfriction) = 0.800000;
8989 MY(notunderwater) = true;
8990 MY(originjitter) = '16.0 16.0 16.0';
8992 MY(size_max) = 0.100000;
8996 MY(velocityjitter) = '224.0 224.0 224.0';
8997 MY(velocityoffset) = '0.0 0.0 80.0';
9000 // weak bullet trail (somewhat like a tracer)
9001 DEF(tr_bullet_weak);
9002 SUB(tr_bullet_weak) {
9003 MY(alpha) = '75 100 3000';
9004 MY(color_min) = "0xf03000";
9005 MY(color_max) = "0xff6010";
9006 MY(countabsolute) = 1;
9007 MY(sizeincrease) = -3;
9014 SUB(tr_bullet_weak) {
9015 MY(airfriction) = -4;
9016 MY(alpha) = '256 256 350';
9017 MY(color_min) = "0x202020";
9018 MY(color_max) = "0x404040";
9019 MY(notunderwater) = true;
9020 MY(sizeincrease) = 0.4;
9025 MY(trailspacing) = 16;
9027 MY(velocityjitter) = '4 4 4';
9029 SUB(tr_bullet_weak) {
9030 MY(alpha_min) = 256;
9031 MY(alpha_max) = 256;
9032 MY(alpha_fade) = 128;
9033 MY(bounce) = 1.500000;
9034 MY(color_min) = "0x404040";
9035 MY(color_max) = "0x808080";
9036 MY(gravity) = -0.125000;
9037 MY(liquidfriction) = 4;
9042 MY(trailspacing) = 32;
9043 MY(type) = "bubble";
9044 MY(underwater) = true;
9045 MY(velocityjitter) = '16.0 16.0 16.0';
9048 // Vaporizer hit effect
9050 SUB(TE_TEI_G3_HIT) {
9051 MY(alpha_min) = 128;
9052 MY(alpha_max) = 128;
9053 MY(alpha_fade) = 256;
9054 MY(color_min) = "0xFFFFFF";
9055 MY(color_max) = "0xFFFFFF";
9056 MY(countabsolute) = 1;
9063 SUB(TE_TEI_G3_HIT) /* rings */ {
9064 MY(airfriction) = -4;
9065 MY(alpha_min) = 256;
9066 MY(alpha_max) = 256;
9067 MY(alpha_fade) = 512;
9068 MY(color_min) = "0xFFFFFF";
9069 MY(color_max) = "0xFFFFFF";
9070 MY(sizeincrease) = -2;
9073 MY(trailspacing) = 20;
9075 MY(velocityjitter) = '2.0 2.0 2.0';
9077 SUB(TE_TEI_G3_HIT) {
9078 MY(airfriction) = -4;
9079 MY(alpha_min) = 256;
9080 MY(alpha_max) = 256;
9081 MY(alpha_fade) = 512;
9082 MY(color_min) = "0xFFFFFF";
9083 MY(color_max) = "0xFFFFFF";
9084 MY(sizeincrease) = -6;
9087 MY(trailspacing) = 40;
9091 // respawn ghosts effect
9093 SUB(RESPAWN_GHOST) {
9095 MY(type) = "static";
9096 MY(color_min) = "0xA0A0A0";
9097 MY(color_max) = "0xFFFFFF";
9102 MY(alpha_fade) = 128;
9103 MY(airfriction) = 1;
9104 MY(liquidfriction) = 4;
9105 MY(originoffset) = '0 0 -8';
9106 MY(originjitter) = '28 28 16';
9107 MY(velocityjitter) = '0 0 256';
9110 // always add new effects to the bottom of the list. And keep this comment in the bottom line of this file!