r4195 - in trunk/data: particles qcsrc/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Aug 26 08:48:05 EDT 2008
Author: div0
Date: 2008-08-26 08:48:02 -0400 (Tue, 26 Aug 2008)
New Revision: 4195
Added:
trunk/data/particles/laserbeam.tga
Modified:
trunk/data/qcsrc/client/laser.qc
Log:
laser beam texture
Added: trunk/data/particles/laserbeam.tga
===================================================================
(Binary files differ)
Property changes on: trunk/data/particles/laserbeam.tga
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/data/qcsrc/client/laser.qc
===================================================================
--- trunk/data/qcsrc/client/laser.qc 2008-08-26 12:37:50 UTC (rev 4194)
+++ trunk/data/qcsrc/client/laser.qc 2008-08-26 12:48:02 UTC (rev 4195)
@@ -7,7 +7,7 @@
void Draw_Laser()
{
traceline(self.origin, self.origin + self.velocity, 0, self);
- Draw_CylindricLine(self.origin, trace_endpos, 4, "", 1, self.colormod, DRAWFLAG_ADDITIVE); // TODO make a texture to make the laser look smoother
+ Draw_CylindricLine(self.origin, trace_endpos, 4, "particles/laserbeam", 1, self.colormod, DRAWFLAG_ADDITIVE); // TODO make a texture to make the laser look smoother
pointparticles(self.cnt, trace_endpos, trace_plane_normal, 256 * drawframetime);
}
More information about the nexuiz-commits
mailing list