Game Development Community

PlayGui.gui not loading

by Anthony Rosenbaum · in Torque Game Engine · 06/12/2002 (6:51 pm) · 6 replies

I recently started adding new gui elements to the playgui (map/radar/compass) Unfortunetly after I got comfortable with the gui editor it started acting up. I recently been working on a vehicleHealth gui(not done yet) but it made me want to put in the player energy gui on the screen I added it and placed it and saved it but always when I leave the program and reload it never loads. I have even added it thru the scripts and nothing. Then I tried to comment out an element (player health) and it came back?!?!?! What is happening? Can anyone confirm a limit to the amount of GUI elements? I am most distressed.

#1
06/13/2002 (7:04 am)
Is there a syntax/spelling mistake in the file? Often when changes don't appear to be working, it usually means that the script/gui files isn't being compiled due to some error. Check back through the console logs.
#2
06/13/2002 (8:03 am)
pop up the console and scroll up to see if you notice any errors, I tried something similar to find out I miss a closing brace "}" in the .gui file. It was able to track it down with the help of the console :)

-Ron
#3
06/13/2002 (8:07 am)
One other thing, which is both on and off topic.

I made a change to the playGui.gui file by moving the centre text control up, so it was above the crosshair. Except EVERY time I went into the game it was back where it originally was, directly behind the crosshair. I spent 3 hours re-moving it, both in TribalIDE and ingame, and I even deleted the dso file about 20 times.

Eventually I worked out that the control was firmly fixed in place due to:

horizSizing = "center";
vertSizing = "center";

I know this isn't the problem you're having now, but if you get into moving controls around in playGui.gui, you might run into this.

To fix it I changed vertSizing to "top"; I think.

Anyway, sorry for wandering off topic.
#4
06/13/2002 (8:30 am)
problem resolved I was loading older copies of playGUi after th new gui and so my new additons would be gone. Still having problems making a vehicle health gui if anyone can offer any help
#5
06/13/2002 (8:36 am)
What types of problems are you having?
what have you done so far? can you share the scripting/gui code with us? or, if you would rather
toss it in some email I can have a look. I can not gurentee that I can fix/make it work, but I can give it one hell of a shot :)

-Ron
#6
11/23/2006 (12:31 am)
Anthony,

How did you resolve the problem? I know this was four years ago, but I'm having the same problem.

Thanks!

UPDATE I had to delete the playGUi.gui and corresponding .dso files, then recopy the original from tutorial.base then re-compile. Now my changes work.