[nexuiz-commits] r7705 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Sep 9 07:20:54 EDT 2009


Author: div0
Date: 2009-09-09 07:20:54 -0400 (Wed, 09 Sep 2009)
New Revision: 7705

Modified:
   trunk/data/qcsrc/server/t_items.qc
Log:
if we go this route, we need more alpha


Modified: trunk/data/qcsrc/server/t_items.qc
===================================================================
--- trunk/data/qcsrc/server/t_items.qc	2009-09-09 11:17:28 UTC (rev 7704)
+++ trunk/data/qcsrc/server/t_items.qc	2009-09-09 11:20:54 UTC (rev 7705)
@@ -76,7 +76,13 @@
 			// we need this to prevent weird display because of
 			// missing depth sorting - or maybe not
 		//e.colormod = '0.2 1 0.2';
-		e.alpha = 0.1;
+		e.alpha = 0.2;
+
+		// special cases
+		if (e.strength_finished || e.invincible_finished)
+			e.effects = e.effects | EF_ADDITIVE | EF_FULLBRIGHT;
+		if (cvar("g_fullbrightitems"))
+			e.effects = e.effects | EF_FULLBRIGHT;
 	}
 
 	// relink entity (because solid may have changed)



More information about the nexuiz-commits mailing list