[nexuiz-commits] r6998 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri Jun 12 04:21:27 EDT 2009
Author: div0
Date: 2009-06-12 04:21:27 -0400 (Fri, 12 Jun 2009)
New Revision: 6998
Modified:
trunk/data/qcsrc/server/bots_scripting.qc
Log:
remove debug code from barrier (making bots yellow while in one)
Modified: trunk/data/qcsrc/server/bots_scripting.qc
===================================================================
--- trunk/data/qcsrc/server/bots_scripting.qc 2009-06-12 08:19:20 UTC (rev 6997)
+++ trunk/data/qcsrc/server/bots_scripting.qc 2009-06-12 08:21:27 UTC (rev 6998)
@@ -342,6 +342,9 @@
case BOT_CMD_WAIT_UNTIL:
print("Pause command parsing and bot ai until time is N from the last barrier. Pressed key will remain pressed");
break;
+ case BOT_CMD_BARRIER:
+ print("Waits till all bots reach this command. Pressed key will remain pressed");
+ break;
case BOT_CMD_TURN:
print("Look to the right or left N degrees. For turning to the left use positive numbers.");
break;
@@ -502,7 +505,7 @@
{
self.bot_barrier = 1;
- self.colormod = '4 4 0';
+ //self.colormod = '4 4 0';
}
if(self.bot_barrier == 1) // find other bots
@@ -525,7 +528,7 @@
// if we get here, the barrier is finished
// so end it...
self.bot_barrier = 0;
- self.colormod = '0 0 0';
+ //self.colormod = '0 0 0';
return CMD_STATUS_FINISHED;
}
More information about the nexuiz-commits
mailing list