I'm trying to change the supply icon image. This is my layout file (doesn't work):
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Desc><Frametype="GameUI"name="GameUI"><!-- UI Container - for all ui elements above the world --><Frametype="Frame"name="UIContainer"><!-- Fullscreen upper UI elements - above the console --><Frametype="Frame"name="FullscreenUpperContainer"><Frametype="ResourcePanel"name="ResourcePanelTemplate"><Frametype="Image"name="SupplyIcon"><Textureval="@@UI/ResourceIconTime"layer="0"/></Frame></Frame></Frame></Frame></Frame></Desc>
the entire framesetup is wrong.
Also for adjusting the Icon you can also change the reference by adding an Assets.txt file which contains the correct setup.
the entire framesetup is wrong.
Also for adjusting the Icon you can also change the reference by adding an Assets.txt file which contains the correct setup.
It didn't worked. :( I have tried to change some other frames and they work. But when I try to change the supply icon, for some reason it doesn't work.
I also tried to change it with the assets.txt file, but I had no luck.
Maybe this is on the list of things that we can't change. The link of that list seems to be broken in the tutorial.
Can you add "Equip enabled" to containers via sc2layout so that certain classes of items will get the equip bonus if in certain slots?
Because I'm using a sc2layout that has an always open inventory, but to get that you cannot set any item container in the data editor (so cant set Enable Class items in item container)
So basically right now since cant set "Enabled Flag in data editor", items that should only give weapon bonus in the weapon class slots, are giving bonuses even in storage slots
So is there a way to do set "Equip= enabled flags" in sc2layouts?
It didn't worked. :( I have tried to change some other frames and they work. But when I try to change the supply icon, for some reason it doesn't work.
I also tried to change it with the assets.txt file, but I had no luck.
Maybe this is on the list of things that we can't change. The link of that list seems to be broken in the tutorial.
Can you add "Equip enabled" to containers via sc2layout so that certain classes of items will get the equip bonus if in certain slots?
Because I'm using a sc2layout that has an always open inventory, but to get that you cannot set any item container in the data editor (so cant set Enable Class items in item container)
So basically right now since cant set "Enabled Flag in data editor", items that should only give weapon bonus in the weapon class slots, are giving bonuses even in storage slots
So is there a way to do set "Equip= enabled flags" in sc2layouts?
nope, the Layout Files can only handle layout, and not actual game functionality.
funny thing is though, I think the very first time i tried it, the "equip" bonus worked as planned (the item only would give the bonus in the weapon slots, and not in the storage slots) but since then the "equip" requirement is messed up and is applied to all slots, even storage ones.
well since sc2layouts is only appearance, why is it that the "always open inventory method sc2layout" requires no item container set in data editor?
there must be a way to have item containers in data editor, but still use sc2layout to change the appearance so always open right?
funny thing is though, I think the very first time i tried it, the "equip" bonus worked as planned (the item only would give the bonus in the weapon slots, and not in the storage slots) but since then the "equip" requirement is messed up and is applied to all slots, even storage ones.
well since sc2layouts is only appearance, why is it that the "always open inventory method sc2layout" requires no item container set in data editor?
Because it uses the location where the bags (item containers) are placed as inventory slots instead of the contents of bags.
there must be a way to have item containers in data editor, but still use sc2layout to change the appearance so always open right?
I know of a way to make it always open, but it becomes unuseable at that moment. mouse clicks don't affect the inventory.
The main problem is that the visibility and position of the inventory panels is handled by the game instead of the SC2Layout files. So you can't modify the position and visibility inside the SC2Layout files :(
Is there a way to manipulate stuff through triggers? Like I create a Frame that has a portrait, can I then refer to said protrait and set it via scripting?
Hi, im having a hard time trying to keep the inventory on the left of the screen for any size resolution (4:3 or 16:9) monitors
I have tried, anchor left, right, mid, min, max, and I can end up on the left each time, but when i switch to non wide screen, the inventory is half off the screen no matter what option I used to move it to the left.
I have been using the InventoryButtons, since that seems like that is what moves the entire inventory around:
I am having trouble moving friends and microphone buttons.
If I change BattleNetButtonFriendsFrameImage only its background box changed and the friends button moves to the right button corner.
Anchoring to it the BattleNetButtonMicrophoneFrameImage doesnt help.
To adjust the UI you first need to know how the default UI is created. The default SC2Layout files can be found inside the following SC2Archive (MPQ) files:
[SC2InstallationDir]\Mods\Core.SC2Mod\Base.SC2Data (core file)
path: UI/Layout
[SC2InstallationDir]\Versions\Base123456\patch.SC2Archive (latest file)
path: Mods/Core.SC2Mod/Base.SC2Data/UI/Layout
Sorry for being such a noob at this, but how do I view the contents of these archives?
I also tried to downloaded a few of the layout files linked on the first page, but when I go to 'import' in the editor and browse the location for the files, the sc2layout files I downloaded just will not show up. Am I doing something wrong?
I also tried to downloaded a few of the layout files linked on the first page, but when I go to 'import' in the editor and browse the location for the files, the sc2layout files I downloaded just will not show up. Am I doing something wrong?
Save the map after importing, else they won't show up.
I am having trouble moving friends and microphone buttons. If I change BattleNetButtonFriendsFrameImage only its background box changed and the friends button moves to the right button corner. Anchoring to it the BattleNetButtonMicrophoneFrameImage doesnt help.
copied from third post of this tutorial:
The battlenet friends button cannot be positioned using layout files, use this action instead: "Set BattleNet Button Offset".
I'm trying to change the supply icon image. This is my layout file (doesn't work):
What I'm doing wrong?
@IliIilI: Go
the entire framesetup is wrong.
Also for adjusting the Icon you can also change the reference by adding an Assets.txt file which contains the correct setup.
anyway this is what you want:
nevermindIt didn't worked. :( I have tried to change some other frames and they work. But when I try to change the supply icon, for some reason it doesn't work.
I also tried to change it with the assets.txt file, but I had no luck.
Maybe this is on the list of things that we can't change. The link of that list seems to be broken in the tutorial.
Can you add "Equip enabled" to containers via sc2layout so that certain classes of items will get the equip bonus if in certain slots?
Because I'm using a sc2layout that has an always open inventory, but to get that you cannot set any item container in the data editor (so cant set Enable Class items in item container)
So basically right now since cant set "Enabled Flag in data editor", items that should only give weapon bonus in the weapon class slots, are giving bonuses even in storage slots
So is there a way to do set "Equip= enabled flags" in sc2layouts?
the following info in Assets.txt worked for me:
nope, the Layout Files can only handle layout, and not actual game functionality.
Hmmm I see....
funny thing is though, I think the very first time i tried it, the "equip" bonus worked as planned (the item only would give the bonus in the weapon slots, and not in the storage slots) but since then the "equip" requirement is messed up and is applied to all slots, even storage ones.
well since sc2layouts is only appearance, why is it that the "always open inventory method sc2layout" requires no item container set in data editor?
there must be a way to have item containers in data editor, but still use sc2layout to change the appearance so always open right?
Because it uses the location where the bags (item containers) are placed as inventory slots instead of the contents of bags.
I know of a way to make it always open, but it becomes unuseable at that moment. mouse clicks don't affect the inventory.
The main problem is that the visibility and position of the inventory panels is handled by the game instead of the SC2Layout files. So you can't modify the position and visibility inside the SC2Layout files :(
Is there a way to manipulate stuff through triggers? Like I create a Frame that has a portrait, can I then refer to said protrait and set it via scripting?
Go play Antioch Chronicles Remastered!
Also, coming soon, Antioch Episode 3: Thoughts in Chaos!
Dont like mapster's ugly white? Try Mapster's Classic Skin!
Hi, im having a hard time trying to keep the inventory on the left of the screen for any size resolution (4:3 or 16:9) monitors
I have tried, anchor left, right, mid, min, max, and I can end up on the left each time, but when i switch to non wide screen, the inventory is half off the screen no matter what option I used to move it to the left.
I have been using the InventoryButtons, since that seems like that is what moves the entire inventory around:
<Frame type="InventoryPanel" name="GameUI/UIContainer/ConsoleUIContainer/InventoryPanel" file="GameUI">
<Frame type="CommandTooltip" name="InventoryTooltip">
<Anchor side="Bottom" relative="$parent" pos="Max" offset="-260"/>
<Anchor side="Left" relative="$parent" pos="Mid" offset="-20"/>
<Anchor side="Right" relative="$parent" pos="Mid" offset="0"/>
</Frame>
<Frame type="InventoryContainer" name="InventoryButtons">
<Anchor side="Bottom" relative="$parent" pos="Max" offset="-120"/>
<Anchor side="Left" relative="$parent" pos="Max" offset="-3280"/>
So right now on semi wide and wide screen 16:9, everything is fine
but on 4:3 non wide screen, the Inventory is too far left and half of it is off the screen
What things should I change to the "inventoryButtons" to keep the inventory on the left of the screen but visible for anyone (4:3 or 16:9)?
Thanks
@Alevice: Go
This would indeed be awsome, but it seems to be impossible. For now.
@HatsuneMikuMegurine: Go
Didn't really look into it, but an offset of -3280 is bound to fail. Typo? If you want to anchor to the left side use Min and a small offset.
nope not a typo, that huge offset correctly moves the entire inventory on the left screen (for my 1440X900)
I have tried, anchor left (min, mid, max ), right (min, mid, max ), and all will end half off the screen when i change to non widescreen 4:3
here is the offset of using anchor left Min
<Frame type="InventoryContainer" name="InventoryButtons">
<Anchor side="Bottom" relative="$parent" pos="Max" offset="-120"/>
<Anchor side="Left" relative="$parent" pos="Min" offset="-1280"/>
that moves the inventory to about the same place as using Left Max -3280
however both will move half the inventory off the screen when changing resolutions
so what other configurations will work for this? is it not supposed to be relative parent or something?
@HatsuneMikuMegurine: Go
use the following anchors:
this should get it 25px from the left side.
Thanks Hel and Oba, that worked! didn't know that the right anchor was interfering hehe
I am having trouble moving friends and microphone buttons. If I change BattleNetButtonFriendsFrameImage only its background box changed and the friends button moves to the right button corner. Anchoring to it the BattleNetButtonMicrophoneFrameImage doesnt help.
Sorry for being such a noob at this, but how do I view the contents of these archives?
I also tried to downloaded a few of the layout files linked on the first page, but when I go to 'import' in the editor and browse the location for the files, the sc2layout files I downloaded just will not show up. Am I doing something wrong?
Use an MPQ editor.
Save the map after importing, else they won't show up.
copied from third post of this tutorial:
"Set BattleNet Button Offset".
Which is the root element of the items in the glue folder?
the root file for everything in the UI is GameUI.SC2Layout, you can follow the templates from there to whatever you want to adjust.