From: Rudolf Polzer Date: Thu, 18 Aug 2011 20:30:17 +0000 (+0200) Subject: add a comment about a bot personality idea X-Git-Tag: xonotic-v0.5.0~114 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a7836bcd6f742c4539339e9c0533aadbc8766e16;p=xonotic%2Fxonotic-data.pk3dir.git add a comment about a bot personality idea --- diff --git a/qcsrc/server/bot/navigation.qc b/qcsrc/server/bot/navigation.qc index 1386d30d9..968e760b8 100644 --- a/qcsrc/server/bot/navigation.qc +++ b/qcsrc/server/bot/navigation.qc @@ -899,8 +899,15 @@ void navigation_poptouchedgoals() { /// dprint("path optimized, removed a goal from the queue\n"); navigation_poproute(); + // TODO this may also be a nice idea to do "early" (e.g. by + // manipulating the vlen() comparisons) to shorten paths in + // general - this would make bots walk more "on rails" than + // "zigzagging" which they currently do with sufficiently + // random-like waypoints, and thus can make a nice bot + // personality property } + // Loose goal touching check when running if(self.aistatus & AI_STATUS_RUNNING) if(self.goalcurrent.classname=="waypoint")