This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Re: occupant combat in standard game
- From: Hans Ronne <hronne at comhem dot se>
- To: Eric McDonald <mcdonald at phy dot cmich dot edu>
- Cc: xconq7 at sources dot redhat dot com
- Date: Tue, 3 Feb 2004 01:04:29 +0100
- Subject: Re: occupant combat in standard game
- References: <20040202101936.GA414@leonardo>
>But, wrt what Jim is seeing, I believe that this is a
>strategic/planning level issue and not a tactical issue. If a unit
>has an offensive plan, it will generally continue to run the
>victim seeker (and so not the larger picture). What probably needs
>to happen is that plan_offense and plan_defense need to have some
>heuristic which will summarily examine the balances in the
>different theaters, and then force a replan (and new goal) for
>some (higher mobility?) units. I have been thinking about this
>some, but have not yet determined a good way to go about it.
An easy way to improve the ability of fighters to intercept should be to
increase the default setting for u_ai_tactical_range. The current value of
4 is really too low. I picked it in order to be on the safe side with
respect to ai performance, but it could probably be boosted to 12 or so
without too much of a slowdown.
The theater reassignment code you ask for does exist (review_theaters and
mplayer_review_units). It is run at the start of each turn, which should be
sufficient. The code cares more about area control than about attacking
specific units, though. This is the way the mplayer works, however, for
better or for worse.
Hans