Religion mini-icons and unit "bubble arrows"

Kael

Deity
Joined
May 6, 2002
Messages
17,403
Location
Paris, France
You guys were awesome at answering my last 2 questions (thanks again Spindrift). Here are the current two issues I have been unable to resolve in the past 2 days:

1. Whenever I make new button art for a unit it shows up correctly in the unit screen in the pedia, in the buy lists in the city, in my tech tree, and on my bottom bar. It doesn't show up correctly in the little arrow bubbles that stick up to tell you you have an active unit outside of the window. There I get just a hot pink circle (same color I get if I don't point to a valid file in other areas). I looked and compared how I am adding the button art to the unit and its exactly as they did in the Greek War mod (pointing to an individual .dds file). I can't figure out what I'm doing wrong. Any ideas?

2. Religion mini-icons!!! This one is killing me. I made 5 new religions. The icons for them show up fine in the religion screen, the tech lists, relgion entry in the pedia, etc. But they don't show up in the city bar or in the leader bar in the bottom right hand corner. Those are still using the old icons. And they are consistent with the order of the religions in the religion file. So if Hindu used to be the first one in the file then I always get the hindu mini-icon for whatever religion I put first in the file. I have searched every dds file I can find in the unpacked art and can't figure out where it is pulling these mini-icons from. I noticed it has copies of them in the 'civics_civilizations_religions_atlas.dds' and 'mainmenu_techscreen_worldbuilder_popups_atlas.dds' so I replaced those with my icons, but still no good. Any ideas?
 
Kael said:
2. Religion mini-icons!!! This one is killing me. I made 5 new religions. The icons for them show up fine in the religion screen, the tech lists, relgion entry in the pedia, etc. But they don't show up in the city bar or in the leader bar in the bottom right hand corner. Those are still using the old icons. And they are consistent with the order of the religions in the religion file. So if Hindu used to be the first one in the file then I always get the hindu mini-icon for whatever religion I put first in the file. I have searched every dds file I can find in the unpacked art and can't figure out where it is pulling these mini-icons from. I noticed it has copies of them in the 'civics_civilizations_religions_atlas.dds' and 'mainmenu_techscreen_worldbuilder_popups_atlas.dds' so I replaced those with my icons, but still no good. Any ideas?
You need to edit the font files in /res/fonts.

:)

Make sure you also edit the alpha channels, or it won't work right.

If you've already done this, then my only suggestion is to make sure you clear out the cache (hold down shift as you load if you've installed the patch). I've had odd things remain after changing things or trying to turn on mods if I don't clear out the cache.
 
That worked perfectly! Thanks! Now if I could get the "arrow bubbles" to work correctly I would be all set.

Thank you so much Merak.
 
MerakSpielman said:
You need to edit the font files in /res/fonts.

:)

.


hMMM might that be the answer to my question as well? I am having all resource icons show up right but not on city screen panel. I'll have to look there when I get home...
 
Kael said:
That worked perfectly! Thanks! Now if I could get the "arrow bubbles" to work correctly I would be all set.

Thank you so much Merak.
Now, I'm not sure about this, but in one of the "button" graphics there might be an alpha channel that's circular, so the same image would be clipped to appear in a bubble.
 
MerakSpielman said:
Now, I'm not sure about this, but in one of the "button" graphics there might be an alpha channel that's circular, so the same image would be clipped to appear in a bubble.

I checked the unit graphic in art\interface\buttons\unit\ and the alpha channel there is just the square border, and the alpha channel in the unit_resource_atlas.dds file is pure white.

Even more strange, the religion dds files I made work just fine from the "button arrows". So if a religion spreads to another city the button arrow for that is correct. But none of the unit ones work.
 
I figured it out thanks to comparing to Supa's tiger (which worked fine).

The problem was I had:
<Button>,Art/Interface/Buttons/Units/Drown.dds</Button>

And what I should of had was:
<Button>Art/Interface/Buttons/Units/Drown.dds</Button>

With the comma everything worked fine except for the button arrow. Strange but true.
 
Back
Top Bottom