Icon alpha problems-So far effecting two of my mods with no indication as to why

I couldn't see anything either. I didn't have a chance to load it in game. Does the error affect others or just you? You could try clearing the cache, it could be a glitch.

Yes, the bug effects others, though, how does one clear the cache?
 
Bump, there has to be someone who has come across this problem before . . .
 
Please upload your source image files and I'll have a look.
 
PortraitIndex always refers to both IconAtlas and AlphaIconAtlas.
Since you set PortraitIndex = 6, the game will never find an alpha image for the civ because the only image in the alpha atlas file is on position 0.

Change your alpha atlas to have more (perhaps empty) image slots or change your civ atlas to match up with the alpha atlas...

:)
 
PortraitIndex always refers to both IconAtlas and AlphaIconAtlas.

Huh, that is very interesting to know..
Would've been nice if that was documented somewhere in one of the various guides.

I guess I lucked out there since my Civ icon, being the first icon I made, was always set to position 0. It made little sense to me why Firaxis didn't supply a separate portrait index column for the alpha icon.
 
I, too, did it correct every time, by accident ;)

Searched for the alphaportraitindex now just to see it doesn't exist. :D
 
PortraitIndex always refers to both IconAtlas and AlphaIconAtlas.
Since you set PortraitIndex = 6, the game will never find an alpha image for the civ because the only image in the alpha atlas file is on position 0.

Change your alpha atlas to have more (perhaps empty) image slots or change your civ atlas to match up with the alpha atlas...

:)

Yes, that's it! :p

Thing is, there's no custom icon atlas yet since not all icons are finished, which is why The Mayans' icons were used. Should've known this, though. Never crossed my mind.
 
Hurrah!

So there was something fundamentally wrong with the code, though this is a pitfall that I would've thought people would put in various guides ^^

DarkScythe, Belzhorash, you will be given a mention in the credits for discovering the source of this huge bug, I'm guessing the same problem occurred with my Oliver Cromwell's England, so thanks so much!

All I need now is the LH, which davey is kindly working on :)
 
I, too, did it correct every time, by accident ;)

Searched for the alphaportraitindex now just to see it doesn't exist. :D

Belzhorash, could you provide me with a link to a list of your mods? I'd like to put it on my cromwell/olmec mod pages.
 
Back
Top Bottom