View Full Version : Adding Wonders - quick & dirty


AK47
Feb 17, 2004, 06:39 AM
Because I keep getting this question...
This should work for PTW and C3C.

To start, create your own scenario folder (something like ...\Scenarios\Mymod) and make a copy of the original .biq (...\Scenarios\Mymod.biq). Make all of below changes in these.

In short:

1/ Put the 2 icons in ..\Art\Civilopedia\Icons\Buildings

2/ Put the splash in ..\Art\Wonder Splash

3/ Edit the buildings-large.pcx & buildings-small.pcx (..\Art\City Screen) with a graphics editor (copy/paste the new building at the bottom, just under the last building already present).

4/ Add 2 correct entries in pediaIcons.txt (..\Text). Example:
#ICON_BLDG_Canterbury
SINGLE
art\civilopedia\icons\buildings\Cburylarge.pcx
art\civilopedia\icons\buildings\Cburysmall.pcx
and
#WON_SPLASH_BLDG_Canterbury
art\wonder splash\CburySplash.pcx

5/ Add correct entry in Civilopedia.txt (..\Text), starting with:
#BLDG_Canterbury
^
^

6/ Use the editor. Go to "Rules > Edit Rules > Improvements and Wonders" and add the building + set it up completely to your wishes/needs.
In Conquests, the new civilopedia entry you made will be listed in the dropdown box "Civilopedia Entry" for you to select.


PS. Conquests: If you replace a wonder/building instead of adding one, make sure you keep the relevant number (1 – 81) in the pediaIcons.txt entry. This number indicates in which graphics slot the program has to look for the image.


AK.
:cool:

PS. You can get the buildings-pcx's with some extra free slots HERE (http://www.civfanatics.net/uploads6/buildingspcx.zip)

Risbinroch
Feb 17, 2004, 10:06 AM
wouldent you also need to alter the buildings-large.pcx and buildings-small.pcx?

Or... If you in the pediaicons.text , after the:
"#ICON_BLDG_Canterbury" enter a number, will it use the same pictures as the number shows to in buldings-large and small.pcx?

AK47
Feb 17, 2004, 10:38 AM
Originally posted by Risbinroch
wouldent you also need to alter the buildings-large.pcx and buildings-small.pcx?

Read nr. 3/ :confused: ?

You add it at the bottom. When you add a new wonder in the editor, it will automatically pick the next image down on the buildings-large.pcx

As for the nrs in pediaIcons of C3C; so far I haven't found any use for these...

AK.

Risbinroch
Feb 17, 2004, 03:35 PM
Ah, sorry, guess I didn't read it close enough.... So the number isn't important at all?

AK47
Feb 17, 2004, 03:39 PM
I don't know exactly why the developers started using them in Conquests, but surely they are not necessary to just add a wonder. I added many without the nrs. and it works just fine...
If you replace an existing wonder on the other hand, yes, then you will need to keep the correct number in your pediaIcons.txt entry.

Sleepy Eyes
Feb 18, 2004, 12:00 AM
What an excellent well put forth explaination. And the question about the numbers cleared my confusion on the matter. Thankyou for taking the time to post this. Well done.:goodjob:


A few Hour Later....

UPDATE: I tried this right away and it worked. Except when I used no numbers it went blank for the building icons in the editor. So I looked at the large icon graphic sheet and realized in c3c (at least on my pc) it has room for only 81 slots I think. So I pasted the Gallows icon on slot 73 a spaceship casing in the large and small city view pcx. Then in the text file changed the gallows to number 73 and it was working good. Now Im just wonding how to unuse the unwanted spaceship casing without crashing the game (havent tried to remove it from the editor yet) Anyways for what its worth I thought Id offer some feedback on the number issue concerning my situation anyways. :D

aeldrik
Feb 20, 2004, 01:16 AM
great hints AK, one question, does the Editor list also get automatically enlarged once I have done what you wrote?

AK47
Feb 20, 2004, 01:23 AM
I suppose you are talking about Conquests.

Yep, if you follow the steps in that order, when you go to the editor, and "add" a new wonder, you will see the new building displayed bottom left. You also have to choose the civilopedia from the list in the dropdown box. The entry name you made in step 5 will automatically be added to that list, so you can choose it.

@ Sleepy Eyes: if you do it step by step exactly like I explained, you don't need the numbers. Thing is you have to add the building graphic at the bottom (make a new slot). If you copy it over an existing building, yes, you need the numbers to indicate the slot you used.

aeldrik
Feb 20, 2004, 01:37 AM
about editing the building_large.pcx, do I have to replace one of the old buildings, or should I "enlarge2 "the hole graphic by addind squares at the end?

AK47
Feb 20, 2004, 01:50 AM
If you just want to add a building, you need to enlarge the .pcx and then paste it under the last building already present.
If you want to replace a building (or if you start deleting existing buildings), you need to paste it over the existing building, but then you will need to indicate the number of the slot in your PediaIcons entry.

Anyway, I think I'll post the Conquests .pcx enlarged with some empty slots this weekend.

AK.

aeldrik
Feb 20, 2004, 02:00 AM
would be great...

aeldrik
Feb 25, 2004, 01:39 AM
Hy AK... I followed all the steps above except for step 3, and the new Entry doesn't yet appear in the Editor, do I have to add the graphics in the buildings-large and buildings-small for it to work?
thx
Aeldrik

AK47
Feb 25, 2004, 04:40 PM
I posted those Conquests buildings .pcx that I promised. Both (small and large) have 5 extra slots to add buildings + some room to add more. Check top of the thread to download.

