Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > AC-General/Help/Strategy-Archive > Modifying the AI engine - is it possible?
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
shawnmmcc is offline shawnmmcc
Prince

Jan 2003
time: 00:25
  Old Post 01-02-2003 13:15
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Modifying the AI engine - is it possible? Put an end to popups!

I've play SMAC since shortly after its release, though I've only been on the forums for a month. There seems to be a consensus that the AI could use some overhaul. Can it be modified directly, rather than indirectly with faction editing/game difficulty? Does anybody know where in the game the code is kept?

If enough people supported it, maybe firaxis would make the SMAC AI code available now that civ3 with a better AI engine has been released. Then the various SMAC/X communities could work on an effective builder AI. Obviously Firaxis would protect their copyright, and possibly even discover some good coders out there. Maybe a new release? Just a thought.

zsozso is offline zsozso
Prince
of Chiron
Oct 1999
time: 00:25
  Old Post 01-02-2003 20:27 Visit zsozso's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Tired of ads?

I do not know about any way to modify the AI. However, if Firaxis would be willing to give us some information or a script language input or any other way to do it, I would be very interested working on it. Even if they only do as much as release detailed information about the game save format, then I could already write an "external" AI, i.e. an automated PBEM/hot-seat oppenent program, which you could use instead of a human player to play a turn in a hot-seat game. What I mean, is that you play your turn, save it, run the external AI program that reads in the save and produces another save with its moves made, then you load that up and so on...

I could even make a web or email based version of it, where you can send/upload your file and it would sned you back the save after the turn is played by the external AI.

If there are any other programmers out there willing to chime in, then we could make it into serious open-source project.

Alinestra Covelia is offline Alinestra Covelia
Queen
I sense the dodgy presence of Bing - a presence I've not felt since...
Feb 2000
time: 00:25
  Old Post 02-02-2003 05:28
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Tired of ads?

I'm only a puny player, not a programmer, but I must admit the thought of a new revamped SMAC AI makes me weak at the knees.

[flourishes banner]

This is a bold challenge - will Firaxis take it up? Stay tuned.

shawnmmcc is offline shawnmmcc
Prince

Jan 2003
time: 00:25
  Old Post 02-02-2003 12:02
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton buy from Amazon

zsozso - I hadn't even considered your idea, I had assumed directly programming the AI algorithm. I wish you could still legally run a dissassembler on it Your idea would make a quick customized faction AI much faster, as in small map/Hive, which eventually could be assembled into a larger universal program. Nice idea.

If we can get enough posts on this thread, I'll send an email to Firaxis to look at the support for this idea. Unless somebody chimes in who they already know (and like ). Thanks.

spartak is offline spartak
King

Dec 2000
time: 05:25
  Old Post 02-02-2003 14:58
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton or Terrorists Win

I'm all in favour. Unless firaxis are still making money from the game (which I don't think they are) they owe it to their fanbs to allow someone else to make the AI work.

Archaic is offline Archaic
King
Washed up SMAC/X University Specialist
Nov 2001
time: 15:25
  Old Post 02-02-2003 15:22 Visit Archaic's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Civilization 2

As I recall, didn't Firaxis already refuse a similar request quite some time ago?

Lazerus is offline Lazerus
King
Empires were built by dictators, not democracies.
Jul 2002
time: 05:25
  Old Post 02-02-2003 16:49
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

the AI does need some serious tuning, i haven't seen alpha centauri on any shelves in game stores around my area for a while, only seen it as jewel on the net so i doubt they're selling like they used to.

Clear Skies is offline Clear Skies
Prince
looking for a saviour in these dirty streets
Jul 2000
time: 05:25
  Old Post 02-02-2003 19:37 Visit Clear Skies's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Tired of ads?

They still have a number of copies around on shelves in England (Game stores seem to keep a good stock), but Alien Crossfire can't be found for love nor money...

Anun Ik Oba is offline Anun Ik Oba
Emperor
Grace of God
Sep 1999
time: 00:25
  Old Post 03-02-2003 01:10
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Help yourself to an AD-FREE life

