set g_footsteps 1 "serverside footstep sounds"\r
\r
set g_deathglow 1.25 "when enabled, players stop glowing after they die (the value specifies glow fading speed)"\r
+set g_armorglow 100 "when enabled, player glow color reflects armor charge (the value specifies the maximum armor value)"\r
+set g_weaponloadglow 1 "when enabled, weapon glow reflects weapon charge, if the weapon is reloadable"\r
\r
set g_multijump 1 "Number of multiple jumps to allow (jumping again in the air), -1 allows for infinite jumps"\r
set g_multijump_add 0 "0 = make the current z velocity equal to jumpvelocity, 1 = add jumpvelocity to the current z velocity"\r
// set weapon and player glowmod\r
self.glowmod = colormapPaletteColor(self.clientcolors & 0x0F, TRUE) * 2;\r
if(self.armorvalue < cvar("g_power"))\r
- self.glowmod = self.glowmod * random(); // make glow flicker when power is down\r
- self.weaponentity_glowmod = self.glowmod;\r
+ self.glowmod = '-1 -1 -1'; // turn glow off when power is down\r
+ else if(self.armorvalue < cvar("g_armorglow"))\r
+ self.glowmod = self.glowmod * (self.armorvalue / cvar("g_armorglow")); // glow intensity reflects armor charge\r
}\r
\r
+ self.weaponentity_glowmod = self.glowmod;\r
+ if(cvar("g_weaponloadglow") && self.clip_size)\r
+ self.weaponentity_glowmod = self.weaponentity_glowmod * (self.clip_load / self.clip_size); // glow intensity reflects weapon load\r
+\r
player_powerups();\r
}\r
\r
\r
- +0.8: Refraction effect for damage when you have armor (using a model)\r
\r
-- 0.8: Lower glow color on weapon when shooting and reloading?\r
+- 0.8: Lower glow color on weapon when shooting?\r
\r
- 0.8 | 0.9 BUG: Fix remaining divisions by zero, look for backtrace in the console\r
\r
\r
- 0.8 BUG: At startup, make a script re-set sound and music volume so they're not the last set by vore status in-game\r
\r
-- 0.8: Weight paint new fox state models so that deforms cause less sharp edges when the spine bones rotate from one another\r
-\r
- 0.8 BUG: Normal grabber shoot seems to play melee animation on player models\r