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 > Alpha Centauri > AC-General/Help/Strategy > Editing the AI
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
16.Sep: ZAKHAROV TURNS ELEVEN
15.Sep: `POSSIBILITY` IS ALL FOR NOW
15.Sep: THE SINGULARITY CONNECTION

bottom of page
  - ALPHA CENTAURI PC $9.99 - Centauri Dawn $6.50 - Dragon Sun $6.99 - Twilight of the Mind $6.99 - Power of the Mindworms $8.95 - ALPHA CENTAURI MAC $19.99
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
sammy1339 is offline sammy1339
Chieftain
United Nations
Oct 2003
time: 00:36
  Old Post 08-06-2005 01:24
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Editing the AI Support Apolyton buy from Amazon

I have noticed that everybody has a lot of complaints about the AI (its misuse of air units, its misuse of terraformers, its non-use of supply crawlers) but nobody has any ideas about how to fix it. Does anybody know where the AI is programmed in the game, and possibly how to edit it?

#endgame is offline #endgame
Prince
of the town of ZZT
Dec 2003
time: 15:36
  Old Post 08-06-2005 03:39
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Lose 30 kilos (of popups)

Darsnan did some stuff with the faction .txt files, as did Smacksim. Mostly it involved free facilities, +SUPPORT etc, to stop AIs from shooting themselves in the foot (as easily). As to actually changing the AI code, I haven't the foggiest.

Commy is offline Commy
King
St. Louis, MO, USA
Mar 2004
time: 05:36
  Old Post 08-06-2005 04:02
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton buy from Amazon

One thing that I have tried with some success is eliminating SE...

No faction gets any benifits that apply to SE, with
two exceptions....all factions get +2 economy and +2 support...otherwise only free facilities or extra talents, or possibly free prototypes...also, no faction recieves disadvantages either...

You can go into the game rules file and change all the benifits of each SE setting to zero...also, it is important to go into each AI text file and make sure that they don't favor any particular SE setting, because they might waste energy on an SE setting that gives no benefits...

The benefits I gave the original factions when I did this are...

Gaians--+1 nutrient in fungus square, mindworm police (you can do this in SMAX), free rec tanks

Hive--Free perimeter defenses, free non-lethal police special ability to all units after discovery of intellectual integrity (SMAX), one less drone all bases

University--Free Network Nodes, choose one additional tech, get tech that is discovered by three other factions that are infiltrated (SMAX)

Morgans--Bonus from trade from treaties and pacts, start with 100 energy, free energy banks...

Spartans--Free prototypes, free command centers, start game with speeder instead of scout infantry

Believers--+25% to all combat, both defensive and offensive, free polymorphic encryption all units (represents mind control) from beginning of game (I think thats how I did it)

Peacekeepers--free talent every 4 citizens, free rec commons all bases

Balancing may still be necessary for this, but you get the idea...

sammy1339 is offline sammy1339
Chieftain
United Nations
Oct 2003
time: 00:36
  Old Post 08-06-2005 09:38
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

I'm not clear on why SE hurts the AI, but if so, it would be better to make the AI smarter about SE instead of disabling it, which is what I was saying. I know it would be a difficult job to edit the AI, but I wanted to know if anybody knew where the AI actually was located so that it might be possible.

Incidentally, if you change the faction text files so that factions don't feel the negative effects of their preferred SE choice, or do so less (e.g. Morgan gets Robust: Police), will that make the AI more likely to use those choices? And why don't you think the AI can handle having innate SE bonuses and penalties?

binTravkin is offline binTravkin
Emperor
Lord of Progress of the Council of Lords of Gaia
Jan 2004
time: 07:36
  Old Post 08-06-2005 12:51
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Increase the size of your Attachments

AI's can be edited in files stored in your SMAC file directory.

First Search for file Faction.txt which will give you some hints on how to do it, then search for actual faction files.
Just note they don't always resemble the faction name.
Cult for example has "fungboy.txt".

Useful links:

http://apolyton.net/forums/showthre...threadid=118539
http://apolyton.net/forums/showthre...ht=Faction+Edit

Commy is offline Commy
King
St. Louis, MO, USA
Mar 2004
time: 05:36
  Old Post 08-06-2005 21:35
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Increase the size of your Attachments