AK.
:scan:

AK47
Feb 25, 2004, 04:49 PM
Originally posted by aeldrik
Hy AK... I followed all the steps above except for step 3, and the new Entry doesn't yet appear in the Editor, do I have to add the graphics in the buildings-large and buildings-small for it to work?

Normally not. I Just tested it and it works without.
As soon as the Civilopedia/PediaIcons entries are correctly in the text, you can go to the editor. Then click"Add" type in a name, and then choose the entry you made in the dropdown box called "civilopedia entry", example BLDG_Gallows.

kuff-dam
Mar 01, 2004, 01:15 PM
nice one this's helped me a lot

DoubleT
Mar 04, 2004, 09:09 AM
Its strange, when I do all the things, Civ just shuts down?

Have you heard of this?

AK47
Mar 04, 2004, 05:50 PM
what's the exact error message you get when it shuts down ?

DoubleT
Mar 05, 2004, 01:47 AM
Thats the very strange thing, there are no error message .

Just goes black and the closes the program.

And then when i delete the new wonder (Cantabury), and put back the original buildings-large.pcx & buildings-small.pcx. There are no problems, but also no new Wonder :confused:

:egypt:
Have a nice day

AK47
Mar 05, 2004, 03:19 AM
Can you send me:
your .biq, the buildingslarge and small, the building icons, civilopedia & pediaicons.
Zipped in a correct folder structure please. I'll have a look.
kris.verhelst @ skynet.be

AK.

DoubleT
Mar 12, 2004, 02:46 AM
AK47 i have send you an email ;)

DoubleT
Mar 24, 2004, 12:45 AM
Its strange, well ill send you the rest that you where missing one of the next day, but could you see if there is something wrong in the stuff i sent to you?

Drivebymaster
Mar 24, 2004, 08:31 PM
Ok after reading this all it is confusing......Could you possibly put it in a Word Format so I could download and other people who are as lazy as I am.

AK47
Mar 25, 2004, 01:01 AM
Really, it's actually very easy; just stick to what I write in the first post, in that exact order.

Anyway, here's the thing in .txt.
AK.

DoubleT
Mar 25, 2004, 09:47 AM
It Work I added the Cantebury and another Wonder..

But then when i Added an third Wonder this happend:

http://www.doublet.dk/what.jpg

Where did my Civ Entry go?

DoubleT
Mar 25, 2004, 09:52 AM
Or is there a limt to how many Wonders you can have? I deleated the third wonder again, and the Civ Entry was back...

AK47
Mar 25, 2004, 10:38 AM
No. I've added about 25 buildings and wonders in my mod. No limit. I don't know what happened with that 3rd wonder though. Never had anything like that. Are you sure you kept the .pcx files at 256 colors, and didn't increase it to 16mio by accident ? Than you always get a black screen in civ.
Did you make an error in the size maybe ? I think if you paste 1 pixel line smaller etc . that it won't work (all building frames must be exactly the same size).
Did add a building, without the frame ???

etc. etc. etc.
Everything has to be very precise. You can make a 100 different small mistakes. Trial and error, man, and figuring it out yourself. I'm not going to address every little error like this. It's part of modding: trial , error, analysis, correction.
Start checking exactly what could be different from adding the other 2. Good luck.

Drivebymaster
Mar 25, 2004, 01:08 PM
Thanx AK47 I can now try it. I'll get back to you if anything happens. Thanxs

Sleepy Eyes
Mar 26, 2004, 12:15 PM
For c3c once I took out the numbers in the pda text for the icons in the other buildings it worked fine without the numbers. I also found a larger pcx sheet and since I first read your tutorial I have added 30 buildings with ease. Your method worked sweet!

AK47
Mar 27, 2004, 05:46 AM
thanks:love:

PorthosdPirate
Apr 04, 2004, 05:27 PM
Originally posted by Sleepy Eyes
For c3c once I took out the numbers in the pda text for the icons in the other buildings it worked fine without the numbers. I also found a larger pcx sheet and since I first read your tutorial I have added 30 buildings with ease. Your method worked sweet!


May I ask where you found the larger pcx sheet or how to enlarge the pcx sheet.

Thanks
porthos

AK47
Apr 05, 2004, 01:21 AM
In PSP8, via Image>Canvas Size, enlarging height only and selecting the top middle arrow for "placement". That way, the extra size will be added at the bottom only.

Ukas
Apr 08, 2004, 07:32 AM
That blank space thing actually happened to me too when I tried to not use numbers in pediaicons...

DoubleT
Apr 08, 2004, 03:22 PM
Originally posted by Ukas
That blank space thing actually happened to me too when I tried to not use numbers in pediaicons...

Ok, ill try with numbers, thanx for the tip Ukas :) :goodjob:

Osubaker
Apr 10, 2004, 08:52 AM
I followed your instructions and was able to get tthe new buildings to work in the game but the icons are blank. There is nothing in the build que and once the building is built that is also blank. The only graphic i am able to get to work is the wonder splash. I pasted the graphics onto the sheet using gimp but when i go to select it in editor its blank there. Not sure whats going on, maybe im not pasting correctly. Thanx for your guide and if you have any ideas on what i am doing wrong i would appreciate it.

unscratchedfoot
Apr 28, 2004, 07:27 AM
.

AK47
Apr 28, 2004, 08:27 AM
@ Osubaker:
make sure you're still at 256 colors.