On Thu, Mar 13, 2008 at 6:10 AM, Kai Antweiler <[EMAIL PROTECTED]>
wrote:

> > The resulting algorithm consumes very low CPU. Running a test save
> provided
> > on the bug tracker by Leo where there are literally tons of units
> rushing to
> > the enemy all at once, (so in theory this would be a bad-case scenario)
>
> I belive worst case would be, when there are no targets. And that isn't
> even that unrealistic. Have a look at this too.
> If necessary for speed, check the "flag area" for targets before the
> start of A*.
> --
> Kai Antweiler
>

This is whats done. There is a 17x17 square centered on a warrior
representing what enemies it can see when in "hunt and kill" mode, and it
examines that square and picks targets.

-- 
Extra cheese comes at a cost. Bradley Arsenault.
_______________________________________________
glob2-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/glob2-devel

Reply via email to