r5251 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Dec 17 08:55:41 EST 2008


Author: div0
Date: 2008-12-17 08:55:41 -0500 (Wed, 17 Dec 2008)
New Revision: 5251

Modified:
   trunk/data/qcsrc/server/g_damage.qc
Log:
bigger head shot area, hope this helps


Modified: trunk/data/qcsrc/server/g_damage.qc
===================================================================
--- trunk/data/qcsrc/server/g_damage.qc	2008-12-17 13:36:57 UTC (rev 5250)
+++ trunk/data/qcsrc/server/g_damage.qc	2008-12-17 13:55:41 UTC (rev 5251)
@@ -738,8 +738,8 @@
 						// if above view_ofs and below maxs, and also in the middle half of the bbox, it is head shot
 						vector headmins, headmaxs, org;
 						org = antilag_takebackorigin(targ, time - ANTILAG_LATENCY(attacker));
-						headmins = org + '0.5 0 0' * targ.mins_x + '0 0.5 0' * targ.mins_y + '0 0 1' * targ.view_ofs_z;
-						headmaxs = org + '0.5 0 0' * targ.maxs_x + '0 0.5 0' * targ.maxs_y + '0 0 1' * targ.maxs_z;
+						headmins = org + '0.7 0 0' * targ.mins_x + '0 0.7 0' * targ.mins_y + '0 0 1' * targ.view_ofs_z;
+						headmaxs = org + '0.7 0 0' * targ.maxs_x + '0 0.7 0' * targ.maxs_y + '0 0 1' * targ.maxs_z;
 						if(trace_hits_box(railgun_start, railgun_end, headmins, headmaxs))
 						{
 							damage *= 1 + damage_headshotbonus;




More information about the nexuiz-commits mailing list