Saving a .gui file
by Michael Balogh · in Torque Game Engine · 11/12/2006 (7:03 pm) · 9 replies
Hello all:
When I try to save my playGui.gui file Torque doesn't save it. I've checked my permissions on the file and they're all set to read / write. Did I miss something? Because when I edited the GUI for the title screen everything went smooth.
I'm going to investigate more, but if anybody has any ideas or has had this problem too, let me know what you did to fix it! Thanks in advance!
Mike
When I try to save my playGui.gui file Torque doesn't save it. I've checked my permissions on the file and they're all set to read / write. Did I miss something? Because when I edited the GUI for the title screen everything went smooth.
I'm going to investigate more, but if anybody has any ideas or has had this problem too, let me know what you did to fix it! Thanks in advance!
Mike
#2
So, when I get into the world map editor, the gui I just made (putting the score in the top left corner) will not be there. And when loadMyMission() starts, I think it goes through and does not see the score gui interface I just made and the compiling fails.
I can enter in all the parts again (the score, naming it, positioning, so on, so on) and play it from there and it works fine. Keeps score, collision detection, lighting...everythings great. its just that one point when it loads the gui.
The file is named playGui.gui, but the debug window says something about PlayGui.gui. I thought the file names didn't have to be case sensitive, but I could be crazy. Thanks again for your help!
11/13/2006 (3:56 pm)
Well, what happens is I'll load my game and it will get to either "Loading Mission Objects" or "Lighting Scene" and it just freezes. So, when I get into the world map editor, the gui I just made (putting the score in the top left corner) will not be there. And when loadMyMission() starts, I think it goes through and does not see the score gui interface I just made and the compiling fails.
I can enter in all the parts again (the score, naming it, positioning, so on, so on) and play it from there and it works fine. Keeps score, collision detection, lighting...everythings great. its just that one point when it loads the gui.
The file is named playGui.gui, but the debug window says something about PlayGui.gui. I thought the file names didn't have to be case sensitive, but I could be crazy. Thanks again for your help!
#3
11/13/2006 (4:22 pm)
Where did you save Your palygui.gui? make sure it is saved in your game folder.
#4
11/13/2006 (4:23 pm)
It might be case-sensitive on linux..
#5
The case sensitivity is a very important thing :-)
Gary (-;
11/13/2006 (4:48 pm)
Quote:The file is named playGui.gui, but the debug window says something about PlayGui.gui
The case sensitivity is a very important thing :-)
Gary (-;
#6
Look there if you want to perhaps discover lost work.
If you don't like this behavior, run torque with the -nohomedir option on the command line.
11/13/2006 (10:37 pm)
Under linux, most of the time, torque wants to save this stuff to ~/.garagegames/xxxxxxxx.Look there if you want to perhaps discover lost work.
If you don't like this behavior, run torque with the -nohomedir option on the command line.
#7
11/14/2006 (6:02 am)
Cool! thanks guys...i'll give it a whirl later on...i appriciate it and i'll let you know! thanks again
#8
11/14/2006 (7:06 pm)
Yeah, it was the -nohomedir option and saving it into my .garagegames folder. It saves to the correct folder now. Thanks again!
#9
11/15/2006 (12:45 pm)
You're welcome, glad to have helped.
Torque 3D Owner David Janssens
Nebulagame.com