Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
effectinfo_instagib.inc File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define rocketminsta_laser(name, color)

Functions

 rocketminsta_laser (red, "0xFF0F0F") rocketminsta_laser(blue
 rocketminsta_laser (yellow, "0xFFFF0F") rocketminsta_laser(pink

Macro Definition Documentation

◆ rocketminsta_laser

#define rocketminsta_laser ( name,
color )

Definition at line 1 of file 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 /**/

Referenced by rocketminsta_laser(), and rocketminsta_laser().

Function Documentation

◆ rocketminsta_laser() [1/2]

rocketminsta_laser ( red ,
"0xFF0F0F"  )

References rocketminsta_laser.

◆ rocketminsta_laser() [2/2]

rocketminsta_laser ( yellow ,
"0xFFFF0F"  )

References rocketminsta_laser.