r2445 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed May 2 03:52:14 EDT 2007
Author: div0
Date: 2007-05-02 03:52:02 -0400 (Wed, 02 May 2007)
New Revision: 2445
Modified:
trunk/data/qcsrc/server/keyhunt.qc
Log:
when tossing keys after gibbing, use a minimum angle of 45 degrees upwards so they don't all end up on one spot
Modified: trunk/data/qcsrc/server/keyhunt.qc
===================================================================
--- trunk/data/qcsrc/server/keyhunt.qc 2007-05-02 07:39:45 UTC (rev 2444)
+++ trunk/data/qcsrc/server/keyhunt.qc 2007-05-02 07:52:02 UTC (rev 2445)
@@ -311,7 +311,7 @@
kh_Scores_Event(player, key, "losekey", 0, 0);
bprint(player.netname, "^7 lost the ", key.netname, "\n");
kh_Key_AssignTo(key, world);
- makevectors('-90 0 0' * random() + '0 360 0' * random());
+ makevectors('-1 0 0' * (45 + 45 * random()) + '0 360 0' * random());
key.velocity = W_CalculateProjectileVelocity(player.velocity, cvar("g_balance_keyhunt_dropvelocity") * v_forward);
key.pusher = mypusher;
key.pushltime = time + cvar("g_balance_keyhunt_protecttime");
More information about the nexuiz-commits
mailing list