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 // Vaporizer hit effect
5159 SUB(TE_TEI_G3_HIT) {
5160 MY(alpha_min) = 128;
5161 MY(alpha_max) = 128;
5162 MY(alpha_fade) = 256;
5163 MY(color_min) = "0xFFFFFF";
5164 MY(color_max) = "0xFFFFFF";
5165 MY(countabsolute) = 1;
5172 SUB(TE_TEI_G3_HIT) /* rings */ {
5173 MY(airfriction) = -4;
5174 MY(alpha_min) = 256;
5175 MY(alpha_max) = 256;
5176 MY(alpha_fade) = 512;
5177 MY(color_min) = "0xFFFFFF";
5178 MY(color_max) = "0xFFFFFF";
5179 MY(sizeincrease) = -2;
5182 MY(trailspacing) = 20;
5184 MY(velocityjitter) = '2.0 2.0 2.0';
5186 SUB(TE_TEI_G3_HIT) {
5187 MY(airfriction) = -4;
5188 MY(alpha_min) = 256;
5189 MY(alpha_max) = 256;
5190 MY(alpha_fade) = 512;
5191 MY(color_min) = "0xFFFFFF";
5192 MY(color_max) = "0xFFFFFF";
5193 MY(sizeincrease) = -6;
5196 MY(trailspacing) = 40;
5200 #include "effectinfo_gentle_particlegibs.inc"
5202 #include "effectinfo_onslaught.inc"
5206 MY(airfriction) = 1.200000;
5208 MY(alpha_max) = 256;
5209 MY(alpha_fade) = 250;
5210 MY(bounce) = 1.500000;
5211 MY(color_min) = "0x8f0d00";
5212 MY(color_max) = "0xff5a00";
5213 MY(count) = 0.500000;
5214 MY(gravity) = -0.060000;
5215 MY(sizeincrease) = 5;
5220 MY(trailspacing) = 2;
5222 MY(velocityjitter) = '10.0 10.0 2.0';
5226 MY(airfriction) = 1.200000;
5228 MY(alpha_max) = 256;
5229 MY(alpha_fade) = 200;
5230 MY(bounce) = 1.500000;
5231 MY(color_min) = "0x8f0d00";
5232 MY(color_max) = "0xff5a00";
5233 MY(count) = 0.500000;
5234 MY(gravity) = -0.060000;
5235 MY(sizeincrease) = 5;
5240 MY(trailspacing) = 2;
5242 MY(velocityjitter) = '10.0 10.0 10.0';
5244 // very slow and small fire
5246 MY(airfriction) = 0.300000;
5248 MY(alpha_max) = 256;
5249 MY(alpha_fade) = 200;
5250 MY(bounce) = 1.500000;
5251 MY(color_min) = "0x8f0d00";
5252 MY(color_max) = "0xff5a00";
5253 MY(count) = 0.500000;
5254 MY(gravity) = -0.060000;
5255 MY(sizeincrease) = 2;
5260 MY(trailspacing) = 4;
5262 MY(velocityjitter) = '8.0 8.0 8.0';
5266 MY(airfriction) = 0.300000;
5268 MY(alpha_max) = 256;
5269 MY(alpha_fade) = 200;
5270 MY(bounce) = 1.500000;
5271 MY(color_min) = "0x8f0d00";
5272 MY(color_max) = "0xff5a00";
5273 MY(count) = 0.500000;
5274 MY(gravity) = -0.060000;
5275 MY(sizeincrease) = -3;
5280 MY(trailspacing) = 4;
5282 MY(velocityjitter) = '3.0 3.0 3.0';
5286 MY(airfriction) = 1;
5287 MY(alpha_min) = 256;
5288 MY(alpha_max) = 256;
5289 MY(alpha_fade) = 90;
5290 MY(color_min) = "0x000000";
5291 MY(color_max) = "0x111111";
5292 MY(count) = 0.500000;
5293 MY(originjitter) = '2.0 2.0 2.0';
5294 MY(sizeincrease) = 1;
5298 MY(trailspacing) = 8;
5299 MY(type) = "alphastatic";
5300 MY(velocityoffset) = '0.0 0.0 3.0';
5304 MY(airfriction) = 1.200000;
5306 MY(alpha_max) = 256;
5307 MY(alpha_fade) = 1600;
5308 MY(bounce) = 1.500000;
5309 MY(color_min) = "0x8f0d00";
5310 MY(color_max) = "0xff5a00";
5311 MY(count) = 0.500000;
5316 MY(trailspacing) = 1;
5321 MY(lightcolor) = '2.7 2.7 0.6';
5322 MY(lightradiusfade) = 50000;
5323 MY(lightradius) = 50;
5324 MY(trailspacing) = 16;
5329 MY(airfriction) = 1.200000;
5331 MY(alpha_max) = 256;
5332 MY(alpha_fade) = 250;
5333 MY(bounce) = 1.500000;
5334 MY(color_min) = "0x8f0d00";
5335 MY(color_max) = "0xff5a00";
5336 MY(count) = 0.500000;
5337 MY(gravity) = -0.060000;
5338 MY(sizeincrease) = 20;
5343 MY(trailspacing) = 2;
5345 MY(velocityjitter) = '40.0 40.0 11.0';
5349 MY(airfriction) = 1.200000;
5351 MY(alpha_max) = 256;
5352 MY(alpha_fade) = 200;
5353 MY(bounce) = 1.500000;
5354 MY(color_min) = "0x8f0d00";
5355 MY(color_max) = "0xff5a00";
5356 MY(count) = 0.500000;
5357 MY(gravity) = -0.060000;
5358 MY(sizeincrease) = 20;
5363 MY(trailspacing) = 2;
5365 MY(velocityjitter) = '40.0 40.0 40.0';
5367 // very slow and small fire
5369 MY(airfriction) = 0.300000;
5371 MY(alpha_max) = 256;
5372 MY(alpha_fade) = 200;
5373 MY(bounce) = 1.500000;
5374 MY(color_min) = "0x8f0d00";
5375 MY(color_max) = "0xff5a00";
5376 MY(count) = 0.500000;
5377 MY(gravity) = -0.060000;
5378 MY(sizeincrease) = 10;
5383 MY(trailspacing) = 4;
5385 MY(velocityjitter) = '30.0 30.0 30.0';
5389 MY(airfriction) = 0.300000;
5391 MY(alpha_max) = 256;
5392 MY(alpha_fade) = 200;
5393 MY(bounce) = 1.500000;
5394 MY(color_min) = "0x8f0d00";
5395 MY(color_max) = "0xff5a00";
5396 MY(count) = 0.500000;
5397 MY(gravity) = -0.060000;
5398 MY(sizeincrease) = -10;
5403 MY(trailspacing) = 4;
5405 MY(velocityjitter) = '10.0 10.0 10.0';
5409 MY(airfriction) = 1;
5410 MY(alpha_min) = 256;
5411 MY(alpha_max) = 256;
5412 MY(alpha_fade) = 90;
5413 MY(color_min) = "0x000000";
5414 MY(color_max) = "0x111111";
5415 MY(count) = 0.500000;
5416 MY(originjitter) = '10.0 10.0 10.0';
5417 MY(sizeincrease) = 7;
5421 MY(trailspacing) = 8;
5422 MY(type) = "alphastatic";
5423 MY(velocityoffset) = '0.0 0.0 10.0';
5427 MY(airfriction) = 1.200000;
5429 MY(alpha_max) = 256;
5430 MY(alpha_fade) = 1600;
5431 MY(bounce) = 1.500000;
5432 MY(color_min) = "0x8f0d00";
5433 MY(color_max) = "0xff5a00";
5434 MY(count) = 0.500000;
5439 MY(trailspacing) = 1;
5444 MY(lightcolor) = '2.7 2.7 0.6';
5445 MY(lightradiusfade) = 3000;
5446 MY(lightradius) = 300;
5447 MY(trailspacing) = 16;
5450 DEF(fireball_laser);
5451 SUB(fireball_laser) {
5452 MY(alpha_min) = 192;
5453 MY(alpha_max) = 256;
5454 MY(alpha_fade) = 2560;
5455 MY(color_min) = "0x800000";
5456 MY(color_max) = "0xFF8020";
5460 MY(stretchfactor) = 0.700000;
5462 MY(velocityjitter) = '1.0 1.0 1.0';
5463 MY(velocitymultiplier) = 10;
5466 // rocket explosion (bigger than mortar and hagar)
5467 DEF(fireball_explode);
5469 SUB(fireball_explode) {
5470 MY(alpha_min) = 256;
5471 MY(alpha_max) = 256;
5472 MY(countabsolute) = 1;
5473 MY(lightcolor) = '4.0 2.0 0.5';
5474 MY(lightradiusfade) = 500;
5475 MY(lightradius) = 500;
5476 MY(originjitter) = '56.0 56.0 56.0';
5484 SUB(fireball_explode) {
5485 MY(alpha_min) = 192;
5486 MY(alpha_max) = 192;
5487 MY(alpha_fade) = 64;
5488 MY(color_min) = "0x404040";
5489 MY(color_max) = "0x404040";
5490 MY(countabsolute) = 1;
5495 MY(type) = "static";
5498 SUB(fireball_explode) {
5499 MY(airfriction) = 4;
5500 MY(alpha_min) = 128;
5501 MY(alpha_max) = 128;
5502 MY(alpha_fade) = 256;
5503 MY(bounce) = 1.500000;
5504 MY(color_min) = "0x902010";
5505 MY(color_max) = "0xFFD080";
5507 MY(liquidfriction) = 4;
5508 MY(notunderwater) = true;
5509 MY(originjitter) = '8.0 8.0 8.0';
5514 MY(type) = "static";
5515 MY(velocityjitter) = '512.0 512.0 512.0';
5517 // underwater bubbles
5518 SUB(fireball_explode) {
5519 MY(alpha_min) = 128;
5520 MY(alpha_max) = 256;
5521 MY(alpha_fade) = 64;
5522 MY(bounce) = 1.500000;
5523 MY(color_min) = "0x404040";
5524 MY(color_max) = "0x808080";
5526 MY(gravity) = -0.125000;
5527 MY(liquidfriction) = 0.250000;
5528 MY(originjitter) = '16.0 16.0 16.0';
5533 MY(type) = "bubble";
5534 MY(underwater) = true;
5535 MY(velocityjitter) = '144.0 144.0 144.0';
5538 SUB(fireball_explode) {
5539 MY(airfriction) = 0.200000;
5540 MY(alpha_min) = 256;
5541 MY(alpha_max) = 256;
5542 MY(alpha_fade) = 384;
5543 MY(bounce) = 1.500000;
5544 MY(color_min) = "0x903010";
5545 MY(color_max) = "0xFFD030";
5548 MY(liquidfriction) = 0.800000;
5549 MY(notunderwater) = true;
5553 MY(velocityjitter) = '384.0 384.0 384.0';
5554 MY(velocityoffset) = '0.0 0.0 80.0';
5557 DEF(fireball_muzzleflash);
5558 SUB(fireball_muzzleflash) {
5559 MY(alpha_min) = 256;
5560 MY(alpha_max) = 256;
5561 MY(alpha_fade) = 512;
5562 MY(color_min) = "0x202020";
5563 MY(color_max) = "0x404040";
5565 MY(lightcolor) = '2.0 1.5 0.2';
5566 MY(lightradiusfade) = 2000;
5567 MY(lightradius) = 200;
5568 MY(originjitter) = '1.5 1.5 1.5';
5573 MY(velocityjitter) = '6.0 6.0 6.0';
5574 MY(velocitymultiplier) = 0.010000;
5576 SUB(fireball_muzzleflash) {
5577 MY(airfriction) = 12;
5578 MY(alpha_max) = 128;
5579 MY(alpha_fade) = 1024;
5580 MY(color_min) = "0xFFFDD9";
5581 MY(color_max) = "0xFFFDD9";
5583 MY(originjitter) = '1.0 1.0 1.0';
5589 MY(velocityjitter) = '300.0 300.0 300.0';
5590 MY(velocitymultiplier) = 0.500000;
5593 DEF(fireball_preattack_muzzleflash);
5594 SUB(fireball_preattack_muzzleflash) {
5595 MY(alpha_min) = 256;
5596 MY(alpha_max) = 256;
5597 MY(alpha_fade) = 512;
5598 MY(color_min) = "0x202020";
5599 MY(color_max) = "0x404040";
5601 MY(lightcolor) = '2.0 1.5 0.2';
5602 MY(lightradiusfade) = 2000;
5603 MY(lightradius) = 200;
5604 MY(originjitter) = '1.5 1.5 1.5';
5609 MY(velocityjitter) = '6.0 6.0 6.0';
5610 MY(velocitymultiplier) = 0.010000;
5612 SUB(fireball_preattack_muzzleflash) {
5613 MY(airfriction) = 12;
5614 MY(alpha_max) = 128;
5615 MY(alpha_fade) = 1024;
5616 MY(color_min) = "0xFFFDD9";
5617 MY(color_max) = "0xFFFDD9";
5619 MY(originjitter) = '1.0 1.0 1.0';
5625 MY(velocityjitter) = '300.0 300.0 300.0';
5626 MY(velocitymultiplier) = 0.500000;
5629 DEF(fireball_bfgdamage);
5630 SUB(fireball_bfgdamage) {
5631 MY(alpha_min) = 256;
5632 MY(alpha_max) = 256;
5633 MY(alpha_fade) = 512;
5634 MY(color_min) = "0x202020";
5635 MY(color_max) = "0x404040";
5637 MY(lightcolor) = '2.0 1.5 0.2';
5638 MY(lightradiusfade) = 2000;
5639 MY(lightradius) = 200;
5640 MY(originjitter) = '1.5 1.5 1.5';
5645 MY(velocityjitter) = '6.0 6.0 6.0';
5646 MY(velocitymultiplier) = 0.010000;
5648 SUB(fireball_bfgdamage) {
5649 MY(airfriction) = 12;
5650 MY(alpha_max) = 128;
5651 MY(alpha_fade) = 1024;
5652 MY(color_min) = "0xFFFDD9";
5653 MY(color_max) = "0xFFFDD9";
5655 MY(originjitter) = '1.0 1.0 1.0';
5661 MY(velocityjitter) = '300.0 300.0 300.0';
5662 MY(velocitymultiplier) = 0.500000;
5668 MY(alpha_min) = 200;
5669 MY(alpha_max) = 356;
5670 MY(alpha_fade) = 512;
5672 MY(color_min) = "0x8f0d00";
5673 MY(color_max) = "0xff5a00";
5675 MY(gravity) = -0.500000;
5676 MY(originjitter) = '12.0 12.0 34.0';
5677 MY(originoffset) = '0.0 0.0 10.0';
5678 MY(sizeincrease) = -1;
5684 MY(velocityjitter) = '22.0 22.0 50.0';
5688 MY(alpha_min) = 200;
5689 MY(alpha_max) = 256;
5690 MY(alpha_fade) = 200;
5692 MY(color_min) = "0x000000";
5693 MY(color_max) = "0x111111";
5695 MY(gravity) = -0.300000;
5696 MY(originjitter) = '12.0 12.0 34.0';
5697 MY(originoffset) = '0.0 0.0 10.0';
5698 MY(sizeincrease) = 6;
5702 MY(type) = "alphastatic";
5703 MY(velocityjitter) = '11.0 11.0 50.0';
5706 MY(count) = 0.500000;
5707 MY(lightcolor) = '0.9 0.9 0.2';
5708 MY(lightradiusfade) = 10000;
5709 MY(lightradius) = 200;
5712 // rifle bullet trail (somewhat like a tracer)
5715 MY(alpha_min) = 256;
5716 MY(alpha_max) = 256;
5717 MY(alpha_fade) = 2560;
5718 MY(color_min) = "0x800000";
5719 MY(color_max) = "0xFF8020";
5720 MY(size_min) = 1.500000;
5721 MY(size_max) = 1.500000;
5722 MY(stretchfactor) = 1;
5723 MY(trailspacing) = 128;
5725 MY(velocitymultiplier) = 0.700000;
5728 MY(airfriction) = -4;
5729 MY(alpha_min) = 256;
5730 MY(alpha_max) = 256;
5731 MY(alpha_fade) = 256;
5732 MY(color_min) = "0x202020";
5733 MY(color_max) = "0x404040";
5734 MY(notunderwater) = true;
5735 MY(sizeincrease) = 0.400000;
5739 MY(trailspacing) = 8;
5741 MY(velocityjitter) = '4.0 4.0 4.0';
5744 MY(alpha_min) = 256;
5745 MY(alpha_max) = 256;
5746 MY(alpha_fade) = 128;
5747 MY(bounce) = 1.500000;
5748 MY(color_min) = "0x404040";
5749 MY(color_max) = "0x808080";
5750 MY(gravity) = -0.125000;
5751 MY(liquidfriction) = 4;
5756 MY(trailspacing) = 32;
5757 MY(type) = "bubble";
5758 MY(underwater) = true;
5759 MY(velocityjitter) = '16.0 16.0 16.0';
5762 // rocket guiding start
5764 // underwater bubbles
5766 MY(alpha_min) = 128;
5767 MY(alpha_max) = 256;
5768 MY(alpha_fade) = 64;
5769 MY(bounce) = 1.500000;
5770 MY(color_min) = "0x404040";
5771 MY(color_max) = "0x808080";
5773 MY(gravity) = -0.125000;
5774 MY(liquidfriction) = 0.250000;
5775 MY(originjitter) = '8.0 8.0 8.0';
5776 MY(size_min) = 1.500000;
5777 MY(size_max) = 1.500000;
5780 MY(type) = "bubble";
5781 MY(underwater) = true;
5782 MY(velocityjitter) = '48.0 48.0 48.0';
5783 MY(velocitymultiplier) = -0.100000;
5787 MY(airfriction) = 0.200000;
5788 MY(alpha_min) = 256;
5789 MY(alpha_max) = 256;
5790 MY(alpha_fade) = 984;
5791 MY(bounce) = 1.500000;
5792 MY(color_min) = "0x903010";
5793 MY(color_max) = "0xFFD030";
5796 MY(liquidfriction) = 0.800000;
5797 MY(notunderwater) = true;
5798 MY(size_min) = 0.300000;
5799 MY(size_max) = 0.700000;
5800 MY(stretchfactor) = 0.400000;
5804 MY(velocityjitter) = '156.0 156.0 156.0';
5805 MY(velocitymultiplier) = -0.300000;
5806 MY(velocityoffset) = '0.0 0.0 80.0';
5809 MY(alpha_min) = 100;
5810 MY(alpha_max) = 100;
5811 MY(alpha_fade) = 500;
5812 MY(color_min) = "0x903010";
5813 MY(color_max) = "0xFFD030";
5814 MY(countabsolute) = 1;
5815 MY(sizeincrease) = 300;
5824 DEF(laser_gauntlet);
5825 SUB(laser_gauntlet) {
5826 MY(airfriction) = 10;
5827 MY(alpha_min) = 128;
5828 MY(alpha_max) = 512;
5829 MY(alpha_fade) = 6280;
5830 MY(color_min) = "0xb44215";
5831 MY(color_max) = "0x880000";
5833 MY(originjitter) = '2.0 2.0 2.0';
5834 MY(startangle_min) = -180;
5835 MY(startangle_max) = 180;
5836 MY(spin_min) = 4000;
5837 MY(spin_max) = -4000;
5838 MY(sizeincrease) = -100;
5841 MY(stretchfactor) = 2.300000;
5845 MY(velocityjitter) = '150.0 150.0 150.0';
5846 MY(velocitymultiplier) = 0.200000;
5848 SUB(laser_gauntlet) {
5849 MY(airfriction) = 12;
5850 MY(alpha_min) = 256;
5851 MY(alpha_max) = 512;
5852 MY(alpha_fade) = 6280;
5853 MY(color_min) = "0xff4200";
5854 MY(color_max) = "0xff0000";
5856 MY(originjitter) = '2.0 2.0 2.0';
5857 MY(sizeincrease) = -100;
5860 MY(stretchfactor) = 2;
5864 MY(velocityjitter) = '100.0 100.0 100.0';
5865 MY(velocitymultiplier) = 0.200000;
5868 DEF(laser_gauntletmuzzleflash);
5870 SUB(laser_gauntletmuzzleflash) {
5871 MY(airfriction) = 10;
5872 MY(alpha_min) = 256;
5873 MY(alpha_max) = 512;
5874 MY(alpha_fade) = 6280;
5875 MY(color_min) = "0x220000";
5876 MY(color_max) = "0x880000";
5877 MY(countabsolute) = 1;
5878 MY(lightcolor) = '3.0 0.1 0.1';
5879 MY(lightradiusfade) = 500;
5880 MY(lightradius) = 150;
5881 MY(sizeincrease) = -100;
5884 MY(stretchfactor) = 2;
5890 SUB(laser_gauntletmuzzleflash) {
5891 MY(airfriction) = 10;
5892 MY(alpha_min) = 128;
5893 MY(alpha_max) = 512;
5894 MY(alpha_fade) = 6280;
5895 MY(color_min) = "0xb44215";
5896 MY(color_max) = "0x880000";
5898 MY(originjitter) = '2.0 2.0 2.0';
5899 MY(startangle_min) = -180;
5900 MY(startangle_max) = 180;
5901 MY(spin_min) = 4000;
5902 MY(spin_max) = -4000;
5903 MY(sizeincrease) = -100;
5906 MY(stretchfactor) = 2.300000;
5910 MY(velocityjitter) = '150.0 150.0 150.0';
5911 MY(velocitymultiplier) = 0.200000;
5914 SUB(laser_gauntletmuzzleflash) {
5915 MY(airfriction) = 12;
5916 MY(alpha_min) = 256;
5917 MY(alpha_max) = 512;
5918 MY(alpha_fade) = 6280;
5919 MY(color_min) = "0xff4200";
5920 MY(color_max) = "0xff0000";
5922 MY(originjitter) = '2.0 2.0 2.0';
5923 MY(sizeincrease) = -100;
5926 MY(stretchfactor) = 2;
5930 MY(velocityjitter) = '100.0 100.0 100.0';
5931 MY(velocitymultiplier) = 0.200000;
5934 // torch flame, spawn it as fast as you can 20 times per second or more, supports direction but not required
5938 MY(airfriction) = 1.200000;
5940 MY(alpha_max) = 256;
5941 MY(alpha_fade) = 250;
5942 MY(color_min) = "0x8f0d00";
5943 MY(color_max) = "0xff5a00";
5945 MY(gravity) = -0.060000;
5946 MY(sizeincrease) = 20;
5952 MY(velocityjitter) = '40.0 40.0 11.0';
5953 MY(velocitymultiplier) = 30;
5957 MY(airfriction) = 1.200000;
5959 MY(alpha_max) = 256;
5960 MY(alpha_fade) = 200;
5961 MY(color_min) = "0x8f0d00";
5962 MY(color_max) = "0xff5a00";
5963 MY(count) = 2.500000;
5964 MY(gravity) = -0.060000;
5965 MY(sizeincrease) = 20;
5971 MY(velocityjitter) = '40.0 40.0 40.0';
5972 MY(velocitymultiplier) = 20;
5974 // very slow and small fire
5976 MY(airfriction) = 0.300000;
5978 MY(alpha_max) = 256;
5979 MY(alpha_fade) = 200;
5980 MY(color_min) = "0x8f0d00";
5981 MY(color_max) = "0xff5a00";
5982 MY(count) = 1.500000;
5983 MY(gravity) = -0.060000;
5984 MY(sizeincrease) = 10;
5990 MY(velocityjitter) = '30.0 30.0 30.0';
5991 MY(velocitymultiplier) = 10;
5995 MY(airfriction) = 0.300000;
5997 MY(alpha_max) = 256;
5998 MY(alpha_fade) = 200;
5999 MY(color_min) = "0x8f0d00";
6000 MY(color_max) = "0xff5a00";
6002 MY(gravity) = -0.060000;
6003 MY(sizeincrease) = -10;
6009 MY(velocityjitter) = '10.0 10.0 10.0';
6010 MY(velocitymultiplier) = 15;
6014 MY(airfriction) = 1;
6015 MY(alpha_min) = 256;
6016 MY(alpha_max) = 256;
6017 MY(alpha_fade) = 90;
6018 MY(color_min) = "0x000000";
6019 MY(color_max) = "0x111111";
6020 MY(count) = 0.500000;
6021 MY(originjitter) = '10.0 10.0 10.0';
6022 MY(sizeincrease) = 7;
6026 MY(type) = "alphastatic";
6027 MY(velocitymultiplier) = 20;
6028 MY(velocityoffset) = '0.0 0.0 10.0';
6031 #include "effectinfo_gentle_happy.inc"
6033 DEF(electro_lightning);
6034 SUB(electro_lightning) {
6035 MY(alpha_min) = 256;
6036 MY(alpha_max) = 256;
6037 MY(countabsolute) = 1;
6038 MY(lightcolor) = '3.1 4.4 10.0';
6039 MY(lightradiusfade) = 500;
6040 MY(lightradius) = 50;
6041 MY(originjitter) = '2.0 2.0 2.0';
6048 SUB(electro_lightning) {
6049 MY(alpha_min) = 100;
6050 MY(alpha_max) = 206;
6051 MY(alpha_fade) = 1724;
6052 MY(color_min) = "0x2030FF";
6053 MY(color_max) = "0x80C0FF";
6055 MY(originjitter) = '1.5 1.5 1.5';
6056 MY(sizeincrease) = 10;
6062 MY(velocityjitter) = '6.0 6.0 6.0';
6063 MY(velocitymultiplier) = 2000;
6065 SUB(electro_lightning) {
6066 MY(airfriction) = 2;
6067 MY(alpha_min) = 110;
6068 MY(alpha_max) = 170;
6069 MY(alpha_fade) = 1500;
6070 MY(color_min) = "0xDDFDFF";
6071 MY(color_max) = "0xFDFDFF";
6073 MY(originjitter) = '1.0 1.0 1.0';
6076 MY(stretchfactor) = 1.500000;
6080 MY(velocityjitter) = '150.0 150.0 150.0';
6081 MY(velocitymultiplier) = 0.500000;
6083 SUB(electro_lightning) {
6084 MY(airfriction) = 8;
6085 MY(alpha_min) = 110;
6086 MY(alpha_max) = 170;
6087 MY(alpha_fade) = 1500;
6088 MY(color_min) = "0xFDFDFF";
6089 MY(color_max) = "0xF9FDFF";
6091 MY(gravity) = 1.300000;
6092 MY(originjitter) = '1.0 1.0 1.0';
6095 MY(stretchfactor) = 0.100000;
6099 MY(velocityjitter) = '350.0 350.0 350.0';
6100 MY(velocitymultiplier) = 2.500000;
6103 DEF(gauntlet_lightning);
6104 SUB(gauntlet_lightning) {
6105 MY(alpha_min) = 256;
6106 MY(alpha_max) = 256;
6107 MY(alpha_fade) = 1024;
6108 MY(color_min) = "0x280000";
6109 MY(color_max) = "0x280000";
6111 MY(originjitter) = '1.5 1.5 1.5';
6112 MY(sizeincrease) = 15;
6118 MY(velocityjitter) = '6.0 6.0 6.0';
6119 MY(velocitymultiplier) = 2000;
6121 SUB(gauntlet_lightning) {
6122 MY(airfriction) = 2;
6123 MY(alpha_min) = 110;
6124 MY(alpha_max) = 228;
6125 MY(alpha_fade) = 1024;
6126 MY(color_min) = "0xDD0000";
6127 MY(color_max) = "0xFD0000";
6129 MY(originjitter) = '1.0 1.0 1.0';
6132 MY(stretchfactor) = 1.500000;
6136 MY(velocityjitter) = '150.0 150.0 150.0';
6137 MY(velocitymultiplier) = 0.500000;
6139 SUB(gauntlet_lightning) {
6140 MY(airfriction) = 8;
6141 MY(alpha_min) = 110;
6142 MY(alpha_max) = 228;
6143 MY(alpha_fade) = 600;
6144 MY(color_min) = "0xFD0000";
6145 MY(color_max) = "0xF90000";
6147 MY(gravity) = 1.300000;
6148 MY(originjitter) = '1.0 1.0 1.0';
6151 MY(stretchfactor) = 0.100000;
6155 MY(velocityjitter) = '350.0 350.0 350.0';
6156 MY(velocitymultiplier) = 2.500000;
6159 DEF(crylink_joinexplode);
6161 SUB(crylink_joinexplode) {
6162 MY(alpha_min) = 256;
6163 MY(alpha_max) = 256;
6164 MY(countabsolute) = 1;
6165 MY(originjitter) = '12.0 12.0 12.0';
6172 // purple flare effect
6173 SUB(crylink_joinexplode) {
6174 MY(alpha_min) = 256;
6175 MY(alpha_max) = 256;
6176 MY(alpha_fade) = 512;
6177 MY(color_min) = "0x504060";
6178 MY(color_max) = "0x504060";
6179 MY(countabsolute) = 1;
6184 MY(type) = "static";
6187 SUB(crylink_joinexplode) {
6188 MY(alpha_min) = 256;
6189 MY(alpha_max) = 256;
6190 MY(alpha_fade) = 1024;
6192 MY(color_min) = "0xA040C0";
6193 MY(color_max) = "0xA040C0";
6200 MY(velocityjitter) = '512.0 512.0 512.0';
6203 SUB(crylink_joinexplode) {
6204 MY(alpha_min) = 256;
6205 MY(alpha_max) = 256;
6206 MY(alpha_fade) = 512;
6207 MY(color_min) = "0xE070FF";
6208 MY(color_max) = "0xE070FF";
6209 MY(count) = 1.500000;
6212 MY(type) = "static";
6213 MY(velocityjitter) = '32.0 32.0 32.0';
6216 SUB(crylink_joinexplode) {
6217 MY(alpha_min) = 256;
6218 MY(alpha_max) = 256;
6219 MY(alpha_fade) = 1024;
6220 MY(color_min) = "0xE070FF";
6221 MY(color_max) = "0xE070FF";
6225 MY(type) = "static";
6226 MY(velocityjitter) = '256.0 256.0 256.0';
6229 // sparks for keepaway ball touch
6231 SUB(kaball_sparks) {
6232 MY(airfriction) = 3;
6233 MY(alpha_max) = 256;
6234 MY(alpha_fade) = 556;
6235 MY(bounce) = 1.500000;
6236 MY(color_min) = "0xa9cacf";
6237 MY(color_max) = "0x0054ff";
6240 MY(originjitter) = '1.0 1.0 1.0';
6246 MY(velocityjitter) = '300.0 300.0 300.0';
6247 MY(velocitymultiplier) = 0.500000;
6250 // weak rifle bullet trail (somewhat like a tracer)
6252 SUB(tr_rifle_weak) {
6253 MY(alpha_min) = 256;
6254 MY(alpha_max) = 256;
6255 MY(alpha_fade) = 2560;
6256 MY(color_min) = "0x800000";
6257 MY(color_max) = "0xFF8020";
6258 MY(size_min) = 1.500000;
6259 MY(size_max) = 1.500000;
6260 MY(stretchfactor) = 1;
6261 MY(trailspacing) = 128;
6263 MY(velocitymultiplier) = 0.700000;
6265 SUB(tr_rifle_weak) {
6266 MY(airfriction) = -4;
6267 MY(alpha_min) = 256;
6268 MY(alpha_max) = 256;
6269 MY(alpha_fade) = 256;
6270 MY(color_min) = "0x202020";
6271 MY(color_max) = "0x404040";
6272 MY(notunderwater) = true;
6273 MY(sizeincrease) = 0.400000;
6277 MY(trailspacing) = 48;
6279 MY(velocityjitter) = '4.0 4.0 4.0';
6281 SUB(tr_rifle_weak) {
6282 MY(alpha_min) = 256;
6283 MY(alpha_max) = 256;
6284 MY(alpha_fade) = 128;
6285 MY(bounce) = 1.500000;
6286 MY(color_min) = "0x404040";
6287 MY(color_max) = "0x808080";
6288 MY(gravity) = -0.125000;
6289 MY(liquidfriction) = 4;
6294 MY(trailspacing) = 192;
6295 MY(type) = "bubble";
6296 MY(underwater) = true;
6297 MY(velocityjitter) = '16.0 16.0 16.0';
6303 MY(airfriction) = -1;
6306 MY(alpha_fade) = 32;
6307 MY(color_min) = "0xff8866";
6308 MY(color_max) = "0x331100";
6310 MY(gravity) = -0.007000;
6311 MY(startangle_max) = 360;
6318 MY(velocitymultiplier) = 5;
6321 // pipe smoke emiter
6324 MY(airfriction) = -1;
6327 MY(alpha_fade) = 48;
6328 MY(color_min) = "0x999999";
6329 MY(color_max) = "0x555555";
6331 MY(gravity) = -0.015000;
6332 MY(startangle_max) = 360;
6333 MY(spin_min) = -180;
6335 MY(sizeincrease) = 35;
6340 MY(velocityjitter) = '0.0 0.0 5.0';
6341 MY(velocitymultiplier) = 15;
6344 // seeker missile trail
6347 MY(alpha_min) = 200;
6348 MY(alpha_max) = 300;
6349 MY(alpha_fade) = 200;
6351 MY(color_min) = "0x000000";
6352 MY(color_max) = "0x666666";
6353 MY(lightcolor) = '6.0 3.0 1.0';
6354 MY(lightradius) = 100;
6355 MY(notunderwater) = true;
6356 MY(originjitter) = '2.0 2.0 2.0';
6357 MY(startangle_min) = -180;
6358 MY(startangle_max) = 180;
6361 MY(sizeincrease) = 11;
6365 MY(trailspacing) = 10;
6367 MY(velocityjitter) = '3.0 3.0 3.0';
6368 MY(velocitymultiplier) = -0.020000;
6372 MY(airfriction) = 8;
6373 MY(alpha_min) = 100;
6374 MY(alpha_max) = 144;
6375 MY(alpha_fade) = 588;
6376 MY(color_min) = "0xffdf72";
6377 MY(color_max) = "0x811200";
6378 MY(sizeincrease) = -30;
6383 MY(trailspacing) = 4;
6384 MY(type) = "static";
6385 MY(velocityjitter) = '32.0 32.0 32.0';
6386 MY(velocitymultiplier) = -1.500000;
6390 MY(alpha_min) = 256;
6391 MY(alpha_max) = 256;
6392 MY(alpha_fade) = 256;
6393 MY(bounce) = 1.500000;
6394 MY(gravity) = -0.125000;
6395 MY(liquidfriction) = 4;
6400 MY(trailspacing) = 16;
6401 MY(type) = "bubble";
6402 MY(underwater) = true;
6403 MY(velocityjitter) = '16.0 16.0 16.0';
6404 MY(velocitymultiplier) = -0.310000;
6408 MY(airfriction) = 5;
6409 MY(alpha_min) = 444;
6410 MY(alpha_max) = 512;
6411 MY(alpha_fade) = 1866;
6413 MY(color_min) = "0xFFFDD9";
6414 MY(color_max) = "0xFFFDD9";
6415 MY(notunderwater) = true;
6416 MY(originjitter) = '1.0 1.0 1.0';
6417 MY(size_min) = 0.500000;
6418 MY(size_max) = 0.500000;
6419 MY(stretchfactor) = 0.300000;
6422 MY(trailspacing) = 20;
6424 MY(velocityjitter) = '100.0 100.0 100.0';
6425 MY(velocitymultiplier) = -0.310000;
6428 #include "effectinfo_vehicles.inc"
6430 // generic explosion size:big (biggest explosion ever)
6433 SUB(explosion_big) {
6434 MY(alpha_min) = 256;
6435 MY(alpha_max) = 256;
6436 MY(countabsolute) = 1;
6437 MY(lightcolor) = '8.0 4.0 0.0';
6438 MY(lightradiusfade) = 1750;
6439 MY(lightradius) = 600;
6440 MY(originjitter) = '23.0 23.0 23.0';
6448 SUB(explosion_big) {
6451 MY(alpha_fade) = 330;
6452 MY(color_min) = "0x8f0d00";
6453 MY(color_max) = "0xff5a00";
6454 MY(countabsolute) = 1;
6455 MY(sizeincrease) = 4400;
6460 MY(type) = "static";
6463 SUB(explosion_big) {
6464 MY(airfriction) = 8;
6465 MY(alpha_min) = 200;
6466 MY(alpha_max) = 256;
6467 MY(alpha_fade) = 712;
6468 MY(color_min) = "0x8f0d00";
6469 MY(color_max) = "0xff5a00";
6471 MY(liquidfriction) = 8;
6472 MY(notunderwater) = true;
6473 MY(originjitter) = '80.0 80.0 80.0';
6474 MY(sizeincrease) = 45;
6479 MY(type) = "static";
6480 MY(velocityjitter) = '2512.0 2512.0 2512.0';
6483 SUB(explosion_big) {
6484 MY(airfriction) = -5;
6485 MY(alpha_min) = 200;
6486 MY(alpha_max) = 256;
6487 MY(alpha_fade) = 800;
6488 MY(color_min) = "0x8f0d00";
6489 MY(color_max) = "0xff5a00";
6491 MY(liquidfriction) = 8;
6492 MY(notunderwater) = true;
6493 MY(originjitter) = '40.0 40.0 40.0';
6494 MY(sizeincrease) = 45;
6497 MY(stretchfactor) = 10;
6501 MY(velocityjitter) = '512.0 512.0 512.0';
6504 SUB(explosion_big) {
6505 MY(airfriction) = 8;
6506 MY(alpha_min) = 300;
6507 MY(alpha_max) = 650;
6508 MY(alpha_fade) = 456;
6509 MY(color_min) = "0x4F4B46";
6510 MY(color_max) = "0x000000";
6512 MY(notunderwater) = true;
6513 MY(sizeincrease) = 244;
6517 MY(type) = "alphastatic";
6518 MY(velocityjitter) = '3444.0 3444.0 3444.0';
6521 SUB(explosion_big) {
6522 MY(airfriction) = 1;
6523 MY(alpha_min) = 644;
6524 MY(alpha_max) = 956;
6525 MY(alpha_fade) = 1284;
6526 MY(color_min) = "0xffa35b";
6527 MY(color_max) = "0xfff2be";
6530 MY(liquidfriction) = 0.800000;
6531 MY(notunderwater) = true;
6532 MY(originjitter) = '160.0 160.0 160.0';
6535 MY(stretchfactor) = 0.700000;
6539 MY(velocityjitter) = '924.0 924.0 924.0';
6540 MY(velocityoffset) = '0.0 0.0 370.0';
6543 SUB(explosion_big) {
6544 MY(airfriction) = 0.500000;
6545 MY(alpha_min) = 444;
6546 MY(alpha_max) = 1356;
6547 MY(alpha_fade) = 1184;
6548 MY(color_min) = "0xFFFFFF";
6549 MY(color_max) = "0xcac5b4";
6551 MY(gravity) = 2.300000;
6552 MY(notunderwater) = true;
6553 MY(startangle_min) = -180;
6554 MY(startangle_max) = 180;
6555 MY(spin_min) = -1000;
6556 MY(spin_max) = 1000;
6557 MY(sizeincrease) = -5;
6562 MY(type) = "alphastatic";
6563 MY(velocityjitter) = '1800.0 1800.0 1800.0';
6564 MY(velocityoffset) = '0.0 0.0 970.0';
6566 // underwater bubbles
6567 SUB(explosion_big) {
6568 MY(alpha_min) = 128;
6569 MY(alpha_max) = 256;
6570 MY(alpha_fade) = 64;
6571 MY(bounce) = 1.500000;
6572 MY(color_min) = "0x404040";
6573 MY(color_max) = "0x808080";
6575 MY(gravity) = -0.125000;
6576 MY(liquidfriction) = 0.250000;
6577 MY(originjitter) = '160.0 160.0 160.0';
6582 MY(type) = "bubble";
6583 MY(underwater) = true;
6584 MY(velocityjitter) = '444.0 444.0 444.0';
6586 // underwatershockwave
6587 SUB(explosion_big) {
6590 MY(alpha_fade) = 300;
6591 MY(countabsolute) = 1;
6592 MY(sizeincrease) = 2900;
6598 MY(underwater) = true;
6599 MY(velocitymultiplier) = 0.300000;
6602 // generic explosion size:medium (it leaves rising smoke for a longer time)
6603 DEF(explosion_medium);
6605 SUB(explosion_medium) {
6608 MY(alpha_fade) = 330;
6609 MY(color_min) = "0x8f0d00";
6610 MY(color_max) = "0xff5a00";
6611 MY(countabsolute) = 1;
6612 MY(sizeincrease) = 2400;
6617 MY(type) = "static";
6620 SUB(explosion_medium) {
6621 MY(airfriction) = 8;
6622 MY(alpha_min) = 200;
6623 MY(alpha_max) = 256;
6624 MY(alpha_fade) = 712;
6625 MY(color_min) = "0x8f0d00";
6626 MY(color_max) = "0xff5a00";
6628 MY(liquidfriction) = 8;
6629 MY(notunderwater) = true;
6630 MY(originjitter) = '30.0 30.0 30.0';
6631 MY(startangle_min) = -180;
6632 MY(startangle_max) = 180;
6633 MY(spin_min) = -500;
6635 MY(sizeincrease) = 45;
6640 MY(type) = "static";
6641 MY(velocityjitter) = '1512.0 1512.0 1512.0';
6644 SUB(explosion_medium) {
6645 MY(airfriction) = 8;
6646 MY(alpha_min) = 200;
6647 MY(alpha_max) = 256;
6648 MY(alpha_fade) = 612;
6649 MY(color_min) = "0x8f0d00";
6650 MY(color_max) = "0xff5a00";
6653 MY(liquidfriction) = 8;
6654 MY(notunderwater) = true;
6655 MY(originjitter) = '30.0 30.0 30.0';
6656 MY(startangle_min) = -180;
6657 MY(startangle_max) = 180;
6658 MY(spin_min) = -150;
6660 MY(sizeincrease) = 40;
6665 MY(type) = "static";
6666 MY(velocityjitter) = '1512.0 1512.0 1512.0';
6669 SUB(explosion_medium) {
6670 MY(airfriction) = -3;
6671 MY(alpha_min) = 200;
6672 MY(alpha_max) = 256;
6673 MY(alpha_fade) = 800;
6674 MY(color_min) = "0x8f0d00";
6675 MY(color_max) = "0xff5a00";
6677 MY(liquidfriction) = 8;
6678 MY(notunderwater) = true;
6679 MY(originjitter) = '40.0 40.0 40.0';
6680 MY(sizeincrease) = 40;
6683 MY(stretchfactor) = 8;
6687 MY(velocityjitter) = '512.0 512.0 512.0';
6690 SUB(explosion_medium) {
6691 MY(airfriction) = 3;
6692 MY(alpha_min) = 300;
6693 MY(alpha_max) = 650;
6694 MY(alpha_fade) = 756;
6695 MY(color_min) = "0x4F4B46";
6696 MY(color_max) = "0x000000";
6698 MY(notunderwater) = true;
6699 MY(originjitter) = '100.0 100.0 100.0';
6700 MY(startangle_min) = -180;
6701 MY(startangle_max) = 180;
6704 MY(sizeincrease) = -30;
6708 MY(type) = "alphastatic";
6709 MY(velocityjitter) = '200.0 200.0 200.0';
6712 SUB(explosion_medium) {
6713 MY(airfriction) = 3;
6714 MY(alpha_min) = 300;
6715 MY(alpha_max) = 650;
6716 MY(alpha_fade) = 256;
6717 MY(color_min) = "0x4F4B46";
6718 MY(color_max) = "0x000000";
6720 MY(gravity) = -0.300000;
6721 MY(notunderwater) = true;
6722 MY(originjitter) = '100.0 100.0 100.0';
6723 MY(startangle_min) = -180;
6724 MY(startangle_max) = 180;
6727 MY(sizeincrease) = 50;
6731 MY(type) = "alphastatic";
6732 MY(velocityjitter) = '500.0 500.0 500.0';
6733 MY(velocityoffset) = '0.0 0.0 200.0';
6736 SUB(explosion_medium) {
6737 MY(alpha_min) = 140;
6738 MY(alpha_max) = 255;
6739 MY(alpha_fade) = 350;
6740 MY(color_min) = "0x4F4B46";
6741 MY(color_max) = "0x000000";
6743 MY(notunderwater) = true;
6744 MY(originjitter) = '40.0 40.0 40.0';
6745 MY(sizeincrease) = 100;
6748 MY(stretchfactor) = 50;
6751 MY(velocityjitter) = '250.0 250.0 250.0';
6754 SUB(explosion_medium) {
6755 MY(airfriction) = 1;
6756 MY(alpha_min) = 644;
6757 MY(alpha_max) = 956;
6758 MY(alpha_fade) = 984;
6759 MY(color_min) = "0xffa35b";
6760 MY(color_max) = "0xfff2be";
6763 MY(liquidfriction) = 0.800000;
6764 MY(notunderwater) = true;
6765 MY(originjitter) = '100.0 100.0 100.0';
6768 MY(stretchfactor) = 0.700000;
6772 MY(velocityjitter) = '624.0 624.0 624.0';
6773 MY(velocityoffset) = '0.0 0.0 370.0';
6775 // underwater bubbles
6776 SUB(explosion_medium) {
6777 MY(alpha_min) = 128;
6778 MY(alpha_max) = 256;
6779 MY(alpha_fade) = 64;
6780 MY(bounce) = 1.500000;
6781 MY(color_min) = "0x404040";
6782 MY(color_max) = "0x808080";
6784 MY(gravity) = -0.125000;
6785 MY(liquidfriction) = 0.250000;
6786 MY(originjitter) = '160.0 160.0 160.0';
6791 MY(type) = "bubble";
6792 MY(underwater) = true;
6793 MY(velocityjitter) = '444.0 444.0 444.0';
6795 // underwatershockwave
6796 SUB(explosion_medium) {
6799 MY(alpha_fade) = 300;
6800 MY(countabsolute) = 1;
6801 MY(sizeincrease) = 2900;
6807 MY(underwater) = true;
6808 MY(velocitymultiplier) = 0.300000;
6811 // generic explosion size:small (its fire only, made to support other explosions)
6812 DEF(explosion_small);
6814 SUB(explosion_small) {
6817 MY(alpha_fade) = 330;
6818 MY(color_min) = "0x8f0d00";
6819 MY(color_max) = "0xff5a00";
6820 MY(countabsolute) = 1;
6821 MY(sizeincrease) = 2400;
6826 MY(type) = "static";
6829 SUB(explosion_small) {
6830 MY(airfriction) = 5;
6831 MY(alpha_min) = 200;
6832 MY(alpha_max) = 256;
6833 MY(alpha_fade) = 1212;
6834 MY(color_min) = "0x8f0d00";
6835 MY(color_max) = "0xff5a00";
6837 MY(liquidfriction) = 8;
6838 MY(notunderwater) = true;
6839 MY(startangle_min) = -180;
6840 MY(startangle_max) = 180;
6841 MY(spin_min) = -500;
6843 MY(sizeincrease) = 45;
6848 MY(type) = "static";
6849 MY(velocityjitter) = '512.0 512.0 512.0';
6852 SUB(explosion_small) {
6853 MY(airfriction) = 8;
6854 MY(alpha_min) = 200;
6855 MY(alpha_max) = 256;
6856 MY(alpha_fade) = 812;
6857 MY(color_min) = "0x8f0d00";
6858 MY(color_max) = "0xff5a00";
6860 MY(liquidfriction) = 8;
6861 MY(notunderwater) = true;
6862 MY(startangle_min) = -180;
6863 MY(startangle_max) = 180;
6864 MY(spin_min) = -150;
6866 MY(sizeincrease) = 40;
6871 MY(type) = "static";
6872 MY(velocityjitter) = '912.0 912.0 912.0';
6875 SUB(explosion_small) {
6876 MY(airfriction) = -3;
6877 MY(alpha_min) = 200;
6878 MY(alpha_max) = 256;
6879 MY(alpha_fade) = 1300;
6880 MY(color_min) = "0x8f0d00";
6881 MY(color_max) = "0xff5a00";
6883 MY(liquidfriction) = 8;
6884 MY(notunderwater) = true;
6885 MY(originjitter) = '40.0 40.0 40.0';
6886 MY(sizeincrease) = 30;
6889 MY(stretchfactor) = 8;
6893 MY(velocityjitter) = '512.0 512.0 512.0';
6895 // underwater bubbles
6896 SUB(explosion_small) {
6897 MY(alpha_min) = 128;
6898 MY(alpha_max) = 256;
6899 MY(alpha_fade) = 64;
6900 MY(bounce) = 1.500000;
6901 MY(color_min) = "0x404040";
6902 MY(color_max) = "0x808080";
6904 MY(gravity) = -0.125000;
6905 MY(liquidfriction) = 0.250000;
6906 MY(originjitter) = '160.0 160.0 160.0';
6911 MY(type) = "bubble";
6912 MY(underwater) = true;
6913 MY(velocityjitter) = '144.0 144.0 144.0';
6915 // underwatershockwave
6916 SUB(explosion_small) {
6919 MY(alpha_fade) = 300;
6920 MY(countabsolute) = 1;
6921 MY(sizeincrease) = 1200;
6927 MY(underwater) = true;
6930 // big smoke ( for spamming on damaged stuff )
6933 MY(airfriction) = 4;
6934 MY(alpha_min) = 200;
6935 MY(alpha_max) = 750;
6936 MY(alpha_fade) = 200;
6937 MY(color_min) = "0x4F4B46";
6938 MY(color_max) = "0x000000";
6940 MY(gravity) = -0.500000;
6941 MY(notunderwater) = true;
6942 MY(originjitter) = '55.0 55.0 55.0';
6943 MY(startangle_min) = -180;
6944 MY(startangle_max) = 180;
6947 MY(sizeincrease) = 15;
6951 MY(type) = "alphastatic";
6952 MY(velocityjitter) = '140.0 140.0 200.0';
6953 MY(velocityoffset) = '0.0 0.0 200.0';
6956 // small smoke ( more precise than big one, for spamming on damaged parts like raptors spinner )
6959 MY(airfriction) = 4;
6960 MY(alpha_min) = 200;
6961 MY(alpha_max) = 750;
6962 MY(alpha_fade) = 200;
6963 MY(color_min) = "0x4F4B46";
6964 MY(color_max) = "0x000000";
6966 MY(gravity) = -0.500000;
6967 MY(notunderwater) = true;
6968 MY(startangle_min) = -180;
6969 MY(startangle_max) = 180;
6972 MY(sizeincrease) = -10;
6976 MY(type) = "alphastatic";
6977 MY(velocityjitter) = '40.0 40.0 400.0';
6978 MY(velocityoffset) = '0.0 0.0 200.0';
6981 // metal impact effect
6986 MY(alpha_fade) = 50;
6987 MY(color_min) = "0x000000";
6988 MY(color_max) = "0x886666";
6990 MY(gravity) = -0.010000;
6991 MY(originjitter) = '20.0 20.0 5.0';
6992 MY(sizeincrease) = 10;
6996 MY(type) = "alphastatic";
7000 MY(airfriction) = 2;
7001 MY(alpha_min) = 255;
7002 MY(alpha_max) = 255;
7003 MY(alpha_fade) = 112;
7004 MY(bounce) = 1.800000;
7005 MY(color_min) = "0xFFCC22";
7006 MY(color_max) = "0xFF4422";
7011 MY(stretchfactor) = 0.500000;
7015 MY(velocityjitter) = '200.0 200.0 300.0';
7016 MY(velocitymultiplier) = 2;
7019 // stone impact effect
7023 MY(alpha_max) = 128;
7024 MY(alpha_fade) = 75;
7025 MY(color_min) = "0x000000";
7026 MY(color_max) = "0xcc9966";
7028 MY(gravity) = -0.010000;
7029 MY(originjitter) = '20.0 20.0 5.0';
7030 MY(sizeincrease) = 15;
7034 MY(type) = "alphastatic";
7038 MY(airfriction) = 0.500000;
7039 MY(alpha_min) = 450;
7040 MY(alpha_max) = 750;
7041 MY(alpha_fade) = 300;
7042 MY(bounce) = 1.200000;
7043 MY(color_min) = "0x000000";
7044 MY(color_max) = "0x886644";
7046 MY(gravity) = 1.300000;
7047 MY(notunderwater) = true;
7048 MY(startangle_min) = -180;
7049 MY(startangle_max) = 180;
7050 MY(spin_min) = -1000;
7051 MY(spin_max) = 1000;
7056 MY(type) = "alphastatic";
7057 MY(velocityjitter) = '124.0 124.0 324.0';
7060 // wood impact effect
7064 MY(alpha_max) = 128;
7065 MY(alpha_fade) = 75;
7066 MY(color_min) = "0x000000";
7067 MY(color_max) = "0xcc9966";
7069 MY(gravity) = -0.010000;
7070 MY(originjitter) = '20.0 20.0 5.0';
7071 MY(sizeincrease) = 10;
7075 MY(type) = "alphastatic";
7079 MY(airfriction) = 2;
7080 MY(alpha_min) = 255;
7081 MY(alpha_max) = 255;
7082 MY(alpha_fade) = 75;
7083 MY(bounce) = 1.500000;
7084 MY(color_min) = "0x221100";
7085 MY(color_max) = "0x221100";
7093 MY(velocityjitter) = '180.0 180.0 260.0';
7094 MY(velocitymultiplier) = 2;
7097 // flesh impact effect
7100 MY(alpha_min) = 100;
7101 MY(alpha_max) = 256;
7102 MY(alpha_fade) = 400;
7103 MY(color_min) = "0x000000";
7104 MY(color_max) = "0x420000";
7105 MY(count) = 0.500000;
7106 MY(originjitter) = '11.0 11.0 11.0';
7110 MY(type) = "alphastatic";
7114 MY(airfriction) = 1;
7115 MY(alpha_min) = 256;
7116 MY(alpha_max) = 256;
7117 MY(alpha_fade) = 64;
7119 MY(color_min) = "0xA8FFFF";
7120 MY(color_max) = "0xA8FFFFF";
7121 MY(count) = 0.300000;
7122 MY(liquidfriction) = 4;
7125 MY(staincolor_min) = "0x808080";
7126 MY(staincolor_max) = "0x808080";
7127 MY(staintex_min) = 16;
7128 MY(staintex_max) = 24;
7132 MY(velocityjitter) = '96.0 96.0 96.0';
7133 MY(velocitymultiplier) = 5;
7140 MY(alpha_min) = 300;
7141 MY(alpha_max) = 400;
7142 MY(alpha_fade) = 780;
7144 MY(color_min) = "0x101010";
7145 MY(color_max) = "0x000000";
7146 MY(originjitter) = '1.0 1.0 1.0';
7147 MY(sizeincrease) = 10;
7151 MY(trailspacing) = 4;
7153 MY(velocityjitter) = '1.0 1.0 1.0';
7154 MY(velocitymultiplier) = -0.020000;
7158 MY(airfriction) = 8;
7159 MY(alpha_min) = 100;
7160 MY(alpha_max) = 144;
7161 MY(alpha_fade) = 988;
7162 MY(color_min) = "0xffdf72";
7163 MY(color_max) = "0x811200";
7164 MY(notunderwater) = true;
7165 MY(sizeincrease) = -15;
7170 MY(trailspacing) = 4;
7171 MY(type) = "static";
7172 MY(velocityjitter) = '32.0 32.0 32.0';
7173 MY(velocitymultiplier) = -1;
7177 MY(alpha_min) = 256;
7178 MY(alpha_max) = 256;
7179 MY(alpha_fade) = 256;
7180 MY(bounce) = 1.500000;
7181 MY(color_min) = "0x404040";
7182 MY(color_max) = "0x808080";
7183 MY(gravity) = -0.125000;
7184 MY(liquidfriction) = 4;
7189 MY(trailspacing) = 16;
7190 MY(type) = "bubble";
7191 MY(underwater) = true;
7192 MY(velocityjitter) = '16.0 16.0 16.0';
7195 // laser damage effect
7196 DEF(damage_blaster);
7197 SUB(damage_blaster) {
7198 MY(airfriction) = -0.350000;
7199 MY(alpha_min) = 128;
7201 MY(alpha_fade) = 128;
7202 MY(color_min) = "0x880000";
7203 MY(color_max) = "0xff4400";
7205 MY(notunderwater) = true;
7206 MY(originjitter) = '2.0 2.0 2.0';
7207 MY(startangle_max) = 180;
7210 MY(sizeincrease) = 8;
7215 MY(velocityjitter) = '0.4 0.4 0.6';
7218 // shotgun damage effect, normal blood
7219 DEF(damage_shotgun);
7220 SUB(damage_shotgun) {
7221 MY(airfriction) = 1;
7222 MY(alpha_min) = 256;
7223 MY(alpha_max) = 256;
7224 MY(alpha_fade) = 64;
7226 MY(color_min) = "0xA8FFFF";
7227 MY(color_max) = "0xA8FFFFF";
7228 MY(count) = 0.600000;
7229 MY(liquidfriction) = 4;
7232 MY(staincolor_min) = "0x808080";
7233 MY(staincolor_max) = "0x808080";
7234 MY(staintex_min) = 16;
7235 MY(staintex_max) = 24;
7239 MY(velocityjitter) = '64.0 64.0 64.0';
7240 MY(velocitymultiplier) = 5;
7243 SUB(damage_shotgun) {
7244 MY(alpha_min) = 100;
7245 MY(alpha_max) = 256;
7246 MY(alpha_fade) = 400;
7247 MY(color_min) = "0x000000";
7248 MY(color_max) = "0x420000";
7250 MY(originjitter) = '1.0 1.0 1.0';
7254 MY(type) = "alphastatic";
7257 // shotgun damage effect, alien blood
7258 DEF(alien_damage_shotgun);
7259 SUB(alien_damage_shotgun) {
7260 MY(airfriction) = 1;
7261 MY(alpha_min) = 256;
7262 MY(alpha_max) = 256;
7263 MY(alpha_fade) = 64;
7265 MY(color_min) = "0xDC9BCD";
7266 MY(color_max) = "0xDC9BCD";
7267 MY(count) = 0.600000;
7268 MY(liquidfriction) = 4;
7271 MY(staincolor_min) = "0x808080";
7272 MY(staincolor_max) = "0x808080";
7273 MY(staintex_min) = 16;
7274 MY(staintex_max) = 24;
7278 MY(velocityjitter) = '64.0 64.0 64.0';
7279 MY(velocitymultiplier) = 5;
7282 SUB(alien_damage_shotgun) {
7283 MY(alpha_min) = 100;
7284 MY(alpha_max) = 256;
7285 MY(alpha_fade) = 400;
7286 MY(color_min) = "0x000000";
7287 MY(color_max) = "0x204010";
7289 MY(originjitter) = '1.0 1.0 1.0';
7293 MY(type) = "alphastatic";
7296 // shotgun damage effect, robot blood
7297 DEF(robot_damage_shotgun);
7298 SUB(robot_damage_shotgun) {
7299 MY(airfriction) = 1;
7300 MY(alpha_min) = 256;
7301 MY(alpha_max) = 256;
7302 MY(alpha_fade) = 64;
7304 MY(color_min) = "0xC0D890";
7305 MY(color_max) = "0xC0D890";
7306 MY(count) = 0.600000;
7307 MY(liquidfriction) = 4;
7310 MY(staincolor_min) = "0x808080";
7311 MY(staincolor_max) = "0x808080";
7312 MY(staintex_min) = 16;
7313 MY(staintex_max) = 24;
7317 MY(velocityjitter) = '64.0 64.0 64.0';
7318 MY(velocitymultiplier) = 5;
7321 SUB(robot_damage_shotgun) {
7322 MY(alpha_min) = 100;
7323 MY(alpha_max) = 256;
7324 MY(alpha_fade) = 400;
7325 MY(color_min) = "0x000000";
7326 MY(color_max) = "0x301860";
7328 MY(originjitter) = '1.0 1.0 1.0';
7332 MY(type) = "alphastatic";
7335 // machinegun damage effect, normal blood
7336 DEF(damage_machinegun);
7337 SUB(damage_machinegun) {
7338 MY(airfriction) = 1;
7339 MY(alpha_min) = 256;
7340 MY(alpha_max) = 256;
7341 MY(alpha_fade) = 64;
7343 MY(color_min) = "0xA8FFFF";
7344 MY(color_max) = "0xA8FFFFF";
7345 MY(count) = 0.300000;
7346 MY(liquidfriction) = 4;
7349 MY(staincolor_min) = "0x808080";
7350 MY(staincolor_max) = "0x808080";
7351 MY(staintex_min) = 16;
7352 MY(staintex_max) = 24;
7356 MY(velocityjitter) = '32.0 32.0 32.0';
7357 MY(velocitymultiplier) = 5;
7360 SUB(damage_machinegun) {
7361 MY(alpha_min) = 100;
7362 MY(alpha_max) = 256;
7363 MY(alpha_fade) = 400;
7364 MY(color_min) = "0x000000";
7365 MY(color_max) = "0x420000";
7370 MY(type) = "alphastatic";
7373 // machinegun damage effect, alien blood
7374 DEF(alien_damage_machinegun);
7375 SUB(alien_damage_machinegun) {
7376 MY(airfriction) = 1;
7377 MY(alpha_min) = 256;
7378 MY(alpha_max) = 256;
7379 MY(alpha_fade) = 64;
7381 MY(color_min) = "0xDC9BCD";
7382 MY(color_max) = "0xDC9BCD";
7383 MY(count) = 0.300000;
7384 MY(liquidfriction) = 4;
7387 MY(staincolor_min) = "0x808080";
7388 MY(staincolor_max) = "0x808080";
7389 MY(staintex_min) = 16;
7390 MY(staintex_max) = 24;
7394 MY(velocityjitter) = '32.0 32.0 32.0';
7395 MY(velocitymultiplier) = 5;
7398 SUB(alien_damage_machinegun) {
7399 MY(alpha_min) = 100;
7400 MY(alpha_max) = 256;
7401 MY(alpha_fade) = 400;
7402 MY(color_min) = "0x000000";
7403 MY(color_max) = "0x204010";
7408 MY(type) = "alphastatic";
7411 // machinegun damage effect, robot blood
7412 DEF(robot_damage_machinegun);
7413 SUB(robot_damage_machinegun) {
7414 MY(airfriction) = 1;
7415 MY(alpha_min) = 256;
7416 MY(alpha_max) = 256;
7417 MY(alpha_fade) = 64;
7419 MY(color_min) = "0xC0D890";
7420 MY(color_max) = "0xC0D890";
7421 MY(count) = 0.300000;
7422 MY(liquidfriction) = 4;
7425 MY(staincolor_min) = "0x808080";
7426 MY(staincolor_max) = "0x808080";
7427 MY(staintex_min) = 16;
7428 MY(staintex_max) = 24;
7432 MY(velocityjitter) = '32.0 32.0 32.0';
7433 MY(velocitymultiplier) = 5;
7436 SUB(robot_damage_machinegun) {
7437 MY(alpha_min) = 100;
7438 MY(alpha_max) = 256;
7439 MY(alpha_fade) = 400;
7440 MY(color_min) = "0x000000";
7441 MY(color_max) = "0x301860";
7446 MY(type) = "alphastatic";
7449 // minelayer damage effect
7450 DEF(damage_minelayer);
7451 SUB(damage_minelayer) {
7452 MY(alpha_min) = 512;
7454 MY(alpha_fade) = 1024;
7455 MY(color_min) = "0x8f0d00";
7456 MY(color_max) = "0xff5a00";
7458 MY(gravity) = -0.500000;
7459 MY(notunderwater) = true;
7460 MY(originjitter) = '2.0 2.0 2.0';
7461 MY(sizeincrease) = -15;
7467 MY(velocityjitter) = '22.0 22.0 50.0';
7470 SUB(damage_minelayer) {
7471 MY(alpha_min) = 128;
7473 MY(alpha_fade) = 128;
7474 MY(color_min) = "0x000000";
7475 MY(color_max) = "0x111111";
7477 MY(gravity) = -0.300000;
7478 MY(notunderwater) = true;
7479 MY(originjitter) = '4.0 4.0 4.0';
7480 MY(sizeincrease) = 5;
7484 MY(type) = "alphastatic";
7485 MY(velocityjitter) = '11.0 11.0 50.0';
7488 // mortar damage effect
7490 SUB(damage_mortar) {
7491 MY(alpha_min) = 512;
7493 MY(alpha_fade) = 1024;
7494 MY(color_min) = "0x8f0d00";
7495 MY(color_max) = "0xff5a00";
7497 MY(gravity) = -0.500000;
7498 MY(notunderwater) = true;
7499 MY(originjitter) = '2.0 2.0 2.0';
7500 MY(sizeincrease) = -15;
7506 MY(velocityjitter) = '22.0 22.0 50.0';
7509 SUB(damage_mortar) {
7510 MY(alpha_min) = 128;
7512 MY(alpha_fade) = 128;
7513 MY(color_min) = "0x000000";
7514 MY(color_max) = "0x111111";
7516 MY(gravity) = -0.300000;
7517 MY(notunderwater) = true;
7518 MY(originjitter) = '4.0 4.0 4.0';
7519 MY(sizeincrease) = 5;
7523 MY(type) = "alphastatic";
7524 MY(velocityjitter) = '11.0 11.0 50.0';
7527 // arc damage effect
7530 MY(airfriction) = -0.650000;
7533 MY(alpha_fade) = 48;
7534 MY(color_min) = "0x66ffff";
7535 MY(color_max) = "0x2288ff";
7537 MY(gravity) = -0.000100;
7538 MY(liquidfriction) = 0.600000;
7539 MY(notunderwater) = true;
7540 MY(originjitter) = '2.0 2.0 2.0';
7541 MY(startangle_min) = 180;
7542 MY(startangle_max) = 360;
7545 MY(sizeincrease) = -14;
7550 MY(type) = "static";
7551 MY(velocityjitter) = '6.0 6.0 12.0';
7555 MY(airfriction) = -0.500000;
7558 MY(alpha_fade) = 64;
7559 MY(color_min) = "0x2244ff";
7560 MY(color_max) = "0x002266";
7562 MY(notunderwater) = true;
7563 MY(originjitter) = '3.0 3.0 3.0';
7564 MY(startangle_max) = 180;
7567 MY(sizeincrease) = 10;
7572 MY(velocityjitter) = '0.3 0.3 0.5';
7576 MY(airfriction) = 1;
7577 MY(alpha_min) = 768;
7579 MY(alpha_fade) = 256;
7580 MY(bounce) = 1.500000;
7581 MY(color_min) = "0x003090";
7582 MY(color_max) = "0x00CCFF";
7583 MY(count) = 0.500000;
7584 MY(gravity) = 0.150000;
7585 MY(liquidfriction) = 0.600000;
7591 MY(velocityjitter) = '24.0 24.0 24.0';
7594 // electro damage effect
7595 DEF(damage_electro);
7596 SUB(damage_electro) {
7597 MY(airfriction) = -0.500000;
7600 MY(alpha_fade) = 48;
7601 MY(color_min) = "0x66ffff";
7602 MY(color_max) = "0x2288ff";
7604 MY(gravity) = -0.000100;
7605 MY(liquidfriction) = 0.800000;
7606 MY(notunderwater) = true;
7607 MY(originjitter) = '3.0 3.0 3.0';
7608 MY(startangle_min) = 180;
7609 MY(startangle_max) = 360;
7612 MY(sizeincrease) = -14;
7617 MY(type) = "static";
7618 MY(velocityjitter) = '8.0 8.0 16.0';
7621 SUB(damage_electro) {
7622 MY(airfriction) = -0.350000;
7625 MY(alpha_fade) = 64;
7626 MY(color_min) = "0x2244ff";
7627 MY(color_max) = "0x002266";
7629 MY(notunderwater) = true;
7630 MY(originjitter) = '4.0 4.0 4.0';
7631 MY(startangle_max) = 180;
7634 MY(sizeincrease) = 10;
7639 MY(velocityjitter) = '0.4 0.4 0.6';
7642 SUB(damage_electro) {
7643 MY(airfriction) = 1;
7644 MY(alpha_min) = 768;
7646 MY(alpha_fade) = 256;
7647 MY(bounce) = 1.500000;
7648 MY(color_min) = "0x003090";
7649 MY(color_max) = "0x00CCFF";
7650 MY(count) = 0.500000;
7651 MY(gravity) = 0.200000;
7652 MY(liquidfriction) = 0.800000;
7658 MY(velocityjitter) = '32.0 32.0 32.0';
7661 // crylink damage effect
7662 DEF(damage_crylink);
7663 SUB(damage_crylink) {
7664 MY(airfriction) = -0.500000;
7667 MY(alpha_fade) = 48;
7668 MY(color_min) = "0xff44ff";
7669 MY(color_max) = "0x9966ff";
7671 MY(gravity) = -0.000100;
7672 MY(liquidfriction) = 0.800000;
7673 MY(notunderwater) = true;
7674 MY(originjitter) = '3.0 3.0 3.0';
7675 MY(startangle_min) = 180;
7676 MY(startangle_max) = 360;
7679 MY(sizeincrease) = -8;
7680 MY(size_min) = 0.500000;
7684 MY(type) = "static";
7685 MY(velocityjitter) = '10.0 10.0 20.0';
7688 SUB(damage_crylink) {
7689 MY(airfriction) = -0.350000;
7692 MY(alpha_fade) = 64;
7693 MY(color_min) = "0x8844ff";
7694 MY(color_max) = "0x662244";
7696 MY(gravity) = 0.001000;
7697 MY(notunderwater) = true;
7698 MY(originjitter) = '4.0 4.0 4.0';
7699 MY(startangle_max) = 180;
7702 MY(sizeincrease) = 6;
7707 MY(velocityjitter) = '0.4 0.4 0.6';
7710 SUB(damage_crylink) {
7711 MY(airfriction) = 0.200000;
7712 MY(alpha_min) = 192;
7713 MY(alpha_max) = 192;
7714 MY(alpha_fade) = 128;
7715 MY(color_min) = "0x903090";
7716 MY(color_max) = "0xFFD0FF";
7717 MY(count) = 0.300000;
7718 MY(liquidfriction) = 0.800000;
7719 MY(sizeincrease) = -5;
7720 MY(size_min) = 0.500000;
7721 MY(size_max) = 0.500000;
7723 MY(velocityjitter) = '12.0 12.0 12.0';
7726 // hlac damage effect
7729 MY(airfriction) = -0.350000;
7730 MY(alpha_min) = 128;
7732 MY(alpha_fade) = 128;
7733 MY(color_min) = "0x880000";
7734 MY(color_max) = "0xff4400";
7736 MY(notunderwater) = true;
7737 MY(originjitter) = '4.0 4.0 4.0';
7738 MY(startangle_max) = 180;
7741 MY(sizeincrease) = 10;
7746 MY(velocityjitter) = '0.4 0.4 0.6';
7749 // vortex damage effect
7751 SUB(damage_vortex) {
7752 MY(airfriction) = -0.500000;
7755 MY(alpha_fade) = 64;
7756 MY(color_min) = "0xffffff";
7757 MY(color_max) = "0x88ffff";
7759 MY(gravity) = -0.000100;
7760 MY(liquidfriction) = 0.600000;
7761 MY(originjitter) = '4.0 4.0 4.0';
7762 MY(startangle_min) = 180;
7763 MY(startangle_max) = 360;
7766 MY(sizeincrease) = -14;
7771 MY(type) = "static";
7772 MY(velocityjitter) = '8.0 8.0 16.0';
7775 SUB(damage_vortex) {
7776 MY(airfriction) = -0.350000;
7779 MY(alpha_fade) = 64;
7780 MY(color_min) = "0x6688ff";
7781 MY(color_max) = "0x226688";
7783 MY(originjitter) = '2.0 2.0 2.0';
7784 MY(startangle_max) = 180;
7787 MY(sizeincrease) = 8;
7792 MY(velocityjitter) = '0.5 0.5 0.8';
7795 SUB(damage_vortex) {
7796 MY(airfriction) = 2;
7797 MY(alpha_min) = 255;
7798 MY(alpha_max) = 255;
7799 MY(alpha_fade) = 112;
7800 MY(bounce) = 1.600000;
7801 MY(color_min) = "0xD9FDFF";
7802 MY(color_max) = "0xD9FDFF";
7803 MY(count) = 0.200000;
7807 MY(stretchfactor) = 0.700000;
7811 MY(velocityjitter) = '100.0 100.0 300.0';
7812 MY(velocitymultiplier) = 3;
7815 // vaporizer damage effect
7816 DEF(damage_vaporizer);
7817 SUB(damage_vaporizer) {
7818 MY(airfriction) = -0.500000;
7821 MY(alpha_fade) = 64;
7822 MY(color_min) = "0xffffff";
7823 MY(color_max) = "0x88ffff";
7825 MY(gravity) = -0.000100;
7826 MY(liquidfriction) = 0.600000;
7827 MY(originjitter) = '4.0 4.0 4.0';
7828 MY(startangle_min) = 180;
7829 MY(startangle_max) = 360;
7832 MY(sizeincrease) = -14;
7837 MY(type) = "static";
7838 MY(velocityjitter) = '8.0 8.0 16.0';
7841 SUB(damage_vaporizer) {
7842 MY(airfriction) = -0.350000;
7845 MY(alpha_fade) = 64;
7846 MY(color_min) = "0x6688ff";
7847 MY(color_max) = "0x226688";
7849 MY(originjitter) = '2.0 2.0 2.0';
7850 MY(startangle_max) = 180;
7853 MY(sizeincrease) = 8;
7858 MY(velocityjitter) = '0.5 0.5 0.8';
7861 SUB(damage_vaporizer) {
7862 MY(airfriction) = 2;
7863 MY(alpha_min) = 255;
7864 MY(alpha_max) = 255;
7865 MY(alpha_fade) = 112;
7866 MY(bounce) = 1.600000;
7867 MY(color_min) = "0xD9FDFF";
7868 MY(color_max) = "0xD9FDFF";
7869 MY(count) = 0.200000;
7873 MY(stretchfactor) = 0.700000;
7877 MY(velocityjitter) = '100.0 100.0 300.0';
7878 MY(velocitymultiplier) = 3;
7881 // rifle damage effect, normal blood
7884 MY(airfriction) = 1;
7885 MY(alpha_min) = 256;
7886 MY(alpha_max) = 256;
7887 MY(alpha_fade) = 64;
7889 MY(color_min) = "0xA8FFFF";
7890 MY(color_max) = "0xA8FFFFF";
7891 MY(count) = 0.300000;
7892 MY(liquidfriction) = 4;
7895 MY(staincolor_min) = "0x808080";
7896 MY(staincolor_max) = "0x808080";
7897 MY(staintex_min) = 16;
7898 MY(staintex_max) = 24;
7902 MY(velocityjitter) = '32.0 32.0 32.0';
7903 MY(velocitymultiplier) = 5;
7907 MY(alpha_min) = 100;
7908 MY(alpha_max) = 256;
7909 MY(alpha_fade) = 400;
7910 MY(color_min) = "0x000000";
7911 MY(color_max) = "0x420000";
7916 MY(type) = "alphastatic";
7919 // rifle damage effect, alien blood
7920 DEF(damage_rifle_alien);
7921 SUB(damage_rifle_alien) {
7922 MY(airfriction) = 1;
7923 MY(alpha_min) = 256;
7924 MY(alpha_max) = 256;
7925 MY(alpha_fade) = 64;
7927 MY(color_min) = "0xDC9BCD";
7928 MY(color_max) = "0xDC9BCD";
7929 MY(count) = 0.300000;
7930 MY(liquidfriction) = 4;
7933 MY(staincolor_min) = "0x808080";
7934 MY(staincolor_max) = "0x808080";
7935 MY(staintex_min) = 16;
7936 MY(staintex_max) = 24;
7940 MY(velocityjitter) = '32.0 32.0 32.0';
7941 MY(velocitymultiplier) = 5;
7944 SUB(damage_rifle_alien) {
7945 MY(alpha_min) = 100;
7946 MY(alpha_max) = 256;
7947 MY(alpha_fade) = 400;
7948 MY(color_min) = "0x000000";
7949 MY(color_max) = "0x204010";
7954 MY(type) = "alphastatic";
7957 // rifle damage effect, robot blood
7958 DEF(damage_rifle_robot);
7959 SUB(damage_rifle_robot) {
7960 MY(airfriction) = 1;
7961 MY(alpha_min) = 256;
7962 MY(alpha_max) = 256;
7963 MY(alpha_fade) = 64;
7965 MY(color_min) = "0xC0D890";
7966 MY(color_max) = "0xC0D890";
7967 MY(count) = 0.300000;
7968 MY(liquidfriction) = 4;
7971 MY(staincolor_min) = "0x808080";
7972 MY(staincolor_max) = "0x808080";
7973 MY(staintex_min) = 16;
7974 MY(staintex_max) = 24;
7978 MY(velocityjitter) = '32.0 32.0 32.0';
7979 MY(velocitymultiplier) = 5;
7982 SUB(damage_rifle_robot) {
7983 MY(alpha_min) = 100;
7984 MY(alpha_max) = 256;
7985 MY(alpha_fade) = 400;
7986 MY(color_min) = "0x000000";
7987 MY(color_max) = "0x301860";
7992 MY(type) = "alphastatic";
7995 // seeker damage effect
7997 SUB(damage_seeker) {
7998 MY(alpha_min) = 512;
8000 MY(alpha_fade) = 1024;
8001 MY(color_min) = "0x8f0c00";
8002 MY(color_max) = "0xff2200";
8004 MY(gravity) = -0.300000;
8005 MY(notunderwater) = true;
8006 MY(originjitter) = '2.0 2.0 2.0';
8007 MY(sizeincrease) = -10;
8013 MY(velocityjitter) = '22.0 22.0 50.0';
8016 SUB(damage_seeker) {
8017 MY(alpha_min) = 128;
8019 MY(alpha_fade) = 128;
8020 MY(color_min) = "0x000000";
8021 MY(color_max) = "0x111111";
8023 MY(gravity) = -0.300000;
8024 MY(notunderwater) = true;
8025 MY(originjitter) = '4.0 4.0 4.0';
8026 MY(sizeincrease) = 10;
8030 MY(type) = "alphastatic";
8031 MY(velocityjitter) = '11.0 11.0 50.0';
8034 // hagar damage effect
8037 MY(alpha_min) = 512;
8039 MY(alpha_fade) = 1024;
8040 MY(color_min) = "0x8f0c00";
8041 MY(color_max) = "0xff3a00";
8043 MY(gravity) = -0.300000;
8044 MY(notunderwater) = true;
8045 MY(originjitter) = '2.0 2.0 2.0';
8046 MY(sizeincrease) = -10;
8052 MY(velocityjitter) = '22.0 22.0 50.0';
8056 MY(alpha_min) = 128;
8058 MY(alpha_fade) = 128;
8059 MY(color_min) = "0x000000";
8060 MY(color_max) = "0x111111";
8062 MY(gravity) = -0.300000;
8063 MY(notunderwater) = true;
8064 MY(originjitter) = '4.0 4.0 4.0';
8065 MY(sizeincrease) = 10;
8069 MY(type) = "alphastatic";
8070 MY(velocityjitter) = '11.0 11.0 50.0';
8073 // fireball damage effect
8074 DEF(damage_fireball);
8075 SUB(damage_fireball) {
8076 MY(alpha_min) = 256;
8078 MY(alpha_fade) = 512;
8079 MY(color_min) = "0x8f0d00";
8080 MY(color_max) = "0xff5a00";
8082 MY(gravity) = -0.500000;
8083 MY(notunderwater) = true;
8084 MY(originjitter) = '8.0 8.0 8.0';
8085 MY(sizeincrease) = -10;
8091 MY(velocityjitter) = '22.0 22.0 50.0';
8094 SUB(damage_fireball) {
8095 MY(alpha_min) = 128;
8097 MY(alpha_fade) = 128;
8098 MY(color_min) = "0x000000";
8099 MY(color_max) = "0x111111";
8101 MY(gravity) = -0.300000;
8102 MY(notunderwater) = true;
8103 MY(originjitter) = '6.0 6.0 6.0';
8104 MY(sizeincrease) = 10;
8108 MY(type) = "alphastatic";
8109 MY(velocityjitter) = '11.0 11.0 50.0';
8112 // rocketlauncher damage effect
8113 DEF(damage_devastator);
8114 SUB(damage_devastator) {
8115 MY(alpha_min) = 512;
8117 MY(alpha_fade) = 1024;
8118 MY(color_min) = "0x8f0c00";
8119 MY(color_max) = "0xff2a00";
8121 MY(gravity) = -0.700000;
8122 MY(notunderwater) = true;
8123 MY(originjitter) = '4.0 4.0 4.0';
8124 MY(sizeincrease) = -10;
8130 MY(velocityjitter) = '22.0 22.0 30.0';
8133 SUB(damage_devastator) {
8134 MY(alpha_min) = 128;
8136 MY(alpha_fade) = 128;
8137 MY(color_min) = "0x000000";
8138 MY(color_max) = "0x111111";
8140 MY(gravity) = -0.300000;
8141 MY(notunderwater) = true;
8142 MY(originjitter) = '4.0 4.0 4.0';
8143 MY(sizeincrease) = 10;
8147 MY(type) = "alphastatic";
8148 MY(velocityjitter) = '11.0 11.0 50.0';
8154 MY(airfriction) = 5;
8155 MY(alpha_min) = 256;
8156 MY(alpha_max) = 256;
8157 MY(alpha_fade) = 70;
8159 MY(color_min) = "0xff9600";
8160 MY(color_max) = "0xffefb8";
8162 MY(originjitter) = '32.0 32.0 32.0';
8163 MY(originoffset) = '8.0 8.0 8.0';
8164 MY(sizeincrease) = -0.300000;
8171 MY(type) = "static";
8172 MY(velocityjitter) = '64.0 64.0 64.0';
8173 MY(velocityoffset) = '2.0 2.0 2.0';
8176 DEF(healray_muzzleflash);
8177 SUB(healray_muzzleflash) {
8178 MY(alpha_min) = 256;
8179 MY(alpha_max) = 256;
8180 MY(alpha_fade) = 512;
8181 MY(color_min) = "0x283880";
8182 MY(color_max) = "0x283880";
8183 MY(countabsolute) = 1;
8184 MY(lightcolor) = '1.5 3.0 6.0';
8185 MY(lightradiusfade) = 2000;
8186 MY(lightradius) = 200;
8187 MY(originjitter) = '1.5 1.5 1.5';
8188 MY(sizeincrease) = -10;
8194 MY(velocityjitter) = '6.0 6.0 6.0';
8195 MY(velocitymultiplier) = 0.010000;
8197 SUB(healray_muzzleflash) {
8198 MY(airfriction) = 5;
8200 MY(alpha_max) = 150;
8201 MY(alpha_fade) = 1924;
8202 MY(color_min) = "0xD9FDFF";
8203 MY(color_max) = "0x00f0ff";
8205 MY(originjitter) = '1.0 1.0 1.0';
8206 MY(sizeincrease) = 3;
8209 MY(stretchfactor) = 3.900000;
8213 MY(velocityjitter) = '150.0 150.0 150.0';
8214 MY(velocitymultiplier) = 0.400000;
8216 SUB(healray_muzzleflash) {
8217 MY(alpha_min) = 110;
8218 MY(alpha_max) = 228;
8219 MY(alpha_fade) = 4024;
8220 MY(color_min) = "0xD9FDFF";
8221 MY(color_max) = "0x00f0ff";
8223 MY(originjitter) = '1.0 1.0 1.0';
8226 MY(stretchfactor) = 0.200000;
8230 MY(velocityjitter) = '650.0 650.0 650.0';
8231 MY(velocitymultiplier) = 1.100000;
8234 DEF(healray_impact);
8235 SUB(healray_impact) {
8236 MY(alpha_min) = 256;
8237 MY(alpha_max) = 256;
8238 MY(color_min) = "0xd800ff";
8239 MY(color_max) = "0xd800ff";
8240 MY(countabsolute) = 1;
8241 MY(lightcolor) = '0.0 4.4 0.0';
8242 MY(lightradiusfade) = 450;
8243 MY(lightradius) = 125;
8244 MY(originjitter) = '17.0 17.0 17.0';
8252 SUB(healray_impact) {
8255 MY(alpha_fade) = 350;
8256 MY(color_min) = "0x00ff00";
8257 MY(color_max) = "0x84c52f";
8258 MY(countabsolute) = 1;
8259 MY(sizeincrease) = 1400;
8265 MY(velocitymultiplier) = 44;
8267 // cloud of bouncing sparks
8268 SUB(healray_impact) {
8269 MY(airfriction) = 6;
8270 MY(alpha_min) = 156;
8271 MY(alpha_max) = 300;
8272 MY(alpha_fade) = 1024;
8273 MY(color_min) = "0x00ff00";
8274 MY(color_max) = "0x84c52f";
8277 MY(originjitter) = '1.0 1.0 1.0';
8283 MY(velocityjitter) = '1112.0 1112.0 1112.0';
8285 // inner cloud of smoke
8286 SUB(healray_impact) {
8287 MY(airfriction) = 3;
8288 MY(alpha_min) = 200;
8289 MY(alpha_max) = 456;
8290 MY(alpha_fade) = 512;
8291 MY(color_min) = "0x00ff00";
8292 MY(color_max) = "0x84c52f";
8295 MY(startangle_min) = -180;
8296 MY(startangle_max) = 180;
8304 MY(velocityjitter) = '120.0 120.0 420.0';
8307 DEF(bigplasma_muzzleflash);
8308 SUB(bigplasma_muzzleflash) {
8309 MY(alpha_min) = 256;
8310 MY(alpha_max) = 256;
8311 MY(alpha_fade) = 812;
8312 MY(color_min) = "0x283880";
8313 MY(color_max) = "0x283880";
8314 MY(countabsolute) = 1;
8315 MY(lightcolor) = '1.5 3.0 6.0';
8316 MY(lightradiusfade) = 2000;
8317 MY(lightradius) = 200;
8318 MY(originjitter) = '1.5 1.5 1.5';
8319 MY(sizeincrease) = -10;
8325 MY(velocityjitter) = '6.0 6.0 6.0';
8326 MY(velocitymultiplier) = 0.010000;
8328 SUB(bigplasma_muzzleflash) {
8331 MY(alpha_fade) = 1112;
8332 MY(color_min) = "0x00f0ff";
8333 MY(color_max) = "0x00f0ff";
8334 MY(countabsolute) = 1;
8335 MY(sizeincrease) = 300;
8342 SUB(bigplasma_muzzleflash) {
8343 MY(airfriction) = 5;
8345 MY(alpha_max) = 150;
8346 MY(alpha_fade) = 1924;
8347 MY(color_min) = "0xD9FDFF";
8348 MY(color_max) = "0x00f0ff";
8350 MY(originjitter) = '1.0 1.0 1.0';
8351 MY(sizeincrease) = 135;
8354 MY(stretchfactor) = 1.900000;
8358 MY(velocityjitter) = '350.0 350.0 350.0';
8359 MY(velocitymultiplier) = 0.400000;
8361 SUB(bigplasma_muzzleflash) {
8362 MY(alpha_min) = 110;
8363 MY(alpha_max) = 228;
8364 MY(alpha_fade) = 4024;
8365 MY(color_min) = "0xD9FDFF";
8366 MY(color_max) = "0x00f0ff";
8368 MY(originjitter) = '1.0 1.0 1.0';
8371 MY(stretchfactor) = 0.200000;
8375 MY(velocityjitter) = '650.0 650.0 650.0';
8376 MY(velocitymultiplier) = 1.100000;
8379 DEF(bigplasma_impact);
8380 SUB(bigplasma_impact) {
8381 MY(alpha_min) = 256;
8382 MY(alpha_max) = 256;
8383 MY(countabsolute) = 1;
8384 MY(lightcolor) = '3.1 4.4 10.0';
8385 MY(lightradiusfade) = 450;
8386 MY(lightradius) = 125;
8387 MY(originjitter) = '17.0 17.0 17.0';
8395 SUB(bigplasma_impact) {
8398 MY(alpha_fade) = 350;
8399 MY(color_min) = "0x80C0FF";
8400 MY(color_max) = "0x80C0FF";
8401 MY(countabsolute) = 1;
8402 MY(sizeincrease) = 1400;
8408 MY(velocitymultiplier) = 44;
8410 // cloud of bouncing sparks
8411 SUB(bigplasma_impact) {
8412 MY(airfriction) = 6;
8413 MY(alpha_min) = 156;
8414 MY(alpha_max) = 300;
8415 MY(alpha_fade) = 1024;
8416 MY(color_min) = "0x629dff";
8417 MY(color_max) = "0x0018ff";
8420 MY(originjitter) = '1.0 1.0 1.0';
8426 MY(velocityjitter) = '1512.0 1512.0 1512.0';
8428 // inner cloud of smoke
8429 SUB(bigplasma_impact) {
8430 MY(airfriction) = 30;
8431 MY(alpha_min) = 200;
8432 MY(alpha_max) = 456;
8433 MY(alpha_fade) = 1512;
8434 MY(color_min) = "0x629dff";
8435 MY(color_max) = "0x0018ff";
8437 MY(originjitter) = '20.0 20.0 20.0';
8438 MY(startangle_min) = -180;
8439 MY(startangle_max) = 180;
8442 MY(sizeincrease) = 555;
8448 MY(velocityjitter) = '320.0 320.0 320.0';
8451 SUB(bigplasma_impact) {
8452 MY(airfriction) = 0.040000;
8453 MY(alpha_min) = 128;
8454 MY(alpha_max) = 328;
8455 MY(alpha_fade) = 390;
8456 MY(blend) = "alpha";
8457 MY(color_min) = "0x222222";
8458 MY(color_max) = "0x000000";
8460 MY(gravity) = 0.400000;
8461 MY(originjitter) = '80.0 80.0 10.0';
8462 MY(startangle_min) = -180;
8463 MY(startangle_max) = 180;
8466 MY(sizeincrease) = 30;
8471 MY(velocityjitter) = '100.0 100.0 200.0';
8472 MY(velocityoffset) = '0.0 0.0 180.0';
8474 // smoke in the middle
8475 SUB(bigplasma_impact) {
8476 MY(airfriction) = 0.040000;
8477 MY(alpha_min) = 128;
8478 MY(alpha_max) = 328;
8479 MY(alpha_fade) = 310;
8480 MY(color_min) = "0x222222";
8481 MY(color_max) = "0x000000";
8483 MY(gravity) = -0.200000;
8484 MY(originjitter) = '80.0 80.0 80.0';
8485 MY(startangle_min) = -180;
8486 MY(startangle_max) = 180;
8489 MY(sizeincrease) = -10;
8493 MY(type) = "alphastatic";
8494 MY(velocityjitter) = '10.0 10.0 10.0';
8497 #include "effectinfo_ctf.inc"
8499 // spawn_point -- team idle spawn point effect
8500 #define spawn_point(name, color) \
8501 DEF(spawn_point_##name); \
8502 SUB(spawn_point_##name) { \
8503 MY(airfriction) = 0.200000; \
8504 MY(alpha_min) = 64; \
8505 MY(alpha_max) = 128; \
8506 MY(alpha_fade) = 128; \
8507 MY(color_min) = color; \
8508 MY(color_max) = color; \
8509 MY(count) = 37.500000; \
8510 MY(gravity) = -0.100000; \
8511 MY(liquidfriction) = 0.800000; \
8512 MY(originjitter) = '16.0 16.0 64.0'; \
8515 MY(type) = "static"; \
8516 MY(velocityjitter) = '32.0 32.0 0.0'; \
8519 spawn_point(red, "0xFF0F0F")
8520 spawn_point(blue, "0x0F0FFF")
8521 spawn_point(yellow, "0xFFFF0F")
8522 spawn_point(pink, "0xFF0FFF")
8523 spawn_point(neutral, "0xFFFFFF")
8526 // spawn_event -- team spawning effect
8527 #define spawn_event(name, color) \
8528 DEF(spawn_event_##name); \
8529 SUB(spawn_event_##name) { \
8530 MY(airfriction) = 2; \
8531 MY(alpha_max) = 256; \
8532 MY(alpha_fade) = 256; \
8534 MY(color_min) = color; \
8535 MY(color_max) = color; \
8537 MY(originjitter) = '1.0 1.0 1.0'; \
8540 MY(stretchfactor) = 0.600000; \
8543 MY(type) = "spark"; \
8544 MY(velocityjitter) = '500.0 500.0 500.0'; \
8545 MY(velocitymultiplier) = 0.100000; \
8547 SUB(spawn_event_##name) { \
8548 MY(alpha_min) = 190; \
8549 MY(alpha_max) = 190; \
8550 MY(alpha_fade) = 180; \
8551 MY(color_min) = color; \
8552 MY(color_max) = color; \
8553 MY(countabsolute) = 1; \
8554 MY(sizeincrease) = -80; \
8555 MY(size_min) = 100; \
8556 MY(size_max) = 100; \
8559 MY(type) = "smoke"; \
8563 spawn_event(red, "0xFF0F0F")
8564 spawn_event(blue, "0x0F0FFF")
8565 spawn_event(yellow, "0xFFFF0F")
8566 spawn_event(pink, "0xFF0FFF")
8567 spawn_event(neutral, "0xFFFFFF")
8570 #include "effectinfo_nades.inc"
8572 DEF(shockwave_attack);
8574 SUB(shockwave_attack) {
8575 MY(airfriction) = 1;
8576 MY(alpha_min) = 4096;
8577 MY(alpha_max) = 4096;
8578 MY(alpha_fade) = 20000;
8579 MY(color_min) = "0xb44215";
8580 MY(color_max) = "0xff0000";
8582 MY(originjitter) = '2.0 2.0 2.0';
8583 MY(startangle_min) = -180;
8584 MY(startangle_max) = 180;
8585 MY(spin_min) = 4000;
8586 MY(spin_max) = -4000;
8587 MY(sizeincrease) = 1.500000;
8590 MY(stretchfactor) = 2.300000;
8594 MY(velocityjitter) = '10.0 10.0 10.0';
8595 MY(velocitymultiplier) = 10;
8598 SUB(shockwave_attack) {
8599 MY(airfriction) = 1;
8600 MY(alpha_min) = 4096;
8601 MY(alpha_max) = 4096;
8602 MY(alpha_fade) = 20000;
8603 MY(color_min) = "0xff4200";
8604 MY(color_max) = "0xff0000";
8606 MY(originjitter) = '2.0 2.0 2.0';
8607 MY(sizeincrease) = 1.500000;
8610 MY(stretchfactor) = 2;
8614 MY(velocityjitter) = '10.0 10.0 10.0';
8615 MY(velocitymultiplier) = 10;
8620 SUB(arc_lightning) {
8623 MY(countabsolute) = 1;
8624 MY(lightcolor) = '3.1 4.4 10.0';
8625 MY(lightradiusfade) = 200;
8626 MY(lightradius) = 50;
8627 MY(originjitter) = '2.0 2.0 2.0';
8635 SUB(arc_lightning) {
8636 MY(airfriction) = 110;
8637 MY(alpha_min) = 256;
8638 MY(alpha_max) = 256;
8639 MY(alpha_fade) = 512;
8640 MY(color_min) = "0xDDFDFF";
8641 MY(color_max) = "0xFDFDFF";
8643 MY(originjitter) = '20.0 20.0 20.0';
8644 MY(startangle_max) = 360;
8645 MY(spin_min) = -36000;
8646 MY(spin_max) = 36000;
8647 MY(sizeincrease) = -5;
8649 MY(stretchfactor) = 1;
8652 MY(type) = "static";
8653 MY(velocityjitter) = '250.0 250.0 250.0';
8654 MY(velocitymultiplier) = 100;
8656 // impact sparks (underwater)
8657 SUB(arc_lightning) {
8658 MY(airfriction) = 5;
8659 MY(alpha_min) = 256;
8660 MY(alpha_max) = 256;
8661 MY(alpha_fade) = 512;
8662 MY(color_min) = "0xDDFDFF";
8663 MY(color_max) = "0xFDFDFF";
8665 MY(liquidfriction) = 5;
8666 MY(orientation) = "spark";
8667 MY(originjitter) = '20.0 20.0 20.0';
8668 MY(startangle_max) = 360;
8669 MY(spin_min) = -36000;
8670 MY(spin_max) = 36000;
8671 MY(sizeincrease) = -5;
8673 MY(stretchfactor) = 1;
8676 MY(type) = "static";
8677 MY(underwater) = true;
8678 MY(velocityjitter) = '250.0 250.0 250.0';
8679 MY(velocitymultiplier) = 20;
8682 SUB(arc_lightning) {
8685 MY(alpha_fade) = 350;
8686 MY(color_min) = "0x80C0FF";
8687 MY(color_max) = "0x80C0FF";
8688 MY(countabsolute) = 1;
8689 MY(sizeincrease) = 400;
8695 MY(velocitymultiplier) = 100;
8701 MY(airfriction) = -10;
8702 MY(alpha_min) = 256;
8703 MY(alpha_max) = 256;
8704 MY(alpha_fade) = 16384;
8705 MY(color_min) = "0xfafad2";
8706 MY(color_max) = "0xffffff";
8707 MY(originjitter) = '3.0 3.0 3.0';
8708 MY(relativeoriginoffset) = '10.0 0.0 0.0';
8709 MY(startangle_max) = 360;
8711 MY(spin_max) = 1000;
8712 MY(stretchfactor) = 1;
8715 MY(time_min) = 0.050000;
8716 MY(time_max) = 0.050000;
8717 MY(trailspacing) = 10;
8719 MY(velocityjitter) = '100.0 100.0 100.0';
8720 MY(velocitymultiplier) = 200;
8722 // sparks on beam (underwater)
8724 MY(alpha_min) = 256;
8725 MY(alpha_max) = 256;
8726 MY(alpha_fade) = 16384;
8727 MY(color_min) = "0xfafad2";
8728 MY(color_max) = "0xffffff";
8729 MY(liquidfriction) = -10;
8730 MY(originjitter) = '30.0 30.0 30.0';
8731 MY(relativeoriginoffset) = '10.0 0.0 0.0';
8732 MY(startangle_max) = 360;
8734 MY(spin_max) = 1000;
8735 MY(stretchfactor) = 1;
8738 MY(time_min) = 0.001000;
8739 MY(time_max) = 0.001000;
8740 MY(trailspacing) = 10;
8742 MY(underwater) = true;
8743 MY(velocityjitter) = '100.0 100.0 100.0';
8744 MY(velocitymultiplier) = 200;
8749 SUB(arc_beam_heal) {
8750 MY(airfriction) = -20;
8751 MY(alpha_min) = 2048;
8752 MY(alpha_max) = 2048;
8753 MY(alpha_fade) = 256;
8754 MY(color_min) = "0x20FF20";
8755 MY(color_max) = "0x40FF40";
8756 MY(relativeoriginoffset) = '5.0 0.0 0.0';
8757 MY(relativevelocityoffset) = '100.0 0.0 0.0';
8758 MY(sizeincrease) = 20;
8759 MY(size_min) = 0.100000;
8760 MY(size_max) = 0.100000;
8763 MY(trailspacing) = 1500;
8765 MY(velocityjitter) = '3.0 3.0 3.0';
8766 MY(velocitymultiplier) = 200;
8769 DEF(arc_beam_healimpact);
8771 SUB(arc_beam_healimpact) {
8774 MY(alpha_fade) = 350;
8775 MY(color_min) = "0x00ff00";
8776 MY(color_max) = "0x84c52f";
8777 MY(countabsolute) = 1;
8778 MY(lightcolor) = '0.0 4.4 0.0';
8779 MY(lightradiusfade) = 150;
8780 MY(lightradius) = 20;
8781 MY(sizeincrease) = -1000;
8787 MY(velocitymultiplier) = 44;
8790 SUB(arc_beam_healimpact) {
8791 MY(airfriction) = 3;
8792 MY(alpha_min) = 200;
8793 MY(alpha_max) = 456;
8794 MY(alpha_fade) = 512;
8795 MY(color_min) = "0x00ff00";
8796 MY(color_max) = "0x84c52f";
8799 MY(startangle_min) = -180;
8800 MY(startangle_max) = 180;
8803 MY(size_min) = 0.500000;
8808 MY(velocityjitter) = '120.0 120.0 420.0';
8812 // arc heat smoke (notunderwater)
8814 MY(airfriction) = 1;
8817 MY(alpha_fade) = 48;
8818 MY(color_min) = "0x4c453f";
8819 MY(color_max) = "0x2a241f";
8821 MY(gravity) = -0.125000;
8822 MY(notunderwater) = true;
8823 MY(startangle_max) = 360;
8824 MY(spin_min) = -180;
8826 MY(sizeincrease) = 10;
8831 MY(velocityjitter) = '0.0 0.0 16.0';
8833 // arc heat bubbles (underwater)
8835 MY(alpha_min) = 170;
8836 MY(alpha_max) = 256;
8837 MY(alpha_fade) = 64;
8838 MY(bounce) = 1.500000;
8839 MY(color_min) = "0x404040";
8840 MY(color_max) = "0x808080";
8842 MY(gravity) = -0.125000;
8843 MY(liquidfriction) = 0.250000;
8844 MY(originjitter) = '6.0 6.0 6.0';
8845 MY(size_min) = 0.100000;
8849 MY(type) = "bubble";
8850 MY(underwater) = true;
8851 MY(velocityjitter) = '16.0 16.0 16.0';
8855 // arc overheat electric bolts
8857 MY(airfriction) = 5;
8858 MY(alpha_min) = 128;
8859 MY(alpha_max) = 128;
8860 MY(alpha_fade) = 292;
8861 MY(color_min) = "0xffffff";
8862 MY(color_max) = "0x9271fb";
8864 MY(gravity) = -0.400000;
8865 MY(liquidfriction) = 10;
8866 MY(originjitter) = '10.0 10.0 10.0';
8867 MY(sizeincrease) = -24;
8873 MY(velocityjitter) = '256.0 256.0 256.0';
8876 DEF(arc_overheat_fire);
8877 // arc overheat bouncing sparks
8878 SUB(arc_overheat_fire) {
8879 MY(alpha_max) = 256;
8880 MY(alpha_fade) = 640;
8881 MY(bounce) = 1.500000;
8882 MY(color_min) = "0x4444ff";
8883 MY(color_max) = "0xeeeeff";
8886 MY(liquidfriction) = 5;
8887 MY(originjitter) = '6.0 6.0 6.0';
8888 MY(size_min) = 0.400000;
8891 MY(velocityjitter) = '92.0 92.0 92.0';
8892 MY(velocitymultiplier) = 80;
8893 MY(velocityoffset) = '0.0 0.0 80.0';
8896 #include "effectinfo_buffs.inc"
8898 #include "effectinfo_instagib.inc"
8900 DEF(arc_muzzleflash);
8901 SUB(arc_muzzleflash) {
8902 MY(alpha_min) = 256;
8903 MY(alpha_max) = 256;
8904 MY(alpha_fade) = 512;
8905 MY(color_min) = "0x00ff00";
8906 MY(color_max) = "0x8f4333";
8908 MY(lightcolor) = '0.3 2.0 0.2';
8909 MY(lightradiusfade) = 2000;
8910 MY(lightradius) = 200;
8911 MY(originjitter) = '1.5 1.5 1.5';
8916 MY(velocityjitter) = '6.0 6.0 6.0';
8917 MY(velocitymultiplier) = 0.010000;
8919 SUB(arc_muzzleflash) {
8920 MY(airfriction) = 12;
8921 MY(alpha_max) = 128;
8922 MY(alpha_fade) = 1024;
8923 MY(color_min) = "0x00ff00";
8924 MY(color_max) = "0x8f4333";
8926 MY(originjitter) = '1.0 1.0 1.0';
8927 MY(startangle_min) = -180;
8928 MY(startangle_max) = 180;
8929 MY(spin_min) = -400;
8933 MY(stretchfactor) = 2;
8937 MY(velocityjitter) = '200.0 200.0 200.0';
8938 MY(velocitymultiplier) = 0.500000;
8941 DEF(arc_bolt_explode);
8943 SUB(arc_bolt_explode) {
8944 MY(alpha_min) = 256;
8945 MY(alpha_max) = 256;
8946 MY(countabsolute) = 1;
8947 MY(lightcolor) = '8.0 4.0 1.0';
8948 MY(lightradiusfade) = 400;
8949 MY(lightradius) = 120;
8950 MY(originjitter) = '14.0 14.0 14.0';
8957 // fire effect which make bright dot inside
8958 SUB(arc_bolt_explode) {
8959 MY(airfriction) = 8;
8961 MY(alpha_max) = 200;
8962 MY(alpha_fade) = 356;
8963 MY(bounce) = 1.500000;
8964 MY(color_min) = "0x00ffff";
8965 MY(color_max) = "0x00ffff";
8966 MY(count) = 3.500000;
8967 MY(liquidfriction) = 8;
8968 MY(notunderwater) = true;
8969 MY(originjitter) = '8.0 8.0 8.0';
8970 MY(sizeincrease) = 5;
8976 MY(velocityjitter) = '156.0 156.0 156.0';
8978 // fire effect which expands then slows
8979 SUB(arc_bolt_explode) {
8980 MY(airfriction) = 12;
8981 MY(alpha_min) = 128;
8982 MY(alpha_max) = 256;
8983 MY(alpha_fade) = 456;
8984 MY(bounce) = 1.500000;
8985 MY(color_min) = "0x00ff00";
8986 MY(color_max) = "0x8f4333";
8988 MY(liquidfriction) = 8;
8989 MY(notunderwater) = true;
8990 MY(originjitter) = '8.0 8.0 8.0';
8991 MY(sizeincrease) = 15;
8996 MY(type) = "static";
8997 MY(velocityjitter) = '286.0 286.0 286.0';
8999 // underwater bubbles
9000 SUB(arc_bolt_explode) {
9001 MY(alpha_min) = 128;
9002 MY(alpha_max) = 256;
9003 MY(alpha_fade) = 64;
9004 MY(bounce) = 1.500000;
9005 MY(color_min) = "0x404040";
9006 MY(color_max) = "0x808080";
9008 MY(gravity) = -0.125000;
9009 MY(liquidfriction) = 0.250000;
9010 MY(originjitter) = '16.0 16.0 16.0';
9015 MY(type) = "bubble";
9016 MY(underwater) = true;
9017 MY(velocityjitter) = '96.0 96.0 96.0';
9020 SUB(arc_bolt_explode) {
9021 MY(airfriction) = 1;
9022 MY(alpha_min) = 644;
9023 MY(alpha_max) = 956;
9024 MY(alpha_fade) = 684;
9025 MY(bounce) = 1.600000;
9026 MY(color_min) = "0x00ff00";
9027 MY(color_max) = "0x8f4333";
9030 MY(liquidfriction) = 0.800000;
9031 MY(notunderwater) = true;
9032 MY(originjitter) = '16.0 16.0 16.0';
9034 MY(size_max) = 0.100000;
9038 MY(velocityjitter) = '224.0 224.0 224.0';
9039 MY(velocityoffset) = '0.0 0.0 80.0';
9042 // weak bullet trail (somewhat like a tracer)
9043 DEF(tr_bullet_weak);
9044 SUB(tr_bullet_weak) {
9045 MY(alpha) = '75 100 3000';
9046 MY(color_min) = "0xf03000";
9047 MY(color_max) = "0xff6010";
9048 MY(countabsolute) = 1;
9049 MY(sizeincrease) = -3;
9056 SUB(tr_bullet_weak) {
9057 MY(airfriction) = -4;
9058 MY(alpha) = '256 256 350';
9059 MY(color_min) = "0x202020";
9060 MY(color_max) = "0x404040";
9061 MY(notunderwater) = true;
9062 MY(sizeincrease) = 0.4;
9067 MY(trailspacing) = 16;
9069 MY(velocityjitter) = '4 4 4';
9071 SUB(tr_bullet_weak) {
9072 MY(alpha_min) = 256;
9073 MY(alpha_max) = 256;
9074 MY(alpha_fade) = 128;
9075 MY(bounce) = 1.500000;
9076 MY(color_min) = "0x404040";
9077 MY(color_max) = "0x808080";
9078 MY(gravity) = -0.125000;
9079 MY(liquidfriction) = 4;
9084 MY(trailspacing) = 32;
9085 MY(type) = "bubble";
9086 MY(underwater) = true;
9087 MY(velocityjitter) = '16.0 16.0 16.0';