X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Feffects%2Feffectinfo.inc;h=a58ad7d43a125a5af93bac92e8eeb67ff6e29e79;hb=bf4161ef3639ba716090dd4b31c104a8e1617126;hp=d45bdf36d4c0a4b29e30da4c65c6246cb5c49184;hpb=c349535153880b168372d5c2abb5548e986e598c;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/effects/effectinfo.inc b/qcsrc/common/effects/effectinfo.inc index d45bdf36d..a58ad7d43 100644 --- a/qcsrc/common/effects/effectinfo.inc +++ b/qcsrc/common/effects/effectinfo.inc @@ -2,6 +2,7 @@ // use `cl_particles_reloadeffects` to reload effects without restarting engine // use `chase_active 1` and `cl_lockview 1` to see effects from different perspectives // `dumpeffectinfo` currently doesn't work so edit effectinfo.txt manually, just try to keep the files in sync +// always add new effects to the bottom of the list // `tex` are indices into particles/particlefont.tga (see particles/particlefont-template.tga for numbers) // the first index is inclusive, second exclusive (so `tex 0 8` will use images 0 though 7) @@ -9043,3 +9044,164 @@ SUB(tr_bullet_weak) { MY(underwater) = true; MY(velocityjitter) = '16.0 16.0 16.0'; } + +// 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"; +} + +// respawn ghosts effect +DEF(respawn_ghost); +SUB(respawn_ghost) { + MY(count) = 75; + MY(type) = "static"; + MY(color_min) = "0xA0A0A0"; + MY(color_max) = "0xFFFFFF"; + MY(size_min) = 2; + MY(size_max) = 2; + MY(alpha_min) = 32; + MY(alpha_max) = 64; + MY(alpha_fade) = 128; + MY(airfriction) = 1; + MY(liquidfriction) = 4; + MY(originoffset) = '0 0 -8'; + MY(originjitter) = '28 28 16'; + MY(velocityjitter) = '0 0 256'; +} + +DEF(electro_combo_long); +// decal +SUB(electro_combo_long) { + MY(alpha_min) = 256; + MY(alpha_max) = 256; + MY(countabsolute) = 1; + MY(lightcolor) = '4.0 5.0 6.0'; + MY(lightradiusfade) = 300; + MY(lightradius) = 400; + MY(originjitter) = '17.0 17.0 17.0'; + MY(size_min) = 64; + MY(size_max) = 64; + MY(tex_min) = 59; + MY(tex_max) = 59; + MY(type) = "decal"; +} +// flare effect +SUB(electro_combo_long) { + MY(alpha_min) = 128; + MY(alpha_max) = 128; + MY(alpha_fade) = 64; + MY(color_min) = "0x80C0FF"; + MY(color_max) = "0x80C0FF"; + MY(countabsolute) = 1; + MY(size_min) = 48; + MY(size_max) = 48; + MY(tex_min) = 38; + MY(tex_max) = 38; + MY(type) = "static"; +} +// large sparks +SUB(electro_combo_long) { + MY(airfriction) = 6; + MY(alpha_min) = 156; + MY(alpha_max) = 156; + MY(alpha_fade) = 156; + MY(bounce) = 2; + MY(color_min) = "0x2030FF"; + MY(color_max) = "0x80C0FF"; + MY(count) = 5; + MY(liquidfriction) = 16; + MY(sizeincrease) = 50; + MY(size_min) = 32; + MY(size_max) = 32; + MY(tex_max) = 7; + MY(type) = "static"; + MY(velocityjitter) = '512.0 512.0 512.0'; +} +SUB(electro_combo_long) { + MY(alpha_min) = 444; + MY(alpha_max) = 512; + MY(alpha_fade) = 500; + MY(bounce) = 1.600000; + MY(color_min) = "0xa9cacf"; + MY(color_max) = "0x0054ff"; + MY(count) = 32; + MY(originjitter) = '1.0 1.0 1.0'; + MY(size_min) = 2; + MY(size_max) = 4; + MY(stretchfactor) = 2; + MY(tex_min) = 41; + MY(tex_max) = 41; + MY(type) = "spark"; + MY(velocityjitter) = '128.0 128.0 128.0'; + MY(velocitymultiplier) = 0.300000; +} +// inner cloud of smoke +SUB(electro_combo_long) { + MY(alpha_min) = 256; + MY(alpha_max) = 256; + MY(alpha_fade) = 256; + MY(color_min) = "0x202020"; + MY(color_max) = "0x404040"; + MY(count) = 0.125000; + MY(originjitter) = '20.0 20.0 20.0'; + MY(size_min) = 24; + MY(size_max) = 24; + MY(tex_max) = 8; + MY(type) = "smoke"; + MY(velocityjitter) = '32.0 32.0 32.0'; +} +// shockwave +SUB(electro_combo_long) { + MY(alpha_min) = 40; + MY(alpha_max) = 40; + MY(alpha_fade) = 20; + MY(color_min) = "0xa9cacf"; + MY(color_max) = "0x0054ff"; + MY(countabsolute) = 1; + MY(size_min) = 120; + MY(size_max) = 120; + MY(tex_min) = 33; + MY(tex_max) = 33; + MY(type) = "smoke"; + MY(velocitymultiplier) = 0.300000; +} + +// always add new effects to the bottom of the list. And keep this comment in the bottom line of this file!