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 > CtP2-Creation/AI/Mods/Scenarios-Archive > Fix for limited AI Timps?
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
ahenobarb is offline ahenobarb
Prince

Nov 2001
time: 05:27
  Old Post 07-04-2003 22:21
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Fix for limited AI Timps? Support Apolyton, buy Galactic Civilizations

I was looking through the AI directory and noticed that the stragies.txt file tells the AI what tile improvements to build to achieve different goals. However, I noticed that the improvmentLists.txt file does not list very much. Could this be the reason the AI doesn't build many different types of tile improvements?

Strategies.txt (excerpt)

code:
... // ordered list of terrain improvements that increase growth ImproveGrowthList IMPROVEMENT_LIST_GROWTH // ordered list of terrain improvements that increase production ImproveProductionList IMPROVEMENT_LIST_PRODUCTION // ordered list of terrain improvements to be randomly spread around ImproveRandomList IMPROVEMENT_LIST_MISC ...


improvementlists.txt -- ENTIRE FILE
code:
# 4 IMPROVEMENT_LIST_GROWTH { Improvement TILEIMP_FARMS Improvement TILEIMP_ADVANCED_FARMS } IMPROVEMENT_LIST_PRODUCTION { Improvement TILEIMP_MINES } IMPROVEMENT_LIST_TRANSPORATION { Improvement TILEIMP_ROAD } IMPROVEMENT_LIST_MISC { Improvement TILEIMP_LISTENING_POSTS }


I just ran across this and haven't had time to test it, but I immediately thought of Martin's "Forts for AI" code and wondered if the AI would build forts on its own if they were included in the MISC list. Of course, Martin cleverly wrote his code so that the AI would use the forts to continue missing pieces of road, but perhaps the performance of the AI civs could be dramatically improved by including all the improvements here.

Has any one else seen this?

Last edited by ahenobarb on 07-04-2003 at 22:31

Pedrunn is offline Pedrunn
King
of Natal, Brazil
Jul 2001
time: 02:27
  Old Post 07-04-2003 23:24
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Tired of ads?

The improvementlists.txt is probably a ghost file. It doesnt work. What the game does is looks for the best bonus of all avaible Tile Imps.

ahenobarb is offline ahenobarb
Prince

Nov 2001
time: 05:27
  Old Post 07-04-2003 23:30
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Avatar Enlargement: We've got the solution

Since I haven't had time to test it in a game yet, you may be right. I did add several improvements without any problems. Also, if you remove the file completely, CTP2 will not start.

OTOH, there are several unused files in the gamedata directory, but the game needs them to start up as well.

When I get some time, I'll try it and post an update.

Pedrunn is offline Pedrunn
King
of Natal, Brazil
Jul 2001
time: 02:27
  Old Post 08-04-2003 20:23
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Tired of ads?

One of the proofs is that when doing the city expansion, before making the TIs only avaible for Subneural Ads owner (this is a CTP2 dumb advance), the AI kept building cities in which werent in the improvementlists.txt list.

So believe me, it is tested and the file doesnt work

ahenobarb is offline ahenobarb
Prince

Nov 2001
time: 05:27
  Old Post 08-04-2003 21:13
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

quote:
Originally posted by Pedrunn
One of the proofs is that when doing the city expansion, before making the TIs only avaible for Subneural Ads owner (this is a CTP2 dumb advance), the AI kept building cities in which werent in the improvementlists.txt list.

So believe me, it is tested and the file doesnt work


There is so much unimplemented stuff in CTP2. Take a look at the DpilomacyThreat.txt file. Half the threats are commented out!

Pedrunn is offline Pedrunn
King
of Natal, Brazil
Jul 2001
time: 02:27
  Old Post 09-04-2003 03:19
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

I looked at that. But do you think that just by removing the comments '//' we can bring those options back?

ahenobarb is offline ahenobarb
Prince

Nov 2001
time: 05:27
  Old Post 09-04-2003 07:58
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Enter the AD-FREE zone

quote:
Originally posted by Pedrunn
I looked at that. But do you think that just by removing the comments '//' we can bring those options back?


When I removed the comments and the threats appear as choices when you click the threat button. However, you get a few crazy results. Like when you click threaten: "Invade" the message in the box on the right says, "If you insist on being difficult, we will embargo all trade against you."

Of course this could just be caused by having the wrong message associated with the threat, but I doubt the AI will use the new/unused threats or respond to them (It doesn't really respond to the threats that are already available). That's probably why they commented the lines out.

Somebody said they wanted to work on improving the AI and re-implementing some of the disabled features, but I haven't heard anything in a while. It is probably a monumental task.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:27
Post  Old Post 13-04-2003 00:18 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Put an end to popups!

quote:
Originally posted by Pedrunn
One of the proofs is that when doing the city expansion, before making the TIs only avaible for Subneural Ads owner (this is a CTP2 dumb advance), the AI kept building cities in which werent in the improvementlists.txt list.

So believe me, it is tested and the file doesnt work


That's also the reason why all the good improvements use this advances as enable advance, I also saw this problem.

Actual what the AI is building is determinded by the terrain values for food, production and commerce. That is the reason why the AI does build commerce tile improvements in derserts in the original game.

I think it depends on the stupid idea if a tile has a good value of something then improve it more, even if the city needs something else better.

quote:
Originally posted by ahenobarb
Somebody said they wanted to work on improving the AI and re-implementing some of the disabled features, but I haven't heard anything in a while. It is probably a monumental task.


To reimplement or rather top implement the stuff at the first time, a lot of slic is required (of course). Actual I hink also for every new proposal is this needed.

-Martin

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:27.
Apolyton Time is 00:27.
    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.0365 seconds (87.64% PHP - 12.36% 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