Re: mp_schwalbe (BETA) Waypoints -
15-03-2006
It seems to me now, in retrospect that the majority of the variables that need to be set - I have done. My big point of confusion was the exactness of the alt-roam's placement and figuring out if they have any kind of inobvious limitations.
In the longrun I think my real issue here is that I've misconstrued the meaning of the route system alltogether. You see, in my mind I thought that you were essentially highlighting a particular path as one preferred path to a given goal. Meaning, if you have four paths, and I place a route with an Alt-roam on path #2 and #4, the bots will recognize those two paths and give them priority over other possible paths. I also loosely assumed that the bots habit of taking the shortest possible route is a reflex action when no routes (marked paths) are available. Apparently this is ALL wrong.
The reality as best I can figure is actually this:
Four valid paths to action 1 are available. Path #2 is the shortest, I add my route pointing to action 1 - and place alt-roams to designate paths #3 and #4 as optional courses for that route. What happens now is that the bots take Path #2, and at their whim decide to take #3 and #4 as optional, but available ways to get there. Giving no particular priority to them just because *I* thought they were important. The bot is headstrong, and thinks for itself which is obvious in other aspects of their behavior. I'm slowly catching on that I'm not so much teaching the bot how to play the game - the code does that - as I am giving him a cheat-sheet for where the goodies are on the map and a quick list of ways around the solid stuff heh.
At any rate. There's still a few minor quirks to be ironed out here and if anyone finds anything majorly wrong please, please, tell me so I can at least attempt a fix. The attached zip contains a minor tweak to the aiscript and miniscule variable changes in the .nav file. This will likely be my last update for the time being unless anyone offers good advice, points out a catasthrope I overlooked or later on I spot something horribly wrong myself.
The way is made clear when viewed from above.
|