FreeOrion

Forums for the FreeOrion project
It is currently Sat Dec 16, 2017 10:36 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 19 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Sat Aug 02, 2003 9:21 am 
Offline
Creative Contributor
User avatar

Joined: Fri Jun 27, 2003 2:35 am
Posts: 383
Location: Texas
Redman ;), I'd like to join the AI team sometime in the near future. My programming skillz have regressed to an infantile state, BUT I used to be good. I'm learning Python for a job I should get soon in Dallas, so i'd like it if we could use that. Not to mention its about A MILLION times easier than C++ to do the math calculations/functions for an AI. And as a bonus its inherently multiplatform.

Also
Quote:
The attempt to conjure a self-learning AI for FreeOrion would be a nice project for a CS or EE graduate student. (or at very least a subset of the AI, for example growing an AI to handle resource production or diplomacy).


I'm currently an EE Junior at UTD, perhaps i could make it a project of mine :)

_________________
Aquitaine is my Hero.... ;)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 02, 2003 3:38 pm 
Offline
Creative Contributor
User avatar

Joined: Sun Jun 29, 2003 12:40 am
Posts: 1060
Location: Tucson, Arizona USA
Most AI is efficient at perforuming TASKS such as colonize this planet or attack that system.

First we come up with the basic task sub routines. After they have been assembled and fine tuned we move onto functions that DESIDE BETWEEN DIFFERENT TASKS. Desiding between tasks and setting priorites is ware the real strategy is. This part of the AI can be almost entirly disconected from the task subroutines. Think of the subroutines as ministers and the desicion AI as the Emperor. This process parrallels the human though proccess, a player desides on one level to go to war and then performs many many smaller tasks (aka clicks) that are nessary to conduct that war such as design ships, move them to enemy star systems and glass planets. Just as the player first makes a high level desison like "go to war with the Darlocks" and then performs a lot of low level though (micro managment) to make that happen so too would the high level "imperial" AI make the big dessions and goals and then deligate the microing to "minister" AI's.

This Imperial Strategising AI computes what needs doing, sets GOALS and re-evaluates those goals based on changing conditions. The minister subroutines do not need to have such long term thinking. The output of the imperial AI could be sumarized something like this.

Activate Task subroutine L on planet 12 with high intensity
Supress to low intensity subroutine J on planets 2, 5, 8 and 16 to be replaced with subroutine Q
Terminate Subroutine A on planet 6
Intensifie subroutine Z on Player # 4

Translation

Rush build my Star Cruiser on planet Oberon
Reduce Reserch on these planets and incresse ship production
Cancel my Biodome on planet Tranus
Start stealing tecnology from the Evil Suberanian Amazonian Worms


So if we sut up the subroutines to recive input in the way humans actualy think and manage their empires. At first the high level managment AI would be extreamly skelatal with simple cause and effect relationships. Example "player #6 is 40% weaker then me" --> "make ships" --> "declare war on player #6" --> "attack player #6". We then design progressivly better desision making Imperial level AI with each version.

_________________
Fear is the Mind Killer - Frank Herbert -Dune


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 22, 2003 10:13 pm 
Offline
Space Krill

Joined: Mon Sep 22, 2003 10:08 pm
Posts: 9
Someone at the Apolyton forums worked out how the Civ3 AI decides which tech to work on next. It assigns points to a list of criteria and rates the tech on those criteria. Criteria are as varied as allowing trade over oceans to whether the tech allows an attacking unit (defence has different points attributed to it).

The thread can be found here:

http://apolyton.net/forums/showthread.p ... genumber=2

Civ3's AI programmer Soren replies to the thread.

Enjoy,

Sith


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 24, 2003 1:36 pm 
Offline
Lead Designer Emeritus
User avatar

Joined: Thu Jun 26, 2003 1:54 pm
Posts: 761
Location: Austin, TX
Interesting read. Thanks for the link!

_________________
Surprise and Terror! I am greeted by the smooth and hostile face of our old enemy, the Hootmans! No... the Huge-glands, no, I remember, the Hunams!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 19 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group