View Single Post
Old 07-28-2017, 11:34 AM   #37
GranitePenguin
Ogre Line Editor
 
GranitePenguin's Avatar
 
Join Date: Sep 2006
Location: Plainfield, IL
Default Re: I was hoping for this

Quote:
Originally Posted by hcobb View Post
Will the AI be federated (here is a group of units that can move and attack as a group) or single unit (GEV #3412, what is the best move you can make, without coordinating with other units)?

If it is single unit will you at least do two pass? I.e. first check to see if each unit can make an attack this turn, then sequence units from highest priority targets they can hit to lowest, with the resulting conditions being considered by lower priority units WRT stacking, etc.
This. The AI for a single unit (eg, an Ogre) only need to evaluate for itself. Evaluating for a group of units that can work as a team matters and gets more interesting. A high percentage of Ogre is moving everything into primary and supporting positions, but then evaluating fire activity based on the results of the fire attempt.

A classic example of this is a pair of GEVs attacking a single GEV. 2x2 Attack against 2D. It's a pair of 1-1 attacks or a single 2-1 attack. The math works out very differently depending which way you go, plus there's a side-benefit of a two 1-1 attacks. If you fire and are successful with the first 1-1 attack, you now have a "free" shot with the other GEV at some other target. That also leads to planning for primary/secondary target options.

The logic is further impacted by stacking and spillover fire. with a stack of 2 GEVs, is it better to take a 2-1, with spillover against the second at 1-1, or two attacks at 1-1, with two spillover attacks at 1-2?

etc
__________________
GranitePenguin
Ogre Line Editor
GranitePenguin is offline   Reply With Quote