View Full Version : Civlopics Problem


BadKharma
Feb 19, 2006, 08:36 PM
I am at whits end the vast majority of the units I added to my mod show up with a blue background in the Civlopedia then when you click on them they use the unit32 pic enlarged and ugly. I have allready checked the pallettes and the color organization is correct so what is causing this? Someone please help!

Bjornlo
Feb 19, 2006, 11:11 PM
I would guess that your units entry in the PediaIcons.txt is incorrect.
Every unit has two entries in there. The first points to the units civilopedia Icons the second to the animation files.

Or perhaps, are you putting your units icons in the correct folder??

BadKharma
Feb 19, 2006, 11:22 PM
The entries are correct or the game would crash.........also the icons are in the art/civilopedia/icons/units folder like I said its driving me crazy.

Bjornlo
Feb 19, 2006, 11:46 PM
Actually having personally screwed up my pedia icons entries, it does not neccessarily crash. Most of the time it will, but other times it just uses the units32 icon. Especially if you misspelled the name of the unit when applying the ICON.

Do your icons have spaces or other special characters in their name?

BadKharma
Feb 20, 2006, 01:52 AM
Actually having personally screwed up my pedia icons entries, it does not neccessarily crash. Most of the time it will, but other times it just uses the units32 icon. Especially if you misspelled the name of the unit when applying the ICON.

Do your icons have spaces or other special characters in their name?
hmmm I thought for sure it would crash I'll doublecheck all the entries.......its possible an inadvertant space is in there.

Plotinus
Feb 20, 2006, 06:09 AM
That must be it. If the game can find no reference to a proper icon picture, it just enlarges the units32 icon and uses that. So since that's what it's doing here, it means you have mistyped not the name of the icon picture but the reference before it. Perhaps you missed out the PRTO_ part or something like that.

BadKharma
Feb 20, 2006, 09:05 AM
OMG thanks Plotinus I relooked in the text and I mistakenly missed the # before ICON_PRTO_XXXX on all the ones not working.

Plotinus
Feb 20, 2006, 09:09 AM
Aha, classic mistake! Easily done and almost impossible to spot once you've done it.

BadKharma
Feb 20, 2006, 09:13 AM
Yes and then it just gets worse doing copy and paste for each additional unit. Thanks again!