Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site forums as they ran on Ultimate Bulletin Board, 1998–2001. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 2005 site & forums

  Apolyton Civilization Site Forums
  CtP2-Creation
  How do i add new governments

Post New Topic  Post A ReplyPost A Reply In A New Window

profile | register | preferences | faq | search next newest topic | next oldest topic bottom of page
Author
Topic:   How do i add new governments Format for Better Printing
Tootool22
Settler
Palatine, IL, USA
Nov 2000
posted November 23, 2000 22:16   Click Here to See the Profile for Tootool22Click Here to Email Tootool22  send a private message to Tootool22
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
I was looking through the call to power II files and found a government section. I want to add the government Oligargy and Aristocracy, but I don't want to delete any of the old govs, how do I go about do so? Or can I at all, do I just tack it on to the end? Please let me know as soon as possible, Thankyou
Locutus
Prince
Apolyton Borg Hengelo/Enschede, The Netherlands
Nov 1999
posted November 24, 2000 14:25   Click Here to See the Profile for LocutusClick Here to Email Locutus  send a private message to LocutusSend a Message to UIN: 52912776 Visit Locutus's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Well, I haven't actually tried this yet but it shouldn't be very difficult. Mind that I don't have a copy of the final game yet, just a pre-release version, so if things have slightly different names or anything, that could be an explanation for it.

1) Copy one of the existing entries of default\gamedata\govern.txt (e.g. Communism, as long as it isn't Anarchy, that's a slightly non-standard government) and paste it at the end of the that file. Now change all the stats you want to change.

2) If you have a picture (if you don't, skip this step) to accompany your government (for the Great Library), make sure it's an 16-bit tga file. Save it in default\graphics\pictures.

3) Open uniticon.txt and copy one of the government entries of that file and past in anywhere else in that same file. Now rename all entries. FE if you copied the Communism entry and are adding Aristocracy, replace all instances of COMMUNISM with ARISTOCRACY, presuming that's the name you used in the govern.txt file and the name you'll use in the Great Library section. If you have a picture rename the FirstFrame and Icon sections to the name you gave your picture, if you don't have one, rename them NULL.

4) Now open english\gamedata\Great_Library.txt to add your government to the Great Library. Again, copy one of the existing entries and add it anywhere in the file. Rename the 'titles' of the GL sections (GOVERNMENT_ARISTOCRACY_PREREQ, GOVERNMENT_ARISTOCRACY_STATISTICS) and change the gameplay/historical sections. Look at the existing GL entries to see how you can make links to other sections of the GL if necessary. Don't forget to update the entry on the advance that enables your new government as well (the [ADVANCE_name_STATISTICS] section should say "Gives <link>Aristocracy</link>").

5) Open english\gamedata\gl_str.txt and add the line GOVERNMENT_ARISTOCRACY "Aristocracy" (and for other governments as well of course).

6) Well, basicly your government should work now, so start up your game and try it out. The only problem now is that the AI doesn't know how to handle your new government and will ignore it. So once you've tested it and you know it works for you (and you're happy with all the settings), there's one more step:

7) To make the AI use your government as well, open default\aidata\strategies.txt and search for Government. There should be 8 or so sets of government settings, one for each personality in the game. Add your new governments to those personalities you think should use your settings (scroll up one or two screens to find what personality you're dealing with) and place it where you want it to be used (I think the AI will always choose the highest government in the list). The lines with // in front of it are comments and ignored by the program, so you can ignore those too. Here the example for Economist personality:

Government GOVERNMENT_VIRTUAL_DEMOCRACY
Government GOVERNMENT_CORPORATE_REPUBLIC
Government GOVERNMENT_DEMOCRACY
Government GOVERNMENT_THEOCRACY
Government GOVERNMENT_TYRANNY

Say you want to replace Theocracy with Aristocracy for this government, this should be what it should look like:

Government GOVERNMENT_VIRTUAL_DEMOCRACY
Government GOVERNMENT_CORPORATE_REPUBLIC
Government GOVERNMENT_DEMOCRACY
Government GOVERNMENT_ARISTOCRACY
Government GOVERNMENT_TYRANNY

Well, that should be all. It's not impossible a minor mistake here or there, so if this doesn't work right away, don't give up yet

stahlshwanz
Settler
Vienna,Vienna,Austria
Dec 2000
posted December 30, 2000 17:12   Click Here to See the Profile for stahlshwanz   send a private message to stahlshwanz
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Unfortunately this guide didn't let me add a new gov.
I haven't succeeded yet so I'd be greatful on any input!
All I found out so far is that:

quote:

Originally posted by Locutus on 11-24-2000 02:25 PM
5) Open english\gamedata\gl_str.txt and add the line GOVERNMENT_ARISTOCRACY "Aristocracy" (and for other governments as well of course).

might need a line
ADVANCE_NEWGOV "Newgov"

Also the files default/gamedata/advance.txt default/gamedata/advanceicon.txt could be the reason for the errors I get.
Again: I'd be greatful for an update on this HowTo!!
Thanks!

Paul
King
Zwolle, The Netherlands
Mar 99
posted December 30, 2000 18:33   Click Here to See the Profile for PaulClick Here to Email Paul  send a private message to PaulSend a Message to UIN: 83134477 Visit Paul's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
If your new government also requires a new advance you would indeed also have to add that new advance. This requires editing advance.txt, unitcon.txt (advanceicon.txt is no longer used in CTP2) and gl_str.txt. You should also edit greatlibrary.txt if you want it to be in the Great Library. And you should edit the AI files so that the AI civs will research it.
Apolyton Civilization Site Forums
> > > CtP2-Creation Forum

next newest topic | next oldest topictop of page

All times are EDT

Administrative Options: Close Topic | Archive/Move | Delete Topic | Top
Post New Topic  Post A ReplyPost A Reply In A New Window
Hop to:

Contact Us
Apolyton Civilization Site

Powered by: Ultimate Bulletin Board, Version 5.44a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 2000.

Front Page | Civilization III | Dinosaurs | Civilization II | Call to Power | Call to Power II | Alpha Centauri | Alternative Civs | Misc | Links | About ACS | GameStats
GameLeague | Scenario League | Hodadian Award Central | Civilization Scenario Collection | Spanish CivII Site | Clash of Civs | CtP Maps | Art of War