From: Mario Date: Tue, 1 Dec 2020 13:54:51 +0000 (+1000) Subject: Apply colormaps to gibs and apply a red tint by default, fixes #2476 X-Git-Tag: xonotic-v0.8.5~656 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=65fff0b259c0f3431c10529c0324fc6ee9c118cb;p=xonotic%2Fxonotic-data.pk3dir.git Apply colormaps to gibs and apply a red tint by default, fixes #2476 --- diff --git a/qcsrc/common/effects/qc/gibs.qc b/qcsrc/common/effects/qc/gibs.qc index 3759248cb..5500e85ae 100644 --- a/qcsrc/common/effects/qc/gibs.qc +++ b/qcsrc/common/effects/qc/gibs.qc @@ -174,6 +174,8 @@ void TossGib (string mdlname, vector safeorg, vector org, vector vconst, vector gib.solid = SOLID_CORPSE; gib.cnt = specnum; gib.silent = issilent; + gib.colormap = 4; // red + gib.colormap |= BIT(10); // RENDER_COLORMAPPED Gib_setmodel(gib, mdlname, specnum); setsize (gib, '-8 -8 -8', '8 8 8');