But these files that can be edited are only things like diplomatic messages and faction advantages...you couldn't really fix the AI to make it smarter...

That's why I used to eliminate SE...everyone was on the same playing field, and no idiot would do fundalmentalist with power and have no tech AND no industry...gaians used to do that a lot, never figured out why...

binTravkin is offline binTravkin
Emperor
Lord of Progress of the Council of Lords of Gaia
Jan 2004
time: 07:36
  Old Post 09-06-2005 13:33
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Remove this text

quote:
you couldn't really fix the AI to make it smarter...


You can.
CMN's word.

I once lost to a popbooming Drones on Monsoon.

Commy is offline Commy
King
St. Louis, MO, USA
Mar 2004
time: 05:36
  Old Post 09-06-2005 21:56
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Browse Apolyton AD-FREE

CMN? There really needs to be a cheat sheet for all these acronyms...

Cataphract887 is offline Cataphract887
Prince

Donate to the Red Cross
In Your Closet
Apr 2002
time: 00:36
  Old Post 09-06-2005 22:02
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Support Apolyton, buy Call to Power 2

cmn is someone you have whip up a map to make it a chalange to play on,for PBEMs.the fact the ai needs huge bonuses just further proves its stupidity however.

Kirov is offline Kirov
Prince
Warsaw, Poland
Sep 2002
time: 06:36
  Old Post 09-06-2005 23:19
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Lose 30 kilos (of popups)

Isn't it: Creator + Moderator + Narrator?

binTravkin, sure you can give AI various bonuses that boost their power, but they still will be... well, somewhat dumb. And you never need to come up with smart ideas to beat them.

cal_01 is offline cal_01
Chieftain

Jun 2005
time: 05:36
  Old Post 10-06-2005 01:15
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Got spare money?

I have to agree with this. I once allied with the Pirates to fight against the drones, but I never saw the Pirates attack -once-. There also seems to be a big bug in the AI concerning wars against other factions on another continent or just on another landmass with a body of water between them.

binTravkin is offline binTravkin
Emperor
Lord of Progress of the Council of Lords of Gaia
Jan 2004
time: 07:36
  Old Post 10-06-2005 12:32
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

quote:
the fact the ai needs huge bonuses just further proves its stupidity however.


But it does not need huge bonuses.

If you want I can create an AI intelligent enough to popboom and build more bases not mil units and facilities.
Im sure it will not be easy to beat it.

The most obvious thing in AIs stupidity is it's preset stupid ideology. It is of course characteristic for Mim to take Fundy, but no human player would do it.
If you instead modify her BELIEVE.txt like:

code:
Politics, Democratic, INDUSTRY Values, Knowledge, nil

changes bolded

You have a nice Demo/Planned/Wealth running Mim which will have a mineral row of 0.7 * 0.8 = round(5.6) = 6 and will popboom as soon as get to Eth Calc -> Creches.

You can also set her priorities to Build and Explore and he will have Eth Calc as about the 3rd - 5th tech.
It also means she will be more willing to build Creches as the "build" and "explore" values for Creche are high.

Voila!
What you got is Believers which will be really hard to beat if they land near Monsoon and quite competitive in a usual/normal start position.

They will also rarely trade tech with you as they're Believers.

Last time I tried such setup and put Mim on Monsoon she was popbooming before me (as Lal).
True, it was not like me - popboom in about 80% of bases, but the popboom went on through entire game.
Sometimes a newly founded base had to build Hab complex after some 10-12 turns.

And her 6-3-1s streaming like some hellish swarm were very hard to beat indeed. Only when I got to choppers I got an upper hand in combat.

And talking about choppers - If I had given her either AAA ability for free or ACs for free or both I had never had such sucess with choppers as well.
And if I gave her the ECM ability my rovers before MMI would be overhelmed.

And if you say those are huge bonuses, you've mistaken.
A normal human player uses 5-1-2 and 1-3+-2 in his attacks. And the "+" comes at no cost, so if I gave it Mim at no cost it would be practically the same.

Kirov is offline Kirov
Prince
Warsaw, Poland
Sep 2002
time: 06:36
  Old Post 10-06-2005 18:50
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Support Apolyton, buy Call to Power 2

