Xonotic
effectinfo_onslaught.inc
Go to the documentation of this file.
1 DEF(onslaught_generator_gib_explode);
2 // fire effect which expands then slows
3 SUB(onslaught_generator_gib_explode) {
4  MY(airfriction) = 5;
5  MY(alpha_min) = 128;
6  MY(alpha_max) = 256;
7  MY(alpha_fade) = 356;
8  MY(bounce) = 1.500000;
9  MY(color_min) = "0x8f0d00";
10  MY(color_max) = "0xff5a00";
11  MY(count) = 17;
12  MY(liquidfriction) = 8;
13  MY(notunderwater) = true;
14  MY(originjitter) = '8.0 8.0 8.0';
15  MY(sizeincrease) = 45;
16  MY(size_min) = 20;
17  MY(size_max) = 26;
18  MY(tex_min) = 48;
19  MY(tex_max) = 55;
20  MY(type) = "static";
21  MY(velocityjitter) = '286.0 286.0 286.0';
22 }
23 // smoke
24 SUB(onslaught_generator_gib_explode) {
25  MY(airfriction) = 5;
26  MY(alpha_min) = 200;
27  MY(alpha_max) = 500;
28  MY(alpha_fade) = 600;
29  MY(bounce) = 2;
30  MY(color_min) = "0x000000";
31  MY(color_max) = "0x111111";
32  MY(count) = 6;
33  MY(gravity) = -0.300000;
34  MY(notunderwater) = true;
35  MY(sizeincrease) = 90;
36  MY(size_min) = 1;
37  MY(size_max) = 10;
38  MY(tex_max) = 8;
39  MY(type) = "alphastatic";
40  MY(velocityjitter) = '244.0 244.0 244.0';
41 }
42 // underwater bubbles
43 SUB(onslaught_generator_gib_explode) {
44  MY(alpha_min) = 128;
45  MY(alpha_max) = 256;
46  MY(alpha_fade) = 64;
47  MY(bounce) = 1.500000;
48  MY(color_min) = "0x404040";
49  MY(color_max) = "0x808080";
50  MY(count) = 16;
51  MY(gravity) = -0.125000;
52  MY(liquidfriction) = 0.250000;
53  MY(originjitter) = '16.0 16.0 16.0';
54  MY(size_min) = 3;
55  MY(size_max) = 3;
56  MY(tex_min) = 62;
57  MY(tex_max) = 62;
58  MY(type) = "bubble";
59  MY(underwater) = true;
60  MY(velocityjitter) = '96.0 96.0 96.0';
61 }
62 
63 DEF(onslaught_generator_gib_flame);
64 // fire effect which expands then slows
65 SUB(onslaught_generator_gib_flame) {
66  MY(airfriction) = 5;
67  MY(alpha_min) = 128;
68  MY(alpha_max) = 256;
69  MY(alpha_fade) = 356;
70  MY(color_min) = "0x8f0d00";
71  MY(color_max) = "0xff5a00";
72  MY(count) = 15;
73  MY(gravity) = -0.500000;
74  MY(liquidfriction) = 8;
75  MY(notunderwater) = true;
76  MY(originjitter) = '3.0 3.0 3.0';
77  MY(sizeincrease) = 25;
78  MY(size_min) = 5;
79  MY(size_max) = 10;
80  MY(tex_min) = 48;
81  MY(tex_max) = 55;
82  MY(type) = "static";
83  MY(velocityjitter) = '86.0 86.0 86.0';
84 }
85 // smoke
86 SUB(onslaught_generator_gib_flame) {
87  MY(airfriction) = 5;
88  MY(alpha_min) = 200;
89  MY(alpha_max) = 500;
90  MY(alpha_fade) = 600;
91  MY(bounce) = 2;
92  MY(color_min) = "0x000000";
93  MY(color_max) = "0x111111";
94  MY(count) = 1;
95  MY(gravity) = -0.800000;
96  MY(notunderwater) = true;
97  MY(sizeincrease) = 30;
98  MY(size_min) = 10;
99  MY(size_max) = 20;
100  MY(tex_max) = 8;
101  MY(type) = "alphastatic";
102  MY(velocityjitter) = '44.0 44.0 44.0';
103 }
104 // underwater bubbles
105 SUB(onslaught_generator_gib_flame) {
106  MY(alpha_min) = 128;
107  MY(alpha_max) = 256;
108  MY(alpha_fade) = 64;
109  MY(bounce) = 1.500000;
110  MY(color_min) = "0x404040";
111  MY(color_max) = "0x808080";
112  MY(count) = 16;
113  MY(gravity) = -0.125000;
114  MY(liquidfriction) = 0.250000;
115  MY(originjitter) = '16.0 16.0 16.0';
116  MY(size_min) = 3;
117  MY(size_max) = 3;
118  MY(tex_min) = 62;
119  MY(tex_max) = 62;
120  MY(type) = "bubble";
121  MY(underwater) = true;
122  MY(velocityjitter) = '96.0 96.0 96.0';
123 }
float alpha_max
Definition: models.qh:20
SUB(onslaught_generator_gib_explode)
DEF(onslaught_generator_gib_explode)
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