r1950 - in trunk/data: . qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Nov 29 05:48:06 EST 2006


Author: div0
Date: 2006-11-29 05:48:06 -0500 (Wed, 29 Nov 2006)
New Revision: 1950

Modified:
   trunk/data/default.cfg
   trunk/data/qcsrc/server/cl_weaponsystem.qc
Log:
increase Nex refire delay
allow immediate firing after switching weapons (PLEASE CHECK IF IT IS EXPLOITABLE TOO MUCH)


Modified: trunk/data/default.cfg
===================================================================
--- trunk/data/default.cfg	2006-11-29 09:36:51 UTC (rev 1949)
+++ trunk/data/default.cfg	2006-11-29 10:48:06 UTC (rev 1950)
@@ -491,8 +491,8 @@
 set g_balance_crylink_secondary_ammo 3
 
 
-set g_balance_nex_damage 150
-set g_balance_nex_refire 1
+set g_balance_nex_damage 140
+set g_balance_nex_refire 1.5
 set g_balance_nex_animtime 0.3
 set g_balance_nex_ammo 5
 set g_balance_nex_respawntime_modifier 1

Modified: trunk/data/qcsrc/server/cl_weaponsystem.qc
===================================================================
--- trunk/data/qcsrc/server/cl_weaponsystem.qc	2006-11-29 09:36:51 UTC (rev 1949)
+++ trunk/data/qcsrc/server/cl_weaponsystem.qc	2006-11-29 10:48:06 UTC (rev 1950)
@@ -324,6 +324,9 @@
 	// the two weapon entities will notice this has changed and update their models
 	self.weapon = windex;
 	self.weaponname = wname;
+
+	// can fire immediately
+	self.attack_finished = time;
 };
 
 // perform weapon to attack (weaponstate and attack_finished check is here)




More information about the nexuiz-commits mailing list