Staredit Network > Forums > SC2 Assistance > Topic: Custom UI
Custom UI
Sep 11 2010, 4:11 am
By: payne  

Sep 11 2010, 4:11 am payne Post #1

:payne:

I want to disable to whole Game UI to create my own UI.

The question is, would I need to use triggers to detect if a player press his Ability button or is it possible to make the Dialog act exactly like the Command Card (except that its moved somewhere else and doesn't look the same) ?



None.

Sep 11 2010, 4:19 am Jack Post #2

>be faceless void >mfw I have no face

Quote from payne
I want to disable to whole Game UI to create my own UI.

The question is, would I need to use triggers to detect if a player press his Ability button or is it possible to make the Dialog act exactly like the Command Card (except that its moved somewhere else and doesn't look the same) ?
You would add a dialog box that acts like the command card.

I suppose you know how to remove the current UI, and add dialogs etc.?



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Sep 11 2010, 4:41 am payne Post #3

:payne:

Quote from Jack
I suppose you know how to remove the current UI, and add dialogs
Yup.
Quote from Jack
You would add a dialog box that acts like the command card.
How is my question.



None.

Sep 12 2010, 12:43 am Morphling Post #4



I remember seeing something where you can create a dialog template using the command card template.



None.

Sep 12 2010, 12:58 am Temp Post #5



http://www.sc2mapster.com/assets/dialog-item-templates/ You may want to look at the cons to using this kind of approach



None.

Sep 12 2010, 1:12 am payne Post #6

:payne:

Quote from Temp
http://www.sc2mapster.com/assets/dialog-item-templates/ You may want to look at the cons to using this kind of approach
The fact that disable Game UI disables hotkeys is kind of a major issue.
I guess I'll just use triggers to detect key-press... or would it be too laggy? :S



None.

Sep 12 2010, 1:15 am LoveLess Post #7

Let me show you how to hump without making love.

Quote from payne
Quote from Temp
http://www.sc2mapster.com/assets/dialog-item-templates/ You may want to look at the cons to using this kind of approach
The fact that disable Game UI disables hotkeys is kind of a major issue.
I guess I'll just use triggers to detect key-press... or would it be too laggy? :S
Question is, how fast do you want the response. The faster you want to detect, the more lag it will create.

EDIT:
Also, from the link Temp posted:
Quote
"Hide game UI will disable the hotkeys, even though you've created a Command Card using the Dialog Item." If you do not hide the game UI but just move it outside the screen (there was a tut on that) maybe the H-keys will work


Post has been edited 1 time(s), last time on Sep 12 2010, 2:18 am by NudeRaider. Reason: merged posts



None.

Sep 12 2010, 2:12 am payne Post #8

:payne:

Quote from LoveLess
Also, from the link Temp posted:
Quote
"Hide game UI will disable the hotkeys, even though you've created a Command Card using the Dialog Item." If you do not hide the game UI but just move it outside the screen (there was a tut on that) maybe the H-keys will work
I read this, and thought it made sense... but then I understood that I did not simply want to move the Command Card. I want to have it have a different form also (5 buttons aligned on a single line).



None.

Sep 12 2010, 4:13 am shmeeps Post #9



I believe it is also possible to set the game UI to a really really small opacity, practically making it invisible but still function. Then you could layer dialogs on top of it.

As far as lag with trigger key press detection, that small amount of lag will always be there (somewhere between 50-150ms).



None.

Sep 12 2010, 4:14 am payne Post #10

:payne:

I have already tried to "Set Transparency to 0" for a dialog box, nothing happened. I wonder why it'd work on Game UI. ;o



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
[2024-4-17. : 1:52 am]
Vrael -- hah do you think I was born yesterday?
Please log in to shout.


Members Online: jun3hong