4th Icon in Icon Atlas template not Working

Icefrenzy

Chieftain
Joined
Nov 8, 2014
Messages
3
Location
Canada
Hi guys, I'm relatively new here but I had enough of this problem I've been having for the past months when I try to make my personal CIV V mods.

Issue:
The 3rd index (4th Image) on the 8x8 Atlas layout always shows up as black as if the game just left it out.
beecaec2a5.jpg

I've also had the same problem when modding my Civ:BE civ so I'm guessing its something with my rendering to the .dds format.

I render my dds using GIMP with compressions BC1/DXT1 or BC2/DXT3. But I don't think that really did any impact since using both always rendered my 4th image in the atlas as black/empty. I also made sure the XML properly read the whole Atlas with the right column and row counts.

Heres the Atlas Layout in 256x if you need to refer to it.
Spoiler :
aa96ff34ee.jpg


Any help you can provide would be greatly beneficial. Thanks in advance ^.^/
 
@JDF Please look over at my Atlas define to see if something is wrong.
Code:
<Row>
	<Atlas>CIV_COLOR_ATLAS_Michael</Atlas>
	<IconSize>256</IconSize>
	<Filename>MichaelAtlas256.dds</Filename>
	<IconsPerRow>4</IconsPerRow>
	<IconsPerColumn>1</IconsPerColumn>
</Row>
 
Code:
<Row>
	<Atlas>CIV_COLOR_ATLAS_Michael</Atlas>
	<IconSize>256</IconSize>
	<Filename>MichaelAtlas256.dds</Filename>
	<IconsPerRow>5</IconsPerRow>
	<IconsPerColumn>5</IconsPerColumn>
</Row>

That might fix it, though chances are I'm wrong. You'll need to insert IconsPerRow and IconsPerColumn there in every other atlas size, though.
 
@JDF Please look over at my Atlas define to see if something is wrong.
Code:
<Row>
	<Atlas>CIV_COLOR_ATLAS_Michael</Atlas>
	<IconSize>256</IconSize>
	<Filename>MichaelAtlas256.dds</Filename>
	<IconsPerRow>4</IconsPerRow>
	<IconsPerColumn>1</IconsPerColumn>
</Row>

Looks right. You sure you're referencing the right icon then? Indexing starts at 0, so it should be 3.
 
Just found out that the problem was caps.

Instead of "CIV_COLOR_ATLAS_Michael" I put "CIV_COLOR_ATLAS_MICHAEL" on the object referencing the Icon Atlas. Thanks for making me recheck my XML though XD

- Problem now Solved
 
Back
Top Bottom