I have made an ability which costs shields. The ability itself works, but I have encountered a visual issue: In the tooltip there is no icon displayed for the costs. Well, actually there is one, but its somehow 'purplish' and blank, so I suppose that this is a "filler' icon in case there is none. If so, is there a way to fix that?
In the Advanced Tab there are indeed some things you can change regarding icons, but mostly the colours, not the icons. I suppose I have to edit these things via text editor? Or is there an official way?
No "official" blizzard ability uses shield costs, so they probably just did not care. You could try to find an entry in the Game UI data or in the Assets.txt;
If everything fails, you can fabricate a matching tooltip. Just insert the desired shield icon, specify a size, add the number, add some color and hide the shield cost in the ability.
if there is only 1 line like:
UI/ResourceIconShields=Assets\Textures\icon-shields.dds
then you do not need to add one for each race. it just means that the same one is used for each race.
if in this case "UI/ResourceIconShields_Prot" doesn't exist then it takes it's value from "UI/ResourceIconShields".
so basicly just 1 line would suffice, unless you want different icons per race.
Of course, 1 line would suffice, but for me it's good to have them in different "race colours" if you are using this type of cost and there are players with different races and abilities which cost shield points.
Hi there,
I have made an ability which costs shields. The ability itself works, but I have encountered a visual issue: In the tooltip there is no icon displayed for the costs. Well, actually there is one, but its somehow 'purplish' and blank, so I suppose that this is a "filler' icon in case there is none. If so, is there a way to fix that?
not a filler that is the shield icon lol i know gl finding out how to change it
@aczchef: Go
I hope that you are joking, because there is no way that this
is the "official" icon for abilities that cost shield points.
yep it is eng is that lil thing and helth is i think missing kaeo or sumthin
i know you can change it try advance things visual (Drop down menu)
@aczchef: Go
In the Advanced Tab there are indeed some things you can change regarding icons, but mostly the colours, not the icons. I suppose I have to edit these things via text editor? Or is there an official way?
somebody found the path, the broken zerg hero icon uses, should be possible to change this brken icon as well, just don't know where to look for it
No "official" blizzard ability uses shield costs, so they probably just did not care. You could try to find an entry in the Game UI data or in the Assets.txt;
If everything fails, you can fabricate a matching tooltip. Just insert the desired shield icon, specify a size, add the number, add some color and hide the shield cost in the ability.
@Kueken531: Go
In the Assets.txt, I have found the following lines that have something to do with icons in the tooltip of abilities:
UI/ResourceIconEnergy=Assets\Textures\icon-energy-terran.dds UI/ResourceIconEnergy_Prot=Assets\Textures\icon-energy-protoss.dds UI/ResourceIconEnergy_Terr=Assets\Textures\icon-energy-terran.dds UI/ResourceIconEnergy_Zerg=Assets\Textures\icon-energy-zerg.dds
I wonder if it would work if I copy these lines, change 'Energy' to 'Shields' and assign other icons? Have to test this.
Edit: It works! In fact, in the Assets.txt, there is a line which says:
UI/ResourceIconShields=Assets\Textures\icon-shields.dds
But there is no icon-shields.dds-file in the game. So I have changed this line and added 1 for each race which in the end looks like this:
UI/ResourceIconShields=Assets\Textures\ui_charbaricons_terran_all.dds UI/ResourceIconShields_Prot=Assets\Textures\ui_charbaricons_protoss_all.dds UI/ResourceIconShields_Terr=Assets\Textures\ui_charbaricons_terran_all.dds UI/ResourceIconShields_Zerg=Assets\Textures\ui_charbaricons_zerg_all.dds
The 'charbaricons'-icon is not the official one, but it looks 'shieldish', so I just took that one.
@Oatin: Go
if there is only 1 line like:
UI/ResourceIconShields=Assets\Textures\icon-shields.dds
then you do not need to add one for each race. it just means that the same one is used for each race.
if in this case "UI/ResourceIconShields_Prot" doesn't exist then it takes it's value from "UI/ResourceIconShields".
so basicly just 1 line would suffice, unless you want different icons per race.
@Helral: Go
Of course, 1 line would suffice, but for me it's good to have them in different "race colours" if you are using this type of cost and there are players with different races and abilities which cost shield points.