.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old January 25th, 2010, 03:56 PM

Belac Belac is offline
Sergeant
 
Join Date: Feb 2009
Posts: 282
Thanks: 8
Thanked 3 Times in 3 Posts
Belac is on a distinguished road
Default 2 AI Questions

1: How does the AI design its pretenders? That is, what factors does it value how? Having seen a variety of AI pretenders in SP (including one fantastically-amusing Great Enchantress on MA C'tis who died repeatedly from Miasma over the course of an epic war), I am quite curious.

2: What nations does the AI manage best and worst? From my anecdotal SP experience, it is very good at Vanheim/Midgard, pretty good at MA/LA Ermor, and supremely crappy at Pangaea. Is there some kind of pattern, some type of units/strategies it is better at?
Reply With Quote
  #2  
Old January 25th, 2010, 04:07 PM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default Re: 2 AI Questions

1: Essentially it's random. Whether or not the processes behind it are random, the end result certainly doesn't resemble a design of any kind. At anything higher than normal difficulty they get so many free design points that they're bound to have lots of magic on anything they pick though.

2: It kinda depends if you mean with CBM on or not, NI or BI on also. It's pretty terrible with all of them regardless, however. It's especially bad with ma and la mictlan, capable of dying after a few turns and with caelum, since it has no idea how to use flying troops. I think it's best with Jotunheim and the roman nations, personally.

Basically the only AI 'strat' is to build as many troops as possible and throw them at you. So anything that has good basic troops and good pd is what it's best with. Magic, thugs etc mean pretty much nothing to the AI.
Reply With Quote
The Following User Says Thank You to Sombre For This Useful Post:
  #3  
Old January 25th, 2010, 04:19 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: 2 AI Questions

1) The AI represents ultimate variation. Any kind of "good choice" would be quickly learned, documented, and step-by-step instructions how to beat it would be posted. Not much replay there. Unfortunately, it also means that the AI often selects gods and scales that are bad for it.

HOWEVER it is possible to design good gods and scales for each nation and use those. But then you know whats happening.

If you want the best in-between take a look at the SemiRandom program. It uses pre-created surprises in both AI pretenders and designed provinces but scatters them in so you dont get to know them too well.

2) The AI instructions are linear. In other words its one AI for all nations with very few "IF Nation =" in it. So the more specialized a nation is, the worse the AI plays it.

There are ways to improve that. There are mods, and maps, and again the SemiRandom program all meant to improve the AI. The devs might not have done as much there as we would have liked but at least they granted us the tools to do what we wanted.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
The Following User Says Thank You to Gandalf Parker For This Useful Post:
  #4  
Old January 25th, 2010, 04:26 PM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default Re: 2 AI Questions

No they didn't. They haven't granted anything people actually want for AI improvements. There are also relatively few mods or maps dedicated to improving the AI. Those that have been made have been largely ignored. Stop sugar coating everything.

I'm sure someone is going to try and take me to task over who 'people' are. I would classify them as those who actually had an interest in improving the AI and were willing to make mods/improvements. The ability to change the weighting of the AI, its scripting, decision making etc has always been a wishlist item and something many people have asked about.

Edit: This is no criticism of the devs. AI tools are obviously not a priority, which is cool. They'd probably be a total pain to implement.
Reply With Quote
  #5  
Old January 25th, 2010, 04:31 PM

thejeff thejeff is offline
General
 
Join Date: Apr 2005
Posts: 3,327
Thanks: 4
Thanked 133 Times in 117 Posts
thejeff is on a distinguished road
Default Re: 2 AI Questions

The AI isn't actually bad at using straight-forward battle mages. Some buffs, artillery, that kind of thing. It's not good at summoning, forging & equipping, communions, anything that requires planning or adapting to circumstance.
Reply With Quote
  #6  
Old January 25th, 2010, 04:35 PM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default Re: 2 AI Questions

Oh the battle AI is pretty good, considering, yeah. It uses evocations etc in a sensible manner.

But the AI doesn't deploy battlemages strategically or anything, it just chucks a few mages along with every stack of guys. Or sometimes just randomly chucks the mages at you without the army.

And does the AI actually script mages? I don't think it does. Other than hold and cast spell, hold and cast spell, attack for those it has deemed to be thugs. If you never script any of your guys you'll find they act exactly the same way as the AI mage support.
Reply With Quote
  #7  
Old January 25th, 2010, 04:46 PM

thejeff thejeff is offline
General
 
Join Date: Apr 2005
Posts: 3,327
Thanks: 4
Thanked 133 Times in 117 Posts
thejeff is on a distinguished road
Default Re: 2 AI Questions

I've never been quite sure whether it doesn't script them, or whether the algorithm for scripting is just close enough to the battle AI that it's hard to tell the difference.
I suppose a debug log would tell you. Just look for favspell.
Reply With Quote
  #8  
Old January 25th, 2010, 05:21 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: 2 AI Questions

You can always turn on the comptrn switch and look at the AIs turn files. It doesnt script specific spells but then that would be a duplication anyway since the spell choices are written into the code and used to overwrite scripts. Be dumb for the code to argue with itself that way. But it does script. Im not sure how it decides but some units it prefers "stay behind troops" for major mages which makes sense since it allows the other code to just do spell selection. Then another mage is cast, cast, attack which made sense since it was an SC. And yes another would be just cast once then attack which made sense since it was a clerical giant.

It is fun to see the things that the AI can do that we cant. Ive seen scripted instructions such as cast, cast, fly attk rear.

And I wouldnt say that the AI efforts have been ignored. The devs have a number of AI items on the progress page including one we have yet to receive. And player-done items are available. NI maps are well known and seem to get a fair amount of use. Large maps get downloaded fairly often. And there is always SemiRand.

Besides, dont knock me for upholding the title beneath my name just as I wouldnt knock you for always upholding yours.
Reply With Quote
  #9  
Old January 25th, 2010, 05:45 PM

Tollund Tollund is offline
BANNED USER
 
Join Date: Nov 2009
Posts: 122
Thanks: 5
Thanked 2 Times in 2 Posts
Tollund is an unknown quantity at this point
Default Re: 2 AI Questions

Quote:
Originally Posted by Gandalf Parker View Post
It is fun to see the things that the AI can do that we cant. Ive seen scripted instructions such as cast, cast, fly attk rear.
I use that one quite often, since it's one of the standard scripting actions available to all commanders.
Reply With Quote
  #10  
Old January 25th, 2010, 05:57 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: 2 AI Questions

Oh. guess Im really rusty on my flight commanders. Should play Caelum more often.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 05:08 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.