From: Mario Date: Wed, 1 Apr 2020 16:32:24 +0000 (+1000) Subject: Fix legacy vaporizer beam effect appearing invisible in free for all gamemodes X-Git-Tag: xonotic-v0.8.5~1136 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=502b97245c6fd3a8a75df9d35782d81486e6b580;p=xonotic%2Fxonotic-data.pk3dir.git Fix legacy vaporizer beam effect appearing invisible in free for all gamemodes --- diff --git a/effectinfo.txt b/effectinfo.txt index 129dba36e..f7ee69752 100644 --- a/effectinfo.txt +++ b/effectinfo.txt @@ -3418,6 +3418,30 @@ effect TE_TEI_G3PINK_HIT sizeincrease -6 size 10 10 trailspacing 40 +effect TE_TEI_G3_HIT + type beam + alpha 128 128 256 + color 0xFFFFFF 0xFFFFFF + countabsolute 1 + size 8 8 + tex 200 200 +effect TE_TEI_G3_HIT + type smoke + airfriction -4 + alpha 256 256 512 + color 0xFFFFFF 0xFFFFFF + sizeincrease -2 + size 2 2 + trailspacing 20 + velocityjitter 2 2 2 +effect TE_TEI_G3_HIT + type smoke + airfriction -4 + alpha 256 256 512 + color 0xFFFFFF 0xFFFFFF + sizeincrease -6 + size 10 10 + trailspacing 40 effect particlegibs_damage_hit type blood airfriction 3 diff --git a/qcsrc/common/effects/effectinfo.inc b/qcsrc/common/effects/effectinfo.inc index d45bdf36d..7c2dde1ed 100644 --- a/qcsrc/common/effects/effectinfo.inc +++ b/qcsrc/common/effects/effectinfo.inc @@ -5154,6 +5154,49 @@ TE_TEI_G3(YELLOW, "0xffff00", "0xffff11", "0x202000", "0x404000") TE_TEI_G3(PINK, "0xFF00FF", "0xFF11FF", "0x200020", "0x400040") #undef TE_TEI_G3 +// Vaporizer hit effect +DEF(TE_TEI_G3_HIT); +SUB(TE_TEI_G3_HIT) { + MY(alpha_min) = 128; + MY(alpha_max) = 128; + MY(alpha_fade) = 256; + MY(color_min) = "0xFFFFFF"; + MY(color_max) = "0xFFFFFF"; + MY(countabsolute) = 1; + MY(size_min) = 8; + MY(size_max) = 8; + MY(tex_min) = 200; + MY(tex_max) = 200; + MY(type) = "beam"; +} +SUB(TE_TEI_G3_HIT) /* rings */ { + MY(airfriction) = -4; + MY(alpha_min) = 256; + MY(alpha_max) = 256; + MY(alpha_fade) = 512; + MY(color_min) = "0xFFFFFF"; + MY(color_max) = "0xFFFFFF"; + MY(sizeincrease) = -2; + MY(size_min) = 2; + MY(size_max) = 2; + MY(trailspacing) = 20; + MY(type) = "smoke"; + MY(velocityjitter) = '2.0 2.0 2.0'; +} +SUB(TE_TEI_G3_HIT) { + MY(airfriction) = -4; + MY(alpha_min) = 256; + MY(alpha_max) = 256; + MY(alpha_fade) = 512; + MY(color_min) = "0xFFFFFF"; + MY(color_max) = "0xFFFFFF"; + MY(sizeincrease) = -6; + MY(size_min) = 10; + MY(size_max) = 10; + MY(trailspacing) = 40; + MY(type) = "smoke"; +} + #include "effectinfo_gentle_particlegibs.inc" #include "effectinfo_onslaught.inc"