HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Black Icons! Help!

06-28-2003, 12:32 PM#1
LeafLord
When I inserted an icon that I made into a map, I found that it showed up as a black square. Not green, but black.

I was looking at the data Image Ex. II displayed. It says on Blizzard icons:

ID: BLP
Imagetype: Jpg-Blp
Imagemode: 0
Unknown1: 5
Unknown2: 1
XResolution: 64
YResolution: 64

On my icons, however, it reads:

ID: BLP
Imagetype: Jpg-Blp
Imagemode: 8
Unknown1: 4
Unknown2: 1
XResolution: 64
YResolution: 64

Unfortunatly, I have on idea what this means and/or how to change it. Changing the detail settings does not result in change. However, using another program results in:

ID: BLP
Imagetype: Jpg-Blp
Imagemode: 6
Unknown1: 4
Unknown2: 1
XResolution: 64
YResolution: 64

Which also shows up as a black square.

Anyone know why or how I can fix this?
06-28-2003, 06:21 PM#2
Starcraftfreak
It wouldbe helpful, if you specify the used programs!
06-28-2003, 07:22 PM#3
LeafLord
I used Image Extracter II for the first one and War 3 Viewer for the second.
06-29-2003, 07:51 AM#4
Krakou
Do you have an alpha channel on your icone ?
06-29-2003, 02:16 PM#5
LeafLord
No, I don't believe so. This happens with all 78 icons, so I don't think it's the icon, unless you are supposed to have an Alpha.
06-29-2003, 02:48 PM#6
Karma Patrol
Quote:
Imagemode: 8


This means you have an alpha channel.

Unknown 1 has to do with team colors, if >= 0x5, team colors will not show on units.

Unknown 2 has to do with texture placement, should always be >= 0x1
06-29-2003, 03:46 PM#7
LeafLord
So... what does Imagemode: 6 mean? How can I get rid of the Alpha channel? And rid of team colors?

What do you mean by 0x5? Obvoiusly not multiplication, that would only be 0, whjy bother putting x something. So... I'm sorry, please exlplain this to me.
06-29-2003, 05:47 PM#8
Starcraftfreak
The 0x should indicate that it is a hexadecimal number. Any hexadecimal number that represents a value <10 is the same as it's decimal equal.
So
Code:
0x5 = 5
0x1 = 1

But
Code:
0xA = 10
0xB = 11
...
0xF = 15
0x10 = 16
0x11 = 17
...
06-29-2003, 06:25 PM#9
LeafLord
OK, I know hexadecimals (HTML, colors). I did not know that the 0x signified it, though. Thanks. But how do I get rid of it?
06-30-2003, 07:06 AM#10
Krakou
Post one of your non working icone so we can take a look.
06-30-2003, 10:19 AM#11
Karma Patrol
When you export with you image editing program, make sure you specify that there is no alpha channel. You can even try this: Export to a windows bitmap (bmp), then convert to TGA.
06-30-2003, 10:24 AM#12
FireAarro
Actually, you NEED an alpha channel for icons to show.
06-30-2003, 12:22 PM#13
LeafLord
Very well, the .blp is here, the .jpg that is how it is supposed to look is here.

I'm trying converting BMP -> TGA now.

Done. Same results.
06-30-2003, 07:22 PM#14
Krakou
You forgot to join the blp.

I am sur you don't have an alpha channel.
The easiest way to do icones is to convert an existing blp icone to tga and copy/paste your icone over it. Save to tga and convert to blp.
06-30-2003, 09:36 PM#15
Karma Patrol
It was just an idea to make sure that there was no alpha channel.