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

This Month's Specials

Raging Tiger- Save $9.00
World Supremacy- Save $9.00

   







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

Reply
 
Thread Tools Display Modes
  #31  
Old December 3rd, 2006, 05:58 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 concept of the \'80ies ... why?

Quote:
mivayan said:
Semi-related: is there a way to set a 'difficult' AI when changing from human to AI, for example to set up a single player challenge? Would be potentially bad for multiplay though.
You might try to re-start the server with one of the following command line switches:
--easyai X Nation ai controlled X=nation number (0-79)
--normai X Nation ai controlled X=nation number (0-79)
--diffai X Nation ai controlled X=nation number (0-79)
--mightyai X Nation ai controlled X=nation number (0-79)
--impai X Nation ai controlled X=nation number (0-79)

__________________
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
  #32  
Old December 4th, 2006, 10:54 AM

DominionsFan DominionsFan is offline
Major
 
Join Date: Sep 2003
Location: Budapest, Hungary
Posts: 1,221
Thanks: 0
Thanked 1 Time in 1 Post
DominionsFan is on a distinguished road
Default Re: AI concept of the \'80ies ... why?

I agree with Arralen. In fact imo we will see very good AIs in a couple of years, when most of the players will have a decent PC to run the AI processes fast enough.
Right now, many people have some low end machines still, running complicated AI processes on those would take enormous amount of time. My brother is playing a football manager game [his kids are also loving it, but they are too young to play, so mainy they are only watching their father as he is playing.. ], and in that game, he can choose what leagues to play in. When he runs 60+ leagues for example, even on a dual proc. high end pc, it takes 10-20 mins to process 1 weekend "turn" in the game. I guess the present day comps are still not ready to run these huge processes.
__________________
Dominions 3. Wallpapers & Logos
-------

"Training is principally an act of faith. The athlete must believe in its efficacy: he must believe that through training he will become fitter and stronger, that by constant repetition of the same movements he will become more skillful."
Reply With Quote
  #33  
Old December 4th, 2006, 12:22 PM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: AI concept of the \'80ies ... why?

Quote:
Arralen said:
Quote:
mivayan said:
Semi-related: is there a way to set a 'difficult' AI when changing from human to AI, for example to set up a single player challenge? Would be potentially bad for multiplay though.
You might try to re-start the server with one of the following command line switches:
--easyai X Nation ai controlled X=nation number (0-79)
--normai X Nation ai controlled X=nation number (0-79)
--diffai X Nation ai controlled X=nation number (0-79)
--mightyai X Nation ai controlled X=nation number (0-79)
--impai X Nation ai controlled X=nation number (0-79)


I thought those only affected game creation, but I guess it would be worth a try...
Reply With Quote
  #34  
Old December 4th, 2006, 12:36 PM

Folket Folket is offline
Major
 
Join Date: Sep 2005
Posts: 1,122
Thanks: 5
Thanked 2 Times in 2 Posts
Folket is on a distinguished road
Default Re: AI concept of the \'80ies ... why?

In general there are three kinds of AIs, neural networks, smells and scent, and Brute Froce.

Anyone played Fields of Battle? That AI is quite powerful and selflearning using Neural networks.

Problems with Dominions is that a Game would have to be played til the very end before the Neural Network could be updated. After programming the Neural network, which will be a pain, you will have to play plenty of game before the neural network would give a good AI. If the programming was powerful enough. In general this would probably be the optimal AI for dominions as it would learn from human players. But the amount of cells and how to program them seems to burdensome.

Anyone played Galactic Civilization or any modern chess games? Those games give good AIs given brute force.

Brute force is about calculating as many moves as possible to find an optimal move. Given the amount of possible moves in dominions, the computer would never be able to calculate far enough to separate move from eachother in terms on how good they are.

Smells and Scent is the easiest AI to implement. You just give the AI some rules to follow and let it react on it's surroundings. I think this is the only way to go with Dominions, so all you can do is give better and more precise rules for the AI to follow.
Reply With Quote
  #35  
Old December 4th, 2006, 12:45 PM

Folket Folket is offline
Major
 
Join Date: Sep 2005
Posts: 1,122
Thanks: 5
Thanked 2 Times in 2 Posts
Folket is on a distinguished road
Default Re: AI concept of the \'80ies ... why?

