Customizing GUI appearence
by Berserk · in Torque Game Engine · 01/23/2005 (7:18 am) · 29 replies
.
About the author
#2
01/23/2005 (11:16 am)
The border for the chat gui is one of the hardest and most precise things you can edit on the GUI. I'd suggest starting with something easier. The cross-hair, perhaps.
#3
Here's how to remove the border:
1. In /starter.fps/client/ui/chathud.gui
Remove:
and at the end of the file, remove one of the };
Then, in the playgui, you can add your own bitmap to accomadate the chathud.
{EDIT} Spelling
01/23/2005 (11:36 am)
I decided to remove all the GUI's in there already, and use bitmaps, like Stephen mentioned. They are a lot easier to use.Here's how to remove the border:
1. In /starter.fps/client/ui/chathud.gui
Remove:
new GuiBitmapBorderCtrl(OuterChatHud) {
profile = "ChatHudBorderProfile";
horizSizing = "width";
vertSizing = "bottom";
position = "0 0";
extent = "272 88";
minExtent = "8 8";
visible = "1";
helpTag = "0";
useVariable = "0";
tile = "0";and at the end of the file, remove one of the };
Then, in the playgui, you can add your own bitmap to accomadate the chathud.
{EDIT} Spelling
#4
01/23/2005 (1:07 pm)
.
#5
01/23/2005 (1:15 pm)
@Ivano: As George mentioned, it looks like you happened to have selected the most difficult gui control to actually learn from by editing! It might be a better idea to start working with, for example, the main login screen--get your buttons represented by bitmaps, play around with how you can change the look and feel, and then come back to the chat border array once you've increased your experience.
#6
01/23/2005 (6:37 pm)
.
#7
01/26/2005 (1:19 pm)
.
#8
02/03/2005 (2:50 pm)
.
#9
02/10/2005 (3:17 am)
Look at the checkbox image in common/ui. Many GUI elements are skinnable, or have skinnable analogues. Dig around in GuiControlProfile to see the (many) options available for you to tweak.
#10
02/11/2005 (9:25 am)
.
#11
02/20/2005 (3:43 am)
.
#12
02/27/2005 (8:42 am)
Could you show an example of the image you did that is causing TGE to crash?
#13
02/28/2005 (2:40 pm)
.
#14
02/28/2005 (3:19 pm)
Did you save the .png as "Interlaced"? Try saving it into .jpg format and see if that helps or if it still acts the same way.
#15
03/01/2005 (6:32 am)
.
#16
Any chance of moving it to a more appropriate and public forum? It would be good for many to know!
03/01/2005 (8:34 pm)
I know you guys don't do this much, but this is a very good post, and isn't required to be in the private forums area--no code, no "secrets".Any chance of moving it to a more appropriate and public forum? It would be good for many to know!
#17
03/02/2005 (4:49 am)
.
#18
03/02/2005 (5:54 am)
@Thc-03: I was hinting towards the Moderators of the forum, but putting this in as a resource would be good as well!
#19
03/03/2005 (6:08 am)
.
#20
03/08/2005 (5:15 am)
.
Torque 3D Owner Stephen Zepp