]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
add a comment about a bot personality idea
authorRudolf Polzer <divVerent@xonotic.org>
Thu, 18 Aug 2011 20:30:17 +0000 (22:30 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Thu, 18 Aug 2011 20:30:17 +0000 (22:30 +0200)
qcsrc/server/bot/navigation.qc

index 1386d30d9101ff94548376e46e285077411b8633..968e760b8b721caff6b71cd452af93dd183fe726 100644 (file)
@@ -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")