not afaik., there is only 1 command card visible at a time and that is the currently active one. This is to prevent identical hot keys between the diff. command cards from causing a problem.
Is there anyway I could frame the minimap and portrait panel?! I'm getting mad to this.
I have tried everything but none of them work and if I do frames with dialog items they are all different on different screen resolution and I have no idea how to scale it with user resolution. :(
Please help thank you! :)
See the example layout file that adds a border to the minimap-panel and moves it.
Doing it for the portrait panel is done like the minimap just different anchors.
also, is it possible to change the button display of command buttons so they use a different image instead of the default using this method?
yup, just look up which Assets.txt reference they use and adjust it. (<Texture val="Assets.txt_reference"/>)(You can create an empty Assets.txt file add the needed reference lines and import that into the GameData dir in your map)
look up the reference it uses and adjust the values for those in the Assets.txt file. (You can create an empty Assets.txt file add the needed reference lines and import that into the GameData dir in your map)
it is possible to change the graphic for the HP, Energy, XP Bar? And it is possible to rotate the bars? That the start ist on the right side and the max value on the left side?
Ty m0rt3
for SC2Layout files:
yes (use the Assets.txt file or use <Texture val='path/to/custom/image.extension'/> )
Im still a bit confused... How would i, persay, remove the UI (i mean the background, not the info panel / command card / minimap), remove the minimap, throw the info panel to the far left, than flatten the command card to be 1 straight line? (QWERTASDFGZXCVB)
flattening the commandcard to be 1 straight line is explained in the tutorial. (should also be a SC2Layout file listed there.)
Apparently having this inside InfoPaneHero causes the game to crash. I have no clue why. Seems like as long as you try to override the weapon icon, regardless of what you put in the frame, it crashes.
what is the outlying layout info?
(<Desc><Frame...><Frame...><Frame type="EquipmentIcon" name="WeaponIcon">...</Frame></Frame></Frame></Desc>)
Did you guys find a way to move the game time window? I can't find the corresponding layout file...
<Frametype='MissionTimePanel'name='GameUI/UIContainer/ConsoleUIContainer/MissionTimePanel'file='GameUI'><!-- this is the one you are looking for I think --></Frame>
Is there any way of moving the entire command panel off screen or hide it while still allowing units to use the command abilities? I have tried moving it off screen with an offset of 1500 from a bottom anchor. I have tried turning off visibility. It doesn't seem to do anything.
yeah you can just offset it to be outside the UI.
don t forget to reset the top-anchor if you want to use the bottom to move it outside the screen.
using the top anchor is the better way, and you can reset the bottom anchor just to be safe.
reset top anchor code:
<Anchor side='Top' pos='Min' relative='$this' offset='0'/>
No, none of the stubs are hidden. Anyways it's fine, map now doesn't need cinematic mode no more.
BTW Helral, is there a way to modify the Game Menu UI (when you press F10)?
think there is a way to adjust it using triggers. Haven't looked at the menu itself yet.
(doubt that you can change anything but perhaps the background images and button images. although I find that also not very possible)
Also reguarindg your video tutorial . its starts off and the fiels are alredy open , i have no idea witch file that is.
Can you be more precise of which bits you want to have explained better. I might add another tutorial, or add notes to those parts of the tutorial to explain those bits then.
for example if i wana move my mini map to the top right corner , all i need to do is open up the sc2 txt file and copy past your layout into it?? or import it in the editor?
lol im just really scared to just break my map and not know how to fix it .
fixing problems caused by UI layout files can take time if you want an UI to be perfect.
If you want to try it and it breaks, you can return to the point without the UI layout adjustment. You do this by simply remove the files from the map.
Okay I've worked out how things are moved around and I understand how anchors work with parents. But I still have an issue turning off the battle.net mic background image.
I see you're using "<Visible val='False'/>". it is known that this does not always work. So far as I have found it doesn't work for elements which are made visible by the game itself, like: UnitInfo, InfoPaneGroup, BattleNetButtonMicrophoneFrameImage, etc.
To hide these elements you need to move them offscreen using an offset, or use the trigger equivalent action to hide them.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
@TwoDie: Go
see this part of the tutorial
@Zealkg: Go
not afaik., there is only 1 command card visible at a time and that is the currently active one. This is to prevent identical hot keys between the diff. command cards from causing a problem.
See the example layout file that adds a border to the minimap-panel and moves it.
Doing it for the portrait panel is done like the minimap just different anchors.
the Assets.txt files contain these. but you can also place a direct dds file name there without prefixing it with @@.
this is the frame location you need to use.
use this frame type:
@northwind16: Go
the best workaround is to use a dialog method for either the progress bar, or the experience bar.
that doesn't work?
yup, just look up which Assets.txt reference they use and adjust it. (<Texture val="Assets.txt_reference"/>)(You can create an empty Assets.txt file add the needed reference lines and import that into the GameData dir in your map)
look up the reference it uses and adjust the values for those in the Assets.txt file. (You can create an empty Assets.txt file add the needed reference lines and import that into the GameData dir in your map)
the code should be:
but using the Trigger: Show/Hide UI Frame - Hide ControlGroupPanel works.
@m0rt3: place the commandbuttons inside the commandpanel.....
for SC2Layout files: yes (use the Assets.txt file or use <Texture val='path/to/custom/image.extension'/> )
rotate: no
flattening the commandcard to be 1 straight line is explained in the tutorial. (should also be a SC2Layout file listed there.)
hiding the backgrounds:
what is the outlying layout info?
(<Desc><Frame...><Frame...><Frame type="EquipmentIcon" name="WeaponIcon">...</Frame></Frame></Frame></Desc>)
yeah you can just offset it to be outside the UI.
don t forget to reset the top-anchor if you want to use the bottom to move it outside the screen.
using the top anchor is the better way, and you can reset the bottom anchor just to be safe.
reset top anchor code:
<Anchor side='Top' pos='Min' relative='$this' offset='0'/>
check the difference between what I paste here and what you have there:
think there is a way to adjust it using triggers. Haven't looked at the menu itself yet.
(doubt that you can change anything but perhaps the background images and button images. although I find that also not very possible)
@Selfcreation: Go
SC2 Layout content for hiding those console background elements:
@Selfcreation: Go
use the Hide/Show UI Frame -> Hide, Console Panel
Can you be more precise of which bits you want to have explained better. I might add another tutorial, or add notes to those parts of the tutorial to explain those bits then.
That's ok. :) this thread is here to learn stuff about the UI editing anyway :)
Usage of custom layout files is explained here:
How to use custom layout files in your map
Have you looked at the written tutorial above it?
fixing problems caused by UI layout files can take time if you want an UI to be perfect.
If you want to try it and it breaks, you can return to the point without the UI layout adjustment. You do this by simply remove the files from the map.
I see you're using "<Visible val='False'/>". it is known that this does not always work. So far as I have found it doesn't work for elements which are made visible by the game itself, like: UnitInfo, InfoPaneGroup, BattleNetButtonMicrophoneFrameImage, etc.
To hide these elements you need to move them offscreen using an offset, or use the trigger equivalent action to hide them.