 |
|
leonli316
|
|
Vancouver,BC,Canada
Feb 2001 time: 05:14
|
|
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
|
|
Vancouver,BC,Canada
Feb 2001 time: 05:14
|
|
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]
|
|
|  |
 |
|
leonli316
|
|
Vancouver,BC,Canada
Feb 2001 time: 05:14
|
|
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???
|
|
|  |
 |
|
leonli316
|
|
Vancouver,BC,Canada
Feb 2001 time: 05:14
|
|
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).]
|
|
|  |
All times are GMT. The time now is 05:14. Apolyton Time is 00:14. |
top of page
|
| archivepost |
|
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
|
|
|
|
|
|