• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Hide all UI except Map in 1.31 NON REFORGED

Status
Not open for further replies.
Level 7
Joined
Sep 11, 2013
Messages
220
Guys I was wondering. I know how to hide UI with 2 JASS codes but is there a way to unhide the MAP? Non-reforged version 1.31 tft.

This is what i use in trigger editor:

Custom Script: call BlzHideOriginFrames(true)

Custom Script: call BlzFrameSetAllPoints(BlzGetOriginFrame(ORIGIN_FRAME_WORLD_FRAME, 0), BlzGetOriginFrame(ORIGIN_FRAME_GAME_UI, 0))
 
Level 7
Joined
Sep 11, 2013
Messages
220
If possible I want to make the minimap maybe double sized? Is it possible to unhide without border parts the QUEST, MENU, LOG? I dont want the ALLIES and Day/Night thing.

[EDIT]

I tried to unhide the quest or menu buttons but they dont.

Cutom script: call BlzFrameSetVisible(BlzGetOriginFrame(ORIGIN_FRAME_SYSTEM_BUTTON, 0), true)

0 is for menu right?
 
Level 11
Joined
Dec 11, 2009
Messages
234
I'm not sure about changing minimap size, can't find a way to do it (at least in 1.31.1). Even simply moving it causes bugs, like I described here.

As for buttons:
JASS:
    call BlzFrameSetVisible(BlzGetFrameByName("UpperButtonBarFrame", 0), true)
    //call BlzFrameSetVisible(BlzGetOriginFrame(ORIGIN_FRAME_SYSTEM_BUTTON, 0), true)  // F10 (Menu)
    call BlzFrameSetVisible(BlzGetOriginFrame(ORIGIN_FRAME_SYSTEM_BUTTON, 1), false)   // F11 (Allies)
    //call BlzFrameSetVisible(BlzGetOriginFrame(ORIGIN_FRAME_SYSTEM_BUTTON, 2), true)  // F12 (Log)
    //call BlzFrameSetVisible(BlzGetOriginFrame(ORIGIN_FRAME_SYSTEM_BUTTON, 3), true)  // F9  (Quests)
Commented lines are not needed, but I left them just in case.
 

Uncle

Warcraft Moderator
Level 74
Joined
Aug 10, 2018
Messages
7,957
Hide UI:
vJASS:
    call BlzFrameSetAllPoints(BlzGetOriginFrame(ORIGIN_FRAME_WORLD_FRAME, 0), BlzGetOriginFrame(ORIGIN_FRAME_GAME_UI, 0))
    call BlzHideOriginFrames(true)
Unhide UI:
vJASS:
    call BlzHideOriginFrames(false)
Adjust UI Scale - Try messing around with the Index (0):
vJASS:
    local framehandle fh = BlzGetOriginFrame(ORIGIN_FRAME_MINIMAP, 0)
    call BlzFrameSetScale(fh, 2.0)
^This doesn't seem to work.
 

Attachments

  • UI GUI.w3x
    17.4 KB · Views: 75
Last edited:
Level 7
Joined
Sep 11, 2013
Messages
220
You can change the text that appears there.
Oh ok2 cool and how do I do that?

Here is an example of how you can move and change the minimap size.

JavaScript:
this.frame = BlzGetOriginFrame(ORIGIN_FRAME_MINIMAP, 0);
BlzFrameClearAllPoints(this.frame);
BlzFrameSetPoint(this.frame, FRAMEPOINT_BOTTOMLEFT, Default.gameUI, FRAMEPOINT_BOTTOMLEFT, 0.0200, 0.009);
BlzFrameSetSize(this.frame, 0.10, 0.09)

Does this work on 1.31 warcraft non reforged?
 
Status
Not open for further replies.
Top