Sorry to bug you again Helral but I'm making a 3rd person RPG tutorial atm and I was going to try and use sc2layouts for the UI but I'm also considering just doing a 'hige all game UI' and doing it through dialogs. The big concern for me to use the original UI is for Blizz's inventory UI (it's a lot easier to use theirs)... so my question to you Helral is can I modify the inventory layout and resize/move the open inventory button? Or even make the inventory CONSTANTLY visible? Is that in our power?
Just wondering if you could let me know before I actually get deep into sc2layouts.
Thanks!
Edit: I see inventory panel on that big list soulcarver posted... but would that include being able to resize and move the actual open/close button for it too? And could I hide EVERY UI panel except just inventory (easily)?
My notices:
1) Visibility bug - you place <Visible val="false"/> to the frame (example - minimap frame in GameUI.sc2layout ) and frame still visible try to add this string to child frames of your frame.
for hiding minimap i had to add <Visible val="false"/> to GameUI.sc2layout minimap frame
and after:
i still tryin figure out how to hide frames more easy and why minimap hides only if you hide these frames
2) You dont need to remove the old SC2Layout files to avoid update bug
This bug caused when you Import the new SC2Layout files and do not save map! - you press Test Map and this is moment where your new SC2Layout file gets replaces back by old SC2Layout file
so to avoid this bug you can replace - but always save immediate after replacing
OK .... I can manage to hide everything but the big black box that is the back of the consule UI.... wtf mate...
nm found your earlier message about having to change the part in the data editor..... why isnt this controlled by the XML files lol
HEY BTW YOU CAN HIDE SPECIFIC PANELS WITH THE "HIDE UI PANEL FOR PLAYER" triggering action ... so like... if you want a part of it on or off at times... use the trigger... I have everything hidden except the mini map... but i want the mini map on for debugging.... but not actuall play
you should be able to change the size of the inventory slots, and position of the open inventory button.
Maybe contact me this weekend on IRC and I'll have a look with ya.
Attached is an image of my current UI layout. The important thing to look at is how I moved the InfoPanel (includes unit wireframe, hp/energy, name, weapon icon/armor icon, unit attributes, etc) to be on the left with the wireframe/hp/energy/name at the top left, and then the weapon icon/armor icon and attributes to be on the bottom left. This involved editing GameUI of course, and then infopanel and infopaneunit.
My problem as shown in the image is that mousing over your weapon does nothing now. And I can't find a frame anywhere that is for weapon tooltip. I could find command card tooltip, hero weapon tooltip, etc... but nowhere can I find it for the weapon and armor and shield buttons. I don't even remember when it stopped showing... any brilliant minds can figure this out?
P.S. I'm doing this for a tutorial too... so helping me would mean a mention during the vid!
Sure, thanks so much Helral. I attached my gameUI which has the full size of the info pane... then infopanel which spreads out the wireframe from the unit info. Then InfoPaneUnit which moved the name label etc..
So basically the unit info frame which is normally a tiny frame in the bottom-center of your UI is stretched to be the entire vertical screen length, and moved to the left (with wireframe at top left, and weapon/armor at bottom left) as you can see in my previous post's attached image.
As an update for anyone moving the unitinfo panel... I ended up solving my problem by just replacing InfoPanel.sc2layout with the original and then making InfoPaneUnit's anchors be:
I thought it would be nice to post this, after some hour of work, here is my sc2layout:
(its for my Final Frontier RTS map, I needed bigger place for InfoPanel so I could make dialogs in it...)
(note resources, tick and the 2 new mini map button are dialogs, I hope dialogs will be soon positioned by resolution. Also leaderboards will be removed...)
you can change those by importing an Assets.txt file into the GameData dir for your map.
include the following terms (replace #Race# with Terr/Prot/Zerg):
UI/ResourceIcon0_#Race#
UI/ResourceIcon1_#Race#
UI/ResourceIcon2_#Race#
UI/ResourceIcon3_#Race#
don't really know which is which right now, but you should be able to figure that out using either the Assets.txt files I uploaded in the first post. or by testing.
Actually those are dialogs, as some of the resources will only shown up when you select planet as each planet has its own resources, also they may have more than 1mill value, so I thought it would be easier to make them with dialogs and hope that at one day blizz will make dialogs to react for resolution.
But I had really hard time to make background for the info panel, command card and for the minimap. (which were made by the sc2layout files) Also you can change many stuff on the infopanel. (like the wireframe of the units are bigger on my map.)
Wait so I import this file "Assets.txt" and does it specify in there the actual physical file? Like if I have a custom icon I want to use for 'silver' and 'gold instead of minerals and vespene... where do I specify that if I import it into my map?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
hey helral, I imported your "screen shot UI" that you hosted up top of this post.
It doesnt appear to look like the screen shot you gave us though
Dont believe I did anything wrong... I imported all the files in the rar and set them all to the same path
Sorry to bug you again Helral but I'm making a 3rd person RPG tutorial atm and I was going to try and use sc2layouts for the UI but I'm also considering just doing a 'hige all game UI' and doing it through dialogs. The big concern for me to use the original UI is for Blizz's inventory UI (it's a lot easier to use theirs)... so my question to you Helral is can I modify the inventory layout and resize/move the open inventory button? Or even make the inventory CONSTANTLY visible? Is that in our power?
Just wondering if you could let me know before I actually get deep into sc2layouts.
Thanks!
Edit: I see inventory panel on that big list soulcarver posted... but would that include being able to resize and move the actual open/close button for it too? And could I hide EVERY UI panel except just inventory (easily)?
My notices:
1) Visibility bug - you place <Visible val="false"/> to the frame (example - minimap frame in GameUI.sc2layout ) and frame still visible try to add this string to child frames of your frame.
for hiding minimap i had to add <Visible val="false"/> to GameUI.sc2layout minimap frame
and after:
<Frame type="MinimapPanelTooltip" name="MinimapPanelTooltipTemplate" template="StandardTemplates/StandardGameTooltip">
<Frame type="Button" name="MinimapButtonTemplate">
<Frame type="MinimapPanel" name="MinimapPanelTemplate">
<Frame type="Minimap" name="Minimap">
in MinimapPanel.SC2Layout
i still tryin figure out how to hide frames more easy and why minimap hides only if you hide these frames
2) You dont need to remove the old SC2Layout files to avoid update bug
This bug caused when you Import the new SC2Layout files and do not save map! - you press Test Map and this is moment where your new SC2Layout file gets replaces back by old SC2Layout file
so to avoid this bug you can replace - but always save immediate after replacing
UPD: ohh uhh and thanks you for the titorial ♥♥♥
OK .... I can manage to hide everything but the big black box that is the back of the consule UI.... wtf mate...
nm found your earlier message about having to change the part in the data editor..... why isnt this controlled by the XML files lol
HEY BTW YOU CAN HIDE SPECIFIC PANELS WITH THE "HIDE UI PANEL FOR PLAYER" triggering action ... so like... if you want a part of it on or off at times... use the trigger... I have everything hidden except the mini map... but i want the mini map on for debugging.... but not actuall play
@OneTwoSC: Go
you should be able to change the size of the inventory slots, and position of the open inventory button.
Maybe contact me this weekend on IRC and I'll have a look with ya.
Another way to hide a frame is to set the alpha to 0.
Does anyone know how to change the selection group number size or better the height and width of the little pictures? I´ve tried to modify
in the InfoPanel.SC2Layout, but could only change the position.
What about simply add width and height paramerers?
Btw about import bug solution - did you try my method with saving after import?
I got a problem if someone can solve it...
Attached is an image of my current UI layout. The important thing to look at is how I moved the InfoPanel (includes unit wireframe, hp/energy, name, weapon icon/armor icon, unit attributes, etc) to be on the left with the wireframe/hp/energy/name at the top left, and then the weapon icon/armor icon and attributes to be on the bottom left. This involved editing GameUI of course, and then infopanel and infopaneunit.
My problem as shown in the image is that mousing over your weapon does nothing now. And I can't find a frame anywhere that is for weapon tooltip. I could find command card tooltip, hero weapon tooltip, etc... but nowhere can I find it for the weapon and armor and shield buttons. I don't even remember when it stopped showing... any brilliant minds can figure this out?
P.S. I'm doing this for a tutorial too... so helping me would mean a mention during the vid!
my bug was due to moving imported files. importing it straight over doesn't give a problem.
try the InfoPaneGroup.SC2Layout file
@OneTwoSC: Go
I'll see if I can figure it out, would be nice to have your UnitInfo.SC2Layout file so I can use the same setup for checking.
@Helral: Go
Sure, thanks so much Helral. I attached my gameUI which has the full size of the info pane... then infopanel which spreads out the wireframe from the unit info. Then InfoPaneUnit which moved the name label etc..
So basically the unit info frame which is normally a tiny frame in the bottom-center of your UI is stretched to be the entire vertical screen length, and moved to the left (with wireframe at top left, and weapon/armor at bottom left) as you can see in my previous post's attached image.
As an update for anyone moving the unitinfo panel... I ended up solving my problem by just replacing InfoPanel.sc2layout with the original and then making InfoPaneUnit's anchors be:
<Frame type="InfoPaneUnit" name="InfoPaneUnit" template="InfoPaneUnit/InfoPaneUnitTemplate">
<Anchor side="Top" relative="$parent" pos="Mid" offset="400"/>
<Anchor side="Bottom" relative="$parent" pos="Max" offset="0"/>
<Anchor side="Left" relative="$parent" pos="Min" offset="-65"/>
<Width val="402"/>
</Frame>
Asumming in gameUI.sc2layout your infopanel anchor is set as:
<Frame type="InfoPanel" name="InfoPanel" template="InfoPanel/InfoPanelTemplate">
<BatchImages val="true"/>
<BatchText val="true"/>
<Anchor side="Left" relative="$parent" pos="Min" offset="0"/>
<Anchor side="Bottom" relative="$parent" pos="Max" offset="0"/>
<Anchor side="Right" relative="$parent" pos="Mid" offset="0"/>
<Anchor side="Top" relative="$parent" pos="Min" offset="0"/>
</Frame>
Anyway to make custom background for ui with this? (Without loading the ui into dialog...)
edit: I found it (I should read more before asking:D)
I thought it would be nice to post this, after some hour of work, here is my sc2layout:
(its for my Final Frontier RTS map, I needed bigger place for InfoPanel so I could make dialogs in it...)
(note resources, tick and the 2 new mini map button are dialogs, I hope dialogs will be soon positioned by resolution. Also leaderboards will be removed...)
@Hookah604:
Hey Hookah how'd you change icons for resources or is it a custom dialog youre using?
@OneTwoSC: Go
you can change those by importing an Assets.txt file into the GameData dir for your map.
include the following terms (replace #Race# with Terr/Prot/Zerg):
don't really know which is which right now, but you should be able to figure that out using either the Assets.txt files I uploaded in the first post. or by testing.
@OneTwoSC: Go
Actually those are dialogs, as some of the resources will only shown up when you select planet as each planet has its own resources, also they may have more than 1mill value, so I thought it would be easier to make them with dialogs and hope that at one day blizz will make dialogs to react for resolution.
But I had really hard time to make background for the info panel, command card and for the minimap. (which were made by the sc2layout files) Also you can change many stuff on the infopanel. (like the wireframe of the units are bigger on my map.)
@Helral: Go
I edited them the other day:
@petrov1: Go
so it's:
@Helral: Go
Wait so I import this file "Assets.txt" and does it specify in there the actual physical file? Like if I have a custom icon I want to use for 'silver' and 'gold instead of minerals and vespene... where do I specify that if I import it into my map?