Hello everyone,
Im trying to figure out the correct XML for changing VitalIcon2 Which is the Energy Icon that appears in tooltips
I am having a hard time trying to change the icon to something else.
The path in the UI editor is:
CommandButton->CommandTooltipTemplate->VitalIcon2
or if you prefer
CommandButton/CommandTooltipTemplate/VitalIcon2
Im just trying to put an new icon instead of this one.
Everytime i try to make it work i get some XML errors and i cant figure them out
any help would be greatly appreciated
Also, I don't think altering templates has any effects on this. Templates are used once when that frame is created. Then, every manipualation needs to go to the path where it was applied.
Oh, the template is locked, too, and we cannot edit locked areas. Maybe it's locked because changing it has no effect.
So that path should be:
"GameUI\UIContainer\ConsoleUIContainer\CommandPanel\CommandTooltip\ResourceIcon2"
Okay thanks for the help i figured it out now
all i had to do was name my image the same as icon-energy-protoss.dds
Then import it to Assets/Textures
So it would look like in total Assets/Textures/icon-energy-protoss.dds
Then it just Over Wrote the old image
i got more help from this thread: http://www.sc2mapster.com/forums/development/map-development/2251-resource-icons/
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello everyone,
Im trying to figure out the correct XML for changing VitalIcon2 Which is the Energy Icon that appears in tooltips
I am having a hard time trying to change the icon to something else.
The path in the UI editor is:
CommandButton->CommandTooltipTemplate->VitalIcon2
or if you prefer
CommandButton/CommandTooltipTemplate/VitalIcon2
Im just trying to put an new icon instead of this one.
Everytime i try to make it work i get some XML errors and i cant figure them out
any help would be greatly appreciated
You can change the icons via importing your own "GameData\Assets.txt" file.
These lines will alter the energy icon in the tooltip. Change them as required.
Also, I don't think altering templates has any effects on this. Templates are used once when that frame is created. Then, every manipualation needs to go to the path where it was applied.
Oh, the template is locked, too, and we cannot edit locked areas. Maybe it's locked because changing it has no effect.
So that path should be:
"GameUI\UIContainer\ConsoleUIContainer\CommandPanel\CommandTooltip\ResourceIcon2"
Okay thanks for the help i figured it out now
all i had to do was name my image the same as icon-energy-protoss.dds
Then import it to Assets/Textures
So it would look like in total Assets/Textures/icon-energy-protoss.dds
Then it just Over Wrote the old image
i got more help from this thread:
http://www.sc2mapster.com/forums/development/map-development/2251-resource-icons/