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-General/Strategy
  Drug Stores and Hospitals

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:   Drug Stores and Hospitals Format for Better Printing
leonli316
Chieftain
Vancouver,BC,Canada
Feb 2001
posted March 04, 2001 18:56   Click Here to See the Profile for leonli316Click Here to Email leonli316  send a private message to leonli316 Visit leonli316's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Hey, have anyone see AI builds them? At least i didn't. Partly b/e i think it is not that useful.Unlike CTP1, Drug store in CTP2 can no longer increase happiness by 3. In this case, I think that life expectancy of the civ would be ideal feature for the game. For expamle, the higher the life expectancy the more gold and science the civ generate. Also, Amount of food, pollution output,and health-care should contribute to civ life expectancy. Perhaps, this will force AI to build these improvements and the game will become more realistic.

[This message has been edited by leonli316 (edited March 05, 2001).]
Skeeve
Chieftain
Washington Township, NJ USA
Mar 2001
posted March 07, 2001 20:51   Click Here to See the Profile for SkeeveClick Here to Email Skeeve  send a private message to Skeeve
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Leonli,

I hadn't noticed this... but then again I wasn't looking for it.
I'll try and keep a lookout for it and let you know.
Perhaps this can be MOD as you suggested.

-- Skeeve

------------------
My reach exceeds my grasp!

hexagonian
Prince
hither and yon
Jun 99
posted March 08, 2001 11:24   Click Here to See the Profile for hexagonian   send a private message to hexagonian
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Check and see where those items are in the BuildingBuildLists.txt file. If not, you will have to place them in there. It seems to me that those items were toward the bottom of the lists, so my guess is that the AI will not build them until it builds those above them.
leonli316
Chieftain
Vancouver,BC,Canada
Feb 2001
posted March 08, 2001 18:33   Click Here to See the Profile for leonli316Click Here to Email leonli316  send a private message to leonli316 Visit leonli316's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
To hexagonian

Thanks a lot I will try

ALSO, how do you create and edit improvements in your mod I really wonder?
[This message has been edited by leonli316 (edited March 08, 2001).]

hexagonian
Prince
hither and yon
Jun 99
posted March 09, 2001 15:56   Click Here to See the Profile for hexagonian   send a private message to hexagonian
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Heres a step by step for adding a building called 'Forum' CTP2 is limited to a total of 64 City Improvements though.

Hint: It is always better to create a scenario structure through the editor and when you do any file alts, to place them in that directory structure and check and play your modifications though the scenario option. You can also place any new graphics within that structure. If you want to see the directory structure, take a look at the structures of the scenarios that shipped with the game.


1. In Buildings.txt, add the following entry - cut and paste an existing one and make your changes.

############################################################

IMPROVE_FORUM {
DefaultIcon ICON_IMPROVE_FORUM
Description DESCRIPTION_IMPROVE_COURTHOUSE
EnableAdvance ADVANCE_ETHICS

PrerequisiteBuilding IMPROVE_COURTHOUSE

ProductionCost 1400
Upkeep 5
LowerCrime -0.15
}


IMPORTANT NOTE;
You need to leave the line of text
Description DESCRIPTION_IMPROVE_
to something that is already in the game. I believe it is a holdover from CTP1, but if you change that line to your new addition, it will not work. At least I haven't been able to get it to work. It does not affect gameplay though.

------------------------------------------
2. Next go to uniticon.txt and add the following entry. Again, cut and paste an existing entry and make your changes.

ICON_IMPROVE_FORUM { FirstFrame "UPIP205L.TGA" Movie "NULL" Gameplay "IMPROVE_FORUM_GAMEPLAY" Historical "IMPROVE_FORUM_HISTORICAL" Prereq "IMPROVE_FORUM_PREREQ" Vari "IMPROVE_FORUM_STATISTICS" Icon "UPIP205L.TGA" LargeIcon "NULL" SmallIcon "NULL" StatText "IMPROVE_FORUM_STATISTICS" }

The line of copy that appears in that entry, called
UPIP205L.TGA
is the name of a graphic file, which needs to be created by a graphics program and placed in your default/graphics/pictures folder. Harlan has put together a collection of images that is available onsite which is a must-have for anyone who wants to modify by adding anything in the game. It has just about every type of image you may need.

Simply copy one of those images into the proper folder mentioned above, and make sure you give it the same name as your entry in uniticon.txt.

Or you can use an existing graphic already in the game, by using that graphic's existing file name for your entry.

------------------------------------------
3. Go to the BuildingBuildLists.txt file and make the following entry to the catagory that your improvement falls into.

Building IMPROVE_FORUM

This will assure that the AI will have it as part of its lists when it 'decides' what to build.

------------------------------------------
4. Next go to the
gl_str.txt file and make the following entry

IMPROVE_FORUM "Forum"

