• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

how do i add a disabled icon to a unit

Status
Not open for further replies.
Level 11
Joined
Sep 9, 2010
Messages
368
You'll have to use the BTN for your unit and DISBTN as a backup, that will replace your icon automaticly if you're (for example) pausing the game and therefor shouldn't be used.

Just rename the paths of your icons to

ReplaceableTextures\CommandButtons\BTNYourUnit.blp

ReplaceableTextures\CommandButtonsDisabled\DISBTNYourUnit.blp

And remember that the icons' names must be the same exept from BTN and DISBTN.

(EDIT: I'm not sure, but I think you can just name the disabled icon to 'DIS')
 
Level 29
Joined
Mar 10, 2009
Messages
5,016
the first response to this topic helped me. however after i added the icons, the game crash at random. so i guess that you better look at them anyway.

you know why?, coz there's no BTN in your icons...BTN & DISBTN 'MUST' be partners in other words, icons must have partners...see the sample map...its fixed...

also you dont need to change tha path for the BTN icon, just let it be to..."war3mapImported\BTNthe paladin.blp"...
 
Last edited:
Status
Not open for further replies.
Top