• 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.

[Solved] Costum icon does not show

Status
Not open for further replies.
Level 28
Joined
Sep 26, 2009
Messages
2,520
You need 2 version of the same icon - one is active and one "disabled" (= what you see when you pause the game).
Icons have to be .blp and they have to have prefix:
- "BTN" for the active version; for example BTNspell.blp
- "DISBNT" for the disabled version; for example DISBNTspell.blp

Check if you have correct path set. For active icons use this path:
"ReplaceableTextures\CommandButtons\<icon name>" so for example like this:
ReplaceableTextures\CommandButtons\BTNspell.blp

For disabled versions you use this:
"ReplaceableTextures\CommandButtonsDisabled\<icon name>" so here it would be:
ReplaceableTextures\CommandButtonsDisabled\DISBTNspell.blp

There are also so called passive icons - an example of passive icon is Reincarnation once your hero learned that spell. That icon (blackened icon borders) is passive icon.

Passive icons can be improted as
- active icons => meaning they have the prefix BTN and the import path is same as for active icons
- passive icons => they have prefix "PASBTN" (e.g. PASBTNspell.blp) and their path is
"ReplaceableTextures\PassiveButtons\" so ReplaceableTextures\PassiveButtons\PASBTNspell.blp

----------------------
Also make sure your spells has correctly set in Object editor
- Art - Icon - Normal => this is what icon the spell uses when learned
- Art - Icon - Research => this is what icon the spell uses when it is in the skill menu of your hero



----------
edit: damn maker is fast :D
 
Level 14
Joined
Dec 28, 2012
Messages
379
You need 2 version of the same icon - one is active and one "disabled" (= what you see when you pause the game).
Icons have to be .blp and they have to have prefix:
- "BTN" for the active version; for example BTNspell.blp
- "DISBNT" for the disabled version; for example DISBNTspell.blp

Check if you have correct path set. For active icons use this path:
"ReplaceableTextures\CommandButtons\<icon name>" so for example like this:
ReplaceableTextures\CommandButtons\BTNspell.blp

For disabled versions you use this:
"ReplaceableTextures\CommandButtonsDisabled\<icon name>" so here it would be:
ReplaceableTextures\CommandButtonsDisabled\DISBTNspell.blp

There are also so called passive icons - an example of passive icon is Reincarnation once your hero learned that spell. That icon (blackened icon borders) is passive icon.

Passive icons can be improted as
- active icons => meaning they have the prefix BTN and the import path is same as for active icons
- passive icons => they have prefix "PASBTN" (e.g. PASBTNspell.blp) and their path is
"ReplaceableTextures\PassiveButtons\" so ReplaceableTextures\PassiveButtons\PASBTNspell.blp

----------------------
Also make sure your spells has correctly set in Object editor
- Art - Icon - Normal => this is what icon the spell uses when learned
- Art - Icon - Research => this is what icon the spell uses when it is in the skill menu of your hero



----------
edit: damn maker is fast :D


The icon i have problems with is passive
 
Level 30
Joined
Nov 29, 2012
Messages
6,637
Shade's answer is correct. If it does not work well, the icon is the problem. To give you all paths for icons:

  • ReplaceableTextures\CommandButtons\BTNRockFist2.blp
  • ReplaceableTextures\CommandButtonsDisabled\DISBTNRockFist2.blp
  • ReplaceableTextures\CommandButtons\PASRockFist2.blp
  • ReplaceableTextures\CommandButtonsDisabled\DISPASRockFist2.blp

If it has some extra formats such as ATT, ATC, DISATC or UPG:

  • ReplaceableTextures\CommandButtons\ATCRockFist2.blp
  • ReplaceableTextures\CommandButtonsDisabled\DISATCRockFist2.blp
  • ReplaceableTextures\CommandButtons\ATTRockFist2.blp
  • ReplaceableTextures\CommandButtons\UPGRockFist2.blp
 
Last edited:
Level 14
Joined
Dec 28, 2012
Messages
379
Lets take Rock Fist from spasorc as an example:

  • ReplaceableTextures\PassiveButtons\PASRockFist.blp
  • ReplaceableTextures\PassiveButtons\DISPASRockFist.blp

You just put up a DIS before the PAS which means Disabled Passive.

I looked in we paths and you are wrong ^^

its
ReplaceableTextures\PassiveButtons\PASRockFist.blp
ReplaceableTextures\PassiveButtonsDisabled\PASRockFist.blp

Anyway count this as Solved
 
Status
Not open for further replies.
Top