I would say this replacing method that we now have to use lets us loose a lot of overhead. I like it :)
I currently have one problem though, concerning anchors. Since not mentioning them means keeping them, how do I get rid of them?
Example; an image has a "left" and a "buttom" anchor by deafault but I really have to use "left" and "top". Just adding the "top" will let me end up having "top" and "bottom" and will therefore center vertically.
I know you can solve this example by just using "bottom" with offset, but in some more complex situations, this doesn't work.
All right guys, I am allmost done! I made a new UI, basically changed everything and there is one problem left that I cant fix.
Here is a screenshot: looki looki
The problem is; How can you cange the position of the group display (the one that lists all units that are selected) by maintaining its functionality?
What I know so far:
The group frame is located in the "InfoPanel" frame (from file "InfoPanel.SC2Layout") and called "InfoPaneGroup".
Its template is stored in "InfoPaneGroup.SC2Layout" but its empty (will probably be filled live ingame, don't know how that workes).
When you add anchors to "InfoPaneGroup" in file "InfoPanel.SC2Layout" you do move the ui but when you do it the functionality is lost (you can't select units or remove them from the list anymore).
Has anyone used new created template in a dialog yet?
I am having some trouble using my map template (basically just a large minimap w/o buttons and a border). It looks like this;
I added the .SC2Layout file to the Custom Layout Files field, so i have the right entry in the Dlft. I use the following line to add the template to my dialog;
First posts are clearly outdated.
If you are using new templates, dont mess with the GameUIData.xml file. Just add the new .SC2Layout file to the UI-Custom Layout Files field that is located in the Game UI Data section of the data editor (all this does is make an entry for the Dlft).
Now my most important quenstion, can you change the layout for one player and keep it for the others? I didn't get if since we are changing the default layout, can there be another one?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Now that removing anchors is not a problem anymore. ;) How the hell would I remove a height/width restriction???
Thanks for the reply, I didn't realize there was another thread to this topic...
I would say this replacing method that we now have to use lets us loose a lot of overhead. I like it :)
I currently have one problem though, concerning anchors. Since not mentioning them means keeping them, how do I get rid of them?
Example; an image has a "left" and a "buttom" anchor by deafault but I really have to use "left" and "top". Just adding the "top" will let me end up having "top" and "bottom" and will therefore center vertically.
I know you can solve this example by just using "bottom" with offset, but in some more complex situations, this doesn't work.
All right, fixed it.
All right guys, I am allmost done! I made a new UI, basically changed everything and there is one problem left that I cant fix. Here is a screenshot: looki looki
The problem is; How can you cange the position of the group display (the one that lists all units that are selected) by maintaining its functionality?
What I know so far:
Thanks in advance...
Has anyone used new created template in a dialog yet? I am having some trouble using my map template (basically just a large minimap w/o buttons and a border). It looks like this;
I added the .SC2Layout file to the Custom Layout Files field, so i have the right entry in the Dlft. I use the following line to add the template to my dialog;
The game crashes everytime so I must have forgotten something...
First posts are clearly outdated. If you are using new templates, dont mess with the GameUIData.xml file. Just add the new .SC2Layout file to the UI-Custom Layout Files field that is located in the Game UI Data section of the data editor (all this does is make an entry for the Dlft).
Now my most important quenstion, can you change the layout for one player and keep it for the others? I didn't get if since we are changing the default layout, can there be another one?