Thanks.
-Simon Watt
What would be really neat would be if those two functions could be combined, hashing functions seem to be relevant, I must search more.
Thanks for the suggestions all.
-Simon Watt
"Oh sorry, I didn't read that part of your email, but I believe my
approach would suit your goal." would have worked just fine.
I have no doubt your approach works/is correct,
but you don't win any Internet
points for telling people posting to the list that they're asking the
wrong questions when it was you who didn't read their email -- it just
comes across as arrogant. Nobody cares who's "right." It's petty.
If anything, "Oh, sorry" just makes you come across a nicer guy.
As with any ai problem, my specific environment allows me to fudge some things that are un-important.
A non-optimal solution is fine here for many reasons: I'm only going about 10 tiles due to collisions and changes to the map, this is fine because the map has no real blocked terrain/I just don't want the ai to "flatten" the map, and it recalculates when an imminent collision is detected; the terrain is very "cloudy" (there are no large obstacle groupings); the map is _huge_ (hundreds or thousands of tiles to a side) and generated via perlin and the like; units are relatively short-lived; units are directed from "above" in groups that perform maneuvers against the players via a sort of hull made of player positions -> find weak spots in formation + prioritize targets -> attack -> destinations for the pathfinder are being changed often; etc etc.
I'm also post-smoothing the path a la: http://www.gamasutra.com/view/feature/131505/toward_more_realistic_pathfinding.php?page=2
Sorry for the poor/non grammar there but the essence is this: speed is the dominating factor here, if units collide occasionally or run into things that's ok, but it can't lag... At all.
TLDR: for me, fast and slightly wrong is much better than slow and right. Now where have I heard that mantra before...;)
Thanks again,
-Simon Watt
Thanks.
Agree to disagree then. I stand by "sometimes people ask the wrong
questions" being neither helpful nor "a warm welcome" (ref. the other
thread). I guess I'm a little disappointed that you of all people
don't even recognize the general point I'm trying to convey here (that
this list, not this thread in particular, is becoming increasingly
less welcoming with the influx of people who don't have PhDs.)
Anyway, as I mentioned, I did move it to the other thread regarding
mailing lists as this wasn't constructive.
On Wed, May 16, 2012 at 5:46 AM, Andrew Gerrand wrote: