I've managed to override a lot of tooltip stuff for the UI, although some I had to manage via trigger hook ups. Command Buttons, WorldTooltip, Behavior stuff were pretty simple. But certain ui frame like UnitPanels don't even have dedicated TooltipFrames, but they have tooltips ingame.
Is there a way to change the tooltip font without trigger hookup for these?
you can do this using the override method.
Import a file named "FontStyles.SC2Style" into your map into the folder "Base.SC2Data/UI".
in the screenshot you can see the following contents for the file:
<!-- <Style name="" - string identifier font="" - file name (preferably a constant) height="" - integer [1, 200] vjustify="" - "Top","Middle","Bottom" hjustify="" - "Left","Center","Right" fontflags="" - Outline|Bold|Italic|HintingOff|HintingNative|HintingAuto|HintStyleNormal|HintStyleLight|HintStyleLCD|HintStyleLCDVertical styleflags="" - Shadow|Glow|InlineJustification|Uppercase textcolor="" - Gradient Color disabledcolor="" - Gradient Color highlightcolor="" - Gradient Color hotkeycolor="" - Gradient Color hyperlinkcolor="" - Gradient Color glowcolor="" - Color glowMode="" - "Add","Normal" highlightglowcolor="" - Color disabledglowcolor="" - Color shadowoffset="" - integer value [-128, 127] outlinewidth="" - integer value [0,height] lineSpacing="" - decimal multiplier [1.0, 4.0] characterSpacing="" - integer addition [0, 255] />--><StyleFileFile="FontStyles"><Stylename="StandardTooltip"template="StandardTemplate"height="10"vjustify="Middle"hjustify="Left"styleflags="!Shadow"textcolor="84d2ff"hotkeycolor="ffffff"hyperlinkcolor="84d2ff"/></StyleFile>
look them up yourself, you only need to mention the styles that you want to change.
I have attached the FontStyles file containing the styles that are in use by blizzard.
I've managed to override a lot of tooltip stuff for the UI, although some I had to manage via trigger hook ups. Command Buttons, WorldTooltip, Behavior stuff were pretty simple. But certain ui frame like UnitPanels don't even have dedicated TooltipFrames, but they have tooltips ingame.
Is there a way to change the tooltip font without trigger hookup for these?
@Broot7: Go
you can do this using the override method. Import a file named "FontStyles.SC2Style" into your map into the folder "Base.SC2Data/UI".
in the screenshot you can see the following contents for the file:
do you have a list of fonts that can be used?
look them up yourself, you only need to mention the styles that you want to change. I have attached the FontStyles file containing the styles that are in use by blizzard.