Thread Tools
Old March 4, 2001, 19:56   #1
leonli316
Chieftain
 
Local Time: 09:25
Local Date: October 31, 2010
Join Date: Feb 2001
Location: Vancouver,BC,Canada
Posts: 45
Drug Stores and Hospitals
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).]
leonli316 is offline  
Old March 7, 2001, 21:51   #2
Skeeve
Prince
 
Skeeve's Avatar
 
Local Time: 05:25
Local Date: October 31, 2010
Join Date: Mar 2001
Location: Washington Township, NJ USA
Posts: 470
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!
Skeeve is offline  
Old March 8, 2001, 12:24   #3
hexagonian
The Courts of Candle'Bre
Emperor
 
hexagonian's Avatar
 
Local Time: 04:25
Local Date: October 31, 2010
Join Date: Jun 1999
Location: Smemperor
Posts: 3,405
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.
hexagonian is offline  
Old March 8, 2001, 19:33   #4
leonli316
Chieftain
 
Local Time: 09:25
Local Date: October 31, 2010
Join Date: Feb 2001
Location: Vancouver,BC,Canada
Posts: 45
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).]
leonli316 is offline  
Old March 9, 2001, 16:56   #5
hexagonian
The Courts of Candle'Bre
Emperor
 
hexagonian's Avatar
 
Local Time: 04:25
Local Date: October 31, 2010
Join Date: Jun 1999
Location: Smemperor
Posts: 3,405
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.

hexagonian is offline  
Old March 9, 2001, 23:26   #6
leonli316
Chieftain
 
Local Time: 09:25
Local Date: October 31, 2010
Join Date: Feb 2001
Location: Vancouver,BC,Canada
Posts: 45
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 is offline  
Old March 9, 2001, 23:57   #7
leonli316
Chieftain
 
Local Time: 09:25
Local Date: October 31, 2010
Join Date: Feb 2001
Location: Vancouver,BC,Canada
Posts: 45
where is Harlan site????????????????
leonli316 is offline  
Old March 10, 2001, 00:48   #8
hexagonian
The Courts of Candle'Bre
Emperor
 
hexagonian's Avatar
 
Local Time: 04:25
Local Date: October 31, 2010
Join Date: Jun 1999
Location: Smemperor
Posts: 3,405
You should be able to download Harlan's graphics here at the Apolyton CTP2 Download section.

...man, I'm spending too much time online!
hexagonian is offline  
Old March 16, 2001, 07:50   #9
alley_cat
Chieftain
 
Local Time: 09:25
Local Date: October 31, 2010
Join Date: Mar 2001
Location: Jerusalem, Israel
Posts: 80
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.
alley_cat is offline  
Old March 19, 2001, 03:47   #10
leonli316
Chieftain
 
Local Time: 09:25
Local Date: October 31, 2010
Join Date: Feb 2001
Location: Vancouver,BC,Canada
Posts: 45
There is no download section in CTP2 site. There is only modification. Plz tell me more specificlly where is Harlan site?
leonli316 is offline  
Old March 19, 2001, 09:18   #11
hexagonian
The Courts of Candle'Bre
Emperor
 
hexagonian's Avatar
 
Local Time: 04:25
Local Date: October 31, 2010
Join Date: Jun 1999
Location: Smemperor
Posts: 3,405
http://apolyton.net/ctp2/files/Modification/Graphics/

Harlan's images are here...
hexagonian is offline  
Old March 19, 2001, 14:01   #12
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 10:25
Local Date: October 31, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
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
Immortal Wombat 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 05:25.


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