]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add an orange traveling smoke effect to bullet trails
authorMario <mario@smbclan.net>
Sat, 3 Feb 2018 01:57:59 +0000 (11:57 +1000)
committerMario <mario@smbclan.net>
Sat, 3 Feb 2018 01:57:59 +0000 (11:57 +1000)
effectinfo.txt
qcsrc/common/effects/effectinfo.inc

index b2544fa0740c89e540773baa6b08dd9cd12483c0..a1abee04915c55d9788b48393c57756d139c4730 100644 (file)
@@ -2759,6 +2759,17 @@ effect tr_bullet
        tex 70 70
        trailspacing 750
        velocitymultiplier 3
+effect tr_bullet
+       type smoke
+       airfriction -4
+       alpha 256 256 512
+       color 0xff8960 0xff8533
+       sizeincrease 3
+       size 0.150000 0.150000
+       tex 46 46
+       trailspacing 8
+       velocityjitter 3 3 3
+       velocitymultiplier 0.010000
 effect smoking_smallemitter
        type alphastatic
        airfriction -1
index 56303a44ffa93f36443bf4a3131baa015f361e82..6711f96d4d39e7ccb955fa3d1dbfcc9c7bc3852a 100644 (file)
@@ -4425,6 +4425,23 @@ SUB(tr_bullet) {
        MY(type) = "spark";
        MY(velocitymultiplier) = 3;
 }
+// trail
+SUB(tr_bullet) {
+       MY(alpha_min) = 256;
+       MY(alpha_max) = 256;
+       MY(alpha_fade) = 512;
+       MY(color_min) = "0xff8960";
+       MY(color_max) = "0xff8533";
+       MY(size_min) = 0.150000;
+       MY(size_max) = 0.150000;
+       MY(sizeincrease) = 3;
+       MY(tex_min) = 46;
+       MY(tex_max) = 46;
+       MY(trailspacing) = 8;
+       MY(type) = "smoke";
+       MY(velocityjitter) = '3.0 3.0 3.0';
+       MY(velocitymultiplier) = 0.010000;
+}
 
 // smoke emitter for small pipes
 DEF(smoking_smallemitter);