I understand the UI editor has changed a lot over the past few years so a lot of the tutorials are now obsolete. (They seem wildly complicated though anyway, you have to go into some layout text files and type code apparently?)
Anyway, is there a simpler way to do this? I just want to bump the objective menu down a few pixels so I can use my custom hero status bar I'm working on. If anyone was able to dig up a good tutorial for this I'd also be super happy. Thanks!
Assuming you are familiar with the trigger editor this is very easy to do.
You can reference default UI elements using the "Hookup Standard Dialog Item" action. The name for the objective dialog is "UIContainer/FullscreenUpperContainer/ObjectivePanel" and is the type, surprise, panel. You can then adjust it's position within the entire screen using "Move Dialog Item", or anchor it to something with "Attach Dialog Item to Dialog Item".
Yeah that SHOULD totally work. I did some testing and it seems that the below trigger only works with Liberty dependencies only - if Swarm is on, then nothing happens. The only way I could get this to work is on a blank test map with only Liberty dependencies.
Then, if I loaded Swarm dependencies onto that blank map, I saw this:
Here's my really straightforward trigger, could definitely use some further guidance. Thanks so much. :)
I understand the UI editor has changed a lot over the past few years so a lot of the tutorials are now obsolete. (They seem wildly complicated though anyway, you have to go into some layout text files and type code apparently?)
Anyway, is there a simpler way to do this? I just want to bump the objective menu down a few pixels so I can use my custom hero status bar I'm working on. If anyone was able to dig up a good tutorial for this I'd also be super happy. Thanks!
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)
Assuming you are familiar with the trigger editor this is very easy to do.
You can reference default UI elements using the "Hookup Standard Dialog Item" action. The name for the objective dialog is "UIContainer/FullscreenUpperContainer/ObjectivePanel" and is the type, surprise, panel. You can then adjust it's position within the entire screen using "Move Dialog Item", or anchor it to something with "Attach Dialog Item to Dialog Item".
If you are trying to adjust other UI frames and trying to find the corresponding name, http://www.helral.eu/SC2LayoutFrames.html is a wonderful website.
Yeah that SHOULD totally work. I did some testing and it seems that the below trigger only works with Liberty dependencies only - if Swarm is on, then nothing happens. The only way I could get this to work is on a blank test map with only Liberty dependencies.
Then, if I loaded Swarm dependencies onto that blank map, I saw this:
Here's my really straightforward trigger, could definitely use some further guidance. Thanks so much. :)
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)