Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
effectinfo_gentle_happy.inc
Go to the documentation of this file.
1// happy death fx for cl_gentle
2DEF(happy_damage_dissolve);
3SUB(happy_damage_dissolve) {
4 MY(airfriction) = 3;
5 MY(alpha_min) = 256;
6 MY(alpha_max) = 256;
7 MY(alpha_fade) = 228;
8 MY(bounce) = 1.500000;
9 MY(color_min) = "0x00FFFF";
10 MY(color_max) = "0xFF00FF";
11 MY(count) = 15;
12 MY(gravity) = -0.400000;
13 MY(liquidfriction) = 6;
14 MY(sizeincrease) = -10;
15 MY(size_min) = 32;
16 MY(size_max) = 32;
17 MY(tex_min) = 69;
18 MY(tex_max) = 69;
19 MY(type) = "alphastatic";
20 MY(velocityjitter) = '312.0 312.0 312.0';
21}
22SUB(happy_damage_dissolve) {
23 MY(airfriction) = 3;
24 MY(alpha_min) = 256;
25 MY(alpha_max) = 256;
26 MY(alpha_fade) = 228;
27 MY(bounce) = 1.500000;
28 MY(color_min) = "0xFF00FF";
29 MY(color_max) = "0xFFFF00";
30 MY(count) = 15;
31 MY(gravity) = -0.400000;
32 MY(liquidfriction) = 6;
33 MY(sizeincrease) = -10;
34 MY(size_min) = 32;
35 MY(size_max) = 32;
36 MY(tex_min) = 69;
37 MY(tex_max) = 69;
38 MY(type) = "alphastatic";
39 MY(velocityjitter) = '312.0 312.0 312.0';
40}
41SUB(happy_damage_dissolve) {
42 MY(airfriction) = 3;
43 MY(alpha_min) = 256;
44 MY(alpha_max) = 256;
45 MY(alpha_fade) = 228;
46 MY(bounce) = 1.500000;
47 MY(color_min) = "0xFFFF00";
48 MY(color_max) = "0x00FFFF";
49 MY(count) = 15;
50 MY(gravity) = -0.400000;
51 MY(liquidfriction) = 6;
52 MY(sizeincrease) = -10;
53 MY(size_min) = 32;
54 MY(size_max) = 32;
55 MY(tex_min) = 69;
56 MY(tex_max) = 69;
57 MY(type) = "alphastatic";
58 MY(velocityjitter) = '312.0 312.0 312.0';
59}
60
61// happy damage fx for cl_gentle
62DEF(happy_damage_hit);
63SUB(happy_damage_hit) {
64 MY(airfriction) = 5;
65 MY(alpha_min) = 128;
66 MY(alpha_max) = 128;
67 MY(alpha_fade) = 192;
68 MY(bounce) = 1.500000;
69 MY(color_min) = "0x00FFFF";
70 MY(color_max) = "0xFF00FF";
71 MY(count) = 0.100000;
72 MY(gravity) = -0.400000;
73 MY(liquidfriction) = 10;
74 MY(sizeincrease) = -28;
75 MY(size_min) = 26;
76 MY(size_max) = 26;
77 MY(tex_min) = 69;
78 MY(tex_max) = 69;
79 MY(type) = "alphastatic";
80 MY(velocityjitter) = '156.0 156.0 156.0';
81}
82SUB(happy_damage_hit) {
83 MY(airfriction) = 5;
84 MY(alpha_min) = 128;
85 MY(alpha_max) = 128;
86 MY(alpha_fade) = 192;
87 MY(bounce) = 1.500000;
88 MY(color_min) = "0xFF00FF";
89 MY(color_max) = "0xFFFF00";
90 MY(count) = 0.100000;
91 MY(gravity) = -0.400000;
92 MY(liquidfriction) = 10;
93 MY(sizeincrease) = -28;
94 MY(size_min) = 26;
95 MY(size_max) = 26;
96 MY(tex_min) = 69;
97 MY(tex_max) = 69;
98 MY(type) = "alphastatic";
99 MY(velocityjitter) = '156.0 156.0 156.0';
100}
101SUB(happy_damage_hit) {
102 MY(airfriction) = 5;
103 MY(alpha_min) = 128;
104 MY(alpha_max) = 128;
105 MY(alpha_fade) = 192;
106 MY(bounce) = 1.500000;
107 MY(color_min) = "0xFFFF00";
108 MY(color_max) = "0x00FFFF";
109 MY(count) = 0.100000;
110 MY(gravity) = -0.400000;
111 MY(liquidfriction) = 10;
112 MY(sizeincrease) = -28;
113 MY(size_min) = 26;
114 MY(size_max) = 26;
115 MY(tex_min) = 69;
116 MY(tex_max) = 69;
117 MY(type) = "alphastatic";
118 MY(velocityjitter) = '156.0 156.0 156.0';
119}
float count
Definition powerups.qc:22
float gravity
Definition items.qh:17
MY(alpha_min)
DEF(happy_damage_dissolve)
SUB(happy_damage_dissolve)
float alpha_min
Definition models.qh:20
float alpha_max
Definition models.qh:20