it doesn't know what you mean with relative="ControlPanel". and since it doesn't know it can't place it on the screen. use $parent or $parent/$parent, or some reference like $parent/InfoPanel
that error is because creation of a frame of that type is not allowed by non-blizzard maps.
if you wrongly reference an existing frame then you can also get that message because the game thinks you want to create a new frame of that type.
I will add this to the list above when I have more time.
show/hide game UI stores the game UI state at the moment of hiding, so if you hide it twice it is stored as hidden instead of leaving it as it is, Show game UI doesn't work then anymore. Going into cinematic mode also calls this trigger, so if your UI is hidden when cinematic mode starts then it loses the correct hiding settings.
Best fix is to create an action definition which sets the needed frames to show upon calling it. Also don't forget to reset the screenmode if needed.
below is the Show/Hide game UI action definition as it is shown in the trigger editor:
ow and you can remove quite a bit of the code at the commandpanel. It might be that my changes there also affected the mouseover, I'll add those adjustments here in a moment.
Edit:
This is the settings I used for the test for the commanpanel:
the problem is the one that is not 20 or -20. it causes an overlap with the commandpanel and catches the mouseclicks that are intended for the commandpanel.
Here are the problems you are running into with why it does it like that:
1. The commandcard is not centered.
You have set the width of the command card to be 1200, this will result in 600 px from the center to each side.
The first button of the command card will thus be 600px from the center, and the 5th will be 296px (600-(4*76)) from the center.
to solve this problem you can just resize the command card with to be the exact size you want it to be by changing the width value
2. the info panel is anchored in the middle of the screen.
the anchors are set so that the info panel should appear centered. Change the anchor as followed:
top anchor: relative $this
left anchor: relative $this
bottom anchor: relative $parent
right anchor: relative $parent
I think you can try to anchor it the menubar. the anchor name for it is: "$parent/$parent/FullscreenUpperContainer/MenuBar" if I'm correct.
hope this helps.
Can you perhaps add a screenshot of how it is when windowed and when not windowed.
Lately I barely have time to create maps for testing of UI changed (RL stuff keeping me from it). So any additional info about the problem that can be posted here can help me help you fix the problem faster :)
did you change anything for the race settings at the data editor? there is an option there which determines which resources are displayed at the resourcepanel.
Also do you have the Hide Supply Panel action or so in use?
0
@IrkumeeLegion: Go
it doesn't know what you mean with relative="ControlPanel". and since it doesn't know it can't place it on the screen. use $parent or $parent/$parent, or some reference like $parent/InfoPanel
0
@Dragoneles: Go
that error is because creation of a frame of that type is not allowed by non-blizzard maps.
if you wrongly reference an existing frame then you can also get that message because the game thinks you want to create a new frame of that type.
I will add this to the list above when I have more time.
0
show/hide game UI stores the game UI state at the moment of hiding, so if you hide it twice it is stored as hidden instead of leaving it as it is, Show game UI doesn't work then anymore. Going into cinematic mode also calls this trigger, so if your UI is hidden when cinematic mode starts then it loses the correct hiding settings.
Best fix is to create an action definition which sets the needed frames to show upon calling it. Also don't forget to reset the screenmode if needed.
below is the Show/Hide game UI action definition as it is shown in the trigger editor:
0
@Fullachain: Go
0
@Fullachain: Go
ow and you can remove quite a bit of the code at the commandpanel. It might be that my changes there also affected the mouseover, I'll add those adjustments here in a moment.
Edit:
This is the settings I used for the test for the commanpanel:
0
Hmmm wonder how mine looks ;p
0
@Fullachain: Go
the problem lies with the last frame definition (inside the inventory panel):
the problem is the one that is not 20 or -20. it causes an overlap with the commandpanel and catches the mouseclicks that are intended for the commandpanel.
0
@Fullachain: Go
1. the tooltips should still appear at their old location, unless you changed that. It is another frame, don't know which one right away.
2. that is the battlenet friends button background that you see there.
0
@Fullachain: Go
Here are the problems you are running into with why it does it like that:
1. The commandcard is not centered.
You have set the width of the command card to be 1200, this will result in 600 px from the center to each side.
The first button of the command card will thus be 600px from the center, and the 5th will be 296px (600-(4*76)) from the center.
to solve this problem you can just resize the command card with to be the exact size you want it to be by changing the width value
2. the info panel is anchored in the middle of the screen.
the anchors are set so that the info panel should appear centered. Change the anchor as followed:
top anchor: relative $this
left anchor: relative $this
bottom anchor: relative $parent
right anchor: relative $parent
Hope this helps.
0
@xxxNEARBYxxx: Go
I think that one is hardcoded. Otherwise it should be listed inside the CommandPanel.
0
@Hookah604: Go
I think you can try to anchor it the menubar. the anchor name for it is: "$parent/$parent/FullscreenUpperContainer/MenuBar" if I'm correct.
hope this helps.
0
@Hookah604: Go
Can you perhaps add a screenshot of how it is when windowed and when not windowed.
Lately I barely have time to create maps for testing of UI changed (RL stuff keeping me from it). So any additional info about the problem that can be posted here can help me help you fix the problem faster :)
0
@Hookah604: Go
have you tried resetting the right anchor?
<anchor side='right' relative='$this' pos='max' offset='0'/>
or otherwise the screen resolution might be different, (like 16x10 vs 16x9) orso
0
@Blazart: Go
try preloading the image using the preload trigger functionality
0
@MiketheSspike: Go
did you change anything for the race settings at the data editor? there is an option there which determines which resources are displayed at the resourcepanel.
Also do you have the Hide Supply Panel action or so in use?