View Full Version : Error in Civilopedia


Nate1976
Mar 20, 2005, 10:38 AM
I am adding my first tech to the game, and have everything done, but one thing. When I right-click the tech to bring it up, i get an error(see attachment)

I hav checked the PediaIons file several times, making sure that the names re right, and I am possitive that they are. The Small file works perfectly, the large file doesn't.

When I put them in the pediaicons file, I put the small file at the botom of that section, and the large file at the bottom if it's section. IS there something wrong?

GRM7584
Mar 20, 2005, 11:24 AM
Some things to try:
-Triple-check the name of the file itself, if it is even a single letter off of what pediaicons says it is, civ won't see it.
-Large pedia icons must be 128x128 and indexed
-Make sure the pediaicons.txt line references the correct folder where the tech is.

aaglo
Mar 20, 2005, 11:26 AM
I think that line in the pediaicons-file should have the .pcx -extension, like this:
#TECH_Advanced_Flight_LARGE
Art\tech chooser\Icons\00-AdvancedFlight-large.pcx

Nate1976
Mar 20, 2005, 02:27 PM
Some things to try:
-Triple-check the name of the file itself, if it is even a single letter off of what pediaicons says it is, civ won't see it.
-Large pedia icons must be 128x128 and indexed
-Make sure the pediaicons.txt line references the correct folder where the tech is.

I quadruple checked it, x2.
I have it 128X1289, but...what do you mean by indexed? In the right folders? If so, yes.
Again, quadruple checked x2.

I think that line in the pediaicons-file should have the .pcx -extension, like this:
#TECH_Advanced_Flight_LARGE
Art\tech chooser\Icons\00-AdvancedFlight-large.pcx

You are right, it does. And it does in the pediaIcons, too.

vbraun
Mar 20, 2005, 02:35 PM
I have it 128X1289, but...what do you mean by indexed? In the right folders? If so, yes.

Indexed is way to save the images. It puts all the colors on a color table that is saved with the image.

With Gimp (which is all I have with me) you go Image-->Mode-->Indexed and then save it and put it in game and it should work.

GRM7584
Mar 20, 2005, 03:15 PM
To summarize, you should have an indexed palette with 256 entries; the last two should each appear ONLY ONCE in the palette, and should not be in the image itself.

Nate1976
Mar 20, 2005, 06:57 PM
How about paint? :blush:

GRM7584
Mar 20, 2005, 11:56 PM
Notaclue. Plainclothes MSPaint can't even open .pcx files, let alone index them.
The GIMP sure is free, though. http://www.gimp.org

Nate1976
Mar 21, 2005, 04:17 PM
I make the stuff in paint, then change it to pcx with LExmark.

If you mean what I think you mean, I didn't MAKE the pictures...I cut and resized a picture off the internet. No making on my part.

tjedge1
Mar 21, 2005, 05:50 PM
You will have to index them with 254 colors then. Another thing to check is your Civilopedia text. Since it crashed when you tried viewing the civilopedia entry. Make sure you entered it in that text file as well. It uses the pediaIcons as reference. So if you make a unit or wonder and add it to pediaIcons, it works till you try to view it in Civilopedia. So check that as well.

Nate1976
Mar 21, 2005, 08:47 PM
FOigured it out..it was the dumbest mistake I could have made.
in the pediaicons txt, I put in #TECH_MOUNTED_ARCHERY instead of #TECH_MOUNTED_ARCHERY_LARGE.

Everything else was good, but that one dumb mistake. Thank you, everyone that helped.