]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
copy effects from one dumb format into another
authorMartin Taibr <taibr.martin@gmail.com>
Tue, 3 Jul 2018 01:35:20 +0000 (03:35 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Tue, 3 Jul 2018 01:35:20 +0000 (03:35 +0200)
qcsrc/common/effects/effectinfo.inc

index c8273ecb2e2057c68fd357399486535b1aae4236..1e4cdca05e8e6ef4398a6732c0b260fd2de553ba 100644 (file)
@@ -4416,19 +4416,31 @@ SUB(flac_explode) {
 // bullet trail (somewhat like a tracer)
 DEF(tr_bullet);
 SUB(tr_bullet) {
-       MY(alpha_min) = 256;
-       MY(alpha_max) = 256;
-       MY(alpha_fade) = 2560;
-       MY(color_min) = "0xff8960";
-       MY(color_max) = "0xff8533";
-       MY(size_min) = 4;
-       MY(size_max) = 4;
-       MY(stretchfactor) = 0.200000;
-       MY(tex_min) = 70;
-       MY(tex_max) = 70;
-       MY(trailspacing) = 750;
-       MY(type) = "spark";
-       MY(velocitymultiplier) = 3;
+       MY(alpha) = '500 600 10000';
+       MY(color_min) = "0xf03000";
+       MY(color_max) = "0xff6010";
+       MY(countabsolute) = 1;
+       MY(sizeincrease) = -3;
+       MY(size_min) = 0.6;
+       MY(size_max) = 0.8;
+       my(tex_min) = 200;
+       my(tex_max) = 200;
+       MY(type) = "beam";
+}
+SUB(tr_bullet) {
+       MY(airfriction) = -4;
+       MY(alpha) = '256 256 350';
+       MY(color_min) = "0x202020";
+       MY(color_max) = "0x404040";
+       MY(notunderwater) = true;
+       MY(sizeincrease) = 0.4;
+       MY(size_min) = 1;
+       MY(size_max) = 2;
+       MY(tex_min) = 0;
+       MY(tex_max) = 8;
+       MY(trailspacing) = 16;
+       MY(type) = "smoke";
+       MY(velocityjitter) = '4 4 4';
 }
 
 // smoke emitter for small pipes