From de628287034d614c9ca7eb206c22bc54e9fd6747 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 3 Feb 2018 11:57:59 +1000 Subject: [PATCH] Add an orange traveling smoke effect to bullet trails --- effectinfo.txt | 11 +++++++++++ qcsrc/common/effects/effectinfo.inc | 17 +++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/effectinfo.txt b/effectinfo.txt index b2544fa07..a1abee049 100644 --- a/effectinfo.txt +++ b/effectinfo.txt @@ -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 diff --git a/qcsrc/common/effects/effectinfo.inc b/qcsrc/common/effects/effectinfo.inc index 56303a44f..6711f96d4 100644 --- a/qcsrc/common/effects/effectinfo.inc +++ b/qcsrc/common/effects/effectinfo.inc @@ -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); -- 2.39.2