r6071 - in trunk/data: . qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Mar 7 09:20:15 EST 2009


Author: div0
Date: 2009-03-07 09:20:15 -0500 (Sat, 07 Mar 2009)
New Revision: 6071

Modified:
   trunk/data/averagewidth.pl
   trunk/data/qcsrc/server/g_hook.qc
   trunk/data/qcsrc/server/w_hook.qc
Log:
fix hook shot origin


Modified: trunk/data/averagewidth.pl
===================================================================
--- trunk/data/averagewidth.pl	2009-03-07 13:46:50 UTC (rev 6070)
+++ trunk/data/averagewidth.pl	2009-03-07 14:20:15 UTC (rev 6071)
@@ -55,6 +55,7 @@
 print "Total chars: $chars\n";
 print "Total width: $width\n";
 print "Average: @{[$width / $chars]}\n";
+print "Chat line width: @{[800 * 0.6 / 10 / ($width / $chars)]}\n";
 
 __DATA__
 		    GNU GENERAL PUBLIC LICENSE

Modified: trunk/data/qcsrc/server/g_hook.qc
===================================================================
--- trunk/data/qcsrc/server/g_hook.qc	2009-03-07 13:46:50 UTC (rev 6070)
+++ trunk/data/qcsrc/server/g_hook.qc	2009-03-07 14:20:15 UTC (rev 6071)
@@ -470,7 +470,7 @@
 	if(g_grappling_hook)
 		hook_shotorigin = '8 -8 -12';
 	else
-		hook_shotorigin = '25 8 -8';
+		hook_shotorigin = '21 8 -8.5';
 }
 
 void SetGrappleHookBindings()

Modified: trunk/data/qcsrc/server/w_hook.qc
===================================================================
--- trunk/data/qcsrc/server/w_hook.qc	2009-03-07 13:46:50 UTC (rev 6070)
+++ trunk/data/qcsrc/server/w_hook.qc	2009-03-07 14:20:15 UTC (rev 6071)
@@ -60,7 +60,7 @@
 
 	if not(self.items & IT_UNLIMITED_WEAPON_AMMO)
 		self.ammo_cells = self.ammo_cells - cvar("g_balance_hook_secondary_ammo");
-	W_SetupShot (self, '21 8 -9.5', FALSE, 4, "weapons/hookbomb_fire.wav");
+	W_SetupShot (self, '21 8 -8.5', FALSE, 4, "weapons/hookbomb_fire.wav");
 
 	gren = spawn ();
 	gren.owner = self;




More information about the nexuiz-commits mailing list