]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix respawn ghost particle effect not working. Its implementation was added on 05...
authorterencehill <piuntn@gmail.com>
Tue, 2 Jun 2020 10:05:38 +0000 (12:05 +0200)
committerterencehill <piuntn@gmail.com>
Tue, 2 Jun 2020 10:08:21 +0000 (12:08 +0200)
effectinfo.txt
qcsrc/common/effects/effectinfo.inc

index 8c6a51feaa9fa55bc4ff0c15f2acc28a3a487944..7fc732b7da5037d59c87a0762f85c71f6be3a813 100644 (file)
@@ -8379,3 +8379,14 @@ effect TE_TEI_G3_HIT
        sizeincrease -6
        size 10 10
        trailspacing 40
+effect respawn_ghost
+       count 75
+       type static
+       color 0xA0A0A0 0xFFFFFF
+       size 2 2
+       alpha 32 64 128
+       airfriction 1
+       liquidfriction 4
+       originoffset 0 0 -8
+       originjitter 28 28 16
+       velocityjitter 0 0 256
index 3713e9a1abc80601fe7aece807abd579a1714790..c96f247af5309ae6e4ea22c26f35c5357a9dca49 100644 (file)
@@ -9086,3 +9086,22 @@ SUB(TE_TEI_G3_HIT) {
        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';
+}