------------------------------------------
5. Next make your entry in the
GreatLibrary.txt

This can also be cut and pasted from a similar entry.

[IMPROVE_FORUM_PREREQ]
Requires:
ATABASE_ADVANCES,ADVANCE_ETHICS>Ethics

Cost: {BuildingDB(Building[0]).ProductionCost} ATABASE_CONCEPTS,CONCEPT_PRODUCTION>Production
Upkeep: {BuildingDB(Building[0]).Upkeep} ATABASE_CONCEPTS,CONCEPT_GOLD>Gold
[END]

[IMPROVE_FORUM_STATISTICS]
[END]

[IMPROVE_FORUM_GAMEPLAY]
Gives:
{BuildingDB(Building[0]).LowerCrime}% ATABASE_CONCEPTS,CONCEPT_CRIME>Crime
[END]

[IMPROVE_FORUM_HISTORICAL]
[END]

And it should be ready to test/play...

Thie directions are similar for adding advances/wonders/governments and units - though each one has files that you need to be aware of.

Advances - additional changes in
Advance.txt
AdvanceLists.txt

Governments - additional changes in
govern.txt
strategies.txt

Units - additional changes in
Units.txt
UnitBuildLists.txt
newsprite.txt

Wonders - additional changes in
wondermovie.txt
Wonder.txt
WonderBuildLists.txt

There are a lot of leftover files from CTP1 in the shipped game which have no bearing on what you need to do. But do take a look at the files for the Alexander scenario to see what files need to be altered. I found that was the best way to get a handle on it.

leonli316
Chieftain
Vancouver,BC,Canada
Feb 2001
posted March 09, 2001 22:26   Click Here to See the Profile for leonli316Click Here to Email leonli316  send a private message to leonli316 Visit leonli316's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Good News, I got the Cd Crack for my CTP2 downloaded copy. Now I can modify any files I wanted. Thanks hexagonian, i will try.
leonli316
Chieftain
Vancouver,BC,Canada
Feb 2001
posted March 09, 2001 22:57   Click Here to See the Profile for leonli316Click Here to Email leonli316  send a private message to leonli316 Visit leonli316's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
where is Harlan site????????????????
hexagonian
Prince
hither and yon
Jun 99
posted March 09, 2001 23:48   Click Here to See the Profile for hexagonian   send a private message to hexagonian
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
You should be able to download Harlan's graphics here at the Apolyton CTP2 Download section.

...man, I'm spending too much time online!

alley_cat
Chieftain
Jerusalem, Israel
Mar 2001
posted March 16, 2001 06:50   Click Here to See the Profile for alley_catClick Here to Email alley_cat  send a private message to alley_catSend a Message to UIN: 48043933
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Well, the drug store was listed in there (at least for me). Check to see if it is for you too. I think that most buildings, if not all, are listed in this text file. I guess that the AI most of the time just concentrates on building military units and it doesn't get to this item int he list.
leonli316
Chieftain
Vancouver,BC,Canada
Feb 2001
posted March 19, 2001 02:47   Click Here to See the Profile for leonli316Click Here to Email leonli316  send a private message to leonli316 Visit leonli316's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
There is no download section in CTP2 site. There is only modification. Plz tell me more specificlly where is Harlan site?
hexagonian
Prince
hither and yon
Jun 99
posted March 19, 2001 08:18   Click Here to See the Profile for hexagonian   send a private message to hexagonian
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
http://apolyton.net/ctp2/files/Modification/Graphics/

Harlan's images are here...

Immortal Wombat
Warlord
UK
Dec 2000
posted March 19, 2001 13:01   Click Here to See the Profile for Immortal WombatClick Here to Email Immortal Wombat  send a private message to Immortal Wombat
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
quote:

Originally posted by hexagonian on 03-09-2001 03:56 PM
IMPORTANT NOTE;
You need to leave the line of text
Description DESCRIPTION_IMPROVE_
to something that is already in the game. I believe it is a holdover from CTP1, but if you change that line to your new addition, it will not work. At least I haven't been able to get it to work. It does not affect gameplay though.

Although it in no way affects gameplay, you can make your own descriptions available by editing junk_str.txt, just copy the format there and make you own descriptions.

eg.
Improve.txt

code:

DESCRIPTION_IMPROVE_FISHCAKES

junk_str.txt

code:

DESCRIPTION_IMPROVE_FISHCAKES "junkstring_DESCRIPTION_IMPROVE_FISHCAKES"

I've no idea why this is even here, let alone why it works, but there it is.

Ben

Apolyton Civilization Site Forums
> > > CtP2-General/Strategy 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.

AltaVista Type or paste text or Web address (beginning with http://) here:
Powered
by Systran
Translate from: 

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 | HAC | Civilization Scenario Collection | Spanish CivII Site | Clash of Civs | CtP Maps | Art of War | WesW's Ctp1/2 Site