Best to look at the tutorials on Valve Developer Wiki. I wrote some
tutorials that make GameUI panels and a bunch of stuff about them.
Michael Kramer wrote:
--
[ Picked text/plain from multipart/alternative ]
Ok, well I found a way to do what I want kinda. The only problem is that the
menu is loading on top of my panel:
I want it to look like:
http://www.siosphere.com/LoginMenu.jpg
But it only looks like that if I click the side panel, which then covers the
menu.
Is there a command to hide the menu? And just the menu (already tried
r_drawvgui 0)
Or, is there a way to gurantee my panel is on top of the menu (I already
tried setting the zPos).
Thanks
-Kramer
On 3/20/06, Michael Kramer <[EMAIL PROTECTED]> wrote:
dang :( well that kinda sucks...hmmmm.....
On 3/20/06, Kamran <[EMAIL PROTECTED]> wrote:
GameMenu is a .res file in your /resource/ directory (if it's not, it's
in the GCF). There's no code for it; it's a Source engine thing.
I also do not think you can open the find servers dialog using anything
except the GameMenu. I mean, there is a way, it was part of a previous
discussion and Aaron Schiff did do a little bit on cloning the VGUI
panels. He said the only way would really be to clone the panels and
then you could edit them...
Even opening them, I still don't know... I don't think you can without a
lot of work; and I don't know how you'd do it. If Valve would reply and
help us a bit, that'd sure be nice... since I have to live with the
default menu VGUI panels, except New Game which I made myself special to
my mod.
Michael Kramer wrote:
--
[ Picked text/plain from multipart/alternative ]
Do you know where the GameMenu is in the code? I want a button on my
VGUI
panel to open up
the FindServersDialog from GameMenu.res, but I can't find the code
anywhere.
On 3/20/06, Kamran <[EMAIL PROTECTED]> wrote:
Look in TextEntry.cpp in src/vgui2/controls/
It's "GetText()" Though I don't know how to use it. Best bet: search
the
entire project for "GetText" and see if Valve has any code that does
it.
(Use the Edit->Find and do "Find In Project")
Michael Kramer wrote:
--
[ Picked text/plain from multipart/alternative ]
How do I get what is in a text field? Like say I had a text field
caleld
Name,
And if "Admin" was written in that textfield, and then a button
called
OK
was pushed, it
would execute a function. Howdo I get the text that is in the text
field?
Thanks
-Michael Kramer
--
_______________________________________________
To unsubscribe, edit your list preferences, or view the list
archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders
--
Kamran A
Get Firefox! Safer, Faster, Better.
< http://www.spreadfirefox.com/?q=affiliates&id=0&t=85>
Down with Internet Explorer! Say "NO!" to Spyware! Use Firefox
_______________________________________________
To unsubscribe, edit your list preferences, or view the list
archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders
--
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders
--
Kamran A
Get Firefox! Safer, Faster, Better.
< http://www.spreadfirefox.com/?q=affiliates&id=0&t=85>
Down with Internet Explorer! Say "NO!" to Spyware! Use Firefox
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders
--
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders
--
Kamran A
Get Firefox! Safer, Faster, Better.
<http://www.spreadfirefox.com/?q=affiliates&id=0&t=85>
Down with Internet Explorer! Say "NO!" to Spyware! Use Firefox
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders