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:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[01:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
Please log in to shout.


Members Online: jun3hong