Well, a comment on Brute Force. Brute Force is effective if you have a good algorithm to calculate strengh of positions.

In other words, How strong is my position now? How strong will it be if I recruit one mage?

Perhaps smells and scent should be scent and shouts.
Reply With Quote
  #36  
Old December 4th, 2006, 12:55 PM
Uh-Nu-Buh's Avatar

Uh-Nu-Buh Uh-Nu-Buh is offline
Sergeant
 
Join Date: Jan 2004
Location: athens, georgia
Posts: 274
Thanks: 0
Thanked 1 Time in 1 Post
Uh-Nu-Buh is on a distinguished road
Default Re: AI concept of the \'80ies ... why?

Most chess games have a good opening library, position library for mid game, and position library for end game manuevers. They also use brute force, but without the opening library etc. they are garbage....

IOW, without a good starting rulebase (e.g. 10 preapproved good pretenders for each nation, etc.) then Dom III would still have problems.
__________________
--Uh-Nu-Buh, Fire/Death
Reply With Quote
  #37  
Old December 4th, 2006, 01:13 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 concept of the \'80ies ... why?

I think that AI switches affect only the starting points for creating the game. The impossible AI gets more points to create its scales and god than you do. So Im not sure that any switches would affect a human that is turned AI. Its basically already in a better position than the AI anyway (smarter creation and better start position than if an AI had gotten that far)
__________________
-- 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
  #38  
Old December 4th, 2006, 03:00 PM

Evil Dave Evil Dave is offline
Corporal
 
Join Date: Jan 2004
Location: Wilmington, Delaware, USA
Posts: 191
Thanks: 1
Thanked 13 Times in 2 Posts
Evil Dave is on a distinguished road
Default Re: AI concept of the \'80ies ... why?

Quote:
Uh-Nu-Buh said:
IOW, without a good starting rulebase (e.g. 10 preapproved good pretenders for each nation, etc.) then Dom III would still have problems.
I think it's possible to solve the problem of the AI designing good pretenders, or just not-obviously-stupid ones. Certainly, an "openings book" of ten pretenders per nation would do that. It may be enough to write an AI that makes pretenders based on common strategies (blessing, etc) to provide much more of a challenge for SP.
__________________
No plan survives contact with the enemy.
--Helmut von Moltke

Have too may pretender files to keep track of? Use catgod to view them.
Reply With Quote
  #39  
Old December 4th, 2006, 03:14 PM

PrinzMegaherz PrinzMegaherz is offline
Sergeant
 
Join Date: Dec 2003
Location: Würzbueg, Germany
Posts: 397
Thanks: 0
Thanked 0 Times in 0 Posts
PrinzMegaherz is on a distinguished road
Default Re: AI concept of the \'80ies ... why?

Quote:
Arralen said:
Quote:
PrinzMegaherz said:
So, what if more than one player is participating in the game? The AI needs all turn files in order to calculate battles. Your idea would work for a" One player VS AI game", but not for multiplayer, which Dominions mainly is about
Pardon? Where's the difference between a human and an AI player, if both do their turn at the same time?
Actually, the kind of AI I described is easier to do in Dominions than Civ or Space Empires (but IIRC both have a 'simultanious' mode now, too) - exactly because the AI does not need any player file to do it's turn.

Think you're confusing the game server (who executes the orders and computes the results) or maybe the tactical (battle) AI with the "artifical players", which I'm talking about.

I seem to have misunderstood your original post, sorry. But imho the AI thinking does not take so much time. That comes mostly from calculating the battles and generating the next turn. At least that how it looks on my Macbook.
Reply With Quote
  #40  
Old December 4th, 2006, 03:24 PM
Johan K's Avatar

Johan K Johan K is offline
Brigadier General
 
Join Date: Aug 2003
Location: Mictlan
Posts: 1,767
Thanks: 12
Thanked 165 Times in 22 Posts
Johan K is on a distinguished road
Default Re: AI concept of the \'80ies ... why?

True. The AI seldom requires more than a second or two to think, so it really has all the cpu power it needs.
__________________
http://www.illwinter.com
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 09:49 PM.


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