.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
  #11  
Old July 9th, 2008, 01:50 AM
JimMorrison's Avatar

JimMorrison JimMorrison is offline
Lieutenant General
 
Join Date: May 2008
Location: Utopia, Oregon
Posts: 2,676
Thanks: 83
Thanked 143 Times in 108 Posts
JimMorrison is on a distinguished road
Default Re: Improvements for AI Opponents

Quote:
Loren said:
*PART* of #3 could be implemented easily:

Check to see if the commander will benefit from the item. When I take an air-breathing item off an air-breathing commander, something's wrong.

I would also divide all commanders into caster or non-caster. Items would be flagged as to whether they are for casters/non-casters or both.

Well that's a fine idea, but how do you define casters? I mean, giving a staff and a robe to a Dai-Oni would just be a terrible SNAFU. In fact many of the best SCs have magical ability, and some of them have much better magical ability than the "mages of the line" that one might recruit in large numbers to spam buffs and minor evocations. It could prove very tiresome to try to work out rules to define what type of commander one is, on the fly. I think a better bet would be to have a flag that can be set to caster-only, combat-only, or left unflagged for those units who are thuggable, but also are perfectly worth having just casting.

And then it comes partly down to research as well..... Most thuggable casters are only viable if they have very specific buffs researched. If they don't, then they would be better used standing back casting whatever else they have access to in a support role.

Such is the conundrum of AI programming - there are so many potential variables, that you get worse results the more specific your rules are. Of course, one could argue it's hard to get much worse than a Fish Pendant on a human commander, but maybe he only had it because he picked it up, the AI never removes magic items AFAIK.
Reply With Quote
  #12  
Old July 9th, 2008, 10:24 AM

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: Improvements for AI Opponents

You define casters as people who have magic paths. More importantly you define non-casters as those without magic paths. You don't give the non-casters path booster items (with exceptions for those have other boosts) or penetration items etc.

This is a much more basic fix suggestion than trying to build SCs or thugs. Just don't give commanders items that are useless to them or actively crippling.
Reply With Quote
  #13  
Old July 9th, 2008, 10:37 AM
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: Improvements for AI Opponents

Any AI suggestion which gets into too many IF's is out of the category of easy, and is unlikely to get done. The AI now is rather linear and general. In other words it does have an instruction on whether to build infantry ahead of cavalry or mages ahead of priests. But not IF Ermor and IF less than turn 10 and IF you already have the local provinces captured etc etc. It also has a list of spells to cast and a rating system to decide them but not alot of IF Ctis and IF your army is poison resistant and IF etc etc.

Hosting would get 5 times as long if all of the nations had a bunch of IF checks. The code-base is just not structured for doing such checks in a database manner. The only IFs that might get inserted are the real game-killers. The latest I would like to see put in is to keep Mictlan from killing itself out of the game in the first few turns by not choosing a scale and dominion setting that it needs to get started.

On the other hand, many of the IF this and IF that changes that people want directed toward a specific nation can be done by mod or map commands so we can "fix" individual nations the way we want in most cases.
__________________
-- 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
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 06:45 AM.


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