I've never thought about changing priorities instead of bonuses, will have to try it out soon.

I also wonder if it is possible to make Ai's build forests or boreholes... Any ideas?

PJayTycy is offline PJayTycy
Warlord

Apr 2005
time: 06:36
  Old Post 11-06-2005 04:14
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Got spare money?

quote:
I also wonder if it is possible to make Ai's build forests or boreholes... Any ideas?


If you make that the only 2 possible terraforming options (IE: put farms/solars/mines at trancendent thought or something).

Cataphract887 is offline Cataphract887
Prince

Donate to the Red Cross
In Your Closet
Apr 2002
time: 00:36
  Old Post 11-06-2005 04:38
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Tired of ads?

quote:
Originally posted by binTravkin


But it does not need huge bonuses.

If you want I can create an AI intelligent enough to popboom and build more bases not mil units and facilities.
Im sure it will not be easy to beat it.

The most obvious thing in AIs stupidity is it's preset stupid ideology. It is of course characteristic for Mim to take Fundy, but no human player would do it.
If you instead modify her BELIEVE.txt like:

code:
Politics, Democratic, INDUSTRY Values, Knowledge, nil

changes bolded

You have a nice Demo/Planned/Wealth running Mim which will have a mineral row of 0.7 * 0.8 = round(5.6) = 6 and will popboom as soon as get to Eth Calc -> Creches.

You can also set her priorities to Build and Explore and he will have Eth Calc as about the 3rd - 5th tech.
It also means she will be more willing to build Creches as the "build" and "explore" values for Creche are high.

Voila!
What you got is Believers which will be really hard to beat if they land near Monsoon and quite competitive in a usual/normal start position.

They will also rarely trade tech with you as they're Believers.

Last time I tried such setup and put Mim on Monsoon she was popbooming before me (as Lal).
True, it was not like me - popboom in about 80% of bases, but the popboom went on through entire game.
Sometimes a newly founded base had to build Hab complex after some 10-12 turns.

And her 6-3-1s streaming like some hellish swarm were very hard to beat indeed. Only when I got to choppers I got an upper hand in combat.

And talking about choppers - If I had given her either AAA ability for free or ACs for free or both I had never had such sucess with choppers as well.
And if I gave her the ECM ability my rovers before MMI would be overhelmed.

And if you say those are huge bonuses, you've mistaken.
A normal human player uses 5-1-2 and 1-3+-2 in his attacks. And the "+" comes at no cost, so if I gave it Mim at no cost it would be practically the same.


so with:

the SE changes you mentioned
build and explore

then miriam would be a challange?

and also, with a 100% combat + vs air units,and a 50%+ combat vs rovers,in addition to whatever ups+ miriram put on extra,thats not a very big advantage?

quote:
And if you say those are huge bonuses, you've mistaken.


i didnt say the bonus you listed were huge.i was reffering to the ones in such as the ''solstice ai'' challance mart topped a week ago. those bonuses and starts,given to humans,would be garranteed loss for the PK.

Last edited by Cataphract887 on 11-06-2005 at 04:43

sammy1339 is offline sammy1339
Chieftain
United Nations
Oct 2003
time: 00:36
  Old Post 11-06-2005 08:18
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Support Apolyton buy from Amazon

Yes, I do find that changing the AI's social priorities can be helpful. However, I think that if the game encourages a player to make a choice other than his faction's natural preference that's more a fault in the SE choices, not the AI. In particular I disagree with your statement that no human player would play fundy with Miriam. I do, and I have squashed people that way. However I think it's true that Deirdre usually best chooses planned and Morgan best chooses Green, so I modified my rules such that this was not so. I also find that giving Deirdre Green, EFFIC instead of Green, PLANET makes her play Democratic politics. In addition to that I make the ai choices 1,1,1,1 for Santiago and Yang, 1,1,0,1 for Miriam, and 0,1,1,1 for everybody else. I find this produces the best play.

Yet none of this prevents the AI from stockpiling colony pods or from making egregiously stupid terraforming choices or from failing to attack with air units or from building piles of useless military units that choke up all its production or from not rushing projects or from not pursuing important technologies or from building loads of military units while not developing infrastructure because somebody on another continent took a potshot at their former 30 turns ago.

