TGB 174 Gui Profiles do not show
by Justin Jones · in Torque Game Builder · 06/27/2009 (9:42 pm) · 2 replies
When I select any object in the GUI Editor and go to set its profiles all I see are the DefaultProfile and the 4 Example profiles:
GuiDefaultProfile
ExampleButtonProfile
ExampleScrollProfile
ExampleTextProfile
ExampleWindowProfile
Where are all the other profiles? I discovered this anomaly when trying the Tutorial at:
http://tdn.garagegames.com/wiki/TGB/MiniTutorials/GUIScoreAndTime
where the author mentions "So select 'GuiControl - ScoreboardGui' from the tree view at the top right, then below in the settings panel under 'Parent' set 'Profile' to 'GuiModelessDialogProfile'."
There is no GuiModelessDialogProfile nor any of the other profiles mentioned that appear in my list.
I found reference to this GuiModelessDialogProfile in the projectcommonguiprofiles.cs
However copying it from there to the projectgamegamescriptsguiProfiles.cs (where the Example profiles are) only shows up one additional item - GuiPopupMenuDefault.
Even copying it to my projectgamegamescriptsdatablocks.cs as suggested in another thread still gives only the additional item GuiPopupMenuDefault.
Because of this I am unable to complete that tutorial as the GuiDefaultProfile has modeless = true despite the documentation saying otherwise.
What is going on here? And can anyone test this for me and see if they are getting the other profiles to show up in TGB 174 and if so how?
Although I doubt it, is this some limitation of the TGB demo I am using?
GuiDefaultProfile
ExampleButtonProfile
ExampleScrollProfile
ExampleTextProfile
ExampleWindowProfile
Where are all the other profiles? I discovered this anomaly when trying the Tutorial at:
http://tdn.garagegames.com/wiki/TGB/MiniTutorials/GUIScoreAndTime
where the author mentions "So select 'GuiControl - ScoreboardGui' from the tree view at the top right, then below in the settings panel under 'Parent' set 'Profile' to 'GuiModelessDialogProfile'."
There is no GuiModelessDialogProfile nor any of the other profiles mentioned that appear in my list.
I found reference to this GuiModelessDialogProfile in the projectcommonguiprofiles.cs
However copying it from there to the projectgamegamescriptsguiProfiles.cs (where the Example profiles are) only shows up one additional item - GuiPopupMenuDefault.
Even copying it to my projectgamegamescriptsdatablocks.cs as suggested in another thread still gives only the additional item GuiPopupMenuDefault.
Because of this I am unable to complete that tutorial as the GuiDefaultProfile has modeless = true despite the documentation saying otherwise.
What is going on here? And can anyone test this for me and see if they are getting the other profiles to show up in TGB 174 and if so how?
Although I doubt it, is this some limitation of the TGB demo I am using?
#2
06/28/2009 (6:14 pm)
Oh. One more thing. If you add a GuiControl, leave it at the Default profile and add all your items as needed and finally change it to the GuiModelessDialogProfile or any other profile or you will get crashes or other funny things going on.
Justin Jones
The post is here:
http://www.garagegames.com/community/forums/viewthread/68315
Wonder why this was not fixed in TGB 174 earlier since this problem has persisted since beginning 2008.