you can get the default minimap and commandcard outside of the default UI using Dialog Items.
Yes, many people have made their own minimap designs, command card designs.
I on the other hand didn't bother with that, and found a way to get the minimap working outside of the default UI.
Here is the Minimap line:
Dialog - Create a Image for dialog (Last created dialog) using the template "MinimapPanel/MinimapPanelTemplate"
And here the CommandCard one:
Dialog - Create a Image for dialog (Last created dialog) using the template "CommandPanel/CommandPanelTemplate"
and here is an image with them outside there UI:
ok now for some more code to make it completely copy&paste stuff.
can you post a map with the GUI minimap in it? because i can't find "Dialog - Create a Image" (i use german editor so it's different even if i display it as raw data)
Create Dialog Item From Listed Template 2 (due to a copy/rename mistake the number 2 got added.)
Create Dialog Item From Listed Template with Details
you can use those functions to easily create the minimap dialog item.
ps. I also posted the raw data version of the action. that is the same in all languages. use ctrl+d to see those terms.
DialogControlCreateFromTemplate <==
Can someone go over what everything does or why you set it like that? I'm still learning through the galaxy editor but I'm really interested in making UIs. But every guide I find tells us what to do and not why we do this. That's not a tutorial those are instructions. It'd be nice to know what I'm doing.
Question: I've noticed that when you do this with a minimap it won't show any pings that the real one would show? Ie if you ping that minimap it'll show up on the real one but not on itself, same goes for any trigger based pings too. Any way to get them displayed as well? Possibly some item that sits over top of the regular UI's minimap?
(Btw big thanks for making this so easy to do, I'm a big fan of it)
Bah a reading fail on my part, sorry. Guess I'll have to find some way around that since this map I'm making really does need pings and stuff like that to show up.
Is there a way to make a single Command Card button's FUNCTIONALITY take up the entire screen, but hide the button's art itself?
I want the player to be able to click anywhere on the screen, and activate a Command Card button (Build Structure). Any idea if that would be possible?
A trigger.
Event: mouse click, action: call the build ability for whatever unit you want.
Sounds like a cleaner solution any ways if that's what you're after.
The build ability requires a target, and the building begins construction immediately. The functionality I, and many others, want, is that of the "Placing" system that Blizzard made. There is no way to access this that we know of, except perhaps through a hacky invisible giant command card button.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
you can get the default minimap and commandcard outside of the default UI using Dialog Items.
Yes, many people have made their own minimap designs, command card designs.
I on the other hand didn't bother with that, and found a way to get the minimap working outside of the default UI.
Here is the Minimap line:
Dialog - Create a Image for dialog (Last created dialog) using the template "MinimapPanel/MinimapPanelTemplate"
And here the CommandCard one:
Dialog - Create a Image for dialog (Last created dialog) using the template "CommandPanel/CommandPanelTemplate"
and here is an image with them outside there UI:
ok now for some more code to make it completely copy&paste stuff.
now for the galaxy code
There are more Templates available and I might be adding them at some other time to this post.
lol did you really just go post a tutorial for this xD. You rreally must want Sixen to news it ;O
Yah, you must. Plus sixen already news his inventory system
Edit:PS, i could use this for my map since of the custom attack system and stuff this would minimize the size of interface
Since disabling the "real" Command Card will shut down hotkeys, you'll have to live without them, though.
Unless Helral got another ingenious solution for that :)
@s3rius: Go
http://www.sc2mapster.com/assets/dialog-item-templates/ <== now as an asset with more then what I've listed above.
Needs to have hotkey support :/
@Helral: Go
Nice find; I've noticed a lot of people asking for ways to move the mini-map independently.
The default UI definition is found inside SC2Layout files within the game's MPQs.
Is there a way to override the default SC2Layouts with your own files inside your map?
can you post a map with the GUI minimap in it? because i can't find "Dialog - Create a Image" (i use german editor so it's different even if i display it as raw data)
@HellGateSc2: Go
use the asset: http://www.sc2mapster.com/assets/dialog-item-templates/
it will add the functions:
you can use those functions to easily create the minimap dialog item.
ps. I also posted the raw data version of the action. that is the same in all languages. use ctrl+d to see those terms.
DialogControlCreateFromTemplate <==
Can someone go over what everything does or why you set it like that? I'm still learning through the galaxy editor but I'm really interested in making UIs. But every guide I find tells us what to do and not why we do this. That's not a tutorial those are instructions. It'd be nice to know what I'm doing.
Its too bad this minimaps bounds cant be changed :(
Question: I've noticed that when you do this with a minimap it won't show any pings that the real one would show? Ie if you ping that minimap it'll show up on the real one but not on itself, same goes for any trigger based pings too. Any way to get them displayed as well? Possibly some item that sits over top of the regular UI's minimap?
(Btw big thanks for making this so easy to do, I'm a big fan of it)
@BumpInTheNight: Go
Known Issues:
so far I haven't found an acceptable solution for it. someone else might have though.
Bah a reading fail on my part, sorry. Guess I'll have to find some way around that since this map I'm making really does need pings and stuff like that to show up.
Is there a way to make a single Command Card button's FUNCTIONALITY take up the entire screen, but hide the button's art itself?
I want the player to be able to click anywhere on the screen, and activate a Command Card button (Build Structure). Any idea if that would be possible?
@NuneShelping: Go
Should work with a dialog that takes up the whole screen with a button that does the same. Make it transparent and you're done!
Well, yeah, but the idea is to use the Command Card because that button activates the "Placement System" Blizzard built.
@NuneShelping: Go
A trigger.
Event: mouse click, action: call the build ability for whatever unit you want.
Sounds like a cleaner solution any ways if that's what you're after.
The build ability requires a target, and the building begins construction immediately. The functionality I, and many others, want, is that of the "Placing" system that Blizzard made. There is no way to access this that we know of, except perhaps through a hacky invisible giant command card button.