HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Problem with Disabled Button .. works and doesn't work

02-13-2004, 09:16 PM#1
RaeVanMorlock
Wasn't too sure on where this should be posted, so I hope I guessed right...

I made a new icon with normal, passive, and disabled states. The paths are:

ReplaceableTextures\CommandButtons\BTNDumbed.blp
ReplaceableTextures\CommandButtonsDisabled\DISBTNDumbed.blp
ReplaceableTextures\PassiveButtons\PASBTNDumbed.blp

In the Hero Abilities screen, the BTN and DISBTN work fine. Once putting a point into it, the hero gets the passive version up, which shows fine. But if I push F10 to bring up the menu and make the buttons appear disabled, then I get that green square!

Any ideas?
02-13-2004, 10:15 PM#2
Vexorian
delete the "PAS" from its name
02-20-2004, 07:07 PM#3
RaeVanMorlock
I see... so is there any logical reason why that works?
02-20-2004, 08:45 PM#4
Extrarius
The disabled button must have the same filename as the original button (except you add the 'DIS' in front). If the button has PAS and the disabled version doesn't, they don't match so the game doesn't find the disabled version.
02-20-2004, 09:01 PM#5
RaeVanMorlock
Quote:
Originally posted by Extrarius
The disabled button must have the same filename as the original button (except you add the 'DIS' in front). If the button has PAS and the disabled version doesn't, they don't match so the game doesn't find the disabled version.


Yes yes.. I see that now. I thought that both BTNBrilliance.blp and PASBTNBrilliance.blp used DISBTNBrilliance.blp since there was no "PassiveButtonsDisabled" folder, but there actually is a DISPASBTNBrilliance.blp file -- ho hum