added everything
8
example/demo/client/ui/0. About.hfl
Executable file
@ -0,0 +1,8 @@
|
||||
<lmargin%:5><rmargin%:95><font:Arial:16>Thank you for checking out the Torque Game Engine Demo.
|
||||
|
||||
Visit <a:www.garagegames.com/makegames/>GarageGames Torque Store</a> to learn about other products that will help you make your game as well as the other engines and tools that round out the Torque Development Platform.
|
||||
|
||||
<font:Arial Bold:16>About GarageGames.com:<font:Arial:16>
|
||||
<a:www.garagegames.com>GarageGames'</a> mission is simple: to create truly innovative, feature-rich, yet affordable, tools and resources for developers at any level. It's this technical expertise, front-line experience, and commitment to originality that has already changed the industry with our Torque gaming platform.
|
||||
|
||||
<font:Arial Bold:16>About the Torque Game Engine:<font:Arial:16> The <a:www.garagegames.com/products/1>Torque Game Engine</a> is a cross platform commercial quality AAA game engine with seamless indoor/outdoor rendering engine, state of the art skeletal animation, drag and drop GUI creation and a built-in world editor. TGE also features the latest in scripting, geometry, particle effects, and award winning multi-player networking code. TGE started life as the technology behind Tribes, Starsiege, and Tribes 2 and is currently being used by thousands of developers around the world to make innovative games such as <a:www.garagegames.com/products/15>MarbleBlast Gold</a> , <a:www.garagegames.com/products/5>Orbz</a> , <a:www.garagegames.com/products/12>ThinkTanks</a> , <a:www.garagegames.com/products/58>RocketBowl Plus</a> , <a:www.garagegames.com/products/29>DH: Lore Invasion</a> , and more.
|
68
example/demo/client/ui/1. Credits.hfl
Executable file
@ -0,0 +1,68 @@
|
||||
<just:center><lmargin%:5><rmargin%:95><font:Arial Bold:20>Torque Game Engine Demo Credits...
|
||||
<bitmap:demo/client/ui/seperator>
|
||||
<font:Arial Bold:20>GarageGames.com Staff<font:Arial:16>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=3>Jeff "MotoMan" Tunnell</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=1>Tim "Slacker" Gift</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=2>Rick "Entropy" Overman</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=55>Mark "Got Milk?" Frohnmayer</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=32699>Timothy Aste</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=4517>Robert Blanchet Jr.</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=70688>Thomas Buscaglia</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=26331>Chris Calef</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=5249>Justin DuJardin</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=6452>Clark Fagot</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=985>Matt Fairfax</a>
|
||||
<a:www.www.garagegames.com/my/home/view.profile.php?qid=5318>Nate Feyma</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=10309>Jacob Fike</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=17830>Eric Fritz</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=8863>Ben Garney</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=75501>Kenneth Holst</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=54612>Davey Jackson</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=33542>Matthew Langley</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=36339>Adam Larson</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=1449>Joe Maruschak</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=22782>Mark McCoy</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=46929>Karen Peal</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=6645>John Quigley</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=5030>Brian "Twitch" Ramage</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=10513>Paul Scott</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=69526>Sean Sullivan</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=5263>Alex Swanson</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=71087>James Wiley</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=20592>Josh Williams</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=370>Pat "Killer Bunny" Wilson</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=37827>Zachary Zadell</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=34977>Stephen Zepp</a>
|
||||
|
||||
<bitmap:demo/client/ui/seperator>
|
||||
<font:Arial Bold:20>Special Thanks<font:Arial:16>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=56310>Jon Jorajuria</a>
|
||||
...for revamping the audio of the 1.5 demo!
|
||||
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=44513>Todd Pickens</a>
|
||||
...for donating
|
||||
<a:www.garagegames.com/products/104>FPS Environment Pack Art!</a>
|
||||
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=21036>John Kabus</a>
|
||||
...for his work with the Torque Lighting Kit!
|
||||
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=37490>Joshua Dallman</a>
|
||||
...for
|
||||
<a:www.redthumbgames.com>Red Thumb Game's</a>
|
||||
contribution of Skybox starter material!
|
||||
|
||||
<a:www.garagegames.com/company/associates/>GarageGames Associates</a>
|
||||
|
||||
Some open-source textures used courtesy of...
|
||||
<a:wadfather.planethalflife.gamespy.com/new/>WAD Father - Graphics for Game Developers</a>
|
||||
|
||||
<bitmap:demo/client/ui/seperator>
|
||||
<font:Arial Bold:20>Torque Engine Original Programmers<font:Arial:16>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=438>Dave "Symlink" Moore</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=572>John "Uberbob" Folliard</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=4872>Greg "Jett" Lancaster</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=6019>Tim "Kidney Thief" Anderson</a>
|
||||
John "Sne/\ker" Alden
|
||||
Lincoln "Missing" Hutton
|
||||
Brad "BigDevDawg" Heinz
|
||||
Shawn Eastley
|
25
example/demo/client/ui/1.1 Game Controls.hfl
Executable file
@ -0,0 +1,25 @@
|
||||
<lmargin%:5><rmargin%:95><font:Arial Bold:20>Default Game Control Setup...<font:Arial:16>
|
||||
<tab:105,200>
|
||||
<font:Arial Bold:16>Movement<font:Arial:16>
|
||||
W Forward
|
||||
S Backward
|
||||
A Step left
|
||||
D Step right
|
||||
Space Jump
|
||||
Mouse Button Fire
|
||||
|
||||
<font:Arial Bold:16>View Control<font:Arial:16>
|
||||
E Zoom
|
||||
R Set zoom FOV
|
||||
TAB First/Third person camera
|
||||
Alt-C Toggle between camera/player
|
||||
|
||||
<font:Arial Bold:16>Chat<font:Arial:16>
|
||||
U Send public chat message
|
||||
|
||||
<font:Arial Bold:16>Misc Functions<font:Arial:16>
|
||||
Ctrl-O Open in-game options dialog
|
||||
F7 Drop the player at the camera
|
||||
F8 Drop the camera at the player
|
||||
F10 Open GUI editor
|
||||
F11 Open Mission/World editor
|
55
example/demo/client/ui/AnimationSceneGUI.gui
Executable file
@ -0,0 +1,55 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(AnimationSceneGUI) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "466 191";
|
||||
extent = "140 30";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
command = "AnimationOrcPlay(\"celwave\");";
|
||||
helpTag = "0";
|
||||
text = "Wave";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "467 231";
|
||||
extent = "140 30";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
command = "AnimationOrcPlay(\"celsalute\");";
|
||||
helpTag = "0";
|
||||
text = "Salute";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "467 276";
|
||||
extent = "138 30";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
command = "AnimationOrcPlay(\"range\");";
|
||||
helpTag = "0";
|
||||
text = "Range Test";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
BIN
example/demo/client/ui/AnimationSceneGui.gui.dso
Executable file
BIN
example/demo/client/ui/ChatHud.gui.dso
Executable file
61
example/demo/client/ui/DemoEditorAlert.gui
Executable file
@ -0,0 +1,61 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(DemoEditorAlert) {
|
||||
Profile = "GuiDefaultProfile";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
position = "0 0";
|
||||
Extent = "800 600";
|
||||
MinExtent = "8 8";
|
||||
Visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiWindowCtrl() {
|
||||
Profile = "GuiWindowProfile";
|
||||
HorizSizing = "center";
|
||||
VertSizing = "center";
|
||||
position = "200 80";
|
||||
Extent = "400 440";
|
||||
MinExtent = "300 200";
|
||||
Visible = "1";
|
||||
text = "Mission Editor";
|
||||
maxLength = "255";
|
||||
resizeWidth = "1";
|
||||
resizeHeight = "1";
|
||||
canMove = "1";
|
||||
canClose = "1";
|
||||
canMinimize = "1";
|
||||
canMaximize = "1";
|
||||
MinSize = "50 50";
|
||||
closeCommand = "Canvas.popDialog(DemoEditorAlert);";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiMLTextCtrl(EditorAlertText) {
|
||||
Profile = "GuiMediumTextProfile";
|
||||
HorizSizing = "width";
|
||||
VertSizing = "bottom";
|
||||
position = "20 40";
|
||||
Extent = "380 264";
|
||||
MinExtent = "8 8";
|
||||
Visible = "1";
|
||||
lineSpacing = "12";
|
||||
allowColorChars = "1";
|
||||
maxChars = "-1";
|
||||
helpTag = "0";
|
||||
};
|
||||
new GuiButtonCtrl(OkayButton) {
|
||||
Profile = "GuiOkayButtonProfile";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
position = "130 370";
|
||||
Extent = "140 30";
|
||||
MinExtent = "8 2";
|
||||
Visible = "1";
|
||||
text = "Okay";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
command = "Canvas.popDialog(DemoEditorAlert);";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
BIN
example/demo/client/ui/DemoEditorAlert.gui.dso
Executable file
39
example/demo/client/ui/DetailSceneGui.gui
Executable file
@ -0,0 +1,39 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(DetailSceneGui) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "800 600";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiControl() {
|
||||
profile = "GuiWindowProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "top";
|
||||
position = "587 464";
|
||||
extent = "190 30";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiSliderCtrl(DetailSceneSlider) {
|
||||
profile = "GuiSliderProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "6 5";
|
||||
extent = "178 21";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
variable = "value";
|
||||
altCommand = "OrcDetailScene.slider();";
|
||||
range = "0.000000 1.000000";
|
||||
ticks = "10";
|
||||
value = "1";
|
||||
helpTag = "0";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
BIN
example/demo/client/ui/DetailSceneGui.gui.dso
Executable file
BIN
example/demo/client/ui/GarageGames.jpg
Executable file
After Width: | Height: | Size: 378 KiB |
BIN
example/demo/client/ui/MainMenuDlg.gui.dso
Executable file
41
example/demo/client/ui/MountingSceneGui.gui
Executable file
@ -0,0 +1,41 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(MountingSceneGui) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "466 191";
|
||||
extent = "140 30";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
command = "mountDetailOrc(CrossbowImage,0);";
|
||||
helpTag = "0";
|
||||
text = "Crossbow";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "467 231";
|
||||
extent = "140 30";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
command = "mountDetailOrc(FlagPoleImage,1);";
|
||||
helpTag = "0";
|
||||
text = "Flag";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
BIN
example/demo/client/ui/MountingSceneGui.gui.dso
Executable file
BIN
example/demo/client/ui/PlayGui.gui.dso
Executable file
17
example/demo/client/ui/SceneGui.gui
Executable file
@ -0,0 +1,17 @@
|
||||
|
||||
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GameTSCtrl(SceneGui) {
|
||||
profile = "GuiContentProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "0 0 ";
|
||||
extent = "640 480";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
cameraZRot = "0";
|
||||
forceFOV = "0";
|
||||
helpTag = "0";
|
||||
roomNumber = "1";
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
BIN
example/demo/client/ui/SceneGui.gui.dso
Executable file
BIN
example/demo/client/ui/Splash.jpg
Executable file
After Width: | Height: | Size: 138 KiB |
43
example/demo/client/ui/StartupGui.gui
Executable file
@ -0,0 +1,43 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiFadeinBitmapCtrl(StartupGui) {
|
||||
profile = "GuiInputCtrlProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
bitmap = "./GarageGames";
|
||||
wrap = "0";
|
||||
fadeinTime = "125";
|
||||
waitTime = "3000";
|
||||
fadeoutTime = "125";
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
||||
function loadStartup()
|
||||
{
|
||||
StartupGui.done = false;
|
||||
Canvas.setContent( StartupGui );
|
||||
schedule(100, 0, checkStartupDone );
|
||||
alxPlay(AudioStartup);
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------
|
||||
function StartupGui::click()
|
||||
{
|
||||
StartupGui.done = true;
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------
|
||||
function checkStartupDone()
|
||||
{
|
||||
if (StartupGui.done)
|
||||
loadMainMenu();
|
||||
else
|
||||
schedule(100, 0, checkStartupDone );
|
||||
}
|
||||
|
BIN
example/demo/client/ui/StartupGui.gui.dso
Executable file
162
example/demo/client/ui/TheoraGui.gui
Executable file
@ -0,0 +1,162 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiChunkedBitmapCtrl(TheoraGui) {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "800 600";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
bitmap = "./background";
|
||||
useVariable = "0";
|
||||
tile = "0";
|
||||
|
||||
new GuiTheoraCtrl(theo) {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "relative";
|
||||
vertSizing = "relative";
|
||||
position = "120 25";
|
||||
extent = "560 420";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
done = "0";
|
||||
stopOnSleep = "0";
|
||||
backgroundColor = "0 0 0 255";
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "relative";
|
||||
vertSizing = "relative";
|
||||
position = "30 475";
|
||||
extent = "220 40";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
command = "Theo.setFile(\"demo/data/video/320x240.ogg\");";
|
||||
text = "Button";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
bitmap = "./button";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextNoSelectProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "9 7";
|
||||
extent = "260 14";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "<color:ffffff><font:Arial Bold:14>Simple test pattern, no sound.";
|
||||
helpTag = "0";
|
||||
};
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "relative";
|
||||
vertSizing = "relative";
|
||||
position = "30 535";
|
||||
extent = "220 40";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
command = "Theo.setFile(\"demo/data/video/videotestsrc.ogg\");";
|
||||
text = "Button";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
bitmap = "./button";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextNoSelectProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "9 7";
|
||||
extent = "260 14";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "<color:ffffff><font:Arial Bold:14>The test pattern, at high resolution.";
|
||||
helpTag = "0";
|
||||
};
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "relative";
|
||||
vertSizing = "relative";
|
||||
position = "550 535";
|
||||
extent = "220 40";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
command = "Theo.setFile(\"demo/data/video/demovid.ogg\");";
|
||||
text = "Button";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
bitmap = "./button";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextNoSelectProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "9 7";
|
||||
extent = "176 14";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "<color:ffffff><font:Arial Bold:14>A demo of some of Torque's lovely goodness.";
|
||||
helpTag = "0";
|
||||
};
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "relative";
|
||||
vertSizing = "relative";
|
||||
position = "550 475";
|
||||
extent = "220 40";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
command = "Theo.setFile(\"demo/data/video/soundtest.ogg\");";
|
||||
text = "Button";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
bitmap = "./button";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextNoSelectProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "9 7";
|
||||
extent = "260 14";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "<color:ffffff><font:Arial Bold:14>A tone and sound synch test.";
|
||||
helpTag = "0";
|
||||
};
|
||||
};
|
||||
new GuiBitmapButtonCtrl(LeaveTheoraButton) {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "relative";
|
||||
vertSizing = "relative";
|
||||
position = "384 555";
|
||||
extent = "32 32";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
command = "Canvas.setContent(mainMenuGui);";
|
||||
text = "Button";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
bitmap = "./arrows/arrow_left";
|
||||
helpTag = "0";
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
96
example/demo/client/ui/aboutDlg.gui
Executable file
@ -0,0 +1,96 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// Torque Game Engine
|
||||
//
|
||||
// Copyright (c) 2001 GarageGames.Com
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(aboutDlg) {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiWindowCtrl() {
|
||||
profile = "GuiWindowProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "center";
|
||||
position = "132 88";
|
||||
extent = "376 303";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
text = "About...";
|
||||
maxLength = "255";
|
||||
resizeWidth = "0";
|
||||
resizeHeight = "0";
|
||||
canMove = "1";
|
||||
canClose = "1";
|
||||
canMinimize = "0";
|
||||
canMaximize = "0";
|
||||
minSize = "50 50";
|
||||
closeCommand = "Canvas.popDialog(aboutDlg);";
|
||||
|
||||
new GuiMLTextCtrl(aboutText) {
|
||||
profile = "GuiMLTextProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "relative";
|
||||
position = "19 36";
|
||||
extent = "336 241";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "This is a test";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "303 268";
|
||||
extent = "60 23";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
command = "Canvas.popDialog(aboutDlg);";
|
||||
helpTag = "0";
|
||||
text = "OK";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "12 268";
|
||||
extent = "76 23";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
command = "getHelp(\"4. License\");";
|
||||
helpTag = "0";
|
||||
text = "License...";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
||||
|
||||
function aboutDlg::onWake(%this)
|
||||
{
|
||||
%text="<just:center><font:Arial Bold:20>Torque 1.5 Demo\n"@
|
||||
"<font:Arial:12>"@ getCompileTimeString() @", "@ getBuildString() @"Build\n\n"@
|
||||
"<font:Arial:16>Copyright (c) 2001 <a:www.garagegames.com>GarageGames.Com</a>\n"@
|
||||
"<bitmap:demo/client/ui/gglogo150>";
|
||||
aboutText.setText(%text);
|
||||
}
|
||||
|
||||
function aboutText::onURL(%this, %url)
|
||||
{
|
||||
echo(%this);
|
||||
echo(%url);
|
||||
gotoWebPage( %url );
|
||||
}
|
||||
|
BIN
example/demo/client/ui/aboutDlg.gui.dso
Executable file
BIN
example/demo/client/ui/arrows/arrow_left_h.png
Executable file
After Width: | Height: | Size: 490 B |
BIN
example/demo/client/ui/arrows/arrow_left_n.png
Executable file
After Width: | Height: | Size: 452 B |
BIN
example/demo/client/ui/arrows/arrow_right_h.png
Executable file
After Width: | Height: | Size: 476 B |
BIN
example/demo/client/ui/arrows/arrow_right_n.png
Executable file
After Width: | Height: | Size: 444 B |
BIN
example/demo/client/ui/arrows/exit_h.png
Executable file
After Width: | Height: | Size: 498 B |
BIN
example/demo/client/ui/arrows/exit_n.png
Executable file
After Width: | Height: | Size: 461 B |
BIN
example/demo/client/ui/background.jpg
Executable file
After Width: | Height: | Size: 47 KiB |
BIN
example/demo/client/ui/bottom_bar.png
Executable file
After Width: | Height: | Size: 5.6 KiB |
BIN
example/demo/client/ui/bottom_desc.png
Executable file
After Width: | Height: | Size: 70 KiB |
BIN
example/demo/client/ui/button_h.png
Executable file
After Width: | Height: | Size: 3.1 KiB |
BIN
example/demo/client/ui/button_n.png
Executable file
After Width: | Height: | Size: 3.2 KiB |
BIN
example/demo/client/ui/buttons/exit_h.png
Executable file
After Width: | Height: | Size: 527 B |
BIN
example/demo/client/ui/buttons/exit_n.png
Executable file
After Width: | Height: | Size: 455 B |
BIN
example/demo/client/ui/buttons/features_h.png
Executable file
After Width: | Height: | Size: 26 KiB |
BIN
example/demo/client/ui/buttons/features_n.png
Executable file
After Width: | Height: | Size: 14 KiB |
BIN
example/demo/client/ui/buttons/home_h.png
Executable file
After Width: | Height: | Size: 618 B |
BIN
example/demo/client/ui/buttons/home_n.png
Executable file
After Width: | Height: | Size: 580 B |
BIN
example/demo/client/ui/buttons/options_h.png
Executable file
After Width: | Height: | Size: 832 B |
BIN
example/demo/client/ui/buttons/options_n.png
Executable file
After Width: | Height: | Size: 731 B |
BIN
example/demo/client/ui/buttons/purchase_h.png
Executable file
After Width: | Height: | Size: 822 B |
BIN
example/demo/client/ui/buttons/purchase_n.png
Executable file
After Width: | Height: | Size: 774 B |
BIN
example/demo/client/ui/buttons/tpg_h.png
Executable file
After Width: | Height: | Size: 22 KiB |
BIN
example/demo/client/ui/buttons/tpg_n.png
Executable file
After Width: | Height: | Size: 14 KiB |
BIN
example/demo/client/ui/buttons/walkthrough_h.png
Executable file
After Width: | Height: | Size: 28 KiB |
BIN
example/demo/client/ui/buttons/walkthrough_n.png
Executable file
After Width: | Height: | Size: 16 KiB |
BIN
example/demo/client/ui/buttons/website_h.png
Executable file
After Width: | Height: | Size: 1.6 KiB |
BIN
example/demo/client/ui/buttons/website_n.png
Executable file
After Width: | Height: | Size: 1.3 KiB |
160
example/demo/client/ui/chatHud.gui
Executable file
@ -0,0 +1,160 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// Chat edit window
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
new GuiControl(MessageHud)
|
||||
{
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 8";
|
||||
visible = "0";
|
||||
noCursor = true;
|
||||
|
||||
new GuiBitmapBorderCtrl(MessageHud_Frame) {
|
||||
profile = "ChatHudBorderProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "120 375";
|
||||
extent = "400 40";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
|
||||
new GuiBitmapCtrl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "8 8";
|
||||
extent = "384 24";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
bitmap = "./hudfill";
|
||||
wrap = "0";
|
||||
};
|
||||
|
||||
new GuiTextCtrl(MessageHud_Text)
|
||||
{
|
||||
profile = "ChatHudTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "14 12";
|
||||
extent = "10 22";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
};
|
||||
|
||||
new GuiTextEditCtrl(MessageHud_Edit)
|
||||
{
|
||||
profile = "ChatHudEditProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 13";
|
||||
extent = "10 22";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
altCommand = "$ThisControl.eval();";
|
||||
escapeCommand = "MessageHud_Edit.onEscape();";
|
||||
historySize = "5";
|
||||
maxLength = "120";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(MainChatHud) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
noCursor = "1";
|
||||
|
||||
new GuiControl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "relative";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "400 300";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
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";
|
||||
|
||||
new GuiBitmapCtrl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "8 8";
|
||||
extent = "256 72";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
bitmap = "./hudfill";
|
||||
wrap = "0";
|
||||
};
|
||||
|
||||
new GuiButtonCtrl(chatPageDown) {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "top";
|
||||
position = "220 58";
|
||||
extent = "36 14";
|
||||
minExtent = "8 8";
|
||||
visible = "0";
|
||||
helpTag = "0";
|
||||
text = "Dwn";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
};
|
||||
new GuiScrollCtrl(ChatScrollHud) {
|
||||
profile = "ChatHudScrollProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "8 8";
|
||||
extent = "256 72";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "alwaysOff";
|
||||
constantThumbHeight = "0";
|
||||
childMargin = "0 0";
|
||||
|
||||
new GuiMessageVectorCtrl(ChatHud) {
|
||||
profile = "ChatHudMessageProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "1 1";
|
||||
extent = "252 16";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
lineSpacing = "0";
|
||||
lineContinuedIndex = "10";
|
||||
allowedMatches[0] = "http";
|
||||
allowedMatches[1] = "tgeserver";
|
||||
matchColor = "0 0 255 255";
|
||||
maxColorIndex = "5";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
BIN
example/demo/client/ui/chatHudBorderArray.png
Executable file
After Width: | Height: | Size: 8.5 KiB |
BIN
example/demo/client/ui/crossHair.png
Executable file
After Width: | Height: | Size: 329 B |
184
example/demo/client/ui/customProfiles.cs
Executable file
@ -0,0 +1,184 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// Torque Game Engine
|
||||
// Copyright (c) 2002 GarageGames.Com
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
new GuiControlProfile (GuiDefaultProfile)
|
||||
{
|
||||
tab = false;
|
||||
canKeyFocus = false;
|
||||
hasBitmapArray = false;
|
||||
mouseOverSelected = false;
|
||||
|
||||
// fill color
|
||||
opaque = false;
|
||||
fillColor = "127 136 153";
|
||||
fillColorHL = "197 202 211";
|
||||
fillColorNA = "144 154 171";
|
||||
|
||||
// border color
|
||||
border = false;
|
||||
borderColor = "0 0 0";
|
||||
borderColorHL = "197 202 211";
|
||||
borderColorNA = "91 101 119";
|
||||
|
||||
bevelColorHL = "255 255 255";
|
||||
bevelColorLL = "0 0 0";
|
||||
|
||||
// font
|
||||
fontType = "Arial";
|
||||
fontSize = 14;
|
||||
fontCharset = CHINESEBIG5;
|
||||
|
||||
fontColor = "0 0 0";
|
||||
fontColorHL = "73 82 97";
|
||||
fontColorNA = "0 0 0";
|
||||
fontColorSEL= "226 237 255";
|
||||
|
||||
// bitmap information
|
||||
bitmap = "./demoWindow";
|
||||
bitmapBase = "";
|
||||
textOffset = "0 0";
|
||||
|
||||
// used by guiTextControl
|
||||
modal = true;
|
||||
justify = "left";
|
||||
autoSizeWidth = false;
|
||||
autoSizeHeight = false;
|
||||
returnTab = false;
|
||||
numbersOnly = false;
|
||||
cursorColor = "0 0 0 255";
|
||||
|
||||
// sounds
|
||||
soundButtonDown = "";
|
||||
soundButtonOver = "";
|
||||
};
|
||||
|
||||
new GuiControlProfile (TooltipProfile)
|
||||
{
|
||||
fillColor = "255 255 225";
|
||||
border = true;
|
||||
borderColor = "0 0 0";
|
||||
fontSize = 14;
|
||||
fontType = "Arial";
|
||||
fontColor = "0 0 0";
|
||||
};
|
||||
|
||||
new GuiControlProfile (GuiWindowProfile)
|
||||
{
|
||||
opaque = true;
|
||||
border = 2;
|
||||
fillColor = "145 154 171";
|
||||
fillColorHL = "221 202 173";
|
||||
fillColorNA = "221 202 173";
|
||||
fontColor = "255 255 255";
|
||||
fontColorHL = "255 255 255";
|
||||
text = "GuiWindowCtrl test";
|
||||
bitmap = "./demoWindow";
|
||||
textOffset = "6 6";
|
||||
hasBitmapArray = true;
|
||||
justify = "center";
|
||||
};
|
||||
|
||||
new GuiControlProfile (GuiScrollProfile)
|
||||
{
|
||||
opaque = true;
|
||||
fillColor = "255 255 255";
|
||||
border = 3;
|
||||
borderThickness = 2;
|
||||
borderColor = "0 0 0";
|
||||
bitmap = "./demoScroll";
|
||||
hasBitmapArray = true;
|
||||
};
|
||||
|
||||
$fontColorHL = "55 64 78";
|
||||
new GuiControlProfile (GuiButtonProfile)
|
||||
{
|
||||
opaque = true;
|
||||
border = true;
|
||||
fontColor = "0 0 0";
|
||||
fontColorHL = $fontColorHL;
|
||||
fixedExtent = true;
|
||||
justify = "center";
|
||||
canKeyFocus = false;
|
||||
};
|
||||
|
||||
new GuiControlProfile (GuiOkayButtonProfile)
|
||||
{
|
||||
opaque = true;
|
||||
border = true;
|
||||
fontColor = "0 0 0";
|
||||
fontColorHL = $fontColorHL;
|
||||
fontSize = 24;
|
||||
fixedExtent = true;
|
||||
justify = "center";
|
||||
canKeyFocus = false;
|
||||
};
|
||||
|
||||
new GuiControlProfile (GuiCheckBoxProfile)
|
||||
{
|
||||
opaque = false;
|
||||
fillColor = "0 0 0";
|
||||
border = false;
|
||||
borderColor = "0 0 0";
|
||||
fontSize = 14;
|
||||
fontColor = "0 0 0";
|
||||
fontColorHL = $fontColorHL;
|
||||
fixedExtent = true;
|
||||
justify = "left";
|
||||
bitmap = "./demoCheck";
|
||||
hasBitmapArray = true;
|
||||
};
|
||||
|
||||
new GuiControlProfile (GuiRadioProfile)
|
||||
{
|
||||
fontSize = 14;
|
||||
fillColor = "0 0 0";
|
||||
fontColorHL = $fontColorHL;
|
||||
fixedExtent = true;
|
||||
bitmap = "./demoRadio";
|
||||
hasBitmapArray = true;
|
||||
};
|
||||
|
||||
new GuiControlProfile (GuiTitleProfile)
|
||||
{
|
||||
opaque = false;
|
||||
fontType = "Humanst521 XBd BT";
|
||||
fontSize = 23;
|
||||
fontColor = "255 255 255";
|
||||
fontColorHL = "255 255 255";
|
||||
justify = "right";
|
||||
};
|
||||
|
||||
new GuiControlProfile (GuiTitle2Profile)
|
||||
{
|
||||
opaque = false;
|
||||
fontType = "Humanst521 BT";
|
||||
fontSize = 20;
|
||||
fontColor = "255 255 255";
|
||||
fontColorHL = "255 255 255";
|
||||
justify = "right";
|
||||
};
|
||||
|
||||
new GuiControlProfile (GuiPopUpTextProfile)
|
||||
{
|
||||
fontType = "Arial";
|
||||
fontSize = 14;
|
||||
fontColor = "255 255 255";
|
||||
fontColorHL = "255 255 255";
|
||||
fontColorLink = "255 96 96";
|
||||
fontColorLinkHL = "0 0 255";
|
||||
};
|
||||
|
||||
new GuiControlProfile (GuiEditorsTextProfile)
|
||||
{
|
||||
fontType = "Arial Bold";
|
||||
fontSize = 19;
|
||||
fontColor = "255 255 255";
|
||||
fontColorHL = "255 255 255";
|
||||
fontColorLink = "255 96 96";
|
||||
fontColorLinkHL = "0 0 255";
|
||||
};
|
||||
|
||||
|
||||
|
BIN
example/demo/client/ui/customProfiles.cs.dso
Executable file
137
example/demo/client/ui/defaultGameProfiles.cs
Executable file
@ -0,0 +1,137 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// Torque Game Engine
|
||||
// Copyright (C) GarageGames.com, Inc.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Override base controls
|
||||
GuiButtonProfile.soundButtonOver = "AudioButtonOver";
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Chat Hud profiles
|
||||
|
||||
|
||||
new GuiControlProfile (ChatHudEditProfile)
|
||||
{
|
||||
opaque = false;
|
||||
fillColor = "255 255 255";
|
||||
fillColorHL = "128 128 128";
|
||||
border = false;
|
||||
borderThickness = 0;
|
||||
borderColor = "40 231 240";
|
||||
fontColor = "40 231 240";
|
||||
fontColorHL = "40 231 240";
|
||||
fontColorNA = "128 128 128";
|
||||
textOffset = "0 2";
|
||||
autoSizeWidth = false;
|
||||
autoSizeHeight = true;
|
||||
tab = true;
|
||||
canKeyFocus = true;
|
||||
};
|
||||
|
||||
|
||||
new GuiControlProfile( GuiBevelLoweredProfile )
|
||||
{
|
||||
opaque = true;
|
||||
fillColor = "255 255 255 80";
|
||||
border = 0;
|
||||
borderThickness = 2;
|
||||
borderColor = "0 0 0 80";
|
||||
bitmap = "./demoScroll";
|
||||
hasBitmapArray = true;
|
||||
};
|
||||
|
||||
|
||||
new GuiControlProfile (ChatHudTextProfile)
|
||||
{
|
||||
opaque = false;
|
||||
fillColor = "255 255 255";
|
||||
fillColorHL = "128 128 128";
|
||||
border = false;
|
||||
borderThickness = 0;
|
||||
borderColor = "40 231 240";
|
||||
fontColor = "40 231 240";
|
||||
fontColorHL = "40 231 240";
|
||||
fontColorNA = "128 128 128";
|
||||
textOffset = "0 0";
|
||||
autoSizeWidth = true;
|
||||
autoSizeHeight = true;
|
||||
tab = true;
|
||||
canKeyFocus = true;
|
||||
};
|
||||
|
||||
new GuiControlProfile ("ChatHudMessageProfile")
|
||||
{
|
||||
fontType = "Arial";
|
||||
fontSize = 16;
|
||||
fontColor = "44 172 181"; // default color (death msgs, scoring, inventory)
|
||||
fontColors[1] = "4 235 105"; // client join/drop, tournament mode
|
||||
fontColors[2] = "219 200 128"; // gameplay, admin/voting, pack/deployable
|
||||
fontColors[3] = "77 253 95"; // team chat, spam protection message, client tasks
|
||||
fontColors[4] = "40 231 240"; // global chat
|
||||
fontColors[5] = "200 200 50 200"; // used in single player game
|
||||
// WARNING! Colors 6-9 are reserved for name coloring
|
||||
autoSizeWidth = true;
|
||||
autoSizeHeight = true;
|
||||
};
|
||||
|
||||
new GuiControlProfile ("ChatHudScrollProfile")
|
||||
{
|
||||
opaque = false;
|
||||
border = false;
|
||||
borderColor = "0 255 0";
|
||||
bitmap = "common/ui/darkScroll";
|
||||
hasBitmapArray = true;
|
||||
};
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Common Hud profiles
|
||||
|
||||
new GuiControlProfile ("HudScrollProfile")
|
||||
{
|
||||
opaque = false;
|
||||
border = true;
|
||||
borderColor = "0 255 0";
|
||||
bitmap = "common/ui/darkScroll";
|
||||
hasBitmapArray = true;
|
||||
};
|
||||
|
||||
new GuiControlProfile ("HudTextProfile")
|
||||
{
|
||||
opaque = false;
|
||||
fillColor = "128 128 128";
|
||||
fontColor = "0 255 0";
|
||||
border = true;
|
||||
borderColor = "0 255 0";
|
||||
};
|
||||
|
||||
new GuiControlProfile ("ChatHudBorderProfile")
|
||||
{
|
||||
bitmap = "./chatHudBorderArray";
|
||||
hasBitmapArray = true;
|
||||
opaque = false;
|
||||
};
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Center and bottom print
|
||||
|
||||
new GuiControlProfile ("CenterPrintProfile")
|
||||
{
|
||||
opaque = false;
|
||||
fillColor = "128 128 128";
|
||||
fontColor = "0 255 0";
|
||||
border = true;
|
||||
borderColor = "0 255 0";
|
||||
};
|
||||
|
||||
new GuiControlProfile ("CenterPrintTextProfile")
|
||||
{
|
||||
opaque = false;
|
||||
fontType = "Arial";
|
||||
fontSize = 12;
|
||||
fontColor = "0 255 0";
|
||||
};
|
||||
|
||||
|
BIN
example/demo/client/ui/defaultGameProfiles.cs.dso
Executable file
BIN
example/demo/client/ui/demoCheck.png
Executable file
After Width: | Height: | Size: 509 B |
BIN
example/demo/client/ui/demoMenu.png
Executable file
After Width: | Height: | Size: 1.5 KiB |
BIN
example/demo/client/ui/demoRadio.png
Executable file
After Width: | Height: | Size: 604 B |
BIN
example/demo/client/ui/demoScroll.png
Executable file
After Width: | Height: | Size: 1.9 KiB |
BIN
example/demo/client/ui/demoWindow.png
Executable file
After Width: | Height: | Size: 1.7 KiB |
BIN
example/demo/client/ui/editor.png
Executable file
After Width: | Height: | Size: 119 KiB |
71
example/demo/client/ui/endGameGui.gui
Executable file
@ -0,0 +1,71 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiChunkedBitmapCtrl(EndGameGui) {
|
||||
profile = "GuiContentProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
bitmap = "./background";
|
||||
useVariable = "0";
|
||||
tile = "0";
|
||||
|
||||
new GuiControl() {
|
||||
profile = "GuiWindowProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "center";
|
||||
position = "92 86";
|
||||
extent = "455 308";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiTextCtrl() {
|
||||
profile = "GuiMediumTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "101 15";
|
||||
extent = "251 28";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
text = "Game Over - Final Scores:";
|
||||
maxLength = "255";
|
||||
};
|
||||
new GuiScrollCtrl() {
|
||||
profile = "GuiScrollProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "5 51";
|
||||
extent = "444 251";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "dynamic";
|
||||
constantThumbHeight = "0";
|
||||
childMargin = "0 0";
|
||||
defaultLineHeight = "15";
|
||||
|
||||
new GuiTextListCtrl(EndGameGuiList) {
|
||||
profile = "GuiTextProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "2 2";
|
||||
extent = "440 16";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
enumerate = "0";
|
||||
resizeCell = "1";
|
||||
columns = "0 256";
|
||||
fitParentWidth = "1";
|
||||
clipColumnText = "0";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
BIN
example/demo/client/ui/endGameGui.gui.dso
Executable file
46
example/demo/client/ui/features/features_main.gui
Executable file
@ -0,0 +1,46 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(features_main) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "800 600";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
// title = "Torque Game Engine 1.5 Features";
|
||||
|
||||
new GuiScrollCtrl() {
|
||||
profile = "GuiBevelLoweredProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "height";
|
||||
position = "35 35";
|
||||
extent = "735 533";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "alwaysOn";
|
||||
constantThumbHeight = "0";
|
||||
childMargin = "0 0";
|
||||
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "height";
|
||||
position = "0 0";
|
||||
extent = "710 525";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "main";
|
||||
fileName = "demo/client/ui/features/features_main.txt";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
BIN
example/demo/client/ui/features/features_main.gui.dso
Executable file
58
example/demo/client/ui/features/features_main.txt
Executable file
@ -0,0 +1,58 @@
|
||||
<just:center><bitmap:demo/client/ui/features/images/tge-features>
|
||||
|
||||
<just:left><bitmap:demo/client/ui/features/images/3dtoolset_screen> <bitmap:demo/client/ui/features/images/toolset2><font:Arial Bold:22> <a:www.garagegames.com/products/torque/tge/features/3Dtoolset>3D Toolset</a>
|
||||
<font:Arial Italic:18>Integrated WYSIWYG "sandbox" Mission, GUI, and Terrain Builder editors for creating 3D environments.
|
||||
<font:Arial:16>Edit every aspect of your world, including terrain attributes, weather and fog, configure objects, set triggers and mission logic all in the WYSIWYG Mission Builder. Build fully scriptable interfaces, write custom controls, edit and test without exiting the GUI Builder. Includes mesh exporters for Maya, 3D Studio Max, LightWave, Blender, MilkShape and more.
|
||||
|
||||
|
||||
<just:left><bitmap:demo/client/ui/features/images/torquenet_screen> <bitmap:demo/client/ui/features/images/torquenet><font:Arial Bold:22> <a:www.garagegames.com/products/torque/tge/features/torquenet>TorqueNet</a>
|
||||
<font:Arial Italic:18>Create large multiplayer games with the award-winning TorqueNet client/server networking architecture.
|
||||
<font:Arial:16>The Torque Game Engine has a strong multiplayer networking foundation built into the code. TorqueNet uses both UDP and TCP, and key features include support of multiple data delivery requirements, partial object state updates and ghost manager, packet stream manager, and an optimized Notified Delivery Protocol.
|
||||
|
||||
|
||||
<just:left><bitmap:demo/client/ui/features/images/enviroterrain_screen> <bitmap:demo/client/ui/features/images/mapterrain2><font:Arial Bold:22> <a:www.garagegames.com/products/torque/tge/features/geoterrain>GeoTerrain</a>
|
||||
<font:Arial Italic:18>Generate mountains, valleys, and other terrain that spans incredibly vast distances.
|
||||
<font:Arial:16>The GeoTerrain heightfield generator is used to algorithmically create realistic heightfields which span miles of terrain. The heightfield generator contains several algorithmic and fractal generators, ridge and valley localized smoothing, thermal and hydraulic erosion operators and much more.
|
||||
|
||||
|
||||
<just:left><bitmap:demo/client/ui/features/images/tlk_screen> <bitmap:demo/client/ui/features/images/torquelightkit><font:Arial Bold:22> <a:www.garagegames.com/products/torque/tge/features/lighting>Torque Lighting Kit</a>
|
||||
<font:Arial Italic:18>New in TGE version 1.5! Torque Lighting Kit is now integrated into the engine.
|
||||
<font:Arial:16>The Torque Lighting Kit enhances Torque's lighting and rendering models, and adds flexible in-game lighting editors and tools that significantly increase game atmosphere and design efficiency. New mission light objects can be configured as static or dynamic, omni or spotlights, and are capable of illuminating multiple interiors, DTS objects and terrain.
|
||||
|
||||
|
||||
<just:left><bitmap:demo/client/ui/features/images/doorway_screen> <bitmap:demo/client/ui/features/images/doorway><font:Arial Bold:22> <a:www.garagegames.com/products/torque/tge/features/doorway>Doorway</a>
|
||||
<font:Arial Italic:18>Create realistic indoor to outdoor transitions with seamless interior and exterior rendering.
|
||||
<font:Arial:16>Torque Game Engine features seamless integration of interior and exterior rendering. The portal-based interiors, with detail brushes and animated lightmaps are able to connect directly with the environment-mapped terrain, featuring multi-pass texturing and lighting, and layered volumetric fog.
|
||||
|
||||
|
||||
<just:left><bitmap:demo/client/ui/features/images/puppeteer_screen> <bitmap:demo/client/ui/features/images/puppeteer2><font:Arial Bold:22> <a:www.garagegames.com/products/torque/tge/features/puppeteer>Puppeteer</a>
|
||||
<font:Arial Italic:18> Incorporate your animated models with ease using Torque Game Engine's mesh engine animation system.
|
||||
<font:Arial:16>Torque Game Engine's mesh engine allows the use of animated multi-bone skeletons for dynamic, flexible character actions with a high level of detail. Other features include dynamic projected shadow maps, mesh vertex deformation animation, and support for complex multi-layered animation.
|
||||
|
||||
|
||||
<just:left><bitmap:demo/client/ui/features/images/sourcewater_screen> <bitmap:demo/client/ui/features/images/sourceincluded><font:Arial Bold:22> <a:www.garagegames.com/products/torque/tge/features/sourceincluded>SourceIncluded</a>
|
||||
<font:Arial Italic:18>Modify the functionality of the engine to suit your own purposes.
|
||||
<font:Arial:16>The source code provides you with near limitless ability to modify and improve upon the TGE engine. Modify the networking code, convert the level editor to an isometric level editor, or just use all of the cool stuff that all of the other TGE users are making and contributing to the community.
|
||||
|
||||
|
||||
|
||||
<just:left><bitmap:demo/client/ui/features/images/torquescript_screen> <bitmap:demo/client/ui/features/images/torquescript><font:Arial Bold:22> <a:www.garagegames.com/products/torque/tge/features/torquescript>TorqueScript</a>
|
||||
<font:Arial Italic:18>Use the scripting language you know and love (or will grow to love)!
|
||||
<font:Arial:16>TGE uses the same scripting language as other Torque products. If you already use TGB, scripting will be second nature... if this is your first Torque product, the skills you learn will be translatable to other Torque products in the future. TorqueScript syntax is similar to C++, so if you are a C++ programmer, you already have a head start.
|
||||
|
||||
|
||||
|
||||
<just:left><bitmap:demo/client/ui/features/images/codeonce_screen> <bitmap:demo/client/ui/features/images/codeonce2><font:Arial Bold:22> <a:www.garagegames.com/products/torque/tge/features/codeonce>CodeOnce</a>
|
||||
<font:Arial Italic:18>Reach a wider audience by publishing your game on multiple platforms.
|
||||
<font:Arial:16>The same scripts will run on Windows or OSX, and can be ported into other Torque products as well. There is also a community-supported Linux version, and you can build your game onto Xbox 360 with a separate license. We are committed to multi-platform functionality, and are always looking to increase our platform support.
|
||||
|
||||
|
||||
|
||||
<just:left><bitmap:demo/client/ui/features/images/compatiblemarble_screen> <bitmap:demo/client/ui/features/images/user-compatibility><font:Arial Bold:22> <a:www.garagegames.com/products/torque/tge/features/audience>Audience Compatibility</a>
|
||||
<font:Arial Italic:18>Maximize your potential user base by catering to users with a wide range of hardware.
|
||||
<font:Arial:16>With support for hardware reaching all the way back to Windows 98 operating system and Voodoo 3 video cards, in addition to CodeOnce platform support, Torque Game Engine has the potential to reach a huge audience, which is a very important point for independent developers.
|
||||
|
||||
|
||||
<just:left><bitmap:demo/client/ui/features/images/content_screen> <bitmap:demo/client/ui/features/images/resourcepacksx><font:Arial Bold:22> <a:www.garagegames.com/products/torque/tge/features/resources>Helpful Resources</a>
|
||||
<font:Arial Italic:18>Additional functionality tools, game genre starter kits, and all kinds of content packs.
|
||||
<font:Arial:16> In addition to the engine you can purchase a plethora of additional resources such as Torque ShowTool Pro, the RTS Starter Kit, or Content Packs featuring models and environments from the likes of BraveTree and Tim Aste. Increase your knowledge of TGE using one of the available books, such as The Game Programmer's Guide to Torque.
|
BIN
example/demo/client/ui/features/images/3DToolset_Screen.png
Executable file
After Width: | Height: | Size: 46 KiB |
BIN
example/demo/client/ui/features/images/CodeOnce2.png
Executable file
After Width: | Height: | Size: 4.3 KiB |
BIN
example/demo/client/ui/features/images/CodeOnce_Screen.png
Executable file
After Width: | Height: | Size: 38 KiB |
BIN
example/demo/client/ui/features/images/CompatibleMarble_Screen.png
Executable file
After Width: | Height: | Size: 47 KiB |
BIN
example/demo/client/ui/features/images/Content_Screen.png
Executable file
After Width: | Height: | Size: 39 KiB |
BIN
example/demo/client/ui/features/images/Doorway.png
Executable file
After Width: | Height: | Size: 5.9 KiB |
BIN
example/demo/client/ui/features/images/Doorway_Screen.png
Executable file
After Width: | Height: | Size: 40 KiB |
BIN
example/demo/client/ui/features/images/EnviroTerrain_Screen.png
Executable file
After Width: | Height: | Size: 36 KiB |
BIN
example/demo/client/ui/features/images/MapTerrain2.png
Executable file
After Width: | Height: | Size: 4.6 KiB |
BIN
example/demo/client/ui/features/images/Puppeteer2.png
Executable file
After Width: | Height: | Size: 5.8 KiB |
BIN
example/demo/client/ui/features/images/Puppeteer_Screen.png
Executable file
After Width: | Height: | Size: 31 KiB |
BIN
example/demo/client/ui/features/images/ResourcePacksX.png
Executable file
After Width: | Height: | Size: 5.8 KiB |
BIN
example/demo/client/ui/features/images/SourceIncluded.png
Executable file
After Width: | Height: | Size: 4.5 KiB |
BIN
example/demo/client/ui/features/images/SourceWater_Screen.png
Executable file
After Width: | Height: | Size: 28 KiB |
BIN
example/demo/client/ui/features/images/TGE-Features.png
Executable file
After Width: | Height: | Size: 199 KiB |
BIN
example/demo/client/ui/features/images/TLK_Screen.png
Executable file
After Width: | Height: | Size: 35 KiB |
BIN
example/demo/client/ui/features/images/Toolset2.png
Executable file
After Width: | Height: | Size: 3.9 KiB |
BIN
example/demo/client/ui/features/images/TorqueLightKit.png
Executable file
After Width: | Height: | Size: 6.9 KiB |
BIN
example/demo/client/ui/features/images/TorqueNet.png
Executable file
After Width: | Height: | Size: 6.1 KiB |
BIN
example/demo/client/ui/features/images/TorqueNet_Screen.png
Executable file
After Width: | Height: | Size: 42 KiB |
BIN
example/demo/client/ui/features/images/TorqueScript_Screen.png
Executable file
After Width: | Height: | Size: 29 KiB |
BIN
example/demo/client/ui/features/images/Torquescript.png
Executable file
After Width: | Height: | Size: 4.0 KiB |
BIN
example/demo/client/ui/features/images/User-Compatibility.png
Executable file
After Width: | Height: | Size: 8.9 KiB |
BIN
example/demo/client/ui/gglogo150.png
Executable file
After Width: | Height: | Size: 12 KiB |
BIN
example/demo/client/ui/ggweb.png
Executable file
After Width: | Height: | Size: 15 KiB |
BIN
example/demo/client/ui/healthBar.png
Executable file
After Width: | Height: | Size: 14 KiB |
BIN
example/demo/client/ui/hudfill.png
Executable file
After Width: | Height: | Size: 510 B |
185
example/demo/client/ui/joinServerGui.gui
Executable file
@ -0,0 +1,185 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiChunkedBitmapCtrl(JoinServerGui) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "800 600";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
useVariable = "0";
|
||||
tile = "0";
|
||||
helpTag = "0";
|
||||
title = "Join Game Server";
|
||||
|
||||
new GuiControl() {
|
||||
profile = "GuiBevelLoweredProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "30 105";
|
||||
extent = "740 390";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiTextCtrl() {
|
||||
profile = "GuiTextProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "595 23";
|
||||
extent = "20 18";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
text = "Ping";
|
||||
maxLength = "255";
|
||||
helpTag = "0";
|
||||
};
|
||||
new GuiScrollCtrl() {
|
||||
profile = "GuiScrollProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "449 56";
|
||||
extent = "266 186";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "dynamic";
|
||||
vScrollBar = "alwaysOn";
|
||||
constantThumbHeight = "0";
|
||||
childMargin = "0 0";
|
||||
helpTag = "0";
|
||||
defaultLineHeight = "15";
|
||||
|
||||
new GuiTextListCtrl(JS_serverList) {
|
||||
profile = "GuiTextArrayProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "2 2";
|
||||
extent = "244 16";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
enumerate = "0";
|
||||
resizeCell = "1";
|
||||
columns = "0 145 205 260 325 385";
|
||||
fitParentWidth = "1";
|
||||
clipColumnText = "0";
|
||||
noDuplicates = "false";
|
||||
helpTag = "0";
|
||||
};
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
profile = "GuiTextProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "455 23";
|
||||
extent = "63 18";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
text = "Server Name";
|
||||
maxLength = "255";
|
||||
helpTag = "0";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
profile = "GuiTextProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "652 23";
|
||||
extent = "36 18";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
text = "Players";
|
||||
maxLength = "255";
|
||||
helpTag = "0";
|
||||
};
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "bottom";
|
||||
position = "2 2";
|
||||
extent = "427 258";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
fileName = "demo/client/ui/missions/join_server.txt";
|
||||
};
|
||||
new GuiButtonCtrl(JS_queryLan) {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "594 257";
|
||||
extent = "100 23";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
command = "JoinServerGui.queryLan();";
|
||||
text = "Query LAN";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
helpTag = "0";
|
||||
};
|
||||
new GuiButtonCtrl(JS_queryMaster) {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "454 257";
|
||||
extent = "100 23";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
command = "JoinServerGui.query();";
|
||||
text = "Query Master";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
helpTag = "0";
|
||||
};
|
||||
new GuiControl(JS_queryStatus) {
|
||||
profile = "GuiWindowProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "center";
|
||||
position = "215 170";
|
||||
extent = "310 50";
|
||||
minExtent = "8 8";
|
||||
visible = "0";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiButtonCtrl(JS_cancelQuery) {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "9 15";
|
||||
extent = "64 20";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
command = "JoinServerGui.cancel();";
|
||||
text = "Cancel";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
helpTag = "0";
|
||||
};
|
||||
new GuiProgressCtrl(JS_statusBar) {
|
||||
profile = "GuiProgressProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "84 15";
|
||||
extent = "207 20";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
};
|
||||
new GuiTextCtrl(JS_statusText) {
|
||||
profile = "GuiProgressTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "85 14";
|
||||
extent = "205 20";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
maxLength = "255";
|
||||
helpTag = "0";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
||||
|
BIN
example/demo/client/ui/joinServerGui.gui.dso
Executable file
BIN
example/demo/client/ui/lagIcon.png
Executable file
After Width: | Height: | Size: 2.9 KiB |
84
example/demo/client/ui/loadingGui.gui
Executable file
@ -0,0 +1,84 @@
|
||||
new GuiControlProfile ("LoadingGuiContentProfile")
|
||||
{
|
||||
opaque = true;
|
||||
fillColor = "200 200 200";
|
||||
border = true;
|
||||
borderColor = "0 0 0";
|
||||
};
|
||||
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiChunkedBitmapCtrl(LoadingGui) {
|
||||
profile = "GuiContentProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
bitmap = "./background";
|
||||
useVariable = "0";
|
||||
tile = "0";
|
||||
qLineCount = "0";
|
||||
|
||||
new GuiControl() {
|
||||
profile = "GuiBevelLoweredProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "center";
|
||||
position = "80 80";
|
||||
extent = "480 320";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiTextCtrl(LOAD_MapName) {
|
||||
profile = "GuiMediumTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "22 26";
|
||||
extent = "100 28";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
text = "Map Name";
|
||||
maxLength = "255";
|
||||
};
|
||||
new GuiMLTextCtrl(LOAD_MapDescription) {
|
||||
profile = "GuiMLTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "22 82";
|
||||
extent = "440 14";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
};
|
||||
new GuiProgressCtrl(LoadingProgress) {
|
||||
profile = "GuiProgressProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "19 278";
|
||||
extent = "442 25";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiTextCtrl(LoadingProgressTxt) {
|
||||
profile = "GuiProgressTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "-1 3";
|
||||
extent = "441 20";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
text = "LOADING MISSION";
|
||||
maxLength = "255";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|