Yes my friends, it CAN all be done! And I've even figured how to keep the game from crashing if you right-click in the wrong/right place after making such additions!
I'm thoroughly happy with my progess in whipping Civ3 into shape, even if I am rather mad at whoever the boneheaded Firaxian was that managed to think it was a good idea to hard-code the amount of tech tree icons...but I digress.
It's best to teach by example, so if you follow this tutorial by the end you will have learned how to add the Coracle naval unit, the Chichen Itza Great Wonder, the Kama Sutra Small Wonder (sure, I agree it should be a great wonder, but it's just a joke...unless you really want to be able to build a +10 happyness in all citys wonder :naughty: ), the Guild Hall improvement, and finally the technology Fascism (you can figure out how to add governments on your own. that worked before now anyway)
Terrain is not addable without a patch at this time to my knowledge, so I'm afraid you'll just have to replace/change the current ones to make any such cases.
Note: When you do the overhead zoomed in view of the city the new building (improvement or wonder) will still not show because I have NO idea where they hid those darn graphics, but few people look there anyway.
Also when adding Luxury Resources they will not have their tiny little icon in the city view. The file has no room for additions and Incense is there twice, so I have no idea how that file works. Only known bug in this whole process so far. The file can be stretched out and be given room for additions, but I don't feel like playing around till I figure out how it works right now. No real point in doing such work for such little effect at this time. Too much else to do first.
First a note for anyone at Firaxis who reads this: When you add a new technology to the game the technology with the highest number tech tree icon will crash the game if it is viewed in the civilopedia. This is do to some index which is tucked somewhere in the executable or in a currently unidentified portion of the .bic file. If the game would only use tech tree icons (found in Art\tech chooser\Icons) like it handles all the other icons then this would work without flaw.
Ok, first things first. You will need to already be somewhat familiar with the Scenario Editor (you can learn how to use it by using the helpfile that comes with it), and you will need any kind of word processor that will open, edit, and save .txt files. You will also need the Civ3CopyTool by Gramphos, which is available in the Files section of this very site. While not required I reccommend you go ahead and get the hacked scenario editor while you're at it, but it's not totally neccessary.
Now, open up your C:\Program Files\Infogrames Interactive\Civilization III directory and backup your civ3mod.bic file. This way you can go back to the way the game was before without hassle.
Now right-click your civ3mod.bic file (this is the file which contains all the default rules for civ3 games) and choose "Create Shortcut". Put this shortcut on your desktop. Makes things a lot easier as you can now just double-click it and the editor will open and go right into it. Very convenient.
You'll also need to open your C:\Program Files\Infogrames Interactive\Civilization III\Text directory. You will be editing the Civilopedia.txt file and the PediaIcons.txt file.
Now open the CopyTool, choose the aforementioned civ3mod.bic file, and choose to add 1 Unit, copy the Galley unit, flag the Rename option, and type in the name Coracle into the provided box. Now press the big Copy button and perhaps after a few OKs we're done with that.
Now open the Editor (the editor should be closed when using the CopyTool because it occassionally trys to put a file lock on some .bics) and go into the Units tab. Scroll the drop down box allll the way to the bottom and you should see the Coracle listed vei down der'.
Change it's Prerequisite to None, it's shield cost to 2, it's move to 2, it's transport capacity to 1, have it Upgrade To the Galley, and finally change it's Civilopedia Entry field to PRTO_Coracle.
Shwew! That wasn't all that hard now was it? Now comes the [sarcasm]fun part[/sarcasm]!
Close the Rules editor and save your changes to the .bic, and close the Editor. Open the Civilopedia.txt file and search for a "galley" (case doesn't matter).
When you see something like this:
...then you're in the right place!
Right above that paste in the following:
#PRTO_Coracle
^
^
^The Coracle is first naval unit you can build. These tiny, primitive round ships must end each turn in a
$LINK<coastal=TERR_Coast>
square -- they are in danger of sinking if they end their turn in a $LINK<sea=TERR_Sea> or $LINK<ocean=TERR_Ocean> square.
If $LINK<The Great Lighthouse=BLDG_Lighthouse> is built, Coracles may safely end turns at sea, but never ocean squares. They are slow and carry only one footsoldier unit.
#DESC_PRTO_Coracle
^
^
^The Coracle is a small, rounded boat made of waterproof material stretched over a wicker or wooden frame. One of the earliest known ships that were more than just canoes, they weren't too terribly much better than canoes. But they could hold a small amount of cargo and were sufficient for water travel so long as they didn't stray too far from shore.
Leave two blank lines in between the top of the Coracle and the section marker above it, and two lines between the entry for the next unit. It's good form to comply with the pre-existing form of the file you're editing. Now save your changes. You can close it if you want, but you'll need this file again later.
Now open PediaIcons.txt. Search for Galley again. It should look like this:
The next section is for the Caravel, so ignore that. Copy the full entry for the Galley. Now jump down to the bottom of the units section (line 792 approx.) and paste it in right before the #End Units marker. Make sure it starts on it's own line, so it should look something like this:
Now on the line #ICON_PRTO_Galley, change it to read #ICON_PRTO_Coracle. Now save your changes.
All done! Wasn't that just swell? Start up a New Game if you so choose and you'll find the Coracle waiting for you as soon as you build a city than can build naval units.
Was it as good for you as it was for me?
Next item up for bid: the Chichen Itza Great Wonder. This is almost the exact same procedure as before, so this should be simple.
Open the CopyTool and copy The Pyramids wonder (choose to add 1) and complete the Copy like last time.
Open the Editor and go to your new Chichen Itza entry at the bottom of the Improvements and Wonders tab. Make the Prerequisite Code of Laws, unflag the Industrious attribute but keep Religious flagged, change the Gain in Every City on Continent from Granary to Courthouse, and change the Culture it produces to 2 from 4. And finally change the Civilopedia to BLDG_Chichen_Itza. Save and close the editor.
Go to Civilopedia and search for Pyramid. Above the entry add the following:
You can add a description if you like, but I'll leave that to you for now.
Go to PediaIcons.txt and do the same kind of search. Copy out the section and go to the bottom of the section right before "#End Civilopedia Art". Change the name as before. The finished product should look like this:
Viola! Yes that's right, Viola! A stringed instrument of the violin family, slightly larger than a violin, tuned a fifth lower, and having a deeper, more sonorous tone.
How to get the city view working: Go into your C:\Program Files\Infogrames Interactive\Civilization III\Art\City Screen directory and take note of 2 files: buildings-large.pcx, and buildings-small.pcx. Open one of them up (they are both pretty much the same, but you have to change both in the same way).
CONTINUED...
I'm thoroughly happy with my progess in whipping Civ3 into shape, even if I am rather mad at whoever the boneheaded Firaxian was that managed to think it was a good idea to hard-code the amount of tech tree icons...but I digress.
It's best to teach by example, so if you follow this tutorial by the end you will have learned how to add the Coracle naval unit, the Chichen Itza Great Wonder, the Kama Sutra Small Wonder (sure, I agree it should be a great wonder, but it's just a joke...unless you really want to be able to build a +10 happyness in all citys wonder :naughty: ), the Guild Hall improvement, and finally the technology Fascism (you can figure out how to add governments on your own. that worked before now anyway)
Terrain is not addable without a patch at this time to my knowledge, so I'm afraid you'll just have to replace/change the current ones to make any such cases.
Note: When you do the overhead zoomed in view of the city the new building (improvement or wonder) will still not show because I have NO idea where they hid those darn graphics, but few people look there anyway.
Also when adding Luxury Resources they will not have their tiny little icon in the city view. The file has no room for additions and Incense is there twice, so I have no idea how that file works. Only known bug in this whole process so far. The file can be stretched out and be given room for additions, but I don't feel like playing around till I figure out how it works right now. No real point in doing such work for such little effect at this time. Too much else to do first.
First a note for anyone at Firaxis who reads this: When you add a new technology to the game the technology with the highest number tech tree icon will crash the game if it is viewed in the civilopedia. This is do to some index which is tucked somewhere in the executable or in a currently unidentified portion of the .bic file. If the game would only use tech tree icons (found in Art\tech chooser\Icons) like it handles all the other icons then this would work without flaw.
Ok, first things first. You will need to already be somewhat familiar with the Scenario Editor (you can learn how to use it by using the helpfile that comes with it), and you will need any kind of word processor that will open, edit, and save .txt files. You will also need the Civ3CopyTool by Gramphos, which is available in the Files section of this very site. While not required I reccommend you go ahead and get the hacked scenario editor while you're at it, but it's not totally neccessary.
Now, open up your C:\Program Files\Infogrames Interactive\Civilization III directory and backup your civ3mod.bic file. This way you can go back to the way the game was before without hassle.
Now right-click your civ3mod.bic file (this is the file which contains all the default rules for civ3 games) and choose "Create Shortcut". Put this shortcut on your desktop. Makes things a lot easier as you can now just double-click it and the editor will open and go right into it. Very convenient.
You'll also need to open your C:\Program Files\Infogrames Interactive\Civilization III\Text directory. You will be editing the Civilopedia.txt file and the PediaIcons.txt file.
Now open the CopyTool, choose the aforementioned civ3mod.bic file, and choose to add 1 Unit, copy the Galley unit, flag the Rename option, and type in the name Coracle into the provided box. Now press the big Copy button and perhaps after a few OKs we're done with that.
Now open the Editor (the editor should be closed when using the CopyTool because it occassionally trys to put a file lock on some .bics) and go into the Units tab. Scroll the drop down box allll the way to the bottom and you should see the Coracle listed vei down der'.
Change it's Prerequisite to None, it's shield cost to 2, it's move to 2, it's transport capacity to 1, have it Upgrade To the Galley, and finally change it's Civilopedia Entry field to PRTO_Coracle.
Shwew! That wasn't all that hard now was it? Now comes the [sarcasm]fun part[/sarcasm]!
Close the Rules editor and save your changes to the .bic, and close the Editor. Open the Civilopedia.txt file and search for a "galley" (case doesn't matter).
When you see something like this:
; _______________________________________________NAVAL UNITS_____________________________________________
#PRTO_Galley
^
^
^The [galley] is the first naval unit you can build. These tiny, primitive ships must end each turn in a
$LINK<coastal=TERR_Coast>
square -- they are in danger of sinking if they end their turn in a $LINK<sea=TERR_Sea> or $LINK<ocean=TERR_Ocean> square.
If $LINK<The Great Lighthouse=BLDG_Lighthouse> is built, galleys may safely end turns at sea, but never ocean squares.
#DESC_PRTO_Galley
^
^
^The galley was the first ship designed for war. Introduced by the Greeks, galleys were powered by banks
of oars on each side, manned by well-trained oarsmen. These oarsmen were highly paid professionals or
patriotic citizens, not slaves and prisoners as depicted in fiction. A huge, bronze "beak" mounted at the
bow of the ship was used to ram and sink enemy ships. Because of its long, narrow hull, the galley was very
unstable in all but the calmest waters, and as a consequence its crew rarely ventured out of sight of land
for long periods of time, lest the ship be caught in a storm and sunk.
...then you're in the right place!
Right above that paste in the following:
#PRTO_Coracle
^
^
^The Coracle is first naval unit you can build. These tiny, primitive round ships must end each turn in a
$LINK<coastal=TERR_Coast>
square -- they are in danger of sinking if they end their turn in a $LINK<sea=TERR_Sea> or $LINK<ocean=TERR_Ocean> square.
If $LINK<The Great Lighthouse=BLDG_Lighthouse> is built, Coracles may safely end turns at sea, but never ocean squares. They are slow and carry only one footsoldier unit.
#DESC_PRTO_Coracle
^
^
^The Coracle is a small, rounded boat made of waterproof material stretched over a wicker or wooden frame. One of the earliest known ships that were more than just canoes, they weren't too terribly much better than canoes. But they could hold a small amount of cargo and were sufficient for water travel so long as they didn't stray too far from shore.
Leave two blank lines in between the top of the Coracle and the section marker above it, and two lines between the entry for the next unit. It's good form to comply with the pre-existing form of the file you're editing. Now save your changes. You can close it if you want, but you'll need this file again later.
Now open PediaIcons.txt. Search for Galley again. It should look like this:
#ICON_PRTO_Galley
art\civilopedia\icons\units\29galley(trireme)large.pcx
art\civilopedia\icons\units\29galley(trireme)small.pcx
The next section is for the Caravel, so ignore that. Copy the full entry for the Galley. Now jump down to the bottom of the units section (line 792 approx.) and paste it in right before the #End Units marker. Make sure it starts on it's own line, so it should look something like this:
#ICON_PRTO_Privateer
art\civilopedia\icons\units\65privateerlarge.pcx
art\civilopedia\icons\units\65privateersmall.pcx
#ICON_PRTO_Galley
art\civilopedia\icons\units\29galley(trireme)large.pcx
art\civilopedia\icons\units\29galley(trireme)small.pcx
#End Units
Now on the line #ICON_PRTO_Galley, change it to read #ICON_PRTO_Coracle. Now save your changes.
All done! Wasn't that just swell? Start up a New Game if you so choose and you'll find the Coracle waiting for you as soon as you build a city than can build naval units.
Was it as good for you as it was for me?
Next item up for bid: the Chichen Itza Great Wonder. This is almost the exact same procedure as before, so this should be simple.
Open the CopyTool and copy The Pyramids wonder (choose to add 1) and complete the Copy like last time.
Open the Editor and go to your new Chichen Itza entry at the bottom of the Improvements and Wonders tab. Make the Prerequisite Code of Laws, unflag the Industrious attribute but keep Religious flagged, change the Gain in Every City on Continent from Granary to Courthouse, and change the Culture it produces to 2 from 4. And finally change the Civilopedia to BLDG_Chichen_Itza. Save and close the editor.
Go to Civilopedia and search for Pyramid. Above the entry add the following:
#BLDG_Chichen_Itza
^
^
^Puts a $LINK<Courthouse=BLDG_Courthouse> in every city on the same continent.
^
^
^
^
^
^
^May trigger $LINK<Golden Age=GCON_Golden_Age> for Religious civilizations.
You can add a description if you like, but I'll leave that to you for now.
Go to PediaIcons.txt and do the same kind of search. Copy out the section and go to the bottom of the section right before "#End Civilopedia Art". Change the name as before. The finished product should look like this:
#ICON_BLDG_Chichen_Itza
SINGLE
art\civilopedia\icons\buildings\pyramidlarge.pcx
art\civilopedia\icons\buildings\pyramidsmall.pcx
Viola! Yes that's right, Viola! A stringed instrument of the violin family, slightly larger than a violin, tuned a fifth lower, and having a deeper, more sonorous tone.
How to get the city view working: Go into your C:\Program Files\Infogrames Interactive\Civilization III\Art\City Screen directory and take note of 2 files: buildings-large.pcx, and buildings-small.pcx. Open one of them up (they are both pretty much the same, but you have to change both in the same way).
CONTINUED...