Xonotic
effectinfo_vehicles.inc
Go to the documentation of this file.
1 DEF(spiderbot_minigun_trail);
2 SUB(spiderbot_minigun_trail) {
3  MY(airfriction) = 1;
4  MY(alpha_min) = 20;
5  MY(alpha_max) = 50;
6  MY(alpha_fade) = 100;
7  MY(color_min) = "0xd0d0a0";
8  MY(color_max) = "0xffffff";
9  MY(gravity) = -0.030000;
10  MY(notunderwater) = true;
11  MY(sizeincrease) = 2;
12  MY(size_min) = 1;
13  MY(size_max) = 2;
14  MY(tex_max) = 8;
15  MY(trailspacing) = 10;
16  MY(type) = "smoke";
17  MY(velocityjitter) = '5.0 5.0 5.0';
18 }
19 
20 DEF(spiderbot_minigun_muzzleflash);
21 SUB(spiderbot_minigun_muzzleflash) {
22  MY(airfriction) = 10;
23  MY(alpha_min) = 256;
24  MY(alpha_max) = 512;
25  MY(alpha_fade) = 6280;
26  MY(color_min) = "0xff9c00";
27  MY(color_max) = "0xff8400";
28  MY(count) = 3;
29  MY(originjitter) = '2.0 2.0 2.0';
30  MY(startangle_min) = -180;
31  MY(startangle_max) = 180;
32  MY(spin_min) = 4000;
33  MY(spin_max) = -4000;
34  MY(sizeincrease) = -100;
35  MY(size_min) = 10;
36  MY(size_max) = 15;
37  MY(stretchfactor) = 1.300000;
38  MY(tex_min) = 48;
39  MY(tex_max) = 55;
40  MY(type) = "spark";
41  MY(velocityjitter) = '150.0 150.0 150.0';
42  MY(velocitymultiplier) = 0.350000;
43 }
44 // fire
45 SUB(spiderbot_minigun_muzzleflash) {
46  MY(airfriction) = 12;
47  MY(alpha_min) = 256;
48  MY(alpha_max) = 512;
49  MY(alpha_fade) = 6280;
50  MY(color_min) = "0xff9c00";
51  MY(color_max) = "0xff8400";
52  MY(count) = 6;
53  MY(originjitter) = '2.0 2.0 2.0';
54  MY(sizeincrease) = -10;
55  MY(size_min) = 5;
56  MY(size_max) = 7;
57  MY(stretchfactor) = 0.800000;
58  MY(tex_min) = 8;
59  MY(tex_max) = 15;
60  MY(type) = "spark";
61  MY(velocityjitter) = '200.0 200.0 200.0';
62  MY(velocitymultiplier) = 0.200000;
63 }
64 SUB(spiderbot_minigun_muzzleflash) {
65  MY(alpha_min) = 256;
66  MY(alpha_max) = 512;
67  MY(alpha_fade) = 6680;
68  MY(color_min) = "0xff9c00";
69  MY(color_max) = "0xff8400";
70  MY(countabsolute) = 2;
71  MY(lightcolor) = '3.0 3.0 0.0';
72  MY(lightradiusfade) = 8000;
73  MY(lightradius) = 120;
74  MY(startangle_min) = -180;
75  MY(startangle_max) = 180;
76  MY(spin_min) = 4000;
77  MY(spin_max) = -4000;
78  MY(sizeincrease) = -100;
79  MY(size_min) = 32;
80  MY(size_max) = 32;
81  MY(stretchfactor) = 0.100000;
82  MY(tex_min) = 48;
83  MY(tex_max) = 55;
84  MY(type) = "static";
85 }
86 
87 DEF(spiderbot_minigun_impact);
88 SUB(spiderbot_minigun_impact) {
89  MY(alpha_min) = 50;
90  MY(alpha_max) = 100;
91  MY(alpha_fade) = 1680;
92  MY(color_min) = "0xff9c00";
93  MY(color_max) = "0xf6ff00";
94  MY(countabsolute) = 1;
95  MY(startangle_min) = -180;
96  MY(startangle_max) = 180;
97  MY(spin_min) = 4000;
98  MY(spin_max) = -4000;
99  MY(sizeincrease) = -100;
100  MY(size_min) = 52;
101  MY(size_max) = 52;
102  MY(stretchfactor) = 0.100000;
103  MY(tex_min) = 65;
104  MY(tex_max) = 65;
105  MY(type) = "static";
106 }
107 // fire
108 SUB(spiderbot_minigun_impact) {
109  MY(airfriction) = 6;
110  MY(alpha_min) = 256;
111  MY(alpha_max) = 512;
112  MY(alpha_fade) = 6280;
113  MY(color_min) = "0xff9c00";
114  MY(color_max) = "0xff8400";
115  MY(count) = 7;
116  MY(originjitter) = '2.0 2.0 2.0';
117  MY(startangle_min) = -180;
118  MY(startangle_max) = 180;
119  MY(spin_min) = 4000;
120  MY(spin_max) = -4000;
121  MY(sizeincrease) = 100;
122  MY(size_min) = 9;
123  MY(size_max) = 15;
124  MY(stretchfactor) = 3;
125  MY(tex_min) = 48;
126  MY(tex_max) = 55;
127  MY(type) = "spark";
128  MY(velocityjitter) = '250.0 250.0 150.0';
129  MY(velocitymultiplier) = 0.200000;
130 }
131 // smoke
132 SUB(spiderbot_minigun_impact) {
133  MY(airfriction) = 10;
134  MY(alpha_min) = 50;
135  MY(alpha_max) = 50;
136  MY(alpha_fade) = 190;
137  MY(color_min) = "0xd0d0a0";
138  MY(color_max) = "0xffffff";
139  MY(count) = 6;
140  MY(gravity) = 1.300000;
141  MY(startangle_min) = -180;
142  MY(startangle_max) = 180;
143  MY(sizeincrease) = 80;
144  MY(size_min) = 10;
145  MY(size_max) = 20;
146  MY(tex_max) = 8;
147  MY(type) = "smoke";
148  MY(velocityjitter) = '100.0 100.0 250.0';
149  MY(velocitymultiplier) = 0.490000;
150 }
151 // smoke 2
152 SUB(spiderbot_minigun_impact) {
153  MY(airfriction) = 6;
154  MY(alpha_min) = 25;
155  MY(alpha_max) = 51;
156  MY(alpha_fade) = 128;
157  MY(color_min) = "0xd0d0a0";
158  MY(color_max) = "0xffffff";
159  MY(count) = 7;
160  MY(originjitter) = '2.0 2.0 2.0';
161  MY(sizeincrease) = 100;
162  MY(size_min) = 15;
163  MY(size_max) = 19;
164  MY(stretchfactor) = 7.600000;
165  MY(tex_max) = 8;
166  MY(type) = "spark";
167  MY(velocityjitter) = '250.0 250.0 150.0';
168  MY(velocitymultiplier) = 0.200000;
169 }
170 // debris
171 SUB(spiderbot_minigun_impact) {
172  MY(airfriction) = 0.400000;
173  MY(alpha_min) = 644;
174  MY(alpha_max) = 756;
175  MY(alpha_fade) = 1484;
176  MY(color_min) = "0x99977D";
177  MY(color_max) = "0xFFFFFF";
178  MY(count) = 3;
179  MY(gravity) = 1.100000;
180  MY(notunderwater) = true;
181  MY(originjitter) = '16.0 16.0 16.0';
182  MY(startangle_min) = -180;
183  MY(startangle_max) = 180;
184  MY(spin_min) = -1000;
185  MY(spin_max) = 1000;
186  MY(sizeincrease) = -10;
187  MY(size_min) = 6;
188  MY(size_max) = 8;
189  MY(tex_min) = 66;
190  MY(tex_max) = 68;
191  MY(type) = "alphastatic";
192  MY(velocityjitter) = '124.0 124.0 224.0';
193  MY(velocitymultiplier) = 0.150000;
194 }
195 // decal
196 SUB(spiderbot_minigun_impact) {
197  MY(alpha_min) = 256;
198  MY(alpha_max) = 256;
199  MY(countabsolute) = 1;
200  MY(originjitter) = '16.0 16.0 16.0';
201  MY(startangle_min) = -180;
202  MY(startangle_max) = 180;
203  MY(size_min) = 20;
204  MY(size_max) = 25;
205  MY(tex_min) = 56;
206  MY(tex_max) = 59;
207  MY(type) = "decal";
208 }
209 
210 DEF(spiderbot_rocket_explode);
211 SUB(spiderbot_rocket_explode) {
212  MY(alpha_min) = 256;
213  MY(alpha_max) = 256;
214  MY(countabsolute) = 1;
215  MY(lightcolor) = '8.0 4.0 0.0';
216  MY(lightradiusfade) = 1750;
217  MY(lightradius) = 300;
218  MY(originjitter) = '23.0 23.0 23.0';
219  MY(size_min) = 72;
220  MY(size_max) = 72;
221  MY(tex_min) = 8;
222  MY(tex_max) = 16;
223  MY(type) = "decal";
224 }
225 // shockwave
226 SUB(spiderbot_rocket_explode) {
227  MY(alpha_min) = 56;
228  MY(alpha_max) = 56;
229  MY(alpha_fade) = 230;
230  MY(color_min) = "0x8f0d00";
231  MY(color_max) = "0xff5a00";
232  MY(countabsolute) = 1;
233  MY(sizeincrease) = 2400;
234  MY(size_min) = 22;
235  MY(size_max) = 22;
236  MY(tex_min) = 33;
237  MY(tex_max) = 33;
238  MY(type) = "static";
239 }
240 // glow
241 SUB(spiderbot_rocket_explode) {
242  MY(alpha_min) = 156;
243  MY(alpha_max) = 156;
244  MY(alpha_fade) = 830;
245  MY(color_min) = "0x8f0d00";
246  MY(color_max) = "0xff5a00";
247  MY(countabsolute) = 1;
248  MY(sizeincrease) = 240;
249  MY(size_min) = 120;
250  MY(size_max) = 120;
251  MY(tex_min) = 64;
252  MY(tex_max) = 64;
253  MY(type) = "static";
254 }
255 // fire effect
256 SUB(spiderbot_rocket_explode) {
257  MY(airfriction) = 8;
258  MY(alpha_min) = 200;
259  MY(alpha_max) = 256;
260  MY(alpha_fade) = 812;
261  MY(color_min) = "0x8f0d00";
262  MY(color_max) = "0xff5a00";
263  MY(count) = 32;
264  MY(liquidfriction) = 8;
265  MY(notunderwater) = true;
266  MY(originjitter) = '100.0 100.0 100.0';
267  MY(startangle_min) = -180;
268  MY(startangle_max) = 180;
269  MY(spin_min) = -50;
270  MY(spin_max) = 50;
271  MY(sizeincrease) = 495;
272  MY(size_min) = 12;
273  MY(size_max) = 21;
274  MY(tex_min) = 48;
275  MY(tex_max) = 55;
276  MY(type) = "static";
277  MY(velocityjitter) = '512.0 512.0 512.0';
278 }
279 // fire effect 2
280 SUB(spiderbot_rocket_explode) {
281  MY(airfriction) = -2;
282  MY(alpha_min) = 200;
283  MY(alpha_max) = 256;
284  MY(alpha_fade) = 912;
285  MY(color_min) = "0x8f0d00";
286  MY(color_max) = "0xff5a00";
287  MY(count) = 16;
288  MY(liquidfriction) = 8;
289  MY(notunderwater) = true;
290  MY(startangle_min) = -180;
291  MY(startangle_max) = 180;
292  MY(spin_min) = -150;
293  MY(spin_max) = 150;
294  MY(sizeincrease) = 120;
295  MY(size_min) = 3;
296  MY(size_max) = 3;
297  MY(stretchfactor) = 10;
298  MY(tex_min) = 48;
299  MY(tex_max) = 55;
300  MY(type) = "spark";
301  MY(velocityjitter) = '412.0 412.0 412.0';
302 }
303 // fire rays
304 SUB(spiderbot_rocket_explode) {
305  MY(airfriction) = -3;
306  MY(alpha_min) = 200;
307  MY(alpha_max) = 256;
308  MY(alpha_fade) = 1600;
309  MY(color_min) = "0x8f0d00";
310  MY(color_max) = "0xff5a00";
311  MY(count) = 10;
312  MY(liquidfriction) = 8;
313  MY(notunderwater) = true;
314  MY(originjitter) = '40.0 40.0 40.0';
315  MY(sizeincrease) = 120;
316  MY(size_min) = 13;
317  MY(size_max) = 54;
318  MY(stretchfactor) = 10;
319  MY(tex_min) = 48;
320  MY(tex_max) = 55;
321  MY(type) = "spark";
322  MY(velocityjitter) = '712.0 712.0 712.0';
323 }
324 // smoke
325 SUB(spiderbot_rocket_explode) {
326  MY(airfriction) = 3;
327  MY(alpha_min) = 300;
328  MY(alpha_max) = 650;
329  MY(alpha_fade) = 756;
330  MY(color_min) = "0x4F4B46";
331  MY(color_max) = "0x000000";
332  MY(count) = 10;
333  MY(notunderwater) = true;
334  MY(originjitter) = '100.0 100.0 100.0';
335  MY(startangle_min) = -180;
336  MY(startangle_max) = 180;
337  MY(spin_min) = -20;
338  MY(spin_max) = 20;
339  MY(sizeincrease) = 280;
340  MY(size_min) = 10;
341  MY(size_max) = 15;
342  MY(tex_max) = 8;
343  MY(type) = "alphastatic";
344  MY(velocityjitter) = '200.0 200.0 200.0';
345 }
346 // smoke2
347 SUB(spiderbot_rocket_explode) {
348  MY(airfriction) = 2;
349  MY(alpha_min) = 300;
350  MY(alpha_max) = 650;
351  MY(alpha_fade) = 556;
352  MY(color_min) = "0x4F4B46";
353  MY(color_max) = "0x000000";
354  MY(count) = 3;
355  MY(gravity) = -0.500000;
356  MY(notunderwater) = true;
357  MY(originjitter) = '10.0 10.0 10.0';
358  MY(startangle_min) = -180;
359  MY(startangle_max) = 180;
360  MY(spin_min) = -20;
361  MY(spin_max) = 20;
362  MY(sizeincrease) = 30;
363  MY(size_min) = 100;
364  MY(size_max) = 150;
365  MY(tex_max) = 8;
366  MY(type) = "alphastatic";
367  MY(velocityjitter) = '200.0 200.0 200.0';
368 }
369 // underwater bubbles
370 SUB(spiderbot_rocket_explode) {
371  MY(alpha_min) = 128;
372  MY(alpha_max) = 256;
373  MY(alpha_fade) = 64;
374  MY(bounce) = 1.500000;
375  MY(color_min) = "0x404040";
376  MY(color_max) = "0x808080";
377  MY(count) = 32;
378  MY(gravity) = -0.125000;
379  MY(liquidfriction) = 0.250000;
380  MY(originjitter) = '160.0 160.0 160.0';
381  MY(size_min) = 1;
382  MY(size_max) = 3;
383  MY(tex_min) = 62;
384  MY(tex_max) = 62;
385  MY(type) = "bubble";
386  MY(underwater) = true;
387  MY(velocityjitter) = '144.0 144.0 144.0';
388 }
389 // underwatershockwave
390 SUB(spiderbot_rocket_explode) {
391  MY(alpha_min) = 40;
392  MY(alpha_max) = 40;
393  MY(alpha_fade) = 300;
394  MY(countabsolute) = 1;
395  MY(sizeincrease) = 1200;
396  MY(size_min) = 30;
397  MY(size_max) = 30;
398  MY(tex_min) = 33;
399  MY(tex_max) = 33;
400  MY(type) = "smoke";
401  MY(underwater) = true;
402 }
403 
404 DEF(spiderbot_rocket_thrust);
405 SUB(spiderbot_rocket_thrust) {
406  MY(alpha_min) = 200;
407  MY(alpha_max) = 256;
408  MY(alpha_fade) = 1600;
409  MY(color_min) = "0x8f0d00";
410  MY(color_max) = "0xff5a00";
411  MY(count) = 3;
412  MY(notunderwater) = true;
413  MY(sizeincrease) = -40;
414  MY(size_min) = 5;
415  MY(size_max) = 10;
416  MY(stretchfactor) = 0.900000;
417  MY(tex_min) = 48;
418  MY(tex_max) = 55;
419  MY(type) = "spark";
420  MY(velocityjitter) = '20.0 20.0 20.0';
421  MY(velocitymultiplier) = -1.400000;
422 }
423 SUB(spiderbot_rocket_thrust) {
424  MY(alpha_min) = 200;
425  MY(alpha_max) = 200;
426  MY(alpha_fade) = 9000;
427  MY(color_min) = "0x8f0d00";
428  MY(color_max) = "0xff5a00";
429  MY(count) = 4;
430  MY(notunderwater) = true;
431  MY(startangle_min) = -180;
432  MY(startangle_max) = 180;
433  MY(spin_min) = -500;
434  MY(spin_max) = 500;
435  MY(sizeincrease) = -3000;
436  MY(size_min) = 25;
437  MY(size_max) = 25;
438  MY(stretchfactor) = 1;
439  MY(tex_min) = 48;
440  MY(tex_max) = 55;
441  MY(type) = "static";
442  MY(velocityjitter) = '60.0 60.0 60.0';
443  MY(velocitymultiplier) = -1.400000;
444 }
445 
446 DEF(spiderbot_rocket_launch);
447 // long lasting smoke
448 SUB(spiderbot_rocket_launch) {
449  MY(airfriction) = 0.300000;
450  MY(alpha_min) = 100;
451  MY(alpha_max) = 156;
452  MY(alpha_fade) = 60;
453  MY(color_min) = "0xFFFFFF";
454  MY(color_max) = "0xD9C4B0";
455  MY(count) = 8;
456  MY(gravity) = -0.010000;
457  MY(notunderwater) = true;
458  MY(sizeincrease) = 20;
459  MY(size_min) = 30;
460  MY(size_max) = 30;
461  MY(tex_max) = 8;
462  MY(type) = "smoke";
463  MY(velocityjitter) = '60.0 60.0 60.0';
464  MY(velocitymultiplier) = -0.100000;
465 }
466 // fast smoke
467 SUB(spiderbot_rocket_launch) {
468  MY(airfriction) = 0.300000;
469  MY(alpha_min) = 100;
470  MY(alpha_max) = 156;
471  MY(alpha_fade) = 260;
472  MY(color_min) = "0xFFFFFF";
473  MY(color_max) = "0xD9C4B0";
474  MY(count) = 14;
475  MY(gravity) = -0.300000;
476  MY(notunderwater) = true;
477  MY(sizeincrease) = 20;
478  MY(size_min) = 30;
479  MY(size_max) = 30;
480  MY(tex_max) = 8;
481  MY(type) = "smoke";
482  MY(velocityjitter) = '160.0 160.0 60.0';
483 }
484 // fire
485 SUB(spiderbot_rocket_launch) {
486  MY(airfriction) = 0.300000;
487  MY(alpha_min) = 200;
488  MY(alpha_max) = 256;
489  MY(alpha_fade) = 1960;
490  MY(color_min) = "0x8f0d00";
491  MY(color_max) = "0xff5a00";
492  MY(count) = 14;
493  MY(notunderwater) = true;
494  MY(sizeincrease) = 40;
495  MY(size_min) = 30;
496  MY(size_max) = 30;
497  MY(stretchfactor) = 3;
498  MY(tex_min) = 48;
499  MY(tex_max) = 55;
500  MY(type) = "spark";
501  MY(velocityjitter) = '60.0 60.0 60.0';
502  MY(velocitymultiplier) = 0.500000;
503 }
504 // sparks
505 SUB(spiderbot_rocket_launch) {
506  MY(alpha_min) = 200;
507  MY(alpha_max) = 256;
508  MY(alpha_fade) = 1000;
509  MY(color_min) = "0xFFFFFF";
510  MY(color_max) = "0xD9C4B0";
511  MY(count) = 10;
512  MY(notunderwater) = true;
513  MY(size_min) = 1;
514  MY(size_max) = 4;
515  MY(tex_min) = 40;
516  MY(tex_max) = 40;
517  MY(type) = "spark";
518  MY(velocityjitter) = '160.0 160.0 160.0';
519  MY(velocitymultiplier) = -0.500000;
520 }
521 
522 DEF(wakizashi_gun_impact);
523 SUB(wakizashi_gun_impact) {
524  MY(airfriction) = 4;
525  MY(alpha_min) = 256;
526  MY(alpha_max) = 512;
527  MY(alpha_fade) = 1180;
528  MY(color_min) = "0xff0000";
529  MY(color_max) = "0xc03535";
530  MY(count) = 15;
531  MY(gravity) = 3;
532  MY(originjitter) = '40.0 40.0 10.0';
533  MY(size_min) = 4;
534  MY(size_max) = 7;
535  MY(stretchfactor) = 0.900000;
536  MY(tex_min) = 41;
537  MY(tex_max) = 41;
538  MY(type) = "spark";
539  MY(velocityjitter) = '350.0 350.0 550.0';
540  MY(velocityoffset) = '0.0 0.0 700.0';
541 }
542 SUB(wakizashi_gun_impact) {
543  MY(airfriction) = 4;
544  MY(alpha_min) = 50;
545  MY(alpha_max) = 90;
546  MY(alpha_fade) = 150;
547  MY(color_min) = "0xd0d0a0";
548  MY(color_max) = "0xc03535";
549  MY(count) = 24;
550  MY(originjitter) = '40.0 40.0 10.0';
551  MY(startangle_min) = -180;
552  MY(startangle_max) = 180;
553  MY(sizeincrease) = 80;
554  MY(size_min) = 10;
555  MY(size_max) = 20;
556  MY(tex_max) = 8;
557  MY(type) = "smoke";
558  MY(velocityjitter) = '250.0 250.0 450.0';
559  MY(velocityoffset) = '0.0 0.0 600.0';
560 }
561 SUB(wakizashi_gun_impact) {
562  MY(alpha_min) = 250;
563  MY(alpha_max) = 300;
564  MY(alpha_fade) = 680;
565  MY(color_min) = "0xff0000";
566  MY(color_max) = "0xc03535";
567  MY(countabsolute) = 1;
568  MY(sizeincrease) = -180;
569  MY(size_min) = 82;
570  MY(size_max) = 82;
571  MY(tex_min) = 65;
572  MY(tex_max) = 65;
573  MY(type) = "smoke";
574 }
575 SUB(wakizashi_gun_impact) {
576  MY(alpha_min) = 50;
577  MY(alpha_max) = 100;
578  MY(alpha_fade) = 620;
579  MY(color_min) = "0xff0000";
580  MY(color_max) = "0xc03535";
581  MY(countabsolute) = 1;
582  MY(startangle_min) = -180;
583  MY(startangle_max) = 180;
584  MY(spin_min) = 400;
585  MY(spin_max) = -400;
586  MY(sizeincrease) = 900;
587  MY(size_min) = 40;
588  MY(size_max) = 40;
589  MY(tex_min) = 33;
590  MY(tex_max) = 33;
591  MY(type) = "smoke";
592 }
593 SUB(wakizashi_gun_impact) {
594  MY(alpha_min) = 256;
595  MY(alpha_max) = 256;
596  MY(countabsolute) = 1;
597  MY(originjitter) = '16.0 16.0 16.0';
598  MY(startangle_min) = -180;
599  MY(startangle_max) = 180;
600  MY(size_min) = 14;
601  MY(size_max) = 14;
602  MY(tex_min) = 59;
603  MY(tex_max) = 59;
604  MY(type) = "decal";
605 }
606 
607 DEF(wakizashi_gun_muzzleflash);
608 SUB(wakizashi_gun_muzzleflash) {
609  MY(airfriction) = 12;
610  MY(alpha_min) = 256;
611  MY(alpha_max) = 512;
612  MY(alpha_fade) = 6280;
613  MY(color_min) = "0xff0000";
614  MY(color_max) = "0xc03535";
615  MY(count) = 16;
616  MY(originjitter) = '2.0 2.0 2.0';
617  MY(sizeincrease) = -10;
618  MY(size_min) = 5;
619  MY(size_max) = 7;
620  MY(stretchfactor) = 0.700000;
621  MY(tex_min) = 8;
622  MY(tex_max) = 15;
623  MY(type) = "spark";
624  MY(velocityjitter) = '200.0 200.0 200.0';
625  MY(velocitymultiplier) = 0.200000;
626 }
627 
628 DEF(wakizashi_rocket_explode);
629 SUB(wakizashi_rocket_explode) {
630  MY(alpha_min) = 256;
631  MY(alpha_max) = 256;
632  MY(countabsolute) = 1;
633  MY(lightcolor) = '8.0 4.0 0.0';
634  MY(lightradiusfade) = 1750;
635  MY(lightradius) = 300;
636  MY(originjitter) = '23.0 23.0 23.0';
637  MY(size_min) = 72;
638  MY(size_max) = 72;
639  MY(tex_min) = 8;
640  MY(tex_max) = 16;
641  MY(type) = "decal";
642 }
643 // shockwave
644 SUB(wakizashi_rocket_explode) {
645  MY(alpha_min) = 56;
646  MY(alpha_max) = 56;
647  MY(alpha_fade) = 230;
648  MY(color_min) = "0x8f0d00";
649  MY(color_max) = "0xff5a00";
650  MY(countabsolute) = 1;
651  MY(sizeincrease) = 2400;
652  MY(size_min) = 22;
653  MY(size_max) = 22;
654  MY(tex_min) = 33;
655  MY(tex_max) = 33;
656  MY(type) = "static";
657 }
658 // glow
659 SUB(wakizashi_rocket_explode) {
660  MY(alpha_min) = 156;
661  MY(alpha_max) = 156;
662  MY(alpha_fade) = 830;
663  MY(color_min) = "0x8f0d00";
664  MY(color_max) = "0xff5a00";
665  MY(countabsolute) = 1;
666  MY(sizeincrease) = 240;
667  MY(size_min) = 120;
668  MY(size_max) = 120;
669  MY(tex_min) = 64;
670  MY(tex_max) = 64;
671  MY(type) = "static";
672 }
673 // fire effect
674 SUB(wakizashi_rocket_explode) {
675  MY(airfriction) = 2;
676  MY(alpha_min) = 200;
677  MY(alpha_max) = 256;
678  MY(alpha_fade) = 512;
679  MY(color_min) = "0xFFAE00";
680  MY(color_max) = "0xff5a00";
681  MY(count) = 64;
682  MY(liquidfriction) = 8;
683  MY(notunderwater) = true;
684  MY(originjitter) = '10.0 10.0 10.0';
685  MY(startangle_min) = -180;
686  MY(startangle_max) = 180;
687  MY(spin_min) = -50;
688  MY(spin_max) = 50;
689  MY(sizeincrease) = 195;
690  MY(size_min) = 12;
691  MY(size_max) = 21;
692  MY(tex_min) = 48;
693  MY(tex_max) = 55;
694  MY(type) = "static";
695  MY(velocityjitter) = '512.0 512.0 512.0';
696 }
697 // fire rays
698 SUB(wakizashi_rocket_explode) {
699  MY(airfriction) = -3;
700  MY(alpha_min) = 200;
701  MY(alpha_max) = 256;
702  MY(alpha_fade) = 1600;
703  MY(color_min) = "0xFFEA00";
704  MY(color_max) = "0xff5a00";
705  MY(count) = 10;
706  MY(liquidfriction) = 8;
707  MY(notunderwater) = true;
708  MY(originjitter) = '40.0 40.0 40.0';
709  MY(sizeincrease) = 120;
710  MY(size_min) = 43;
711  MY(size_max) = 54;
712  MY(stretchfactor) = 10;
713  MY(tex_min) = 48;
714  MY(tex_max) = 55;
715  MY(type) = "spark";
716  MY(velocityjitter) = '512.0 512.0 512.0';
717 }
718 // smoke
719 SUB(wakizashi_rocket_explode) {
720  MY(airfriction) = 3;
721  MY(alpha_min) = 300;
722  MY(alpha_max) = 450;
723  MY(alpha_fade) = 556;
724  MY(color_min) = "0x4F4B46";
725  MY(color_max) = "0x000000";
726  MY(count) = 32;
727  MY(notunderwater) = true;
728  MY(originjitter) = '100.0 100.0 100.0';
729  MY(startangle_min) = -180;
730  MY(startangle_max) = 180;
731  MY(spin_min) = -20;
732  MY(spin_max) = 20;
733  MY(sizeincrease) = 230;
734  MY(size_min) = 10;
735  MY(size_max) = 15;
736  MY(tex_max) = 8;
737  MY(type) = "alphastatic";
738  MY(velocityjitter) = '200.0 200.0 200.0';
739 }
740 // bouncing sparks
741 SUB(wakizashi_rocket_explode) {
742  MY(airfriction) = 1;
743  MY(alpha_min) = 644;
744  MY(alpha_max) = 956;
745  MY(alpha_fade) = 884;
746  MY(color_min) = "0xffa35b";
747  MY(color_max) = "0xfff2be";
748  MY(count) = 14;
749  MY(gravity) = 1;
750  MY(liquidfriction) = 0.800000;
751  MY(notunderwater) = true;
752  MY(originjitter) = '60.0 60.0 60.0';
753  MY(size_min) = 1;
754  MY(size_max) = 2;
755  MY(tex_min) = 40;
756  MY(tex_max) = 40;
757  MY(type) = "spark";
758  MY(velocityjitter) = '524.0 524.0 524.0';
759  MY(velocityoffset) = '0.0 0.0 170.0';
760 }
761 // underwater bubbles
762 SUB(wakizashi_rocket_explode) {
763  MY(alpha_min) = 128;
764  MY(alpha_max) = 256;
765  MY(alpha_fade) = 64;
766  MY(bounce) = 1.500000;
767  MY(color_min) = "0x404040";
768  MY(color_max) = "0x808080";
769  MY(count) = 32;
770  MY(gravity) = -0.125000;
771  MY(liquidfriction) = 0.250000;
772  MY(originjitter) = '160.0 160.0 160.0';
773  MY(size_min) = 1;
774  MY(size_max) = 3;
775  MY(tex_min) = 62;
776  MY(tex_max) = 62;
777  MY(type) = "bubble";
778  MY(underwater) = true;
779  MY(velocityjitter) = '144.0 144.0 144.0';
780 }
781 // underwatershockwave
782 SUB(wakizashi_rocket_explode) {
783  MY(alpha_min) = 40;
784  MY(alpha_max) = 40;
785  MY(alpha_fade) = 300;
786  MY(countabsolute) = 1;
787  MY(sizeincrease) = 1200;
788  MY(size_min) = 30;
789  MY(size_max) = 30;
790  MY(tex_min) = 33;
791  MY(tex_max) = 33;
792  MY(type) = "smoke";
793  MY(underwater) = true;
794 }
795 
796 DEF(wakizashi_rocket_thrust);
797 SUB(wakizashi_rocket_thrust) {
798  MY(alpha_min) = 200;
799  MY(alpha_max) = 256;
800  MY(alpha_fade) = 1600;
801  MY(color_min) = "0x00FFDD";
802  MY(color_max) = "0x6200FF";
803  MY(countabsolute) = 3;
804  MY(notunderwater) = true;
805  MY(sizeincrease) = -2;
806  MY(size_min) = 14;
807  MY(size_max) = 19;
808  MY(stretchfactor) = 1;
809  MY(tex_min) = 48;
810  MY(tex_max) = 55;
811  MY(type) = "spark";
812  MY(velocityjitter) = '60.0 60.0 60.0';
813  MY(velocitymultiplier) = -1.100000;
814 }
815 SUB(wakizashi_rocket_thrust) {
816  MY(alpha_min) = 200;
817  MY(alpha_max) = 256;
818  MY(alpha_fade) = 1900;
819  MY(color_min) = "0xFFFF33";
820  MY(color_max) = "0xFFEE00";
821  MY(countabsolute) = 2;
822  MY(notunderwater) = true;
823  MY(sizeincrease) = -2;
824  MY(size_min) = 5;
825  MY(size_max) = 10;
826  MY(stretchfactor) = 3;
827  MY(tex_min) = 48;
828  MY(tex_max) = 55;
829  MY(type) = "spark";
830  MY(velocityjitter) = '60.0 60.0 60.0';
831  MY(velocitymultiplier) = -0.300000;
832 }
833 
834 DEF(wakizashi_rocket_launch);
835 // long lasting smoke
836 SUB(wakizashi_rocket_launch) {
837  MY(airfriction) = 0.300000;
838  MY(alpha_min) = 100;
839  MY(alpha_max) = 156;
840  MY(alpha_fade) = 60;
841  MY(color_min) = "0xFFFFFF";
842  MY(color_max) = "0xD9C4B0";
843  MY(count) = 8;
844  MY(notunderwater) = true;
845  MY(sizeincrease) = 20;
846  MY(size_min) = 3;
847  MY(size_max) = 30;
848  MY(tex_max) = 8;
849  MY(type) = "smoke";
850  MY(velocityjitter) = '160.0 160.0 60.0';
851  MY(velocitymultiplier) = -0.100000;
852 }
853 // fast smoke
854 SUB(wakizashi_rocket_launch) {
855  MY(airfriction) = 0.300000;
856  MY(alpha_min) = 100;
857  MY(alpha_max) = 156;
858  MY(alpha_fade) = 260;
859  MY(color_min) = "0xFFFFFF";
860  MY(color_max) = "0xD9C4B0";
861  MY(count) = 14;
862  MY(notunderwater) = true;
863  MY(sizeincrease) = 20;
864  MY(size_min) = 30;
865  MY(size_max) = 30;
866  MY(tex_max) = 8;
867  MY(type) = "smoke";
868  MY(velocityjitter) = '160.0 160.0 60.0';
869  MY(velocitymultiplier) = 0.400000;
870 }
871 //sparks
872 SUB(wakizashi_rocket_launch) {
873  MY(alpha_min) = 200;
874  MY(alpha_max) = 256;
875  MY(alpha_fade) = 1000;
876  MY(color_min) = "0xFFFFFF";
877  MY(color_max) = "0xD9C4B0";
878  MY(count) = 10;
879  MY(notunderwater) = true;
880  MY(size_min) = 1;
881  MY(size_max) = 4;
882  MY(tex_min) = 40;
883  MY(tex_max) = 40;
884  MY(type) = "spark";
885  MY(velocityjitter) = '60.0 60.0 60.0';
886  MY(velocitymultiplier) = -1.500000;
887 }
888 
889 DEF(wakizashi_booster_smoke);
890 SUB(wakizashi_booster_smoke) {
891  MY(airfriction) = 2;
892  MY(alpha_min) = 200;
893  MY(alpha_max) = 750;
894  MY(alpha_fade) = 200;
895  MY(color_min) = "0xA69A80";
896  MY(color_max) = "0xB3B39F";
897  MY(count) = 3;
898  MY(gravity) = -0.100000;
899  MY(notunderwater) = true;
900  MY(originjitter) = '60.0 60.0 60.0';
901  MY(startangle_min) = -180;
902  MY(startangle_max) = 180;
903  MY(spin_min) = -20;
904  MY(spin_max) = 20;
905  MY(sizeincrease) = 10;
906  MY(size_min) = 60;
907  MY(size_max) = 100;
908  MY(tex_max) = 8;
909  MY(type) = "alphastatic";
910  MY(velocityjitter) = '40.0 40.0 40.0';
911 }
912 
913 DEF(raptor_cannon_impact);
914 // decal
915 SUB(raptor_cannon_impact) {
916  MY(alpha_min) = 256;
917  MY(alpha_max) = 256;
918  MY(countabsolute) = 1;
919  MY(originjitter) = '16.0 16.0 16.0';
920  MY(startangle_min) = -180;
921  MY(startangle_max) = 180;
922  MY(size_min) = 24;
923  MY(size_max) = 24;
924  MY(tex_min) = 47;
925  MY(tex_max) = 47;
926  MY(type) = "decal";
927 }
928 // spark
929 SUB(raptor_cannon_impact) {
930  MY(airfriction) = 0.200000;
931  MY(alpha_min) = 644;
932  MY(alpha_max) = 956;
933  MY(alpha_fade) = 784;
934  MY(color_min) = "0xD400FF";
935  MY(color_max) = "0x571863";
936  MY(count) = 6;
937  MY(gravity) = 1;
938  MY(notunderwater) = true;
939  MY(originjitter) = '16.0 16.0 16.0';
940  MY(size_min) = 1;
941  MY(size_max) = 1;
942  MY(tex_min) = 40;
943  MY(tex_max) = 40;
944  MY(type) = "spark";
945  MY(velocityjitter) = '124.0 124.0 524.0';
946  MY(velocityoffset) = '0.0 0.0 150.0';
947 }
948 // smoke
949 SUB(raptor_cannon_impact) {
950  MY(airfriction) = 2;
951  MY(alpha_min) = 428;
952  MY(alpha_max) = 428;
953  MY(alpha_fade) = 600;
954  MY(color_min) = "0x646364";
955  MY(color_max) = "0x151515";
956  MY(count) = 4;
957  MY(gravity) = 0.700000;
958  MY(startangle_min) = -180;
959  MY(startangle_max) = 180;
960  MY(size_min) = 50;
961  MY(size_max) = 50;
962  MY(tex_max) = 7;
963  MY(type) = "alphastatic";
964  MY(velocityjitter) = '200.0 200.0 300.0';
965  MY(velocityoffset) = '0.0 0.0 340.0';
966 }
967 // fire
968 SUB(raptor_cannon_impact) {
969  MY(airfriction) = 8;
970  MY(alpha_min) = 200;
971  MY(alpha_max) = 256;
972  MY(alpha_fade) = 812;
973  MY(bounce) = 1.500000;
974  MY(color_min) = "0xD400FF";
975  MY(color_max) = "0x571863";
976  MY(count) = 10;
977  MY(liquidfriction) = 8;
978  MY(notunderwater) = true;
979  MY(originjitter) = '8.0 8.0 8.0';
980  MY(sizeincrease) = 25;
981  MY(size_min) = 33;
982  MY(size_max) = 44;
983  MY(tex_min) = 48;
984  MY(tex_max) = 55;
985  MY(type) = "static";
986  MY(velocityjitter) = '312.0 312.0 312.0';
987 }
988 
989 DEF(raptor_cannon_muzzleflash);
990 SUB(raptor_cannon_muzzleflash) {
991  MY(airfriction) = 12;
992  MY(alpha_min) = 1256;
993  MY(alpha_max) = 1512;
994  MY(alpha_fade) = 56280;
995  MY(color_min) = "0xD400FF";
996  MY(color_max) = "0x571863";
997  MY(count) = 16;
998  MY(originjitter) = '2.0 2.0 2.0';
999  MY(sizeincrease) = -10;
1000  MY(size_min) = 10;
1001  MY(size_max) = 17;
1002  MY(stretchfactor) = 0.600000;
1003  MY(tex_min) = 8;
1004  MY(tex_max) = 15;
1005  MY(type) = "spark";
1006  MY(velocityjitter) = '200.0 200.0 200.0';
1007  MY(velocitymultiplier) = 0.200000;
1008 }
1009 SUB(raptor_cannon_muzzleflash) {
1010  MY(alpha_min) = 6056;
1011  MY(alpha_max) = 20112;
1012  MY(alpha_fade) = 406280;
1013  MY(color_min) = "0xD400FF";
1014  MY(color_max) = "0x571863";
1015  MY(countabsolute) = 1;
1016  MY(lightcolor) = '3.0 0.0 6.0';
1017  MY(lightradiusfade) = 6000;
1018  MY(lightradius) = 150;
1019  MY(startangle_min) = -180;
1020  MY(startangle_max) = 180;
1021  MY(spin_min) = 4000;
1022  MY(spin_max) = -4000;
1023  MY(sizeincrease) = -100;
1024  MY(size_min) = 32;
1025  MY(size_max) = 32;
1026  MY(stretchfactor) = 0.100000;
1027  MY(tex_min) = 48;
1028  MY(tex_max) = 55;
1029  MY(type) = "static";
1030 }
1031 
1032 DEF(raptor_bomb_impact);
1033 // decal
1034 SUB(raptor_bomb_impact) {
1035  MY(alpha_min) = 256;
1036  MY(alpha_max) = 256;
1037  MY(countabsolute) = 1;
1038  MY(originjitter) = '16.0 16.0 16.0';
1039  MY(startangle_min) = -180;
1040  MY(startangle_max) = 180;
1041  MY(size_min) = 84;
1042  MY(size_max) = 84;
1043  MY(tex_min) = 8;
1044  MY(tex_max) = 16;
1045  MY(type) = "decal";
1046 }
1047 // spark vertical
1048 SUB(raptor_bomb_impact) {
1049  MY(alpha_min) = 300;
1050  MY(alpha_max) = 300;
1051  MY(alpha_fade) = 600;
1052  MY(color_min) = "0xff9c00";
1053  MY(color_max) = "0xff3c00";
1054  MY(count) = 3;
1055  MY(originjitter) = '10.0 10.0 10.0';
1056  MY(sizeincrease) = 50;
1057  MY(size_min) = 20;
1058  MY(size_max) = 40;
1059  MY(stretchfactor) = 210;
1060  MY(tex_min) = 48;
1061  MY(tex_max) = 55;
1062  MY(type) = "spark";
1063  MY(velocityjitter) = '40.0 40.0 120.0';
1064 }
1065 // fire
1066 SUB(raptor_bomb_impact) {
1067  MY(airfriction) = 2;
1068  MY(alpha_min) = 300;
1069  MY(alpha_max) = 300;
1070  MY(alpha_fade) = 500;
1071  MY(color_min) = "0xff9c00";
1072  MY(color_max) = "0xff3c00";
1073  MY(count) = 4;
1074  MY(originjitter) = '10.0 10.0 10.0';
1075  MY(sizeincrease) = 230;
1076  MY(size_min) = 30;
1077  MY(size_max) = 120;
1078  MY(tex_min) = 48;
1079  MY(tex_max) = 55;
1080  MY(type) = "static";
1081  MY(velocityjitter) = '950.0 950.0 0.0';
1082 }
1083 // smoke
1084 SUB(raptor_bomb_impact) {
1085  MY(alpha_min) = 428;
1086  MY(alpha_max) = 428;
1087  MY(alpha_fade) = 600;
1088  MY(blend) = "alpha";
1089  MY(color_min) = "0x646364";
1090  MY(color_max) = "0x151515";
1091  MY(count) = 4;
1092  MY(originjitter) = '30.0 30.0 10.0';
1093  MY(startangle_min) = -180;
1094  MY(startangle_max) = 180;
1095  MY(size_min) = 120;
1096  MY(size_max) = 180;
1097  MY(stretchfactor) = 10;
1098  MY(tex_max) = 7;
1099  MY(type) = "spark";
1100  MY(velocityjitter) = '200.0 200.0 280.0';
1101  MY(velocityoffset) = '0.0 0.0 280.0';
1102 }
1103 // smoke 2
1104 SUB(raptor_bomb_impact) {
1105  MY(airfriction) = 0.600000;
1106  MY(alpha_min) = 328;
1107  MY(alpha_max) = 328;
1108  MY(alpha_fade) = 350;
1109  MY(blend) = "alpha";
1110  MY(color_min) = "0x646364";
1111  MY(color_max) = "0x151515";
1112  MY(count) = 4;
1113  MY(gravity) = 2;
1114  MY(originjitter) = '30.0 30.0 10.0';
1115  MY(startangle_min) = -180;
1116  MY(startangle_max) = 180;
1117  MY(sizeincrease) = 60;
1118  MY(size_min) = 40;
1119  MY(size_max) = 100;
1120  MY(tex_max) = 7;
1121  MY(type) = "spark";
1122  MY(velocityjitter) = '200.0 200.0 300.0';
1123  MY(velocityoffset) = '0.0 0.0 580.0';
1124 }
1125 // sparks
1126 SUB(raptor_bomb_impact) {
1127  MY(airfriction) = 0.300000;
1128  MY(alpha_min) = 644;
1129  MY(alpha_max) = 956;
1130  MY(alpha_fade) = 984;
1131  MY(color_min) = "0xffa35b";
1132  MY(color_max) = "0xfff2be";
1133  MY(count) = 5;
1134  MY(gravity) = 1;
1135  MY(notunderwater) = true;
1136  MY(originjitter) = '16.0 16.0 16.0';
1137  MY(size_min) = 3;
1138  MY(size_max) = 5;
1139  MY(stretchfactor) = 2;
1140  MY(tex_min) = 40;
1141  MY(tex_max) = 40;
1142  MY(type) = "spark";
1143  MY(velocityjitter) = '174.0 174.0 924.0';
1144  MY(velocityoffset) = '0.0 0.0 350.0';
1145 }
1146 
1147 DEF(raptor_bomb_spread);
1148 SUB(raptor_bomb_spread) {
1149  MY(airfriction) = 1;
1150  MY(alpha_min) = 644;
1151  MY(alpha_max) = 956;
1152  MY(alpha_fade) = 1284;
1153  MY(color_min) = "0xffa35b";
1154  MY(color_max) = "0xfff2be";
1155  MY(count) = 34;
1156  MY(gravity) = 1;
1157  MY(liquidfriction) = 0.800000;
1158  MY(notunderwater) = true;
1159  MY(originjitter) = '110.0 110.0 110.0';
1160  MY(size_min) = 1;
1161  MY(size_max) = 2;
1162  MY(tex_min) = 40;
1163  MY(tex_max) = 40;
1164  MY(type) = "spark";
1165  MY(velocityjitter) = '324.0 324.0 324.0';
1166 }
float alpha_max
Definition: models.qh:20
SUB(spiderbot_minigun_trail)
DEF(spiderbot_minigun_trail)
vector originjitter
Definition: main.qc:348
float alpha_min
Definition: models.qh:20
float gravity
Definition: items.qh:16
float count
Definition: powerups.qc:22