Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > CtP2-General/Help/Strategy/Multiplaying-Archive > Some Errors in the Modification; To hexagonian
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
leonli316 is offline leonli316
Chieftain
Vancouver,BC,Canada
Feb 2001
time: 05:14
Post  Old Post 20-03-2001 10:57 Visit leonli316's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Some Errors in the Modification; To hexagonian Got spare money?

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 is offline leonli316
Chieftain
Vancouver,BC,Canada
Feb 2001
time: 05:14
Post  Old Post 20-03-2001 11:14 Visit leonli316's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Increase Your PM Length

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_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 is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:14
Post  Old Post 20-03-2001 16:19 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

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 is offline hexagonian
King
Gnawing on your mind...
Jun 1999
time: 23:14
Post  Old Post 21-03-2001 10:56 Visit hexagonian's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

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 is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:14
Post  Old Post 20-03-2001 23:31 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

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 is offline leonli316
Chieftain
Vancouver,BC,Canada
Feb 2001
time: 05:14
Post  Old Post 21-03-2001 01:35 Visit leonli316's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Get a bigger avatar today!

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 is offline leonli316
Chieftain
Vancouver,BC,Canada
Feb 2001
time: 05:14
Post  Old Post 21-03-2001 12:54 Visit leonli316's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Tired of ads?

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 is offline hexagonian
King
Gnawing on your mind...
Jun 1999
time: 23:14
Post  Old Post 21-03-2001 21:23 Visit hexagonian's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Browse Apolyton AD-FREE

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 is offline leonli316
Chieftain
Vancouver,BC,Canada
Feb 2001
time: 05:14
Post  Old Post 22-03-2001 04:42 Visit leonli316's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Support Apolyton buy from Amazon

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).]

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:14.
Apolyton Time is 00:14.
    top of page
Rate This Thread:
archivepost
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0375 seconds (86.87% PHP - 13.13% MySQL) with 31 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net