This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Re: occupant combat in standard game
On Wed, Jan 28, 2004 at 12:11:20PM -0500, Jim Kingdon wrote:
> > Are you seeing behavior where given a choice between a bomber and
> > another unit, the fighter is choosing the other unit?
>
> No, if the AI has fighters in the vicinity of my bombers, it does an
> OK job.
>
> The problem is more a case of if I make a surprise attack, the AI
> doesn't divert any fighters to where my bombers are. The AI's
> fighters either (a) didn't get built in sufficient quantity, or (b)
> are still off near my home territory, or somewhere other than where I
> am actually attacking.
This comes from the "compute_damage_ratio" function in plan.c, for the
standard game. The fighters dont attack the bombers because they have 2
hp. I have addressed this in my development by factoring in construction
points as well.