Where're the "Disconnect" GUI files?
by Richard Jernejcic · in Torque Game Engine · 02/07/2005 (11:30 am) · 2 replies
I've not been able to find the gui files for the "Disconnect" gui that comes up when you press the ESC key. Anyone know what subdirectory in the starter games it resides in? What I'd really like to do is to expand/customize this gui into a multifunctional player interface, where exiting the player arena is only one of numerous options. If anyone plays or has played the on-line flightsim Aces High, it would be analogous to the "clipboard" that pops up when you hit ESC. In addition to "Quit", it would have other options and tabs, such as an overhead map display, player roster, arena status, etc. But first, I've got to find the .gui files for it. It also seems to be missing from the ins.cs file in the "client" subdirectory. Thanks in advance.
About the author
#2
02/08/2005 (2:12 pm)
Thanks, Todd. I was wondering where it was hiding. I'm very new to Torque, and am still figuing out file structure and scripting language.
Andre Poston
Default Studio Name
function escapeFromGame() { if ( $Server::ServerType $= "SinglePlayer" ) MessageBoxYesNo( "Quit Mission", "Exit from this Mission?", "disconnect();", ""); else MessageBoxYesNo( "Disconnect", "Disconnect from the server?", "disconnect();", ""); }The actual gui file for it is located in \torque\example\common\ui\MessageBoxYesNoDlg.gui