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

This Month's Specials

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

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old December 1st, 2006, 08:48 PM

GwyrgynBlood GwyrgynBlood is offline
Private
 
Join Date: Oct 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
GwyrgynBlood is on a distinguished road
Default Re: AI concept of the \'80ies ... why?

Scripting languages for AI aren't necessarily hard to write... just depends on how the AI was setup. Kohan series has always had scriptable AI, TA Spring also has it.

Most AIs in strategy games have their AI scripted in some way, even if it's internal. For example, in your average RTS game, the AI generally gets a basic list of what buildings they need to build what units, and then a basic understanding of how many buildings of each type they should have, and then an idea of what relative number of units to produce. Also things like 'how many units should I stock up before sending out an attack force'.

Of course, those AIs are generally very dumb unless a LOT of effort is put into them.


Best example of 'good' AI I've seen is Virtual Fighter 4. Very good AI that is modeled after real players.
Reply With Quote
  #2  
Old December 1st, 2006, 09:38 PM
HoneyBadger's Avatar

HoneyBadger HoneyBadger is offline
General
 
Join Date: Oct 2006
Posts: 3,445
Thanks: 85
Thanked 79 Times in 51 Posts
HoneyBadger is on a distinguished road
Default Re: AI concept of the \'80ies ... why?

I think atleast we ought to be able to have the computer coming up with good Pretender designs. It should be fairly easy to do this without the use of any true AI at all. Just come up with several designs for each and every pretender available per nation. Preferrably, these designs would be influenced by the forum community, because inevitably, it takes a village to come up with truly dangerous strategies. Based on the design the computer randomly chose, the AI could then be influenced to follow one of several basic strategies, such as from building a lot of sacreds to not building any sacreds at all, depending on the bless effect and the specific nation the computer was playing. It would require a significant effort on the part of the programmers, but not much computer time at all, and if done right, should certainly improve the AI. By the way, has anyone noticed whether or not the AI in the game makes better decisions (or seems to) on higher difficulty levels? I'm still learning the finer points of the game, so I mostly stay on Normal setting.
__________________
You've sailed off the edge of the map--here there be badgers!
Reply With Quote
  #3  
Old December 1st, 2006, 10:37 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?

HoneyBadger, I think I said something similar. Maybe what I wrote was invisible though, as nobody has acknowledged it. I will go back to the AS thread and angrily sulk there.

In any case, Total Annihilations had a very interesting AI MOD model. It was a text file of units and weights, different for each race, and different for different types of maps, and completely changeable by the player. E.g. if we were to have this kind of possibility in Dom III, we could have a text file (or xml) that allowed us to say something like (this is simplified):

race 43 (superbadgers)
pretendertype;SC,Magic,Lucky,Random
turns0--24;StratMagicTurtle (slow expansion)
turns0--24;regunit456;30% (badger militia)
turns0--24;regunit457;70% (h inf badgers)
turns0--24;cmdrunit466;90% (badger mage scholars)
turns0--24;cmdrunit465;10% (reg commander)
turns25--48;StratMagicDragon (rapid expansion)
turns25--48;regunit458;50% (sacred badger unit)
turns25--48;regunit459;50% (badgersamurai)
turns25--48;cmdrunit459;90% (badger battle mage)
turns25--48;cmdrunit460;10% (badger priest of light)
.
.
.
etc.
__________________
--Uh-Nu-Buh, Fire/Death
Reply With Quote
  #4  
Old December 2nd, 2006, 01:33 PM

mivayan mivayan is offline
Second Lieutenant
 
Join Date: Dec 2003
Posts: 404
Thanks: 0
Thanked 1 Time in 1 Post
mivayan is on a distinguished road
Default Re: AI concept of the \'80ies ... why?

Quote:
Uh-Nu-Buh said:
In any case, Total Annihilations had a very interesting AI MOD model. It was a text file of units and weights, different for each race, and different for different types of maps, and completely changeable by the player.
It's a long step from a fully customizable AI, but could still mean great improvements for dominions.

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.
Reply With Quote
  #5  
Old December 2nd, 2006, 10:35 PM

Wick Wick is offline
Sergeant
 
Join Date: Oct 2003
Posts: 262
Thanks: 1
Thanked 0 Times in 0 Posts
Wick is on a distinguished road
Default Re: AI concept of the \'80ies ... why?

Once upon a time I was playing Wesnoth as the Undead. My leading troops were ghosts with a chill attack. After driving the Imperials back most of the map I noticed he had started recruiting mermen. I thought that was odd since Mermen aren't that good on land and there wasn't much water then I realized they were strongly resistant to cold damage. The AI was paying attention to what I was doing! I felt so validated as a person! ;-) I also thought he should be recruiting mages that could actually hurt my ghosts instead. :-(
Reply With Quote
  #6  
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
  #7  
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
  #8  
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
  #9  
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
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 11:16 AM.


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