Warcraft III resources & community, 2003–2006 · archived

disabled icons wont work

15 posts
#1

disabled icons wont work

sometimes when i import an icon it works, and sometimes it doesnt, even though i make the path the same (deleting the war2imported, and even it works with it sometimes)

how can i make it work ALWYAS

and how do i get a button to show the disabled button instead of a green blank image when it is disabled

i have 2 buttons, and the regular one shows, but as soon as the shop is disabled, the button goes bright green, how can i link disabled to the disabled button?
#2
The green blank is because the disabled dont work, to make it work you need correct path.

this is correct path for normal icon -
ReplaceableTextures\CommandButtons\BTNname.blp

and this is for diabeld -
ReplaceableTextures\CommandButtonsDisabled\DISBTNname.blp

*name = the name of the icon you imported*
#3
The name if the icon after BTN/DISBTN should be the same, example BTNCool and DISBTNCool, else it won't work correctly.
#4
i have my button exactly as you typed it, and it comes up blank. replace command all that, just like you typed it. but it still comes up blank.????
#5
Then it could be the icon's fault.
What icon is it anyway?
#7
Then it must be the icon's fault. If the .blp was not 32bits .tga, .bmp or .jepg then the .blp will not show up correctly.
#8
the icon worked when i didnt try to add a disabled, but it doesnt work when i do try
#9
Thats very odd. Hardly anyone gets that problem. Are you sure the path is right?
#10
i am out of ideas

the path is
ReplaceableTextures\CommandButtons\BTNminehere.blp
ReplaceableTextures\CommandButtonsDisabled\DISBTNminehere.blp
#12
I've had the exact same problem. Whenever you overwrite an existing icon (i.e. has the same file path as an icon already in the game) it will work flawless. But when I use Icons with completely unique names, even though the file paths are correct, the disabled versions simply don't show up....
-VGsatomi
#13
In my tactic, I just add a: ! to the end of the icon so it doesn't overwrite the icon that uses that name
#14
Hm, never had that problem. For now I have several items with unique names in my cpn, and they all are working.
#15
Are the icons sent because I got one but with no icons attached