there is probably another frame above it that blocks the mouse clicks. This is usually the source of problems with mouse clicks not working. I haven't looked into your specific situation though.
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.
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>
as long as the frame locations haven't changed you can find them here: http://helral.eu/SC2LayoutFrames.html
Including a nice button which tells you the frame notation you need ;)
Good question. I've several things through the UI but nothing worked so far.
You can however change the image used, so if you set it to transparent images they're gone.
Add these lines to your Assets.txt file which you import into your map.
Edit:
Right, I just figured out why my change wasn't working. The game changes the visible state of the images for the checkboxes. Therefor <Visible val='false'/> won't work. What does work is moving them offscreen:
So what about the command panel where the units actions are listed?
These are not runtime created elements. They're actually created while the game is loading. You can find each button (00 through 15) with the following code:
So how do you modify how the information is displayed there then?
You do that by modifying the Template. Yes you can modify templates.
Have you noticed how at the end of the frame you modify you normally say ' file="GameUI" ' ?
Well this defines what the source file is. The GameUI file is the source file for everything that is initially shown and never altered.
Say I wanted to modify the EquipmentIcon. This Icon is generated when you select an unit. It is not visible by default, and not accessible.
You see the three icons above with the red border. Well I've modified them with the following little snippit:
This is easy after all isn't it. Well what can and can't you do with this, is for you to find out. I've only been back to the SC2Editor for 3 hours.
Enjoy this little piece of knowledge.
It's been a few years since I've been active here, let me see if I can find out how to help you.
Just booted up my map-editor going to place an unit in it and see if I can hide the upgrade numbers.
0
Commandpanel 1x15 is in the spoiler below.
You can copy this into a new layout window that you can create in the UI editor.
Also know that the 1x10 example shown above the first 5 buttons are not available onscreen.
0
there is probably another frame above it that blocks the mouse clicks. This is usually the source of problems with mouse clicks not working. I haven't looked into your specific situation though.
0
I think he wants to know how to remove those two green lines. I have no idea where they come from, but then again I haven't looked into it.
0
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.
0
@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:
0
@ACARACO: Go probably:
as long as the frame locations haven't changed you can find them here: http://helral.eu/SC2LayoutFrames.html
Including a nice button which tells you the frame notation you need ;)
Hope this helps.
0
Good question. I've several things through the UI but nothing worked so far.
You can however change the image used, so if you set it to transparent images they're gone.
Add these lines to your Assets.txt file which you import into your map.
Edit: Right, I just figured out why my change wasn't working. The game changes the visible state of the images for the checkboxes. Therefor <Visible val='false'/> won't work. What does work is moving them offscreen:
0
@Seppo1835: Go
can you add some screenshots of what happens?
to me this sounds really vague and I have no idea how to reproduce it so that I can take a look at it.
0
Questions
These are not runtime created elements. They're actually created while the game is loading. You can find each button (00 through 15) with the following code:
where
##
is the button number.0
You might be thinking like, everything is already predefined in the UI. Well it is and it isn't. Kinda odd isn't it?
Well let's take a look at what we know, take the InfoPaneUnit for example:
Let's look into the EquipmentPanel part. This panel displays:
Now zooming in on the description of the frame:
So how do you modify how the information is displayed there then? You do that by modifying the Template. Yes you can modify templates.
Have you noticed how at the end of the frame you modify you normally say ' file="GameUI" ' ? Well this defines what the source file is. The GameUI file is the source file for everything that is initially shown and never altered.
Say I wanted to modify the EquipmentIcon. This Icon is generated when you select an unit. It is not visible by default, and not accessible.
You see the three icons above with the red border. Well I've modified them with the following little snippit:
The result you can see below:
To also get rid of the overlay image I can change the snippit to be like this:
And here's the result:
This is easy after all isn't it. Well what can and can't you do with this, is for you to find out. I've only been back to the SC2Editor for 3 hours. Enjoy this little piece of knowledge.
0
Hey there,
It's been a few years since I've been active here, let me see if I can find out how to help you. Just booted up my map-editor going to place an unit in it and see if I can hide the upgrade numbers.
Best regards, Helral
Edit:
and here is the snippet that you need:
result:
0
the links have been fixed.
and even added one: Modifying templates
0
about the black bar, look here
0
Do you have it included twice: once through dependencies and once in the map itself perhaps?
I've never worked with a layout specified in a custom dependency before so I don't know much about it.
0
You can move the menubar to the center top. see attached SC2Map for an example and the layout file used for it.