[freeciv-ai] Re: (PR#4137) Auto-Explore with new path-finding
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients:; |
Subject: |
[freeciv-ai] Re: (PR#4137) Auto-Explore with new path-finding |
From: |
"Cameron Morland" <cameron@xxxxxxxxxx> |
Date: |
Fri, 16 May 2003 12:55:11 -0700 |
Reply-to: |
rt@xxxxxxxxxxxxxx |
On Fri, May 16, 2003 at 09:04:44AM -0700, Guest wrote:
> > > 2. Same place, I think
> > > #define BEST_NORMAL_TILE \
> > > (100 * MAX_NEW_TILES * DIFF_TER_SCORE +\
> > > 100 * (VISION_TILES-MAX_NEW_TILES) * KNOWN_DIFF_TER_SCORE)
> > > ^^^^^^^^^^^^^^^
> >
> > <Grind, grind, grind>. Right.
> >
> > > 3. A bad thing about these defines is that they are not constants:
> > > they
> > > depend on vision_range. I don't know what to do about it though...
> > > Maybe
> > > set vision_range to 1 ?
> >
> > It should be much faster that way; I made it clear in the comments
> > what
> > it "should" be, in case we want to make vision_range > 1 be much more
> > common at some point in the future.
> >
> vision_range > 1 does happen on autoexplore. If I land on a
> railroaded continant, I tend to set a spy to AutoExplore and
> instantly reveal half the island. (Spy has vision_rage = 2)
Yes, obviously units can have vision_range > 1. But it won't affect
the behaviour significantly to overlook this when writing the explorer
code; the unit will still explore, just very slightly less well that
it might otherwise.
--
+-----------------------------------------------------------------
| PGP http://www.eng.uwaterloo.ca/student/cjmorlan/public-key.pgp
| Cameron Morland ---- Cameron@xxxxxxxxxx
|
| Any jock who beats up geeks knows that he's not as smart
| as they are. Bullying stems from insecurity. A bully who
| picks on a pensive geek is asking to be taken by surprise,
| in a devious, well-thought-out plan, that allows no revenge.
|
| SO: we need to save these Darwin candidates from themselves.
| Turn them in, take the cash, buy hardware, and stay smart.
| The more bullies we stop young, the less we have to kill.
| --Jurph
+-----------------------------------------------------------------
|
|