binTravkin is offline binTravkin
Emperor
Lord of Progress of the Council of Lords of Gaia
Jan 2004
time: 07:36
  Old Post 13-06-2005 14:49
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Help yourself to an AD-FREE life

quote:
then miriam would be a challange?


Miriam on Monsoon with a popboom ability as I described above is challenge herself.
And if you give her AAA and ECM abilities for free, it'll be hard time beating her.
Try also adding Clean ability as a superior bonus to AIs stupid unit stockpiling habit.

If you want to test it out, I will soon be presenting a game here on Poly and also on CGN where you will see how it works live.
You will just need to sign up and get infiltration on AI.

Chaos Theory is offline Chaos Theory

King
Missouri / Misery; CC
Oct 2002
time: 04:36
  Old Post 13-06-2005 16:02 Visit Chaos Theory<br><a href=/members><img src=/forums/images/supporter-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
Lose 30 kilos (of popups)

IIRC, giving more than one free ability causes problems.

GeoModder is offline GeoModder
Emperor
The most erratic Overlord!
Jan 2004
time: 06:36
  Old Post 13-06-2005 17:26
Edit/Delete Message Reply w/Quote
#19 Report this post to a moderator
Inflate your Upload Space

It does, at least if the AI is inclined on prototyping units with more then one ability.

In my experience, one ability is omitted if you give a faction 2 for free, and load up a unit with 2 abilities in the workshop.

binTravkin is offline binTravkin
Emperor
Lord of Progress of the Council of Lords of Gaia
Jan 2004
time: 07:36
  Old Post 14-06-2005 13:26
Edit/Delete Message Reply w/Quote
#20 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

By my expierence it just keeps them from protoing 8e^-3-1 units or some similar crapload..

Googlie is offline Googlie
Emperor
Commanding Officer, CRYPTEIA
Apr 1999
time: 21:36
  Old Post 14-06-2005 18:54 Visit Googlie's homepage!
Edit/Delete Message Reply w/Quote
#21 Report this post to a moderator
Support Apolyton, buy Call to Power 2

quote:
Originally posted by binTravkin
The most obvious thing in AIs stupidity is it's preset stupid ideology. It is of course characteristic for Mim to take Fundy, but no human player would do it.


Strongly, strongly disagree.

In ACDG3 we (Sparta) ran Fundy for 25 years or so - was crucial in getting our units to Elite for our probe operations as well as the Morgan HQ raid. That extra movement point for our amphirovers was what made it a successful raid (notwithstanding that we self-destructed the units to avoid them falling into Morgan hands)

So for a faction geared to be a momentum, militaristic faction, such as the Believers, Fundy makes a lot of sense. It's only when players try to modify them to be builders that it ceases to be appropriate.

Of a builders' battle is wanteed, why not just make 2 University clones and 2 Morgan clones?

G.

Kirov is offline Kirov
Prince
Warsaw, Poland
Sep 2002
time: 06:36
  Old Post 14-06-2005 19:47
Edit/Delete Message Reply w/Quote
#22 Report this post to a moderator
Increase Your PM Length

Fundie is great, but you have to know how to use it, which is one thing AI sucks at. AI-Miriam setting Fundie usually means just she will hopelessly lag behind in research forever...

binTravkin is offline binTravkin
Emperor
Lord of Progress of the Council of Lords of Gaia
Jan 2004
time: 07:36
  Old Post 14-06-2005 19:51
Edit/Delete Message Reply w/Quote
#23 Report this post to a moderator
Browse Apolyton AD-FREE

Okay I may have not phrased it right.

I think most players, even hardcore momentum strategists will usually take other SE choice while not at war.

It is actually done by most AIs as well. Even Lal sometimes goes out of his Demo and into Fundy if he feels really pressed.

So more realistic it would be if a factions' usual choice would not be fundy, but it will take it in a case of war.

Also AIs are a lot less capable of "HQ raids" and other cool strategistic stuff, and they do not plan their units to be Elite, they just build them not even looking if the base doing it has CommandCenter + BioEnhCenter for maxed out morale.

And generally I think that making Believers run Demo by default and Fundy in war will make them do better not only as Builders but as Momentum as well.

