Disabled DISBTN

dracolich

TH.net Regular
Reaction score
15
Well, i have to use picture with DISBTN path for my item, but once I pause game (when everything become DISBNT'ed), i see only green boxes instead.
Im sure its possible, just look at dota's muted items - they wont disappear on pauses. So, whats wrong with DISBTN and pauses? how to avoid that without using another collection of icons?
 

vypur85

Hibernate
Reaction score
803
Import the same icon but with 2 separate paths. Meaning the normal and disabled buttons will share the same image. Then again, as for preset WC3 icons, I'm not too sure.
 

dracolich

TH.net Regular
Reaction score
15
guess i still cant explain it =\
look, we have an item with pic
ReplaceableTextures\CommandButtons\BTNINV_Weapon_Crossbow_10.blp
of course, disabled version would be
ReplaceableTextures\CommandButtonsDisabled\DISBTNINV_Weapon_Crossbow_10.blp

but I have a button
ReplaceableTextures\CommandButtonsDisabled\DISBTNINV_Weapon_Crossbow_10.blp
as pic, and green box as disabled.
 

vypur85

Hibernate
Reaction score
803
As explained above. And I know what you meant.

Because when you used DISBTN as your active icon ingame, there is no DISBTN for your used DISBTN. Which is why it turned green.

The above idea would/might solve your problem.

Import the same DISBTN icon 'ReplaceableTextures\CommandButtonsDisabled\DISBTNINV_Weapon_Crossbow_10.blp' two times.

But change the paths for each to the respective DISBTN and BTN paths.


Edit:
Looks like I'm wasting my time. Why bother asking if you don't bloody try the suggestion given?
 

dracolich

TH.net Regular
Reaction score
15
well, look here
wc3 doesnt care, which file do u use, he always will search for CommandButtonsDisable\DIS+YOURPATHHERE
so, DISDISBTN fine :)
 

SouLEDGE

Damn you advanced calculus
Reaction score
75
Read this if you're still uncertain, you can ignore the first tidbit about
creating icons and just read the section on importing it
 

dracolich

TH.net Regular
Reaction score
15
there are no info about what happen if user use CommandButtonDisabled path as main pic.
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
Reaction score
613
Like vypur said. Import the DISBTN three times. One will be the DISBTN for the main icon. One will be a BTN version with another name, but the disabled icon. And the third will be the DISBTN for the false BTN.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top