1 #define rocketminsta_laser(name, color) \
2 DEF(rocketminsta_laser_##name); \
3 SUB(rocketminsta_laser_##name) { \
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; \
15 MY(trailspacing) = 2; \
16 MY(type) = "static"; \
17 MY(velocitymultiplier) = -0.100000; \
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; \
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; \
34 MY(trailspacing) = 12; \
36 MY(velocityjitter) = '50.0 50.0 50.0'; \
37 MY(velocityoffset) = '0.0 0.0 15.0'; \
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