binTravkin is offline binTravkin
Emperor
Lord of Progress of the Council of Lords of Gaia
Jan 2004
time: 07:36
  Old Post 14-06-2005 19:53
Edit/Delete Message Reply w/Quote
#24 Report this post to a moderator
Got spare money?

BTW did Sparta run Power at any moment in this ACDG?

zsozso is offline zsozso
Prince
of Chiron
Oct 1999
time: 00:36
  Old Post 14-06-2005 22:19 Visit zsozso's homepage!
Edit/Delete Message Reply w/Quote
#25 Report this post to a moderator
Got spare money?

quote:
Originally posted by Kirov
Fundie is great, but you have to know how to use it, which is one thing AI sucks at. AI-Miriam setting Fundie usually means just she will hopelessly lag behind in research forever...


That's exactly a mind-set question. If anybody (be it AI or human) plays Miriam, he/she/it should not try to gain techs by research - that's a builder strategy, not suitable for Miriam. When you are Miriam, you are supposed to gain technologies by stealing them rather than researching them! I.e. use Fundy to make strong probe teams and catch up with tech without spending resources on research. Just think about the saving in ECs and minerals if you don't allocate ECs to research (all to economy, or maybe some to psych) and don't waste minerals on research boosting base facilities.

In terms of bad SE choices, I see the AI often trying to balance out things so that no measures are too deeply negative. While this maybe a nice ideal, it lacks purpose. Humans will more focus in certain short term goals at a time, e.g. when you need to get a certain tech quick, you will max out research even at the cost of other things (police, ecology, morale etc.) going deep negative. On the other hand if you are planning an invasion, you will max-out morale at the cost of industry, research etc. The problem with the AI is that it is lacking such a campaign-style focused settings. It does everything in a react-ve manner, i.e. if it has problems with something than it may try to fix it, but it will never "think ahead" and purposely set SE choices or unit/facility production in order to reach a specific short term goal more efficiently.

This is because the AI is lost in the details , each city and unit makes decisions in isolation rather than being directed by global strategic decisions. That's the same reason why it does not make well planned, coordinated attacks.

Googlie is offline Googlie
Emperor
Commanding Officer, CRYPTEIA
Apr 1999
time: 21:36
  Old Post 14-06-2005 23:15 Visit Googlie's homepage!
Edit/Delete Message Reply w/Quote
#26 Report this post to a moderator
Remove this text

zsozso !!!!!!!

Kirov is offline Kirov
Prince
Warsaw, Poland
Sep 2002
time: 06:36
  Old Post 15-06-2005 01:08
Edit/Delete Message Reply w/Quote
#27 Report this post to a moderator
Lose 30 kilos (of popups)

zsozso, I meant exactly what you said: that problems with research are the _only_ effect of AI believers running Fundie. She will not use Probes to catch up with research, use Morale bonus to her advantage, and so on.

If I set Fundie, I definitely don't use it to pursue Builder tactics.

zsozso is offline zsozso
Prince
of Chiron
Oct 1999
time: 00:36
  Old Post 15-06-2005 03:39 Visit zsozso's homepage!
Edit/Delete Message Reply w/Quote
#28 Report this post to a moderator
Support Apolyton or Terrorists Win

quote:
Originally posted by Kirov
zsozso, I meant exactly what you said: that problems with research are the _only_ effect of AI believers running Fundie. She will not use Probes to catch up with research, use Morale bonus to her advantage, and so on.

If I set Fundie, I definitely don't use it to pursue Builder tactics.


I am sorry I misunderstood you...

Master Googlie!
It is good to see you are still smacing away happily!

binTravkin is offline binTravkin
Emperor
Lord of Progress of the Council of Lords of Gaia
Jan 2004
time: 07:36
  Old Post 15-06-2005 12:30
Edit/Delete Message Reply w/Quote
#29 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

quote:
She will not use Probes to catch up with research, use Morale bonus to her advantage, and so on.


And this was exactly the reason I proposed to change her Social agenda.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:36.
Apolyton Time is 00:36.
    top of page
Rate This Thread:
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.0614 seconds (93.64% PHP - 6.36% MySQL) with 30 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