• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Spell] Custom Icon vs. Disabled

Status
Not open for further replies.
Level 2
Joined
Mar 10, 2014
Messages
8
I have an ability that has a tech requirement. It has a custom icon. Before being researched, it comes up as the green square like it has no icon on the unit with that ability.

I have the disabled icon image file imported (with the DIS before the regular name), but can't figure out where to put it. I checked out a ton of tech required abilities from melee, and checked in advanced > gameplay interface...

Also this happens with other abilities with custom icons when you hit a menu button.

Thanks in advance!
 
Level 30
Joined
Sep 26, 2009
Messages
2,622
It's about the path to these icons.
"active" icons have to have path: "ReplaceableTextures\CommandButtons\<name>.blp"
"disabled" icons have to have path: "ReplaceableTextures\CommandButtonsDisabled\<name>.blp"

Most of the time, icon names also contain the BTN (active) and DISBTN (disabled) prefixes.
 
Level 2
Joined
Mar 10, 2014
Messages
8
I renamed my custom icon files, and carefully imported them, changing paths.

I now have

ReplaceableTextures\CommandButtons\ArcaniteShield.blp

and

ReplaceableTextures\CommandButtonsDisabled\ArcaniteShield.blp

but icon still shows up as green square when disabled or menu open.


Is there anywhere in the WO I can set what the disabled icon should be?
 
Last edited:
Level 2
Joined
Mar 10, 2014
Messages
8
Ohhhh

Sorry, I get it now. I thought the disabled button and the regular one had to have exact same file name, diff path... it works fine with the BTN DISBTN before file name.... thanks for the help, Nichilus!!
 
Status
Not open for further replies.
Top