quote:
Originally posted by Archaic
As I recall, didn't Firaxis already refuse a similar request quite some time ago?


Probably; they're afraid someone might go and fix the remaining bugs and make SMAC(x) the perfect game.

ellie is offline ellie
Settler

Jan 2003
time: 05:25
  Old Post 03-02-2003 06:42
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
re Inflate your Upload Space

Hmm i bought a legal copy of alien crossfire.
It IS available for free download on a number of sites (i know one site bound to have it), but it feels wrong copying it


Ellie

zsozso is offline zsozso
Prince
of Chiron
Oct 1999
time: 00:25
  Old Post 03-02-2003 17:42 Visit zsozso's homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Help yourself to an AD-FREE life

quote:
Originally posted by Archaic
As I recall, didn't Firaxis already refuse a similar request quite some time ago?


Was that request about opening the AI for programming by users, or giving out information on the game save format ? Because the later one is a much smaller request in terms of IP rights or work on their side. I mean, they must have some internal docs about the save format, so it is zero work to release that and they do not give away much IP with that either. Being in the software business myself, I wouldn't refuse the request for the format, but I would have some concerns about giving access to AI code.

So, maybe it is worth approaching them about the save format. Of course, that solution would not be so convenient for the players (requires saving/loading each turn), but at least it is a work-around. I'm sure a lot of players would be willing to take that much trouble for the benefit of playing against a decent AI.

We could even make the web version to learn, i.e. build up a knowledge base from the games it played and use tactics "borrowed" from players who won. This way the more we play it, the smarter it gets...

Last edited by zsozso on 03-02-2003 at 18:56

EmperorJay is offline EmperorJay
Chieftain

Aug 2002
time: 05:25
  Old Post 03-02-2003 18:09
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Support Apolyton buy from Amazon

the real problem is the game itself, its just too complex to build areally good AI. (have you ever tried thinking about just WHY you do certain things? the facts you consider in that process are surely quite numerous....)

but it would certainly be possible to mdify the AI in a way that it learns using crawlers and defending against air-units or maybe executing proper attacks. It would still be week, becaus it isn't able to use any special tactics, but it would be some progress...

P.S.: the civ3 AI is only better, because the game easier to understand (-> crappy )

P.P.S.: I'm sorry I had do spam

shawnmmcc is offline shawnmmcc
Prince

Jan 2003
time: 00:25
  Old Post 04-02-2003 18:04
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Inflate your Upload Space

EmperorJay, thanks for the post. Actually, it would not be that "hard" to write the AI, just moderately complex. My programming experience predates the Windows paradigm (secret project, increase economy +2, automatic status reports on enemy secret projects, +2 to probe attempts to sabotage enemy patents )

What would be important is getting enough people involved for the various strategy/faction/world sizes to be covered. You are probably talking megabytes of added programming code, and a necessity to run it on the last generation of computers. Probably P3/Thunderbirds over 500mhz (preferably 1ghz) with 256MB of memory, again preferably DDR or Rambus (the Windows paradigm ).

It should not be difficult to write an AI that is faction specific, that takes into account all factors through the midgame. String them together, and you have a moderately successful AI. If the programming is done properly, it will be modular and you may have a master routine that calls the following subroutines - Large World, dry terraforming, Morgan, no neighbors. When neighbors are discovered, a threat analysis program could be called, with the options of peaceful, border guard, potential hostile, known hostile or war taking over the "no neighbors" subroutine.

A late game AI might be more difficult, I don't know for sure because my experience has been mostly solo, when the game is almost always decided by midgame, usually about the time Fusion Power and Helicopters are discovered. The AI still will be at a disadvantage compared to a experienced/skilled player, but set this kind of AI to transcend and even they will have a very tough time. Let's just say no more winning as Mirium in a solo Huge World transcend game

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:25.
Apolyton Time is 00:25.
    top of page
Rate This Thread:
archivepost
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0361 seconds (88.09% PHP - 11.91% MySQL) with 31 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net