]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/effects/effectinfo_instagib.inc
Merge branch 'master' into TimePath/unified_weapons
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / effects / effectinfo_instagib.inc
1 #define rocketminsta_laser(name, color) \
2     DEF(rocketminsta_laser_##name); \
3     SUB(rocketminsta_laser_##name) { \
4         MY(alpha_min) = 256; \
5         MY(alpha_max) = 256; \
6         MY(alpha_fade) = 968; \
7         MY(color_min) = color; \
8         MY(color_max) = color; \
9         MY(lightcolor) = '1.5 3.0 6.0'; \
10         MY(lightradius) = 90; \
11         MY(size_min) = 3; \
12         MY(size_max) = 3; \
13         MY(tex_min) = 38; \
14         MY(tex_max) = 38; \
15         MY(trailspacing) = 2; \
16         MY(type) = "static"; \
17         MY(velocitymultiplier) = -0.100000; \
18     } \
19     SUB(rocketminsta_laser_##name) /* bright sparks */ { \
20         MY(airfriction) = 12; \
21         MY(alpha_min) = 444; \
22         MY(alpha_max) = 512; \
23         MY(alpha_fade) = 1866; \
24         MY(bounce) = 1; \
25         MY(color_min) = color; \
26         MY(color_max) = color; \
27         MY(count) = 1.500000; \
28         MY(originjitter) = '1.0 1.0 1.0'; \
29         MY(sizeincrease) = -20; \
30         MY(size_min) = 2; \
31         MY(size_max) = 4; \
32         MY(tex_min) = 42; \
33         MY(tex_max) = 42; \
34         MY(trailspacing) = 12; \
35         MY(type) = "snow"; \
36         MY(velocityjitter) = '50.0 50.0 50.0'; \
37         MY(velocityoffset) = '0.0 0.0 15.0'; \
38     } \
39     /**/
40
41 rocketminsta_laser(red,     "0xFF0F0F")
42 rocketminsta_laser(blue,    "0x0F0FFF")
43 rocketminsta_laser(yellow,  "0xFFFF0F")
44 rocketminsta_laser(pink,    "0xFF0FFF")
45 rocketminsta_laser(neutral, "0xFFFFFF")
46 #undef rocketminsta_laser