Game Development Community

GUI window look

by SM3 · in Torque Game Engine · 01/03/2006 (12:57 pm) · 3 replies

Did some searching on the forums and on tdn. Haven't found the answer.

In the new tutorial.base for TGE 1.4 all the GUI borders for the console and main rendering window have a generic Windows style look to them with the Windows buttons in the upper right corner. In the starter.fps you get a brown style rounded window with buttons on the left side of the titlebar in the console etc..

Is this a simple change in script or is it a combination of many .cs files?

I remember Ben stating *profiles.cs. I looked at those but didn't see anything obvious.

Steve

#1
01/03/2006 (1:10 pm)
Steve, I've just updated the GUI section with some key information about this. The main thing is the defaultProfiles.cs in the common/ui and customProfile.cs in the game/client/ui in the later which you define your new GUI. The actual changes in the real look come from part script and part image arrays used to define the style.

Toby.
#2
01/03/2006 (1:11 pm)
Check out this tutorial - it covers a lot about that. It was for 1.3, but should probably still apply to 1.4

http://torque.smdlabs.com/media/freeTutorials/skinGUI/page1.htm
#3
01/03/2006 (1:19 pm)
Toby, Rodney, thanks for the information.

I guess the bottom line is its not just a simple item in a *profiles.cs script.

I'll tackle this later :)