Xonotic
effectinfo_gentle_morphed.inc
Go to the documentation of this file.
1 // cl_gentle impact effect indicating damage
2 DEF(morphed_damage_hit);
3 SUB(morphed_damage_hit) {
4  MY(airfriction) = 5;
5  MY(alpha_min) = 128;
6  MY(alpha_max) = 128;
7  MY(alpha_fade) = 292;
8  MY(color_min) = "0xffffff";
9  MY(color_max) = "0x9271fb";
10  MY(count) = 0.500000;
11  MY(gravity) = -0.400000;
12  MY(liquidfriction) = 10;
13  MY(sizeincrease) = -24;
14  MY(size_min) = 14;
15  MY(size_max) = 24;
16  MY(tex_min) = 43;
17  MY(tex_max) = 43;
18  MY(type) = "spark";
19  MY(velocityjitter) = '356.0 356.0 456.0';
20 }
21 SUB(morphed_damage_hit) {
22  MY(airfriction) = 5;
23  MY(alpha_min) = 128;
24  MY(alpha_max) = 128;
25  MY(alpha_fade) = 292;
26  MY(color_min) = "0xffffff";
27  MY(color_max) = "0x9271fb";
28  MY(count) = 0.500000;
29  MY(liquidfriction) = 10;
30  MY(originjitter) = '10.0 10.0 10.0';
31  MY(sizeincrease) = -24;
32  MY(size_min) = 24;
33  MY(size_max) = 24;
34  MY(tex_max) = 8;
35  MY(type) = "smoke";
36 }
37 
38 // effect for removing player model
39 DEF(morphed_damage_dissolve);
40 SUB(morphed_damage_dissolve) {
41  MY(airfriction) = 8;
42  MY(alpha_min) = 456;
43  MY(alpha_max) = 456;
44  MY(alpha_fade) = 1828;
45  MY(color_min) = "0xffffff";
46  MY(color_max) = "0x9271fb";
47  MY(count) = 10;
48  MY(gravity) = -1.900000;
49  MY(liquidfriction) = 6;
50  MY(startangle_min) = -180;
51  MY(startangle_max) = 180;
52  MY(spin_min) = -399;
53  MY(spin_max) = -99;
54  MY(sizeincrease) = -16;
55  MY(size_min) = 40;
56  MY(size_max) = 40;
57  MY(tex_min) = 43;
58  MY(tex_max) = 43;
59  MY(type) = "smoke";
60  MY(velocityjitter) = '256.0 256.0 512.0';
61 }
62 SUB(morphed_damage_dissolve) {
63  MY(airfriction) = 9;
64  MY(alpha_min) = 256;
65  MY(alpha_max) = 256;
66  MY(alpha_fade) = 628;
67  MY(color_min) = "0x7bdbff";
68  MY(color_max) = "0xbed2ff";
69  MY(count) = 2.500000;
70  MY(gravity) = -0.800000;
71  MY(liquidfriction) = 6;
72  MY(startangle_min) = -180;
73  MY(startangle_max) = 180;
74  MY(sizeincrease) = -16;
75  MY(size_min) = 40;
76  MY(size_max) = 40;
77  MY(tex_min) = 43;
78  MY(tex_max) = 43;
79  MY(type) = "smoke";
80  MY(velocityjitter) = '256.0 256.0 512.0';
81 }
82 SUB(morphed_damage_dissolve) {
83  MY(airfriction) = 3;
84  MY(alpha_min) = 156;
85  MY(alpha_max) = 156;
86  MY(alpha_fade) = 128;
87  MY(color_min) = "0xffffff";
88  MY(color_max) = "0x9271fb";
89  MY(count) = 5;
90  MY(liquidfriction) = 6;
91  MY(originjitter) = '22.0 22.0 76.0';
92  MY(sizeincrease) = -16;
93  MY(size_min) = 44;
94  MY(size_max) = 44;
95  MY(tex_min) = 65;
96  MY(tex_max) = 65;
97  MY(type) = "smoke";
98 }
99 SUB(morphed_damage_dissolve) {
100  MY(airfriction) = 3;
101  MY(alpha_min) = 56;
102  MY(alpha_max) = 56;
103  MY(alpha_fade) = 128;
104  MY(bounce) = 1.500000;
105  MY(color_min) = "0xffffff";
106  MY(color_max) = "0x9271fb";
107  MY(count) = 15;
108  MY(gravity) = 1;
109  MY(liquidfriction) = 6;
110  MY(startangle_min) = -180;
111  MY(startangle_max) = 180;
112  MY(spin_min) = 999;
113  MY(spin_max) = -999;
114  MY(sizeincrease) = -16;
115  MY(size_min) = 32;
116  MY(size_max) = 32;
117  MY(tex_min) = 46;
118  MY(tex_max) = 46;
119  MY(type) = "smoke";
120  MY(velocityjitter) = '400.0 400.0 0.0';
121 }
float alpha_max
Definition: models.qh:20
vector originjitter
Definition: main.qc:348
float alpha_min
Definition: models.qh:20
float gravity
Definition: items.qh:16
SUB(morphed_damage_hit)
float count
Definition: powerups.qc:22
DEF(morphed_damage_hit)