• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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