some additional things I ve noticed about the SC2Layout files:
referencing the same frame twice in 1 file will disable one of the changes (probably the last one)
this is what you ve done with the "GameUI/UIContainer/ConsoleUIContainer" and thus explains why the console is still there.
some frames ignore the visibility setting. if you need to hide entire frames, use the trigger "Show/Hide UI Frame" instead.
Visibility does always work on: Images, Models
adding of new frames must still be done in existing frames else it will not work.
hope these pointers will help you fix your problem. I ll take a better look at your UI code when I got more time.
in response to the tutorial thread, setting the dialogs to 1, 0, or even -1 still renders above them for some reason..
edit : Im basically done, theres 2 things i cant get though. The frame for the inventory panel still stays there and the world clock, i dont know the frame for it (and, of course, i need to know how to render dialogs below that shit so i can make borders)
Also, i removed the black box, but i cant issue orders that are in the black box
I got kept busy with RL stuff.
Didn't have much time to check the forums sadly.
Let's see......
Think there is a AcceptMouse, or MouseAccept setting which enables/disables the capturing of mouseclicks....
well <RenderPriority val="1"/> should place them below it....
I know that there is a problem with the inventory stuff... somehow the game repositions them itself, so adjusting the positions of it has no effect.
don t know about the game clock, never looked into that one.
I got kept busy with RL stuff.
Didn't have much time to check the forums sadly.
Let's see......
Think there is a AcceptMouse, or MouseAccept setting which enables/disables the capturing of mouseclicks....
well <RenderPriority val="1"/> should place them below it....
I know that there is a problem with the inventory stuff... somehow the game repositions them itself, so adjusting the positions of it has no effect.
don t know about the game clock, never looked into that one.
I'm having the same problem. Helral you misunderstood the question and gave an irrelevant answer two times on two different threads. What He (And I) are talking about is getting *Dialogs* to render below the custom UI elements (.sc2layout). Not a frame in the .sc2layout, but an actual dialog created in the trigger editor. Your solution has no basis on the problem and I'm hoping now that i've made that clear you may know the proper way to accomplish this?
@Hakuzen: Go
You are right that I missed the fact that you were talking about rendering dialogs below UI elements.
The answer to that question is no. But if you want to add a background border image to an UI element you can do so by adding an image frame in the sc2layout file and position this to be right behind the UI element and set the border image on that frame.
Hope that this answers your question correctly.
Ps. If someone does find a method to place a dialog behind an UI element I will be interested in the method.
@Hakuzen: Go You are right that I missed the fact that you were talking about rendering dialogs below UI elements.
The answer to that question is no. But if you want to add a background border image to an UI element you can do so by adding an image frame in the sc2layout file and position this to be right behind the UI element and set the border image on that frame.
Hope that this answers your question correctly.
Ps. If someone does find a method to place a dialog behind an UI element I will be interested in the method.
Yeah, I have some whacky placement of my UI and for that reason using dialogs would have been a far less time consuming and far more ideal way of doing the background frames.. But after messing with it for 4 hours today, I just gave up and used the .sc2layout image frame method.. Thanks though for answering the question, even though the answer is kinda depressing =P
PS: Every time I have some sort of weird issue with galaxyedit and google it, half the time one of your posts or a post that you reply'd on pops up.. So thanks and keep up the awesome work here!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Dis is my UI. Although whats in the UI, the console is still there and there is no info panel border , portrait border
Some of the UI is scrap, like the beginning
@illidans911: Go
some additional things I ve noticed about the SC2Layout files:
this is what you ve done with the "GameUI/UIContainer/ConsoleUIContainer" and thus explains why the console is still there.
Visibility does always work on: Images, Models
hope these pointers will help you fix your problem. I ll take a better look at your UI code when I got more time.
@Helral: Go
--in response to the tutorial thread, setting the dialogs to 1, 0, or even -1 still renders above them for some reason..
edit : Im basically done, theres 2 things i cant get though. The frame for the inventory panel still stays there and the world clock, i dont know the frame for it (and, of course, i need to know how to render dialogs below that shit so i can make borders)
Also, i removed the black box, but i cant issue orders that are in the black box
@illidans911: Go
Still need this...
- Cant issue orders to where the world console used to be
- Cant render dialogs below the UI to make borders
- Cant move the inventory frame / world clock
@illidans911: Go
Got ditched here..
@illidans911: Go
Guess noone cares, eh?
I got kept busy with RL stuff.
Didn't have much time to check the forums sadly.
Let's see......
don t know about the game clock, never looked into that one.
I'm having the same problem. Helral you misunderstood the question and gave an irrelevant answer two times on two different threads. What He (And I) are talking about is getting *Dialogs* to render below the custom UI elements (.sc2layout). Not a frame in the .sc2layout, but an actual dialog created in the trigger editor. Your solution has no basis on the problem and I'm hoping now that i've made that clear you may know the proper way to accomplish this?
@Hakuzen: Go You are right that I missed the fact that you were talking about rendering dialogs below UI elements.
The answer to that question is no. But if you want to add a background border image to an UI element you can do so by adding an image frame in the sc2layout file and position this to be right behind the UI element and set the border image on that frame.
Hope that this answers your question correctly.
Ps. If someone does find a method to place a dialog behind an UI element I will be interested in the method.
Yeah, I have some whacky placement of my UI and for that reason using dialogs would have been a far less time consuming and far more ideal way of doing the background frames.. But after messing with it for 4 hours today, I just gave up and used the .sc2layout image frame method.. Thanks though for answering the question, even though the answer is kinda depressing =P
PS: Every time I have some sort of weird issue with galaxyedit and google it, half the time one of your posts or a post that you reply'd on pops up.. So thanks and keep up the awesome work here!