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

This Month's Specials

ATF: Armored Task Force- Save $8.00
War Plan Pacific- Save $8.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #11  
Old August 9th, 2004, 01:40 PM

Pickles Pickles is offline
Sergeant
 
Join Date: Jun 2004
Posts: 266
Thanks: 0
Thanked 0 Times in 0 Posts
Pickles is on a distinguished road
Default Re: AI difficulty levels

If you could write an AI that could win at Dom2 without cheating then you could do something much better with it than just win a computer game.

The AI is far weaker than a human. If it were equal then you would win say 1/8 of 8 player games.

Pickles
Reply With Quote
  #12  
Old August 9th, 2004, 01:49 PM

Norfleet Norfleet is offline
Major General
 
Join Date: Jan 2004
Posts: 2,425
Thanks: 0
Thanked 0 Times in 0 Posts
Norfleet is an unknown quantity at this point
Default Re: AI difficulty levels

Quote:
Its such a shame that even in dom2 the AI cheats...
I know its already like that in most games, but somehow I expected the AI in dom2 not to cheat...
The devs of each game should compile a list of the benefits the different AIs get...
A %age would be nice in this particular case, if possible =P
Well, to be fair, the AI in the "normal" difficulty doesn't cheat. If you play at higher difficulties, this sort of behavior is kind of expected, albeit previously, it was thought to be in the form of higher dpoints which in turn yielded greater resources, as opposed to the double-impact of higher dpoints on top of free resources.
Reply With Quote
  #13  
Old August 9th, 2004, 01:51 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: AI difficulty levels

Quote:
Its such a shame that even in dom2 the AI cheats...
I know its already like that in most games, but somehow I expected the AI in dom2 not to cheat...

I dont consider such things cheats. Being a lurker in the game development newsGroups, and the AI newsGroups, Id call it a necessary equalizer.

For an AI not to cheat, it would have to operate in with the same restrictions as players. Thats very difficult to program. Even if you accomplish that, then you have the intelligence part. Making the computer play smart isnt as hard as making it play sneaky. If a computer always goes to the obvious goal then the players will use that to setup ambushes.

Also keep in mind that we arent talking about the AI on normal setting being able to cheat. We are talking about the AI on harder settings being able to cheat. How would you make an AI be above average difficulty if you cant program it to be smarter than human players?
__________________
-- 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
  #14  
Old August 9th, 2004, 10:53 PM

deccan deccan is offline
Major
 
Join Date: May 2003
Location: Solomon Islands
Posts: 1,180
Thanks: 0
Thanked 0 Times in 0 Posts
deccan is on a distinguished road
Default Re: AI difficulty levels

Just some ideas here, so please don't be offended.

I think that Dom 2 could do worse than pick up the example of what Aaron Hall did with SEIV. In SEIV, higher difficulty levels determine which of the AI's "ministers" are turned on, meaning I suppose which sub-components of the AI responsible for handling a specific thing. At the same time, the player can explicitly choose how much of a production bonus to give to the AI. This handily solves the common problem of players complaining that the AI cheats.

As for making AI opponents smarter, granted that given technological constraints, it would be impossible at the present time to make a truly intelligent AI, but that doesn't mean that it is impossible to make game-playing AIs that "seem" reasonably sneaky and most importantly, "fun" to play against. Making the AI do things semi-randomly seems like a poor way of doing that.

One way to make this work for Dom 2 would be to make the AIs moddable. So a modder might create, say, an nation-specific AI that tries to rush to a particular spell or unit, or builds masses of a certain type of unit at a certain point in the game, in order to achieve a fairly consistent strategy. Of course, once you play against that AI a few times, you're wise to it and can do things that specifically counter it, but the point is to have a lot of different AIs and so increase replayability for SP.

Would take a lot of work though, so maybe for Dom 3.
__________________
calltoreason.org
Reply With Quote
  #15  
Old August 9th, 2004, 10:55 PM

deccan deccan is offline
Major
 
Join Date: May 2003
Location: Solomon Islands
Posts: 1,180
Thanks: 0
Thanked 0 Times in 0 Posts
deccan is on a distinguished road
Default Re: AI difficulty levels

Quote:
The game itself has no option for random opponents but visit the Random Support Site at www.dom2minions.com
There are .map files you can download there which will use the Aran map that you got with the game and start a game with random opponents (they are also randomly allied with each other). Since its only possible to do it with a .map file, those files are re-rolled every day with new opponents.
Thanks! That's very useful!
__________________
calltoreason.org
Reply With Quote
  #16  
Old August 10th, 2004, 12:15 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: AI difficulty levels

Up to a point that can be done. You can affect the units an AI builds. You can also provide it with specific god, castles, scales, equipment, allies to start with. Specify spells it already knows. Give it a few special starting provinces. Give those provinces specific magic sites already found.
__________________
-- 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
  #17  
Old August 10th, 2004, 02:06 AM
Arralen's Avatar

Arralen Arralen is offline
Major General
 
Join Date: Nov 2000
Location: 500km from Ulm
Posts: 2,279
Thanks: 9
Thanked 18 Times in 12 Posts
Arralen is on a distinguished road
Default Re: AI difficulty levels

