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
  Some Errors in the Modification; To hexagonian

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:   Some Errors in the Modification; To hexagonian Format for Better Printing
leonli316
Chieftain
Vancouver,BC,Canada
Feb 2001
posted March 20, 2001 00: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
When I tried to add a new improvment, I did the following steps.
1) Building.txt
2) Unit.con
3) BuildBuildList
4) gl_str.txt
5) Great library.txt

I do exactly what you told me (For sure). However, the game dont even work. Here's the DataBase error window pops up

buildingbuildtxt 639. Expected string ID
buildingbuildtxt 639. warning:require field Product Cost missing
buildingbuildtxt 639. warning:require field Upkeep Cost missing
Unable init the Data bases

leonli316
Chieftain
Vancouver,BC,Canada
Feb 2001
posted March 20, 2001 01:14   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
HERE IS WHAT I HAVE DONE

1) building.txt

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

IMPROVE_SEWER_SYSTEM {
DefaultIcon ICON_IMPROVE_SEWER_SYSTEM
Description DESCRIPTION_IMPROVE_SEWER_SYSTEM
EnableAdvance ADVANCE_INDUSTRIAL_REVOLUTION

PrerequisiteBuilding IMPROVE_IMPROVE_AQUEDUCT

ProductionCost 900
Upkeep 4
ProductionPollutionPercent -0.15
PopulationPollutionPercent -0.15
}

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

2)Unit.con


ICON_IMPROVE_SEWER_SYSTEM { FirstFrame "UPIP048L.TGA" Movie "NULL" Gameplay "IMPROVE_SEWER_SYSTEM_GAMEPLAY" Historical "IMPROVE_SEWER_SYSTEM_HISTORICAL" Prereq "IMPROVE_SEWER_SYSTEM_PREREQ" Vari "IMPROVE_SEWER_SYSTEM_STATISTICS" Icon "UPIP048L.TGA" LargeIcon "NULL" SmallIcon "NULL" StatText "IMPROVE_SEWER_SYSTEM_STATISTICS" }

Note:
-since there is no UPIP047L.TGA so i use it to replace the secity monitor
-I have sewer sys icon in CTP2/gamedata/grafic/picture

3)BuildingBuildingList

BUILDING_BUILD_LIST_HAPPINESS {
Building IMPROVE_SHRINE
Building IMPROVE_THEATER
Building IMPROVE_ARENA
Building IMPROVE_BASCILICA
Building IMPROVE_MOVIE_PALACE
Building IMPROVE_SEWER_SYSTEM
Building IMPROVE_RECYCLING_PLANT
Building IMPROVE_PUBLIC_TRANSPORTATION
Building IMPROVE_TELEVISION
Building IMPROVE_ECO_TRANSIT
Building IMPROVE_MATTER_DECOMPILER
Building IMPROVE_VR_AMUSEMENT_PARK
Building IMPROVE_BODY_EXCHANGE
}

4) gl_str.txt

IMPROVE_SEWER_SYSTEM "Sewer System"

5) Great library.txt

[IMPROVE_SEWER_SYSTEM_PREREQ]
Requires:
ATABASE_ADVANCES,ADVANCE_INDUSTRIAL_REVOLUTION>Industrial Revolution

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

[IMPROVE_SEWER_SYSTEM_STATISTICS]
Gives:
{BuildingDB(Building[0]).ProductionPollutionPercent}% ATABASE_CONCEPTS,CONCEPT_POLLUTION>Pollution (from Production){BuildingDB(Building[0]).HappyInc} ATABASE_CONCEPTS,CONCEPT_HAPPINESS>Happiness
{BuildingDB(Building[0]).PopulationPollutionPercent}% ATABASE_CONCEPTS,CONCEPT_POLLUTION>Pollution (from Population)
[END]

[IMPROVE_SEWER_SYSTEM_GAMEPLAY]
The First improvement to fight pollution
[END]

