I don't know why but i wasn't able to hookup those too when i wanted. However you can hookup InfoPaneHero's Weapon/Armor Icon Border (not sure exact name have no access to the editor right now) It will allow you to display damage reduction, crit & other stuff. Is that what you want? I'm not sure why but i cannot hookup unit's equipment no matter what i've tried. Maybe some hard-coded shit... You can just use hero info layout and increase the size and placement of these icons. I did it in map that i'm holding on pause.
it has to be in the InfoPaneUnit not the InfoPaneHero. i want to add an icon left to armor and toggle it on/off with triggers, which already works great but my image frame doesn't have a tooltip now, normally it has by default.
from what i can say now everything added to the equipmentpanel doesn't have a tooltip nor does it allow setting one. adding something to the unitinfopane works as it should allowing default tooltip.
another thing i have noticed is that the tooltip value cannot be set with UI-editor at all and ask myself what does <Tooltip val="text"/> do? it never works for me wherever the image is added.
The tooltip val should have each of the item within panel but not the panel itself. As i said working with unit info panel is problematic (i didn't manage to hookup this), but you can use hero layout for every unit cuz why not? Hero's Armor and Weapon icons works well with hookups, as i tried.
what i got so far:
<Frame type="Frame" name="GameUI/UIContainer/ConsoleUIContainer/InfoPanel/InfoPaneUnit/EquipmentPanel" file="GameUI">
<Frame type="Image" name="MOS" template="EquipmentIcon/EquipmentIconTemplate">
<Anchor side="Bottom" relative="$parent" pos="Mid" offset="0"/>
<Anchor side="Top" relative="$parent" pos="Mid" offset="0"/>
<Anchor side="Left" relative="$parent" pos="Min" offset="-65"/>
<Anchor side="Right" relative="$parent" pos="Min" offset="0"/>
<Texture val="Icons/Actions.tga" layer="0"/>
<Tooltip val="Military Occupational Specialty"/>
<TooltipAnchorPosition val="BottomRight"/>
<TooltipDelayed val="false"/>
<TooltipFrame val="StandardTooltip"/>
<Frame type="Label" name="LevelLabel">
<Visible val="false"/>
</Frame>
<Frame type="Image" name="EquipmentIconBorder">
<Tooltip val="Military Occupational Specialty"/>
<Texture val="Assets/Textures/btn-border-protoss-autocast.dds" layer="0"/>
</Frame>
</Frame>
</Frame>
but it doesn't show any tooltip. i tried different tooltip frames, no tooltipframe etc. no success. also a hook and setting the tooltip doesnt work.
I don't know why but i wasn't able to hookup those too when i wanted. However you can hookup InfoPaneHero's Weapon/Armor Icon Border (not sure exact name have no access to the editor right now) It will allow you to display damage reduction, crit & other stuff. Is that what you want? I'm not sure why but i cannot hookup unit's equipment no matter what i've tried. Maybe some hard-coded shit... You can just use hero info layout and increase the size and placement of these icons. I did it in map that i'm holding on pause.
@abvdzh: Go
it has to be in the InfoPaneUnit not the InfoPaneHero. i want to add an icon left to armor and toggle it on/off with triggers, which already works great but my image frame doesn't have a tooltip now, normally it has by default.
@FunkyUserName: Go
from what i can say now everything added to the equipmentpanel doesn't have a tooltip nor does it allow setting one. adding something to the unitinfopane works as it should allowing default tooltip.
another thing i have noticed is that the tooltip value cannot be set with UI-editor at all and ask myself what does <Tooltip val="text"/> do? it never works for me wherever the image is added.
The tooltip val should have each of the item within panel but not the panel itself. As i said working with unit info panel is problematic (i didn't manage to hookup this), but you can use hero layout for every unit cuz why not? Hero's Armor and Weapon icons works well with hookups, as i tried.
I DID IT, after revisiting this issue i added <AcceptsMouse val="true"/> and the tooltip will show
does only work for one layer. having a image frame inside a label frame doesn't work (hierachie).