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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon May 4 05:41:07 EDT 2009


Author: div0
Date: 2009-05-04 05:41:07 -0400 (Mon, 04 May 2009)
New Revision: 6655

Modified:
   trunk/data/qcsrc/server/w_electro.qc
   trunk/data/qcsrc/server/w_grenadelauncher.qc
Log:
undo "TrueAim" for mortar and electro secondary - it makes no sense for tossed projectiles


Modified: trunk/data/qcsrc/server/w_electro.qc
===================================================================
--- trunk/data/qcsrc/server/w_electro.qc	2009-05-04 09:38:27 UTC (rev 6654)
+++ trunk/data/qcsrc/server/w_electro.qc	2009-05-04 09:41:07 UTC (rev 6655)
@@ -105,6 +105,7 @@
 	local entity proj;
 
 	W_SetupShot (self, FALSE, 2, "weapons/electro_fire2.wav");
+	w_shotdir = v_forward; // no TrueAim for grenades please
 
 	pointparticles(particleeffectnum("electro_muzzleflash"), w_shotorg, w_shotdir * 1000, 1);
 

Modified: trunk/data/qcsrc/server/w_grenadelauncher.qc
===================================================================
--- trunk/data/qcsrc/server/w_grenadelauncher.qc	2009-05-04 09:38:27 UTC (rev 6654)
+++ trunk/data/qcsrc/server/w_grenadelauncher.qc	2009-05-04 09:41:07 UTC (rev 6655)
@@ -75,6 +75,7 @@
 	if not(self.items & IT_UNLIMITED_WEAPON_AMMO)
 		self.ammo_rockets = self.ammo_rockets - cvar("g_balance_grenadelauncher_primary_ammo");
 	W_SetupShot (self, FALSE, 4, "weapons/grenade_fire.wav");
+	w_shotdir = v_forward; // no TrueAim for grenades please
 
 	pointparticles(particleeffectnum("grenadelauncher_muzzleflash"), w_shotorg, w_shotdir * 1000, 1);
 
@@ -108,7 +109,7 @@
 	if not(self.items & IT_UNLIMITED_WEAPON_AMMO)
 		self.ammo_rockets = self.ammo_rockets - cvar("g_balance_grenadelauncher_secondary_ammo");
 	W_SetupShot (self, FALSE, 4, "weapons/grenade_fire.wav");
-	//W_SetupShot (self, FALSE, 4, "weapons/grenade_fire.wav"); // TODO: move model to the right a little
+	w_shotdir = v_forward; // no TrueAim for grenades please
 
 	pointparticles(particleeffectnum("grenadelauncher_muzzleflash"), w_shotorg, w_shotdir * 1000, 1);
 



More information about the nexuiz-commits mailing list