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