[nexuiz-commits] r6782 - in trunk/data: . qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Thu May 28 11:15:56 EDT 2009
Author: div0
Date: 2009-05-28 11:15:55 -0400 (Thu, 28 May 2009)
New Revision: 6782
Modified:
trunk/data/effectinfo.txt
trunk/data/qcsrc/server/t_items.qc
Log:
item pickup effect
Modified: trunk/data/effectinfo.txt
===================================================================
--- trunk/data/effectinfo.txt 2009-05-28 07:20:22 UTC (rev 6781)
+++ trunk/data/effectinfo.txt 2009-05-28 15:15:55 UTC (rev 6782)
@@ -830,7 +830,6 @@
//lighttime 0
//lightcolor 0.4 0.9 0.9
-
// flare particle and light
// used in qcsrc/server/t_items.qc: //pointparticles(particleeffectnum("item_respawn"), self.origin + self.mins_z * '0 0 1' + '0 0 48', '0 0 0', 1)
// used in qcsrc/server/t_items.qc: pointparticles(particleeffectnum("item_respawn"), self.origin + 0.5 * (self.mins + self.maxs), '0 0 0', 1)
@@ -3349,3 +3348,25 @@
liquidfriction 4
velocityjitter 64 64 64
velocitymultiplier 0.5
+
+
+// flare particle and light
+// used in qcsrc/server/t_items.qc: pointparticles(particleeffectnum("item_pickup"), self.origin, '0 0 0', 1)
+effect item_pickup
+countabsolute 1
+type static
+color 0x63F2EA 0x63f2EA
+size 16 16
+alpha 128 128 128
+// cloud of particles which expand rapidly and then slow to form a ball
+effect item_pickup
+count 256
+type spark
+tex 41 41
+color 0x63F2EA 0x63f2EA
+size 1 1
+alpha 256 256 1280
+//originjitter 24 24 24
+velocityjitter 256 256 256
+
+
Modified: trunk/data/qcsrc/server/t_items.qc
===================================================================
--- trunk/data/qcsrc/server/t_items.qc 2009-05-28 07:20:22 UTC (rev 6781)
+++ trunk/data/qcsrc/server/t_items.qc 2009-05-28 15:15:55 UTC (rev 6782)
@@ -364,6 +364,8 @@
if (self.owner == other)
return;
+ pointparticles(particleeffectnum("item_pickup"), self.origin, '0 0 0', 1);
+
if(!Item_GiveTo(self, other))
return;
More information about the nexuiz-commits
mailing list