Thread Tools
Old November 26, 2001, 08:56   #1
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 17:31
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
can the AI make my new units
I have had a problem with the AI and my city maneges building old units like the war walker when I have mad a ten times better unit.

I just want some one to say you have to alter file x or something
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old November 26, 2001, 11:39   #2
hexagonian
The Courts of Candle'Bre
Emperor
 
hexagonian's Avatar
 
Local Time: 12:31
Local Date: October 31, 2010
Join Date: Jun 1999
Location: Smemperor
Posts: 3,405
Find the
UnitBuildLists.txt
file

Make sure your new unit is a part of the various lists, in regards to the type of unit it is (RANGED, FLANKER, DEFENSE and so forth)

The units further down each list will trump those above.
__________________
Yes, let's be optimistic until we have reason to be otherwise...No, let's be pessimistic until we are forced to do otherwise...Maybe, let's be balanced until we are convinced to do otherwise. -- DrSpike, Skanky Burns, Shogun Gunner
...aisdhieort...dticcok...
hexagonian is offline  
Old November 26, 2001, 11:59   #3
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 17:31
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
what about new buildings will I have to do anything special for them and tech.

thanks anyway I did not expect a reply so soon after posting
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old November 26, 2001, 14:15   #4
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
Local Time: 19:31
Local Date: October 31, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
Take a look into your ..\ctp2_data\default\aidata folder, there you find all these files:

BuildingBuildLists.txt
BuildListSequences.txt
ImprovementLists.txt
UnitBuildLists.txt
WonderBuildLists.txt

Note so far as we no the ImprovementLists.txt doesn't work. The default one looks unfinished and nevertheless the AI build most of the aivailable stuff except the commerce tile improvements and terraforming.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
Old November 27, 2001, 07:02   #5
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 17:31
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
has any body ever maid tile improvements. I made Some myself and and would like to find a way to get the AI to make stuff. I will have a look and if I find anything I will post it thanks.
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old November 28, 2001, 15:51   #6
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
Local Time: 19:31
Local Date: October 31, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
So you mean, you need to know how the AI places TI's. The AI places the production and food improvements automaticly, it uses the ones with the highest highest effect to terrain tiles, that are are available for the AI. Unfortunatly the AI routines for commerce improvements are missing. Therefore I made this Commerce Improvents for AIs slic file. It is a little bit long as I avoided slic functions.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
Old November 29, 2001, 06:24   #7
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 17:31
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
lets put it in chieftain language

if I make a tile improvement the AI automatically picks the more higher value (farm,road and net) and sticks it on the tile.

is that right
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
 

Bookmarks

Thread Tools

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 13:31.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team