Please Help - Editing Auto Production of your City

myusername

Chieftain
Joined
Jan 6, 2005
Messages
2
I read somewhere on this site that it was possible to make a .txt file to edit the auto production of your cities. I have something like 90+ cities and getting tired of changing the improvement buildings evertime something is complete. Turning the default "Auto" option only makes things worse as the computer is fairly stupid in its decisions. Any help with this issue will be greatly appreciated. Thanks in advance.
 
That would be citypref.txt. This is from the game's readme file (I'm using Civ2: Test of Time):
You may customize the domestic advisor's city improvement picks for the autobuild if you wish. Create a file in your Civ2 directory called CITYPREF.TXT. The first line should be:

@AUTOBUILD

Each succeeding line contains the name of a city improvement in the order you want to build them. You don't have to list every city improvement, but each improvement must be spelled -exactly- as it is in RULES.TXT (foreign language versions use the exact spelling from RULES.FRE or RULES.GER as appropriate). Domestic advisor will then choose improvements from this list provided technology is available and city is otherwise eligible to build them. If nothing on list is available, advisor resorts to his normal algorithm. The military advisor will make his picks as usual. However, you can order him never to build "defensive" type units by inserting the line @NODEFEND at the beginning or end of the CITYPREF.TXT file (don't put it between the @AUTOBUILD line and the list of improvements). An example file:

@NODEFEND
@AUTOBUILD
Temple
Marketplace
Library

The file is re-read every time you click the "AUTO" button on the "What shall we build?" menu, so if you wish you can alter your priorities over the course of a game without reloading.
I can't really comment on its effectiveness because I've never used it to any great extent.
 
Back
Top Bottom