HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Green Icons ? How to avoid ?

02-24-2004, 08:04 AM#1
Babuu
Hi, i got lots of imported icons for my map...

If a hero with an imported icon dies his portrait icon gets green until he is revived....that sux.......and.....i ve got some skills with new icons.... i don't know why but they are sometimes green too...... i am perfectionist so plz help me how to avoid these green icons :WD:
02-24-2004, 08:08 AM#2
Newhydra
Every icon needs to also have a disabled version of itself, or you get green squares where there should be the disabled version of the icon....Someone else can probably tell you more, I don't really play with icons all that much.
02-24-2004, 08:16 AM#3
Babuu
ok...thx....but how and where do i have to import these icons ?
02-24-2004, 08:18 AM#4
Newhydra
Quote:
Someone else can probably tell you more


I just answered to give you something to think about at this hour...I really don't know much about icons ;)
02-24-2004, 08:31 AM#5
bile
Make sure the normal icon is in this path: "ReplaceableTextures\CommandButtons\***.blp". then import the diabled icon you have and have the path as "ReplaceableTextures\CommandButtonsDisabled\DIS***.blp".

I think you have to have the "DIS" in there. No one gave me a direct answer when I asked, but it works with it on.
02-24-2004, 08:52 AM#6
Cubasis
Hey

here, read this post. If you use this method, you only need one icon for all disabled ones.

http://www.wc3campaigns.com/forums/s...172#post459172

There are problebly more detailed posts about this solution somewhere on the forums, you can search if you don't understand him.

Cubasis
02-24-2004, 10:09 AM#7
Babuu
hrm....doesn't work... think i didn't get it right.... i made a new folder in the warcraft folder called "ReplaceableTextures" then i did a second folder in this folder called" CommandButtons" ...and then i put the icon blp or tga in it. After this i import the file and change the path to :"blablabladisxxx.blp" (the path u ve written Bile)...xxx= name of my blp .....but it doesn't work...whats wrong.... ? Thats how i understood ur description :( .....
02-24-2004, 10:12 AM#8
Uzhgi
I have the same problem... but I don't really get what he is saying at first with the alpha stuff?? emote_confused
02-24-2004, 10:22 AM#9
Bulletcatcher
I'm attaching a picture of the imported files in a map with some custom icons that all work perfectly: It should explain everything pretty well.
02-24-2004, 12:45 PM#10
Babuu
thx:D

...this meens i just have to change tha path...right? ... i ll test

....ok i ve tested it...thx a lot...it works...but.....two things are strange....if my hero dies the icon doesn't get grey.....ok thats not rly a prob..i ll change this with a paint program..but......the other prob... is it normal that the icons imported on this way are turned 180° ? Thats rly straaaange ; ) ....easy to correct this too but tell me....normal or not ?
02-24-2004, 03:12 PM#11
Cubasis
Ehrm

They are not supposed to rotate 180°... and, the reason they're having DISBTN icons...is to have them grey out, the engine doesn't grey out icons manually, you provide it with "greyed" out icons.

However, my method is to allow you to have just 1 icon for all the DISBTN icons, therefore reducing the size of the map a bit.

The explenation talks about putting all the icons in their own, then giving it the same name, all your icons. So if you are importing SuperSheep.blp icon, then you would put it in: SuperSheep\BTNNULL.blp (rename your file into BTNNULL)

So each icon's name would be their "directory" name. So, then when they all have the same name, then you can import a single "DISBTNNULL" icon, (just have it...black?, or just a big "X" or sumtin)

That's what he ment, but you can just as well have all the DISBTN icons instead.

Cubasis