New GUIs not showing up in GUI list.
by Clark Kromenaker · in Torque Game Engine · 08/19/2005 (6:29 pm) · 3 replies
Hi,
After making my way at least a bit through that huge Torque learning curve, I started building a little game. I created a new GUI called "PlayerOpts". Now, when in the GUI editor, all the GUIs the game uses are in that center pulldown menu at the top of the screen. However, if I exit the game and come back later to edit my new "PlayerOpts" GUI, it is not listed. I checked the directory and the file is there, its just not showing up. So, is there something I'm forgetting to do? I would suppose I have to add the GUI name/location to one of the scripts, but I haven't got a clue which one.
After making my way at least a bit through that huge Torque learning curve, I started building a little game. I created a new GUI called "PlayerOpts". Now, when in the GUI editor, all the GUIs the game uses are in that center pulldown menu at the top of the screen. However, if I exit the game and come back later to edit my new "PlayerOpts" GUI, it is not listed. I checked the directory and the file is there, its just not showing up. So, is there something I'm forgetting to do? I would suppose I have to add the GUI name/location to one of the scripts, but I haven't got a clue which one.
Torque Owner Robert Buckley
make sure you exec the GUI file (i am assuming its called PlayerOpts.gui) in init.cs
It should go something like this:
exec("./ui/PlayerOpts.gui");put that with the rest of the commands like it