question on a related topic:
If I turn over a player nation to AI control, which difficulty setting does the AI use? Obviously, it cannot change the pretender or the scales (can it?), but does it get the production bonus from the difficulty level I set on the game startup screen?

Does the AI hamper itself by pretender and scale choice too often?
I experimented with severaly nation design I turned over to AI control after 1..3 turns, and I seems to me that a pre-build nation works much better and more consistently for the AI than most nations it comes up with.

It is especially prone to kill C'tis, Vanheim and Joutmheim off by itself using heavy death scales .. I mean, how far do Niefel Giants Last with death-2, especially as on most maps procinves and therefore supply values are rather small in everage?
__________________
As for AI the most effective work around to this problem so far is to simply use an American instead, they tend to put up a bit more of a fight than your average Artificial Idiot.
... James McGuigan on rec.games.computer.stars somewhen back in 1998 ...
Reply With Quote
  #18  
Old August 10th, 2004, 02:46 AM
The_Tauren13's Avatar

The_Tauren13 The_Tauren13 is offline
First Lieutenant
 
Join Date: Jul 2004
Location: Albuquerque, NM
Posts: 605
Thanks: 0
Thanked 0 Times in 0 Posts
The_Tauren13 is on a distinguished road
Default Re: AI difficulty levels

In the popular RTS game Starcraft, the AI was given no advantages over the human players, or 'cheats' as you're calling them. It simply played extraordinarily well for an AI. At the start of a game, the AI would select a random strategy and roll with it, be it mass rush or quick expansion. This worked very well, because each strategy was given the time and detail needed to make it work well, but the randomness prevented it from being so predictable that you would know exactly what to do to counter it, all the time. Even though it was a very remarkably intelligent AI, a fair fight would typically be considered 3 humans vs. 4 computers, 2 v 3 if the players were exceptionally good, and sometimes even a 3 v 5 would be attempted, but would rarely be won. An artificial intelligence simply cannot be as strategically good at a game as a human player, even when the creators, like blizzard, have loads of time and money to blow on developing it.

I recently programmed a little turn-based strategy game of my own using java, in which you would play a 6-way FFA with 5 AI opponents. At the start of each game, the player enters a troop multiplier for the AI that simply multiplies all the troops is starts with and acquires during the game by a percentage, anywhere from 10% to 1000%. Playing a lot of games recently on the 110% difficulty level, I won only about half of them. Even then, this means that I am still better at the game than the 110% difficulty AI, because if we were truly even, I would only win 1 of 6. In making the AI's performance optimal, I had to settle on the proper mix of randomness and scripts. Too much randomness and the AI is far less intelligent. In an older Version of the game, the almost nonexistent AI would simply attack a random adjacent province with a random number of troops regardless of who owned it or how strong it is. In this older Version, I was able to win games on 300% difficulty (where the AI would receive 3 times as many troops as me) about half the time. Too many scripts, however, and the AI is easily outguessed and outmaneuvered, as it becomes overly predictable.

As far as PC games go, the AI has the hardest time coping with TBS games. In RTS, it can rely on instant reflexes and minute control/micromanagement to give itself an advantage, but in turn-based it has no such outlet. Also, in a FPS, like counter-strike, its lightning reflexes can give it a large advantage. The AI in counter-strike, in the form of bots, is actually much better on its highest difficulty setting than the average person, without the use of advantages like more HP or money.
__________________
Every time you download music, God kills a kitten.
Reply With Quote
  #19  
Old August 10th, 2004, 05:39 AM
tinkthank's Avatar

tinkthank tinkthank is offline
Lieutenant Colonel
 
Join Date: Jan 2004
Posts: 1,276
Thanks: 0
Thanked 2 Times in 2 Posts
tinkthank is on a distinguished road
Default Re: AI difficulty levels

Quote:
I do not know where you got this 'canon' answer but for example here, almost a year ago I stated that5 the AI got resource and design bonus points.

http://69.56.133.54:81/threads/showf...ev=#Post230190

I have not looked further but as I recall I have stated it on other occasions as well. I also believe it had been stated by JK on at least one occasion, and probably by Kristoffer as well. This discussion is old and I thought it was over and done with.
My mistake!
There are/were numerous Posts on this exact topic which I found myself when searching, and they all seemed to say "design bonus, that's it". So now we know better. Thanks!
Reply With Quote
  #20  
Old August 10th, 2004, 11:14 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: AI difficulty levels

Standard AI programming: what you cant make smart, make random. If you start out trying to make the AI smart, you make the AI too predictable to be a challenge. If you start out random and work your way backward to smart (by adding code to knock out the worst choices) then its a smoother road.

But yes, there is definetly an advantage to using a .map file or a .dm file to create a computer opponent of some worth. I wish the people who have strong ideas about how the AI should play would do some more of those.

One of the extensions of my "random opponents" project was to collect lots of good castle/pretender/scales/magic settings for Ermor and have it randomly added to the daily generated .map file. And of course working from there to do the same for every other nation. I never got to it but if someone wants to tackle the project (collecting setup files) I will take it to completion and host it in their name
__________________
-- 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


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 10:04 PM.


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