Building Icons

Azmorg

Bretwalda
Joined
Mar 15, 2003
Messages
600
Location
Camelot!
Been messing around.
Made an era change for Granary.
Used the original for Anc/Ren.
Used the new one for Ind/Mod.
Had all the civilopedia files, the buildings-large & small pcx's, and the entries in pediaicons.
Everything worked good in game, except the small civilopedia icon. The standard grassy background was replaced by a solid yellow. Yet the palette was correct.
This was actually the case with three different buildings.
I many modded buildings with additional era images.
But I noticed that the three with the yellow background were only two era.
So, I switched them back to single era, and voila, a ok!
Now, does anyone have any thoughts as to why a 2 era building would do this?
 
Been messing around.
Made an era change for Granary.
Used the original for Anc/Ren.
Used the new one for Ind/Mod.
Had all the civilopedia files, the buildings-large & small pcx's, and the entries in pediaicons.
Everything worked good in game, except the small civilopedia icon. The standard grassy background was replaced by a solid yellow. Yet the palette was correct.
This was actually the case with three different buildings.
I many modded buildings with additional era images.
But I noticed that the three with the yellow background were only two era.
So, I switched them back to single era, and voila, a ok!
Now, does anyone have any thoughts as to why a 2 era building would do this?

"The standard grassy background was replaced by a solid yellow." is what happens if the pcx file cannot be found. Civ3 simply uses the image from buildings-small.pcx instead.

Not sure why exactly your pcx files cannot be found, either a typo, or wrong file structuring. My guess is that your pediaicons entry has less than 8 lines, because as you said, you have 2 eras, not 4. The PediaIcons entry must be always 8 lines long for ERA specific buildings. If you have 2 eras just repeat them like this:

#ICON_BLDG_Airport
ERA
27
art\civilopedia\icons\buildings\airportindlarge.pcx
art\civilopedia\icons\buildings\airportindlarge.pcx
art\civilopedia\icons\buildings\airportIndlarge.pcx
art\civilopedia\icons\buildings\airportmodlarge.pcx
art\civilopedia\icons\buildings\airportindsmall.pcx
art\civilopedia\icons\buildings\airportindsmall.pcx
art\civilopedia\icons\buildings\airportindsmall.pcx
art\civilopedia\icons\buildings\airportmodsmall.pcx
 
Well, perhaps this is it.
Although there are several with only 6 lines, being three eras.
Thank you for the help.
 
Back
Top Bottom