View Single Post
  #54  
Old October 30th, 2003, 05:20 PM

licker licker is offline
Captain
 
Join Date: Sep 2003
Location: New Mexico
Posts: 990
Thanks: 13
Thanked 15 Times in 14 Posts
licker is on a distinguished road
Default Re: Dominions 2. AI. Suggestions, that how to fix it.

Quote:
Originally posted by Gandalf Parker:
The area of unit selection is really hard to move from complaining to real suggestions. To keep a database of each race and each gaming situation would be extreme. They might as well move the AI to a seperate program so it doesnt slow down the MP play. Many of the people complaining about the AI are playing with independents set at 2 or 3. The strategies and units for such a game would be very different than if it were set in the middle, and that would be different than the high setting. And thats just ONE of the pre-game settings.

OK Ive heard that the AI should not buy cheap units but instead buy a "real army". So insteadof figuring out how to get the most units with the least upkeep (patrolling strtegy) they should buy the most expensive? That would lead to armys of hvy cavalry, which I guess isnt too bad.

Personally I think an AI best bet is to buy everything. Start at the cheapest and buy 1, move up thru the choices then start over. They would reach a point of not being able to buy another hvy cavalry or elephant or hydra and would use up the left over amount on cheap troops so they would end up with slightly more lesser troops than expensive ones. But that wouldnt be too bad.

What about leaders? How do you make sure the AI buys a mix of leaders? It has no memory so it cant say "I bought this Last time and now need to buy this". Hmmmm well actually it might be able to fake that. If turn number divides by 5 evenly then buy the most expensive leader THEN buy troops. *sigh* still not great but maybe it would be better?
Certainly the AI can look at its army composition at the start of its turn (units and leaders) and build appropriately no? Say it sees a deficiency in heavy troops, or mages, it can start building those troops until its reached its equilibrium level. This is sort of the approach MoO3 used actually for fleet compostion, it was moddable and eventually the modders were able to 'force' the AI to build more intelligent fleets by changing the ratios of scouts to beams to missiles...

I don't see why this wouldn't work for Dom as well. You'd have a list of commander types (maybe also broken down into magic types for different mages) and a list of unit types (classes rather than specific units so indies fit in). Then a weight is assigned to each type, a crude example for just infantry could be:

LI: 25%
MI: 50%
HI: 25%

So the AI would look at its current army and see that it had only 10% LI, then it would build more LI to get the ratios set. Something like that should be made external so that modders can tweek away to their hearts content. In fact you can use lists like that to control many aspects of AI choices, you can do it for magic, artificing, recruiting, summoning, ... and have master matricies to control the embedded ones...

That's what I'd like to see anyway
Reply With Quote