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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Jun 13 14:37:04 EDT 2009


Author: div0
Date: 2009-06-13 14:37:04 -0400 (Sat, 13 Jun 2009)
New Revision: 7029

Modified:
   trunk/data/qcsrc/server/extensions.qh
Log:
DP_SV_BOUNCEFACTOR


Modified: trunk/data/qcsrc/server/extensions.qh
===================================================================
--- trunk/data/qcsrc/server/extensions.qh	2009-06-13 17:49:38 UTC (rev 7028)
+++ trunk/data/qcsrc/server/extensions.qh	2009-06-13 18:37:04 UTC (rev 7029)
@@ -1146,6 +1146,15 @@
 //on level change ClientConnect and PutClientInServer are called by the engine to spawn in the bot (this is why clienttype() exists to tell you on the next level what type of client this is).
 //parms work the same on bot clients as they do on real clients, and do carry from level to level
 
+//DP_SV_BOUNCEFACTOR
+//idea: divVerent
+//darkplaces implementation: divVerent
+//field definitions:
+.float bouncefactor; // velocity multiplier after a bounce
+.float bouncestop; // bounce stops if velocity to bounce plane is < bouncestop * gravity
+//description:
+//allows qc to customize MOVETYPE_BOUNCE a bit
+
 //DP_SV_CLIENTCOLORS
 //idea: LordHavoc
 //darkplaces implementation: LordHavoc



More information about the nexuiz-commits mailing list