GUI builder not loading profiles [Resolved]
by Siobhan · in Torque Game Builder · 10/26/2010 (12:43 pm) · 1 replies
I've searched through the forums and the main solution seemed to be to exec guiProfiles.cs in /managed/datablocks.cs
I've tried this and it doesn't work. The file does compile 'cause I can clearly see it in the console. But when I open my GUI Builder any new profiles that I added don't show up. Even if I modify an already existing Profile, it doesn't work. It's like it never reloads the guiProfiles.cs file.
All I really need is to create a non-modal profile. I want to have a hud but once I include it in my game I can't select/click on anything. I suppose that's the mouse callback? Anyways, that's why I want this modal = false thing to work. I also tried just adding modal = false into my hud.gui file but to no avail.
If anyone could help me out I would really appreciate it. It's Torque 2D I'm working with.
I've tried this and it doesn't work. The file does compile 'cause I can clearly see it in the console. But when I open my GUI Builder any new profiles that I added don't show up. Even if I modify an already existing Profile, it doesn't work. It's like it never reloads the guiProfiles.cs file.
All I really need is to create a non-modal profile. I want to have a hud but once I include it in my game I can't select/click on anything. I suppose that's the mouse callback? Anyways, that's why I want this modal = false thing to work. I also tried just adding modal = false into my hud.gui file but to no avail.
If anyone could help me out I would really appreciate it. It's Torque 2D I'm working with.
Siobhan
Default Studio Name
I prefixed the names of the new profiles I added to guiProfiles.cs with 'Example'.
So "ModelessProfile" became "ExampleModelessProfile"
I'm not sure if this is actually what fixed it but I'm just really glad that it's now working. Hurray!
Now onto the next task. ;)