[IMPROVE_SEWER_SYSTEM_HISTORICAL]
Data Not available
[END]


Martin Gühmann
Settler
Berlin, Germany
Mar 2001
posted March 20, 2001 06:19   Click Here to See the Profile for Martin GühmannClick Here to Email Martin Gühmann  send a private message to Martin Gühmann
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
What means the line "ATABASE_CONCEPTS,CONCEPT_PRODUCTION>"in GreatLibrary.txt? The correct line must be: "ATABASE_CONCEPTS,CONCEPT_PRODUCTION>".
You cut "".

By the way you can skip the line:
{BuildingDB(Building[0]).HappyInc}ATABASE_CONCEPTS,CONCEPT_HAPPINESS>Happiness

There is no line in Building.txt like:
HappyInc.

Line numbers would also help us. You can use an Editor that display line numbers like edit.exe located in your C:\windows\command\ folder.

-Martin

hexagonian
Prince
hither and yon
Jun 99
posted March 20, 2001 12: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
Leonli
Please reread my post in the instructions...

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.

Change your entry
Description DESCRIPTION_IMPROVE_SEWER_SYSTEM

to
Description DESCRIPTION_IMPROVE_MOVIE_PALACE

Movie Palace is part of the default setup.

I had made the same mistake when first attempting to add buildings/governments/units. The instructions that were given to me did not include that bit of info. I almost gave up at that point. As it appears, your problems are the same. Make the change and the game should launch. The files for units/wonders/governments also have the same type of line of text.

Immortal Wombat also has a possible workaround to this problem, which he had posted in the thread where my instructions are, though I haven't tried it yet.

Martin
The DATABASE error was due to a mistake on my part, but this forum did not recognize the particular sequence of text on that line. You will see the same error on your post. The word DATABASE is showing up as ATABASE. I had attemped to edit my earlier post to bypass that discrepency, but I must of missed that additional character.

Bottom line - when making your additions to your files, cut and paste from the existing file, not from this post.

Immortal Wombat
Warlord
UK
Dec 2000
posted March 20, 2001 13:31   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
Oops, just re-read hexagonias post, and he has mentioned my workaround.
It works for me fine. The junk_str.txt is just what it says - junk. It doesn't affect gameplay, so any additions can't hurt.
[This message has been edited by Immortal Wombat (edited March 20, 2001).]
leonli316
Chieftain
Vancouver,BC,Canada
Feb 2001
posted March 20, 2001 15:35   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

After looking at your reply and the works on your modification, I fixed my mistakes. As for the game, it works perfectly . As for Martin Gühmann sugestion, It helps to fix problems on the Great Liberly text.

leonli316
Chieftain
Vancouver,BC,Canada
Feb 2001
posted March 21, 2001 02:54   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
If I am to add the Sun Tzus War Academy on my wonder.txt, What can I do to make it give Vetern Status to all combet units???
hexagonian
Prince
hither and yon
Jun 99
posted March 21, 2001 11:23   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
What I did was limit my alterations to my wonders to those that are available in other wonders. I had tried to make a unit have a bonus against a city, but was not able to do it because in was an entirely new ability. Short of creating some SLIC though...

I think Wes has something tied into Wonders with units, so you could drop him an email asking about it.

You could possibly give Sun Tzus the bonus of additional hitpoints to units, as this is what the Genome Project does. This would accomplish preety much the same thing.

leonli316
Chieftain
Vancouver,BC,Canada
Feb 2001
posted March 21, 2001 18:42   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
No, the Genome Project only gives health bounus to all of your friendly units. It does not give bouns hitpoint. However, i know that pikemem can have bouns hitpoint vs mounted units, so does all vetern units have 50% effectiveness when attack. I think i have to chick and see if i can give the same funtion to the wonders.
[This message has been edited by leonli316 (edited March 21, 2001).]
Apolyton Civilization Site Forums
> > > CtP2-General 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