occupant combat in standard game
Hans Ronne
hronne@comhem.se
Tue Feb 3 00:05:00 GMT 2004
>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
More information about the Xconq7
mailing list