Hiding UI

Discussion in 'Starcraft 2 (SC2) Editor Help' started by Exide, Jan 15, 2012.

  1. Exide

    Exide I am amazingly focused right now!

    Ratings:
    +449 / 0 / -0
    Hi.

    I want to hide all the UI - just like in Cinematic mode - without using Cinematic mode (because when in Cinematic mode Escape brings up the menu, like F10 does, and I need Escape.)
    Is it possible to hide all the UI without enabling Cinematic mode somehow?

    Thanks in advance.


    EDIT:
    I found a couple of UI - Hide functions that I played around with.
    I made a trigger like this:

    Trigger:
    • Hide UI
      • Events
        • Game - Map initialization
      • Local Variables
      • Conditions
      • Actions
        • UI - Hide Achievements Menu Button for (All players)
        • UI - Hide Achievements Menu Button for (All players)
        • UI - Hide Alert Panel for (All players)
        • UI - Hide Alliance Button for (All players)
        • UI - Hide Cash Panel for (All players)
        • UI - Hide Character Sheet Button for (All players)
        • UI - Hide Command Panel for (All players)
        • UI - Hide Console Panel for (All players)
        • UI - Hide Control Group Panel for (All players)
        • UI - Hide Credits Panel for (All players)
        • UI - Hide Error Display Panel for (All players)
        • UI - Hide Help Menu Button for (All players)
        • UI - Hide Hero Panel for (All players)
        • UI - Hide Idle Worker Button for (All players)
        • UI - Hide Info Panel for (All players)
        • UI - Hide Inventory Panel for (All players)
        • UI - Hide Mercenary Panel for (All players)
        • UI - Hide Minimap Panel for (All players)
        • UI - Hide Mission Archive Panel for (All players)
        • UI - Hide Mission Time Panel for (All players)
        • UI - Hide Objective Panel for (All players)
        • UI - Hide Planet Panel for (All players)
        • UI - Hide Purchase Panel for (All players)
        • UI - Hide Pylon Button for (All players)
        • UI - Hide Research Panel for (All players)
        • UI - Hide Resource Panel for (All players)
        • UI - Hide Room Panel for (All players)
        • UI - Hide Supply Frame for (All players)
        • UI - Hide Team Resource Button for (All players)
        • UI - Hide Tech Glossary Panel for (All players)
        • UI - Hide Tech Tree Panel for (All players)
        • UI - Hide Tip Alert Panel for (All players)
        • UI - Hide Victory Panel for (All players)
        • ------- Comment
        • UI - Hide minimap camera field of view
        • UI - Disable mouse drag selection for (All players)


    (I am using every UI - Hide function I could find except for two: "Hide Battle UI" (only Blizzard are allowed to use this) and "Hide Menu Bar" (messes up the Escape button).


    Doing this results in this:

    http://img703.imageshack.us/img703/192/32041460.jpg

    -Everything that I wanted to hide is hidden, except for that tiny, black, annoying button on the right side of the window.
    Does anyone know how to hide that annoying little button?
     
  2. Dave312

    Dave312 Censored for your safe viewing

    Ratings:
    +269 / 0 / -0
    Just use the Show/Hide Game UI action. It will hide every frame rather than having to go through and select them all and it should also remove that black button.
     
  3. Exide

    Exide I am amazingly focused right now!

    Ratings:
    +449 / 0 / -0
    That would be perfect, if it weren't for the Esccape button turns into F10 (it opens the in-game menu, I don't want that.)

    Is it not possible to view what Show/Hide Game UI looks like in "JASS"? (Or whatever the SC2 language is called.)
    I am hoping it would be something like this:

    ShowGameUI_BJ(true/false)

    Then it would be possible to see what it really does.




    EDIT:
    I found out what the "Galaxy" command for Hide Game UI looks like:

    libNtve_gf_HideGameUI(false, PlayerGroupAll());

    So I googled it and found this thread:

    http://www.sc2mod.com/board/index.php?page=Thread&threadID=384

    Now I just need to know how to create and use custom scripts..
     
  4. Dave312

    Dave312 Censored for your safe viewing

    Ratings:
    +269 / 0 / -0
    I never realised it did that as well. It seems that as soon as the menu bar is hidden, Escape defaults to being a shortcut for the menu. For this reason, I believe that using galaxy to hide the game interface will not make any difference.

    Use Show/Hide Game UI to hide every frame and then use Show/Hide UI Frame to show the Menu Frame. This will get rid of that black box and still allow you to use the escape button because the menu button will be shown. I have tested this and it works.
     
    • Like Like x 1
  5. Exide

    Exide I am amazingly focused right now!

    Ratings:
    +449 / 0 / -0
    My first thought was to check and see what it does, then remove the part about the menu.

    Works really well, thanks. =)

    Problem solved.
     

Share This Page