Game Development Community

Is possible to open/edit a .gui file?

by Matthews_30 · in Torque Game Builder · 11/19/2005 (6:01 pm) · 7 replies

I am trying to understand the spacescroller demo and i want to edit or open the file spaceScrollerScreen.gui. is this possible? how?

the editor does not have an open submenu :(

thanks,

matt.

#1
11/19/2005 (10:38 pm)
.gui files are just text files, exactly like .cs scripts. You can open them in any text editor. When you say 'the editor' are you referring to the built-in torque gui editor? If so, you just need to exec the gui file and then you can select it as one of the gui's in the editor.

If you're referring to some IDE editor, just set it to open 'All Files' and select the .gui file, or use notepad or something else that saves plain ascii text.
#2
11/20/2005 (4:01 am)
You can definitely open the .gui files for editing, just as Luke said. It's not only possible, in many instances (creating a menu system, rearranging parenting for grouping, parsing for examples, etc) it's a necessity.
#3
11/20/2005 (7:43 am)
I am talking about the built in torque gui editor.

what is the command to open the gui file with the exec command?

thanks,

matt.
#4
11/20/2005 (8:02 am)
Torque does not have a "built in" text editor...made no sense to develop one when so many (and so many free ones) already exist.

As everyone said above, open up your favorite text editor, browse to the directory where your .gui files are stored, and open up whichever one you like.
#5
11/20/2005 (8:22 am)
I was referring to the Torque "GUI Editor".
#6
11/20/2005 (8:38 am)
Matt

In the GUI editor (press F10 to open it up) there are 3 buttons across the top. The middle button drops down to show the full list of GUIs that you can select to edit (if the GUI has been exec'd then it will be in the list).
#7
11/20/2005 (9:08 am)
Excellent!

thanks a lot!

matt.