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
6 // `tex` are indices into particles/particlefont.tga (see particles/particlefont-template.tga for numbers)
7 // the first index is inclusive, second exclusive (so `tex 0 8` will use images 0 though 7)
8 // unless they're equal (`tex 69 69` is the same as `tex 69 70`)
10 // item respawn effect
12 // flare particle and light
17 MY(color_min) = "0x63F2EA";
18 MY(color_max) = "0x63f2EA";
19 MY(countabsolute) = 1;
20 MY(lightcolor) = '0.4 0.9 0.9';
21 MY(lightradiusfade) = 200;
22 MY(lightradius) = 200;
27 // cloud of particles which expand rapidly and then slow to form a ball
33 MY(color_min) = "0x63F2EA";
34 MY(color_max) = "0x63f2EA";
36 MY(liquidfriction) = 2;
37 MY(originjitter) = '16.0 16.0 16.0';
41 MY(velocityjitter) = '32.0 32.0 32.0';
50 MY(countabsolute) = 1;
51 MY(lightcolor) = '4.0 0.2 0.2';
52 MY(lightradiusfade) = 1000;
53 MY(lightradius) = 200;
54 MY(originjitter) = '16.0 16.0 16.0';
65 MY(alpha_fade) = 1024;
66 MY(color_min) = "0xFF2010";
67 MY(color_max) = "0xFF2010";
68 MY(countabsolute) = 1;
75 // sparks that rapidly expand and rapidly slow down to form an interesting spherical effect
80 MY(alpha_fade) = 1024;
81 MY(color_min) = "0x800000";
82 MY(color_max) = "0xFF8020";
84 MY(liquidfriction) = 6;
88 MY(velocityjitter) = '256.0 256.0 256.0';
91 // machinegun bullet impact
93 // bullet impact decal
97 MY(countabsolute) = 1;
98 MY(originjitter) = '6.0 6.0 6.0';
105 // dust/smoke drifting away from the impact
109 MY(alpha_fade) = 256;
110 MY(color_min) = "0x101010";
111 MY(color_max) = "0x101010";
113 MY(sizeincrease) = 3;
118 MY(velocityjitter) = '8.0 8.0 8.0';
120 // dust/smoke staying at the impact
124 MY(alpha_fade) = 128;
125 MY(color_min) = "0x505050";
126 MY(color_max) = "0x505050";
127 MY(count) = 0.500000;
128 MY(sizeincrease) = 4;
137 MY(alpha_fade) = 256;
138 MY(bounce) = 1.500000;
139 MY(color_min) = "0x8f4333";
140 MY(color_max) = "0xfff31b";
143 MY(size_min) = 0.400000;
144 MY(size_max) = 0.400000;
146 MY(velocityjitter) = '64.0 64.0 64.0';
147 MY(velocityoffset) = '0.0 0.0 80.0';
150 // electro combo explosion
156 MY(countabsolute) = 1;
157 MY(lightcolor) = '2.0 2.5 3.0';
158 MY(lightradiusfade) = 200;
159 MY(lightradius) = 400;
160 MY(originjitter) = '34.0 34.0 34.0';
171 MY(alpha_fade) = 128;
172 MY(color_min) = "0x80C0FF";
173 MY(color_max) = "0x80C0FF";
174 MY(countabsolute) = 1;
186 MY(alpha_fade) = 256;
187 MY(bounce) = 1.500000;
188 MY(color_min) = "0x2030FF";
189 MY(color_max) = "0x80C0FF";
191 MY(liquidfriction) = 16;
195 MY(velocityjitter) = '512.0 512.0 512.0';
204 MY(countabsolute) = 1;
205 MY(originjitter) = '6.0 6.0 6.0';
212 // dust/smoke drifting away from the impact
216 MY(alpha_fade) = 256;
217 MY(color_min) = "0x101010";
218 MY(color_max) = "0x101010";
220 MY(sizeincrease) = 3;
225 MY(velocityjitter) = '8.0 8.0 8.0';
227 // dust/smoke staying at the impact
231 MY(alpha_fade) = 128;
232 MY(color_min) = "0x505050";
233 MY(color_max) = "0x505050";
234 MY(count) = 0.500000;
235 MY(sizeincrease) = 4;
241 // sparks that disappear on impact
244 MY(alpha_fade) = 768;
246 MY(color_min) = "0x8f4333";
247 MY(color_max) = "0xfff31b";
250 MY(size_min) = 0.400000;
251 MY(size_max) = 0.400000;
253 MY(velocityjitter) = '64.0 64.0 64.0';
254 MY(velocityoffset) = '0.0 0.0 80.0';
258 DEF(TE_SUPERSPIKEQUAD);
260 SUB(TE_SUPERSPIKEQUAD) {
263 MY(countabsolute) = 1;
264 MY(lightcolor) = '0.2 0.2 1.5';
265 MY(lightradiusfade) = 500;
266 MY(lightradius) = 100;
267 MY(originjitter) = '6.0 6.0 6.0';
274 // dust/smoke drifting away from the impact
275 SUB(TE_SUPERSPIKEQUAD) {
278 MY(alpha_fade) = 256;
279 MY(color_min) = "0x101010";
280 MY(color_max) = "0x101010";
282 MY(sizeincrease) = 3;
287 MY(velocityjitter) = '8.0 8.0 8.0';
289 // dust/smoke staying at the impact
290 SUB(TE_SUPERSPIKEQUAD) {
293 MY(alpha_fade) = 128;
294 MY(color_min) = "0x505050";
295 MY(color_max) = "0x505050";
296 MY(count) = 0.500000;
297 MY(sizeincrease) = 4;
303 // sparks that disappear on impact
304 SUB(TE_SUPERSPIKEQUAD) {
306 MY(alpha_fade) = 768;
308 MY(color_min) = "0x8f4333";
309 MY(color_max) = "0xfff31b";
312 MY(size_min) = 0.400000;
313 MY(size_max) = 0.400000;
315 MY(velocityjitter) = '64.0 64.0 64.0';
316 MY(velocityoffset) = '0.0 0.0 80.0';
319 // shotgun pellet impact
325 MY(countabsolute) = 1;
326 MY(originjitter) = '6.0 6.0 6.0';
333 // dust/smoke drifting away from the impact
338 MY(color_min) = "0x101010";
339 MY(color_max) = "0x101010";
340 MY(count) = 0.800000;
341 MY(sizeincrease) = 3;
346 MY(velocityjitter) = '8.0 8.0 8.0';
348 // dust/smoke staying at the impact
353 MY(color_min) = "0x505050";
354 MY(color_max) = "0x505050";
355 MY(count) = 0.200000;
356 MY(sizeincrease) = 4;
366 MY(bounce) = 1.500000;
367 MY(color_min) = "0x8f4333";
368 MY(color_max) = "0xfff31b";
369 MY(count) = 2.500000;
371 MY(size_min) = 0.400000;
372 MY(size_max) = 0.400000;
374 MY(velocityjitter) = '64.0 64.0 64.0';
375 MY(velocityoffset) = '0.0 0.0 80.0';
378 // crylink impact effect
381 SUB(TE_GUNSHOTQUAD) {
384 MY(countabsolute) = 1;
385 MY(originjitter) = '12.0 12.0 12.0';
392 // purple flare effect
393 SUB(TE_GUNSHOTQUAD) {
396 MY(alpha_fade) = 512;
397 MY(color_min) = "0x504060";
398 MY(color_max) = "0x504060";
399 MY(countabsolute) = 1;
407 SUB(TE_GUNSHOTQUAD) {
410 MY(alpha_fade) = 384;
411 MY(bounce) = 1.500000;
412 MY(color_min) = "0xA040C0";
413 MY(color_max) = "0xFFFFFF";
419 MY(velocityjitter) = '128.0 128.0 128.0';
420 MY(velocityoffset) = '0.0 0.0 80.0';
423 // mortar/hagar explosion (smaller than rocket)
429 MY(countabsolute) = 1;
430 MY(lightcolor) = '4.0 2.0 0.5';
431 MY(lightradiusfade) = 300;
432 MY(lightradius) = 150;
433 MY(originjitter) = '40.0 40.0 40.0';
445 MY(color_min) = "0x404040";
446 MY(color_max) = "0x404040";
447 MY(countabsolute) = 1;
454 // fire effect which expands then slows
459 MY(alpha_fade) = 256;
460 MY(bounce) = 1.500000;
461 MY(color_min) = "0x902010";
462 MY(color_max) = "0xFFD080";
464 MY(liquidfriction) = 4;
465 MY(notunderwater) = true;
466 MY(originjitter) = '8.0 8.0 8.0';
472 MY(velocityjitter) = '256.0 256.0 256.0';
474 // underwater bubbles
479 MY(bounce) = 1.500000;
480 MY(color_min) = "0x404040";
481 MY(color_max) = "0x808080";
483 MY(gravity) = -0.125000;
484 MY(liquidfriction) = 0.250000;
485 MY(originjitter) = '16.0 16.0 16.0';
491 MY(underwater) = true;
492 MY(velocityjitter) = '96.0 96.0 96.0';
496 MY(airfriction) = 0.200000;
499 MY(alpha_fade) = 384;
500 MY(bounce) = 1.500000;
501 MY(color_min) = "0x903010";
502 MY(color_max) = "0xFFD030";
505 MY(liquidfriction) = 0.800000;
506 MY(notunderwater) = true;
510 MY(velocityjitter) = '256.0 256.0 256.0';
511 MY(velocityoffset) = '0.0 0.0 80.0';
515 DEF(TE_EXPLOSIONQUAD);
517 SUB(TE_EXPLOSIONQUAD) {
520 MY(countabsolute) = 1;
521 MY(lightcolor) = '4.0 2.0 8.0';
522 MY(lightradiusfade) = 700;
523 MY(lightradius) = 350;
524 MY(originjitter) = '40.0 40.0 40.0';
532 SUB(TE_EXPLOSIONQUAD) {
536 MY(color_min) = "0x202020";
537 MY(color_max) = "0x404040";
539 MY(notunderwater) = true;
544 MY(velocityjitter) = '48.0 48.0 48.0';
546 // underwater bubbles
547 SUB(TE_EXPLOSIONQUAD) {
551 MY(bounce) = 1.500000;
552 MY(color_min) = "0x404040";
553 MY(color_max) = "0x808080";
555 MY(gravity) = -0.125000;
556 MY(liquidfriction) = 0.250000;
557 MY(originjitter) = '16.0 16.0 16.0';
563 MY(underwater) = true;
564 MY(velocityjitter) = '96.0 96.0 96.0';
566 // sparks which go through walls
567 SUB(TE_EXPLOSIONQUAD) {
568 MY(airfriction) = 0.200000;
570 MY(alpha_fade) = 512;
571 MY(color_min) = "0x903010";
572 MY(color_max) = "0xFFD030";
575 MY(liquidfriction) = 0.800000;
576 MY(notunderwater) = true;
580 MY(velocityjitter) = '256.0 256.0 256.0';
581 MY(velocityoffset) = '0.0 0.0 80.0';
585 DEF(TE_TAREXPLOSION);
587 SUB(TE_TAREXPLOSION) {
590 MY(countabsolute) = 1;
591 MY(lightcolor) = '1.6 0.8 2.0';
592 MY(lightradiusfade) = 1200;
593 MY(lightradius) = 600;
594 MY(originjitter) = '40.0 40.0 40.0';
602 SUB(TE_TAREXPLOSION) {
606 MY(color_min) = "0x202020";
607 MY(color_max) = "0x404040";
609 MY(notunderwater) = true;
614 MY(velocityjitter) = '48.0 48.0 48.0';
616 // underwater bubbles
617 SUB(TE_TAREXPLOSION) {
621 MY(bounce) = 1.500000;
622 MY(color_min) = "0x404040";
623 MY(color_max) = "0x808080";
625 MY(gravity) = -0.125000;
626 MY(liquidfriction) = 0.250000;
627 MY(originjitter) = '16.0 16.0 16.0';
633 MY(underwater) = true;
634 MY(velocityjitter) = '96.0 96.0 96.0';
636 // sparks which go through walls
637 SUB(TE_TAREXPLOSION) {
638 MY(airfriction) = 0.200000;
640 MY(alpha_fade) = 512;
641 MY(color_min) = "0x903010";
642 MY(color_max) = "0xFFD030";
645 MY(liquidfriction) = 0.800000;
646 MY(notunderwater) = true;
650 MY(velocityjitter) = '256.0 256.0 256.0';
651 MY(velocityoffset) = '0.0 0.0 80.0';
654 // bloody impact effect indicating damage
662 MY(count) = 0.167000;
663 MY(liquidfriction) = 4;
666 MY(staincolor_min) = "0x808080";
667 MY(staincolor_max) = "0x808080";
668 MY(staintex_min) = 16;
669 MY(staintex_max) = 24;
673 MY(velocityjitter) = '64.0 64.0 64.0';
674 MY(velocitymultiplier) = 1;
677 // sparks (quake effect)
682 MY(alpha_fade) = 768;
684 MY(color_min) = "0x8f4333";
685 MY(color_max) = "0xfff31b";
686 MY(count) = 0.500000;
688 MY(size_min) = 0.400000;
689 MY(size_max) = 0.600000;
693 MY(velocityjitter) = '64.0 64.0 64.0';
694 MY(velocitymultiplier) = 1;
695 MY(velocityoffset) = '0.0 0.0 80.0';
704 MY(countabsolute) = 1;
705 MY(lightcolor) = '1.0 1.0 1.0';
706 MY(lightradiusfade) = 400;
707 MY(lightradius) = 200;
708 MY(originjitter) = '16.0 16.0 16.0';
719 MY(alpha_fade) = 512;
720 MY(color_min) = "0x80C0FF";
721 MY(color_max) = "0x80C0FF";
722 MY(countabsolute) = 1;
729 // small sparks which form a sphere as they slow down
734 MY(alpha_fade) = 1024;
736 MY(color_min) = "0x2030FF";
737 MY(color_max) = "0x80C0FF";
739 MY(liquidfriction) = 8;
743 MY(velocityjitter) = '128.0 128.0 128.0';
749 MY(lightcolor) = '2.0 2.0 2.0';
750 MY(lightradiusfade) = 1000;
751 MY(lightradius) = 200;
760 MY(alpha_fade) = 384;
761 MY(bounce) = 1.100000;
762 MY(color_min) = "0x6f0f00";
763 MY(color_max) = "0xe3974f";
764 MY(count) = 0.500000;
766 MY(liquidfriction) = 4;
770 MY(velocityjitter) = '128.0 128.0 128.0';
771 MY(velocitymultiplier) = 1;
779 MY(alpha_fade) = 256;
780 MY(color_min) = "0x6f0f00";
781 MY(color_max) = "0xe3974f";
783 MY(gravity) = 0.050000;
784 MY(originjitter) = '128.0 128.0 32.0';
785 MY(originoffset) = '0.0 0.0 32.0';
788 MY(type) = "alphastatic";
789 MY(velocityjitter) = '128.0 128.0 0.0';
790 MY(velocityoffset) = '0.0 0.0 256.0';
793 // player teleport effect
799 MY(alpha_fade) = 256;
800 MY(color_min) = "0xA0A0A0";
801 MY(color_max) = "0xFFFFFF";
803 MY(liquidfriction) = 4;
804 MY(originjitter) = '16.0 16.0 28.0';
805 MY(originoffset) = '0.0 0.0 28.0';
809 MY(velocityjitter) = '0.0 0.0 256.0';
817 MY(alpha_fade) = 256;
818 MY(color_min) = "0xFFFFFF";
819 MY(color_max) = "0xFFFFFF";
820 MY(countabsolute) = 1;
828 MY(airfriction) = -4;
831 MY(alpha_fade) = 512;
832 MY(color_min) = "0x202020";
833 MY(color_max) = "0x404040";
836 MY(trailspacing) = 4;
838 MY(velocityjitter) = '8.0 8.0 8.0';
846 MY(alpha_fade) = 512;
847 MY(color_min) = "0x202020";
848 MY(color_max) = "0x404040";
849 MY(count) = 0.167000;
850 MY(originjitter) = '1.5 1.5 1.5';
855 MY(velocityjitter) = '6.0 6.0 6.0';
856 MY(velocitymultiplier) = 1;
859 // rocket explosion (bigger than mortar and hagar)
860 DEF(TE_TEI_BIGEXPLOSION);
862 SUB(TE_TEI_BIGEXPLOSION) {
865 MY(countabsolute) = 1;
866 MY(lightcolor) = '4.0 2.0 0.5';
867 MY(lightradiusfade) = 500;
868 MY(lightradius) = 500;
869 MY(originjitter) = '40.0 40.0 40.0';
877 SUB(TE_TEI_BIGEXPLOSION) {
881 MY(color_min) = "0x404040";
882 MY(color_max) = "0x404040";
883 MY(countabsolute) = 1;
891 SUB(TE_TEI_BIGEXPLOSION) {
895 MY(alpha_fade) = 256;
896 MY(bounce) = 1.500000;
897 MY(color_min) = "0x902010";
898 MY(color_max) = "0xFFD080";
900 MY(liquidfriction) = 4;
901 MY(notunderwater) = true;
902 MY(originjitter) = '8.0 8.0 8.0';
908 MY(velocityjitter) = '512.0 512.0 512.0';
910 // underwater bubbles
911 SUB(TE_TEI_BIGEXPLOSION) {
915 MY(bounce) = 1.500000;
916 MY(color_min) = "0x404040";
917 MY(color_max) = "0x808080";
919 MY(gravity) = -0.125000;
920 MY(liquidfriction) = 0.250000;
921 MY(originjitter) = '16.0 16.0 16.0';
927 MY(underwater) = true;
928 MY(velocityjitter) = '144.0 144.0 144.0';
931 SUB(TE_TEI_BIGEXPLOSION) {
932 MY(airfriction) = 0.200000;
935 MY(alpha_fade) = 384;
936 MY(bounce) = 1.500000;
937 MY(color_min) = "0x903010";
938 MY(color_max) = "0xFFD030";
941 MY(liquidfriction) = 0.800000;
942 MY(notunderwater) = true;
946 MY(velocityjitter) = '384.0 384.0 384.0';
947 MY(velocityoffset) = '0.0 0.0 80.0';
951 DEF(TE_TEI_PLASMAHIT);
953 SUB(TE_TEI_PLASMAHIT) {
956 MY(countabsolute) = 1;
957 MY(lightcolor) = '2.4 4.8 8.0';
958 MY(lightradiusfade) = 600;
959 MY(lightradius) = 200;
960 MY(originjitter) = '20.0 20.0 20.0';
968 SUB(TE_TEI_PLASMAHIT) {
971 MY(alpha_fade) = 512;
972 MY(color_min) = "0x80C0FF";
973 MY(color_max) = "0x80C0FF";
974 MY(countabsolute) = 1;
981 // cloud of bouncing sparks
982 SUB(TE_TEI_PLASMAHIT) {
985 MY(alpha_fade) = 1024;
986 MY(bounce) = 1.500000;
987 MY(color_min) = "0x2030FF";
988 MY(color_max) = "0x80C0FF";
989 MY(count) = 0.500000;
993 MY(velocityjitter) = '512.0 512.0 512.0';
996 // bloody impact effect indicating damage
999 MY(airfriction) = 0.400000;
1000 MY(alpha_min) = 1560;
1001 MY(alpha_max) = 2560;
1002 MY(alpha_fade) = 7000;
1003 MY(blend) = "invmod";
1005 MY(color_min) = "0xA8FFFF";
1006 MY(color_max) = "0xA8FFFFF";
1007 MY(count) = 0.400000;
1008 MY(sizeincrease) = 20;
1011 MY(staincolor_min) = "0x808080";
1012 MY(staincolor_max) = "0x808080";
1013 MY(stainsize_min) = 1;
1014 MY(stainsize_max) = 2;
1015 MY(staintex_min) = 16;
1016 MY(staintex_max) = 24;
1017 MY(stretchfactor) = 20;
1021 MY(velocityjitter) = '99.0 99.0 55.0';
1025 MY(alpha_min) = 100;
1026 MY(alpha_max) = 256;
1027 MY(alpha_fade) = 400;
1028 MY(blend) = "invmod";
1029 MY(color_min) = "0x000000";
1030 MY(color_max) = "0x420000";
1031 MY(countabsolute) = 1;
1032 MY(originjitter) = '11.0 11.0 11.0';
1033 MY(sizeincrease) = 20;
1038 MY(type) = "alphastatic";
1041 // player teleport effect
1044 MY(airfriction) = 2;
1045 MY(alpha_max) = 256;
1046 MY(alpha_fade) = 100;
1047 MY(bounce) = 1.500000;
1048 MY(color_min) = "0x807aff";
1049 MY(color_max) = "0x4463d5";
1051 MY(originjitter) = '1.0 1.0 1.0';
1054 MY(stretchfactor) = 0.600000;
1058 MY(velocityjitter) = '1000.0 1000.0 1500.0';
1059 MY(velocitymultiplier) = 0.500000;
1062 MY(alpha_min) = 190;
1063 MY(alpha_max) = 190;
1064 MY(alpha_fade) = 180;
1065 MY(color_min) = "0x807aff";
1066 MY(color_max) = "0x4463d5";
1067 MY(countabsolute) = 1;
1068 MY(sizeincrease) = -80;
1076 // normal super gory blood trail (used by gibs)
1079 MY(airfriction) = -2;
1080 MY(alpha_min) = 384;
1081 MY(alpha_max) = 984;
1082 MY(alpha_fade) = 1492;
1083 MY(blend) = "invmod";
1085 MY(color_min) = "0xA8FFFF";
1086 MY(color_max) = "0xA8FFFF";
1087 MY(gravity) = 0.400000;
1088 MY(liquidfriction) = 1;
1089 MY(sizeincrease) = -5;
1092 MY(staincolor_min) = "0x808080";
1093 MY(staincolor_max) = "0x808080";
1094 MY(stainsize_min) = 1;
1095 MY(stainsize_max) = 2;
1096 MY(staintex_min) = 16;
1097 MY(staintex_max) = 24;
1098 MY(stretchfactor) = 7;
1101 MY(trailspacing) = 20;
1103 MY(velocityjitter) = '64.0 64.0 64.0';
1104 MY(velocitymultiplier) = -0.100000;
1106 // splash around gib
1108 MY(alpha_min) = 684;
1109 MY(alpha_max) = 684;
1110 MY(alpha_fade) = 7492;
1111 MY(color_min) = "0xA8FFFF";
1112 MY(color_max) = "0xA8FFFF";
1113 MY(sizeincrease) = 500;
1118 MY(trailspacing) = 42;
1122 // thinner blood trail (used by quake zombies)
1123 DEF(TR_SLIGHTBLOOD);
1124 SUB(TR_SLIGHTBLOOD) {
1125 MY(airfriction) = 1;
1126 MY(alpha_min) = 384;
1127 MY(alpha_max) = 384;
1128 MY(alpha_fade) = 192;
1130 MY(color_min) = "0xA8FFFF";
1131 MY(color_max) = "0xA8FFFF";
1132 MY(liquidfriction) = 4;
1135 MY(staincolor_min) = "0x808080";
1136 MY(staincolor_max) = "0x808080";
1137 MY(staintex_min) = 16;
1138 MY(staintex_max) = 24;
1141 MY(trailspacing) = 64;
1143 MY(velocityjitter) = '64.0 64.0 64.0';
1144 MY(velocitymultiplier) = 0.500000;
1147 // func_stardust effect, used in some maps to indicate teleporters
1150 MY(airfriction) = 0.200000;
1152 MY(alpha_max) = 128;
1153 MY(alpha_fade) = 128;
1154 MY(color_min) = "0xfff368";
1155 MY(color_max) = "0xfff368";
1156 MY(count) = 37.500000;
1157 MY(gravity) = -0.100000;
1158 MY(liquidfriction) = 0.800000;
1159 MY(originjitter) = '16.0 16.0 64.0';
1162 MY(type) = "static";
1163 MY(velocityjitter) = '32.0 32.0 0.0';
1166 // flare particle and light
1169 MY(alpha_min) = 128;
1170 MY(alpha_max) = 128;
1171 MY(alpha_fade) = 128;
1172 MY(color_min) = "0x63F2EA";
1173 MY(color_max) = "0x63f2EA";
1174 MY(countabsolute) = 1;
1177 MY(type) = "static";
1179 // cloud of particles which expand rapidly and then slow to form a ball
1181 MY(alpha_min) = 256;
1182 MY(alpha_max) = 256;
1183 MY(alpha_fade) = 1280;
1184 MY(color_min) = "0x63F2EA";
1185 MY(color_max) = "0x63f2EA";
1192 MY(velocityjitter) = '256.0 256.0 256.0';
1195 DEF(jumppad_activate);
1196 SUB(jumppad_activate) {
1197 MY(lightcolor) = '2.0 2.0 2.0';
1198 MY(lightradiusfade) = 2000;
1199 MY(lightradius) = 200;
1202 DEF(laser_muzzleflash);
1204 SUB(laser_muzzleflash) {
1205 MY(airfriction) = 10;
1206 MY(alpha_min) = 256;
1207 MY(alpha_max) = 512;
1208 MY(alpha_fade) = 6280;
1209 MY(color_min) = "0xcc0000";
1210 MY(color_max) = "0xff0000";
1211 MY(countabsolute) = 1;
1212 MY(lightcolor) = '3.0 0.1 0.1';
1213 MY(lightradiusfade) = 2000;
1214 MY(lightradius) = 200;
1215 MY(sizeincrease) = -100;
1218 MY(stretchfactor) = 2;
1224 SUB(laser_muzzleflash) {
1225 MY(airfriction) = 10;
1226 MY(alpha_min) = 256;
1227 MY(alpha_max) = 512;
1228 MY(alpha_fade) = 6280;
1229 MY(color_min) = "0xb44215";
1230 MY(color_max) = "0xff0000";
1232 MY(originjitter) = '2.0 2.0 2.0';
1233 MY(startangle_min) = -180;
1234 MY(startangle_max) = 180;
1235 MY(spin_min) = 4000;
1236 MY(spin_max) = -4000;
1237 MY(sizeincrease) = -100;
1240 MY(stretchfactor) = 2.300000;
1244 MY(velocityjitter) = '150.0 150.0 150.0';
1245 MY(velocitymultiplier) = 0.200000;
1248 SUB(laser_muzzleflash) {
1249 MY(airfriction) = 12;
1250 MY(alpha_min) = 256;
1251 MY(alpha_max) = 512;
1252 MY(alpha_fade) = 6280;
1253 MY(color_min) = "0xff4200";
1254 MY(color_max) = "0xff0000";
1256 MY(originjitter) = '2.0 2.0 2.0';
1257 MY(sizeincrease) = -100;
1260 MY(stretchfactor) = 2;
1264 MY(velocityjitter) = '100.0 100.0 100.0';
1265 MY(velocitymultiplier) = 0.200000;
1271 MY(alpha_min) = 256;
1272 MY(alpha_max) = 256;
1273 MY(countabsolute) = 1;
1274 MY(lightcolor) = '8.0 0.4 0.4';
1275 MY(lightradiusfade) = 500;
1276 MY(lightradius) = 200;
1277 MY(originjitter) = '14.0 14.0 14.0';
1286 MY(alpha_min) = 256;
1287 MY(alpha_max) = 256;
1288 MY(alpha_fade) = 1024;
1289 MY(color_min) = "0xFF2010";
1290 MY(color_max) = "0xFF2010";
1291 MY(countabsolute) = 1;
1296 MY(type) = "static";
1298 // sparks that rapidly expand and rapidly slow down to form an interesting spherical effect
1300 MY(airfriction) = 6;
1301 MY(alpha_min) = 256;
1302 MY(alpha_max) = 256;
1303 MY(alpha_fade) = 1024;
1304 MY(color_min) = "0x800000";
1305 MY(color_max) = "0xFF8020";
1307 MY(liquidfriction) = 6;
1311 MY(velocityjitter) = '256.0 256.0 256.0';
1314 MY(alpha_min) = 128;
1315 MY(alpha_max) = 256;
1316 MY(alpha_fade) = 256;
1317 MY(color_min) = "0x800000";
1318 MY(color_max) = "0xFF8020";
1320 MY(originjitter) = '1.0 1.0 1.0';
1321 MY(sizeincrease) = 6;
1327 MY(velocityjitter) = '16.0 16.0 16.0';
1328 MY(velocitymultiplier) = 0.010000;
1331 DEF(shotgun_muzzleflash);
1332 SUB(shotgun_muzzleflash) {
1333 MY(alpha_min) = 256;
1334 MY(alpha_max) = 256;
1335 MY(alpha_fade) = 512;
1336 MY(color_min) = "0x202020";
1337 MY(color_max) = "0x404040";
1338 MY(count) = 1.500000;
1339 MY(lightcolor) = '2.0 1.5 0.2';
1340 MY(lightradiusfade) = 2000;
1341 MY(lightradius) = 200;
1342 MY(originjitter) = '1.5 1.5 1.5';
1343 MY(sizeincrease) = 12;
1348 MY(velocityjitter) = '6.0 6.0 6.0';
1349 MY(velocitymultiplier) = 0.050000;
1351 SUB(shotgun_muzzleflash) {
1352 MY(airfriction) = 5;
1353 MY(alpha_max) = 128;
1354 MY(alpha_fade) = 1024;
1355 MY(color_min) = "0xffdb96";
1356 MY(color_max) = "0xff5400";
1358 MY(originjitter) = '1.0 1.0 1.0';
1361 MY(stretchfactor) = 2.500000;
1365 MY(velocityjitter) = '100.0 100.0 100.0';
1366 MY(velocitymultiplier) = 0.500000;
1369 // shotgun pellet impact
1370 DEF(shotgun_impact);
1372 SUB(shotgun_impact) {
1373 MY(alpha_min) = 256;
1374 MY(alpha_max) = 256;
1375 MY(countabsolute) = 1;
1376 MY(originjitter) = '10.0 10.0 10.0';
1383 // dust/smoke drifting away from the impact
1384 SUB(shotgun_impact) {
1385 MY(airfriction) = 5;
1386 MY(alpha_min) = 300;
1387 MY(alpha_max) = 550;
1388 MY(alpha_fade) = 756;
1389 MY(color_min) = "0x473a37";
1390 MY(color_max) = "0x0b0a07";
1392 MY(notunderwater) = true;
1393 MY(startangle_max) = 360;
1396 MY(sizeincrease) = 25;
1400 MY(type) = "alphastatic";
1401 MY(velocityjitter) = '150.0 150.0 150.0';
1402 MY(velocitymultiplier) = 0.200000;
1404 // dust/smoke staying at the impact
1405 SUB(shotgun_impact) {
1406 MY(airfriction) = 5;
1407 MY(alpha_min) = 200;
1408 MY(alpha_max) = 350;
1409 MY(alpha_fade) = 500;
1411 MY(color_min) = "0x201d1a";
1412 MY(color_max) = "0x000000";
1413 MY(count) = 0.200000;
1414 MY(notunderwater) = true;
1415 MY(startangle_max) = 360;
1418 MY(sizeincrease) = 74;
1423 MY(type) = "alphastatic";
1424 MY(velocityjitter) = '11.0 11.0 11.0';
1425 MY(velocitymultiplier) = 0.030000;
1428 SUB(shotgun_impact) {
1429 MY(airfriction) = 1.100000;
1430 MY(alpha_max) = 356;
1431 MY(alpha_fade) = 268;
1432 MY(bounce) = 1.500000;
1433 MY(color_min) = "0xFDFFD9";
1434 MY(color_max) = "0xFDFFD9";
1435 MY(count) = 0.500000;
1437 MY(notunderwater) = true;
1438 MY(originjitter) = '1.0 1.0 1.0';
1439 MY(size_min) = 0.600000;
1440 MY(size_max) = 0.600000;
1444 MY(velocityjitter) = '200.0 200.0 200.0';
1445 MY(velocitymultiplier) = 0.200000;
1448 DEF(uzi_muzzleflash);
1449 SUB(uzi_muzzleflash) {
1450 MY(alpha_min) = 256;
1451 MY(alpha_max) = 256;
1452 MY(alpha_fade) = 512;
1453 MY(color_min) = "0x202020";
1454 MY(color_max) = "0x404040";
1456 MY(gravity) = -0.100000;
1457 MY(lightcolor) = '2.0 1.5 0.2';
1458 MY(lightradiusfade) = 2000;
1459 MY(lightradius) = 200;
1460 MY(originjitter) = '1.5 1.5 1.5';
1464 MY(type) = "static";
1465 MY(velocityjitter) = '1.0 1.0 1.0';
1466 MY(velocitymultiplier) = 0.030000;
1468 SUB(uzi_muzzleflash) {
1469 MY(airfriction) = 12;
1470 MY(alpha_max) = 256;
1471 MY(alpha_fade) = 6000;
1472 MY(color_min) = "0xff9c00";
1473 MY(color_max) = "0xffd200";
1475 MY(originjitter) = '1.0 1.0 1.0';
1476 MY(size_min) = 0.300000;
1477 MY(size_max) = 0.400000;
1478 MY(stretchfactor) = 0.150000;
1482 MY(velocityjitter) = '555.0 555.0 555.0';
1483 MY(velocitymultiplier) = 3;
1486 DEF(machinegun_impact);
1488 SUB(machinegun_impact) {
1489 MY(alpha_min) = 256;
1490 MY(alpha_max) = 256;
1491 MY(countabsolute) = 1;
1492 MY(lightcolor) = '6.0 3.6 0.6';
1493 MY(lightradiusfade) = 800;
1494 MY(lightradius) = 80;
1495 MY(originjitter) = '10.0 10.0 10.0';
1502 // dust/smoke drifting away from the impact
1503 SUB(machinegun_impact) {
1504 MY(airfriction) = 5;
1505 MY(alpha_min) = 300;
1506 MY(alpha_max) = 550;
1507 MY(alpha_fade) = 456;
1508 MY(color_min) = "0x473a37";
1509 MY(color_max) = "0x0b0a07";
1510 MY(count) = 1.500000;
1511 MY(notunderwater) = true;
1512 MY(startangle_max) = 360;
1515 MY(sizeincrease) = 15;
1519 MY(type) = "alphastatic";
1520 MY(velocityjitter) = '150.0 150.0 150.0';
1521 MY(velocitymultiplier) = 0.100000;
1523 // dust/smoke staying at the impact
1524 SUB(machinegun_impact) {
1525 MY(airfriction) = 5;
1526 MY(alpha_min) = 200;
1527 MY(alpha_max) = 350;
1528 MY(alpha_fade) = 500;
1530 MY(color_min) = "0x201d1a";
1531 MY(color_max) = "0x000000";
1532 MY(count) = 0.500000;
1533 MY(notunderwater) = true;
1534 MY(startangle_max) = 360;
1537 MY(sizeincrease) = 74;
1542 MY(type) = "alphastatic";
1543 MY(velocityjitter) = '11.0 11.0 11.0';
1544 MY(velocitymultiplier) = 0.030000;
1547 SUB(machinegun_impact) {
1548 MY(airfriction) = 1;
1549 MY(alpha_min) = 300;
1550 MY(alpha_max) = 550;
1551 MY(alpha_fade) = 256;
1552 MY(bounce) = 1.700000;
1553 MY(color_min) = "0x63493e";
1554 MY(color_max) = "0xffffff";
1556 MY(gravity) = 1.400000;
1557 MY(notunderwater) = true;
1558 MY(startangle_max) = 360;
1559 MY(spin_min) = -500;
1565 MY(type) = "alphastatic";
1566 MY(velocityjitter) = '350.0 350.0 350.0';
1567 MY(velocitymultiplier) = 0.200000;
1570 SUB(machinegun_impact) {
1571 MY(airfriction) = 2;
1572 MY(alpha_min) = 256;
1573 MY(alpha_max) = 256;
1574 MY(alpha_fade) = 168;
1576 MY(color_min) = "0xFDFFD9";
1577 MY(color_max) = "0xFDFFD9";
1580 MY(notunderwater) = true;
1581 MY(originjitter) = '1.0 1.0 1.0';
1582 MY(size_min) = 0.300000;
1583 MY(size_max) = 0.300000;
1587 MY(velocityjitter) = '300.0 300.0 300.0';
1588 MY(velocitymultiplier) = 0.200000;
1591 DEF(grenadelauncher_muzzleflash);
1592 SUB(grenadelauncher_muzzleflash) {
1593 MY(airfriction) = 12;
1594 MY(alpha_min) = 256;
1595 MY(alpha_max) = 256;
1596 MY(alpha_fade) = 512;
1597 MY(color_min) = "0x202020";
1598 MY(color_max) = "0x404040";
1599 MY(count) = 1.500000;
1600 MY(lightcolor) = '2.0 1.5 0.2';
1601 MY(lightradiusfade) = 2000;
1602 MY(lightradius) = 200;
1603 MY(originjitter) = '1.5 1.5 1.5';
1608 MY(velocityjitter) = '20.0 20.0 20.0';
1609 MY(velocitymultiplier) = 0.030000;
1611 SUB(grenadelauncher_muzzleflash) {
1612 MY(airfriction) = 5;
1613 MY(alpha_max) = 128;
1614 MY(alpha_fade) = 1024;
1615 MY(color_min) = "0xffdb96";
1616 MY(color_max) = "0xff5400";
1618 MY(originjitter) = '1.0 1.0 1.0';
1621 MY(stretchfactor) = 2.500000;
1625 MY(velocityjitter) = '100.0 100.0 100.0';
1626 MY(velocitymultiplier) = 0.500000;
1633 MY(alpha_min) = 300;
1634 MY(alpha_max) = 400;
1635 MY(alpha_fade) = 780;
1637 MY(color_min) = "0x101010";
1638 MY(color_max) = "0x000000";
1639 MY(originjitter) = '1.0 1.0 1.0';
1640 MY(sizeincrease) = 10;
1644 MY(trailspacing) = 4;
1646 MY(velocityjitter) = '1.0 1.0 1.0';
1647 MY(velocitymultiplier) = -0.020000;
1651 MY(airfriction) = 8;
1652 MY(alpha_min) = 100;
1653 MY(alpha_max) = 144;
1654 MY(alpha_fade) = 988;
1655 MY(color_min) = "0xffdf72";
1656 MY(color_max) = "0x811200";
1657 MY(notunderwater) = true;
1658 MY(sizeincrease) = -15;
1663 MY(trailspacing) = 4;
1664 MY(type) = "static";
1665 MY(velocityjitter) = '32.0 32.0 32.0';
1666 MY(velocitymultiplier) = -1;
1670 MY(alpha_min) = 256;
1671 MY(alpha_max) = 256;
1672 MY(alpha_fade) = 256;
1673 MY(bounce) = 1.500000;
1674 MY(color_min) = "0x404040";
1675 MY(color_max) = "0x808080";
1676 MY(gravity) = -0.125000;
1677 MY(liquidfriction) = 4;
1682 MY(trailspacing) = 16;
1683 MY(type) = "bubble";
1684 MY(underwater) = true;
1685 MY(velocityjitter) = '16.0 16.0 16.0';
1689 DEF(TR_KNIGHTSPIKE);
1691 SUB(TR_KNIGHTSPIKE) {
1692 MY(alpha_min) = 300;
1693 MY(alpha_max) = 400;
1694 MY(alpha_fade) = 600;
1696 MY(color_min) = "0x303030";
1697 MY(color_max) = "0x000000";
1698 MY(gravity) = -0.110000;
1699 MY(notunderwater) = true;
1700 MY(originjitter) = '2.0 2.0 2.0';
1701 MY(sizeincrease) = 11;
1705 MY(trailspacing) = 6;
1707 MY(velocityjitter) = '3.0 3.0 3.0';
1708 MY(velocitymultiplier) = -0.020000;
1711 SUB(TR_KNIGHTSPIKE) {
1712 MY(alpha_min) = 256;
1713 MY(alpha_max) = 256;
1714 MY(alpha_fade) = 720;
1715 MY(color_min) = "0x666666";
1716 MY(color_max) = "0x000000";
1717 MY(sizeincrease) = -0.100000;
1722 MY(trailspacing) = 2;
1723 MY(type) = "alphastatic";
1726 SUB(TR_KNIGHTSPIKE) {
1727 MY(alpha_min) = 256;
1728 MY(alpha_max) = 256;
1729 MY(alpha_fade) = 256;
1730 MY(bounce) = 1.500000;
1731 MY(color_min) = "0x404040";
1732 MY(color_max) = "0x808080";
1733 MY(gravity) = -0.125000;
1734 MY(liquidfriction) = 4;
1739 MY(trailspacing) = 32;
1740 MY(type) = "bubble";
1741 MY(underwater) = true;
1742 MY(velocityjitter) = '16.0 16.0 16.0';
1745 DEF(grenade_explode);
1747 SUB(grenade_explode) {
1748 MY(alpha_min) = 256;
1749 MY(alpha_max) = 256;
1750 MY(countabsolute) = 1;
1751 MY(lightcolor) = '8.0 4.0 1.0';
1752 MY(lightradiusfade) = 400;
1753 MY(lightradius) = 250;
1754 MY(originjitter) = '26.0 26.0 26.0';
1761 // fire effect which expands then slows
1762 SUB(grenade_explode) {
1763 MY(airfriction) = 8;
1764 MY(alpha_min) = 128;
1765 MY(alpha_max) = 228;
1766 MY(alpha_fade) = 356;
1767 MY(bounce) = 4.500000;
1768 MY(color_min) = "0xe03f00";
1769 MY(color_max) = "0x5e0000";
1771 MY(liquidfriction) = 8;
1772 MY(notunderwater) = true;
1773 MY(originjitter) = '8.0 8.0 8.0';
1774 MY(sizeincrease) = 20;
1779 MY(type) = "static";
1780 MY(velocityjitter) = '256.0 256.0 256.0';
1782 // fire effect which make bright dot inside
1783 SUB(grenade_explode) {
1784 MY(airfriction) = 8;
1785 MY(alpha_min) = 228;
1786 MY(alpha_max) = 328;
1787 MY(alpha_fade) = 756;
1789 MY(color_min) = "0xe03f00";
1790 MY(color_max) = "0xffdf92";
1792 MY(liquidfriction) = 8;
1793 MY(notunderwater) = true;
1794 MY(originjitter) = '8.0 8.0 8.0';
1795 MY(sizeincrease) = 40;
1800 MY(type) = "static";
1801 MY(velocityjitter) = '256.0 256.0 256.0';
1804 SUB(grenade_explode) {
1805 MY(airfriction) = 5;
1806 MY(alpha_min) = 300;
1807 MY(alpha_max) = 550;
1808 MY(alpha_fade) = 556;
1810 MY(color_min) = "0x000000";
1811 MY(color_max) = "0x111111";
1813 MY(notunderwater) = true;
1814 MY(sizeincrease) = 34;
1818 MY(type) = "alphastatic";
1819 MY(velocityjitter) = '256.0 256.0 256.0';
1821 // underwater bubbles
1822 SUB(grenade_explode) {
1823 MY(alpha_min) = 128;
1824 MY(alpha_max) = 256;
1825 MY(alpha_fade) = 64;
1826 MY(bounce) = 1.500000;
1827 MY(color_min) = "0x404040";
1828 MY(color_max) = "0x808080";
1830 MY(gravity) = -0.125000;
1831 MY(liquidfriction) = 0.250000;
1832 MY(originjitter) = '16.0 16.0 16.0';
1837 MY(type) = "bubble";
1838 MY(underwater) = true;
1839 MY(velocityjitter) = '196.0 196.0 196.0';
1841 // underwatershockwave
1842 SUB(grenade_explode) {
1845 MY(alpha_fade) = 300;
1846 MY(countabsolute) = 1;
1847 MY(sizeincrease) = 1500;
1853 MY(underwater) = true;
1854 MY(velocitymultiplier) = 0.300000;
1857 SUB(grenade_explode) {
1858 MY(airfriction) = 1;
1859 MY(alpha_min) = 644;
1860 MY(alpha_max) = 956;
1861 MY(alpha_fade) = 484;
1862 MY(bounce) = 1.600000;
1863 MY(color_min) = "0xffa35b";
1864 MY(color_max) = "0xfff2be";
1867 MY(liquidfriction) = 0.800000;
1868 MY(notunderwater) = true;
1869 MY(originjitter) = '16.0 16.0 16.0';
1871 MY(size_max) = 0.100000;
1875 MY(velocityjitter) = '424.0 424.0 624.0';
1876 MY(velocityoffset) = '0.0 0.0 80.0';
1879 SUB(grenade_explode) {
1880 MY(airfriction) = 0.500000;
1881 MY(alpha_min) = 644;
1882 MY(alpha_max) = 956;
1883 MY(alpha_fade) = 684;
1884 MY(bounce) = 1.600000;
1885 MY(color_min) = "0x6a3d25";
1886 MY(color_max) = "0xcac5b4";
1888 MY(gravity) = 1.300000;
1889 MY(notunderwater) = true;
1890 MY(startangle_min) = -180;
1891 MY(startangle_max) = 180;
1892 MY(spin_min) = -1000;
1893 MY(spin_max) = 1000;
1898 MY(type) = "alphastatic";
1899 MY(velocityjitter) = '324.0 324.0 524.0';
1902 DEF(electro_muzzleflash);
1903 SUB(electro_muzzleflash) {
1904 MY(alpha_min) = 256;
1905 MY(alpha_max) = 256;
1906 MY(alpha_fade) = 512;
1907 MY(color_min) = "0x283880";
1908 MY(color_max) = "0x283880";
1909 MY(countabsolute) = 1;
1910 MY(lightcolor) = '1.5 3.0 6.0';
1911 MY(lightradiusfade) = 2000;
1912 MY(lightradius) = 200;
1913 MY(originjitter) = '1.5 1.5 1.5';
1914 MY(sizeincrease) = -10;
1920 MY(velocityjitter) = '6.0 6.0 6.0';
1921 MY(velocitymultiplier) = 0.010000;
1923 SUB(electro_muzzleflash) {
1924 MY(airfriction) = 2;
1925 MY(alpha_min) = 110;
1926 MY(alpha_max) = 228;
1927 MY(alpha_fade) = 2024;
1928 MY(color_min) = "0xD9FDFF";
1929 MY(color_max) = "0xD9FDFF";
1931 MY(originjitter) = '1.0 1.0 1.0';
1934 MY(stretchfactor) = 1.500000;
1938 MY(velocityjitter) = '150.0 150.0 150.0';
1939 MY(velocitymultiplier) = 0.500000;
1941 SUB(electro_muzzleflash) {
1942 MY(airfriction) = 8;
1943 MY(alpha_min) = 110;
1944 MY(alpha_max) = 228;
1945 MY(alpha_fade) = 1024;
1946 MY(color_min) = "0xD9FDFF";
1947 MY(color_max) = "0xD9FDFF";
1949 MY(gravity) = 1.300000;
1950 MY(originjitter) = '1.0 1.0 1.0';
1953 MY(stretchfactor) = 0.100000;
1957 MY(velocityjitter) = '350.0 350.0 350.0';
1958 MY(velocitymultiplier) = 2.500000;
1962 DEF(TR_NEXUIZPLASMA);
1963 // glowing vapor trail
1964 SUB(TR_NEXUIZPLASMA) {
1965 MY(alpha_min) = 256;
1966 MY(alpha_max) = 256;
1967 MY(alpha_fade) = 968;
1968 MY(color_min) = "0x283880";
1969 MY(color_max) = "0x283880";
1970 MY(lightcolor) = '1.5 3.0 6.0';
1971 MY(lightradius) = 90;
1976 MY(trailspacing) = 2;
1977 MY(type) = "static";
1978 MY(velocitymultiplier) = -0.100000;
1981 SUB(TR_NEXUIZPLASMA) {
1982 MY(airfriction) = 12;
1983 MY(alpha_min) = 444;
1984 MY(alpha_max) = 512;
1985 MY(alpha_fade) = 1866;
1987 MY(color_min) = "0x629dff";
1988 MY(color_max) = "0x0018ff";
1989 MY(count) = 1.500000;
1990 MY(originjitter) = '1.0 1.0 1.0';
1991 MY(sizeincrease) = -20;
1996 MY(trailspacing) = 12;
1998 MY(velocityjitter) = '50.0 50.0 50.0';
1999 MY(velocityoffset) = '0.0 0.0 15.0';
2002 DEF(electro_impact);
2004 SUB(electro_impact) {
2005 MY(alpha_min) = 256;
2006 MY(alpha_max) = 256;
2007 MY(countabsolute) = 1;
2008 MY(lightcolor) = '3.1 4.4 10.0';
2009 MY(lightradiusfade) = 250;
2010 MY(lightradius) = 250;
2011 MY(originjitter) = '17.0 17.0 17.0';
2019 SUB(electro_impact) {
2022 MY(alpha_fade) = 350;
2023 MY(color_min) = "0x80C0FF";
2024 MY(color_max) = "0x80C0FF";
2025 MY(countabsolute) = 1;
2026 MY(sizeincrease) = 1000;
2032 MY(velocitymultiplier) = 44;
2035 SUB(electro_impact) {
2036 MY(alpha_min) = 256;
2037 MY(alpha_max) = 256;
2038 MY(alpha_fade) = 512;
2039 MY(color_min) = "0x80C0FF";
2040 MY(color_max) = "0x80C0FF";
2041 MY(countabsolute) = 1;
2046 MY(type) = "static";
2048 // cloud of bouncing sparks
2049 SUB(electro_impact) {
2050 MY(airfriction) = 6;
2051 MY(alpha_min) = 256;
2052 MY(alpha_max) = 256;
2053 MY(alpha_fade) = 1024;
2055 MY(color_min) = "0x629dff";
2056 MY(color_max) = "0x0018ff";
2058 MY(gravity) = -0.300000;
2059 MY(originjitter) = '1.0 1.0 1.0';
2060 MY(startangle_min) = -180;
2061 MY(startangle_max) = 180;
2062 MY(spin_min) = -9999;
2063 MY(spin_max) = 9999;
2064 MY(sizeincrease) = -50;
2070 MY(velocityjitter) = '512.0 512.0 512.0';
2072 // inner cloud of smoke
2073 SUB(electro_impact) {
2074 MY(airfriction) = 30;
2075 MY(alpha_min) = 200;
2076 MY(alpha_max) = 256;
2077 MY(alpha_fade) = 512;
2078 MY(color_min) = "0x629dff";
2079 MY(color_max) = "0x0018ff";
2081 MY(originjitter) = '20.0 20.0 20.0';
2082 MY(sizeincrease) = 50;
2087 MY(velocityjitter) = '320.0 320.0 320.0';
2090 DEF(electro_ballexplode);
2092 SUB(electro_ballexplode) {
2093 MY(alpha_min) = 256;
2094 MY(alpha_max) = 256;
2095 MY(countabsolute) = 1;
2096 MY(lightcolor) = '3.1 4.4 10.0';
2097 MY(lightradiusfade) = 250;
2098 MY(lightradius) = 250;
2099 MY(originjitter) = '17.0 17.0 17.0';
2107 SUB(electro_ballexplode) {
2108 MY(alpha_min) = 256;
2109 MY(alpha_max) = 256;
2110 MY(alpha_fade) = 512;
2111 MY(color_min) = "0x80C0FF";
2112 MY(color_max) = "0x80C0FF";
2113 MY(countabsolute) = 1;
2118 MY(type) = "static";
2120 // cloud of bouncing sparks
2121 SUB(electro_ballexplode) {
2122 MY(alpha_min) = 256;
2123 MY(alpha_max) = 256;
2124 MY(alpha_fade) = 1024;
2126 MY(color_min) = "0xFDFFD9";
2127 MY(color_max) = "0xFDFFD9";
2129 MY(originjitter) = '1.0 1.0 1.0';
2132 MY(stretchfactor) = 0.400000;
2136 MY(velocityjitter) = '512.0 512.0 512.0';
2138 // inner cloud of smoke
2139 SUB(electro_ballexplode) {
2140 MY(alpha_min) = 256;
2141 MY(alpha_max) = 256;
2142 MY(alpha_fade) = 512;
2143 MY(color_min) = "0x202020";
2144 MY(color_max) = "0x404040";
2146 MY(originjitter) = '20.0 20.0 20.0';
2151 MY(velocityjitter) = '32.0 32.0 32.0';
2156 SUB(electro_combo) {
2157 MY(alpha_min) = 256;
2158 MY(alpha_max) = 256;
2159 MY(countabsolute) = 1;
2160 MY(lightcolor) = '4.0 5.0 6.0';
2161 MY(lightradiusfade) = 300;
2162 MY(lightradius) = 400;
2163 MY(originjitter) = '17.0 17.0 17.0';
2171 SUB(electro_combo) {
2172 MY(alpha_min) = 128;
2173 MY(alpha_max) = 128;
2174 MY(alpha_fade) = 64;
2175 MY(color_min) = "0x80C0FF";
2176 MY(color_max) = "0x80C0FF";
2177 MY(countabsolute) = 1;
2182 MY(type) = "static";
2185 SUB(electro_combo) {
2186 MY(airfriction) = 6;
2187 MY(alpha_min) = 156;
2188 MY(alpha_max) = 156;
2189 MY(alpha_fade) = 156;
2191 MY(color_min) = "0x2030FF";
2192 MY(color_max) = "0x80C0FF";
2194 MY(liquidfriction) = 16;
2195 MY(sizeincrease) = 50;
2199 MY(type) = "static";
2200 MY(velocityjitter) = '512.0 512.0 512.0';
2202 SUB(electro_combo) {
2203 MY(alpha_min) = 444;
2204 MY(alpha_max) = 512;
2205 MY(alpha_fade) = 700;
2206 MY(bounce) = 1.600000;
2207 MY(color_min) = "0xa9cacf";
2208 MY(color_max) = "0x0054ff";
2210 MY(gravity) = 0.300000;
2211 MY(originjitter) = '1.0 1.0 1.0';
2214 MY(stretchfactor) = 2;
2218 MY(velocityjitter) = '312.0 312.0 312.0';
2219 MY(velocitymultiplier) = 3;
2221 // inner cloud of smoke
2222 SUB(electro_combo) {
2223 MY(alpha_min) = 256;
2224 MY(alpha_max) = 256;
2225 MY(alpha_fade) = 256;
2226 MY(color_min) = "0x202020";
2227 MY(color_max) = "0x404040";
2228 MY(count) = 0.125000;
2229 MY(originjitter) = '20.0 20.0 20.0';
2234 MY(velocityjitter) = '32.0 32.0 32.0';
2237 SUB(electro_combo) {
2240 MY(alpha_fade) = 100;
2241 MY(color_min) = "0xa9cacf";
2242 MY(color_max) = "0x0054ff";
2243 MY(countabsolute) = 1;
2244 MY(sizeincrease) = 600;
2250 MY(velocitymultiplier) = 0.300000;
2253 DEF(crylink_muzzleflash);
2254 SUB(crylink_muzzleflash) {
2255 MY(alpha_min) = 128;
2256 MY(alpha_max) = 128;
2257 MY(alpha_fade) = 2024;
2258 MY(color_min) = "0xdd9cff";
2259 MY(color_max) = "0xff0090";
2260 MY(count) = 0.500000;
2261 MY(lightcolor) = '1.6 0.2 2.0';
2262 MY(lightradiusfade) = 2000;
2263 MY(lightradius) = 200;
2269 MY(velocitymultiplier) = 0.010000;
2271 SUB(crylink_muzzleflash) {
2272 MY(airfriction) = 12;
2273 MY(alpha_max) = 128;
2274 MY(alpha_fade) = 1024;
2275 MY(color_min) = "0xA080C0";
2276 MY(color_max) = "0xA080C0";
2278 MY(originjitter) = '1.0 1.0 1.0';
2281 MY(stretchfactor) = 1.500000;
2285 MY(velocityjitter) = '200.0 200.0 200.0';
2286 MY(velocitymultiplier) = 0.300000;
2289 DEF(crylink_impact);
2291 SUB(crylink_impact) {
2292 MY(alpha_min) = 256;
2293 MY(alpha_max) = 256;
2294 MY(countabsolute) = 1;
2295 MY(originjitter) = '12.0 12.0 12.0';
2302 // purple flare effect
2303 SUB(crylink_impact) {
2304 MY(alpha_min) = 256;
2305 MY(alpha_max) = 256;
2306 MY(alpha_fade) = 512;
2307 MY(color_min) = "0x504060";
2308 MY(color_max) = "0x504060";
2309 MY(countabsolute) = 1;
2314 MY(type) = "static";
2317 SUB(crylink_impact) {
2318 MY(alpha_min) = 256;
2319 MY(alpha_max) = 256;
2320 MY(alpha_fade) = 1024;
2322 MY(color_min) = "0xA040C0";
2323 MY(color_max) = "0xA040C0";
2330 MY(velocityjitter) = '512.0 512.0 512.0';
2333 SUB(crylink_impact) {
2334 MY(alpha_min) = 256;
2335 MY(alpha_max) = 256;
2336 MY(alpha_fade) = 512;
2337 MY(color_min) = "0xE070FF";
2338 MY(color_max) = "0xE070FF";
2339 MY(count) = 1.500000;
2342 MY(type) = "static";
2343 MY(velocityjitter) = '32.0 32.0 32.0';
2346 SUB(crylink_impact) {
2347 MY(alpha_min) = 256;
2348 MY(alpha_max) = 256;
2349 MY(alpha_fade) = 1024;
2350 MY(color_min) = "0xE070FF";
2351 MY(color_max) = "0xE070FF";
2355 MY(type) = "static";
2356 MY(velocityjitter) = '256.0 256.0 256.0';
2359 DEF(nex_muzzleflash);
2360 SUB(nex_muzzleflash) {
2361 MY(airfriction) = 9;
2362 MY(alpha_min) = 328;
2363 MY(alpha_max) = 328;
2364 MY(alpha_fade) = 4000;
2365 MY(color_min) = "0x202020";
2366 MY(color_max) = "0x0072ff";
2368 MY(lightcolor) = '2.0 2.5 3.0';
2369 MY(lightradiusfade) = 200;
2370 MY(lightradius) = 200;
2371 MY(originjitter) = '4.0 4.0 4.0';
2372 MY(sizeincrease) = -100;
2375 MY(stretchfactor) = 2;
2379 MY(velocityjitter) = '180.0 180.0 180.0';
2380 MY(velocitymultiplier) = 1.400000;
2382 SUB(nex_muzzleflash) {
2383 MY(airfriction) = 9;
2384 MY(alpha_max) = 128;
2385 MY(alpha_fade) = 1024;
2386 MY(color_min) = "0xD9FDFF";
2387 MY(color_max) = "0xD9FDFF";
2389 MY(originjitter) = '1.0 1.0 1.0';
2395 MY(velocityjitter) = '600.0 600.0 600.0';
2396 MY(velocitymultiplier) = 1.500000;
2402 MY(airfriction) = 5;
2404 MY(alpha_max) = 128;
2405 MY(alpha_fade) = 64;
2406 MY(color_min) = "0x1680A0";
2407 MY(color_max) = "0x1680A0";
2408 MY(sizeincrease) = 2;
2413 MY(trailspacing) = 64;
2414 MY(type) = "static";
2418 MY(airfriction) = 9;
2421 MY(alpha_fade) = 32;
2422 MY(color_min) = "0x5080A0";
2423 MY(color_max) = "0x5080A0";
2424 MY(sizeincrease) = 8;
2428 MY(trailspacing) = 12;
2429 MY(type) = "static";
2430 MY(velocityjitter) = '64.0 64.0 64.0';
2434 MY(alpha_min) = 256;
2435 MY(alpha_max) = 256;
2436 MY(alpha_fade) = 1280;
2437 MY(color_min) = "0x80CDFF";
2438 MY(color_max) = "0x80CDFF";
2441 MY(trailspacing) = 12;
2442 MY(type) = "static";
2446 MY(airfriction) = 5;
2448 MY(alpha_max) = 128;
2449 MY(alpha_fade) = 80;
2450 MY(color_min) = "0x1680A0";
2451 MY(color_max) = "0x1680A0";
2452 MY(gravity) = -0.010000;
2457 MY(trailspacing) = 16;
2464 MY(alpha_min) = 256;
2465 MY(alpha_max) = 256;
2466 MY(countabsolute) = 1;
2467 MY(lightcolor) = '4.0 6.0 8.0';
2468 MY(lightradiusfade) = 250;
2469 MY(lightradius) = 200;
2470 MY(originjitter) = '14.0 14.0 14.0';
2471 MY(startangle_min) = -180;
2472 MY(startangle_max) = 180;
2479 // rotating something
2483 MY(alpha_fade) = 50;
2484 MY(color_min) = "0x1680A0";
2485 MY(color_max) = "0x1680A0";
2487 MY(startangle_min) = 180;
2488 MY(startangle_max) = -180;
2490 MY(spin_max) = -500;
2491 MY(sizeincrease) = 20;
2502 MY(alpha_fade) = 400;
2503 MY(color_min) = "0x1680A0";
2504 MY(color_max) = "0x1680A0";
2505 MY(countabsolute) = 1;
2506 MY(sizeincrease) = 900;
2511 MY(type) = "static";
2517 MY(alpha_fade) = 100;
2518 MY(color_min) = "0x1680A0";
2519 MY(color_max) = "0x1680A0";
2520 MY(countabsolute) = 1;
2521 MY(sizeincrease) = 500;
2526 MY(type) = "static";
2530 MY(alpha_min) = 256;
2531 MY(alpha_max) = 256;
2532 MY(alpha_fade) = 256;
2533 MY(color_min) = "0x80C0FF";
2534 MY(color_max) = "0x80C0FF";
2535 MY(countabsolute) = 1;
2540 MY(type) = "static";
2542 // small sparks which glow brightly but live briefly
2544 MY(airfriction) = 9;
2545 MY(alpha_max) = 128;
2546 MY(alpha_fade) = 512;
2548 MY(color_min) = "0xD9FDFF";
2549 MY(color_max) = "0xD9FDFF";
2553 MY(stretchfactor) = 3;
2557 MY(velocityjitter) = '600.0 600.0 600.0';
2558 MY(velocitymultiplier) = 0.500000;
2560 // small sparks that live longer
2562 MY(airfriction) = 2;
2563 MY(alpha_min) = 255;
2564 MY(alpha_max) = 255;
2565 MY(alpha_fade) = 112;
2566 MY(bounce) = 1.600000;
2567 MY(color_min) = "0xD9FDFF";
2568 MY(color_max) = "0xD9FDFF";
2573 MY(stretchfactor) = 0.700000;
2577 MY(velocityjitter) = '300.0 300.0 600.0';
2578 MY(velocitymultiplier) = 2.500000;
2581 DEF(hagar_muzzleflash);
2582 SUB(hagar_muzzleflash) {
2583 MY(alpha_min) = 256;
2584 MY(alpha_max) = 256;
2585 MY(alpha_fade) = 512;
2586 MY(color_min) = "0x202020";
2587 MY(color_max) = "0x404040";
2589 MY(lightcolor) = '2.0 1.5 0.2';
2590 MY(lightradiusfade) = 2000;
2591 MY(lightradius) = 200;
2592 MY(originjitter) = '1.5 1.5 1.5';
2597 MY(velocityjitter) = '6.0 6.0 6.0';
2598 MY(velocitymultiplier) = 0.010000;
2600 SUB(hagar_muzzleflash) {
2601 MY(airfriction) = 12;
2602 MY(alpha_max) = 128;
2603 MY(alpha_fade) = 1024;
2604 MY(color_min) = "0xff8400";
2605 MY(color_max) = "0xff4200";
2607 MY(originjitter) = '1.0 1.0 1.0';
2608 MY(startangle_min) = -180;
2609 MY(startangle_max) = 180;
2610 MY(spin_min) = -400;
2614 MY(stretchfactor) = 2;
2618 MY(velocityjitter) = '200.0 200.0 200.0';
2619 MY(velocitymultiplier) = 0.500000;
2624 MY(alpha_min) = 256;
2625 MY(alpha_max) = 256;
2626 MY(alpha_fade) = 256;
2627 MY(color_min) = "0x202020";
2628 MY(color_max) = "0x404040";
2630 MY(lightcolor) = '2.0 1.5 0.2';
2631 MY(lightradiusfade) = 300;
2632 MY(lightradius) = 60;
2633 MY(originjitter) = '1.5 1.5 1.5';
2638 MY(velocityjitter) = '6.0 6.0 6.0';
2639 MY(velocitymultiplier) = 0.010000;
2642 MY(airfriction) = 12;
2643 MY(alpha_max) = 256;
2644 MY(alpha_fade) = 256;
2645 MY(bounce) = 1.500000;
2646 MY(color_min) = "0xFFFDD9";
2647 MY(color_max) = "0xFFFDD9";
2650 MY(originjitter) = '1.0 1.0 1.0';
2656 MY(velocityjitter) = '600.0 600.0 600.0';
2657 MY(velocitymultiplier) = 0.500000;
2662 SUB(hagar_explode) {
2663 MY(alpha_min) = 256;
2664 MY(alpha_max) = 256;
2665 MY(countabsolute) = 1;
2666 MY(lightcolor) = '8.0 4.0 1.0';
2667 MY(lightradiusfade) = 400;
2668 MY(lightradius) = 120;
2669 MY(originjitter) = '14.0 14.0 14.0';
2676 // fire effect which make bright dot inside
2677 SUB(hagar_explode) {
2678 MY(airfriction) = 8;
2680 MY(alpha_max) = 200;
2681 MY(alpha_fade) = 356;
2682 MY(bounce) = 1.500000;
2683 MY(color_min) = "0xffe955";
2684 MY(color_max) = "0xff5a00";
2685 MY(count) = 3.500000;
2686 MY(liquidfriction) = 8;
2687 MY(notunderwater) = true;
2688 MY(originjitter) = '8.0 8.0 8.0';
2689 MY(sizeincrease) = 5;
2695 MY(velocityjitter) = '156.0 156.0 156.0';
2697 // fire effect which expands then slows
2698 SUB(hagar_explode) {
2699 MY(airfriction) = 12;
2700 MY(alpha_min) = 128;
2701 MY(alpha_max) = 256;
2702 MY(alpha_fade) = 456;
2703 MY(bounce) = 1.500000;
2704 MY(color_min) = "0x8f0d00";
2705 MY(color_max) = "0xff5a00";
2707 MY(liquidfriction) = 8;
2708 MY(notunderwater) = true;
2709 MY(originjitter) = '8.0 8.0 8.0';
2710 MY(sizeincrease) = 15;
2715 MY(type) = "static";
2716 MY(velocityjitter) = '286.0 286.0 286.0';
2719 SUB(hagar_explode) {
2720 MY(airfriction) = 5;
2721 MY(alpha_min) = 200;
2722 MY(alpha_max) = 500;
2723 MY(alpha_fade) = 600;
2725 MY(color_min) = "0x000000";
2726 MY(color_max) = "0x111111";
2728 MY(notunderwater) = true;
2729 MY(sizeincrease) = 20;
2733 MY(type) = "alphastatic";
2734 MY(velocityjitter) = '244.0 244.0 244.0';
2736 // underwater bubbles
2737 SUB(hagar_explode) {
2738 MY(alpha_min) = 128;
2739 MY(alpha_max) = 256;
2740 MY(alpha_fade) = 64;
2741 MY(bounce) = 1.500000;
2742 MY(color_min) = "0x404040";
2743 MY(color_max) = "0x808080";
2745 MY(gravity) = -0.125000;
2746 MY(liquidfriction) = 0.250000;
2747 MY(originjitter) = '16.0 16.0 16.0';
2752 MY(type) = "bubble";
2753 MY(underwater) = true;
2754 MY(velocityjitter) = '96.0 96.0 96.0';
2757 SUB(hagar_explode) {
2758 MY(airfriction) = 1;
2759 MY(alpha_min) = 644;
2760 MY(alpha_max) = 956;
2761 MY(alpha_fade) = 684;
2762 MY(bounce) = 1.600000;
2763 MY(color_min) = "0xffa35b";
2764 MY(color_max) = "0xfff2be";
2767 MY(liquidfriction) = 0.800000;
2768 MY(notunderwater) = true;
2769 MY(originjitter) = '16.0 16.0 16.0';
2771 MY(size_max) = 0.100000;
2775 MY(velocityjitter) = '224.0 224.0 224.0';
2776 MY(velocityoffset) = '0.0 0.0 80.0';
2779 DEF(rocketlauncher_muzzleflash);
2780 SUB(rocketlauncher_muzzleflash) {
2781 MY(airfriction) = 2;
2782 MY(alpha_min) = 256;
2783 MY(alpha_max) = 256;
2784 MY(alpha_fade) = 256;
2785 MY(color_min) = "0x202020";
2786 MY(color_max) = "0x404040";
2788 MY(originjitter) = '1.5 1.5 1.5';
2789 MY(sizeincrease) = 20;
2794 MY(velocityjitter) = '40.0 40.0 40.0';
2795 MY(velocitymultiplier) = -0.130000;
2797 SUB(rocketlauncher_muzzleflash) {
2798 MY(airfriction) = 9;
2801 MY(alpha_fade) = 20;
2802 MY(color_min) = "0xFFFDD9";
2803 MY(color_max) = "0xFFFDD9";
2805 MY(originjitter) = '3.0 3.0 3.0';
2806 MY(startangle_min) = -180;
2807 MY(startangle_max) = 180;
2810 MY(sizeincrease) = 20;
2816 MY(velocityjitter) = '100.0 100.0 100.0';
2817 MY(velocitymultiplier) = 0.300000;
2824 MY(alpha_min) = 200;
2825 MY(alpha_max) = 300;
2826 MY(alpha_fade) = 200;
2828 MY(color_min) = "0x000000";
2829 MY(color_max) = "0x666666";
2830 MY(lightcolor) = '6.0 3.0 1.0';
2831 MY(lightradius) = 150;
2832 MY(notunderwater) = true;
2833 MY(originjitter) = '2.0 2.0 2.0';
2834 MY(startangle_min) = -180;
2835 MY(startangle_max) = 180;
2838 MY(sizeincrease) = 11;
2842 MY(trailspacing) = 10;
2844 MY(velocityjitter) = '3.0 3.0 3.0';
2845 MY(velocitymultiplier) = -0.020000;
2849 MY(airfriction) = 8;
2850 MY(alpha_min) = 100;
2851 MY(alpha_max) = 144;
2852 MY(alpha_fade) = 588;
2853 MY(color_min) = "0xffdf72";
2854 MY(color_max) = "0x811200";
2855 MY(sizeincrease) = -30;
2860 MY(trailspacing) = 4;
2861 MY(type) = "static";
2862 MY(velocityjitter) = '32.0 32.0 32.0';
2863 MY(velocitymultiplier) = -1.500000;
2867 MY(alpha_min) = 256;
2868 MY(alpha_max) = 256;
2869 MY(alpha_fade) = 256;
2870 MY(bounce) = 1.500000;
2871 MY(gravity) = -0.125000;
2872 MY(liquidfriction) = 4;
2877 MY(trailspacing) = 16;
2878 MY(type) = "bubble";
2879 MY(underwater) = true;
2880 MY(velocityjitter) = '16.0 16.0 16.0';
2881 MY(velocitymultiplier) = -0.310000;
2885 MY(airfriction) = 5;
2886 MY(alpha_min) = 444;
2887 MY(alpha_max) = 512;
2888 MY(alpha_fade) = 1866;
2890 MY(color_min) = "0xFFFDD9";
2891 MY(color_max) = "0xFFFDD9";
2892 MY(notunderwater) = true;
2893 MY(originjitter) = '1.0 1.0 1.0';
2894 MY(size_min) = 0.500000;
2895 MY(size_max) = 0.500000;
2896 MY(stretchfactor) = 0.300000;
2899 MY(trailspacing) = 20;
2901 MY(velocityjitter) = '100.0 100.0 100.0';
2902 MY(velocitymultiplier) = -0.310000;
2905 // rocket explosion (bigger than mortar and hagar)
2906 DEF(rocket_explode);
2907 SUB(rocket_explode) {
2908 MY(alpha_min) = 256;
2909 MY(alpha_max) = 256;
2910 MY(countabsolute) = 1;
2911 MY(lightcolor) = '8.0 4.0 1.0';
2912 MY(lightradiusfade) = 750;
2913 MY(lightradius) = 400;
2914 MY(originjitter) = '23.0 23.0 23.0';
2922 SUB(rocket_explode) {
2923 MY(airfriction) = 8;
2924 MY(alpha_min) = 200;
2925 MY(alpha_max) = 256;
2926 MY(alpha_fade) = 512;
2927 MY(bounce) = 1.500000;
2928 MY(color_min) = "0x8f0d00";
2929 MY(color_max) = "0xff5a00";
2931 MY(liquidfriction) = 8;
2932 MY(notunderwater) = true;
2933 MY(originjitter) = '8.0 8.0 8.0';
2934 MY(sizeincrease) = 45;
2939 MY(type) = "static";
2940 MY(velocityjitter) = '512.0 512.0 512.0';
2943 SUB(rocket_explode) {
2944 MY(airfriction) = 19;
2945 MY(alpha_min) = 200;
2946 MY(alpha_max) = 256;
2947 MY(alpha_fade) = 612;
2948 MY(bounce) = 2.500000;
2949 MY(color_min) = "0xea691b";
2950 MY(color_max) = "0xeed05a";
2952 MY(liquidfriction) = 19;
2953 MY(notunderwater) = true;
2954 MY(originjitter) = '8.0 8.0 8.0';
2955 MY(sizeincrease) = 55;
2961 MY(velocityjitter) = '912.0 912.0 912.0';
2964 SUB(rocket_explode) {
2965 MY(airfriction) = 5;
2966 MY(alpha_min) = 200;
2967 MY(alpha_max) = 450;
2968 MY(alpha_fade) = 456;
2970 MY(color_min) = "0x000000";
2971 MY(color_max) = "0x111111";
2973 MY(notunderwater) = true;
2974 MY(sizeincrease) = 44;
2978 MY(type) = "alphastatic";
2979 MY(velocityjitter) = '444.0 444.0 444.0';
2981 // underwater bubbles
2982 SUB(rocket_explode) {
2983 MY(alpha_min) = 128;
2984 MY(alpha_max) = 256;
2985 MY(alpha_fade) = 64;
2986 MY(bounce) = 1.500000;
2987 MY(color_min) = "0x404040";
2988 MY(color_max) = "0x808080";
2990 MY(gravity) = -0.125000;
2991 MY(liquidfriction) = 0.250000;
2992 MY(originjitter) = '16.0 16.0 16.0';
2997 MY(type) = "bubble";
2998 MY(underwater) = true;
2999 MY(velocityjitter) = '144.0 144.0 144.0';
3001 // underwatershockwave
3002 SUB(rocket_explode) {
3005 MY(alpha_fade) = 300;
3006 MY(countabsolute) = 1;
3007 MY(sizeincrease) = 1900;
3013 MY(underwater) = true;
3014 MY(velocitymultiplier) = 0.300000;
3017 SUB(rocket_explode) {
3018 MY(airfriction) = 1;
3019 MY(alpha_min) = 644;
3020 MY(alpha_max) = 956;
3021 MY(alpha_fade) = 484;
3022 MY(bounce) = 1.600000;
3023 MY(color_min) = "0xffa35b";
3024 MY(color_max) = "0xfff2be";
3027 MY(liquidfriction) = 0.800000;
3028 MY(notunderwater) = true;
3029 MY(originjitter) = '16.0 16.0 16.0';
3031 MY(size_max) = 0.100000;
3035 MY(velocityjitter) = '424.0 424.0 624.0';
3036 MY(velocityoffset) = '0.0 0.0 80.0';
3039 SUB(rocket_explode) {
3040 MY(airfriction) = 0.500000;
3041 MY(alpha_min) = 644;
3042 MY(alpha_max) = 956;
3043 MY(alpha_fade) = 684;
3044 MY(bounce) = 1.600000;
3045 MY(color_min) = "0x6a3d25";
3046 MY(color_max) = "0xcac5b4";
3048 MY(gravity) = 1.300000;
3049 MY(notunderwater) = true;
3050 MY(startangle_min) = -180;
3051 MY(startangle_max) = 180;
3052 MY(spin_min) = -1000;
3053 MY(spin_max) = 1000;
3058 MY(type) = "alphastatic";
3059 MY(velocityjitter) = '324.0 324.0 524.0';
3062 DEF(grapple_muzzleflash);
3063 SUB(grapple_muzzleflash) {
3064 MY(lightcolor) = '1.0 0.0 0.0';
3065 MY(lightradiusfade) = 800;
3066 MY(lightradius) = 160;
3069 DEF(grapple_impact);
3070 SUB(grapple_impact) {
3071 MY(lightcolor) = '1.0 0.0 0.0';
3072 MY(lightradiusfade) = 800;
3073 MY(lightradius) = 160;
3076 DEF(nex242_misc_laser_beam);
3077 SUB(nex242_misc_laser_beam) {
3078 MY(alpha_min) = 256;
3079 MY(alpha_max) = 256;
3080 MY(alpha_fade) = 64;
3081 MY(color_min) = "0xff0000";
3082 MY(color_max) = "0xff0000";
3083 MY(countabsolute) = 1;
3084 MY(sizeincrease) = 1;
3092 DEF(nex242_misc_laser_beam_end);
3093 SUB(nex242_misc_laser_beam_end) {
3094 MY(alpha_min) = 128;
3095 MY(alpha_max) = 256;
3096 MY(alpha_fade) = 768;
3098 MY(color_min) = "0x8f4333";
3099 MY(color_max) = "0xfff31b";
3100 MY(count) = 0.500000;
3102 MY(size_min) = 0.400000;
3103 MY(size_max) = 0.400000;
3105 MY(velocityjitter) = '64.0 64.0 64.0';
3106 MY(velocitymultiplier) = 100;
3109 DEF(nex242_misc_laser_beam_fast);
3110 SUB(nex242_misc_laser_beam_fast) {
3111 MY(alpha_min) = 256;
3112 MY(alpha_max) = 256;
3113 MY(alpha_fade) = 640;
3114 MY(color_min) = "0xff0000";
3115 MY(color_max) = "0xff0000";
3116 MY(countabsolute) = 1;
3117 MY(sizeincrease) = 0.100000;
3125 DEF(nex242_misc_laser_beam_fast_end);
3126 SUB(nex242_misc_laser_beam_fast_end) {
3127 MY(alpha_min) = 128;
3128 MY(alpha_max) = 256;
3129 MY(alpha_fade) = 768;
3131 MY(color_min) = "0x8f4333";
3132 MY(color_max) = "0xfff31b";
3133 MY(count) = 0.500000;
3135 MY(size_min) = 0.400000;
3136 MY(size_max) = 0.400000;
3138 MY(velocityjitter) = '64.0 64.0 64.0';
3139 MY(velocitymultiplier) = 100;
3142 DEF(nex242_misc_laser_green_beam);
3143 SUB(nex242_misc_laser_green_beam) {
3144 MY(alpha_min) = 256;
3145 MY(alpha_max) = 256;
3146 MY(alpha_fade) = 64;
3147 MY(color_min) = "0x00ff00";
3148 MY(color_max) = "0x00ff00";
3149 MY(countabsolute) = 1;
3150 MY(sizeincrease) = 1;
3158 DEF(nex242_misc_laser_green_beam_end);
3159 SUB(nex242_misc_laser_green_beam_end) {
3160 MY(alpha_min) = 128;
3161 MY(alpha_max) = 256;
3162 MY(alpha_fade) = 768;
3164 MY(color_min) = "0x8f4333";
3165 MY(color_max) = "0xfff31b";
3166 MY(count) = 0.500000;
3168 MY(size_min) = 0.400000;
3169 MY(size_max) = 0.400000;
3171 MY(velocityjitter) = '64.0 64.0 64.0';
3172 MY(velocitymultiplier) = 100;
3175 DEF(nex242_misc_laser_blue_beam);
3176 SUB(nex242_misc_laser_blue_beam) {
3177 MY(alpha_min) = 256;
3178 MY(alpha_max) = 256;
3179 MY(alpha_fade) = 64;
3180 MY(color_min) = "0x0000ff";
3181 MY(color_max) = "0x0000ff";
3182 MY(countabsolute) = 1;
3183 MY(sizeincrease) = 1;
3191 DEF(nex242_misc_laser_blue_beam_end);
3192 SUB(nex242_misc_laser_blue_beam_end) {
3193 MY(alpha_min) = 128;
3194 MY(alpha_max) = 256;
3195 MY(alpha_fade) = 768;
3197 MY(color_min) = "0x8f4333";
3198 MY(color_max) = "0xfff31b";
3199 MY(count) = 0.500000;
3201 MY(size_min) = 0.400000;
3202 MY(size_max) = 0.400000;
3204 MY(velocityjitter) = '64.0 64.0 64.0';
3205 MY(velocitymultiplier) = 100;
3208 DEF(nex242_misc_laser_yellow_beam);
3209 SUB(nex242_misc_laser_yellow_beam) {
3210 MY(alpha_min) = 256;
3211 MY(alpha_max) = 256;
3212 MY(alpha_fade) = 64;
3213 MY(color_min) = "0xffff00";
3214 MY(color_max) = "0xffff00";
3215 MY(countabsolute) = 1;
3216 MY(sizeincrease) = 1;
3224 DEF(nex242_misc_laser_yellow_beam_end);
3225 SUB(nex242_misc_laser_yellow_beam_end) {
3226 MY(alpha_min) = 128;
3227 MY(alpha_max) = 256;
3228 MY(alpha_fade) = 768;
3230 MY(color_min) = "0x8f4333";
3231 MY(color_max) = "0xfff31b";
3232 MY(count) = 0.500000;
3234 MY(size_min) = 0.400000;
3235 MY(size_max) = 0.400000;
3237 MY(velocityjitter) = '64.0 64.0 64.0';
3238 MY(velocitymultiplier) = 100;
3241 DEF(nex242_misc_laser_cyan_beam);
3242 SUB(nex242_misc_laser_cyan_beam) {
3243 MY(alpha_min) = 256;
3244 MY(alpha_max) = 256;
3245 MY(alpha_fade) = 64;
3246 MY(color_min) = "0x00ffff";
3247 MY(color_max) = "0x00ffff";
3248 MY(countabsolute) = 1;
3249 MY(sizeincrease) = 1;
3257 DEF(nex242_misc_laser_cyan_beam_end);
3258 SUB(nex242_misc_laser_cyan_beam_end) {
3259 MY(alpha_min) = 128;
3260 MY(alpha_max) = 256;
3261 MY(alpha_fade) = 768;
3263 MY(color_min) = "0x8f4333";
3264 MY(color_max) = "0xfff31b";
3265 MY(count) = 0.500000;
3267 MY(size_min) = 0.400000;
3268 MY(size_max) = 0.400000;
3270 MY(velocityjitter) = '64.0 64.0 64.0';
3271 MY(velocitymultiplier) = 100;
3274 DEF(nex242_misc_laser_magenta_beam);
3275 SUB(nex242_misc_laser_magenta_beam) {
3276 MY(alpha_min) = 256;
3277 MY(alpha_max) = 256;
3278 MY(alpha_fade) = 64;
3279 MY(color_min) = "0xff00ff";
3280 MY(color_max) = "0xff00ff";
3281 MY(countabsolute) = 1;
3282 MY(sizeincrease) = 1;
3290 DEF(nex242_misc_laser_magenta_beam_end);
3291 SUB(nex242_misc_laser_magenta_beam_end) {
3292 MY(alpha_min) = 128;
3293 MY(alpha_max) = 256;
3294 MY(alpha_fade) = 768;
3296 MY(color_min) = "0x8f4333";
3297 MY(color_max) = "0xfff31b";
3298 MY(count) = 0.500000;
3300 MY(size_min) = 0.400000;
3301 MY(size_max) = 0.400000;
3303 MY(velocityjitter) = '64.0 64.0 64.0';
3304 MY(velocitymultiplier) = 100;
3307 DEF(nex242_misc_laser_white_beam);
3308 SUB(nex242_misc_laser_white_beam) {
3309 MY(alpha_min) = 256;
3310 MY(alpha_max) = 256;
3311 MY(alpha_fade) = 64;
3312 MY(color_min) = "0xffffff";
3313 MY(color_max) = "0xffffff";
3314 MY(countabsolute) = 1;
3315 MY(sizeincrease) = 1;
3323 DEF(nex242_misc_laser_white_beam_end);
3324 SUB(nex242_misc_laser_white_beam_end) {
3325 MY(alpha_min) = 128;
3326 MY(alpha_max) = 256;
3327 MY(alpha_fade) = 768;
3329 MY(color_min) = "0x8f4333";
3330 MY(color_max) = "0xfff31b";
3331 MY(count) = 0.500000;
3333 MY(size_min) = 0.400000;
3334 MY(size_max) = 0.400000;
3336 MY(velocityjitter) = '64.0 64.0 64.0';
3337 MY(velocitymultiplier) = 100;
3340 DEF(nex242_misc_laser_black_beam);
3341 SUB(nex242_misc_laser_black_beam) {
3342 MY(alpha_min) = 256;
3343 MY(alpha_max) = 256;
3344 MY(alpha_fade) = 64;
3345 MY(color_min) = "0x000000";
3346 MY(color_max) = "0x000000";
3347 MY(countabsolute) = 1;
3348 MY(sizeincrease) = 1;
3356 DEF(nex242_misc_laser_black_beam_end);
3357 SUB(nex242_misc_laser_black_beam_end) {
3358 MY(alpha_min) = 128;
3359 MY(alpha_max) = 256;
3360 MY(alpha_fade) = 768;
3362 MY(color_min) = "0x8f4333";
3363 MY(color_max) = "0xfff31b";
3364 MY(count) = 0.500000;
3366 MY(size_min) = 0.400000;
3367 MY(size_max) = 0.400000;
3369 MY(velocityjitter) = '64.0 64.0 64.0';
3370 MY(velocitymultiplier) = 100;
3373 DEF(nex242_misc_laser_orange_beam);
3374 SUB(nex242_misc_laser_orange_beam) {
3375 MY(alpha_min) = 256;
3376 MY(alpha_max) = 256;
3377 MY(alpha_fade) = 64;
3378 MY(color_min) = "0xff6600";
3379 MY(color_max) = "0xff6600";
3380 MY(countabsolute) = 1;
3381 MY(sizeincrease) = 1;
3389 DEF(nex242_misc_laser_orange_beam_end);
3390 SUB(nex242_misc_laser_orange_beam_end) {
3391 MY(alpha_min) = 128;
3392 MY(alpha_max) = 256;
3393 MY(alpha_fade) = 768;
3395 MY(color_min) = "0x8f4333";
3396 MY(color_max) = "0xfff31b";
3397 MY(count) = 0.500000;
3399 MY(size_min) = 0.400000;
3400 MY(size_max) = 0.400000;
3402 MY(velocityjitter) = '64.0 64.0 64.0';
3403 MY(velocitymultiplier) = 100;
3406 // bigger crylink impact effect
3407 DEF(crylink_impactbig);
3409 SUB(crylink_impactbig) {
3410 MY(alpha_min) = 256;
3411 MY(alpha_max) = 256;
3412 MY(countabsolute) = 1;
3413 MY(originjitter) = '12.0 12.0 12.0';
3420 // purple flare effect
3421 SUB(crylink_impactbig) {
3422 MY(alpha_min) = 256;
3423 MY(alpha_max) = 256;
3424 MY(alpha_fade) = 512;
3425 MY(color_min) = "0x504060";
3426 MY(color_max) = "0x504060";
3427 MY(countabsolute) = 1;
3432 MY(type) = "static";
3435 SUB(crylink_impactbig) {
3436 MY(alpha_min) = 256;
3437 MY(alpha_max) = 256;
3438 MY(alpha_fade) = 1024;
3440 MY(color_min) = "0xA040C0";
3441 MY(color_max) = "0xA040C0";
3448 MY(velocityjitter) = '512.0 512.0 512.0';
3451 SUB(crylink_impactbig) {
3452 MY(alpha_min) = 256;
3453 MY(alpha_max) = 256;
3454 MY(alpha_fade) = 512;
3455 MY(color_min) = "0xE070FF";
3456 MY(color_max) = "0xE070FF";
3457 MY(count) = 1.500000;
3460 MY(type) = "static";
3461 MY(velocityjitter) = '32.0 32.0 32.0';
3464 SUB(crylink_impactbig) {
3465 MY(alpha_min) = 256;
3466 MY(alpha_max) = 256;
3467 MY(alpha_fade) = 1024;
3468 MY(color_min) = "0xE070FF";
3469 MY(color_max) = "0xE070FF";
3473 MY(type) = "static";
3474 MY(velocityjitter) = '256.0 256.0 256.0';
3477 #include "effectinfo_gentle.inc"
3482 MY(alpha_min) = 256;
3483 MY(alpha_max) = 256;
3484 MY(countabsolute) = 1;
3485 MY(originjitter) = '6.0 6.0 6.0';
3492 // dust/smoke drifting away from the impact
3494 MY(airfriction) = 7;
3496 MY(alpha_fade) = 64;
3497 MY(color_min) = "0xFFFFFF";
3498 MY(color_max) = "0xFFFFFF";
3499 MY(count) = 0.025000;
3500 MY(liquidfriction) = 16;
3501 MY(originjitter) = '1.0 1.0 1.0';
3502 MY(sizeincrease) = 2;
3508 MY(velocityjitter) = '15.0 15.0 15.0';
3509 MY(velocitymultiplier) = 20;
3513 MY(airfriction) = 5;
3514 MY(alpha_min) = 256;
3515 MY(alpha_max) = 256;
3516 MY(alpha_fade) = 768;
3518 MY(color_min) = "0xFDFFD9";
3519 MY(color_max) = "0xFDFFD9";
3520 MY(count) = 0.025000;
3522 MY(notunderwater) = true;
3523 MY(originjitter) = '1.0 1.0 1.0';
3524 MY(size_min) = 0.600000;
3525 MY(size_max) = 0.600000;
3529 MY(velocityjitter) = '100.0 100.0 100.0';
3530 MY(velocitymultiplier) = 100;
3536 MY(alpha_min) = 200;
3537 MY(alpha_max) = 256;
3538 MY(alpha_fade) = 512;
3539 MY(color_min) = "0x8f0d00";
3540 MY(color_max) = "0xff5a00";
3542 MY(gravity) = -0.500000;
3543 MY(originjitter) = '5.0 5.0 5.0';
3544 MY(sizeincrease) = -1;
3550 MY(velocityjitter) = '1.0 1.0 50.0';
3554 MY(alpha_min) = 200;
3555 MY(alpha_max) = 256;
3556 MY(alpha_fade) = 200;
3557 MY(color_min) = "0x000000";
3558 MY(color_max) = "0x111111";
3560 MY(gravity) = -0.300000;
3561 MY(originjitter) = '3.0 3.0 3.0';
3562 MY(sizeincrease) = 5;
3566 MY(type) = "alphastatic";
3567 MY(velocityjitter) = '11.0 11.0 50.0';
3572 MY(alpha_max) = 100;
3573 MY(alpha_fade) = 100;
3575 MY(color_min) = "0x7cbaff";
3576 MY(color_max) = "0xcfd1ff";
3578 MY(gravity) = 0.600000;
3579 MY(originjitter) = '5.0 5.0 5.0';
3580 MY(sizeincrease) = 20;
3585 MY(velocityjitter) = '81.0 81.0 150.0';
3586 MY(velocitymultiplier) = 2;
3589 DEF(hookbomb_explode);
3591 SUB(hookbomb_explode) {
3592 MY(airfriction) = 10;
3593 MY(alpha_max) = 256;
3594 MY(alpha_fade) = 200;
3595 MY(bounce) = 1.500000;
3596 MY(color_min) = "0x807aff";
3597 MY(color_max) = "0x4463d5";
3599 MY(originjitter) = '10.0 10.0 10.0';
3600 MY(sizeincrease) = -160;
3605 MY(type) = "static";
3606 MY(velocityjitter) = '550.0 550.0 550.0';
3609 SUB(hookbomb_explode) {
3610 MY(alpha_min) = 256;
3611 MY(alpha_max) = 265;
3612 MY(alpha_fade) = 100;
3613 MY(color_min) = "0x807aff";
3614 MY(color_max) = "0x4463d5";
3615 MY(countabsolute) = 3;
3616 MY(originoffset) = '0.0 0.0 6.0';
3617 MY(sizeincrease) = -60;
3622 MY(type) = "static";
3624 // decal on the ground
3625 SUB(hookbomb_explode) {
3626 MY(alpha_min) = 256;
3627 MY(alpha_max) = 256;
3628 MY(countabsolute) = 1;
3629 MY(originjitter) = '6.0 6.0 6.0';
3637 SUB(hookbomb_explode) {
3638 MY(airfriction) = 2;
3639 MY(alpha_min) = 256;
3640 MY(alpha_max) = 256;
3641 MY(alpha_fade) = 456;
3642 MY(bounce) = 1.500000;
3643 MY(color_min) = "0x807aff";
3644 MY(color_max) = "0x4463d5";
3647 MY(originjitter) = '1.0 1.0 1.0';
3648 MY(sizeincrease) = -60;
3654 MY(velocityjitter) = '1900.0 1900.0 1300.0';
3655 MY(velocitymultiplier) = 0.500000;
3658 DEF(EF_MGTURRETTRAIL);
3660 SUB(EF_MGTURRETTRAIL) {
3661 MY(alpha_min) = 128;
3662 MY(alpha_max) = 196;
3663 MY(alpha_fade) = 768;
3664 MY(color_min) = "0xd0d0a0";
3665 MY(color_max) = "0xffffff";
3666 MY(gravity) = -0.010000;
3667 MY(notunderwater) = true;
3668 MY(sizeincrease) = -8;
3672 MY(trailspacing) = 10;
3676 SUB(EF_MGTURRETTRAIL) {
3677 MY(alpha_min) = 256;
3678 MY(alpha_max) = 256;
3679 MY(alpha_fade) = 256;
3680 MY(bounce) = 1.500000;
3681 MY(color_min) = "0x404040";
3682 MY(color_max) = "0x808080";
3683 MY(gravity) = -0.125000;
3684 MY(liquidfriction) = 4;
3689 MY(trailspacing) = 32;
3690 MY(type) = "bubble";
3691 MY(underwater) = true;
3692 MY(velocityjitter) = '16.0 16.0 16.0';
3698 MY(alpha_min) = 200;
3699 MY(alpha_max) = 356;
3700 MY(alpha_fade) = 512;
3702 MY(color_min) = "0x8f0d00";
3703 MY(color_max) = "0xff5a00";
3705 MY(gravity) = -0.500000;
3706 MY(originjitter) = '33.0 33.0 33.0';
3707 MY(sizeincrease) = -3;
3713 MY(velocityjitter) = '22.0 22.0 50.0';
3717 MY(alpha_min) = 200;
3718 MY(alpha_max) = 256;
3719 MY(alpha_fade) = 200;
3721 MY(color_min) = "0x000000";
3722 MY(color_max) = "0x111111";
3724 MY(gravity) = -0.300000;
3725 MY(originjitter) = '44.0 44.0 44.0';
3726 MY(sizeincrease) = 11;
3730 MY(type) = "alphastatic";
3731 MY(velocityjitter) = '11.0 11.0 50.0';
3734 #define flare(name, colormin, colormax) \
3735 DEF(name##_flare); \
3736 SUB(name##_flare) /* smoke */ { \
3737 MY(alpha_min) = 200; \
3738 MY(alpha_max) = 256; \
3739 MY(alpha_fade) = 160; \
3741 MY(color_min) = colormin; \
3742 MY(color_max) = colormax; \
3743 MY(count) = 10.500000; \
3744 MY(gravity) = -0.240000; \
3745 MY(originjitter) = '2.0 2.0 0.0'; \
3746 MY(sizeincrease) = 11; \
3748 MY(size_max) = 11; \
3750 MY(type) = "alphastatic"; \
3751 MY(velocityjitter) = '15.0 15.0 30.0'; \
3754 flare(red, "0xff0000", "0xdc7171")
3755 flare(blue, "0x0000ff", "0x7194dc")
3761 MY(airfriction) = 3;
3762 MY(alpha_min) = 100;
3763 MY(alpha_max) = 156;
3764 MY(alpha_fade) = 200;
3765 MY(bounce) = 1.100000;
3766 MY(color_min) = "0x111111";
3767 MY(color_max) = "0x979797";
3769 MY(gravity) = 0.100000;
3770 MY(notunderwater) = true;
3771 MY(sizeincrease) = 21;
3776 MY(velocityjitter) = '190.0 190.0 50.0';
3782 MY(airfriction) = 7;
3783 MY(alpha_min) = 140;
3784 MY(alpha_max) = 256;
3785 MY(alpha_fade) = 190;
3786 MY(bounce) = 1.100000;
3787 MY(color_min) = "0x9e895f";
3788 MY(color_max) = "0xffd39b";
3790 MY(gravity) = -0.150000;
3791 MY(notunderwater) = true;
3792 MY(sizeincrease) = 21;
3796 MY(type) = "alphastatic";
3797 MY(velocityjitter) = '390.0 390.0 390.0';
3802 MY(airfriction) = 3;
3803 MY(alpha_max) = 256;
3804 MY(alpha_fade) = 256;
3805 MY(bounce) = 1.500000;
3806 MY(color_min) = "0xFFFDD9";
3807 MY(color_max) = "0xFFFDD9";
3810 MY(originjitter) = '1.0 1.0 1.0';
3816 MY(velocityjitter) = '300.0 300.0 200.0';
3817 MY(velocitymultiplier) = 1.500000;
3820 DEF(electricity_sparks);
3821 SUB(electricity_sparks) {
3822 MY(airfriction) = 3;
3823 MY(alpha_max) = 256;
3824 MY(alpha_fade) = 556;
3825 MY(bounce) = 1.500000;
3826 MY(color_min) = "0x807aff";
3827 MY(color_max) = "0x4463d5";
3830 MY(originjitter) = '1.0 1.0 1.0';
3836 MY(velocityjitter) = '300.0 300.0 300.0';
3837 MY(velocitymultiplier) = 0.500000;
3842 MY(airfriction) = 5;
3843 MY(alpha_min) = 140;
3844 MY(alpha_max) = 256;
3845 MY(alpha_fade) = 190;
3846 MY(bounce) = 1.100000;
3847 MY(color_min) = "0xfffbdf";
3848 MY(color_max) = "0xffffff";
3850 MY(gravity) = -0.250000;
3851 MY(notunderwater) = true;
3852 MY(sizeincrease) = 7;
3857 MY(velocityjitter) = '19.0 19.0 19.0';
3858 MY(velocitymultiplier) = 14;
3863 MY(airfriction) = -1;
3864 MY(alpha_min) = 100;
3865 MY(alpha_max) = 256;
3866 MY(alpha_fade) = 100;
3867 MY(bounce) = 1.500000;
3868 MY(color_min) = "0x292929";
3869 MY(color_max) = "0x000000";
3871 MY(gravity) = -0.100000;
3872 MY(originjitter) = '10.0 10.0 10.0';
3873 MY(sizeincrease) = 5;
3877 MY(type) = "alphastatic";
3878 MY(velocityjitter) = '5.0 5.0 20.0';
3881 // golden dust (create it once per second to cover large area in small yellow particles)
3884 MY(alpha_min) = 256;
3885 MY(alpha_max) = 256;
3886 MY(alpha_fade) = 70;
3887 MY(bounce) = 1.500000;
3888 MY(color_min) = "0xff9600";
3889 MY(color_max) = "0xffefb8";
3891 MY(originjitter) = '500.0 500.0 500.0';
3892 MY(sizeincrease) = -0.300000;
3898 MY(velocityjitter) = '0.1 0.1 0.1';
3903 MY(airfriction) = -0.500000;
3904 MY(alpha_min) = 256;
3905 MY(alpha_max) = 256;
3906 MY(alpha_fade) = 170;
3907 MY(bounce) = 1.500000;
3908 MY(color_min) = "0xff0000";
3909 MY(color_max) = "0xff0000";
3911 MY(gravity) = -0.100000;
3912 MY(originjitter) = '5.0 5.0 100.0';
3913 MY(sizeincrease) = -0.050000;
3919 MY(velocityjitter) = '50.0 50.0 0.0';
3922 DEF(armorrepair_fx);
3923 SUB(armorrepair_fx) {
3924 MY(airfriction) = -0.500000;
3925 MY(alpha_min) = 256;
3926 MY(alpha_max) = 256;
3927 MY(alpha_fade) = 170;
3928 MY(bounce) = 1.500000;
3929 MY(color_min) = "0x00ff00";
3930 MY(color_max) = "0x00ff00";
3932 MY(gravity) = -0.100000;
3933 MY(originjitter) = '5.0 5.0 50.0';
3934 MY(sizeincrease) = -0.050000;
3940 MY(velocityjitter) = '50.0 50.0 0.0';
3945 MY(airfriction) = -0.500000;
3946 MY(alpha_min) = 256;
3947 MY(alpha_max) = 256;
3948 MY(alpha_fade) = 170;
3949 MY(bounce) = 1.500000;
3950 MY(color_min) = "0x0000ff";
3951 MY(color_max) = "0x0000ff";
3953 MY(gravity) = -0.100000;
3954 MY(originjitter) = '5.0 5.0 50.0';
3955 MY(sizeincrease) = -0.050000;
3961 MY(velocityjitter) = '50.0 50.0 0.0';
3964 // red-yellow flame like fx
3967 MY(airfriction) = 2;
3968 MY(alpha_min) = 256;
3969 MY(alpha_max) = 256;
3970 MY(alpha_fade) = 190;
3971 MY(color_min) = "0xff0000";
3972 MY(color_max) = "0xff7800";
3973 MY(count) = 2.500000;
3974 MY(gravity) = -0.060000;
3975 MY(originjitter) = '5.0 5.0 5.0';
3976 MY(sizeincrease) = 10;
3982 MY(velocityjitter) = '25.0 25.0 25.0';
3985 // pieces of glass or ice falling on the floor
3988 MY(airfriction) = 3;
3989 MY(alpha_min) = 256;
3990 MY(alpha_max) = 256;
3992 MY(color_min) = "0xffffff";
3993 MY(color_max) = "0xb2d3e6";
3995 MY(gravity) = 1.300000;
3996 MY(originjitter) = '30.0 30.0 30.0';
4003 MY(type) = "alphastatic";
4004 MY(velocityjitter) = '100.0 100.0 100.0';
4007 // cover small area in poison gas, spawn it once per second
4010 MY(airfriction) = 1;
4011 MY(alpha_min) = 256;
4012 MY(alpha_max) = 256;
4013 MY(alpha_fade) = 50;
4014 MY(bounce) = 1.500000;
4015 MY(color_min) = "0x00ff00";
4016 MY(color_max) = "0x7db843";
4018 MY(gravity) = -0.010000;
4019 MY(originjitter) = '333.0 333.0 50.0';
4020 MY(sizeincrease) = 30;
4025 MY(velocityjitter) = '5.0 5.0 5.0';
4028 // cover small area in icy mist, spawn it once per second
4031 MY(airfriction) = 1;
4032 MY(alpha_min) = 256;
4033 MY(alpha_max) = 256;
4034 MY(alpha_fade) = 50;
4035 MY(bounce) = 1.500000;
4036 MY(color_min) = "0x008aff";
4037 MY(color_max) = "0x75e7ff";
4039 MY(gravity) = -0.010000;
4040 MY(originjitter) = '333.0 333.0 0.0';
4041 MY(sizeincrease) = 10;
4046 MY(velocityjitter) = '5.0 5.0 30.0';
4049 MY(alpha_min) = 256;
4050 MY(alpha_max) = 256;
4051 MY(alpha_fade) = 50;
4052 MY(color_min) = "0x008aff";
4053 MY(color_max) = "0x75e7ff";
4055 MY(gravity) = -0.001000;
4056 MY(originjitter) = '333.0 333.0 0.0';
4057 MY(sizeincrease) = 10;
4065 // 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 )
4067 // flames that go up
4069 MY(airfriction) = 1;
4071 MY(alpha_max) = 256;
4072 MY(alpha_fade) = 200;
4073 MY(bounce) = 1.500000;
4074 MY(color_min) = "0x8f0d00";
4075 MY(color_max) = "0xff5a00";
4077 MY(gravity) = -0.060000;
4078 MY(originjitter) = '180.0 180.0 0.0';
4079 MY(sizeincrease) = 20;
4085 MY(velocityjitter) = '5.0 5.0 30.0';
4087 // flames that stay on the ground
4090 MY(alpha_max) = 256;
4091 MY(alpha_fade) = 200;
4092 MY(color_min) = "0x8f0d00";
4093 MY(color_max) = "0xff5a00";
4095 MY(originjitter) = '180.0 180.0 0.0';
4096 MY(sizeincrease) = 40;
4105 MY(alpha_min) = 256;
4106 MY(alpha_max) = 256;
4107 MY(alpha_fade) = 70;
4108 MY(color_min) = "0x000000";
4109 MY(color_max) = "0x111111";
4111 MY(gravity) = -0.020000;
4112 MY(originjitter) = '180.0 180.0 0.0';
4113 MY(sizeincrease) = 7;
4117 MY(type) = "alphastatic";
4120 // flamethrower, spawn it as fast as you can 20 times per second or more, it needs direction
4124 MY(airfriction) = 1.200000;
4126 MY(alpha_max) = 256;
4127 MY(alpha_fade) = 250;
4128 MY(bounce) = 1.500000;
4129 MY(color_min) = "0x8f0d00";
4130 MY(color_max) = "0xff5a00";
4132 MY(gravity) = -0.060000;
4133 MY(sizeincrease) = 20;
4139 MY(velocityjitter) = '40.0 40.0 11.0';
4140 MY(velocitymultiplier) = 30;
4144 MY(airfriction) = 1.200000;
4146 MY(alpha_max) = 256;
4147 MY(alpha_fade) = 200;
4148 MY(bounce) = 1.500000;
4149 MY(color_min) = "0x8f0d00";
4150 MY(color_max) = "0xff5a00";
4151 MY(count) = 2.500000;
4152 MY(gravity) = -0.060000;
4153 MY(sizeincrease) = 20;
4159 MY(velocityjitter) = '40.0 40.0 40.0';
4160 MY(velocitymultiplier) = 20;
4162 // very slow and small fire
4164 MY(airfriction) = 0.300000;
4166 MY(alpha_max) = 256;
4167 MY(alpha_fade) = 200;
4168 MY(bounce) = 1.500000;
4169 MY(color_min) = "0x8f0d00";
4170 MY(color_max) = "0xff5a00";
4171 MY(count) = 1.500000;
4172 MY(gravity) = -0.060000;
4173 MY(sizeincrease) = 10;
4179 MY(velocityjitter) = '30.0 30.0 30.0';
4180 MY(velocitymultiplier) = 10;
4184 MY(airfriction) = 0.300000;
4186 MY(alpha_max) = 256;
4187 MY(alpha_fade) = 200;
4188 MY(bounce) = 1.500000;
4189 MY(color_min) = "0x8f0d00";
4190 MY(color_max) = "0xff5a00";
4192 MY(gravity) = -0.060000;
4193 MY(sizeincrease) = -10;
4199 MY(velocityjitter) = '10.0 10.0 10.0';
4200 MY(velocitymultiplier) = 15;
4204 MY(airfriction) = 1;
4205 MY(alpha_min) = 256;
4206 MY(alpha_max) = 256;
4207 MY(alpha_fade) = 90;
4208 MY(color_min) = "0x000000";
4209 MY(color_max) = "0x111111";
4210 MY(count) = 0.500000;
4211 MY(originjitter) = '10.0 10.0 10.0';
4212 MY(sizeincrease) = 7;
4216 MY(type) = "alphastatic";
4217 MY(velocitymultiplier) = 20;
4218 MY(velocityoffset) = '0.0 0.0 10.0';
4221 // port-o-launch trail
4223 // glowing vapor trail
4225 MY(alpha_min) = 256;
4226 MY(alpha_max) = 256;
4227 MY(alpha_fade) = 968;
4228 MY(color_min) = "0x404040";
4229 MY(color_max) = "0x404040";
4230 MY(lightcolor) = '1.5 3.0 6.0';
4231 MY(lightradius) = 90;
4236 MY(trailspacing) = 4;
4237 MY(type) = "static";
4238 MY(velocitymultiplier) = -0.100000;
4242 MY(airfriction) = 12;
4243 MY(alpha_min) = 444;
4244 MY(alpha_max) = 512;
4245 MY(alpha_fade) = 1866;
4247 MY(color_min) = "0x404040";
4248 MY(color_max) = "0x404040";
4249 MY(count) = 1.500000;
4250 MY(originjitter) = '1.0 1.0 1.0';
4251 MY(sizeincrease) = -20;
4256 MY(trailspacing) = 12;
4258 MY(velocityjitter) = '50.0 50.0 50.0';
4259 MY(velocityoffset) = '0.0 0.0 15.0';
4264 // glowing vapor trail
4266 MY(alpha_min) = 256;
4267 MY(alpha_max) = 256;
4268 MY(alpha_fade) = 968;
4269 MY(color_min) = "0x804000";
4270 MY(color_max) = "0x804000";
4271 MY(lightcolor) = '1.5 3.0 6.0';
4272 MY(lightradius) = 90;
4277 MY(trailspacing) = 4;
4278 MY(type) = "static";
4279 MY(velocitymultiplier) = -0.100000;
4283 MY(airfriction) = 12;
4284 MY(alpha_min) = 444;
4285 MY(alpha_max) = 512;
4286 MY(alpha_fade) = 1866;
4288 MY(color_min) = "0xff8000";
4289 MY(color_max) = "0xff8000";
4290 MY(count) = 1.500000;
4291 MY(originjitter) = '1.0 1.0 1.0';
4292 MY(sizeincrease) = -20;
4297 MY(trailspacing) = 12;
4299 MY(velocityjitter) = '50.0 50.0 50.0';
4300 MY(velocityoffset) = '0.0 0.0 15.0';
4305 MY(alpha_min) = 256;
4306 MY(alpha_max) = 256;
4307 MY(countabsolute) = 1;
4308 MY(lightcolor) = '8.0 4.0 1.0';
4309 MY(lightradiusfade) = 400;
4310 MY(lightradius) = 150;
4311 MY(originjitter) = '40.0 40.0 40.0';
4318 // fire effect which make bright dot inside
4320 MY(airfriction) = 8;
4321 MY(alpha_min) = 128;
4322 MY(alpha_max) = 256;
4323 MY(alpha_fade) = 456;
4324 MY(bounce) = 1.500000;
4325 MY(color_min) = "0xffe955";
4326 MY(color_max) = "0xff5a00";
4328 MY(liquidfriction) = 8;
4329 MY(notunderwater) = true;
4330 MY(originjitter) = '8.0 8.0 8.0';
4331 MY(sizeincrease) = 5;
4337 MY(velocityjitter) = '156.0 156.0 156.0';
4339 // fire effect which expands then slows
4341 MY(airfriction) = 12;
4342 MY(alpha_min) = 128;
4343 MY(alpha_max) = 256;
4344 MY(alpha_fade) = 456;
4345 MY(bounce) = 1.500000;
4346 MY(color_min) = "0x8f0d00";
4347 MY(color_max) = "0xff5a00";
4349 MY(liquidfriction) = 8;
4350 MY(notunderwater) = true;
4351 MY(originjitter) = '8.0 8.0 8.0';
4352 MY(sizeincrease) = 15;
4357 MY(type) = "static";
4358 MY(velocityjitter) = '256.0 256.0 256.0';
4362 MY(airfriction) = 5;
4363 MY(alpha_min) = 500;
4364 MY(alpha_max) = 600;
4365 MY(alpha_fade) = 556;
4367 MY(color_min) = "0x000000";
4368 MY(color_max) = "0x111111";
4370 MY(notunderwater) = true;
4371 MY(sizeincrease) = 20;
4375 MY(type) = "alphastatic";
4376 MY(velocityjitter) = '244.0 244.0 244.0';
4378 // underwater bubbles
4380 MY(alpha_min) = 128;
4381 MY(alpha_max) = 256;
4382 MY(alpha_fade) = 64;
4383 MY(bounce) = 1.500000;
4384 MY(color_min) = "0x404040";
4385 MY(color_max) = "0x808080";
4387 MY(gravity) = -0.125000;
4388 MY(liquidfriction) = 0.250000;
4389 MY(originjitter) = '16.0 16.0 16.0';
4394 MY(type) = "bubble";
4395 MY(underwater) = true;
4396 MY(velocityjitter) = '96.0 96.0 96.0';
4400 MY(airfriction) = 0.200000;
4401 MY(alpha_min) = 256;
4402 MY(alpha_max) = 256;
4403 MY(alpha_fade) = 384;
4404 MY(bounce) = 1.500000;
4405 MY(color_min) = "0x903010";
4406 MY(color_max) = "0xFFD030";
4409 MY(liquidfriction) = 0.800000;
4410 MY(notunderwater) = true;
4416 MY(velocityjitter) = '256.0 256.0 256.0';
4417 MY(velocityoffset) = '0.0 0.0 80.0';
4420 // bullet trail (somewhat like a tracer)
4423 MY(alpha) = '500 600 10000';
4424 MY(color_min) = "0xf03000";
4425 MY(color_max) = "0xff6010";
4426 MY(countabsolute) = 1;
4427 MY(sizeincrease) = -3;
4435 MY(airfriction) = -4;
4436 MY(alpha) = '256 256 350';
4437 MY(color_min) = "0x202020";
4438 MY(color_max) = "0x404040";
4439 MY(notunderwater) = true;
4440 MY(sizeincrease) = 0.4;
4445 MY(trailspacing) = 16;
4447 MY(velocityjitter) = '4 4 4';
4450 MY(alpha_min) = 256;
4451 MY(alpha_max) = 256;
4452 MY(alpha_fade) = 128;
4453 MY(bounce) = 1.500000;
4454 MY(color_min) = "0x404040";
4455 MY(color_max) = "0x808080";
4456 MY(gravity) = -0.125000;
4457 MY(liquidfriction) = 4;
4462 MY(trailspacing) = 16;
4463 MY(type) = "bubble";
4464 MY(underwater) = true;
4465 MY(velocityjitter) = '16.0 16.0 16.0';
4468 // smoke emitter for small pipes
4469 DEF(smoking_smallemitter);
4470 SUB(smoking_smallemitter) {
4471 MY(airfriction) = -1;
4472 MY(alpha_min) = 200;
4473 MY(alpha_max) = 256;
4474 MY(alpha_fade) = 100;
4475 MY(color_min) = "0x292929";
4476 MY(color_max) = "0x000000";
4478 MY(gravity) = -0.100000;
4479 MY(originjitter) = '10.0 10.0 10.0';
4480 MY(sizeincrease) = 20;
4484 MY(type) = "alphastatic";
4485 MY(velocityjitter) = '5.0 5.0 20.0';
4489 DEF(TR_CRYLINKPLASMA);
4491 SUB(TR_CRYLINKPLASMA) {
4492 MY(alpha_min) = 256;
4493 MY(alpha_max) = 256;
4494 MY(alpha_fade) = 1024;
4495 MY(color_min) = "0x5522aa";
4496 MY(color_max) = "0x6622ff";
4497 MY(sizeincrease) = 8;
4502 MY(trailspacing) = 128;
4503 MY(type) = "static";
4504 MY(velocityjitter) = '8.0 8.0 8.0';
4505 MY(velocitymultiplier) = -0.010000;
4507 // crylink main trail
4508 SUB(TR_CRYLINKPLASMA) {
4509 MY(alpha_min) = 256;
4510 MY(alpha_max) = 256;
4511 MY(alpha_fade) = 2600;
4512 MY(color_min) = "0x5522aa";
4513 MY(color_max) = "0x6622ff";
4514 MY(sizeincrease) = 15;
4519 MY(trailspacing) = 16;
4520 MY(type) = "static";
4521 MY(velocityjitter) = '2.0 2.0 2.0';
4522 MY(velocitymultiplier) = 0.010000;
4526 SUB(cherryblossom) {
4527 MY(airfriction) = 1;
4528 MY(alpha_min) = 128;
4529 MY(alpha_max) = 256;
4530 MY(alpha_fade) = 32;
4531 MY(bounce) = 1.500000;
4532 MY(color_min) = "0xb123ff";
4533 MY(color_max) = "0xb183ff";
4534 MY(count) = 1.500000;
4535 MY(gravity) = 0.050000;
4536 MY(liquidfriction) = 1;
4537 MY(originjitter) = '16.0 16.0 16.0';
4538 MY(size_min) = 1.500000;
4542 MY(type) = "static";
4543 MY(velocityjitter) = '32.0 32.0 0.0';
4548 MY(airfriction) = 0.400000;
4549 MY(alpha_min) = 1560;
4550 MY(alpha_max) = 2560;
4551 MY(alpha_fade) = 7000;
4552 MY(blend) = "invmod";
4554 MY(color_min) = "0xDC9BCD";
4555 MY(color_max) = "0xDC9BCD";
4556 MY(count) = 0.400000;
4557 MY(sizeincrease) = 20;
4560 MY(staincolor_min) = "0xDC9BCD";
4561 MY(staincolor_max) = "0xDC9BCD";
4562 MY(stainsize_min) = 1;
4563 MY(stainsize_max) = 2;
4564 MY(staintex_min) = 16;
4565 MY(staintex_max) = 24;
4566 MY(stretchfactor) = 25;
4570 MY(velocityjitter) = '99.0 99.0 55.0';
4574 MY(alpha_min) = 3000;
4575 MY(alpha_max) = 5560;
4576 MY(alpha_fade) = 12000;
4577 MY(blend) = "invmod";
4578 MY(color_min) = "0xDC9BCD";
4579 MY(color_max) = "0xDC9BCD";
4580 MY(countabsolute) = 1;
4581 MY(originjitter) = '11.0 11.0 11.0';
4582 MY(sizeincrease) = 20;
4592 MY(airfriction) = 1;
4593 MY(alpha_min) = 256;
4594 MY(alpha_max) = 256;
4595 MY(alpha_fade) = 64;
4597 MY(color_min) = "0xff3000";
4598 MY(color_max) = "0xff7373";
4599 MY(count) = 0.167000;
4601 MY(liquidfriction) = 4;
4607 MY(velocityjitter) = '264.0 264.0 264.0';
4608 MY(velocityoffset) = '0.0 0.0 100.0';
4613 MY(alpha_fade) = 1000;
4614 MY(color_min) = "0xff8400";
4615 MY(color_max) = "0xffbb72";
4616 MY(countabsolute) = 1;
4617 MY(originjitter) = '11.0 11.0 11.0';
4618 MY(sizeincrease) = 800;
4627 MY(alpha_min) = 256;
4628 MY(alpha_max) = 256;
4629 MY(alpha_fade) = 5120;
4630 MY(color_min) = "0xff3000";
4631 MY(color_max) = "0xff8585";
4632 MY(count) = 0.100000;
4633 MY(originjitter) = '41.0 41.0 21.0';
4634 MY(startangle_min) = -180;
4635 MY(startangle_max) = 180;
4636 MY(spin_min) = 4000;
4637 MY(spin_max) = -4000;
4645 DEF(alien_TR_BLOOD);
4646 SUB(alien_TR_BLOOD) {
4647 MY(airfriction) = -2;
4648 MY(alpha_min) = 384;
4649 MY(alpha_max) = 984;
4650 MY(alpha_fade) = 1492;
4651 MY(blend) = "invmod";
4653 MY(color_min) = "0xC080B0";
4654 MY(color_max) = "0xC080B0";
4655 MY(gravity) = 0.400000;
4656 MY(liquidfriction) = 1;
4657 MY(sizeincrease) = -5;
4660 MY(staincolor_min) = "0xC080B0";
4661 MY(staincolor_max) = "0xC080B0";
4662 MY(stainsize_min) = 1;
4663 MY(stainsize_max) = 2;
4664 MY(staintex_min) = 16;
4665 MY(staintex_max) = 24;
4666 MY(stretchfactor) = 7;
4669 MY(trailspacing) = 20;
4671 MY(velocityjitter) = '64.0 64.0 64.0';
4672 MY(velocitymultiplier) = -0.100000;
4675 // splash around gib
4677 MY(alpha_min) = 684;
4678 MY(alpha_max) = 684;
4679 MY(alpha_fade) = 7492;
4680 MY(color_min) = "0xA8FFFF";
4681 MY(color_max) = "0xA8FFFF";
4682 MY(sizeincrease) = 500;
4687 MY(trailspacing) = 42;
4691 DEF(robot_TR_BLOOD);
4692 SUB(robot_TR_BLOOD) {
4693 MY(airfriction) = -2;
4694 MY(alpha_min) = 384;
4695 MY(alpha_max) = 984;
4696 MY(alpha_fade) = 1892;
4697 MY(blend) = "invmod";
4699 MY(color_min) = "0xC0D890";
4700 MY(color_max) = "0xC0D890";
4701 MY(gravity) = 0.400000;
4702 MY(liquidfriction) = 1;
4703 MY(sizeincrease) = -6;
4706 MY(staincolor_min) = "0x808080";
4707 MY(staincolor_max) = "0x808080";
4708 MY(stainsize_min) = 1;
4709 MY(stainsize_max) = 3;
4710 MY(staintex_min) = 16;
4711 MY(staintex_max) = 24;
4712 MY(stretchfactor) = 6;
4715 MY(trailspacing) = 16;
4717 MY(velocityjitter) = '64.0 64.0 64.0';
4718 MY(velocitymultiplier) = -0.300000;
4721 SUB(robot_TR_BLOOD) {
4722 MY(airfriction) = 4;
4723 MY(alpha_min) = 128;
4724 MY(alpha_max) = 256;
4725 MY(alpha_fade) = 900;
4726 MY(color_min) = "0x902010";
4727 MY(color_max) = "0xff3600";
4729 MY(liquidfriction) = 4;
4730 MY(notunderwater) = true;
4731 MY(sizeincrease) = 10;
4734 MY(stretchfactor) = 5;
4737 MY(trailspacing) = 16;
4739 MY(velocityjitter) = '44.0 44.0 44.0';
4742 SUB(robot_TR_BLOOD) {
4743 MY(alpha_min) = 1128;
4744 MY(alpha_max) = 1256;
4745 MY(alpha_fade) = 44900;
4746 MY(color_min) = "0xff3000";
4747 MY(color_max) = "0xff8585";
4748 MY(startangle_min) = -180;
4749 MY(startangle_max) = 180;
4750 MY(spin_min) = 4000;
4751 MY(spin_max) = -4000;
4756 MY(trailspacing) = 128;
4758 MY(velocityjitter) = '44.0 44.0 44.0';
4761 DEF(alien_TR_SLIGHTBLOOD);
4762 SUB(alien_TR_SLIGHTBLOOD) {
4763 MY(airfriction) = 1;
4764 MY(alpha_min) = 384;
4765 MY(alpha_max) = 384;
4766 MY(alpha_fade) = 192;
4768 MY(color_min) = "0xC080B0";
4769 MY(color_max) = "0xC080B0";
4770 MY(liquidfriction) = 4;
4773 MY(staincolor_min) = "0x808080";
4774 MY(staincolor_max) = "0x808080";
4775 MY(staintex_min) = 16;
4776 MY(staintex_max) = 24;
4779 MY(trailspacing) = 64;
4781 MY(velocityjitter) = '64.0 64.0 64.0';
4782 MY(velocitymultiplier) = 0.500000;
4785 DEF(robot_TR_SLIGHTBLOOD);
4786 SUB(robot_TR_SLIGHTBLOOD) {
4787 MY(airfriction) = 1;
4788 MY(alpha_min) = 384;
4789 MY(alpha_max) = 384;
4790 MY(alpha_fade) = 192;
4792 MY(color_min) = "0xC0D890";
4793 MY(color_max) = "0xC0D890";
4794 MY(liquidfriction) = 4;
4797 MY(staincolor_min) = "0x808080";
4798 MY(staincolor_max) = "0x808080";
4799 MY(staintex_min) = 16;
4800 MY(staintex_max) = 24;
4803 MY(trailspacing) = 64;
4805 MY(velocityjitter) = '64.0 64.0 64.0';
4806 MY(velocitymultiplier) = 0.500000;
4810 // flare particle and light
4812 MY(alpha_min) = 128;
4814 MY(alpha_fade) = 64;
4815 MY(color_min) = "0x63F2EA";
4816 MY(color_max) = "0xB0C5C4";
4817 MY(countabsolute) = 1;
4820 MY(type) = "static";
4822 // cloud of particles which expand rapidly and then slow to form a ball
4824 MY(alpha_min) = 256;
4825 MY(alpha_max) = 256;
4826 MY(alpha_fade) = 1280;
4827 MY(color_min) = "0x63F2EA";
4828 MY(color_max) = "0xB0C5C4";
4835 MY(velocityjitter) = '256.0 256.0 256.0';
4840 MY(alpha_min) = 156;
4841 MY(alpha_max) = 656;
4842 MY(alpha_fade) = 1664;
4843 MY(blend) = "invmod";
4845 MY(color_min) = "0xA8FFFF";
4846 MY(color_max) = "0xA8FFFFF";
4849 MY(liquidfriction) = 4;
4852 MY(staincolor_min) = "0x808080";
4853 MY(staincolor_max) = "0x808080";
4854 MY(stainsize_min) = 1;
4855 MY(stainsize_max) = 2;
4856 MY(staintex_min) = 16;
4857 MY(staintex_max) = 24;
4858 MY(stretchfactor) = 3;
4862 MY(velocityjitter) = '764.0 764.0 764.0';
4866 MY(alpha_min) = 156;
4867 MY(alpha_max) = 656;
4868 MY(alpha_fade) = 1664;
4869 MY(blend) = "invmod";
4870 MY(color_min) = "0xA8FFFF";
4871 MY(color_max) = "0xA8FFFFF";
4872 MY(countabsolute) = 0.100000;
4873 MY(originjitter) = '50.0 50.0 50.0';
4874 MY(sizeincrease) = 300;
4882 DEF(alien_bloodshower);
4883 SUB(alien_bloodshower) {
4884 MY(alpha_min) = 156;
4885 MY(alpha_max) = 656;
4886 MY(alpha_fade) = 1664;
4887 MY(blend) = "invmod";
4889 MY(color_min) = "0xC080B0";
4890 MY(color_max) = "0xC080B0";
4893 MY(liquidfriction) = 4;
4896 MY(staincolor_min) = "0xC080B0";
4897 MY(staincolor_max) = "0xC080B0";
4898 MY(stainsize_min) = 1;
4899 MY(stainsize_max) = 2;
4900 MY(staintex_min) = 16;
4901 MY(staintex_max) = 24;
4902 MY(stretchfactor) = 3;
4906 MY(velocityjitter) = '764.0 764.0 764.0';
4910 MY(alpha_min) = 156;
4911 MY(alpha_max) = 656;
4912 MY(alpha_fade) = 1664;
4913 MY(blend) = "invmod";
4914 MY(color_min) = "0xA8FFFF";
4915 MY(color_max) = "0xA8FFFFF";
4916 MY(countabsolute) = 0.100000;
4917 MY(originjitter) = '50.0 50.0 50.0';
4918 MY(sizeincrease) = 300;
4926 DEF(robot_bloodshower);
4927 SUB(robot_bloodshower) {
4928 MY(alpha_min) = 156;
4929 MY(alpha_max) = 656;
4930 MY(alpha_fade) = 1664;
4931 MY(blend) = "invmod";
4933 MY(color_min) = "0xC0D890";
4934 MY(color_max) = "0xC0D890";
4937 MY(liquidfriction) = 4;
4940 MY(staincolor_min) = "0xC0D890";
4941 MY(staincolor_max) = "0xC0D890";
4942 MY(stainsize_min) = 1;
4943 MY(stainsize_max) = 2;
4944 MY(staintex_min) = 16;
4945 MY(staintex_max) = 24;
4946 MY(stretchfactor) = 3;
4950 MY(velocityjitter) = '764.0 764.0 764.0';
4953 SUB(robot_bloodshower) {
4954 MY(alpha_min) = 1128;
4955 MY(alpha_max) = 1256;
4956 MY(alpha_fade) = 4200;
4957 MY(color_min) = "0xff3000";
4958 MY(color_max) = "0xff8585";
4959 MY(count) = 2.500000;
4960 MY(originjitter) = '150.0 150.0 150.0';
4961 MY(startangle_min) = -180;
4962 MY(startangle_max) = 180;
4970 MY(velocityjitter) = '44.0 44.0 44.0';
4973 SUB(robot_bloodshower) {
4975 MY(alpha_max) = 125;
4976 MY(alpha_fade) = 990;
4977 MY(color_min) = "0xff3000";
4978 MY(color_max) = "0xff8585";
4979 MY(count) = 2.500000;
4980 MY(sizeincrease) = 3000;
4988 #define ground_quake(name, colormin, colormax) \
4989 DEF(name##_ground_quake); \
4990 SUB(name##_ground_quake) /* smoke */ { \
4991 MY(airfriction) = 3; \
4992 MY(alpha_min) = 100; \
4993 MY(alpha_max) = 126; \
4994 MY(alpha_fade) = 200; \
4995 MY(bounce) = 1.100000; \
4996 MY(color_min) = "0x111111"; \
4997 MY(color_max) = "0xbbbbbb"; \
4999 MY(gravity) = 0.500000; \
5000 MY(notunderwater) = true; \
5001 MY(sizeincrease) = 100; \
5002 MY(size_min) = 20; \
5003 MY(size_max) = 50; \
5006 MY(time_max) = 10; \
5007 MY(type) = "smoke"; \
5008 MY(velocityjitter) = '190.0 190.0 50.0'; \
5010 SUB(name##_ground_quake) { \
5011 MY(airfriction) = 4; \
5012 MY(alpha_min) = 100; \
5013 MY(alpha_max) = 126; \
5014 MY(alpha_fade) = 200; \
5015 MY(bounce) = 1.200000; \
5016 MY(color_min) = "0x111111"; \
5017 MY(color_max) = "0x979797"; \
5019 MY(gravity) = 0.200000; \
5020 MY(notunderwater) = true; \
5021 MY(sizeincrease) = 60; \
5022 MY(size_min) = 10; \
5023 MY(size_max) = 30; \
5025 MY(time_min) = 10; \
5026 MY(time_max) = 15; \
5027 MY(type) = "smoke"; \
5028 MY(velocityjitter) = '190.0 190.0 50.0'; \
5030 SUB(name##_ground_quake) { \
5031 MY(alpha_min) = 200; \
5032 MY(alpha_max) = 356; \
5033 MY(alpha_fade) = 512; \
5035 MY(color_min) = colormin; \
5036 MY(color_max) = colormax; \
5038 MY(gravity) = -0.500000; \
5039 MY(originjitter) = '33.0 33.0 33.0'; \
5040 MY(sizeincrease) = 5; \
5042 MY(size_max) = 20; \
5045 MY(time_min) = 15; \
5046 MY(time_max) = 25; \
5047 MY(type) = "smoke"; \
5048 MY(velocityjitter) = '22.0 22.0 50.0'; \
5050 SUB(name##_ground_quake) /* smoke */ { \
5051 MY(alpha_min) = 200; \
5052 MY(alpha_max) = 256; \
5053 MY(alpha_fade) = 200; \
5055 MY(color_min) = "0x000000"; \
5056 MY(color_max) = "0xffffff"; \
5058 MY(gravity) = -0.300000; \
5059 MY(originjitter) = '44.0 44.0 44.0'; \
5060 MY(sizeincrease) = 11; \
5061 MY(size_min) = 22; \
5062 MY(size_max) = 33; \
5064 MY(time_min) = 25; \
5065 MY(time_max) = 35; \
5066 MY(type) = "alphastatic"; \
5067 MY(velocityjitter) = '11.0 11.0 50.0'; \
5071 ground_quake(red, "0x9E6A64", "0x91302D")
5072 ground_quake(blue, "0x64679E", "0x2D4C91")
5075 #include "effectinfo_gentle_morphed.inc"
5077 // Team / hit vaporizer effects
5078 #define TE_TEI_G3(name, colormin1, colormax1, colormin2, colormax2) \
5079 DEF(TE_TEI_G3##name); \
5080 SUB(TE_TEI_G3##name) { \
5081 MY(alpha_min) = 128; \
5082 MY(alpha_max) = 128; \
5083 MY(alpha_fade) = 256; \
5084 MY(color_min) = colormin1; \
5085 MY(color_max) = colormax1; \
5086 MY(countabsolute) = 1; \
5089 MY(tex_min) = 200; \
5090 MY(tex_max) = 200; \
5091 MY(type) = "beam"; \
5093 SUB(TE_TEI_G3##name) { \
5094 MY(airfriction) = -4; \
5095 MY(alpha_min) = 256; \
5096 MY(alpha_max) = 256; \
5097 MY(alpha_fade) = 512; \
5098 MY(color_min) = colormin2; \
5099 MY(color_max) = colormax2; \
5100 MY(sizeincrease) = 3; \
5101 MY(size_min) = 0.300000; \
5102 MY(size_max) = 0.300000; \
5105 MY(trailspacing) = 8; \
5106 MY(type) = "smoke"; \
5107 MY(velocityjitter) = '3.0 3.0 3.0'; \
5109 DEF(TE_TEI_G3##name##_HIT); \
5110 SUB(TE_TEI_G3##name##_HIT) { \
5111 MY(alpha_min) = 128; \
5112 MY(alpha_max) = 128; \
5113 MY(alpha_fade) = 256; \
5114 MY(color_min) = colormin1; \
5115 MY(color_max) = colormax1; \
5116 MY(countabsolute) = 1; \
5119 MY(tex_min) = 200; \
5120 MY(tex_max) = 200; \
5121 MY(type) = "beam"; \
5123 SUB(TE_TEI_G3##name##_HIT) /* rings */ { \
5124 MY(airfriction) = -4; \
5125 MY(alpha_min) = 256; \
5126 MY(alpha_max) = 256; \
5127 MY(alpha_fade) = 512; \
5128 MY(color_min) = "0xFFFFFF"; \
5129 MY(color_max) = colormax1; \
5130 MY(sizeincrease) = -2; \
5133 MY(trailspacing) = 20; \
5134 MY(type) = "smoke"; \
5135 MY(velocityjitter) = '2.0 2.0 2.0'; \
5137 SUB(TE_TEI_G3##name##_HIT) { \
5138 MY(airfriction) = -4; \
5139 MY(alpha_min) = 256; \
5140 MY(alpha_max) = 256; \
5141 MY(alpha_fade) = 512; \
5142 MY(color_min) = colormin1; \
5143 MY(color_max) = colormax1; \
5144 MY(sizeincrease) = -6; \
5145 MY(size_min) = 10; \
5146 MY(size_max) = 10; \
5147 MY(trailspacing) = 40; \
5148 MY(type) = "smoke"; \
5151 TE_TEI_G3(RED, "0xFF0000", "0xFF0011", "0x200000", "0x400000")
5152 TE_TEI_G3(BLUE, "0x0000FF", "0x1100FF", "0x000020", "0x000040")
5153 TE_TEI_G3(YELLOW, "0xffff00", "0xffff11", "0x202000", "0x404000")
5154 TE_TEI_G3(PINK, "0xFF00FF", "0xFF11FF", "0x200020", "0x400040")
5157 #include "effectinfo_gentle_particlegibs.inc"
5159 #include "effectinfo_onslaught.inc"
5163 MY(airfriction) = 1.200000;
5165 MY(alpha_max) = 256;
5166 MY(alpha_fade) = 250;
5167 MY(bounce) = 1.500000;
5168 MY(color_min) = "0x8f0d00";
5169 MY(color_max) = "0xff5a00";
5170 MY(count) = 0.500000;
5171 MY(gravity) = -0.060000;
5172 MY(sizeincrease) = 5;
5177 MY(trailspacing) = 2;
5179 MY(velocityjitter) = '10.0 10.0 2.0';
5183 MY(airfriction) = 1.200000;
5185 MY(alpha_max) = 256;
5186 MY(alpha_fade) = 200;
5187 MY(bounce) = 1.500000;
5188 MY(color_min) = "0x8f0d00";
5189 MY(color_max) = "0xff5a00";
5190 MY(count) = 0.500000;
5191 MY(gravity) = -0.060000;
5192 MY(sizeincrease) = 5;
5197 MY(trailspacing) = 2;
5199 MY(velocityjitter) = '10.0 10.0 10.0';
5201 // very slow and small fire
5203 MY(airfriction) = 0.300000;
5205 MY(alpha_max) = 256;
5206 MY(alpha_fade) = 200;
5207 MY(bounce) = 1.500000;
5208 MY(color_min) = "0x8f0d00";
5209 MY(color_max) = "0xff5a00";
5210 MY(count) = 0.500000;
5211 MY(gravity) = -0.060000;
5212 MY(sizeincrease) = 2;
5217 MY(trailspacing) = 4;
5219 MY(velocityjitter) = '8.0 8.0 8.0';
5223 MY(airfriction) = 0.300000;
5225 MY(alpha_max) = 256;
5226 MY(alpha_fade) = 200;
5227 MY(bounce) = 1.500000;
5228 MY(color_min) = "0x8f0d00";
5229 MY(color_max) = "0xff5a00";
5230 MY(count) = 0.500000;
5231 MY(gravity) = -0.060000;
5232 MY(sizeincrease) = -3;
5237 MY(trailspacing) = 4;
5239 MY(velocityjitter) = '3.0 3.0 3.0';
5243 MY(airfriction) = 1;
5244 MY(alpha_min) = 256;
5245 MY(alpha_max) = 256;
5246 MY(alpha_fade) = 90;
5247 MY(color_min) = "0x000000";
5248 MY(color_max) = "0x111111";
5249 MY(count) = 0.500000;
5250 MY(originjitter) = '2.0 2.0 2.0';
5251 MY(sizeincrease) = 1;
5255 MY(trailspacing) = 8;
5256 MY(type) = "alphastatic";
5257 MY(velocityoffset) = '0.0 0.0 3.0';
5261 MY(airfriction) = 1.200000;
5263 MY(alpha_max) = 256;
5264 MY(alpha_fade) = 1600;
5265 MY(bounce) = 1.500000;
5266 MY(color_min) = "0x8f0d00";
5267 MY(color_max) = "0xff5a00";
5268 MY(count) = 0.500000;
5273 MY(trailspacing) = 1;
5278 MY(lightcolor) = '2.7 2.7 0.6';
5279 MY(lightradiusfade) = 50000;
5280 MY(lightradius) = 50;
5281 MY(trailspacing) = 16;
5286 MY(airfriction) = 1.200000;
5288 MY(alpha_max) = 256;
5289 MY(alpha_fade) = 250;
5290 MY(bounce) = 1.500000;
5291 MY(color_min) = "0x8f0d00";
5292 MY(color_max) = "0xff5a00";
5293 MY(count) = 0.500000;
5294 MY(gravity) = -0.060000;
5295 MY(sizeincrease) = 20;
5300 MY(trailspacing) = 2;
5302 MY(velocityjitter) = '40.0 40.0 11.0';
5306 MY(airfriction) = 1.200000;
5308 MY(alpha_max) = 256;
5309 MY(alpha_fade) = 200;
5310 MY(bounce) = 1.500000;
5311 MY(color_min) = "0x8f0d00";
5312 MY(color_max) = "0xff5a00";
5313 MY(count) = 0.500000;
5314 MY(gravity) = -0.060000;
5315 MY(sizeincrease) = 20;
5320 MY(trailspacing) = 2;
5322 MY(velocityjitter) = '40.0 40.0 40.0';
5324 // very slow and small fire
5326 MY(airfriction) = 0.300000;
5328 MY(alpha_max) = 256;
5329 MY(alpha_fade) = 200;
5330 MY(bounce) = 1.500000;
5331 MY(color_min) = "0x8f0d00";
5332 MY(color_max) = "0xff5a00";
5333 MY(count) = 0.500000;
5334 MY(gravity) = -0.060000;
5335 MY(sizeincrease) = 10;
5340 MY(trailspacing) = 4;
5342 MY(velocityjitter) = '30.0 30.0 30.0';
5346 MY(airfriction) = 0.300000;
5348 MY(alpha_max) = 256;
5349 MY(alpha_fade) = 200;
5350 MY(bounce) = 1.500000;
5351 MY(color_min) = "0x8f0d00";
5352 MY(color_max) = "0xff5a00";
5353 MY(count) = 0.500000;
5354 MY(gravity) = -0.060000;
5355 MY(sizeincrease) = -10;
5360 MY(trailspacing) = 4;
5362 MY(velocityjitter) = '10.0 10.0 10.0';
5366 MY(airfriction) = 1;
5367 MY(alpha_min) = 256;
5368 MY(alpha_max) = 256;
5369 MY(alpha_fade) = 90;
5370 MY(color_min) = "0x000000";
5371 MY(color_max) = "0x111111";
5372 MY(count) = 0.500000;
5373 MY(originjitter) = '10.0 10.0 10.0';
5374 MY(sizeincrease) = 7;
5378 MY(trailspacing) = 8;
5379 MY(type) = "alphastatic";
5380 MY(velocityoffset) = '0.0 0.0 10.0';
5384 MY(airfriction) = 1.200000;
5386 MY(alpha_max) = 256;
5387 MY(alpha_fade) = 1600;
5388 MY(bounce) = 1.500000;
5389 MY(color_min) = "0x8f0d00";
5390 MY(color_max) = "0xff5a00";
5391 MY(count) = 0.500000;
5396 MY(trailspacing) = 1;
5401 MY(lightcolor) = '2.7 2.7 0.6';
5402 MY(lightradiusfade) = 3000;
5403 MY(lightradius) = 300;
5404 MY(trailspacing) = 16;
5407 DEF(fireball_laser);
5408 SUB(fireball_laser) {
5409 MY(alpha_min) = 192;
5410 MY(alpha_max) = 256;
5411 MY(alpha_fade) = 2560;
5412 MY(color_min) = "0x800000";
5413 MY(color_max) = "0xFF8020";
5417 MY(stretchfactor) = 0.700000;
5419 MY(velocityjitter) = '1.0 1.0 1.0';
5420 MY(velocitymultiplier) = 10;
5423 // rocket explosion (bigger than mortar and hagar)
5424 DEF(fireball_explode);
5426 SUB(fireball_explode) {
5427 MY(alpha_min) = 256;
5428 MY(alpha_max) = 256;
5429 MY(countabsolute) = 1;
5430 MY(lightcolor) = '4.0 2.0 0.5';
5431 MY(lightradiusfade) = 500;
5432 MY(lightradius) = 500;
5433 MY(originjitter) = '56.0 56.0 56.0';
5441 SUB(fireball_explode) {
5442 MY(alpha_min) = 192;
5443 MY(alpha_max) = 192;
5444 MY(alpha_fade) = 64;
5445 MY(color_min) = "0x404040";
5446 MY(color_max) = "0x404040";
5447 MY(countabsolute) = 1;
5452 MY(type) = "static";
5455 SUB(fireball_explode) {
5456 MY(airfriction) = 4;
5457 MY(alpha_min) = 128;
5458 MY(alpha_max) = 128;
5459 MY(alpha_fade) = 256;
5460 MY(bounce) = 1.500000;
5461 MY(color_min) = "0x902010";
5462 MY(color_max) = "0xFFD080";
5464 MY(liquidfriction) = 4;
5465 MY(notunderwater) = true;
5466 MY(originjitter) = '8.0 8.0 8.0';
5471 MY(type) = "static";
5472 MY(velocityjitter) = '512.0 512.0 512.0';
5474 // underwater bubbles
5475 SUB(fireball_explode) {
5476 MY(alpha_min) = 128;
5477 MY(alpha_max) = 256;
5478 MY(alpha_fade) = 64;
5479 MY(bounce) = 1.500000;
5480 MY(color_min) = "0x404040";
5481 MY(color_max) = "0x808080";
5483 MY(gravity) = -0.125000;
5484 MY(liquidfriction) = 0.250000;
5485 MY(originjitter) = '16.0 16.0 16.0';
5490 MY(type) = "bubble";
5491 MY(underwater) = true;
5492 MY(velocityjitter) = '144.0 144.0 144.0';
5495 SUB(fireball_explode) {
5496 MY(airfriction) = 0.200000;
5497 MY(alpha_min) = 256;
5498 MY(alpha_max) = 256;
5499 MY(alpha_fade) = 384;
5500 MY(bounce) = 1.500000;
5501 MY(color_min) = "0x903010";
5502 MY(color_max) = "0xFFD030";
5505 MY(liquidfriction) = 0.800000;
5506 MY(notunderwater) = true;
5510 MY(velocityjitter) = '384.0 384.0 384.0';
5511 MY(velocityoffset) = '0.0 0.0 80.0';
5514 DEF(fireball_muzzleflash);
5515 SUB(fireball_muzzleflash) {
5516 MY(alpha_min) = 256;
5517 MY(alpha_max) = 256;
5518 MY(alpha_fade) = 512;
5519 MY(color_min) = "0x202020";
5520 MY(color_max) = "0x404040";
5522 MY(lightcolor) = '2.0 1.5 0.2';
5523 MY(lightradiusfade) = 2000;
5524 MY(lightradius) = 200;
5525 MY(originjitter) = '1.5 1.5 1.5';
5530 MY(velocityjitter) = '6.0 6.0 6.0';
5531 MY(velocitymultiplier) = 0.010000;
5533 SUB(fireball_muzzleflash) {
5534 MY(airfriction) = 12;
5535 MY(alpha_max) = 128;
5536 MY(alpha_fade) = 1024;
5537 MY(color_min) = "0xFFFDD9";
5538 MY(color_max) = "0xFFFDD9";
5540 MY(originjitter) = '1.0 1.0 1.0';
5546 MY(velocityjitter) = '300.0 300.0 300.0';
5547 MY(velocitymultiplier) = 0.500000;
5550 DEF(fireball_preattack_muzzleflash);
5551 SUB(fireball_preattack_muzzleflash) {
5552 MY(alpha_min) = 256;
5553 MY(alpha_max) = 256;
5554 MY(alpha_fade) = 512;
5555 MY(color_min) = "0x202020";
5556 MY(color_max) = "0x404040";
5558 MY(lightcolor) = '2.0 1.5 0.2';
5559 MY(lightradiusfade) = 2000;
5560 MY(lightradius) = 200;
5561 MY(originjitter) = '1.5 1.5 1.5';
5566 MY(velocityjitter) = '6.0 6.0 6.0';
5567 MY(velocitymultiplier) = 0.010000;
5569 SUB(fireball_preattack_muzzleflash) {
5570 MY(airfriction) = 12;
5571 MY(alpha_max) = 128;
5572 MY(alpha_fade) = 1024;
5573 MY(color_min) = "0xFFFDD9";
5574 MY(color_max) = "0xFFFDD9";
5576 MY(originjitter) = '1.0 1.0 1.0';
5582 MY(velocityjitter) = '300.0 300.0 300.0';
5583 MY(velocitymultiplier) = 0.500000;
5586 DEF(fireball_bfgdamage);
5587 SUB(fireball_bfgdamage) {
5588 MY(alpha_min) = 256;
5589 MY(alpha_max) = 256;
5590 MY(alpha_fade) = 512;
5591 MY(color_min) = "0x202020";
5592 MY(color_max) = "0x404040";
5594 MY(lightcolor) = '2.0 1.5 0.2';
5595 MY(lightradiusfade) = 2000;
5596 MY(lightradius) = 200;
5597 MY(originjitter) = '1.5 1.5 1.5';
5602 MY(velocityjitter) = '6.0 6.0 6.0';
5603 MY(velocitymultiplier) = 0.010000;
5605 SUB(fireball_bfgdamage) {
5606 MY(airfriction) = 12;
5607 MY(alpha_max) = 128;
5608 MY(alpha_fade) = 1024;
5609 MY(color_min) = "0xFFFDD9";
5610 MY(color_max) = "0xFFFDD9";
5612 MY(originjitter) = '1.0 1.0 1.0';
5618 MY(velocityjitter) = '300.0 300.0 300.0';
5619 MY(velocitymultiplier) = 0.500000;
5625 MY(alpha_min) = 200;
5626 MY(alpha_max) = 356;
5627 MY(alpha_fade) = 512;
5629 MY(color_min) = "0x8f0d00";
5630 MY(color_max) = "0xff5a00";
5632 MY(gravity) = -0.500000;
5633 MY(originjitter) = '12.0 12.0 34.0';
5634 MY(originoffset) = '0.0 0.0 10.0';
5635 MY(sizeincrease) = -1;
5641 MY(velocityjitter) = '22.0 22.0 50.0';
5645 MY(alpha_min) = 200;
5646 MY(alpha_max) = 256;
5647 MY(alpha_fade) = 200;
5649 MY(color_min) = "0x000000";
5650 MY(color_max) = "0x111111";
5652 MY(gravity) = -0.300000;
5653 MY(originjitter) = '12.0 12.0 34.0';
5654 MY(originoffset) = '0.0 0.0 10.0';
5655 MY(sizeincrease) = 6;
5659 MY(type) = "alphastatic";
5660 MY(velocityjitter) = '11.0 11.0 50.0';
5663 MY(count) = 0.500000;
5664 MY(lightcolor) = '0.9 0.9 0.2';
5665 MY(lightradiusfade) = 10000;
5666 MY(lightradius) = 200;
5669 // rifle bullet trail (somewhat like a tracer)
5672 MY(alpha_min) = 256;
5673 MY(alpha_max) = 256;
5674 MY(alpha_fade) = 2560;
5675 MY(color_min) = "0x800000";
5676 MY(color_max) = "0xFF8020";
5677 MY(size_min) = 1.500000;
5678 MY(size_max) = 1.500000;
5679 MY(stretchfactor) = 1;
5680 MY(trailspacing) = 128;
5682 MY(velocitymultiplier) = 0.700000;
5685 MY(airfriction) = -4;
5686 MY(alpha_min) = 256;
5687 MY(alpha_max) = 256;
5688 MY(alpha_fade) = 256;
5689 MY(color_min) = "0x202020";
5690 MY(color_max) = "0x404040";
5691 MY(notunderwater) = true;
5692 MY(sizeincrease) = 0.400000;
5696 MY(trailspacing) = 8;
5698 MY(velocityjitter) = '4.0 4.0 4.0';
5701 MY(alpha_min) = 256;
5702 MY(alpha_max) = 256;
5703 MY(alpha_fade) = 128;
5704 MY(bounce) = 1.500000;
5705 MY(color_min) = "0x404040";
5706 MY(color_max) = "0x808080";
5707 MY(gravity) = -0.125000;
5708 MY(liquidfriction) = 4;
5713 MY(trailspacing) = 32;
5714 MY(type) = "bubble";
5715 MY(underwater) = true;
5716 MY(velocityjitter) = '16.0 16.0 16.0';
5719 // rocket guiding start
5721 // underwater bubbles
5723 MY(alpha_min) = 128;
5724 MY(alpha_max) = 256;
5725 MY(alpha_fade) = 64;
5726 MY(bounce) = 1.500000;
5727 MY(color_min) = "0x404040";
5728 MY(color_max) = "0x808080";
5730 MY(gravity) = -0.125000;
5731 MY(liquidfriction) = 0.250000;
5732 MY(originjitter) = '8.0 8.0 8.0';
5733 MY(size_min) = 1.500000;
5734 MY(size_max) = 1.500000;
5737 MY(type) = "bubble";
5738 MY(underwater) = true;
5739 MY(velocityjitter) = '48.0 48.0 48.0';
5740 MY(velocitymultiplier) = -0.100000;
5744 MY(airfriction) = 0.200000;
5745 MY(alpha_min) = 256;
5746 MY(alpha_max) = 256;
5747 MY(alpha_fade) = 984;
5748 MY(bounce) = 1.500000;
5749 MY(color_min) = "0x903010";
5750 MY(color_max) = "0xFFD030";
5753 MY(liquidfriction) = 0.800000;
5754 MY(notunderwater) = true;
5755 MY(size_min) = 0.300000;
5756 MY(size_max) = 0.700000;
5757 MY(stretchfactor) = 0.400000;
5761 MY(velocityjitter) = '156.0 156.0 156.0';
5762 MY(velocitymultiplier) = -0.300000;
5763 MY(velocityoffset) = '0.0 0.0 80.0';
5766 MY(alpha_min) = 100;
5767 MY(alpha_max) = 100;
5768 MY(alpha_fade) = 500;
5769 MY(color_min) = "0x903010";
5770 MY(color_max) = "0xFFD030";
5771 MY(countabsolute) = 1;
5772 MY(sizeincrease) = 300;
5781 DEF(laser_gauntlet);
5782 SUB(laser_gauntlet) {
5783 MY(airfriction) = 10;
5784 MY(alpha_min) = 128;
5785 MY(alpha_max) = 512;
5786 MY(alpha_fade) = 6280;
5787 MY(color_min) = "0xb44215";
5788 MY(color_max) = "0x880000";
5790 MY(originjitter) = '2.0 2.0 2.0';
5791 MY(startangle_min) = -180;
5792 MY(startangle_max) = 180;
5793 MY(spin_min) = 4000;
5794 MY(spin_max) = -4000;
5795 MY(sizeincrease) = -100;
5798 MY(stretchfactor) = 2.300000;
5802 MY(velocityjitter) = '150.0 150.0 150.0';
5803 MY(velocitymultiplier) = 0.200000;
5805 SUB(laser_gauntlet) {
5806 MY(airfriction) = 12;
5807 MY(alpha_min) = 256;
5808 MY(alpha_max) = 512;
5809 MY(alpha_fade) = 6280;
5810 MY(color_min) = "0xff4200";
5811 MY(color_max) = "0xff0000";
5813 MY(originjitter) = '2.0 2.0 2.0';
5814 MY(sizeincrease) = -100;
5817 MY(stretchfactor) = 2;
5821 MY(velocityjitter) = '100.0 100.0 100.0';
5822 MY(velocitymultiplier) = 0.200000;
5825 DEF(laser_gauntletmuzzleflash);
5827 SUB(laser_gauntletmuzzleflash) {
5828 MY(airfriction) = 10;
5829 MY(alpha_min) = 256;
5830 MY(alpha_max) = 512;
5831 MY(alpha_fade) = 6280;
5832 MY(color_min) = "0x220000";
5833 MY(color_max) = "0x880000";
5834 MY(countabsolute) = 1;
5835 MY(lightcolor) = '3.0 0.1 0.1';
5836 MY(lightradiusfade) = 500;
5837 MY(lightradius) = 150;
5838 MY(sizeincrease) = -100;
5841 MY(stretchfactor) = 2;
5847 SUB(laser_gauntletmuzzleflash) {
5848 MY(airfriction) = 10;
5849 MY(alpha_min) = 128;
5850 MY(alpha_max) = 512;
5851 MY(alpha_fade) = 6280;
5852 MY(color_min) = "0xb44215";
5853 MY(color_max) = "0x880000";
5855 MY(originjitter) = '2.0 2.0 2.0';
5856 MY(startangle_min) = -180;
5857 MY(startangle_max) = 180;
5858 MY(spin_min) = 4000;
5859 MY(spin_max) = -4000;
5860 MY(sizeincrease) = -100;
5863 MY(stretchfactor) = 2.300000;
5867 MY(velocityjitter) = '150.0 150.0 150.0';
5868 MY(velocitymultiplier) = 0.200000;
5871 SUB(laser_gauntletmuzzleflash) {
5872 MY(airfriction) = 12;
5873 MY(alpha_min) = 256;
5874 MY(alpha_max) = 512;
5875 MY(alpha_fade) = 6280;
5876 MY(color_min) = "0xff4200";
5877 MY(color_max) = "0xff0000";
5879 MY(originjitter) = '2.0 2.0 2.0';
5880 MY(sizeincrease) = -100;
5883 MY(stretchfactor) = 2;
5887 MY(velocityjitter) = '100.0 100.0 100.0';
5888 MY(velocitymultiplier) = 0.200000;
5891 // torch flame, spawn it as fast as you can 20 times per second or more, supports direction but not required
5895 MY(airfriction) = 1.200000;
5897 MY(alpha_max) = 256;
5898 MY(alpha_fade) = 250;
5899 MY(color_min) = "0x8f0d00";
5900 MY(color_max) = "0xff5a00";
5902 MY(gravity) = -0.060000;
5903 MY(sizeincrease) = 20;
5909 MY(velocityjitter) = '40.0 40.0 11.0';
5910 MY(velocitymultiplier) = 30;
5914 MY(airfriction) = 1.200000;
5916 MY(alpha_max) = 256;
5917 MY(alpha_fade) = 200;
5918 MY(color_min) = "0x8f0d00";
5919 MY(color_max) = "0xff5a00";
5920 MY(count) = 2.500000;
5921 MY(gravity) = -0.060000;
5922 MY(sizeincrease) = 20;
5928 MY(velocityjitter) = '40.0 40.0 40.0';
5929 MY(velocitymultiplier) = 20;
5931 // very slow and small fire
5933 MY(airfriction) = 0.300000;
5935 MY(alpha_max) = 256;
5936 MY(alpha_fade) = 200;
5937 MY(color_min) = "0x8f0d00";
5938 MY(color_max) = "0xff5a00";
5939 MY(count) = 1.500000;
5940 MY(gravity) = -0.060000;
5941 MY(sizeincrease) = 10;
5947 MY(velocityjitter) = '30.0 30.0 30.0';
5948 MY(velocitymultiplier) = 10;
5952 MY(airfriction) = 0.300000;
5954 MY(alpha_max) = 256;
5955 MY(alpha_fade) = 200;
5956 MY(color_min) = "0x8f0d00";
5957 MY(color_max) = "0xff5a00";
5959 MY(gravity) = -0.060000;
5960 MY(sizeincrease) = -10;
5966 MY(velocityjitter) = '10.0 10.0 10.0';
5967 MY(velocitymultiplier) = 15;
5971 MY(airfriction) = 1;
5972 MY(alpha_min) = 256;
5973 MY(alpha_max) = 256;
5974 MY(alpha_fade) = 90;
5975 MY(color_min) = "0x000000";
5976 MY(color_max) = "0x111111";
5977 MY(count) = 0.500000;
5978 MY(originjitter) = '10.0 10.0 10.0';
5979 MY(sizeincrease) = 7;
5983 MY(type) = "alphastatic";
5984 MY(velocitymultiplier) = 20;
5985 MY(velocityoffset) = '0.0 0.0 10.0';
5988 #include "effectinfo_gentle_happy.inc"
5990 DEF(electro_lightning);
5991 SUB(electro_lightning) {
5992 MY(alpha_min) = 256;
5993 MY(alpha_max) = 256;
5994 MY(countabsolute) = 1;
5995 MY(lightcolor) = '3.1 4.4 10.0';
5996 MY(lightradiusfade) = 500;
5997 MY(lightradius) = 50;
5998 MY(originjitter) = '2.0 2.0 2.0';
6005 SUB(electro_lightning) {
6006 MY(alpha_min) = 100;
6007 MY(alpha_max) = 206;
6008 MY(alpha_fade) = 1724;
6009 MY(color_min) = "0x2030FF";
6010 MY(color_max) = "0x80C0FF";
6012 MY(originjitter) = '1.5 1.5 1.5';
6013 MY(sizeincrease) = 10;
6019 MY(velocityjitter) = '6.0 6.0 6.0';
6020 MY(velocitymultiplier) = 2000;
6022 SUB(electro_lightning) {
6023 MY(airfriction) = 2;
6024 MY(alpha_min) = 110;
6025 MY(alpha_max) = 170;
6026 MY(alpha_fade) = 1500;
6027 MY(color_min) = "0xDDFDFF";
6028 MY(color_max) = "0xFDFDFF";
6030 MY(originjitter) = '1.0 1.0 1.0';
6033 MY(stretchfactor) = 1.500000;
6037 MY(velocityjitter) = '150.0 150.0 150.0';
6038 MY(velocitymultiplier) = 0.500000;
6040 SUB(electro_lightning) {
6041 MY(airfriction) = 8;
6042 MY(alpha_min) = 110;
6043 MY(alpha_max) = 170;
6044 MY(alpha_fade) = 1500;
6045 MY(color_min) = "0xFDFDFF";
6046 MY(color_max) = "0xF9FDFF";
6048 MY(gravity) = 1.300000;
6049 MY(originjitter) = '1.0 1.0 1.0';
6052 MY(stretchfactor) = 0.100000;
6056 MY(velocityjitter) = '350.0 350.0 350.0';
6057 MY(velocitymultiplier) = 2.500000;
6060 DEF(gauntlet_lightning);
6061 SUB(gauntlet_lightning) {
6062 MY(alpha_min) = 256;
6063 MY(alpha_max) = 256;
6064 MY(alpha_fade) = 1024;
6065 MY(color_min) = "0x280000";
6066 MY(color_max) = "0x280000";
6068 MY(originjitter) = '1.5 1.5 1.5';
6069 MY(sizeincrease) = 15;
6075 MY(velocityjitter) = '6.0 6.0 6.0';
6076 MY(velocitymultiplier) = 2000;
6078 SUB(gauntlet_lightning) {
6079 MY(airfriction) = 2;
6080 MY(alpha_min) = 110;
6081 MY(alpha_max) = 228;
6082 MY(alpha_fade) = 1024;
6083 MY(color_min) = "0xDD0000";
6084 MY(color_max) = "0xFD0000";
6086 MY(originjitter) = '1.0 1.0 1.0';
6089 MY(stretchfactor) = 1.500000;
6093 MY(velocityjitter) = '150.0 150.0 150.0';
6094 MY(velocitymultiplier) = 0.500000;
6096 SUB(gauntlet_lightning) {
6097 MY(airfriction) = 8;
6098 MY(alpha_min) = 110;
6099 MY(alpha_max) = 228;
6100 MY(alpha_fade) = 600;
6101 MY(color_min) = "0xFD0000";
6102 MY(color_max) = "0xF90000";
6104 MY(gravity) = 1.300000;
6105 MY(originjitter) = '1.0 1.0 1.0';
6108 MY(stretchfactor) = 0.100000;
6112 MY(velocityjitter) = '350.0 350.0 350.0';
6113 MY(velocitymultiplier) = 2.500000;
6116 DEF(crylink_joinexplode);
6118 SUB(crylink_joinexplode) {
6119 MY(alpha_min) = 256;
6120 MY(alpha_max) = 256;
6121 MY(countabsolute) = 1;
6122 MY(originjitter) = '12.0 12.0 12.0';
6129 // purple flare effect
6130 SUB(crylink_joinexplode) {
6131 MY(alpha_min) = 256;
6132 MY(alpha_max) = 256;
6133 MY(alpha_fade) = 512;
6134 MY(color_min) = "0x504060";
6135 MY(color_max) = "0x504060";
6136 MY(countabsolute) = 1;
6141 MY(type) = "static";
6144 SUB(crylink_joinexplode) {
6145 MY(alpha_min) = 256;
6146 MY(alpha_max) = 256;
6147 MY(alpha_fade) = 1024;
6149 MY(color_min) = "0xA040C0";
6150 MY(color_max) = "0xA040C0";
6157 MY(velocityjitter) = '512.0 512.0 512.0';
6160 SUB(crylink_joinexplode) {
6161 MY(alpha_min) = 256;
6162 MY(alpha_max) = 256;
6163 MY(alpha_fade) = 512;
6164 MY(color_min) = "0xE070FF";
6165 MY(color_max) = "0xE070FF";
6166 MY(count) = 1.500000;
6169 MY(type) = "static";
6170 MY(velocityjitter) = '32.0 32.0 32.0';
6173 SUB(crylink_joinexplode) {
6174 MY(alpha_min) = 256;
6175 MY(alpha_max) = 256;
6176 MY(alpha_fade) = 1024;
6177 MY(color_min) = "0xE070FF";
6178 MY(color_max) = "0xE070FF";
6182 MY(type) = "static";
6183 MY(velocityjitter) = '256.0 256.0 256.0';
6186 // sparks for keepaway ball touch
6188 SUB(kaball_sparks) {
6189 MY(airfriction) = 3;
6190 MY(alpha_max) = 256;
6191 MY(alpha_fade) = 556;
6192 MY(bounce) = 1.500000;
6193 MY(color_min) = "0xa9cacf";
6194 MY(color_max) = "0x0054ff";
6197 MY(originjitter) = '1.0 1.0 1.0';
6203 MY(velocityjitter) = '300.0 300.0 300.0';
6204 MY(velocitymultiplier) = 0.500000;
6207 // weak rifle bullet trail (somewhat like a tracer)
6209 SUB(tr_rifle_weak) {
6210 MY(alpha_min) = 256;
6211 MY(alpha_max) = 256;
6212 MY(alpha_fade) = 2560;
6213 MY(color_min) = "0x800000";
6214 MY(color_max) = "0xFF8020";
6215 MY(size_min) = 1.500000;
6216 MY(size_max) = 1.500000;
6217 MY(stretchfactor) = 1;
6218 MY(trailspacing) = 128;
6220 MY(velocitymultiplier) = 0.700000;
6222 SUB(tr_rifle_weak) {
6223 MY(airfriction) = -4;
6224 MY(alpha_min) = 256;
6225 MY(alpha_max) = 256;
6226 MY(alpha_fade) = 256;
6227 MY(color_min) = "0x202020";
6228 MY(color_max) = "0x404040";
6229 MY(notunderwater) = true;
6230 MY(sizeincrease) = 0.400000;
6234 MY(trailspacing) = 48;
6236 MY(velocityjitter) = '4.0 4.0 4.0';
6238 SUB(tr_rifle_weak) {
6239 MY(alpha_min) = 256;
6240 MY(alpha_max) = 256;
6241 MY(alpha_fade) = 128;
6242 MY(bounce) = 1.500000;
6243 MY(color_min) = "0x404040";
6244 MY(color_max) = "0x808080";
6245 MY(gravity) = -0.125000;
6246 MY(liquidfriction) = 4;
6251 MY(trailspacing) = 192;
6252 MY(type) = "bubble";
6253 MY(underwater) = true;
6254 MY(velocityjitter) = '16.0 16.0 16.0';
6260 MY(airfriction) = -1;
6263 MY(alpha_fade) = 32;
6264 MY(color_min) = "0xff8866";
6265 MY(color_max) = "0x331100";
6267 MY(gravity) = -0.007000;
6268 MY(startangle_max) = 360;
6275 MY(velocitymultiplier) = 5;
6278 // pipe smoke emiter
6281 MY(airfriction) = -1;
6284 MY(alpha_fade) = 48;
6285 MY(color_min) = "0x999999";
6286 MY(color_max) = "0x555555";
6288 MY(gravity) = -0.015000;
6289 MY(startangle_max) = 360;
6290 MY(spin_min) = -180;
6292 MY(sizeincrease) = 35;
6297 MY(velocityjitter) = '0.0 0.0 5.0';
6298 MY(velocitymultiplier) = 15;
6301 // seeker missile trail
6304 MY(alpha_min) = 200;
6305 MY(alpha_max) = 300;
6306 MY(alpha_fade) = 200;
6308 MY(color_min) = "0x000000";
6309 MY(color_max) = "0x666666";
6310 MY(lightcolor) = '6.0 3.0 1.0';
6311 MY(lightradius) = 100;
6312 MY(notunderwater) = true;
6313 MY(originjitter) = '2.0 2.0 2.0';
6314 MY(startangle_min) = -180;
6315 MY(startangle_max) = 180;
6318 MY(sizeincrease) = 11;
6322 MY(trailspacing) = 10;
6324 MY(velocityjitter) = '3.0 3.0 3.0';
6325 MY(velocitymultiplier) = -0.020000;
6329 MY(airfriction) = 8;
6330 MY(alpha_min) = 100;
6331 MY(alpha_max) = 144;
6332 MY(alpha_fade) = 588;
6333 MY(color_min) = "0xffdf72";
6334 MY(color_max) = "0x811200";
6335 MY(sizeincrease) = -30;
6340 MY(trailspacing) = 4;
6341 MY(type) = "static";
6342 MY(velocityjitter) = '32.0 32.0 32.0';
6343 MY(velocitymultiplier) = -1.500000;
6347 MY(alpha_min) = 256;
6348 MY(alpha_max) = 256;
6349 MY(alpha_fade) = 256;
6350 MY(bounce) = 1.500000;
6351 MY(gravity) = -0.125000;
6352 MY(liquidfriction) = 4;
6357 MY(trailspacing) = 16;
6358 MY(type) = "bubble";
6359 MY(underwater) = true;
6360 MY(velocityjitter) = '16.0 16.0 16.0';
6361 MY(velocitymultiplier) = -0.310000;
6365 MY(airfriction) = 5;
6366 MY(alpha_min) = 444;
6367 MY(alpha_max) = 512;
6368 MY(alpha_fade) = 1866;
6370 MY(color_min) = "0xFFFDD9";
6371 MY(color_max) = "0xFFFDD9";
6372 MY(notunderwater) = true;
6373 MY(originjitter) = '1.0 1.0 1.0';
6374 MY(size_min) = 0.500000;
6375 MY(size_max) = 0.500000;
6376 MY(stretchfactor) = 0.300000;
6379 MY(trailspacing) = 20;
6381 MY(velocityjitter) = '100.0 100.0 100.0';
6382 MY(velocitymultiplier) = -0.310000;
6385 #include "effectinfo_vehicles.inc"
6387 // generic explosion size:big (biggest explosion ever)
6390 SUB(explosion_big) {
6391 MY(alpha_min) = 256;
6392 MY(alpha_max) = 256;
6393 MY(countabsolute) = 1;
6394 MY(lightcolor) = '8.0 4.0 0.0';
6395 MY(lightradiusfade) = 1750;
6396 MY(lightradius) = 600;
6397 MY(originjitter) = '23.0 23.0 23.0';
6405 SUB(explosion_big) {
6408 MY(alpha_fade) = 330;
6409 MY(color_min) = "0x8f0d00";
6410 MY(color_max) = "0xff5a00";
6411 MY(countabsolute) = 1;
6412 MY(sizeincrease) = 4400;
6417 MY(type) = "static";
6420 SUB(explosion_big) {
6421 MY(airfriction) = 8;
6422 MY(alpha_min) = 200;
6423 MY(alpha_max) = 256;
6424 MY(alpha_fade) = 712;
6425 MY(color_min) = "0x8f0d00";
6426 MY(color_max) = "0xff5a00";
6428 MY(liquidfriction) = 8;
6429 MY(notunderwater) = true;
6430 MY(originjitter) = '80.0 80.0 80.0';
6431 MY(sizeincrease) = 45;
6436 MY(type) = "static";
6437 MY(velocityjitter) = '2512.0 2512.0 2512.0';
6440 SUB(explosion_big) {
6441 MY(airfriction) = -5;
6442 MY(alpha_min) = 200;
6443 MY(alpha_max) = 256;
6444 MY(alpha_fade) = 800;
6445 MY(color_min) = "0x8f0d00";
6446 MY(color_max) = "0xff5a00";
6448 MY(liquidfriction) = 8;
6449 MY(notunderwater) = true;
6450 MY(originjitter) = '40.0 40.0 40.0';
6451 MY(sizeincrease) = 45;
6454 MY(stretchfactor) = 10;
6458 MY(velocityjitter) = '512.0 512.0 512.0';
6461 SUB(explosion_big) {
6462 MY(airfriction) = 8;
6463 MY(alpha_min) = 300;
6464 MY(alpha_max) = 650;
6465 MY(alpha_fade) = 456;
6466 MY(color_min) = "0x4F4B46";
6467 MY(color_max) = "0x000000";
6469 MY(notunderwater) = true;
6470 MY(sizeincrease) = 244;
6474 MY(type) = "alphastatic";
6475 MY(velocityjitter) = '3444.0 3444.0 3444.0';
6478 SUB(explosion_big) {
6479 MY(airfriction) = 1;
6480 MY(alpha_min) = 644;
6481 MY(alpha_max) = 956;
6482 MY(alpha_fade) = 1284;
6483 MY(color_min) = "0xffa35b";
6484 MY(color_max) = "0xfff2be";
6487 MY(liquidfriction) = 0.800000;
6488 MY(notunderwater) = true;
6489 MY(originjitter) = '160.0 160.0 160.0';
6492 MY(stretchfactor) = 0.700000;
6496 MY(velocityjitter) = '924.0 924.0 924.0';
6497 MY(velocityoffset) = '0.0 0.0 370.0';
6500 SUB(explosion_big) {
6501 MY(airfriction) = 0.500000;
6502 MY(alpha_min) = 444;
6503 MY(alpha_max) = 1356;
6504 MY(alpha_fade) = 1184;
6505 MY(color_min) = "0xFFFFFF";
6506 MY(color_max) = "0xcac5b4";
6508 MY(gravity) = 2.300000;
6509 MY(notunderwater) = true;
6510 MY(startangle_min) = -180;
6511 MY(startangle_max) = 180;
6512 MY(spin_min) = -1000;
6513 MY(spin_max) = 1000;
6514 MY(sizeincrease) = -5;
6519 MY(type) = "alphastatic";
6520 MY(velocityjitter) = '1800.0 1800.0 1800.0';
6521 MY(velocityoffset) = '0.0 0.0 970.0';
6523 // underwater bubbles
6524 SUB(explosion_big) {
6525 MY(alpha_min) = 128;
6526 MY(alpha_max) = 256;
6527 MY(alpha_fade) = 64;
6528 MY(bounce) = 1.500000;
6529 MY(color_min) = "0x404040";
6530 MY(color_max) = "0x808080";
6532 MY(gravity) = -0.125000;
6533 MY(liquidfriction) = 0.250000;
6534 MY(originjitter) = '160.0 160.0 160.0';
6539 MY(type) = "bubble";
6540 MY(underwater) = true;
6541 MY(velocityjitter) = '444.0 444.0 444.0';
6543 // underwatershockwave
6544 SUB(explosion_big) {
6547 MY(alpha_fade) = 300;
6548 MY(countabsolute) = 1;
6549 MY(sizeincrease) = 2900;
6555 MY(underwater) = true;
6556 MY(velocitymultiplier) = 0.300000;
6559 // generic explosion size:medium (it leaves rising smoke for a longer time)
6560 DEF(explosion_medium);
6562 SUB(explosion_medium) {
6565 MY(alpha_fade) = 330;
6566 MY(color_min) = "0x8f0d00";
6567 MY(color_max) = "0xff5a00";
6568 MY(countabsolute) = 1;
6569 MY(sizeincrease) = 2400;
6574 MY(type) = "static";
6577 SUB(explosion_medium) {
6578 MY(airfriction) = 8;
6579 MY(alpha_min) = 200;
6580 MY(alpha_max) = 256;
6581 MY(alpha_fade) = 712;
6582 MY(color_min) = "0x8f0d00";
6583 MY(color_max) = "0xff5a00";
6585 MY(liquidfriction) = 8;
6586 MY(notunderwater) = true;
6587 MY(originjitter) = '30.0 30.0 30.0';
6588 MY(startangle_min) = -180;
6589 MY(startangle_max) = 180;
6590 MY(spin_min) = -500;
6592 MY(sizeincrease) = 45;
6597 MY(type) = "static";
6598 MY(velocityjitter) = '1512.0 1512.0 1512.0';
6601 SUB(explosion_medium) {
6602 MY(airfriction) = 8;
6603 MY(alpha_min) = 200;
6604 MY(alpha_max) = 256;
6605 MY(alpha_fade) = 612;
6606 MY(color_min) = "0x8f0d00";
6607 MY(color_max) = "0xff5a00";
6610 MY(liquidfriction) = 8;
6611 MY(notunderwater) = true;
6612 MY(originjitter) = '30.0 30.0 30.0';
6613 MY(startangle_min) = -180;
6614 MY(startangle_max) = 180;
6615 MY(spin_min) = -150;
6617 MY(sizeincrease) = 40;
6622 MY(type) = "static";
6623 MY(velocityjitter) = '1512.0 1512.0 1512.0';
6626 SUB(explosion_medium) {
6627 MY(airfriction) = -3;
6628 MY(alpha_min) = 200;
6629 MY(alpha_max) = 256;
6630 MY(alpha_fade) = 800;
6631 MY(color_min) = "0x8f0d00";
6632 MY(color_max) = "0xff5a00";
6634 MY(liquidfriction) = 8;
6635 MY(notunderwater) = true;
6636 MY(originjitter) = '40.0 40.0 40.0';
6637 MY(sizeincrease) = 40;
6640 MY(stretchfactor) = 8;
6644 MY(velocityjitter) = '512.0 512.0 512.0';
6647 SUB(explosion_medium) {
6648 MY(airfriction) = 3;
6649 MY(alpha_min) = 300;
6650 MY(alpha_max) = 650;
6651 MY(alpha_fade) = 756;
6652 MY(color_min) = "0x4F4B46";
6653 MY(color_max) = "0x000000";
6655 MY(notunderwater) = true;
6656 MY(originjitter) = '100.0 100.0 100.0';
6657 MY(startangle_min) = -180;
6658 MY(startangle_max) = 180;
6661 MY(sizeincrease) = -30;
6665 MY(type) = "alphastatic";
6666 MY(velocityjitter) = '200.0 200.0 200.0';
6669 SUB(explosion_medium) {
6670 MY(airfriction) = 3;
6671 MY(alpha_min) = 300;
6672 MY(alpha_max) = 650;
6673 MY(alpha_fade) = 256;
6674 MY(color_min) = "0x4F4B46";
6675 MY(color_max) = "0x000000";
6677 MY(gravity) = -0.300000;
6678 MY(notunderwater) = true;
6679 MY(originjitter) = '100.0 100.0 100.0';
6680 MY(startangle_min) = -180;
6681 MY(startangle_max) = 180;
6684 MY(sizeincrease) = 50;
6688 MY(type) = "alphastatic";
6689 MY(velocityjitter) = '500.0 500.0 500.0';
6690 MY(velocityoffset) = '0.0 0.0 200.0';
6693 SUB(explosion_medium) {
6694 MY(alpha_min) = 140;
6695 MY(alpha_max) = 255;
6696 MY(alpha_fade) = 350;
6697 MY(color_min) = "0x4F4B46";
6698 MY(color_max) = "0x000000";
6700 MY(notunderwater) = true;
6701 MY(originjitter) = '40.0 40.0 40.0';
6702 MY(sizeincrease) = 100;
6705 MY(stretchfactor) = 50;
6708 MY(velocityjitter) = '250.0 250.0 250.0';
6711 SUB(explosion_medium) {
6712 MY(airfriction) = 1;
6713 MY(alpha_min) = 644;
6714 MY(alpha_max) = 956;
6715 MY(alpha_fade) = 984;
6716 MY(color_min) = "0xffa35b";
6717 MY(color_max) = "0xfff2be";
6720 MY(liquidfriction) = 0.800000;
6721 MY(notunderwater) = true;
6722 MY(originjitter) = '100.0 100.0 100.0';
6725 MY(stretchfactor) = 0.700000;
6729 MY(velocityjitter) = '624.0 624.0 624.0';
6730 MY(velocityoffset) = '0.0 0.0 370.0';
6732 // underwater bubbles
6733 SUB(explosion_medium) {
6734 MY(alpha_min) = 128;
6735 MY(alpha_max) = 256;
6736 MY(alpha_fade) = 64;
6737 MY(bounce) = 1.500000;
6738 MY(color_min) = "0x404040";
6739 MY(color_max) = "0x808080";
6741 MY(gravity) = -0.125000;
6742 MY(liquidfriction) = 0.250000;
6743 MY(originjitter) = '160.0 160.0 160.0';
6748 MY(type) = "bubble";
6749 MY(underwater) = true;
6750 MY(velocityjitter) = '444.0 444.0 444.0';
6752 // underwatershockwave
6753 SUB(explosion_medium) {
6756 MY(alpha_fade) = 300;
6757 MY(countabsolute) = 1;
6758 MY(sizeincrease) = 2900;
6764 MY(underwater) = true;
6765 MY(velocitymultiplier) = 0.300000;
6768 // generic explosion size:small (its fire only, made to support other explosions)
6769 DEF(explosion_small);
6771 SUB(explosion_small) {
6774 MY(alpha_fade) = 330;
6775 MY(color_min) = "0x8f0d00";
6776 MY(color_max) = "0xff5a00";
6777 MY(countabsolute) = 1;
6778 MY(sizeincrease) = 2400;
6783 MY(type) = "static";
6786 SUB(explosion_small) {
6787 MY(airfriction) = 5;
6788 MY(alpha_min) = 200;
6789 MY(alpha_max) = 256;
6790 MY(alpha_fade) = 1212;
6791 MY(color_min) = "0x8f0d00";
6792 MY(color_max) = "0xff5a00";
6794 MY(liquidfriction) = 8;
6795 MY(notunderwater) = true;
6796 MY(startangle_min) = -180;
6797 MY(startangle_max) = 180;
6798 MY(spin_min) = -500;
6800 MY(sizeincrease) = 45;
6805 MY(type) = "static";
6806 MY(velocityjitter) = '512.0 512.0 512.0';
6809 SUB(explosion_small) {
6810 MY(airfriction) = 8;
6811 MY(alpha_min) = 200;
6812 MY(alpha_max) = 256;
6813 MY(alpha_fade) = 812;
6814 MY(color_min) = "0x8f0d00";
6815 MY(color_max) = "0xff5a00";
6817 MY(liquidfriction) = 8;
6818 MY(notunderwater) = true;
6819 MY(startangle_min) = -180;
6820 MY(startangle_max) = 180;
6821 MY(spin_min) = -150;
6823 MY(sizeincrease) = 40;
6828 MY(type) = "static";
6829 MY(velocityjitter) = '912.0 912.0 912.0';
6832 SUB(explosion_small) {
6833 MY(airfriction) = -3;
6834 MY(alpha_min) = 200;
6835 MY(alpha_max) = 256;
6836 MY(alpha_fade) = 1300;
6837 MY(color_min) = "0x8f0d00";
6838 MY(color_max) = "0xff5a00";
6840 MY(liquidfriction) = 8;
6841 MY(notunderwater) = true;
6842 MY(originjitter) = '40.0 40.0 40.0';
6843 MY(sizeincrease) = 30;
6846 MY(stretchfactor) = 8;
6850 MY(velocityjitter) = '512.0 512.0 512.0';
6852 // underwater bubbles
6853 SUB(explosion_small) {
6854 MY(alpha_min) = 128;
6855 MY(alpha_max) = 256;
6856 MY(alpha_fade) = 64;
6857 MY(bounce) = 1.500000;
6858 MY(color_min) = "0x404040";
6859 MY(color_max) = "0x808080";
6861 MY(gravity) = -0.125000;
6862 MY(liquidfriction) = 0.250000;
6863 MY(originjitter) = '160.0 160.0 160.0';
6868 MY(type) = "bubble";
6869 MY(underwater) = true;
6870 MY(velocityjitter) = '144.0 144.0 144.0';
6872 // underwatershockwave
6873 SUB(explosion_small) {
6876 MY(alpha_fade) = 300;
6877 MY(countabsolute) = 1;
6878 MY(sizeincrease) = 1200;
6884 MY(underwater) = true;
6887 // big smoke ( for spamming on damaged stuff )
6890 MY(airfriction) = 4;
6891 MY(alpha_min) = 200;
6892 MY(alpha_max) = 750;
6893 MY(alpha_fade) = 200;
6894 MY(color_min) = "0x4F4B46";
6895 MY(color_max) = "0x000000";
6897 MY(gravity) = -0.500000;
6898 MY(notunderwater) = true;
6899 MY(originjitter) = '55.0 55.0 55.0';
6900 MY(startangle_min) = -180;
6901 MY(startangle_max) = 180;
6904 MY(sizeincrease) = 15;
6908 MY(type) = "alphastatic";
6909 MY(velocityjitter) = '140.0 140.0 200.0';
6910 MY(velocityoffset) = '0.0 0.0 200.0';
6913 // small smoke ( more precise than big one, for spamming on damaged parts like raptors spinner )
6916 MY(airfriction) = 4;
6917 MY(alpha_min) = 200;
6918 MY(alpha_max) = 750;
6919 MY(alpha_fade) = 200;
6920 MY(color_min) = "0x4F4B46";
6921 MY(color_max) = "0x000000";
6923 MY(gravity) = -0.500000;
6924 MY(notunderwater) = true;
6925 MY(startangle_min) = -180;
6926 MY(startangle_max) = 180;
6929 MY(sizeincrease) = -10;
6933 MY(type) = "alphastatic";
6934 MY(velocityjitter) = '40.0 40.0 400.0';
6935 MY(velocityoffset) = '0.0 0.0 200.0';
6938 // metal impact effect
6943 MY(alpha_fade) = 50;
6944 MY(color_min) = "0x000000";
6945 MY(color_max) = "0x886666";
6947 MY(gravity) = -0.010000;
6948 MY(originjitter) = '20.0 20.0 5.0';
6949 MY(sizeincrease) = 10;
6953 MY(type) = "alphastatic";
6957 MY(airfriction) = 2;
6958 MY(alpha_min) = 255;
6959 MY(alpha_max) = 255;
6960 MY(alpha_fade) = 112;
6961 MY(bounce) = 1.800000;
6962 MY(color_min) = "0xFFCC22";
6963 MY(color_max) = "0xFF4422";
6968 MY(stretchfactor) = 0.500000;
6972 MY(velocityjitter) = '200.0 200.0 300.0';
6973 MY(velocitymultiplier) = 2;
6976 // stone impact effect
6980 MY(alpha_max) = 128;
6981 MY(alpha_fade) = 75;
6982 MY(color_min) = "0x000000";
6983 MY(color_max) = "0xcc9966";
6985 MY(gravity) = -0.010000;
6986 MY(originjitter) = '20.0 20.0 5.0';
6987 MY(sizeincrease) = 15;
6991 MY(type) = "alphastatic";
6995 MY(airfriction) = 0.500000;
6996 MY(alpha_min) = 450;
6997 MY(alpha_max) = 750;
6998 MY(alpha_fade) = 300;
6999 MY(bounce) = 1.200000;
7000 MY(color_min) = "0x000000";
7001 MY(color_max) = "0x886644";
7003 MY(gravity) = 1.300000;
7004 MY(notunderwater) = true;
7005 MY(startangle_min) = -180;
7006 MY(startangle_max) = 180;
7007 MY(spin_min) = -1000;
7008 MY(spin_max) = 1000;
7013 MY(type) = "alphastatic";
7014 MY(velocityjitter) = '124.0 124.0 324.0';
7017 // wood impact effect
7021 MY(alpha_max) = 128;
7022 MY(alpha_fade) = 75;
7023 MY(color_min) = "0x000000";
7024 MY(color_max) = "0xcc9966";
7026 MY(gravity) = -0.010000;
7027 MY(originjitter) = '20.0 20.0 5.0';
7028 MY(sizeincrease) = 10;
7032 MY(type) = "alphastatic";
7036 MY(airfriction) = 2;
7037 MY(alpha_min) = 255;
7038 MY(alpha_max) = 255;
7039 MY(alpha_fade) = 75;
7040 MY(bounce) = 1.500000;
7041 MY(color_min) = "0x221100";
7042 MY(color_max) = "0x221100";
7050 MY(velocityjitter) = '180.0 180.0 260.0';
7051 MY(velocitymultiplier) = 2;
7054 // flesh impact effect
7057 MY(alpha_min) = 100;
7058 MY(alpha_max) = 256;
7059 MY(alpha_fade) = 400;
7060 MY(color_min) = "0x000000";
7061 MY(color_max) = "0x420000";
7062 MY(count) = 0.500000;
7063 MY(originjitter) = '11.0 11.0 11.0';
7067 MY(type) = "alphastatic";
7071 MY(airfriction) = 1;
7072 MY(alpha_min) = 256;
7073 MY(alpha_max) = 256;
7074 MY(alpha_fade) = 64;
7076 MY(color_min) = "0xA8FFFF";
7077 MY(color_max) = "0xA8FFFFF";
7078 MY(count) = 0.300000;
7079 MY(liquidfriction) = 4;
7082 MY(staincolor_min) = "0x808080";
7083 MY(staincolor_max) = "0x808080";
7084 MY(staintex_min) = 16;
7085 MY(staintex_max) = 24;
7089 MY(velocityjitter) = '96.0 96.0 96.0';
7090 MY(velocitymultiplier) = 5;
7097 MY(alpha_min) = 300;
7098 MY(alpha_max) = 400;
7099 MY(alpha_fade) = 780;
7101 MY(color_min) = "0x101010";
7102 MY(color_max) = "0x000000";
7103 MY(originjitter) = '1.0 1.0 1.0';
7104 MY(sizeincrease) = 10;
7108 MY(trailspacing) = 4;
7110 MY(velocityjitter) = '1.0 1.0 1.0';
7111 MY(velocitymultiplier) = -0.020000;
7115 MY(airfriction) = 8;
7116 MY(alpha_min) = 100;
7117 MY(alpha_max) = 144;
7118 MY(alpha_fade) = 988;
7119 MY(color_min) = "0xffdf72";
7120 MY(color_max) = "0x811200";
7121 MY(notunderwater) = true;
7122 MY(sizeincrease) = -15;
7127 MY(trailspacing) = 4;
7128 MY(type) = "static";
7129 MY(velocityjitter) = '32.0 32.0 32.0';
7130 MY(velocitymultiplier) = -1;
7134 MY(alpha_min) = 256;
7135 MY(alpha_max) = 256;
7136 MY(alpha_fade) = 256;
7137 MY(bounce) = 1.500000;
7138 MY(color_min) = "0x404040";
7139 MY(color_max) = "0x808080";
7140 MY(gravity) = -0.125000;
7141 MY(liquidfriction) = 4;
7146 MY(trailspacing) = 16;
7147 MY(type) = "bubble";
7148 MY(underwater) = true;
7149 MY(velocityjitter) = '16.0 16.0 16.0';
7152 // laser damage effect
7155 MY(airfriction) = -0.350000;
7156 MY(alpha_min) = 128;
7158 MY(alpha_fade) = 128;
7159 MY(color_min) = "0x880000";
7160 MY(color_max) = "0xff4400";
7162 MY(notunderwater) = true;
7163 MY(originjitter) = '2.0 2.0 2.0';
7164 MY(startangle_max) = 180;
7167 MY(sizeincrease) = 8;
7172 MY(velocityjitter) = '0.4 0.4 0.6';
7175 // shotgun damage effect, normal blood
7176 DEF(damage_shotgun);
7177 SUB(damage_shotgun) {
7178 MY(airfriction) = 1;
7179 MY(alpha_min) = 256;
7180 MY(alpha_max) = 256;
7181 MY(alpha_fade) = 64;
7183 MY(color_min) = "0xA8FFFF";
7184 MY(color_max) = "0xA8FFFFF";
7185 MY(count) = 0.600000;
7186 MY(liquidfriction) = 4;
7189 MY(staincolor_min) = "0x808080";
7190 MY(staincolor_max) = "0x808080";
7191 MY(staintex_min) = 16;
7192 MY(staintex_max) = 24;
7196 MY(velocityjitter) = '64.0 64.0 64.0';
7197 MY(velocitymultiplier) = 5;
7200 SUB(damage_shotgun) {
7201 MY(alpha_min) = 100;
7202 MY(alpha_max) = 256;
7203 MY(alpha_fade) = 400;
7204 MY(color_min) = "0x000000";
7205 MY(color_max) = "0x420000";
7207 MY(originjitter) = '1.0 1.0 1.0';
7211 MY(type) = "alphastatic";
7214 // shotgun damage effect, alien blood
7215 DEF(damage_shotgun_alien);
7216 SUB(damage_shotgun_alien) {
7217 MY(airfriction) = 1;
7218 MY(alpha_min) = 256;
7219 MY(alpha_max) = 256;
7220 MY(alpha_fade) = 64;
7222 MY(color_min) = "0xDC9BCD";
7223 MY(color_max) = "0xDC9BCD";
7224 MY(count) = 0.600000;
7225 MY(liquidfriction) = 4;
7228 MY(staincolor_min) = "0x808080";
7229 MY(staincolor_max) = "0x808080";
7230 MY(staintex_min) = 16;
7231 MY(staintex_max) = 24;
7235 MY(velocityjitter) = '64.0 64.0 64.0';
7236 MY(velocitymultiplier) = 5;
7239 SUB(damage_shotgun_alien) {
7240 MY(alpha_min) = 100;
7241 MY(alpha_max) = 256;
7242 MY(alpha_fade) = 400;
7243 MY(color_min) = "0x000000";
7244 MY(color_max) = "0x204010";
7246 MY(originjitter) = '1.0 1.0 1.0';
7250 MY(type) = "alphastatic";
7253 // shotgun damage effect, robot blood
7254 DEF(damage_shotgun_robot);
7255 SUB(damage_shotgun_robot) {
7256 MY(airfriction) = 1;
7257 MY(alpha_min) = 256;
7258 MY(alpha_max) = 256;
7259 MY(alpha_fade) = 64;
7261 MY(color_min) = "0xC0D890";
7262 MY(color_max) = "0xC0D890";
7263 MY(count) = 0.600000;
7264 MY(liquidfriction) = 4;
7267 MY(staincolor_min) = "0x808080";
7268 MY(staincolor_max) = "0x808080";
7269 MY(staintex_min) = 16;
7270 MY(staintex_max) = 24;
7274 MY(velocityjitter) = '64.0 64.0 64.0';
7275 MY(velocitymultiplier) = 5;
7278 SUB(damage_shotgun_robot) {
7279 MY(alpha_min) = 100;
7280 MY(alpha_max) = 256;
7281 MY(alpha_fade) = 400;
7282 MY(color_min) = "0x000000";
7283 MY(color_max) = "0x301860";
7285 MY(originjitter) = '1.0 1.0 1.0';
7289 MY(type) = "alphastatic";
7292 // machinegun damage effect, normal blood
7295 MY(airfriction) = 1;
7296 MY(alpha_min) = 256;
7297 MY(alpha_max) = 256;
7298 MY(alpha_fade) = 64;
7300 MY(color_min) = "0xA8FFFF";
7301 MY(color_max) = "0xA8FFFFF";
7302 MY(count) = 0.300000;
7303 MY(liquidfriction) = 4;
7306 MY(staincolor_min) = "0x808080";
7307 MY(staincolor_max) = "0x808080";
7308 MY(staintex_min) = 16;
7309 MY(staintex_max) = 24;
7313 MY(velocityjitter) = '32.0 32.0 32.0';
7314 MY(velocitymultiplier) = 5;
7318 MY(alpha_min) = 100;
7319 MY(alpha_max) = 256;
7320 MY(alpha_fade) = 400;
7321 MY(color_min) = "0x000000";
7322 MY(color_max) = "0x420000";
7327 MY(type) = "alphastatic";
7330 // machinegun damage effect, alien blood
7331 DEF(damage_uzi_alien);
7332 SUB(damage_uzi_alien) {
7333 MY(airfriction) = 1;
7334 MY(alpha_min) = 256;
7335 MY(alpha_max) = 256;
7336 MY(alpha_fade) = 64;
7338 MY(color_min) = "0xDC9BCD";
7339 MY(color_max) = "0xDC9BCD";
7340 MY(count) = 0.300000;
7341 MY(liquidfriction) = 4;
7344 MY(staincolor_min) = "0x808080";
7345 MY(staincolor_max) = "0x808080";
7346 MY(staintex_min) = 16;
7347 MY(staintex_max) = 24;
7351 MY(velocityjitter) = '32.0 32.0 32.0';
7352 MY(velocitymultiplier) = 5;
7355 SUB(damage_uzi_alien) {
7356 MY(alpha_min) = 100;
7357 MY(alpha_max) = 256;
7358 MY(alpha_fade) = 400;
7359 MY(color_min) = "0x000000";
7360 MY(color_max) = "0x204010";
7365 MY(type) = "alphastatic";
7368 // machinegun damage effect, robot blood
7369 DEF(damage_uzi_robot);
7370 SUB(damage_uzi_robot) {
7371 MY(airfriction) = 1;
7372 MY(alpha_min) = 256;
7373 MY(alpha_max) = 256;
7374 MY(alpha_fade) = 64;
7376 MY(color_min) = "0xC0D890";
7377 MY(color_max) = "0xC0D890";
7378 MY(count) = 0.300000;
7379 MY(liquidfriction) = 4;
7382 MY(staincolor_min) = "0x808080";
7383 MY(staincolor_max) = "0x808080";
7384 MY(staintex_min) = 16;
7385 MY(staintex_max) = 24;
7389 MY(velocityjitter) = '32.0 32.0 32.0';
7390 MY(velocitymultiplier) = 5;
7393 SUB(damage_uzi_robot) {
7394 MY(alpha_min) = 100;
7395 MY(alpha_max) = 256;
7396 MY(alpha_fade) = 400;
7397 MY(color_min) = "0x000000";
7398 MY(color_max) = "0x301860";
7403 MY(type) = "alphastatic";
7406 // minelayer damage effect
7407 DEF(damage_minelayer);
7408 SUB(damage_minelayer) {
7409 MY(alpha_min) = 512;
7411 MY(alpha_fade) = 1024;
7412 MY(color_min) = "0x8f0d00";
7413 MY(color_max) = "0xff5a00";
7415 MY(gravity) = -0.500000;
7416 MY(notunderwater) = true;
7417 MY(originjitter) = '2.0 2.0 2.0';
7418 MY(sizeincrease) = -15;
7424 MY(velocityjitter) = '22.0 22.0 50.0';
7427 SUB(damage_minelayer) {
7428 MY(alpha_min) = 128;
7430 MY(alpha_fade) = 128;
7431 MY(color_min) = "0x000000";
7432 MY(color_max) = "0x111111";
7434 MY(gravity) = -0.300000;
7435 MY(notunderwater) = true;
7436 MY(originjitter) = '4.0 4.0 4.0';
7437 MY(sizeincrease) = 5;
7441 MY(type) = "alphastatic";
7442 MY(velocityjitter) = '11.0 11.0 50.0';
7445 // mortar damage effect
7446 DEF(damage_grenadelauncher);
7447 SUB(damage_grenadelauncher) {
7448 MY(alpha_min) = 512;
7450 MY(alpha_fade) = 1024;
7451 MY(color_min) = "0x8f0d00";
7452 MY(color_max) = "0xff5a00";
7454 MY(gravity) = -0.500000;
7455 MY(notunderwater) = true;
7456 MY(originjitter) = '2.0 2.0 2.0';
7457 MY(sizeincrease) = -15;
7463 MY(velocityjitter) = '22.0 22.0 50.0';
7466 SUB(damage_grenadelauncher) {
7467 MY(alpha_min) = 128;
7469 MY(alpha_fade) = 128;
7470 MY(color_min) = "0x000000";
7471 MY(color_max) = "0x111111";
7473 MY(gravity) = -0.300000;
7474 MY(notunderwater) = true;
7475 MY(originjitter) = '4.0 4.0 4.0';
7476 MY(sizeincrease) = 5;
7480 MY(type) = "alphastatic";
7481 MY(velocityjitter) = '11.0 11.0 50.0';
7484 // electro damage effect
7485 DEF(damage_electro);
7486 SUB(damage_electro) {
7487 MY(airfriction) = -0.500000;
7490 MY(alpha_fade) = 48;
7491 MY(color_min) = "0x66ffff";
7492 MY(color_max) = "0x2288ff";
7494 MY(gravity) = -0.000100;
7495 MY(liquidfriction) = 0.800000;
7496 MY(notunderwater) = true;
7497 MY(originjitter) = '3.0 3.0 3.0';
7498 MY(startangle_min) = 180;
7499 MY(startangle_max) = 360;
7502 MY(sizeincrease) = -14;
7507 MY(type) = "static";
7508 MY(velocityjitter) = '8.0 8.0 16.0';
7511 SUB(damage_electro) {
7512 MY(airfriction) = -0.350000;
7515 MY(alpha_fade) = 64;
7516 MY(color_min) = "0x2244ff";
7517 MY(color_max) = "0x002266";
7519 MY(notunderwater) = true;
7520 MY(originjitter) = '4.0 4.0 4.0';
7521 MY(startangle_max) = 180;
7524 MY(sizeincrease) = 10;
7529 MY(velocityjitter) = '0.4 0.4 0.6';
7532 SUB(damage_electro) {
7533 MY(airfriction) = 1;
7534 MY(alpha_min) = 768;
7536 MY(alpha_fade) = 256;
7537 MY(bounce) = 1.500000;
7538 MY(color_min) = "0x003090";
7539 MY(color_max) = "0x00CCFF";
7540 MY(count) = 0.500000;
7541 MY(gravity) = 0.200000;
7542 MY(liquidfriction) = 0.800000;
7548 MY(velocityjitter) = '32.0 32.0 32.0';
7551 // crylink damage effect
7552 DEF(damage_crylink);
7553 SUB(damage_crylink) {
7554 MY(airfriction) = -0.500000;
7557 MY(alpha_fade) = 48;
7558 MY(color_min) = "0xff44ff";
7559 MY(color_max) = "0x9966ff";
7561 MY(gravity) = -0.000100;
7562 MY(liquidfriction) = 0.800000;
7563 MY(notunderwater) = true;
7564 MY(originjitter) = '3.0 3.0 3.0';
7565 MY(startangle_min) = 180;
7566 MY(startangle_max) = 360;
7569 MY(sizeincrease) = -8;
7570 MY(size_min) = 0.500000;
7574 MY(type) = "static";
7575 MY(velocityjitter) = '10.0 10.0 20.0';
7578 SUB(damage_crylink) {
7579 MY(airfriction) = -0.350000;
7582 MY(alpha_fade) = 64;
7583 MY(color_min) = "0x8844ff";
7584 MY(color_max) = "0x662244";
7586 MY(gravity) = 0.001000;
7587 MY(notunderwater) = true;
7588 MY(originjitter) = '4.0 4.0 4.0';
7589 MY(startangle_max) = 180;
7592 MY(sizeincrease) = 6;
7597 MY(velocityjitter) = '0.4 0.4 0.6';
7600 SUB(damage_crylink) {
7601 MY(airfriction) = 0.200000;
7602 MY(alpha_min) = 192;
7603 MY(alpha_max) = 192;
7604 MY(alpha_fade) = 128;
7605 MY(color_min) = "0x903090";
7606 MY(color_max) = "0xFFD0FF";
7607 MY(count) = 0.300000;
7608 MY(liquidfriction) = 0.800000;
7609 MY(sizeincrease) = -5;
7610 MY(size_min) = 0.500000;
7611 MY(size_max) = 0.500000;
7613 MY(velocityjitter) = '12.0 12.0 12.0';
7616 // hlac damage effect
7619 MY(airfriction) = -0.350000;
7620 MY(alpha_min) = 128;
7622 MY(alpha_fade) = 128;
7623 MY(color_min) = "0x880000";
7624 MY(color_max) = "0xff4400";
7626 MY(notunderwater) = true;
7627 MY(originjitter) = '4.0 4.0 4.0';
7628 MY(startangle_max) = 180;
7631 MY(sizeincrease) = 10;
7636 MY(velocityjitter) = '0.4 0.4 0.6';
7639 // vortex damage effect
7642 MY(airfriction) = -0.500000;
7645 MY(alpha_fade) = 64;
7646 MY(color_min) = "0xffffff";
7647 MY(color_max) = "0x88ffff";
7649 MY(gravity) = -0.000100;
7650 MY(liquidfriction) = 0.600000;
7651 MY(originjitter) = '4.0 4.0 4.0';
7652 MY(startangle_min) = 180;
7653 MY(startangle_max) = 360;
7656 MY(sizeincrease) = -14;
7661 MY(type) = "static";
7662 MY(velocityjitter) = '8.0 8.0 16.0';
7666 MY(airfriction) = -0.350000;
7669 MY(alpha_fade) = 64;
7670 MY(color_min) = "0x6688ff";
7671 MY(color_max) = "0x226688";
7673 MY(originjitter) = '2.0 2.0 2.0';
7674 MY(startangle_max) = 180;
7677 MY(sizeincrease) = 8;
7682 MY(velocityjitter) = '0.5 0.5 0.8';
7686 MY(airfriction) = 2;
7687 MY(alpha_min) = 255;
7688 MY(alpha_max) = 255;
7689 MY(alpha_fade) = 112;
7690 MY(bounce) = 1.600000;
7691 MY(color_min) = "0xD9FDFF";
7692 MY(color_max) = "0xD9FDFF";
7693 MY(count) = 0.200000;
7697 MY(stretchfactor) = 0.700000;
7701 MY(velocityjitter) = '100.0 100.0 300.0';
7702 MY(velocitymultiplier) = 3;
7705 // vaporizer damage effect
7706 DEF(damage_minstanex);
7707 SUB(damage_minstanex) {
7708 MY(airfriction) = -0.500000;
7711 MY(alpha_fade) = 64;
7712 MY(color_min) = "0xffffff";
7713 MY(color_max) = "0x88ffff";
7715 MY(gravity) = -0.000100;
7716 MY(liquidfriction) = 0.600000;
7717 MY(originjitter) = '4.0 4.0 4.0';
7718 MY(startangle_min) = 180;
7719 MY(startangle_max) = 360;
7722 MY(sizeincrease) = -14;
7727 MY(type) = "static";
7728 MY(velocityjitter) = '8.0 8.0 16.0';
7731 SUB(damage_minstanex) {
7732 MY(airfriction) = -0.350000;
7735 MY(alpha_fade) = 64;
7736 MY(color_min) = "0x6688ff";
7737 MY(color_max) = "0x226688";
7739 MY(originjitter) = '2.0 2.0 2.0';
7740 MY(startangle_max) = 180;
7743 MY(sizeincrease) = 8;
7748 MY(velocityjitter) = '0.5 0.5 0.8';
7751 SUB(damage_minstanex) {
7752 MY(airfriction) = 2;
7753 MY(alpha_min) = 255;
7754 MY(alpha_max) = 255;
7755 MY(alpha_fade) = 112;
7756 MY(bounce) = 1.600000;
7757 MY(color_min) = "0xD9FDFF";
7758 MY(color_max) = "0xD9FDFF";
7759 MY(count) = 0.200000;
7763 MY(stretchfactor) = 0.700000;
7767 MY(velocityjitter) = '100.0 100.0 300.0';
7768 MY(velocitymultiplier) = 3;
7771 // rifle damage effect, normal blood
7774 MY(airfriction) = 1;
7775 MY(alpha_min) = 256;
7776 MY(alpha_max) = 256;
7777 MY(alpha_fade) = 64;
7779 MY(color_min) = "0xA8FFFF";
7780 MY(color_max) = "0xA8FFFFF";
7781 MY(count) = 0.300000;
7782 MY(liquidfriction) = 4;
7785 MY(staincolor_min) = "0x808080";
7786 MY(staincolor_max) = "0x808080";
7787 MY(staintex_min) = 16;
7788 MY(staintex_max) = 24;
7792 MY(velocityjitter) = '32.0 32.0 32.0';
7793 MY(velocitymultiplier) = 5;
7797 MY(alpha_min) = 100;
7798 MY(alpha_max) = 256;
7799 MY(alpha_fade) = 400;
7800 MY(color_min) = "0x000000";
7801 MY(color_max) = "0x420000";
7806 MY(type) = "alphastatic";
7809 // rifle damage effect, alien blood
7810 DEF(damage_rifle_alien);
7811 SUB(damage_rifle_alien) {
7812 MY(airfriction) = 1;
7813 MY(alpha_min) = 256;
7814 MY(alpha_max) = 256;
7815 MY(alpha_fade) = 64;
7817 MY(color_min) = "0xDC9BCD";
7818 MY(color_max) = "0xDC9BCD";
7819 MY(count) = 0.300000;
7820 MY(liquidfriction) = 4;
7823 MY(staincolor_min) = "0x808080";
7824 MY(staincolor_max) = "0x808080";
7825 MY(staintex_min) = 16;
7826 MY(staintex_max) = 24;
7830 MY(velocityjitter) = '32.0 32.0 32.0';
7831 MY(velocitymultiplier) = 5;
7834 SUB(damage_rifle_alien) {
7835 MY(alpha_min) = 100;
7836 MY(alpha_max) = 256;
7837 MY(alpha_fade) = 400;
7838 MY(color_min) = "0x000000";
7839 MY(color_max) = "0x204010";
7844 MY(type) = "alphastatic";
7847 // rifle damage effect, robot blood
7848 DEF(damage_rifle_robot);
7849 SUB(damage_rifle_robot) {
7850 MY(airfriction) = 1;
7851 MY(alpha_min) = 256;
7852 MY(alpha_max) = 256;
7853 MY(alpha_fade) = 64;
7855 MY(color_min) = "0xC0D890";
7856 MY(color_max) = "0xC0D890";
7857 MY(count) = 0.300000;
7858 MY(liquidfriction) = 4;
7861 MY(staincolor_min) = "0x808080";
7862 MY(staincolor_max) = "0x808080";
7863 MY(staintex_min) = 16;
7864 MY(staintex_max) = 24;
7868 MY(velocityjitter) = '32.0 32.0 32.0';
7869 MY(velocitymultiplier) = 5;
7872 SUB(damage_rifle_robot) {
7873 MY(alpha_min) = 100;
7874 MY(alpha_max) = 256;
7875 MY(alpha_fade) = 400;
7876 MY(color_min) = "0x000000";
7877 MY(color_max) = "0x301860";
7882 MY(type) = "alphastatic";
7885 // seeker damage effect
7887 SUB(damage_seeker) {
7888 MY(alpha_min) = 512;
7890 MY(alpha_fade) = 1024;
7891 MY(color_min) = "0x8f0c00";
7892 MY(color_max) = "0xff2200";
7894 MY(gravity) = -0.300000;
7895 MY(notunderwater) = true;
7896 MY(originjitter) = '2.0 2.0 2.0';
7897 MY(sizeincrease) = -10;
7903 MY(velocityjitter) = '22.0 22.0 50.0';
7906 SUB(damage_seeker) {
7907 MY(alpha_min) = 128;
7909 MY(alpha_fade) = 128;
7910 MY(color_min) = "0x000000";
7911 MY(color_max) = "0x111111";
7913 MY(gravity) = -0.300000;
7914 MY(notunderwater) = true;
7915 MY(originjitter) = '4.0 4.0 4.0';
7916 MY(sizeincrease) = 10;
7920 MY(type) = "alphastatic";
7921 MY(velocityjitter) = '11.0 11.0 50.0';
7924 // hagar damage effect
7927 MY(alpha_min) = 512;
7929 MY(alpha_fade) = 1024;
7930 MY(color_min) = "0x8f0c00";
7931 MY(color_max) = "0xff3a00";
7933 MY(gravity) = -0.300000;
7934 MY(notunderwater) = true;
7935 MY(originjitter) = '2.0 2.0 2.0';
7936 MY(sizeincrease) = -10;
7942 MY(velocityjitter) = '22.0 22.0 50.0';
7946 MY(alpha_min) = 128;
7948 MY(alpha_fade) = 128;
7949 MY(color_min) = "0x000000";
7950 MY(color_max) = "0x111111";
7952 MY(gravity) = -0.300000;
7953 MY(notunderwater) = true;
7954 MY(originjitter) = '4.0 4.0 4.0';
7955 MY(sizeincrease) = 10;
7959 MY(type) = "alphastatic";
7960 MY(velocityjitter) = '11.0 11.0 50.0';
7963 // fireball damage effect
7964 DEF(damage_fireball);
7965 SUB(damage_fireball) {
7966 MY(alpha_min) = 256;
7968 MY(alpha_fade) = 512;
7969 MY(color_min) = "0x8f0d00";
7970 MY(color_max) = "0xff5a00";
7972 MY(gravity) = -0.500000;
7973 MY(notunderwater) = true;
7974 MY(originjitter) = '8.0 8.0 8.0';
7975 MY(sizeincrease) = -10;
7981 MY(velocityjitter) = '22.0 22.0 50.0';
7984 SUB(damage_fireball) {
7985 MY(alpha_min) = 128;
7987 MY(alpha_fade) = 128;
7988 MY(color_min) = "0x000000";
7989 MY(color_max) = "0x111111";
7991 MY(gravity) = -0.300000;
7992 MY(notunderwater) = true;
7993 MY(originjitter) = '6.0 6.0 6.0';
7994 MY(sizeincrease) = 10;
7998 MY(type) = "alphastatic";
7999 MY(velocityjitter) = '11.0 11.0 50.0';
8002 // rocketlauncher damage effect
8003 DEF(damage_rocketlauncher);
8004 SUB(damage_rocketlauncher) {
8005 MY(alpha_min) = 512;
8007 MY(alpha_fade) = 1024;
8008 MY(color_min) = "0x8f0c00";
8009 MY(color_max) = "0xff2a00";
8011 MY(gravity) = -0.700000;
8012 MY(notunderwater) = true;
8013 MY(originjitter) = '4.0 4.0 4.0';
8014 MY(sizeincrease) = -10;
8020 MY(velocityjitter) = '22.0 22.0 30.0';
8023 SUB(damage_rocketlauncher) {
8024 MY(alpha_min) = 128;
8026 MY(alpha_fade) = 128;
8027 MY(color_min) = "0x000000";
8028 MY(color_max) = "0x111111";
8030 MY(gravity) = -0.300000;
8031 MY(notunderwater) = true;
8032 MY(originjitter) = '4.0 4.0 4.0';
8033 MY(sizeincrease) = 10;
8037 MY(type) = "alphastatic";
8038 MY(velocityjitter) = '11.0 11.0 50.0';
8044 MY(airfriction) = 5;
8045 MY(alpha_min) = 256;
8046 MY(alpha_max) = 256;
8047 MY(alpha_fade) = 70;
8049 MY(color_min) = "0xff9600";
8050 MY(color_max) = "0xffefb8";
8052 MY(originjitter) = '32.0 32.0 32.0';
8053 MY(originoffset) = '8.0 8.0 8.0';
8054 MY(sizeincrease) = -0.300000;
8061 MY(type) = "static";
8062 MY(velocityjitter) = '64.0 64.0 64.0';
8063 MY(velocityoffset) = '2.0 2.0 2.0';
8066 DEF(healray_muzzleflash);
8067 SUB(healray_muzzleflash) {
8068 MY(alpha_min) = 256;
8069 MY(alpha_max) = 256;
8070 MY(alpha_fade) = 512;
8071 MY(color_min) = "0x283880";
8072 MY(color_max) = "0x283880";
8073 MY(countabsolute) = 1;
8074 MY(lightcolor) = '1.5 3.0 6.0';
8075 MY(lightradiusfade) = 2000;
8076 MY(lightradius) = 200;
8077 MY(originjitter) = '1.5 1.5 1.5';
8078 MY(sizeincrease) = -10;
8084 MY(velocityjitter) = '6.0 6.0 6.0';
8085 MY(velocitymultiplier) = 0.010000;
8087 SUB(healray_muzzleflash) {
8088 MY(airfriction) = 5;
8090 MY(alpha_max) = 150;
8091 MY(alpha_fade) = 1924;
8092 MY(color_min) = "0xD9FDFF";
8093 MY(color_max) = "0x00f0ff";
8095 MY(originjitter) = '1.0 1.0 1.0';
8096 MY(sizeincrease) = 3;
8099 MY(stretchfactor) = 3.900000;
8103 MY(velocityjitter) = '150.0 150.0 150.0';
8104 MY(velocitymultiplier) = 0.400000;
8106 SUB(healray_muzzleflash) {
8107 MY(alpha_min) = 110;
8108 MY(alpha_max) = 228;
8109 MY(alpha_fade) = 4024;
8110 MY(color_min) = "0xD9FDFF";
8111 MY(color_max) = "0x00f0ff";
8113 MY(originjitter) = '1.0 1.0 1.0';
8116 MY(stretchfactor) = 0.200000;
8120 MY(velocityjitter) = '650.0 650.0 650.0';
8121 MY(velocitymultiplier) = 1.100000;
8124 DEF(healray_impact);
8125 SUB(healray_impact) {
8126 MY(alpha_min) = 256;
8127 MY(alpha_max) = 256;
8128 MY(color_min) = "0xd800ff";
8129 MY(color_max) = "0xd800ff";
8130 MY(countabsolute) = 1;
8131 MY(lightcolor) = '0.0 4.4 0.0';
8132 MY(lightradiusfade) = 450;
8133 MY(lightradius) = 125;
8134 MY(originjitter) = '17.0 17.0 17.0';
8142 SUB(healray_impact) {
8145 MY(alpha_fade) = 350;
8146 MY(color_min) = "0x00ff00";
8147 MY(color_max) = "0x84c52f";
8148 MY(countabsolute) = 1;
8149 MY(sizeincrease) = 1400;
8155 MY(velocitymultiplier) = 44;
8157 // cloud of bouncing sparks
8158 SUB(healray_impact) {
8159 MY(airfriction) = 6;
8160 MY(alpha_min) = 156;
8161 MY(alpha_max) = 300;
8162 MY(alpha_fade) = 1024;
8163 MY(color_min) = "0x00ff00";
8164 MY(color_max) = "0x84c52f";
8167 MY(originjitter) = '1.0 1.0 1.0';
8173 MY(velocityjitter) = '1112.0 1112.0 1112.0';
8175 // inner cloud of smoke
8176 SUB(healray_impact) {
8177 MY(airfriction) = 3;
8178 MY(alpha_min) = 200;
8179 MY(alpha_max) = 456;
8180 MY(alpha_fade) = 512;
8181 MY(color_min) = "0x00ff00";
8182 MY(color_max) = "0x84c52f";
8185 MY(startangle_min) = -180;
8186 MY(startangle_max) = 180;
8194 MY(velocityjitter) = '120.0 120.0 420.0';
8197 DEF(bigplasma_muzzleflash);
8198 SUB(bigplasma_muzzleflash) {
8199 MY(alpha_min) = 256;
8200 MY(alpha_max) = 256;
8201 MY(alpha_fade) = 812;
8202 MY(color_min) = "0x283880";
8203 MY(color_max) = "0x283880";
8204 MY(countabsolute) = 1;
8205 MY(lightcolor) = '1.5 3.0 6.0';
8206 MY(lightradiusfade) = 2000;
8207 MY(lightradius) = 200;
8208 MY(originjitter) = '1.5 1.5 1.5';
8209 MY(sizeincrease) = -10;
8215 MY(velocityjitter) = '6.0 6.0 6.0';
8216 MY(velocitymultiplier) = 0.010000;
8218 SUB(bigplasma_muzzleflash) {
8221 MY(alpha_fade) = 1112;
8222 MY(color_min) = "0x00f0ff";
8223 MY(color_max) = "0x00f0ff";
8224 MY(countabsolute) = 1;
8225 MY(sizeincrease) = 300;
8232 SUB(bigplasma_muzzleflash) {
8233 MY(airfriction) = 5;
8235 MY(alpha_max) = 150;
8236 MY(alpha_fade) = 1924;
8237 MY(color_min) = "0xD9FDFF";
8238 MY(color_max) = "0x00f0ff";
8240 MY(originjitter) = '1.0 1.0 1.0';
8241 MY(sizeincrease) = 135;
8244 MY(stretchfactor) = 1.900000;
8248 MY(velocityjitter) = '350.0 350.0 350.0';
8249 MY(velocitymultiplier) = 0.400000;
8251 SUB(bigplasma_muzzleflash) {
8252 MY(alpha_min) = 110;
8253 MY(alpha_max) = 228;
8254 MY(alpha_fade) = 4024;
8255 MY(color_min) = "0xD9FDFF";
8256 MY(color_max) = "0x00f0ff";
8258 MY(originjitter) = '1.0 1.0 1.0';
8261 MY(stretchfactor) = 0.200000;
8265 MY(velocityjitter) = '650.0 650.0 650.0';
8266 MY(velocitymultiplier) = 1.100000;
8269 DEF(bigplasma_impact);
8270 SUB(bigplasma_impact) {
8271 MY(alpha_min) = 256;
8272 MY(alpha_max) = 256;
8273 MY(countabsolute) = 1;
8274 MY(lightcolor) = '3.1 4.4 10.0';
8275 MY(lightradiusfade) = 450;
8276 MY(lightradius) = 125;
8277 MY(originjitter) = '17.0 17.0 17.0';
8285 SUB(bigplasma_impact) {
8288 MY(alpha_fade) = 350;
8289 MY(color_min) = "0x80C0FF";
8290 MY(color_max) = "0x80C0FF";
8291 MY(countabsolute) = 1;
8292 MY(sizeincrease) = 1400;
8298 MY(velocitymultiplier) = 44;
8300 // cloud of bouncing sparks
8301 SUB(bigplasma_impact) {
8302 MY(airfriction) = 6;
8303 MY(alpha_min) = 156;
8304 MY(alpha_max) = 300;
8305 MY(alpha_fade) = 1024;
8306 MY(color_min) = "0x629dff";
8307 MY(color_max) = "0x0018ff";
8310 MY(originjitter) = '1.0 1.0 1.0';
8316 MY(velocityjitter) = '1512.0 1512.0 1512.0';
8318 // inner cloud of smoke
8319 SUB(bigplasma_impact) {
8320 MY(airfriction) = 30;
8321 MY(alpha_min) = 200;
8322 MY(alpha_max) = 456;
8323 MY(alpha_fade) = 1512;
8324 MY(color_min) = "0x629dff";
8325 MY(color_max) = "0x0018ff";
8327 MY(originjitter) = '20.0 20.0 20.0';
8328 MY(startangle_min) = -180;
8329 MY(startangle_max) = 180;
8332 MY(sizeincrease) = 555;
8338 MY(velocityjitter) = '320.0 320.0 320.0';
8341 SUB(bigplasma_impact) {
8342 MY(airfriction) = 0.040000;
8343 MY(alpha_min) = 128;
8344 MY(alpha_max) = 328;
8345 MY(alpha_fade) = 390;
8346 MY(blend) = "alpha";
8347 MY(color_min) = "0x222222";
8348 MY(color_max) = "0x000000";
8350 MY(gravity) = 0.400000;
8351 MY(originjitter) = '80.0 80.0 10.0';
8352 MY(startangle_min) = -180;
8353 MY(startangle_max) = 180;
8356 MY(sizeincrease) = 30;
8361 MY(velocityjitter) = '100.0 100.0 200.0';
8362 MY(velocityoffset) = '0.0 0.0 180.0';
8364 // smoke in the middle
8365 SUB(bigplasma_impact) {
8366 MY(airfriction) = 0.040000;
8367 MY(alpha_min) = 128;
8368 MY(alpha_max) = 328;
8369 MY(alpha_fade) = 310;
8370 MY(color_min) = "0x222222";
8371 MY(color_max) = "0x000000";
8373 MY(gravity) = -0.200000;
8374 MY(originjitter) = '80.0 80.0 80.0';
8375 MY(startangle_min) = -180;
8376 MY(startangle_max) = 180;
8379 MY(sizeincrease) = -10;
8383 MY(type) = "alphastatic";
8384 MY(velocityjitter) = '10.0 10.0 10.0';
8387 #include "effectinfo_ctf.inc"
8389 // spawn_point -- team idle spawn point effect
8390 #define spawn_point(name, color) \
8391 DEF(spawn_point_##name); \
8392 SUB(spawn_point_##name) { \
8393 MY(airfriction) = 0.200000; \
8394 MY(alpha_min) = 64; \
8395 MY(alpha_max) = 128; \
8396 MY(alpha_fade) = 128; \
8397 MY(color_min) = color; \
8398 MY(color_max) = color; \
8399 MY(count) = 37.500000; \
8400 MY(gravity) = -0.100000; \
8401 MY(liquidfriction) = 0.800000; \
8402 MY(originjitter) = '16.0 16.0 64.0'; \
8405 MY(type) = "static"; \
8406 MY(velocityjitter) = '32.0 32.0 0.0'; \
8409 spawn_point(red, "0xFF0F0F")
8410 spawn_point(blue, "0x0F0FFF")
8411 spawn_point(yellow, "0xFFFF0F")
8412 spawn_point(pink, "0xFF0FFF")
8413 spawn_point(neutral, "0xFFFFFF")
8416 // spawn_event -- team spawning effect
8417 #define spawn_event(name, color) \
8418 DEF(spawn_event_##name); \
8419 SUB(spawn_event_##name) { \
8420 MY(airfriction) = 2; \
8421 MY(alpha_max) = 256; \
8422 MY(alpha_fade) = 256; \
8424 MY(color_min) = color; \
8425 MY(color_max) = color; \
8427 MY(originjitter) = '1.0 1.0 1.0'; \
8430 MY(stretchfactor) = 0.600000; \
8433 MY(type) = "spark"; \
8434 MY(velocityjitter) = '500.0 500.0 500.0'; \
8435 MY(velocitymultiplier) = 0.100000; \
8437 SUB(spawn_event_##name) { \
8438 MY(alpha_min) = 190; \
8439 MY(alpha_max) = 190; \
8440 MY(alpha_fade) = 180; \
8441 MY(color_min) = color; \
8442 MY(color_max) = color; \
8443 MY(countabsolute) = 1; \
8444 MY(sizeincrease) = -80; \
8445 MY(size_min) = 100; \
8446 MY(size_max) = 100; \
8449 MY(type) = "smoke"; \
8453 spawn_event(red, "0xFF0F0F")
8454 spawn_event(blue, "0x0F0FFF")
8455 spawn_event(yellow, "0xFFFF0F")
8456 spawn_event(pink, "0xFF0FFF")
8457 spawn_event(neutral, "0xFFFFFF")
8460 #include "effectinfo_nades.inc"
8462 DEF(shockwave_attack);
8464 SUB(shockwave_attack) {
8465 MY(airfriction) = 1;
8466 MY(alpha_min) = 4096;
8467 MY(alpha_max) = 4096;
8468 MY(alpha_fade) = 20000;
8469 MY(color_min) = "0xb44215";
8470 MY(color_max) = "0xff0000";
8472 MY(originjitter) = '2.0 2.0 2.0';
8473 MY(startangle_min) = -180;
8474 MY(startangle_max) = 180;
8475 MY(spin_min) = 4000;
8476 MY(spin_max) = -4000;
8477 MY(sizeincrease) = 1.500000;
8480 MY(stretchfactor) = 2.300000;
8484 MY(velocityjitter) = '10.0 10.0 10.0';
8485 MY(velocitymultiplier) = 10;
8488 SUB(shockwave_attack) {
8489 MY(airfriction) = 1;
8490 MY(alpha_min) = 4096;
8491 MY(alpha_max) = 4096;
8492 MY(alpha_fade) = 20000;
8493 MY(color_min) = "0xff4200";
8494 MY(color_max) = "0xff0000";
8496 MY(originjitter) = '2.0 2.0 2.0';
8497 MY(sizeincrease) = 1.500000;
8500 MY(stretchfactor) = 2;
8504 MY(velocityjitter) = '10.0 10.0 10.0';
8505 MY(velocitymultiplier) = 10;
8510 SUB(arc_lightning) {
8513 MY(countabsolute) = 1;
8514 MY(lightcolor) = '3.1 4.4 10.0';
8515 MY(lightradiusfade) = 200;
8516 MY(lightradius) = 50;
8517 MY(originjitter) = '2.0 2.0 2.0';
8525 SUB(arc_lightning) {
8526 MY(airfriction) = 110;
8527 MY(alpha_min) = 256;
8528 MY(alpha_max) = 256;
8529 MY(alpha_fade) = 512;
8530 MY(color_min) = "0xDDFDFF";
8531 MY(color_max) = "0xFDFDFF";
8533 MY(originjitter) = '20.0 20.0 20.0';
8534 MY(startangle_max) = 360;
8535 MY(spin_min) = -36000;
8536 MY(spin_max) = 36000;
8537 MY(sizeincrease) = -5;
8539 MY(stretchfactor) = 1;
8542 MY(type) = "static";
8543 MY(velocityjitter) = '250.0 250.0 250.0';
8544 MY(velocitymultiplier) = 100;
8546 // impact sparks (underwater)
8547 SUB(arc_lightning) {
8548 MY(airfriction) = 5;
8549 MY(alpha_min) = 256;
8550 MY(alpha_max) = 256;
8551 MY(alpha_fade) = 512;
8552 MY(color_min) = "0xDDFDFF";
8553 MY(color_max) = "0xFDFDFF";
8555 MY(liquidfriction) = 5;
8556 MY(orientation) = "spark";
8557 MY(originjitter) = '20.0 20.0 20.0';
8558 MY(startangle_max) = 360;
8559 MY(spin_min) = -36000;
8560 MY(spin_max) = 36000;
8561 MY(sizeincrease) = -5;
8563 MY(stretchfactor) = 1;
8566 MY(type) = "static";
8567 MY(underwater) = true;
8568 MY(velocityjitter) = '250.0 250.0 250.0';
8569 MY(velocitymultiplier) = 20;
8572 SUB(arc_lightning) {
8575 MY(alpha_fade) = 350;
8576 MY(color_min) = "0x80C0FF";
8577 MY(color_max) = "0x80C0FF";
8578 MY(countabsolute) = 1;
8579 MY(sizeincrease) = 400;
8585 MY(velocitymultiplier) = 100;
8591 MY(airfriction) = -10;
8592 MY(alpha_min) = 256;
8593 MY(alpha_max) = 256;
8594 MY(alpha_fade) = 16384;
8595 MY(color_min) = "0xfafad2";
8596 MY(color_max) = "0xffffff";
8597 MY(originjitter) = '3.0 3.0 3.0';
8598 MY(relativeoriginoffset) = '10.0 0.0 0.0';
8599 MY(startangle_max) = 360;
8601 MY(spin_max) = 1000;
8602 MY(stretchfactor) = 1;
8605 MY(time_min) = 0.050000;
8606 MY(time_max) = 0.050000;
8607 MY(trailspacing) = 10;
8609 MY(velocityjitter) = '100.0 100.0 100.0';
8610 MY(velocitymultiplier) = 200;
8612 // sparks on beam (underwater)
8614 MY(alpha_min) = 256;
8615 MY(alpha_max) = 256;
8616 MY(alpha_fade) = 16384;
8617 MY(color_min) = "0xfafad2";
8618 MY(color_max) = "0xffffff";
8619 MY(liquidfriction) = -10;
8620 MY(originjitter) = '30.0 30.0 30.0';
8621 MY(relativeoriginoffset) = '10.0 0.0 0.0';
8622 MY(startangle_max) = 360;
8624 MY(spin_max) = 1000;
8625 MY(stretchfactor) = 1;
8628 MY(time_min) = 0.001000;
8629 MY(time_max) = 0.001000;
8630 MY(trailspacing) = 10;
8632 MY(underwater) = true;
8633 MY(velocityjitter) = '100.0 100.0 100.0';
8634 MY(velocitymultiplier) = 200;
8639 SUB(arc_beam_heal) {
8640 MY(airfriction) = -20;
8641 MY(alpha_min) = 2048;
8642 MY(alpha_max) = 2048;
8643 MY(alpha_fade) = 256;
8644 MY(color_min) = "0x20FF20";
8645 MY(color_max) = "0x40FF40";
8646 MY(relativeoriginoffset) = '5.0 0.0 0.0';
8647 MY(relativevelocityoffset) = '100.0 0.0 0.0';
8648 MY(sizeincrease) = 20;
8649 MY(size_min) = 0.100000;
8650 MY(size_max) = 0.100000;
8653 MY(trailspacing) = 1500;
8655 MY(velocityjitter) = '3.0 3.0 3.0';
8656 MY(velocitymultiplier) = 200;
8659 DEF(arc_beam_healimpact);
8661 SUB(arc_beam_healimpact) {
8664 MY(alpha_fade) = 350;
8665 MY(color_min) = "0x00ff00";
8666 MY(color_max) = "0x84c52f";
8667 MY(countabsolute) = 1;
8668 MY(lightcolor) = '0.0 4.4 0.0';
8669 MY(lightradiusfade) = 150;
8670 MY(lightradius) = 20;
8671 MY(sizeincrease) = -1000;
8677 MY(velocitymultiplier) = 44;
8680 SUB(arc_beam_healimpact) {
8681 MY(airfriction) = 3;
8682 MY(alpha_min) = 200;
8683 MY(alpha_max) = 456;
8684 MY(alpha_fade) = 512;
8685 MY(color_min) = "0x00ff00";
8686 MY(color_max) = "0x84c52f";
8689 MY(startangle_min) = -180;
8690 MY(startangle_max) = 180;
8693 MY(size_min) = 0.500000;
8698 MY(velocityjitter) = '120.0 120.0 420.0';
8702 // arc heat smoke (notunderwater)
8704 MY(airfriction) = 1;
8707 MY(alpha_fade) = 48;
8708 MY(color_min) = "0x4c453f";
8709 MY(color_max) = "0x2a241f";
8711 MY(gravity) = -0.125000;
8712 MY(notunderwater) = true;
8713 MY(startangle_max) = 360;
8714 MY(spin_min) = -180;
8716 MY(sizeincrease) = 10;
8721 MY(velocityjitter) = '0.0 0.0 16.0';
8723 // arc heat bubbles (underwater)
8725 MY(alpha_min) = 170;
8726 MY(alpha_max) = 256;
8727 MY(alpha_fade) = 64;
8728 MY(bounce) = 1.500000;
8729 MY(color_min) = "0x404040";
8730 MY(color_max) = "0x808080";
8732 MY(gravity) = -0.125000;
8733 MY(liquidfriction) = 0.250000;
8734 MY(originjitter) = '6.0 6.0 6.0';
8735 MY(size_min) = 0.100000;
8739 MY(type) = "bubble";
8740 MY(underwater) = true;
8741 MY(velocityjitter) = '16.0 16.0 16.0';
8745 // arc overheat electric bolts
8747 MY(airfriction) = 5;
8748 MY(alpha_min) = 128;
8749 MY(alpha_max) = 128;
8750 MY(alpha_fade) = 292;
8751 MY(color_min) = "0xffffff";
8752 MY(color_max) = "0x9271fb";
8754 MY(gravity) = -0.400000;
8755 MY(liquidfriction) = 10;
8756 MY(originjitter) = '10.0 10.0 10.0';
8757 MY(sizeincrease) = -24;
8763 MY(velocityjitter) = '256.0 256.0 256.0';
8766 DEF(arc_overheat_fire);
8767 // arc overheat bouncing sparks
8768 SUB(arc_overheat_fire) {
8769 MY(alpha_max) = 256;
8770 MY(alpha_fade) = 640;
8771 MY(bounce) = 1.500000;
8772 MY(color_min) = "0x4444ff";
8773 MY(color_max) = "0xeeeeff";
8776 MY(liquidfriction) = 5;
8777 MY(originjitter) = '6.0 6.0 6.0';
8778 MY(size_min) = 0.400000;
8781 MY(velocityjitter) = '92.0 92.0 92.0';
8782 MY(velocitymultiplier) = 80;
8783 MY(velocityoffset) = '0.0 0.0 80.0';
8786 #include "effectinfo_buffs.inc"
8788 #include "effectinfo_instagib.inc"
8790 DEF(arc_muzzleflash);
8791 SUB(arc_muzzleflash) {
8792 MY(alpha_min) = 256;
8793 MY(alpha_max) = 256;
8794 MY(alpha_fade) = 512;
8795 MY(color_min) = "0x00ff00";
8796 MY(color_max) = "0x8f4333";
8798 MY(lightcolor) = '0.3 2.0 0.2';
8799 MY(lightradiusfade) = 2000;
8800 MY(lightradius) = 200;
8801 MY(originjitter) = '1.5 1.5 1.5';
8806 MY(velocityjitter) = '6.0 6.0 6.0';
8807 MY(velocitymultiplier) = 0.010000;
8809 SUB(arc_muzzleflash) {
8810 MY(airfriction) = 12;
8811 MY(alpha_max) = 128;
8812 MY(alpha_fade) = 1024;
8813 MY(color_min) = "0x00ff00";
8814 MY(color_max) = "0x8f4333";
8816 MY(originjitter) = '1.0 1.0 1.0';
8817 MY(startangle_min) = -180;
8818 MY(startangle_max) = 180;
8819 MY(spin_min) = -400;
8823 MY(stretchfactor) = 2;
8827 MY(velocityjitter) = '200.0 200.0 200.0';
8828 MY(velocitymultiplier) = 0.500000;
8831 DEF(arc_bolt_explode);
8833 SUB(arc_bolt_explode) {
8834 MY(alpha_min) = 256;
8835 MY(alpha_max) = 256;
8836 MY(countabsolute) = 1;
8837 MY(lightcolor) = '8.0 4.0 1.0';
8838 MY(lightradiusfade) = 400;
8839 MY(lightradius) = 120;
8840 MY(originjitter) = '14.0 14.0 14.0';
8847 // fire effect which make bright dot inside
8848 SUB(arc_bolt_explode) {
8849 MY(airfriction) = 8;
8851 MY(alpha_max) = 200;
8852 MY(alpha_fade) = 356;
8853 MY(bounce) = 1.500000;
8854 MY(color_min) = "0x00ffff";
8855 MY(color_max) = "0x00ffff";
8856 MY(count) = 3.500000;
8857 MY(liquidfriction) = 8;
8858 MY(notunderwater) = true;
8859 MY(originjitter) = '8.0 8.0 8.0';
8860 MY(sizeincrease) = 5;
8866 MY(velocityjitter) = '156.0 156.0 156.0';
8868 // fire effect which expands then slows
8869 SUB(arc_bolt_explode) {
8870 MY(airfriction) = 12;
8871 MY(alpha_min) = 128;
8872 MY(alpha_max) = 256;
8873 MY(alpha_fade) = 456;
8874 MY(bounce) = 1.500000;
8875 MY(color_min) = "0x00ff00";
8876 MY(color_max) = "0x8f4333";
8878 MY(liquidfriction) = 8;
8879 MY(notunderwater) = true;
8880 MY(originjitter) = '8.0 8.0 8.0';
8881 MY(sizeincrease) = 15;
8886 MY(type) = "static";
8887 MY(velocityjitter) = '286.0 286.0 286.0';
8889 // underwater bubbles
8890 SUB(arc_bolt_explode) {
8891 MY(alpha_min) = 128;
8892 MY(alpha_max) = 256;
8893 MY(alpha_fade) = 64;
8894 MY(bounce) = 1.500000;
8895 MY(color_min) = "0x404040";
8896 MY(color_max) = "0x808080";
8898 MY(gravity) = -0.125000;
8899 MY(liquidfriction) = 0.250000;
8900 MY(originjitter) = '16.0 16.0 16.0';
8905 MY(type) = "bubble";
8906 MY(underwater) = true;
8907 MY(velocityjitter) = '96.0 96.0 96.0';
8910 SUB(arc_bolt_explode) {
8911 MY(airfriction) = 1;
8912 MY(alpha_min) = 644;
8913 MY(alpha_max) = 956;
8914 MY(alpha_fade) = 684;
8915 MY(bounce) = 1.600000;
8916 MY(color_min) = "0x00ff00";
8917 MY(color_max) = "0x8f4333";
8920 MY(liquidfriction) = 0.800000;
8921 MY(notunderwater) = true;
8922 MY(originjitter) = '16.0 16.0 16.0';
8924 MY(size_max) = 0.100000;
8928 MY(velocityjitter) = '224.0 224.0 224.0';
8929 MY(velocityoffset) = '0.0 0.0 80.0';
8932 // weak bullet trail (somewhat like a tracer)
8933 DEF(tr_bullet_weak);
8934 SUB(tr_bullet_weak) {
8935 MY(alpha) = '75 100 3000';
8936 MY(color_min) = "0xf03000";
8937 MY(color_max) = "0xff6010";
8938 MY(countabsolute) = 1;
8939 MY(sizeincrease) = -3;
8946 SUB(tr_bullet_weak) {
8947 MY(airfriction) = -4;
8948 MY(alpha) = '256 256 350';
8949 MY(color_min) = "0x202020";
8950 MY(color_max) = "0x404040";
8951 MY(notunderwater) = true;
8952 MY(sizeincrease) = 0.4;
8957 MY(trailspacing) = 16;
8959 MY(velocityjitter) = '4 4 4';
8961 SUB(tr_bullet_weak) {
8962 MY(alpha_min) = 256;
8963 MY(alpha_max) = 256;
8964 MY(alpha_fade) = 128;
8965 MY(bounce) = 1.500000;
8966 MY(color_min) = "0x404040";
8967 MY(color_max) = "0x808080";
8968 MY(gravity) = -0.125000;
8969 MY(liquidfriction) = 4;
8974 MY(trailspacing) = 32;
8975 MY(type) = "bubble";
8976 MY(underwater) = true;
8977 MY(velocityjitter) = '16.0 16.0 16.0';