Questions, Issues, & Bugs
by David Dougher · in Torque Game Engine · 08/15/2001 (3:13 pm) · 2 replies
To all,
I haven't spent enough time with the scripting code yet to feel confident in saying, "Here there lies a bug..." So, let me instead ask some questions about some of the scripting code.
In \Example\base\ui\defaultProfiles.cs the line
$GUI::clipboardFile = expandFilename("./cache/clipboard.gui");
Why is there no clipboard.gui file in the \cache subdirectory? And what should be in it?
In \Example\client\ui\defaultGameProfiles the line
fontcolors[5] "200 200 50 200";
Why four numbers? All the rest of the entries have only three...
In \Example\client\ui\LoadingGui.gui the line
Bitmap = "./theme/v12_background.jpg"
is used to select the initial background screen for the startup menu. However, elsewhere there is another routine which randomly selects jpg and png pictures from the /theme subdirectory and uses them as a splash screens between missions... Shouldn't the v12_background.jpg be moved out of the theme subdirectory to the someplace else so it doesn't get called in this manner?
I haven't spent enough time with the scripting code yet to feel confident in saying, "Here there lies a bug..." So, let me instead ask some questions about some of the scripting code.
In \Example\base\ui\defaultProfiles.cs the line
$GUI::clipboardFile = expandFilename("./cache/clipboard.gui");
Why is there no clipboard.gui file in the \cache subdirectory? And what should be in it?
In \Example\client\ui\defaultGameProfiles the line
fontcolors[5] "200 200 50 200";
Why four numbers? All the rest of the entries have only three...
In \Example\client\ui\LoadingGui.gui the line
Bitmap = "./theme/v12_background.jpg"
is used to select the initial background screen for the startup menu. However, elsewhere there is another routine which randomly selects jpg and png pictures from the /theme subdirectory and uses them as a splash screens between missions... Shouldn't the v12_background.jpg be moved out of the theme subdirectory to the someplace else so it doesn't get called in this manner?
About the author
Owner - Pariah Games, Adjunct Professor - Bristol Community College, Mentor - Game Design - Met School Newport, Mentor - Game Design - Met School Providence
#2
Thanks for the replies. So the first case is simply a cut and paste area for the gui... and the second is the alpha channel which I suspected it must be. I guess what's confusing me is why only fontcolor[5] (which I assume is part of an array?) has an alpha channel when the fontcolors[1-4] do not?
sigh more reading. I need thicker glasses...
This is the most fun I've had in months!
08/16/2001 (4:02 am)
I knew I was going to like this place...Thanks for the replies. So the first case is simply a cut and paste area for the gui... and the second is the alpha channel which I suspected it must be. I guess what's confusing me is why only fontcolor[5] (which I assume is part of an array?) has an alpha channel when the fontcolors[1-4] do not?
sigh more reading. I need thicker glasses...
This is the most fun I've had in months!
Torque Owner Harold "LabRat" Brown
$GUI::clipboardFile = expandFilename("./cache/clipboard.gui");
Why is there no clipboard.gui file in the \cache subdirectory? And what should be in it?
The clipboard.gui file is a temporary file used by the GUI editor when you copy and past controls.
In \Example\client\ui\defaultGameProfiles the line
fontcolors[5] "200 200 50 200";
Why four numbers? All the rest of the entries have only three...
They correspond to: RED GREEN BLUE and ALPHA