Game Development Community

Why does the GUI not save?

by Logan Strunk · in Torque Game Engine · 08/23/2006 (6:24 pm) · 4 replies

I create a GUI in the GUI editor.

I save it as foo.gui.

I exit torque.

I restart Torque.

Its gone.

However in /client/ui/ its there as foo.gui

But it doesn't show up in the selection of different GUIs in the editor, after pressing F10 while in game?

What gives?

I'm really getting sick of things like this with torque. This is version 1.4, shouldn't stupid bugs like this be worked out by now?

#1
08/23/2006 (6:28 pm)
1. relax, you'll be happier.
2. add foo.gui to the proper init.cs
- eg, do a global find-in-files for say "playGui.gui". in client/init.cs (i think), you'll find a line like this:
exec("./playGui.gui");

.. add foo.gui there.
#2
08/23/2006 (6:30 pm)
Ok. So I feel like an idiot now.

Sorry about that, I didn't mean to put down Torque.
#3
08/23/2006 (6:35 pm)
No problems - torque definitely has a steep learning curve and it can be easy to feel that the engine is actively against you. good luck! find in files is your friend !
#4
08/23/2006 (6:49 pm)
Is there a help file in things liek this, like when we add something to the game what else we need to change, is there any kind of resource or help file for this kind of thing.