diff --git a/Templates/BaseGame/game/data/ui/art/BackgroundImage.png b/Templates/BaseGame/game/data/ui/art/BackgroundImage.png
deleted file mode 100644
index d35403338..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/BackgroundImage.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/ScreenBrightness_Dark.png b/Templates/BaseGame/game/data/ui/art/ScreenBrightness_Dark.png
deleted file mode 100644
index 85cde0bbc..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/ScreenBrightness_Dark.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/ScreenBrightness_Light.png b/Templates/BaseGame/game/data/ui/art/ScreenBrightness_Light.png
deleted file mode 100644
index 6c16b7e44..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/ScreenBrightness_Light.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/Torque-3D-logo-shortcut.png b/Templates/BaseGame/game/data/ui/art/Torque-3D-logo-shortcut.png
deleted file mode 100644
index d993d4893..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/Torque-3D-logo-shortcut.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/Torque-3D-logo-w.png b/Templates/BaseGame/game/data/ui/art/Torque-3D-logo-w.png
deleted file mode 100644
index ec197dda3..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/Torque-3D-logo-w.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/Torque-3D-logo.png b/Templates/BaseGame/game/data/ui/art/Torque-3D-logo.png
deleted file mode 100644
index e31d42a68..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/Torque-3D-logo.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/Torque-3D-logo_alt.png b/Templates/BaseGame/game/data/ui/art/Torque-3D-logo_alt.png
deleted file mode 100644
index 3836f1e7f..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/Torque-3D-logo_alt.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/background-dark.png b/Templates/BaseGame/game/data/ui/art/background-dark.png
deleted file mode 100644
index fedbcfc93..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/background-dark.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/background.png b/Templates/BaseGame/game/data/ui/art/background.png
deleted file mode 100644
index 9444659f3..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/background.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/buttontab.png b/Templates/BaseGame/game/data/ui/art/buttontab.png
deleted file mode 100644
index 047b88645..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/buttontab.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/chatHudBorderArray.png b/Templates/BaseGame/game/data/ui/art/chatHudBorderArray.png
deleted file mode 100644
index 1aebdb2d8..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/chatHudBorderArray.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/checkbox.png b/Templates/BaseGame/game/data/ui/art/checkbox.png
deleted file mode 100644
index 46e0ac959..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/checkbox.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/clear-btn_d.png b/Templates/BaseGame/game/data/ui/art/clear-btn_d.png
deleted file mode 100644
index 229c71e8b..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/clear-btn_d.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/clear-btn_h.png b/Templates/BaseGame/game/data/ui/art/clear-btn_h.png
deleted file mode 100644
index 5e67cb13b..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/clear-btn_h.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/clear-btn_n.png b/Templates/BaseGame/game/data/ui/art/clear-btn_n.png
deleted file mode 100644
index ecb13a8d6..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/clear-btn_n.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/collapse-toolbar_d.png b/Templates/BaseGame/game/data/ui/art/collapse-toolbar_d.png
deleted file mode 100644
index 984a63853..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/collapse-toolbar_d.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/collapse-toolbar_h.png b/Templates/BaseGame/game/data/ui/art/collapse-toolbar_h.png
deleted file mode 100644
index 7e3de8387..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/collapse-toolbar_h.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/collapse-toolbar_n.png b/Templates/BaseGame/game/data/ui/art/collapse-toolbar_n.png
deleted file mode 100644
index b36de3ae0..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/collapse-toolbar_n.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/defaultCursor.png b/Templates/BaseGame/game/data/ui/art/defaultCursor.png
deleted file mode 100644
index ee03cd483..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/defaultCursor.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/dropDown.png b/Templates/BaseGame/game/data/ui/art/dropDown.png
deleted file mode 100644
index 9b7414acc..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/dropDown.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/dropdown-button-arrow.png b/Templates/BaseGame/game/data/ui/art/dropdown-button-arrow.png
deleted file mode 100644
index 8c420ab85..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/dropdown-button-arrow.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/dropdown-textEdit.png b/Templates/BaseGame/game/data/ui/art/dropdown-textEdit.png
deleted file mode 100644
index 3966efbb5..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/dropdown-textEdit.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/dropslider_d.png b/Templates/BaseGame/game/data/ui/art/dropslider_d.png
deleted file mode 100644
index 0c65347aa..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/dropslider_d.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/dropslider_h.png b/Templates/BaseGame/game/data/ui/art/dropslider_h.png
deleted file mode 100644
index bd2cb89d8..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/dropslider_h.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/dropslider_n.png b/Templates/BaseGame/game/data/ui/art/dropslider_n.png
deleted file mode 100644
index a4577f9ea..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/dropslider_n.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/expand-toolbar_d.png b/Templates/BaseGame/game/data/ui/art/expand-toolbar_d.png
deleted file mode 100644
index 462929e95..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/expand-toolbar_d.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/expand-toolbar_h.png b/Templates/BaseGame/game/data/ui/art/expand-toolbar_h.png
deleted file mode 100644
index c33bcad69..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/expand-toolbar_h.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/expand-toolbar_n.png b/Templates/BaseGame/game/data/ui/art/expand-toolbar_n.png
deleted file mode 100644
index 0af2f1bd1..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/expand-toolbar_n.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/folder.png b/Templates/BaseGame/game/data/ui/art/folder.png
deleted file mode 100644
index 571a904d0..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/folder.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/group-border.png b/Templates/BaseGame/game/data/ui/art/group-border.png
deleted file mode 100644
index 61234ae1f..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/group-border.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/hudfill.png b/Templates/BaseGame/game/data/ui/art/hudfill.png
deleted file mode 100644
index 57d72468b..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/hudfill.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/inactive-overlay.png b/Templates/BaseGame/game/data/ui/art/inactive-overlay.png
deleted file mode 100644
index feab83209..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/inactive-overlay.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/lagIcon.png b/Templates/BaseGame/game/data/ui/art/lagIcon.png
deleted file mode 100644
index cf158dd65..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/lagIcon.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/loadingbar.png b/Templates/BaseGame/game/data/ui/art/loadingbar.png
deleted file mode 100644
index 34f594403..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/loadingbar.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/macCursor.png b/Templates/BaseGame/game/data/ui/art/macCursor.png
deleted file mode 100644
index 22c444970..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/macCursor.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/menu-button.png b/Templates/BaseGame/game/data/ui/art/menu-button.png
deleted file mode 100644
index 9964e0e69..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/menu-button.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/menu.png b/Templates/BaseGame/game/data/ui/art/menu.png
deleted file mode 100644
index 2b7a33f58..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/menu.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/menuSlider.png b/Templates/BaseGame/game/data/ui/art/menuSlider.png
deleted file mode 100644
index 92fee1e9c..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/menuSlider.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/new_d.png b/Templates/BaseGame/game/data/ui/art/new_d.png
deleted file mode 100644
index bdfc9400d..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/new_d.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/new_h.png b/Templates/BaseGame/game/data/ui/art/new_h.png
deleted file mode 100644
index 1f9b722c1..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/new_h.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/new_n.png b/Templates/BaseGame/game/data/ui/art/new_n.png
deleted file mode 100644
index 06531327d..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/new_n.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/next-button_d.png b/Templates/BaseGame/game/data/ui/art/next-button_d.png
deleted file mode 100644
index 76c3ec0ff..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/next-button_d.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/next-button_h.png b/Templates/BaseGame/game/data/ui/art/next-button_h.png
deleted file mode 100644
index f52f5fb42..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/next-button_h.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/next-button_n.png b/Templates/BaseGame/game/data/ui/art/next-button_n.png
deleted file mode 100644
index 203133732..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/next-button_n.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/no-preview.png b/Templates/BaseGame/game/data/ui/art/no-preview.png
deleted file mode 100644
index fccdc858b..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/no-preview.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/numericslider.png b/Templates/BaseGame/game/data/ui/art/numericslider.png
deleted file mode 100644
index 6a97d60c8..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/numericslider.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/optionsMenuSliderBitmapArray.png b/Templates/BaseGame/game/data/ui/art/optionsMenuSliderBitmapArray.png
deleted file mode 100644
index bd41c15b7..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/optionsMenuSliderBitmapArray.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/previous-button_d.png b/Templates/BaseGame/game/data/ui/art/previous-button_d.png
deleted file mode 100644
index 688b30345..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/previous-button_d.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/previous-button_h.png b/Templates/BaseGame/game/data/ui/art/previous-button_h.png
deleted file mode 100644
index 26cf0e8c6..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/previous-button_h.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/previous-button_n.png b/Templates/BaseGame/game/data/ui/art/previous-button_n.png
deleted file mode 100644
index c0b9f4662..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/previous-button_n.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/radioButton.png b/Templates/BaseGame/game/data/ui/art/radioButton.png
deleted file mode 100644
index d5ecc9853..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/radioButton.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/scrollBar.png b/Templates/BaseGame/game/data/ui/art/scrollBar.png
deleted file mode 100644
index e8c34dc85..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/scrollBar.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/selector-button-blank.png b/Templates/BaseGame/game/data/ui/art/selector-button-blank.png
deleted file mode 100644
index e965b3af6..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/selector-button-blank.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/selector-button-dark.png b/Templates/BaseGame/game/data/ui/art/selector-button-dark.png
deleted file mode 100644
index 84ee7e6f3..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/selector-button-dark.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/selector-button-highlight-only.png b/Templates/BaseGame/game/data/ui/art/selector-button-highlight-only.png
deleted file mode 100644
index 77e01fc74..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/selector-button-highlight-only.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/selector-button.png b/Templates/BaseGame/game/data/ui/art/selector-button.png
deleted file mode 100644
index cd0780068..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/selector-button.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/separator-h.png b/Templates/BaseGame/game/data/ui/art/separator-h.png
deleted file mode 100644
index 339c0fbe0..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/separator-h.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/separator-v.png b/Templates/BaseGame/game/data/ui/art/separator-v.png
deleted file mode 100644
index 6a0f87361..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/separator-v.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/slider - Copy.png b/Templates/BaseGame/game/data/ui/art/slider - Copy.png
deleted file mode 100644
index 92fee1e9c..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/slider - Copy.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/slider-w-box.png b/Templates/BaseGame/game/data/ui/art/slider-w-box.png
deleted file mode 100644
index d9ef04961..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/slider-w-box.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/slider.png b/Templates/BaseGame/game/data/ui/art/slider.png
deleted file mode 100644
index 92fee1e9c..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/slider.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/tab-border.png b/Templates/BaseGame/game/data/ui/art/tab-border.png
deleted file mode 100644
index 6703924d4..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/tab-border.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/tab.png b/Templates/BaseGame/game/data/ui/art/tab.png
deleted file mode 100644
index ecd81daf7..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/tab.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/textEdit.png b/Templates/BaseGame/game/data/ui/art/textEdit.png
deleted file mode 100644
index 5a65fac3c..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/textEdit.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/textEditSliderBox.png b/Templates/BaseGame/game/data/ui/art/textEditSliderBox.png
deleted file mode 100644
index 57a0c49d3..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/textEditSliderBox.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/art/window.png b/Templates/BaseGame/game/data/ui/art/window.png
deleted file mode 100644
index d9e8006e4..000000000
Binary files a/Templates/BaseGame/game/data/ui/art/window.png and /dev/null differ
diff --git a/Templates/BaseGame/game/data/ui/scripts/FileDialog.cs b/Templates/BaseGame/game/data/ui/guis/FileDialog.cs
similarity index 100%
rename from Templates/BaseGame/game/data/ui/scripts/FileDialog.cs
rename to Templates/BaseGame/game/data/ui/guis/FileDialog.cs
diff --git a/Templates/BaseGame/game/data/ui/guis/messageBoxOK.gui b/Templates/BaseGame/game/data/ui/guis/messageBoxOK.gui
deleted file mode 100644
index 52e119ea6..000000000
--- a/Templates/BaseGame/game/data/ui/guis/messageBoxOK.gui
+++ /dev/null
@@ -1,60 +0,0 @@
-//--- OBJECT WRITE BEGIN ---
-%guiContent = new GuiControl(MessageBoxOKDlg) {
- profile = "GuiOverlayProfile";
- horizSizing = "width";
- vertSizing = "height";
- position = "0 0";
- extent = "640 480";
- minExtent = "8 8";
- visible = "1";
- helpTag = "0";
-
- new GuiWindowCtrl(MBOKFrame) {
- profile = "GuiWindowProfile";
- horizSizing = "center";
- vertSizing = "center";
- position = "170 175";
- extent = "300 107";
- minExtent = "48 95";
- visible = "1";
- helpTag = "0";
- maxLength = "255";
- resizeWidth = "1";
- resizeHeight = "1";
- canMove = "1";
- canClose = "0";
- canMinimize = "0";
- canMaximize = "0";
- minSize = "50 50";
- text = "";
-
- new GuiMLTextCtrl(MBOKText) {
- profile = "GuiMLTextProfile";
- horizSizing = "center";
- vertSizing = "bottom";
- position = "9 35";
- extent = "281 24";
- minExtent = "8 8";
- visible = "1";
- helpTag = "0";
- lineSpacing = "2";
- allowColorChars = "0";
- maxChars = "-1";
- };
- new GuiButtonCtrl() {
- profile = "GuiButtonProfile";
- horizSizing = "right";
- vertSizing = "top";
- position = "111 75";
- extent = "80 24";
- minExtent = "8 8";
- visible = "1";
- command = "MessageCallback(MessageBoxOKDlg,MessageBoxOKDlg.callback);";
- accelerator = "return";
- helpTag = "0";
- text = "Ok";
- simpleStyle = "0";
- };
- };
-};
-//--- OBJECT WRITE END ---
diff --git a/Templates/BaseGame/game/data/ui/guis/messageBoxYesNo.gui b/Templates/BaseGame/game/data/ui/guis/messageBoxYesNo.gui
deleted file mode 100644
index 3cd7d18ef..000000000
--- a/Templates/BaseGame/game/data/ui/guis/messageBoxYesNo.gui
+++ /dev/null
@@ -1,75 +0,0 @@
-//--- OBJECT WRITE BEGIN ---
-%guiContent = new GuiControl(MessageBoxYesNoDlg) {
- profile = "GuiOverlayProfile";
- horizSizing = "width";
- vertSizing = "height";
- position = "0 0";
- extent = "640 480";
- minExtent = "8 8";
- visible = "1";
- helpTag = "0";
-
- new GuiWindowCtrl(MBYesNoFrame) {
- profile = "GuiWindowProfile";
- horizSizing = "center";
- vertSizing = "center";
- position = "170 175";
- extent = "300 100";
- minExtent = "48 92";
- visible = "1";
- helpTag = "0";
- maxLength = "255";
- resizeWidth = "1";
- resizeHeight = "1";
- canMove = "1";
- canClose = "1";
- canMinimize = "0";
- canMaximize = "0";
- minSize = "50 50";
- text = "";
- closeCommand = "MessageCallback(MessageBoxYesNoDlg,MessageBoxYesNoDlg.noCallback);";
-
- new GuiMLTextCtrl(MBYesNoText) {
- profile = "GuiMLTextProfile";
- horizSizing = "center";
- vertSizing = "bottom";
- position = "11 38";
- extent = "280 14";
- minExtent = "8 8";
- visible = "1";
- helpTag = "0";
- lineSpacing = "2";
- allowColorChars = "0";
- maxChars = "-1";
- };
- new GuiButtonCtrl() {
- profile = "GuiButtonProfile";
- horizSizing = "right";
- vertSizing = "top";
- position = "70 68";
- extent = "80 22";
- minExtent = "8 8";
- visible = "1";
- command = "MessageCallback(MessageBoxYesNoDlg,MessageBoxYesNoDlg.yesCallback);";
- accelerator = "return";
- helpTag = "0";
- text = "Yes";
- simpleStyle = "0";
- };
- new GuiButtonCtrl() {
- profile = "GuiButtonProfile";
- horizSizing = "right";
- vertSizing = "top";
- position = "167 68";
- extent = "80 22";
- minExtent = "8 8";
- visible = "1";
- command = "MessageCallback(MessageBoxYesNoDlg,MessageBoxYesNoDlg.noCallback);";
- accelerator = "escape";
- helpTag = "0";
- text = "No";
- simpleStyle = "0";
- };
- };
-};
-//--- OBJECT WRITE END ---
diff --git a/Templates/BaseGame/game/data/ui/scripts/chooseLevelDlg.cs b/Templates/BaseGame/game/data/ui/scripts/chooseLevelDlg.cs
deleted file mode 100644
index ef34e329d..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/chooseLevelDlg.cs
+++ /dev/null
@@ -1,374 +0,0 @@
-//-----------------------------------------------------------------------------
-// Copyright (c) 2012 GarageGames, LLC
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to
-// deal in the Software without restriction, including without limitation the
-// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-// sell copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-// IN THE SOFTWARE.
-//-----------------------------------------------------------------------------
-
-//----------------------------------------
-function ChooseLevelDlg::onWake( %this )
-{
- CL_levelList.clear();
- ChooseLevelWindow->SmallPreviews.clear();
-
- %this->CurrentPreview.visible = false;
- %this->levelName.visible = false;
- %this->LevelDescriptionLabel.visible = false;
- %this->LevelDescription.visible = false;
-
- %assetQuery = new AssetQuery();
- AssetDatabase.findAssetType(%assetQuery, "LevelAsset");
-
- %count = %assetQuery.getCount();
-
- if(%count == 0 && !IsDirectory("tools"))
- {
- //We have no levels found. Prompt the user to open the editor to the default level if the tools are present
- MessageBoxOK("Error", "No levels were found in any modules. Please ensure you have modules loaded that contain gameplay code and level files.",
- "Canvas.popDialog(ChooseLevelDlg); if(isObject(ChooseLevelDlg.returnGui) && ChooseLevelDlg.returnGui.isMethod(\"onReturnTo\")) ChooseLevelDlg.returnGui.onReturnTo();");
-
- %assetQuery.delete();
- return;
- }
-
- for(%i=0; %i < %count; %i++)
- {
- %assetId = %assetQuery.getAsset(%i);
-
- %levelAsset = AssetDatabase.acquireAsset(%assetId);
-
- %file = %levelAsset.LevelFile;
-
- if ( !isFile(%file @ ".mis") && !isFile(%file) )
- continue;
-
- // Skip our new level/mission if we arent choosing a level
- // to launch in the editor.
- if ( !%this.launchInEditor )
- {
- %fileName = fileName(%file);
- if (strstr(%fileName, "newMission.mis") > -1 || strstr(%fileName, "newLevel.mis") > -1)
- continue;
- }
-
- %this.addLevelAsset( %levelAsset );
- }
-
- // Also add the new level mission as defined in the world editor settings
- // if we are choosing a level to launch in the editor.
- if ( %this.launchInEditor )
- {
- %file = EditorSettings.value( "WorldEditor/newLevelFile" );
- if ( %file !$= "" )
- %this.addMissionFile( %file );
- }
-
- // Sort our list
- CL_levelList.sort(0);
-
- // Set the first row as the selected row
- CL_levelList.setSelectedRow(0);
-
- for (%i = 0; %i < CL_levelList.rowCount(); %i++)
- {
- %preview = new GuiButtonCtrl() {
- profile = "GuiMenuButtonProfile";
- internalName = "SmallPreview" @ %i;
- Extent = "368 35";
- text = getField(CL_levelList.getRowText(%i), 0);
- command = "ChooseLevelWindow.previewSelected(ChooseLevelWindow->SmallPreviews->SmallPreview" @ %i @ ");";
- buttonType = "RadioButton";
- };
-
- ChooseLevelWindow->SmallPreviews.add(%preview);
-
- %rowText = CL_levelList.getRowText(%i);
-
- // Set the level index
- %preview.levelIndex = %i;
-
- // Get the name
- %name = getField(CL_levelList.getRowText(%i), 0);
-
- %preview.levelName = %name;
-
- %file = getField(CL_levelList.getRowText(%i), 1);
-
- // Find the preview image
- %levelPreview = getField(CL_levelList.getRowText(%i), 3);
-
- // Test against all of the different image formats
- // This should probably be moved into an engine function
- if (isFile(%levelPreview @ ".png") ||
- isFile(%levelPreview @ ".jpg") ||
- isFile(%levelPreview @ ".bmp") ||
- isFile(%levelPreview @ ".gif") ||
- isFile(%levelPreview @ ".jng") ||
- isFile(%levelPreview @ ".mng") ||
- isFile(%levelPreview @ ".tga"))
- {
- %preview.bitmap = %levelPreview;
- }
-
- // Get the description
- %desc = getField(CL_levelList.getRowText(%i), 2);
-
- %preview.levelDesc = %desc;
- }
-
- ChooseLevelWindow->SmallPreviews.firstVisible = -1;
- ChooseLevelWindow->SmallPreviews.lastVisible = -1;
-
- if (ChooseLevelWindow->SmallPreviews.getCount() > 0)
- {
- ChooseLevelWindow->SmallPreviews.firstVisible = 0;
-
- if (ChooseLevelWindow->SmallPreviews.getCount() < 6)
- ChooseLevelWindow->SmallPreviews.lastVisible = ChooseLevelWindow->SmallPreviews.getCount() - 1;
- else
- ChooseLevelWindow->SmallPreviews.lastVisible = 4;
- }
-
- if (ChooseLevelWindow->SmallPreviews.getCount() > 0)
- ChooseLevelWindow.previewSelected(ChooseLevelWindow->SmallPreviews.getObject(0));
-
- // If we have 5 or less previews then hide our next/previous buttons
- // and resize to fill their positions
- if (ChooseLevelWindow->SmallPreviews.getCount() < 6)
- {
- ChooseLevelWindow->PreviousSmallPreviews.setVisible(false);
- ChooseLevelWindow->NextSmallPreviews.setVisible(false);
-
- %previewPos = ChooseLevelWindow->SmallPreviews.getPosition();
- %previousPos = ChooseLevelWindow->PreviousSmallPreviews.getPosition();
-
- %previewPosX = getWord(%previousPos, 0);
- %previewPosY = getWord(%previewPos, 1);
-
- ChooseLevelWindow->SmallPreviews.setPosition(%previewPosX, %previewPosY);
-
- ChooseLevelWindow->SmallPreviews.colSpacing = 10;//((getWord(NextSmallPreviews.getPosition(), 0)+11)-getWord(PreviousSmallPreviews.getPosition(), 0))/4;
- ChooseLevelWindow->SmallPreviews.refresh();
- }
-
- /*if (ChooseLevelWindow->SmallPreviews.getCount() <= 1)
- {
- // Hide the small previews
- ChooseLevelWindow->SmallPreviews.setVisible(false);
-
- // Shrink the ChooseLevelWindow so that we don't have a large blank space
- %extentX = getWord(ChooseLevelWindow.getExtent(), 0);
- %extentY = getWord(ChooseLevelWindow->SmallPreviews.getPosition(), 1);
-
- ChooseLevelWIndow.setExtent(%extentX, %extentY);
- }
- else
- {
- // Make sure the small previews are visible
- ChooseLevelWindow->SmallPreviews.setVisible(true);
-
- %extentX = getWord(ChooseLevelWindow.getExtent(), 0);
-
- %extentY = getWord(ChooseLevelWindow->SmallPreviews.getPosition(), 1);
- %extentY = %extentY + getWord(ChooseLevelWindow->SmallPreviews.getExtent(), 1);
- %extentY = %extentY + 9;
-
- //ChooseLevelWIndow.setExtent(%extentX, %extentY);
- //}*/
-}
-
-function ChooseLevelDlg::addMissionFile( %this, %file )
-{
- %levelName = fileBase(%file);
- %levelDesc = "A Torque level";
-
- %LevelInfoObject = getLevelInfo(%file);
-
- if (%LevelInfoObject != 0)
- {
- if(%LevelInfoObject.levelName !$= "")
- %levelName = %LevelInfoObject.levelName;
- else if(%LevelInfoObject.name !$= "")
- %levelName = %LevelInfoObject.name;
-
- if (%LevelInfoObject.desc0 !$= "")
- %levelDesc = %LevelInfoObject.desc0;
-
- if (%LevelInfoObject.preview !$= "")
- %levelPreview = %LevelInfoObject.preview;
-
- %LevelInfoObject.delete();
- }
-
- CL_levelList.addRow( CL_levelList.rowCount(), %levelName TAB %file TAB %levelDesc TAB %levelPreview );
-}
-
-function ChooseLevelDlg::addLevelAsset( %this, %levelAsset )
-{
- %file = %levelAsset.LevelFile;
-
- /*%levelName = fileBase(%file);
- %levelDesc = "A Torque level";
-
- %LevelInfoObject = getLevelInfo(%file);
-
- if (%LevelInfoObject != 0)
- {
- if(%LevelInfoObject.levelName !$= "")
- %levelName = %LevelInfoObject.levelName;
- else if(%LevelInfoObject.name !$= "")
- %levelName = %LevelInfoObject.name;
-
- if (%LevelInfoObject.desc0 !$= "")
- %levelDesc = %LevelInfoObject.desc0;
-
- if (%LevelInfoObject.preview !$= "")
- %levelPreview = %LevelInfoObject.preview;
-
- %LevelInfoObject.delete();
- }*/
-
- %levelName = %levelAsset.LevelName;
- %levelDesc = %levelAsset.description;
- %levelPreview = %levelAsset.levelPreviewImage;
-
- CL_levelList.addRow( CL_levelList.rowCount(), %levelName TAB %file TAB %levelDesc TAB %levelPreview );
-}
-
-function ChooseLevelDlg::onSleep( %this )
-{
- // This is set from the outside, only stays true for a single wake/sleep
- // cycle.
- %this.launchInEditor = false;
-}
-
-function ChooseLevelWindow::previewSelected(%this, %preview)
-{
- // Set the selected level
- if (isObject(%preview) && %preview.levelIndex !$= "")
- CL_levelList.setSelectedRow(%preview.levelIndex);
- else
- CL_levelList.setSelectedRow(-1);
-
- // Set the large preview image
- if (isObject(%preview) && %preview.bitmap !$= "")
- {
- %this->CurrentPreview.visible = true;
- %this->CurrentPreview.setBitmap(%preview.bitmap);
- }
- else
- {
- %this->CurrentPreview.visible = false;
- }
-
- // Set the current level name
- if (isObject(%preview) && %preview.levelName !$= "")
- {
- %this->LevelName.visible = true;
- %this->LevelName.setText(%preview.levelName);
- }
- else
- {
- %this->LevelName.visible = false;
- }
-
- // Set the current level description
- if (isObject(%preview) && %preview.levelDesc !$= "")
- {
- %this->LevelDescription.visible = true;
- %this->LevelDescriptionLabel.visible = true;
- %this->LevelDescription.setText(%preview.levelDesc);
- }
- else
- {
- %this->LevelDescription.visible = false;
- %this->LevelDescriptionLabel.visible = false;
- }
-}
-
-function ChooseLevelWindow::previousPreviews(%this)
-{
- %prevHiddenIdx = %this->SmallPreviews.firstVisible - 1;
-
- if (%prevHiddenIdx < 0)
- return;
-
- %lastVisibleIdx = %this->SmallPreviews.lastVisible;
-
- if (%lastVisibleIdx >= %this->SmallPreviews.getCount())
- return;
-
- %prevHiddenObj = %this->SmallPreviews.getObject(%prevHiddenIdx);
- %lastVisibleObj = %this->SmallPreviews.getObject(%lastVisibleIdx);
-
- if (isObject(%prevHiddenObj) && isObject(%lastVisibleObj))
- {
- %this->SmallPreviews.firstVisible--;
- %this->SmallPreviews.lastVisible--;
-
- %prevHiddenObj.setVisible(true);
- %lastVisibleObj.setVisible(false);
- }
-}
-
-function ChooseLevelWindow::nextPreviews(%this)
-{
- %firstVisibleIdx = %this->SmallPreviews.firstVisible;
-
- if (%firstVisibleIdx < 0)
- return;
-
- %firstHiddenIdx = %this->SmallPreviews.lastVisible + 1;
-
- if (%firstHiddenIdx >= %this->SmallPreviews.getCount())
- return;
-
- %firstVisibleObj = %this->SmallPreviews.getObject(%firstVisibleIdx);
- %firstHiddenObj = %this->SmallPreviews.getObject(%firstHiddenIdx);
-
- if (isObject(%firstVisibleObj) && isObject(%firstHiddenObj))
- {
- %this->SmallPreviews.firstVisible++;
- %this->SmallPreviews.lastVisible++;
-
- %firstVisibleObj.setVisible(false);
- %firstHiddenObj.setVisible(true);
- }
-}
-
-// Do this onMouseUp not via Command which occurs onMouseDown so we do
-// not have a lingering mouseUp event lingering in the ether.
-function ChooseLevelDlgGoBtn::onMouseUp( %this )
-{
- // So we can't fire the button when loading is in progress.
- if ( isObject( ServerGroup ) )
- return;
-
- // Launch the chosen level with the editor open?
- if ( ChooseLevelDlg.launchInEditor )
- {
- activatePackage( "BootEditor" );
- ChooseLevelDlg.launchInEditor = false;
- StartGame("", "SinglePlayer");
- }
- else
- {
- StartGame();
- }
-}
-
diff --git a/Templates/BaseGame/game/data/ui/scripts/guiMusicPlayer.cs b/Templates/BaseGame/game/data/ui/scripts/guiMusicPlayer.cs
deleted file mode 100644
index 6af2c48ea..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/guiMusicPlayer.cs
+++ /dev/null
@@ -1,244 +0,0 @@
-//-----------------------------------------------------------------------------
-// Copyright (c) 2012 GarageGames, LLC
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to
-// deal in the Software without restriction, including without limitation the
-// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-// sell copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-// IN THE SOFTWARE.
-//-----------------------------------------------------------------------------
-
-// A very simple music player.
-
-//---------------------------------------------------------------------------------------------
-// Prerequisites.
-
-if( !isObject( GuiMusicPlayer ) )
- exec( "./guiMusicPlayer.gui" );
-
-//---------------------------------------------------------------------------------------------
-// Preferences.
-
-$pref::GuiMusicPlayer::filePattern = "*.ogg\t*.wav";
-$pref::GuiMusicPlayer::filePatternFMOD = "*.aiff\t*.asf\t*.flac\t*.it\t*.mid\t*.mod\t*.mp2\t*.mp3\t*.ogg\t*.s3m\t*.vag\t*.wav\t*.wma\t*.xm";
-$pref::GuiMusicPlayer::fadeTime = "3.0";
-
-//---------------------------------------------------------------------------------------------
-// Datablocks.
-
-singleton SFXDescription( GuiMusicPlayerStream : AudioMusic2D )
-{
- volume = 1.0;
- isLooping = false;
- isStreaming = true;
- is3D = false;
-};
-singleton SFXDescription( GuiMusicPlayerLoopingStream : AudioMusic2D )
-{
- volume = 1.0;
- isLooping = true;
- isStreaming = true;
- is3D = false;
-};
-
-//---------------------------------------------------------------------------------------------
-// Functions.
-
-function toggleMusicPlayer()
-{
- if( !GuiMusicPlayer.isAwake() )
- {
- GuiMusicPlayer.setExtent( Canvas.getExtent() );
- GuiMusicPlayer.setPosition( 0, 0 );
-
- Canvas.pushDialog( GuiMusicPlayer );
- }
- else
- Canvas.popDialog( GuiMusicPlayer );
-}
-
-//---------------------------------------------------------------------------------------------
-// Methods.
-
-function GuiMusicPlayer_onSFXSourceStatusChange( %id, %status )
-{
- if( %status $= "Stopped" )
- GuiMusicPlayer.onStop();
-}
-
-function GuiMusicPlayerClass::play( %this )
-{
- if( %this.status $= "Stopped"
- || %this.status $= "Paused"
- || %this.status $= "" )
- {
- %isPlaying = true;
- if( %this.status $= "Paused" && isObject( %this.sfxSource ) )
- %this.sfxSource.play();
- else
- {
- %sel = GuiMusicPlayerMusicList.getSelectedItem();
- if( %sel == -1 )
- %isPlaying = false;
- else
- {
- %desc = GuiMusicPlayerStream;
- if( GuiMusicPlayerLoopCheckBox.getValue() )
- %desc = GuiMusicPlayerLoopingStream;
-
- if( GuiMusicPlayerFadeCheckBox.getValue() )
- {
- %desc.fadeInTime = $pref::GuiMusicPlayer::fadeTime;
- %desc.fadeOutTime = $pref::GuiMusicPlayer::fadeTime;
- }
- else
- {
- %desc.fadeInTime = 0;
- %desc.fadeOutTime = 0;
- }
-
- %file = GuiMusicPlayerMusicList.getItemText( %sel );
- %this.sfxSource = sfxPlayOnce( %desc, %file );
- if( !%this.sfxSource )
- %isPlaying = false;
- else
- {
- %this.sfxSource.statusCallback = "GuiMusicPlayer_onSFXSourceStatusChange";
- GuiMusicPlayer.status = "Playing";
-
- GuiMusicPlayerScrubber.setActive( true );
- GuiMusicPlayerScrubber.setup( %this.sfxSource.getDuration() );
- }
- }
- }
-
- if( %isPlaying )
- {
- GuiMusicPlayerPlayButton.setText( "Pause" );
- GuiMusicPlayerPlayButton.command = "GuiMusicPlayer.pause();";
- GuiMusicPlayerLoopCheckBox.setActive( false );
- GuiMusicPlayerFadeCheckBox.setActive( false );
- %this.status = "Playing";
- }
- }
-}
-
-function GuiMusicPlayerClass::stop( %this )
-{
- if( %this.status $= "Playing"
- || %this.status $= "Paused" )
- {
- if( isObject( %this.sfxSource ) )
- %this.sfxSource.stop( 0 ); // Stop immediately.
- }
-}
-
-function GuiMusicPlayerClass::onStop( %this )
-{
- %this.sfxSource = 0;
-
- GuiMusicPlayerLoopCheckBox.setActive( true );
- GuiMusicPlayerFadeCheckBox.setActive( true );
- GuiMusicPlayerScrubber.setActive( false );
- GuiMusicPlayerPlayButton.setText( "Play" );
- GuiMusicPlayerPlayButton.Command = "GuiMusicPlayer.play();";
- %this.status = "Stopped";
-
- GuiMusicPlayerScrubber.setValue( 0 );
-}
-
-function GuiMusicPlayerClass::pause( %this )
-{
- if( %this.status $= "Playing" )
- {
- if( isObject( %this.sfxSource ) )
- %this.sfxSource.pause( 0 );
-
- GuiMusicPlayerPlayButton.setText( "Play" );
- GuiMusicPlayerPlayButton.command = "GuiMusicPlayer.play();";
- %this.status = "Paused";
- }
-}
-
-function GuiMusicPlayerClass::seek( %this, %playtime )
-{
- if( ( %this.status $= "Playing"
- || %this.status $= "Paused" )
- && isObject( %this.sfxSource ) )
- %this.sfxSource.setPosition( %playtime );
-}
-
-function GuiMusicPlayer::onWake( %this )
-{
- GuiMusicPlayerMusicList.load();
-}
-
-function GuiMusicPlayerMusicListClass::load( %this )
-{
- // Remove all the files currently in the list.
-
- %this.clearItems();
-
- // Find the file matching pattern we should use.
-
- %filePattern = $pref::GuiMusicPlayer::filePattern;
- %sfxProvider = getWord( sfxGetDeviceInfo(), 0 );
- %filePatternVarName = "$pref::GuiMusicPlayer::filePattern" @ %sfxProvider;
- if( isDefined( %filePatternVarName ) )
- eval( "%filePattern = " @ %filePatternVarName @ ";" );
-
- // Find all files matching the pattern.
-
- for( %file = findFirstFileMultiExpr( %filePattern );
- %file !$= "";
- %file = findNextFileMultiExpr( %filePattern ) )
- %this.addItem( makeRelativePath( %file, getMainDotCsDir() ) );
-}
-
-function GuiMusicPlayerMusicList::onDoubleClick( %this )
-{
- GuiMusicPlayer.stop();
- GuiMusicPlayer.play();
-}
-
-function GuiMusicPlayerScrubber::onMouseDragged( %this )
-{
- %this.isBeingDragged = true;
-}
-
-function GuiMusicPlayerScrubberClass::setup( %this, %totalPlaytime )
-{
- %this.range = "0 " @ %totalPlaytime;
- %this.ticks = %totalPlaytime / 5; // One tick per five seconds.
-
- %this.update();
-}
-
-function GuiMusicPlayerScrubberClass::update( %this )
-{
- if( GuiMusicPlayer.status $= "Playing"
- && !%this.isBeingDragged )
- %this.setValue( GuiMusicPlayer.sfxSource.getPosition() );
-
- if( GuiMusicPlayer.status $= "Playing"
- || GuiMusicPlayer.status $= "Paused" )
- %this.schedule( 5, "update" );
-}
-
-function GuiMusicPlayerScrubberClass::onDragComplete( %this )
-{
- GuiMusicPlayer.seek( %this.getValue() );
- %this.isBeingDragged = false;
-}
diff --git a/Templates/BaseGame/game/data/ui/scripts/guis/FileDialog.gui b/Templates/BaseGame/game/data/ui/scripts/guis/FileDialog.gui
deleted file mode 100644
index e855636f0..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/guis/FileDialog.gui
+++ /dev/null
@@ -1,293 +0,0 @@
-//--- OBJECT WRITE BEGIN ---
-%guiContent = new GuiControl(PlatformFileDialog) {
- position = "0 0";
- extent = "1024 768";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "1";
-
- new GuiWindowCtrl() {
- text = "";
- resizeWidth = "1";
- resizeHeight = "1";
- canMove = "1";
- canClose = "1";
- canMinimize = "1";
- canMaximize = "1";
- canCollapse = "0";
- closeCommand = "PlatformFileDialog.cancel();";
- edgeSnap = "1";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "135 113";
- extent = "727 623";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiWindowProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "window";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiControl() {
- position = "2 16";
- extent = "717 37";
- minExtent = "8 2";
- horizSizing = "width";
- vertSizing = "bottom";
- profile = "ToolsGuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapButtonCtrl() {
- bitmap = "tools/gui/images/folderUp";
- bitmapMode = "Stretched";
- autoFitExtents = "0";
- useModifiers = "0";
- useStates = "1";
- groupNum = "0";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "9 9";
- extent = "20 19";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "ToolsGuiButtonProfile";
- visible = "1";
- active = "1";
- command = "PlatformFileDialog.navigateUp();";
- tooltipProfile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "folderUpButton";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl() {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "36 9";
- extent = "666 18";
- minExtent = "8 2";
- horizSizing = "width";
- vertSizing = "bottom";
- profile = "ToolsGuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "PopupMenu";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiScrollCtrl() {
- willFirstRespond = "1";
- hScrollBar = "dynamic";
- vScrollBar = "alwaysOff";
- lockHorizScroll = "0";
- lockVertScroll = "1";
- constantThumbHeight = "0";
- childMargin = "0 0";
- mouseWheelScrollSpeed = "-1";
- docking = "None";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "0";
- anchorBottom = "1";
- anchorLeft = "1";
- anchorRight = "0";
- position = "7 64";
- extent = "712 509";
- minExtent = "8 2";
- horizSizing = "width";
- vertSizing = "height";
- profile = "GuiScrollProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiDynamicCtrlArrayControl() {
- colCount = "1";
- colSize = "64";
- rowCount = "1";
- rowSize = "258";
- rowSpacing = "4";
- colSpacing = "4";
- frozen = "0";
- autoCellSize = "1";
- fillRowFirst = "0";
- dynamicSize = "1";
- padding = "0 0 0 0";
- position = "1 1";
- extent = "666 507";
- minExtent = "8 2";
- horizSizing = "width";
- vertSizing = "height";
- profile = "ToolsGuiTransparentProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "itemArray";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiContainer() {
- docking = "Bottom";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "0";
- anchorBottom = "1";
- anchorLeft = "1";
- anchorRight = "1";
- position = "1 583";
- extent = "725 37";
- minExtent = "8 2";
- horizSizing = "width";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "File Name";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "10 -1";
- extent = "51 30";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextEditCtrl() {
- historySize = "0";
- tabComplete = "0";
- sinkAllKeyEvents = "0";
- password = "0";
- passwordMask = "*";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "58 5";
- extent = "561 18";
- minExtent = "8 2";
- horizSizing = "width";
- vertSizing = "bottom";
- profile = "GuiTextEditProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "fileNameEdit";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiContainer() {
- docking = "Right";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "0";
- anchorBottom = "0";
- anchorLeft = "0";
- anchorRight = "0";
- position = "630 0";
- extent = "95 37";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiButtonCtrl() {
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "6 1";
- extent = "81 24";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "Button";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- };
- };
-};
-//--- OBJECT WRITE END ---
diff --git a/Templates/BaseGame/game/data/ui/scripts/guis/IODropdownDlg.ed.gui b/Templates/BaseGame/game/data/ui/scripts/guis/IODropdownDlg.ed.gui
deleted file mode 100644
index 5fa0093da..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/guis/IODropdownDlg.ed.gui
+++ /dev/null
@@ -1,159 +0,0 @@
-//--- OBJECT WRITE BEGIN ---
-%guiContent = new GuiControl(IODropdownDlg) {
- profile = "GuiDefaultProfile";
- horizSizing = "width";
- vertSizing = "height";
- position = "0 0";
- extent = "640 480";
- minExtent = "8 8";
- visible = "1";
- helpTag = "0";
- new GuiWindowCtrl(IODropdownFrame) {
- canSaveDynamicFields = "0";
- Profile = "GuiWindowProfile";
- horizSizing = "center";
- vertSizing = "center";
- position = "272 77";
- extent = "256 117";
- minExtent = "256 8";
- canSave = "1";
- Visible = "1";
- hovertime = "1000";
- maxLength = "255";
- resizeWidth = "1";
- resizeHeight = "1";
- canMove = "1";
- canClose = "1";
- canMinimize = "0";
- canMaximize = "0";
- minSize = "50 50";
- text = "";
- closeCommand="IOCallback(IODropdownDlg,IODropdownDlg.cancelCallback);";
-
- new GuiMLTextCtrl(IODropdownText) {
- text = "";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- isContainer = "0";
- profile = "GuiMLTextProfile";
- horizSizing = "center";
- vertSizing = "bottom";
- position = "9 26";
- extent = "237 16";
- minExtent = "8 8";
- canSave = "1";
- visible = "1";
- tooltipprofile = "GuiToolTipProfile";
- hovertime = "1000";
- canSaveDynamicFields = "0";
- };
- new GuiBitmapBorderCtrl() {
- isContainer = "0";
- profile = "GuiGroupBorderProfile";
- horizSizing = "width";
- vertSizing = "bottom";
- position = "7 51";
- extent = "243 28";
- minExtent = "0 0";
- canSave = "1";
- visible = "1";
- tooltipprofile = "GuiToolTipProfile";
- hovertime = "1000";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl(IOInputText) {
- text = "Decal Datablock";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- isContainer = "0";
- profile = "GuiTextRightProfile";
- horizSizing = "right";
- vertSizing = "bottom";
- position = "5 5";
- extent = "105 18";
- minExtent = "8 2";
- canSave = "1";
- visible = "1";
- tooltipprofile = "GuiToolTipProfile";
- hovertime = "1000";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl(IODropdownMenu) {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- isContainer = "0";
- profile = "GuiPopUpMenuProfile";
- horizSizing = "width";
- vertSizing = "bottom";
- position = "115 5";
- extent = "122 18";
- minExtent = "8 2";
- canSave = "1";
- visible = "1";
- tooltipprofile = "GuiToolTipProfile";
- hovertime = "1000";
- canSaveDynamicFields = "0";
- };
- };
- new GuiButtonCtrl() {
- text = "OK";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- isContainer = "0";
- profile = "GuiButtonProfile";
- horizSizing = "width";
- vertSizing = "top";
- position = "7 85";
- extent = "156 24";
- minExtent = "8 8";
- canSave = "1";
- visible = "1";
- accelerator = "return";
- command = "IOCallback(IODropdownDlg,IODropdownDlg.callback);";
- tooltipprofile = "GuiToolTipProfile";
- hovertime = "1000";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "Cancel";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- isContainer = "0";
- profile = "GuiButtonProfile";
- horizSizing = "left";
- vertSizing = "top";
- position = "170 85";
- extent = "80 24";
- minExtent = "8 8";
- canSave = "1";
- visible = "1";
- accelerator = "escape";
- command = "IOCallback(IODropdownDlg,IODropdownDlg.cancelCallback);";
- tooltipprofile = "GuiToolTipProfile";
- hovertime = "1000";
- canSaveDynamicFields = "0";
- };
- };
-};
-//--- OBJECT WRITE END ---
diff --git a/Templates/BaseGame/game/data/ui/scripts/guis/RecordingsDlg.gui b/Templates/BaseGame/game/data/ui/scripts/guis/RecordingsDlg.gui
deleted file mode 100644
index 0e863fff5..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/guis/RecordingsDlg.gui
+++ /dev/null
@@ -1,230 +0,0 @@
-//--- OBJECT WRITE BEGIN ---
-%guiContent = new GuiControl(recordingsDlg) {
- position = "0 0";
- extent = "1024 768";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "1";
- helpTag = "0";
-
- new GuiWindowCtrl() {
- text = "Demo Recordings";
- resizeWidth = "0";
- resizeHeight = "0";
- canMove = "1";
- canClose = "1";
- canMinimize = "0";
- canMaximize = "0";
- canCollapse = "0";
- closeCommand = "Canvas.popDialog(recordingsDlg);";
- edgeSnap = "1";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "247 215";
- extent = "530 338";
- minExtent = "48 92";
- horizSizing = "center";
- vertSizing = "center";
- profile = "GuiWindowProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiScrollCtrl() {
- willFirstRespond = "1";
- hScrollBar = "dynamic";
- vScrollBar = "alwaysOn";
- lockHorizScroll = "0";
- lockVertScroll = "0";
- constantThumbHeight = "0";
- childMargin = "0 0";
- mouseWheelScrollSpeed = "-1";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "23 60";
- extent = "484 237";
- minExtent = "32 32";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiScrollProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextListCtrl(RecordingsDlgList) {
- columns = "0";
- fitParentWidth = "1";
- clipColumnText = "0";
- position = "1 1";
- extent = "469 32";
- minExtent = "8 20";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextArrayProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiButtonCtrl(DR_CancelBtn) {
- text = "Cancel";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "396 306";
- extent = "110 20";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "top";
- profile = "GuiButtonProfile";
- visible = "1";
- active = "1";
- command = "Canvas.popDialog(recordingsDlg);";
- accelerator = "escape";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(DR_StartDemoBtn) {
- text = "Play";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "25 305";
- extent = "110 20";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "top";
- profile = "GuiButtonProfile";
- visible = "1";
- active = "1";
- command = "StartSelectedDemo();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "During gameplay press the following keys:";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "23 30";
- extent = "206 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Start = F3";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "253 32";
- extent = "50 15";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Stop = F4";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "320 32";
- extent = "49 13";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(DR_DelDemoBtn) {
- text = "Delete";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "210 305";
- extent = "110 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiButtonProfile";
- visible = "1";
- active = "1";
- command = "deleteDemoRecord();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
-};
-//--- OBJECT WRITE END ---
-
diff --git a/Templates/BaseGame/game/data/ui/scripts/guis/chooseLevelDlg.gui b/Templates/BaseGame/game/data/ui/scripts/guis/chooseLevelDlg.gui
deleted file mode 100644
index bcf9b1747..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/guis/chooseLevelDlg.gui
+++ /dev/null
@@ -1,272 +0,0 @@
-//--- OBJECT WRITE BEGIN ---
-%guiContent = new GuiControl(ChooseLevelDlg) {
- position = "0 0";
- extent = "1280 1024";
- minExtent = "8 8";
- horizSizing = "width";
- vertSizing = "height";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "1";
- enabled = "1";
- launchInEditor = "0";
- returnGui = "MainMenuGui";
-
- new GuiControl(ChooseLevelWindow) {
- position = "80 36";
- extent = "770 616";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/scripts/guis/art/no-preview";
- color = "255 255 255 255";
- wrap = "0";
- position = "369 31";
- extent = "400 300";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "0";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "CurrentPreview";
- hidden = "1";
- canSave = "1";
- canSaveDynamicFields = "1";
- enabled = "1";
- };
- new GuiTextCtrl() {
- text = "Empty Room";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "370 335";
- extent = "90 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "0";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "levelName";
- hidden = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Description:";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "370 354";
- extent = "91 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "0";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "LevelDescriptionLabel";
- hidden = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiMLTextCtrl() {
- lineSpacing = "2";
- allowColorChars = "0";
- maxChars = "-1";
- useURLMouseCursor = "0";
- position = "370 380";
- extent = "165 14";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMLWhiteTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "LevelDescription";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiBitmapButtonCtrl() {
- bitmap = "data/ui/scripts/guis/art/previous-button";
- bitmapMode = "Stretched";
- autoFitExtents = "0";
- useModifiers = "0";
- useStates = "1";
- masked = "0";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "2 -1";
- extent = "368 33";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "0";
- active = "1";
- command = "ChooseLevelWindow.previousPreviews();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "PreviousSmallPreviews";
- hidden = "1";
- canSave = "1";
- canSaveDynamicFields = "1";
- enabled = "1";
- wrap = "0";
- };
- new GuiBitmapButtonCtrl() {
- bitmap = "data/ui/scripts/guis/art/next-button";
- bitmapMode = "Stretched";
- autoFitExtents = "0";
- useModifiers = "0";
- useStates = "1";
- masked = "0";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "-3 549";
- extent = "374 33";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "0";
- active = "1";
- command = "ChooseLevelWindow.nextPreviews();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "NextSmallPreviews";
- hidden = "1";
- canSave = "1";
- canSaveDynamicFields = "1";
- enabled = "1";
- wrap = "0";
- };
- new GuiTextListCtrl(CL_levelList) {
- columns = "0";
- fitParentWidth = "1";
- clipColumnText = "0";
- position = "-7 1";
- extent = "80 30";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextArrayProfile";
- visible = "0";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- hidden = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiDynamicCtrlArrayControl() {
- colCount = "1";
- colSize = "368";
- rowCount = "14";
- rowSize = "35";
- rowSpacing = "0";
- colSpacing = "10";
- frozen = "0";
- autoCellSize = "1";
- fillRowFirst = "0";
- dynamicSize = "0";
- padding = "0 0 0 0";
- position = "2 33";
- extent = "368 516";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "SmallPreviews";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(ChooseLevelDlgGoBtn) {
- text = "Start Level";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "371 583";
- extent = "399 33";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(ChooseLevelDlgBackBtn) {
- text = "Return to Menu";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "0 583";
- extent = "371 33";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "Canvas.popDialog(ChooseLevelDlg);\n\nif(isObject(ChooseLevelDlg.returnGui) && ChooseLevelDlg.returnGui.isMethod(\"onReturnTo\")) ChooseLevelDlg.returnGui.onReturnTo();";
- accelerator = "escape";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
-};
-//--- OBJECT WRITE END ---
diff --git a/Templates/BaseGame/game/data/ui/scripts/guis/controlsMenuSetting.taml b/Templates/BaseGame/game/data/ui/scripts/guis/controlsMenuSetting.taml
deleted file mode 100644
index f0da59eed..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/guis/controlsMenuSetting.taml
+++ /dev/null
@@ -1,102 +0,0 @@
-
diff --git a/Templates/BaseGame/game/data/ui/scripts/guis/graphicsMenuSettingsCtrl.taml b/Templates/BaseGame/game/data/ui/scripts/guis/graphicsMenuSettingsCtrl.taml
deleted file mode 100644
index 69fbd781f..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/guis/graphicsMenuSettingsCtrl.taml
+++ /dev/null
@@ -1,123 +0,0 @@
-
diff --git a/Templates/BaseGame/game/data/ui/scripts/guis/graphicsMenuSettingsSlider.taml b/Templates/BaseGame/game/data/ui/scripts/guis/graphicsMenuSettingsSlider.taml
deleted file mode 100644
index 74a428114..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/guis/graphicsMenuSettingsSlider.taml
+++ /dev/null
@@ -1,142 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/Templates/BaseGame/game/data/ui/scripts/guis/guiMusicPlayer.gui b/Templates/BaseGame/game/data/ui/scripts/guis/guiMusicPlayer.gui
deleted file mode 100644
index 291f3a356..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/guis/guiMusicPlayer.gui
+++ /dev/null
@@ -1,192 +0,0 @@
-//--- OBJECT WRITE BEGIN ---
-%guiContent = new GuiControl(GuiMusicPlayer) {
- isContainer = "1";
- Profile = "GuiWindowProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "0 0";
- Extent = "1024 768";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "GuiToolTipProfile";
- hovertime = "1000";
- canSaveDynamicFields = "1";
- superClass = "GuiMusicPlayerClass";
-
- new GuiWindowCtrl() {
- resizeWidth = "0";
- resizeHeight = "0";
- canMove = "1";
- canClose = "1";
- canMinimize = "1";
- canMaximize = "1";
- minSize = "50 50";
- EdgeSnap = "1";
- text = "Torque Music Player";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- isContainer = "1";
- Profile = "GuiWindowProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "29 35";
- Extent = "518 377";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "GuiToolTipProfile";
- hovertime = "1000";
- canSaveDynamicFields = "0";
- closeCommand = "toggleMusicPlayer();";
-
- new GuiCheckBoxCtrl(GuiMusicPlayerFadeCheckBox) {
- useInactiveState = "0";
- text = "Fade";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- isContainer = "0";
- Profile = "GuiCheckBoxProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "457 347";
- Extent = "53 30";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "GuiToolTipProfile";
- hovertime = "1000";
- canSaveDynamicFields = "0";
- };
- new GuiCheckBoxCtrl(GuiMusicPlayerLoopCheckBox) {
- useInactiveState = "0";
- text = "Loop";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- isContainer = "0";
- Profile = "GuiCheckBoxProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "457 330";
- Extent = "44 30";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "GuiToolTipProfile";
- hovertime = "1000";
- canSaveDynamicFields = "0";
- };
- new GuiScrollCtrl() {
- willFirstRespond = "1";
- hScrollBar = "dynamic";
- vScrollBar = "alwaysOn";
- lockHorizScroll = "0";
- lockVertScroll = "0";
- constantThumbHeight = "0";
- childMargin = "0 0";
- mouseWheelScrollSpeed = "-1";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- isContainer = "1";
- Profile = "GuiScrollProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "9 31";
- Extent = "500 298";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "GuiToolTipProfile";
- hovertime = "1000";
- canSaveDynamicFields = "0";
-
- new GuiListBoxCtrl(GuiMusicPlayerMusicList) {
- AllowMultipleSelections = "1";
- fitParentWidth = "1";
- isContainer = "0";
- Profile = "GuiListBoxProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "1 1";
- Extent = "485 2";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "GuiToolTipProfile";
- hovertime = "1000";
- canSaveDynamicFields = "0";
- superClass = "GuiMusicPlayerMusicListClass";
- };
- };
- new GuiSliderCtrl(GuiMusicPlayerScrubber) {
- range = "0 1";
- ticks = "10";
- value = "0";
- snap = "false";
- isContainer = "0";
- Profile = "GuiSliderProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "114 343";
- Extent = "331 23";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "$thisControl.onDragComplete();";
- tooltipprofile = "GuiToolTipProfile";
- hovertime = "1000";
- canSaveDynamicFields = "0";
- class = "GuiMusicPlayerScrubberClass";
- className = "GuiMusicPlayerScrubberClass";
- };
- new GuiButtonCtrl(GuiMusicPlayerStopButton) {
- text = "Stop";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- isContainer = "0";
- Profile = "GuiButtonProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "57 338";
- Extent = "40 30";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "GuiMusicPlayer.stop();";
- tooltipprofile = "GuiToolTipProfile";
- hovertime = "1000";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(GuiMusicPlayerPlayButton) {
- text = "Play";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- isContainer = "0";
- Profile = "GuiButtonProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "13 338";
- Extent = "40 30";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "GuiMusicPlayer.play();";
- tooltipprofile = "GuiToolTipProfile";
- hovertime = "1000";
- canSaveDynamicFields = "0";
- };
- };
-};
-//--- OBJECT WRITE END ---
diff --git a/Templates/BaseGame/game/data/ui/scripts/guis/joinServerMenu.gui b/Templates/BaseGame/game/data/ui/scripts/guis/joinServerMenu.gui
deleted file mode 100644
index 96545c438..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/guis/joinServerMenu.gui
+++ /dev/null
@@ -1,455 +0,0 @@
-//--- OBJECT WRITE BEGIN ---
-%guiContent = new GuiControl(JoinServerMenu) {
- position = "0 0";
- extent = "1024 768";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "1";
-
- new GuiControl(JoinServerWindow) {
- position = "80 36";
- extent = "800 616";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl(JS_status) {
- text = "No servers found.";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "277 31";
- extent = "148 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiScrollCtrl() {
- willFirstRespond = "1";
- hScrollBar = "dynamic";
- vScrollBar = "alwaysOn";
- lockHorizScroll = "0";
- lockVertScroll = "0";
- constantThumbHeight = "0";
- childMargin = "0 0";
- mouseWheelScrollSpeed = "-1";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "10 80";
- extent = "780 461";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuScrollProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextListCtrl(JS_serverList) {
- columns = "0 200 270 335 400";
- fitParentWidth = "1";
- clipColumnText = "0";
- position = "1 1";
- extent = "762 8";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextArrayProfile";
- visible = "1";
- active = "1";
- altCommand = "JoinServerDlg.join();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiTextEditCtrl() {
- historySize = "0";
- tabComplete = "0";
- sinkAllKeyEvents = "0";
- password = "0";
- passwordMask = "*";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "116 31";
- extent = "144 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextEditProfile";
- visible = "1";
- active = "1";
- variable = "$pref::Player::Name";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Player Name:";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "12 31";
- extent = "98 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Players";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "269 59";
- extent = "36 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMLWhiteTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Version";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "335 59";
- extent = "38 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMLWhiteTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Game";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "412 59";
- extent = "28 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMLWhiteTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Ping";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "212 59";
- extent = "20 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMLWhiteTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Server Name";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "12 59";
- extent = "63 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMLWhiteTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiControl(JS_queryStatus) {
- position = "10 541";
- extent = "778 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "0";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- hidden = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiProgressCtrl(JS_statusBar) {
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "84 0";
- extent = "695 35";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiProgressProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(JS_cancelQuery) {
- text = "Cancel!";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "0 0";
- extent = "84 35";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "JoinServerDlg.cancel();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl(JS_statusText) {
- text = "Querying master server";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "84 0";
- extent = "695 35";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiButtonCtrl(JoinServerBackBtn) {
- text = "Return to Menu";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "0 583";
- extent = "160 33";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "Canvas.popDialog(JoinServerMenu);\n\nif(isObject(JoinServerMenu.returnGui) && JoinServerMenu.returnGui.isMethod(\"onReturnTo\")) JoinServerMenu.returnGui.onReturnTo();";
- accelerator = "escape";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(JoinServerQryLanBtn) {
- text = "Query Lan";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "160 583";
- extent = "160 33";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "JoinServerMenu.queryLan();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(JoinServerQryInternetBtn) {
- text = "Query Internet";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "320 583";
- extent = "160 33";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "JoinServerMenu.query();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(JoinServerRefreshBtn) {
- text = "Refresh Server";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "480 583";
- extent = "160 33";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "JoinServerMenu.refresh();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(JoinServerJoinBtn) {
- text = "Join Server";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "640 583";
- extent = "160 33";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "0";
- command = "JoinServerMenu.join();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
-};
-//--- OBJECT WRITE END ---
diff --git a/Templates/BaseGame/game/data/ui/scripts/guis/loadingGui.gui b/Templates/BaseGame/game/data/ui/scripts/guis/loadingGui.gui
deleted file mode 100644
index f88b58d33..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/guis/loadingGui.gui
+++ /dev/null
@@ -1,102 +0,0 @@
-//--- OBJECT WRITE BEGIN ---
-%guiContent = new GuiChunkedBitmapCtrl(LoadingGui) {
- bitmap = "data/ui/art/background-dark.png";
- useVariable = "0";
- tile = "0";
- position = "0 0";
- extent = "1600 838";
- minExtent = "8 8";
- horizSizing = "width";
- vertSizing = "height";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "1";
- Enabled = "1";
-
- new GuiControl() {
- position = "391 429";
- extent = "497 166";
- minExtent = "8 8";
- horizSizing = "center";
- vertSizing = "center";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- command = "disconnect();\nCanvas.setContent(ProjectSettings.value(\"UI/mainMenuName\"));";
- accelerator = "escape";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl(LoadingLogo) {
- bitmap = "data/ui/art/Torque-3D-logo.png";
- wrap = "0";
- position = "27 6";
- extent = "443 139";
- minExtent = "8 2";
- horizSizing = "center";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiProgressBitmapCtrl(LoadingProgress) {
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "17 126";
- extent = "464 24";
- minExtent = "8 2";
- horizSizing = "center";
- vertSizing = "bottom";
- profile = "GuiProgressBitmapProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl(LoadingProgressTxt) {
- text = "LOADING DATABLOCKS";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "28 144";
- extent = "440 20";
- minExtent = "8 8";
- horizSizing = "center";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
-};
-//--- OBJECT WRITE END ---
diff --git a/Templates/BaseGame/game/data/ui/scripts/guis/mainMenu.gui b/Templates/BaseGame/game/data/ui/scripts/guis/mainMenu.gui
deleted file mode 100644
index 7b109a6e0..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/guis/mainMenu.gui
+++ /dev/null
@@ -1,234 +0,0 @@
-exec( "tools/gui/profiles.ed.cs" );
-
-//--- OBJECT WRITE BEGIN ---
-%guiContent = new GuiChunkedBitmapCtrl(MainMenuGui) {
- bitmap = "data/ui/art/BackgroundImage.png";
- useVariable = "0";
- tile = "0";
- position = "0 0";
- extent = "1024 768";
- minExtent = "8 8";
- horizSizing = "width";
- vertSizing = "height";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "1";
- Enabled = "1";
- isDecoy = "0";
-
- new GuiBitmapButtonCtrl(MainMenuAppLogo) {
- bitmap = "data/ui/art/Torque-3D-logo-shortcut";
- bitmapMode = "Stretched";
- autoFitExtents = "0";
- useModifiers = "0";
- useStates = "1";
- masked = "0";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "550 30";
- extent = "443 139";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- command = "gotoWebPage(\"forums.torque3d.org\");";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "1";
- };
- new GuiControl(MainMenuButtonContainer) {
- position = "20 193";
- extent = "442 381";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "center";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiDynamicCtrlArrayControl() {
- colCount = "1";
- colSize = "442";
- rowCount = "9";
- rowSize = "40";
- rowSpacing = "0";
- colSpacing = "0";
- frozen = "0";
- autoCellSize = "1";
- fillRowFirst = "0";
- dynamicSize = "0";
- padding = "0 0 0 0";
- position = "0 0";
- extent = "442 381";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiButtonCtrl() {
- text = "Singleplayer";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "0 0";
- extent = "442 40";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "MainMenuGui.openSinglePlayerMenu();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "Create Server";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "0 40";
- extent = "442 40";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "MainMenuGui.openMultiPlayerMenu();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "Join Server";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "0 80";
- extent = "442 40";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "Canvas.pushDialog(JoinServerMenu);";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "Options";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "0 120";
- extent = "442 40";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "MainMenuGui.openOptionsMenu();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "Launch World Editor";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "0 160";
- extent = "442 40";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "fastLoadWorldEdit(1);";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "Launch GUI Editor";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "0 200";
- extent = "442 40";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "fastLoadGUIEdit(1);";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "Exit";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "0 240";
- extent = "442 40";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "quit();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "ExitButton";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- };
-};
-//--- OBJECT WRITE END ---
diff --git a/Templates/BaseGame/game/data/ui/scripts/guis/netGraphGui.gui b/Templates/BaseGame/game/data/ui/scripts/guis/netGraphGui.gui
deleted file mode 100644
index b034a447e..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/guis/netGraphGui.gui
+++ /dev/null
@@ -1,557 +0,0 @@
-function execNetGraphGuiGUI()
-{
- if ( isObject( NetGraphGui ) )
- NetGraphGui.delete();
-
- if ( isObject( NetGraphProfile ) )
- NetGraphProfile.delete();
-
- if ( isObject( NetGraphGhostsActiveProfile ) )
- NetGraphGhostsActiveProfile.delete();
-
- if ( isObject( NetGraphGhostUpdatesProfile ) )
- NetGraphGhostUpdatesProfile.delete();
-
- if ( isObject( NetGraphBitsSentProfile ) )
- NetGraphBitsSentProfile.delete();
-
- if ( isObject( NetGraphBitsReceivedProfile ) )
- NetGraphBitsReceivedProfile.delete();
-
- if ( isObject( NetGraphLatencyProfile ) )
- NetGraphLatencyProfile.delete();
-
- if ( isObject( NetGraphPacketLossProfile ) )
- NetGraphPacketLossProfile.delete();
-
- exec( "./NetGraphGui.gui" );
-}
-
-// Profiles
-new GuiControlProfile (NetGraphProfile)
-{
- modal = false;
- opaque = false;
- canKeyFocus = false;
-};
-
-new GuiControlProfile (NetGraphKeyContainerProfile)
-{
- border = true;
- opaque = true;
- fillColor = "100 100 100 200";
-};
-new GuiControlProfile (NetGraphGhostsActiveProfile)
-{
- border = false;
- fontColor = "255 255 255";
-};
-new GuiControlProfile (NetGraphGhostUpdatesProfile)
-{
- border = false;
- fontColor = "255 0 0";
-};
-new GuiControlProfile (NetGraphBitsSentProfile)
-{
- border = false;
- fontColor = "0 255 0";
-};
-new GuiControlProfile (NetGraphBitsReceivedProfile)
-{
- border = false;
- fontColor = "0 0 255";
-};
-new GuiControlProfile (NetGraphLatencyProfile)
-{
- border = false;
- fontColor = "0 255 255";
-};
-new GuiControlProfile (NetGraphPacketLossProfile)
-{
- border = false;
- fontColor = "0 0 0";
-};
-
-//--- OBJECT WRITE BEGIN ---
-%guiContent = new GuiControl(NetGraphGui) {
- position = "0 0";
- extent = "1024 768";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "bottom";
- profile = "NetGraphProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "1";
- noCursor = "1";
-
- new GuiGraphCtrl(NetGraph) {
- centerY = "1";
- plotColor[0] = "1 1 1 1";
- plotColor[1] = "1 0 0 1";
- plotColor[2] = "0 1 0 1";
- plotColor[3] = "0 0 1 1";
- plotColor[4] = "0 1 1 1";
- plotColor[5] = "0 0 0 1";
- plotType[0] = "PolyLine";
- plotType[1] = "PolyLine";
- plotType[2] = "PolyLine";
- plotType[3] = "PolyLine";
- plotType[4] = "PolyLine";
- plotType[5] = "PolyLine";
- plotInterval[0] = "0";
- plotInterval[1] = "0";
- plotInterval[2] = "0";
- plotInterval[3] = "0";
- plotInterval[4] = "0";
- plotInterval[5] = "0";
- position = "816 5";
- extent = "200 200";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "bottom";
- profile = "NetGraphKeyContainerProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiControl() {
- position = "816 205";
- extent = "200 104";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "bottom";
- profile = "NetGraphKeyContainerProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl(GhostsActive) {
- text = "Ghosts Active";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "100 18";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "bottom";
- profile = "NetGraphGhostsActiveProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl(GhostUpdates) {
- text = "Ghost Updates";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "100 0";
- extent = "100 18";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "bottom";
- profile = "NetGraphGhostUpdatesProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl(BitsSent) {
- text = "Bytes Sent";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 18";
- extent = "100 18";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "bottom";
- profile = "NetGraphBitsSentProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl(BitsReceived) {
- text = "Bytes Received";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "100 18";
- extent = "100 18";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "bottom";
- profile = "NetGraphBitsReceivedProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl(Latency) {
- text = "Latency";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 36";
- extent = "100 18";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "bottom";
- profile = "NetGraphLatencyProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl(PacketLoss) {
- text = "Packet Loss";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "100 36";
- extent = "59 18";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "bottom";
- profile = "NetGraphPacketLossProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Network Simulation:";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 52";
- extent = "97 18";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "bottom";
- profile = "NetGraphPacketLossProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Simulated Latency:";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 68";
- extent = "91 18";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "bottom";
- profile = "NetGraphPacketLossProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "ms";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "179 68";
- extent = "20 18";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "bottom";
- profile = "NetGraphPacketLossProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextEditCtrl(NetGraphSimLatency) {
- historySize = "0";
- tabComplete = "0";
- sinkAllKeyEvents = "0";
- password = "0";
- passwordMask = "*";
- text = "0";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "112 67";
- extent = "64 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextEditProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Simulated Packet Loss:";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 83";
- extent = "111 18";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "bottom";
- profile = "NetGraphPacketLossProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "%";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "179 84";
- extent = "20 18";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "bottom";
- profile = "NetGraphPacketLossProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextEditCtrl(NetGraphSimPacket) {
- historySize = "0";
- tabComplete = "0";
- sinkAllKeyEvents = "0";
- password = "0";
- passwordMask = "*";
- text = "0";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "112 85";
- extent = "64 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextEditProfile";
- visible = "1";
- active = "1";
- command = "if(NetGraphSimLatency.text $= \"\" || NetGraphSimLatency.text < 0)\n{\n NetGraphSimLatency.text = 0;\n}\n\nif(NetGraphSimPacket.text $= \"\" || NetGraphSimPacket.text < 0)\n{\n NetGraphSimLatency.text = 0;\n}\nelse if(NetGraphSimPacket.text > 100)\n{\n NetGraphSimPacket.text = 100;\n}\n\nnetSimulateLag( NetGraphSimLatency.text, NetGraphSimPacket.text );";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
-};
-//--- OBJECT WRITE END ---
-
-// Functions
-function toggleNetGraph()
-{
- if(!$NetGraph::isInitialized)
- {
- NetGraph::updateStats();
- $NetGraph::isInitialized = true;
- }
-
- if(!Canvas.isMember(NetGraphGui))
- {
- Canvas.add(NetGraphGui);
- }
- else
- {
- Canvas.remove(NetGraphGui);
- netSimulateLag( 0, 0 );
- }
-}
-
-function NetGraph::updateStats()
-{
- $NetGraphThread = NetGraph.schedule(32, "updateStats");
-
- if(!$Stats::netGhostUpdates)
- return;
-
- if(isobject(NetGraph))
- {
- if(isobject(ServerConnection))
- NetGraph.addDatum(0,ServerConnection.getGhostsActive());
- GhostsActive.setText("Ghosts Active: " @ ServerConnection.getGhostsActive());
- NetGraph.addDatum(1,$Stats::netGhostUpdates);
- GhostUpdates.setText("Ghost Updates: " @ $Stats::netGhostUpdates);
- NetGraph.addDatum(2,$Stats::netBitsSent);
- BitsSent.setText("Bytes Sent: " @ $Stats::netBitsSent);
- NetGraph.addDatum(3,$Stats::netBitsReceived);
- BitsReceived.setText("Bytes Received: " @ $Stats::netBitsReceived);
- NetGraph.matchScale(2,3);
- NetGraph.addDatum(4,ServerConnection.getPing());
- Latency.setText("Latency: " @ ServerConnection.getPing());
- NetGraph.addDatum(5,ServerConnection.getPacketLoss());
- PacketLoss.setText("Packet Loss: " @ ServerConnection.getPacketLoss());
- }
-}
-
-function NetGraph::toggleKey()
-{
- if(!GhostsActive.visible)
- {
- GhostsActive.visible = 1;
- GhostUpdates.visible = 1;
- BitsSent.visible = 1;
- BitsReceived.visible = 1;
- Latency.visible = 1;
- PacketLoss.visible = 1;
- }
- else
- {
- GhostsActive.visible = 0;
- GhostUpdates.visible = 0;
- BitsSent.visible = 0;
- BitsReceived.visible = 0;
- Latency.visible = 0;
- PacketLoss.visible = 0;
- }
-}
-
-function NetGraphSimLatency::onReturn(%this)
-{
- NetGraph.updateNetworkSimulation();
-}
-
-function NetGraphSimPacket::onReturn(%this)
-{
- NetGraph.updateNetworkSimulation();
-}
-
-function NetGraph::updateNetworkSimulation(%this)
-{
- %latency = NetGraphSimLatency.getText();
-
- if(%latency $= "" || %latency < 0)
- {
- NetGraphSimLatency.text = 0;
- %latency = 0;
- }
-
- %packetLoss = NetGraphSimPacket.getText();
-
- if(%packetLoss $= "" || %packetLoss < 0)
- {
- NetGraphSimLatency.text = 0;
- %packetLoss = 0;
- }
- else if(%packetLoss > 100)
- {
- NetGraphSimPacket.text = 100;
- %packetLoss = 100;
- }
-
- netSimulateLag( %latency, %packetLoss );
-}
\ No newline at end of file
diff --git a/Templates/BaseGame/game/data/ui/scripts/guis/optionsDlg.gui b/Templates/BaseGame/game/data/ui/scripts/guis/optionsDlg.gui
deleted file mode 100644
index fcff1cb95..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/guis/optionsDlg.gui
+++ /dev/null
@@ -1,1417 +0,0 @@
-//--- OBJECT WRITE BEGIN ---
-%guiContent = new GuiControl(OptionsDlg) {
- position = "0 0";
- extent = "1024 768";
- minExtent = "8 8";
- horizSizing = "width";
- vertSizing = "height";
- profile = "GuiOverlayProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "1";
- fixedAspectRatio = "0";
-
- new GuiWindowCtrl() {
- text = "Options";
- resizeWidth = "0";
- resizeHeight = "0";
- canMove = "1";
- canClose = "1";
- canMinimize = "0";
- canMaximize = "0";
- canCollapse = "0";
- closeCommand = "Canvas.popDialog(optionsDlg);";
- edgeSnap = "0";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "323 232";
- extent = "377 303";
- minExtent = "8 8";
- horizSizing = "center";
- vertSizing = "center";
- profile = "GuiWindowProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiButtonCtrl() {
- text = "Done";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "306 271";
- extent = "60 23";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiButtonProfile";
- visible = "1";
- active = "1";
- command = "Canvas.popDialog(optionsDlg);";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiBitmapBorderCtrl() {
- position = "9 55";
- extent = "358 210";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTabBorderProfile";
- visible = "0";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "OptControlsPane";
- hidden = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiScrollCtrl() {
- willFirstRespond = "1";
- hScrollBar = "alwaysOff";
- vScrollBar = "alwaysOn";
- lockHorizScroll = "1";
- lockVertScroll = "0";
- constantThumbHeight = "0";
- childMargin = "0 0";
- mouseWheelScrollSpeed = "-1";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "5 24";
- extent = "347 152";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiScrollProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextListCtrl() {
- columns = "0 160";
- fitParentWidth = "1";
- clipColumnText = "0";
- position = "1 1";
- extent = "329 780";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- altCommand = "OptionsDlg.doRemap();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "OptRemapList";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiTextCtrl() {
- text = "Control Name";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "6 6";
- extent = "64 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Control Binding";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "165 6";
- extent = "72 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
-
- new GuiSliderCtrl(OptMouseSensitivity) {
- range = "0.02 2";
- ticks = "10";
- value = "0.75";
- isContainer = "0";
- Profile = "GuiSliderProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "105 182";
- Extent = "244 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "OptMouseSetSensitivity(OptMouseSensitivity.value);";
- tooltipprofile = "GuiToolTipProfile";
- hovertime = "1000";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Mouse Sensitivity:";
- maxLength = "255";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- isContainer = "0";
- Profile = "GuiTextProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "15 182";
- Extent = "85 18";
- MinExtent = "8 8";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "GuiToolTipProfile";
- hovertime = "1000";
- canSaveDynamicFields = "0";
- };
- };
- new GuiBitmapBorderCtrl() {
- position = "9 55";
- extent = "358 210";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTabBorderProfile";
- visible = "0";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "OptAudioPane";
- hidden = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiMLTextCtrl() {
- lineSpacing = "2";
- allowColorChars = "0";
- maxChars = "-1";
- useURLMouseCursor = "0";
- position = "149 10";
- extent = "190 14";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMLTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "OptAudioInfo";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Audio Provider:";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "16 16";
- extent = "75 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl(OptAudioProviderList) {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "Null";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "101 15";
- extent = "240 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Audio Device:";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "23 48";
- extent = "75 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl(OptAudioDeviceList) {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "SFX Null Device";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "101 47";
- extent = "240 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiControl() {
- position = "18 84";
- extent = "325 17";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Master Volume";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "72 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiAutoSizeTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiSliderCtrl() {
- range = "0 1";
- ticks = "0";
- snap = "0";
- value = "0.8";
- position = "85 1";
- extent = "240 14";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiSliderProfile";
- visible = "1";
- active = "1";
- altCommand = "OptAudioUpdateMasterVolume( $thisControl.value );";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "OptAudioVolumeMaster";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "9 115";
- extent = "334 17";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Interface Volume";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "82 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiAutoSizeTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiSliderCtrl() {
- range = "0 1";
- ticks = "0";
- snap = "0";
- value = "1";
- position = "94 2";
- extent = "240 13";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiSliderProfile";
- visible = "1";
- active = "1";
- altCommand = "OptAudioUpdateChannelVolume(AudioGui, $thisControl.value);";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "OptAudioVolumeShell";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "18 146";
- extent = "325 17";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Effects Volume";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "74 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiAutoSizeTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiSliderCtrl() {
- range = "0 1";
- ticks = "0";
- snap = "0";
- value = "1";
- position = "85 2";
- extent = "240 13";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiSliderProfile";
- visible = "1";
- active = "1";
- altCommand = "OptAudioUpdateChannelVolume(AudioEffect, $thisControl.value);";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "OptAudioVolumeSim";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "23 177";
- extent = "320 17";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiSliderCtrl() {
- range = "0 1";
- ticks = "0";
- snap = "0";
- value = "1";
- position = "80 2";
- extent = "240 13";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiSliderProfile";
- visible = "1";
- active = "1";
- altCommand = "OptAudioUpdateChannelVolume(AudioMusic, $thisControl.value);";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "OptAudioVolumeMusic";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Music Volume";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "67 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiAutoSizeTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- };
- new GuiBitmapBorderCtrl() {
- position = "9 55";
- extent = "358 210";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTabBorderProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "OptGraphicsPane";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Display Driver:";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "11 8";
- extent = "70 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Resolution:";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "11 35";
- extent = "53 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiCheckBoxCtrl() {
- text = "Fullscreen";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "11 62";
- extent = "85 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiCheckBoxProfile";
- visible = "1";
- active = "1";
- command = "OptionsDlg._updateApplyState();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "OptGraphicsFullscreenToggle";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl(OptGraphicsDriverMenu) {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "ATI Radeon HD 5700 Series (D3D9)";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "88 8";
- extent = "258 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl() {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "1024 x 768 (4:3)";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "67 35";
- extent = "127 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- command = "OptionsDlg._updateApplyState();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "OptGraphicsResolutionMenu";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Refresh:";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "207 35";
- extent = "45 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl() {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "60";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "252 35";
- extent = "49 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- command = "OptionsDlg._updateApplyState();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "OptRefreshSelectMenu";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Mesh Quality:";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "21 91";
- extent = "62 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl() {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "Low";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "90 91";
- extent = "78 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- command = "OptionsDlg._updateApplyState();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "OptMeshQualityPopup";
- class = "GraphicsQualityPopup";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl() {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "Low";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "90 118";
- extent = "78 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- command = "OptionsDlg._updateApplyState();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "OptTextureQualityPopup";
- class = "GraphicsQualityPopup";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Texture Quality:";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "11 118";
- extent = "77 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl() {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "Low";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "90 143";
- extent = "78 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- command = "OptionsDlg._updateApplyState();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "OptLightingQualityPopup";
- class = "GraphicsQualityPopup";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Lighting Quality:";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "11 143";
- extent = "73 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Effect Quality:";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "191 91";
- extent = "73 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl() {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "263 91";
- extent = "78 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- command = "OptionsDlg._updateApplyState();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "OptEffectQualityPopup";
- class = "GraphicsQualityPopup";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Shader Quality:";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "186 118";
- extent = "77 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl() {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "Low";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "263 118";
- extent = "78 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- command = "OptionsDlg._updateApplyState();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "OptShaderQualityPopup";
- class = "GraphicsQualityPopup";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Particle Quality:";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "186 156";
- extent = "73 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextProfile";
- visible = "0";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- hidden = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl() {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "263 156";
- extent = "78 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "0";
- active = "1";
- command = "OptionsDlg._updateApplyState();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "OptParticleQualityPopup";
- class = "GraphicsQualityPopup";
- hidden = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Anisotropic Filtering:";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "22 167";
- extent = "105 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl() {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "Off";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "123 167";
- extent = "45 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- command = "OptionsDlg._updateApplyState();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "OptAnisotropicPopup";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiCheckBoxCtrl() {
- text = "Vertical Sync";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "92 62";
- extent = "85 18";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiCheckBoxProfile";
- visible = "1";
- active = "1";
- command = "OptionsDlg._updateApplyState();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "OptGraphicsVSyncToggle";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "Auto Detect Quality";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "205 152";
- extent = "110 27";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiButtonProfile";
- visible = "1";
- active = "1";
- command = "OptionsDlg._autoDetectQuality();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl() {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "263 62";
- extent = "78 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- command = "OptionsDlg._updateApplyState();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "OptAAQualityPopup";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Anti-aliasing";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "191 62";
- extent = "73 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiControl() {
- position = "0 190";
- extent = "352 15";
- minExtent = "8 2";
- horizSizing = "width";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "GammaSliderContainer";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiSliderCtrl() {
- range = "0.001 2.2";
- ticks = "0";
- snap = "0";
- value = "1";
- position = "76 -1";
- extent = "268 15";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiSliderProfile";
- visible = "1";
- active = "1";
- variable = "$pref::Video::Gamma";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Gamma:";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "22 -4";
- extent = "105 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- };
- new GuiControl() {
- position = "9 55";
- extent = "357 208";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiWindowProfile";
- visible = "0";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "OptNetworkPane";
- hidden = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "Graphics";
- groupNum = "-1";
- buttonType = "RadioButton";
- useMouseEvents = "0";
- position = "9 33";
- extent = "117 23";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiButtonTabProfile";
- visible = "1";
- active = "1";
- command = "optionsDlg.setPane(Graphics);";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "OptGraphicsButton";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "Audio";
- groupNum = "-1";
- buttonType = "RadioButton";
- useMouseEvents = "0";
- position = "126 33";
- extent = "117 23";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiButtonTabProfile";
- visible = "1";
- active = "1";
- command = "optionsDlg.setPane(Audio);";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "Controls";
- groupNum = "-1";
- buttonType = "RadioButton";
- useMouseEvents = "0";
- position = "243 33";
- extent = "117 23";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiButtonTabProfile";
- visible = "1";
- active = "1";
- command = "optionsDlg.setPane(Controls);";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "Apply";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "241 271";
- extent = "60 23";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiButtonProfile";
- visible = "1";
- active = "0";
- command = "optionsDlg.applyGraphics();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "apply";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
-};
-//--- OBJECT WRITE END ---
diff --git a/Templates/BaseGame/game/data/ui/scripts/guis/optionsMenu.gui b/Templates/BaseGame/game/data/ui/scripts/guis/optionsMenu.gui
deleted file mode 100644
index 0f06fb375..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/guis/optionsMenu.gui
+++ /dev/null
@@ -1,5919 +0,0 @@
-//--- OBJECT WRITE BEGIN ---
-%guiContent = new GuiControl(OptionsMenu) {
- position = "0 0";
- extent = "1024 768";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "1";
- returnGui = "MainMenuGui";
- tamlReader = "17544";
- tile = "0";
- useVariable = "0";
-
- new GuiChunkedBitmapCtrl(OptionsMenuBG) {
- useVariable = "0";
- tile = "0";
- position = "278 -645";
- extent = "1440 900";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "1";
- };
- new GuiTextCtrl(OptionsMenuHeader) {
- text = "Controls";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "59 63";
- extent = "129 43";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "0";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- hidden = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiControl() {
- position = "162 125";
- extent = "700 518";
- minExtent = "8 2";
- horizSizing = "center";
- vertSizing = "center";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiControl(OptionsMain) {
- position = "1 1";
- extent = "700 320";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "center";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiButtonCtrl(ControlsSettingsMenuButton) {
- text = "Controls Settings";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "0 0";
- extent = "700 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(GraphicsSettingsMenuButton) {
- text = "Graphics Settings";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "0 35";
- extent = "700 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(AudioSettingsMenuButton) {
- text = "Audio Settings";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "0 105";
- extent = "700 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(ScreenBrSettingsMenuButton) {
- text = "Screen Brightness";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "0 140";
- extent = "700 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "0";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- hidden = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(OptionsOKButton) {
- text = "OK";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "0 285";
- extent = "233 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "Canvas.popDialog(OptionsMenu);";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- class = "OptionsMenuOKButton";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(OptionsCancelButton) {
- text = "Cancel";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "233 285";
- extent = "233 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- accelerator = "escape";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- class = "OptionsMenuCancelButton";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(OptionsDefaultButton) {
- text = "Defaults";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "466 285";
- extent = "233 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- class = "OptionsMenuDefaultsButton";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl(GraphicsMenu) {
- position = "1 -1";
- extent = "700 519";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "0";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- hidden = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiButtonCtrl() {
- text = "Display";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "0 0";
- extent = "175 25";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "DisplaySettingsMenu.hidden = false;\nGeneralGraphicsSettingsMenu.hidden = true;";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "General";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "175 0";
- extent = "175 25";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "DisplaySettingsMenu.hidden = true;\nGeneralGraphicsSettingsMenu.hidden = false;";
- accelerator = "escape";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiContainer(DisplaySettingsMenu) {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 25";
- extent = "700 450";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "700 450";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiControl() {
- position = "0 0";
- extent = "450 80";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiControl() {
- position = "0 0";
- extent = "450 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "450 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Graphics Driver";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "450 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 20";
- extent = "450 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Driver";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl(GraphicsMenuDriver) {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "NVIDIA GeForce GT 745M (D3D11)";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "175 0";
- extent = "275 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- };
- new GuiControl() {
- position = "0 72";
- extent = "450 220";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiControl() {
- position = "0 0";
- extent = "450 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "450 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Display Settings";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "450 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 20";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Resolution";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl(GraphicsMenuResolution) {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "1366 x 768 (16:9)";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "175 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 40";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Full Screen";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiCheckBoxCtrl(GraphicsMenuFullScreen) {
- text = "Button";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "250 0";
- extent = "20 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiCheckBoxProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 60";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Refresh Rate";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl(GraphicsMenuRefreshRate) {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "60";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "175 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 80";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "VSync";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiCheckBoxCtrl(GraphicsMenuVSync) {
- text = "Button";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "250 0";
- extent = "20 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiCheckBoxProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 120";
- extent = "450 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Field of View";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiSliderCtrl() {
- range = "65 90";
- ticks = "25";
- snap = "1";
- value = "74.6154";
- position = "190 0";
- extent = "209 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiSliderProfile";
- visible = "1";
- active = "1";
- variable = "$pref::Player::defaultFov";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "74.6154";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "410 0";
- extent = "40 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- variable = "$pref::Player::defaultFov";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 180";
- extent = "450 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Brightness";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiSliderCtrl() {
- range = "-0.5 0.5";
- ticks = "0";
- snap = "0";
- value = "0";
- position = "190 0";
- extent = "261 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiSliderProfile";
- visible = "1";
- active = "1";
- variable = "$pref::Video::Brightness";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 200";
- extent = "450 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Contrast";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiSliderCtrl() {
- range = "0.5 1.5";
- ticks = "0";
- snap = "0";
- value = "1";
- position = "190 0";
- extent = "261 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiSliderProfile";
- visible = "1";
- active = "1";
- variable = "$pref::Video::Contrast";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- };
- };
- new GuiContainer(GeneralGraphicsSettingsMenu) {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 25";
- extent = "700 450";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "0";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- hidden = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "700 450";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "700 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "700 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl(GraphisMenuPageText) {
- text = "Overall Quality";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "11 0";
- extent = "116 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl(GraphicsMenuOverallQlty) {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "142 0";
- extent = "548 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- class = "GraphicsQualityPopup";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 25";
- extent = "350 80";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiControl() {
- position = "0 0";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Lighting";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "350 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 20";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Shadow Quality";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl(GraphicsMenuShadowQlty) {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "High";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "175 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- class = "GraphicsQualityPopup";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 40";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Shadow Caching";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiCheckBoxCtrl(GraphicsMenuShadowCache) {
- text = "Button";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "250 0";
- extent = "20 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiCheckBoxProfile";
- visible = "1";
- active = "1";
- variable = "$pref::Shadows::useShadowCaching";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 60";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Soft Shadows";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl(GraphicsMenuSoftShadow) {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "High";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "175 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- class = "GraphicsQualityPopup";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- };
- new GuiControl() {
- position = "0 140";
- extent = "350 120";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiControl() {
- position = "0 0";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Models and Textures";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "350 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 20";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Model Detail";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl(GraphicsMenuModelDtl) {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "High";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "175 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- class = "GraphicsQualityPopup";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 40";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Texture Detail";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl(GraphicsMenuTextureDtl) {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "High";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "175 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- class = "GraphicsQualityPopup";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 60";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Terrain Detail";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl(GraphicsMenuTerrainDtl) {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "High";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "175 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- class = "GraphicsQualityPopup";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 80";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Decal Lifetime";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl(GraphicsMenuDecalLife) {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "High";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "175 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- class = "GraphicsQualityPopup";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 100";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Ground Clutter Density";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl(GraphicsMenuGroundClutter) {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "High";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "175 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- class = "GraphicsQualityPopup";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- };
- new GuiControl() {
- position = "350 25";
- extent = "350 220";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiControl() {
- position = "0 0";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Effects";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "350 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 20";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Material Quality";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl(GraphicsMenuMaterialQlty) {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "High";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "175 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- class = "GraphicsQualityPopup";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 40";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "High Dynamic Range";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiCheckBoxCtrl(GraphicsMenuHDR) {
- text = "Button";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "250 0";
- extent = "20 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiCheckBoxProfile";
- visible = "1";
- active = "1";
- variable = "$pref::PostFX::EnableHDR";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 60";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Parallax";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiCheckBoxCtrl(GraphicsMenuParallax) {
- text = "Button";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "250 0";
- extent = "20 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiCheckBoxProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 80";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- variable = "$pref::PostFX::EnableSSAO";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Ambient Occlusion";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiCheckBoxCtrl(GraphicsMenuAO) {
- text = "Button";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "250 0";
- extent = "20 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiCheckBoxProfile";
- visible = "1";
- active = "1";
- variable = "$pref::PostFX::EnableSSAO";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 100";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Light Rays";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiCheckBoxCtrl(GraphicsMenuLightRay) {
- text = "Button";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "250 0";
- extent = "20 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiCheckBoxProfile";
- visible = "1";
- active = "1";
- variable = "$pref::PostFX::EnableLightRays";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 120";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Depth of Field";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiCheckBoxCtrl(GraphicsMenuDOF) {
- text = "Button";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "250 0";
- extent = "20 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiCheckBoxProfile";
- visible = "1";
- active = "1";
- variable = "$pref::PostFX::EnableDOF";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 160";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Water Reflections";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiCheckBoxCtrl(GraphicsMenuWaterRefl) {
- text = "Button";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "250 0";
- extent = "20 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiCheckBoxProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 140";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Vignetting";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiCheckBoxCtrl(GraphicsMenuVignette) {
- text = "Button";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "250 0";
- extent = "20 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiCheckBoxProfile";
- visible = "1";
- active = "1";
- variable = "$pref::PostFX::EnableVignette";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 180";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Anti Aliasing";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl(GraphicsMenuAA) {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "4x";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "175 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 200";
- extent = "350 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Anisotropic Filtering";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl(GraphicsMenuAniso) {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "16X";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "175 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- };
- };
- new GuiButtonCtrl() {
- text = "OK";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "0 484";
- extent = "233 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- class = "GraphicsMenuOKButton";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "Cancel";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "233 484";
- extent = "233 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- accelerator = "escape";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- class = "OptionsMenuCancelButton";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "Defaults";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "466 484";
- extent = "233 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "GraphicsMenu.Autodetect();\nGraphicsMenu.loadSettings();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl(ScreenBrightnessMenu) {
- position = "1 1";
- extent = "700 519";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "center";
- profile = "GuiDefaultProfile";
- visible = "0";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- hidden = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiChunkedBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- useVariable = "0";
- tile = "0";
- position = "0 0";
- extent = "700 450";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "1";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/ScreenBrightness_Dark.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 100";
- extent = "350 200";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/ScreenBrightness_Light.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "350 100";
- extent = "350 200";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Adjust the brightness until only the right side image is visible.";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 400";
- extent = "700 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiButtonCtrl() {
- text = "OK";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "0 484";
- extent = "233 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- class = "OptionsMenuOKButton";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "Cancel";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "233 484";
- extent = "233 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- accelerator = "escape";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- class = "OptionsMenuCancelButton";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(BrightnessMenuDefaultsButton) {
- text = "Defaults";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "466 484";
- extent = "233 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- class = "OptionsMenuDefaultsButton";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiChunkedBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- useVariable = "0";
- tile = "0";
- position = "0 450";
- extent = "700 34";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "1";
-
- new GuiTextCtrl() {
- text = "Screen Brightness";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "350 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiSliderCtrl(BrightnessMenuSlider) {
- range = "0.001 2.2";
- ticks = "9";
- snap = "1";
- value = "1.1005";
- position = "350 9";
- extent = "340 68";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiSliderProfile";
- visible = "1";
- active = "1";
- variable = "$pref::Video::Gamma";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- };
- new GuiControl(ControlsMenu) {
- position = "1 1";
- extent = "700 519";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "center";
- profile = "GuiDefaultProfile";
- visible = "0";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- hidden = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiButtonCtrl() {
- text = "Keyboard";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "0 0";
- extent = "175 25";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "KeyboardControlPanel.hidden = false;\nMouseControlPanel.hidden = true;";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "Mouse";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "175 0";
- extent = "175 25";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "KeyboardControlPanel.hidden = true;\nMouseControlPanel.hidden = false;";
- accelerator = "escape";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "Gamepad";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "350 0";
- extent = "175 25";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "0";
- active = "1";
- command = "DisplaySettingsMenu.hidden = true;\nGeneralGraphicsSettingsMenu.hidden = false;";
- accelerator = "escape";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- hidden = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiControl(KeyboardControlPanel) {
- position = "0 25";
- extent = "700 460";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "700 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "700 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Control Set";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "11 0";
- extent = "116 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl(ControlSetList) {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "Movement";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "142 0";
- extent = "548 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiContainer(ControlsSettingsMenu) {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 20";
- extent = "700 440";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiScrollCtrl() {
- willFirstRespond = "1";
- hScrollBar = "alwaysOff";
- vScrollBar = "dynamic";
- lockHorizScroll = "0";
- lockVertScroll = "0";
- constantThumbHeight = "0";
- childMargin = "0 0";
- mouseWheelScrollSpeed = "-1";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "700 440";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiScrollProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiDynamicCtrlArrayControl(ControlsMenuOptionsArray) {
- colCount = "1";
- colSize = "700";
- rowCount = "5";
- rowSize = "35";
- rowSpacing = "0";
- colSpacing = "0";
- frozen = "0";
- autoCellSize = "1";
- fillRowFirst = "1";
- dynamicSize = "0";
- padding = "0 0 0 0";
- position = "1 1";
- extent = "685 440";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuScrollProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "700 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- class = "GraphicsMenuSetting";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "550 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Forward";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "550 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "nameText";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "550 0";
- extent = "150 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiButtonCtrl() {
- text = "w, up";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "0 0";
- extent = "150 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "rebindButton";
- class = "ControlsMenuRebindButton";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- };
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 35";
- extent = "700 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- class = "GraphicsMenuSetting";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "550 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Backward";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "550 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "nameText";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "550 0";
- extent = "150 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiButtonCtrl() {
- text = "s, down";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "0 0";
- extent = "150 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "rebindButton";
- class = "ControlsMenuRebindButton";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- };
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 70";
- extent = "700 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- class = "GraphicsMenuSetting";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "550 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Strafe Left";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "550 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "nameText";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "550 0";
- extent = "150 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiButtonCtrl() {
- text = "a, left";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "0 0";
- extent = "150 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "rebindButton";
- class = "ControlsMenuRebindButton";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- };
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 105";
- extent = "700 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- class = "GraphicsMenuSetting";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "550 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Strafe Right";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "550 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "nameText";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "550 0";
- extent = "150 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiButtonCtrl() {
- text = "d, right";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "0 0";
- extent = "150 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "rebindButton";
- class = "ControlsMenuRebindButton";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- };
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 140";
- extent = "700 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- class = "GraphicsMenuSetting";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "550 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Jump";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "550 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "nameText";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "550 0";
- extent = "150 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiButtonCtrl() {
- text = "space";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "0 0";
- extent = "150 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "rebindButton";
- class = "ControlsMenuRebindButton";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- };
- };
- };
- };
- };
- new GuiContainer(MouseControlPanel) {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 25";
- extent = "700 460";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "0";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- hidden = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "700 460";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiControl() {
- position = "0 0";
- extent = "490 202";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiControl() {
- position = "0 20";
- extent = "490 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Invert Vertical";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "215 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiCheckBoxCtrl(ControlMenuInvertMouse) {
- text = "Button";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "258 0";
- extent = "20 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiCheckBoxProfile";
- visible = "1";
- active = "1";
- variable = "$pref::Input::invertVerticalMouse";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 40";
- extent = "490 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Vertical Sensitivity";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "215 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiSliderCtrl() {
- range = "0.1 1";
- ticks = "8";
- snap = "1";
- value = "1";
- position = "215 0";
- extent = "220 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiSliderProfile";
- visible = "1";
- active = "1";
- variable = "$pref::Input::VertMouseSensitivity";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "1";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "440 0";
- extent = "50 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- variable = "$pref::Input::VertMouseSensitivity";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 60";
- extent = "490 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Horizontal Sensitivity";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "215 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiSliderCtrl() {
- range = "0.1 1";
- ticks = "8";
- snap = "1";
- value = "1";
- position = "215 0";
- extent = "220 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiSliderProfile";
- visible = "1";
- active = "1";
- variable = "$pref::Input::HorzMouseSensitivity";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "1";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "440 0";
- extent = "50 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- variable = "$pref::Input::HorzMouseSensitivity";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 80";
- extent = "490 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Zoom Vertical Sensitivity";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "215 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiSliderCtrl() {
- range = "0.1 1";
- ticks = "8";
- snap = "1";
- value = "0.3";
- position = "215 0";
- extent = "220 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiSliderProfile";
- visible = "1";
- active = "1";
- variable = "$pref::Input::ZoomVertMouseSensitivity";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "0.3";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "440 0";
- extent = "50 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- variable = "$pref::Input::ZoomVertMouseSensitivity";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 100";
- extent = "490 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Zoom Horizontal Sensitivity";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "215 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiSliderCtrl() {
- range = "0.1 1";
- ticks = "8";
- snap = "1";
- value = "0.3";
- position = "215 0";
- extent = "220 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiSliderProfile";
- visible = "1";
- active = "1";
- variable = "$pref::Input::ZoomHorzMouseSensitivity";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "0.3";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "440 0";
- extent = "50 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- variable = "$pref::Input::ZoomHorzMouseSensitivity";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- };
- };
- new GuiButtonCtrl() {
- text = "OK";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "0 484";
- extent = "233 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- class = "ControlsMenuOKButton";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "Cancel";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "233 484";
- extent = "233 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- accelerator = "escape";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- class = "OptionsMenuCancelButton";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "Defaults";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "466 484";
- extent = "233 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- class = "ControlsMenuDefaultsButton";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl(AudioMenu) {
- position = "1 1";
- extent = "700 519";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "center";
- profile = "GuiDefaultProfile";
- visible = "0";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- hidden = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "700 450";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "700 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "700 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl(AudioMenuPageText) {
- text = "Audio";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "700 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiContainer(AudioSettingsMenu) {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 40";
- extent = "700 442";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "0";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- hidden = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiDynamicCtrlArrayControl(AudioMenuOptionsArray) {
- colCount = "1";
- colSize = "700";
- rowCount = "6";
- rowSize = "35";
- rowSpacing = "0";
- colSpacing = "0";
- frozen = "0";
- autoCellSize = "1";
- fillRowFirst = "1";
- dynamicSize = "0";
- padding = "0 0 0 0";
- position = "0 0";
- extent = "700 444";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "700 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- class = "GraphicsMenuSetting";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "450 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "450 0";
- extent = "250 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "35 0";
- extent = "180 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "XAudio";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "35 0";
- extent = "180 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "SettingText";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = ">";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "215 0";
- extent = "35 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- class = "OptionsMenuForwardSetting";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "<";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "0 0";
- extent = "35 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- class = "OptionsMenuBackSetting";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiTextCtrl() {
- text = "Sound Provider";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "450 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "nameText";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 35";
- extent = "700 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- class = "GraphicsMenuSetting";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "450 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "450 0";
- extent = "250 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "35 0";
- extent = "180 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Speakers (High Definition Audio Device)";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "35 0";
- extent = "180 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "SettingText";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = ">";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "215 0";
- extent = "35 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- class = "OptionsMenuForwardSetting";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "<";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "0 0";
- extent = "35 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- class = "OptionsMenuBackSetting";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiTextCtrl() {
- text = "Sound Device";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "450 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "nameText";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 70";
- extent = "700 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "450 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "450 0";
- extent = "250 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "250 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiSliderCtrl() {
- range = "0.1 1";
- ticks = "8";
- snap = "1";
- value = "0.8";
- position = "0 0";
- extent = "200 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiSliderProfile";
- visible = "1";
- active = "1";
- variable = "$pref::SFX::masterVolume";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "slider";
- class = "OptionsMenuSlider";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "8";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "200 0";
- extent = "50 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "valueText";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiTextCtrl() {
- text = "Master Audio Volume";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "450 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "nameText";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 105";
- extent = "700 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "450 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "450 0";
- extent = "250 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "250 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiSliderCtrl() {
- range = "0.1 1";
- ticks = "8";
- snap = "1";
- value = "0.1";
- position = "0 0";
- extent = "200 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiSliderProfile";
- visible = "1";
- active = "1";
- variable = "$pref::SFX::channelVolume[1]";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "slider";
- class = "OptionsMenuSlider";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "10";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "200 0";
- extent = "50 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "valueText";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiTextCtrl() {
- text = "Gui Volume";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "450 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "nameText";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 140";
- extent = "700 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "450 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "450 0";
- extent = "250 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "250 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiSliderCtrl() {
- range = "0.1 1";
- ticks = "8";
- snap = "1";
- value = "0.1";
- position = "0 0";
- extent = "200 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiSliderProfile";
- visible = "1";
- active = "1";
- variable = "$pref::SFX::channelVolume[2]";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "slider";
- class = "OptionsMenuSlider";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "10";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "200 0";
- extent = "50 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "valueText";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiTextCtrl() {
- text = "Effect Volume";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "450 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "nameText";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 175";
- extent = "700 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "450 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiContainer() {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "450 0";
- extent = "250 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "250 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiSliderCtrl() {
- range = "0.1 1";
- ticks = "8";
- snap = "1";
- value = "0.1";
- position = "0 0";
- extent = "200 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiSliderProfile";
- visible = "1";
- active = "1";
- variable = "$pref::SFX::channelVolume[4]";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- internalName = "slider";
- class = "OptionsMenuSlider";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "10";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "200 0";
- extent = "50 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "valueText";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiTextCtrl() {
- text = "Music Volume";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "450 35";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "nameText";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- };
- };
- new GuiControl() {
- position = "0 40";
- extent = "450 140";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiControl() {
- position = "0 0";
- extent = "450 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Sound Driver";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl(AudioMenuSoundDriver) {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "XAudio";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "175 0";
- extent = "265 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 20";
- extent = "450 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Sound Device";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiPopUpMenuCtrl(AudioMenuSoundDevice) {
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- text = "Speakers (High Definition Audio Device)";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "175 0";
- extent = "265 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiPopUpMenuProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 60";
- extent = "450 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Master Audio Volume";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiSliderCtrl() {
- range = "0.1 1";
- ticks = "8";
- snap = "1";
- value = "1";
- position = "190 0";
- extent = "209 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiSliderProfile";
- visible = "1";
- active = "1";
- variable = "$pref::SFX::masterVolume";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "1";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "410 0";
- extent = "40 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- variable = "$pref::SFX::masterVolume";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 80";
- extent = "450 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Gui Volume";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiSliderCtrl() {
- range = "0.1 1";
- ticks = "8";
- snap = "1";
- value = "1";
- position = "190 0";
- extent = "209 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiSliderProfile";
- visible = "1";
- active = "1";
- variable = "$pref::SFX::channelVolume[1]";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "1";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "410 0";
- extent = "40 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- variable = "$pref::SFX::channelVolume[1]";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 100";
- extent = "450 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Effect Volume";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiSliderCtrl() {
- range = "0.1 1";
- ticks = "8";
- snap = "1";
- value = "1";
- position = "190 0";
- extent = "209 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiSliderProfile";
- visible = "1";
- active = "1";
- variable = "$pref::SFX::channelVolume[2]";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "1";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "410 0";
- extent = "40 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- variable = "$pref::SFX::channelVolume[2]";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiControl() {
- position = "0 120";
- extent = "450 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiTextCtrl() {
- text = "Music Volume";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "175 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiSliderCtrl() {
- range = "0.1 1";
- ticks = "8";
- snap = "1";
- value = "1";
- position = "190 0";
- extent = "209 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiSliderProfile";
- visible = "1";
- active = "1";
- variable = "$pref::SFX::channelVolume[4]";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "1";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "410 0";
- extent = "40 20";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- variable = "$pref::SFX::channelVolume[4]";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- };
- new GuiButtonCtrl() {
- text = "OK";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "0 484";
- extent = "233 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- class = "AudioMenuOKButton";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "Cancel";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "233 484";
- extent = "233 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- accelerator = "escape";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- class = "OptionsMenuCancelButton";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(AudioMenuDefaultsButton) {
- text = "Defaults";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "466 484";
- extent = "233 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- class = "OptionsMenuDefaultsButton";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- };
- new GuiControl() {
- position = "20 70";
- extent = "380 602";
- minExtent = "8 2";
- horizSizing = "relative";
- vertSizing = "relative";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "380 602";
- minExtent = "8 2";
- horizSizing = "width";
- vertSizing = "height";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiControl() {
- position = "0 0";
- extent = "380 20";
- minExtent = "8 2";
- horizSizing = "width";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "380 20";
- minExtent = "8 2";
- horizSizing = "width";
- vertSizing = "height";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Options";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 0";
- extent = "380 20";
- minExtent = "8 2";
- horizSizing = "width";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- new GuiScrollCtrl() {
- willFirstRespond = "1";
- hScrollBar = "alwaysOff";
- vScrollBar = "dynamic";
- lockHorizScroll = "0";
- lockVertScroll = "0";
- constantThumbHeight = "0";
- childMargin = "0 0";
- mouseWheelScrollSpeed = "-1";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 25";
- extent = "380 577";
- minExtent = "8 2";
- horizSizing = "width";
- vertSizing = "height";
- profile = "GuiScrollProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiStackControl(OptionsSettingStack) {
- stackingType = "Vertical";
- horizStacking = "Left to Right";
- vertStacking = "Top to Bottom";
- padding = "0";
- dynamicSize = "1";
- dynamicNonStackExtent = "0";
- dynamicPos = "0";
- changeChildSizeToFit = "1";
- changeChildPosition = "1";
- position = "1 1";
- extent = "380 64";
- minExtent = "16 16";
- horizSizing = "width";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
- };
- new GuiControl() {
- position = "416 96";
- extent = "576 576";
- minExtent = "8 2";
- horizSizing = "relative";
- vertSizing = "relative";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiBitmapCtrl(OptionsPreviewCtrl) {
- bitmap = "data/ui/art/hudfill.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "576 576";
- minExtent = "8 2";
- horizSizing = "width";
- vertSizing = "height";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiBitmapCtrl() {
- bitmap = "data/ui/art/no-preview.png";
- color = "255 255 255 255";
- wrap = "0";
- position = "0 0";
- extent = "577 528";
- minExtent = "8 2";
- horizSizing = "width";
- vertSizing = "relative";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiMLTextCtrl() {
- lineSpacing = "2";
- allowColorChars = "0";
- maxChars = "-1";
- text = "This is a test message to act as a tooltip for any selected options menus for more information on the given option.";
- useURLMouseCursor = "0";
- position = "0 528";
- extent = "578 14";
- minExtent = "8 2";
- horizSizing = "width";
- vertSizing = "top";
- profile = "GuiMLWhiteTextProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
-};
-//--- OBJECT WRITE END ---
diff --git a/Templates/BaseGame/game/data/ui/scripts/guis/pauseMenu.gui b/Templates/BaseGame/game/data/ui/scripts/guis/pauseMenu.gui
deleted file mode 100644
index 5995cdf36..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/guis/pauseMenu.gui
+++ /dev/null
@@ -1,153 +0,0 @@
-//--- OBJECT WRITE BEGIN ---
-%guiContent = new GuiControl(PauseMenu) {
- position = "0 0";
- extent = "1024 768";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "1";
- tamlReader = "19772";
- tile = "0";
- useVariable = "0";
-
- new GuiChunkedBitmapCtrl(PauseMenuBG) {
- bitmap = "data/ui/art/hudfill";
- useVariable = "0";
- tile = "0";
- position = "0 0";
- extent = "1024 768";
- minExtent = "8 2";
- horizSizing = "width";
- vertSizing = "height";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "1";
- };
- new GuiControl() {
- position = "51 118";
- extent = "700 518";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiControl(PauseOptionsMain) {
- position = "1 1";
- extent = "700 320";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "center";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiButtonCtrl(PauseMenuExitButton) {
- text = "Exit Game";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "0 0";
- extent = "700 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "escapeFromGame();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(PauseMenuOptionsButton) {
- text = "Options";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "0 35";
- extent = "700 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "PauseMenu.openOptionsMenu();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(PauseMenuControlsButton) {
- text = "Controls";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "0 70";
- extent = "700 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "PauseMenu.openControlsMenu();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(PauseMenuCancelButton) {
- text = "Cancel";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "1";
- position = "466 285";
- extent = "233 35";
- minExtent = "8 8";
- horizSizing = "relative";
- vertSizing = "bottom";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "Canvas.popDialog();";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- class = "OptionsMenuDefaultsButton";
- canSave = "1";
- canSaveDynamicFields = "0";
- accelerator="escape";
- };
- };
- };
-};
-//--- OBJECT WRITE END ---
diff --git a/Templates/BaseGame/game/data/ui/scripts/guis/profiler.gui b/Templates/BaseGame/game/data/ui/scripts/guis/profiler.gui
deleted file mode 100644
index 46628c6df..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/guis/profiler.gui
+++ /dev/null
@@ -1,324 +0,0 @@
-//--- OBJECT WRITE BEGIN ---
-%guiContent = new GuiControl(ProfilerGui) {
- position = "0 0";
- extent = "1024 768";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "1";
-
- new GuiWindowCtrl(ppProfilerWindow) {
- text = "Profiler Manager";
- resizeWidth = "0";
- resizeHeight = "0";
- canMove = "1";
- canClose = "1";
- canMinimize = "0";
- canMaximize = "0";
- canCollapse = "0";
- closeCommand = "Canvas.popDialog(ProfilerGui);";
- edgeSnap = "0";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "306 216";
- extent = "415 199";
- minExtent = "8 8";
- horizSizing = "center";
- vertSizing = "center";
- profile = "GuiWindowProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiCheckBoxCtrl(ppShowFps) {
- text = "Show Fps";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "13 24";
- extent = "127 30";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiCheckBoxProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- tooltip = "Enable or Disable the Fps counter";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiCheckBoxCtrl(ppShowGfx) {
- text = "Show Gfx";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "13 40";
- extent = "127 30";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiCheckBoxProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- tooltip = "Enable or Disable the Gfx";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiCheckBoxCtrl(ppShowShadow) {
- text = "Show Shadow";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "13 56";
- extent = "127 30";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiCheckBoxProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- tooltip = "Enable or Disable the Shdow";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiCheckBoxCtrl(ppShowNet) {
- text = "Show Net";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "13 136";
- extent = "127 30";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiCheckBoxProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- tooltip = "Enable or Disable the Network activity";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiCheckBoxCtrl(ppShowForest) {
- text = "Show Forest";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "13 120";
- extent = "127 30";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiCheckBoxProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- tooltip = "Enable or Disable the Forest";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiCheckBoxCtrl(ppShowGroundcover) {
- text = "Show Groundcover";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "13 104";
- extent = "127 30";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiCheckBoxProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- tooltip = "Enable or Disable the Groundcover";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiCheckBoxCtrl(ppShowTerrain) {
- text = "Show Terrain";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "13 88";
- extent = "127 30";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiCheckBoxProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- tooltip = "Enable or Disable the Terrain";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiCheckBoxCtrl(ppShowSfx) {
- text = "Show Sfx";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "13 72";
- extent = "127 30";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiCheckBoxProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- tooltip = "Enable or Disable the Sfx";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(ppOptionsEnableDisable) {
- text = "On/Off OSD";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "309 38";
- extent = "93 23";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiButtonProfile";
- visible = "1";
- active = "1";
- command = "showMetrics(true);";
- tooltipProfile = "GuiToolTipProfile";
- tooltip = "Apply the setting from the dialog box";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(ppOptionsUpdate) {
- text = "Update";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "200 38";
- extent = "93 23";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiButtonProfile";
- visible = "1";
- active = "1";
- command = "showMetrics(false);";
- tooltipProfile = "GuiToolTipProfile";
- tooltip = "Update the profiler with the new parameters";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(ppOptionsDoProfiling) {
- text = "DoProfiling";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "309 141";
- extent = "93 23";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiButtonProfile";
- visible = "1";
- active = "1";
- command = "doProfileFromGui();";
- tooltipProfile = "GuiToolTipProfile";
- tooltip = "Does the profile for the ammount of time specified ";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl(DurationLabel) {
- text = "Duration[ms]";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "200 144";
- extent = "39 21";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextRightProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextEditCtrl(Duration) {
- historySize = "0";
- tabComplete = "0";
- sinkAllKeyEvents = "0";
- password = "0";
- passwordMask = "*";
- text = "1000";
- maxLength = "1024";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "249 144";
- extent = "53 18";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiTextEditProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
-};
-//--- OBJECT WRITE END ---
diff --git a/Templates/BaseGame/game/data/ui/scripts/guis/remapConfirmDlg.gui b/Templates/BaseGame/game/data/ui/scripts/guis/remapConfirmDlg.gui
deleted file mode 100644
index e0489a9f8..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/guis/remapConfirmDlg.gui
+++ /dev/null
@@ -1,125 +0,0 @@
-//--- OBJECT WRITE BEGIN ---
-%guiContent = new GuiControl(RemapConfirmDlg) {
- position = "0 0";
- extent = "1024 768";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "1";
- helpTag = "0";
-
- new GuiContainer(RemapConfirmationPanel) {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "168 352";
- extent = "700 64";
- minExtent = "8 2";
- horizSizing = "center";
- vertSizing = "center";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiChunkedBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- useVariable = "0";
- tile = "0";
- position = "0 0";
- extent = "700 64";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl(RemapConfirmationText) {
- text = "\"m\" is already bound to \"Forward\"!\nDo you wish to replace this mapping?";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "0 8";
- extent = "700 20";
- minExtent = "8 8";
- horizSizing = "width";
- vertSizing = "height";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- accelerator = "return";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(RemapConfirmationYesButton) {
- text = "Yes";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "270 36";
- extent = "80 22";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "top";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "ControlsMenu.redoMapping(keyboard, \"m\", \"jump\", 0, 4); Canvas.popDialog();";
- accelerator = "return";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(RemapConfirmationNoButton) {
- text = "No";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "367 36";
- extent = "80 22";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "top";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- command = "Canvas.popDialog();";
- accelerator = "escape";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
-};
-//--- OBJECT WRITE END ---
diff --git a/Templates/BaseGame/game/data/ui/scripts/guis/remapDlg.gui b/Templates/BaseGame/game/data/ui/scripts/guis/remapDlg.gui
deleted file mode 100644
index a4dd8edac..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/guis/remapDlg.gui
+++ /dev/null
@@ -1,122 +0,0 @@
-//--- OBJECT WRITE BEGIN ---
-%guiContent = new GuiControl(RemapDlg) {
- position = "0 0";
- extent = "1024 768";
- minExtent = "8 8";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "1";
- helpTag = "0";
-
- new GuiContainer(RemapPanel) {
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "162 352";
- extent = "700 64";
- minExtent = "8 2";
- horizSizing = "center";
- vertSizing = "center";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
-
- new GuiInputCtrl(OptRemapInputCtrl) {
- lockMouse = "0";
- position = "480 0";
- extent = "64 64";
- minExtent = "8 8";
- horizSizing = "width";
- vertSizing = "height";
- profile = "GuiInputCtrlProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiChunkedBitmapCtrl() {
- bitmap = "data/ui/art/hudfill.png";
- useVariable = "0";
- tile = "0";
- position = "0 0";
- extent = "700 64";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "GuiDefaultProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "0";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Press escape to cancel";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "247 34";
- extent = "242 20";
- minExtent = "8 8";
- horizSizing = "width";
- vertSizing = "height";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- new GuiTextCtrl() {
- text = "Re-bind \"\" to...";
- maxLength = "255";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- position = "177 8";
- extent = "384 20";
- minExtent = "8 8";
- horizSizing = "width";
- vertSizing = "height";
- profile = "GuiMenuButtonProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- internalName = "OptRemapText";
- canSave = "1";
- canSaveDynamicFields = "0";
- };
- };
-};
-//--- OBJECT WRITE END ---
diff --git a/Templates/BaseGame/game/data/ui/scripts/guis/startupGui.gui b/Templates/BaseGame/game/data/ui/scripts/guis/startupGui.gui
deleted file mode 100644
index ad7afcf63..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/guis/startupGui.gui
+++ /dev/null
@@ -1,79 +0,0 @@
-//--- OBJECT WRITE BEGIN ---
-%guiContent = new GuiFadeinBitmapCtrl(StartupGui) {
- canSaveDynamicFields = "0";
- Enabled = "1";
- isContainer = "1";
- Profile = "GuiInputCtrlProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "0 0";
- Extent = "800 600";
- MinExtent = "8 8";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "GuiToolTipProfile";
- hovertime = "1000";
- bitmap = "";
- wrap = "0";
- fadeinTime = "1000";
- waitTime = "4000";
- fadeoutTime = "1000";
- done = "1";
-
- new GuiBitmapButtonCtrl() {
- canSaveDynamicFields = "1";
- internalName = "StartupLogo";
- Enabled = "1";
- isContainer = "0";
- Profile = "GuiDefaultProfile";
- HorizSizing = "center";
- VertSizing = "center";
- position = "399 302";
- Extent = "253 253";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "GuiToolTipProfile";
- hovertime = "1000";
- bitmap = "";
- wrap = "0";
- command = "StartupGui.click();";
- };
- new GuiBitmapButtonCtrl() {
- canSaveDynamicFields = "1";
- internalName = "StartupLogoSecondary";
- Enabled = "1";
- isContainer = "0";
- Profile = "GuiDefaultProfile";
- HorizSizing = "left";
- VertSizing = "top";
- position = "275 440";
- Extent = "530 171";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "GuiToolTipProfile";
- hovertime = "1000";
- bitmap = "";
- wrap = "0";
- command = "StartupGui.click();";
- };
-};
-//--- OBJECT WRITE END ---
-//--- OBJECT WRITE BEGIN ---
-new GuiFadeinBitmapCtrl(BlankGui) {
- profile = "GuiInputCtrlProfile";
- horizSizing = "right";
- vertSizing = "bottom";
- position = "0 0";
- extent = "800 600";
- minExtent = "8 8";
- visible = "1";
- helpTag = "0";
- bitmap = "";
- wrap = "0";
- fadeinTime = "100";
- waitTime = "2000";
- fadeoutTime = "100";
-};
-//--- OBJECT WRITE END ---
diff --git a/Templates/BaseGame/game/data/ui/scripts/joinServerMenu.cs b/Templates/BaseGame/game/data/ui/scripts/joinServerMenu.cs
deleted file mode 100644
index 5529ebaed..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/joinServerMenu.cs
+++ /dev/null
@@ -1,143 +0,0 @@
-
-function JoinServerMenu::onWake()
-{
- // Double check the status. Tried setting this the control
- // inactive to start with, but that didn't seem to work.
- JoinServerJoinBtn.setActive(JS_serverList.rowCount() > 0);
-}
-
-//----------------------------------------
-function JoinServerMenu::query(%this)
-{
- queryMasterServer(
- 0, // Query flags
- $Client::GameTypeQuery, // gameTypes
- $Client::MissionTypeQuery, // missionType
- 0, // minPlayers
- 100, // maxPlayers
- 0, // maxBots
- 2, // regionMask
- 0, // maxPing
- 100, // minCPU
- 0 // filterFlags
- );
-}
-
-//----------------------------------------
-function JoinServerMenu::queryLan(%this)
-{
- queryLANServers(
- $pref::Net::Port, // lanPort for local queries
- 0, // Query flags
- $Client::GameTypeQuery, // gameTypes
- $Client::MissionTypeQuery, // missionType
- 0, // minPlayers
- 100, // maxPlayers
- 0, // maxBots
- 2, // regionMask
- 0, // maxPing
- 100, // minCPU
- 0 // filterFlags
- );
-}
-
-//----------------------------------------
-function JoinServerMenu::cancel(%this)
-{
- cancelServerQuery();
- JS_queryStatus.setVisible(false);
-}
-
-
-//----------------------------------------
-function JoinServerMenu::join(%this)
-{
- cancelServerQuery();
- %index = JS_serverList.getSelectedId();
-
- JoinGame(%index);
-}
-
-//----------------------------------------
-function JoinServerMenu::refresh(%this)
-{
- cancelServerQuery();
- %index= JS_serverList.getSelectedId();
-
- // The server info index is stored in the row along with the
- // rest of displayed info.
- if( setServerInfo( %index ) )
- querySingleServer( $ServerInfo::Address, 0 );
-}
-
-//----------------------------------------
-function JoinServerMenu::refreshSelectedServer( %this )
-{
- querySingleServer( $JoinGameAddress, 0 );
-}
-
-//----------------------------------------
-function JoinServerMenu::exit(%this)
-{
- cancelServerQuery();
-
- Canvas.popDialog(JoinServerMenu);
-}
-
-//----------------------------------------
-function JoinServerMenu::update(%this)
-{
- // Copy the servers into the server list.
- JS_queryStatus.setVisible(false);
- JS_serverList.clear();
- %sc = getServerCount();
- for( %i = 0; %i < %sc; %i ++ ) {
- setServerInfo(%i);
- JS_serverList.addRow( %i,
- $ServerInfo::Name TAB
- $ServerInfo::Ping TAB
- $ServerInfo::PlayerCount @ "/" @ $ServerInfo::MaxPlayers TAB
- $ServerInfo::Version TAB
- $ServerInfo::MissionName
- );
- }
- JS_serverList.sort(0);
- JS_serverList.setSelectedRow(0);
- JS_serverList.scrollVisible(0);
-
- JoinServerJoinBtn.setActive(JS_serverList.rowCount() > 0);
-}
-
-//----------------------------------------
-function onServerQueryStatus(%status, %msg, %value)
-{
- echo("ServerQuery: " SPC %status SPC %msg SPC %value);
- // Update query status
- // States: start, update, ping, query, done
- // value = % (0-1) done for ping and query states
- if (!JS_queryStatus.isVisible())
- JS_queryStatus.setVisible(true);
-
- switch$ (%status) {
- case "start":
- JoinServerJoinBtn.setActive(false);
- JoinServerQryInternetBtn.setActive(false);
- JS_statusText.setText(%msg);
- JS_statusBar.setValue(0);
- JS_serverList.clear();
-
- case "ping":
- JS_statusText.setText("Ping Servers");
- JS_statusBar.setValue(%value);
-
- case "query":
- JS_statusText.setText("Query Servers");
- JS_statusBar.setValue(%value);
-
- case "done":
- JoinServerQryInternetBtn.setActive(true);
- JS_queryStatus.setVisible(false);
- JS_status.setText(%msg);
- JoinServerMenu.update();
- }
-}
diff --git a/Templates/BaseGame/game/data/ui/scripts/mainMenu.cs b/Templates/BaseGame/game/data/ui/scripts/mainMenu.cs
deleted file mode 100644
index 3a3b22f61..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/mainMenu.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-function MainMenuGui::onWake(%this)
-{
- if (isFunction("getWebDeployment") &&
- getWebDeployment() &&
- isObject(%this-->ExitButton))
- %this-->ExitButton.setVisible(false);
-
- MainMenuButtonContainer.hidden = false;
-}
-
-function MainMenuGui::openSinglePlayerMenu(%this)
-{
- $pref::HostMultiPlayer=false;
- Canvas.pushDialog(ChooseLevelDlg);
- ChooseLevelDlg.returnGui = %this;
- MainMenuButtonContainer.hidden = true;
- MainMenuAppLogo.setBitmap("data/ui/art/Torque-3D-logo");
-}
-
-function MainMenuGui::openMultiPlayerMenu(%this)
-{
- $pref::HostMultiPlayer=true;
- Canvas.pushDialog(ChooseLevelDlg);
- ChooseLevelDlg.returnGui = %this;
- MainMenuButtonContainer.hidden = true;
- MainMenuAppLogo.setBitmap("data/ui/art/Torque-3D-logo");
-}
-
-function MainMenuGui::openOptionsMenu(%this)
-{
- Canvas.pushDialog(OptionsMenu);
- OptionsMenu.returnGui = %this;
- MainMenuButtonContainer.hidden = true;
- MainMenuAppLogo.setBitmap("data/ui/art/Torque-3D-logo");
-}
-
-function MainMenuGui::onReturnTo(%this)
-{
- MainMenuButtonContainer.hidden = false;
- MainMenuAppLogo.setBitmap("data/ui/art/Torque-3D-logo-shortcut");
-}
\ No newline at end of file
diff --git a/Templates/BaseGame/game/data/ui/scripts/optionsMenu.cs b/Templates/BaseGame/game/data/ui/scripts/optionsMenu.cs
deleted file mode 100644
index 41cf56e74..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/optionsMenu.cs
+++ /dev/null
@@ -1,686 +0,0 @@
-//options settings
-
-//Screen and Display menu
-//Renderer Mode
-//Screen resolution
-//Windowed/fullscreen(borderless?)
-//VSync
-
-//Screen brightness
-//screen brightness
-//screen gamma
-
-//Lighting Menu
-//Shadow Distance(Distance shadows are drawn to. Also affects shadowmap slices)
-//Shadow Quality(Resolution of shadows rendered, setting to none disables dynamic shadows)
-//Soft Shadows(Whether shadow softening is used)
-//Shadow caching(If the lights enable it, shadow caching is activated)
-//Light Draw Distance(How far away lights are still drawn. Doesn't impact vector lights like the sun)
-
-//Mesh and Textures Menu
-//Draw distance(Overall draw distance) -slider
-//Object draw distance(Draw distance from small/unimportant objects) -slider
-//Mesh quality
-//Texture quality
-//Foliage draw distance
-//Terrain Quality
-//Decal Quality
-
-//Effects Menu
-//Parallax
-//HDR
-//Light shafts
-//Motion Blur
-//Depth of Field
-//SSAO
-//AA(ModelXAmount)[defualt is FXAA]
-//Anisotropic filtering
-
-//Keybinds
-
-//Camera
-//horizontal mouse sensitivity
-//vert mouse sensitivity
-//invert vertical
-//zoom mouse sensitivities(both horz/vert)
-//headbob
-//FOV
-
-function OptionsMenu::onWake(%this)
-{
- OptionsMain.hidden = false;
- ControlsMenu.hidden = true;
- GraphicsMenu.hidden = true;
- AudioMenu.hidden = true;
- CameraMenu.hidden = true;
- ScreenBrightnessMenu.hidden = true;
-
- OptionsOKButton.hidden = false;
- OptionsCancelButton.hidden = false;
- OptionsDefaultsButton.hidden = false;
-
- OptionsMenu.tamlReader = new Taml();
-
- OptionsSettingStack.clear();
-
- %array = OptionsSettingStack;
- %array.clear();
-
- %keyboardMenuBtn = new GuiButtonCtrl(){
- text = "Keyboard and Mouse";
- profile = GuiMenuButtonProfile;
- extent = %array.extent.x SPC "35";
- };
-
- %controllerMenuBtn = new GuiButtonCtrl(){
- text = "Controller";
- profile = GuiMenuButtonProfile;
- extent = %array.extent.x SPC "35";
- command="DisplayMenu::loadSettings();";
- };
-
- %displayMenuBtn = new GuiButtonCtrl(){
- text = "Display";
- profile = GuiMenuButtonProfile;
- extent = %array.extent.x SPC "35";
- command="DisplayMenu::loadSettings();";
- };
-
- %graphicsMenuBtn = new GuiButtonCtrl(){
- text = "Graphics";
- profile = GuiMenuButtonProfile;
- extent = %array.extent.x SPC "35";
- command="GraphicsMenu::loadSettings();";
- };
-
- %audioMenuBtn = new GuiButtonCtrl(){
- text = "Audio";
- profile = GuiMenuButtonProfile;
- extent = %array.extent.x SPC "35";
- command="AudioMenu::loadSettings();";
- };
-
- %gameplayMenuBtn = new GuiButtonCtrl(){
- text = "Gameplay";
- profile = GuiMenuButtonProfile;
- extent = %array.extent.x SPC "35";
- };
-
- %array.add(%keyboardMenuBtn);
- %array.add(%controllerMenuBtn);
- %array.add(%displayMenuBtn);
- %array.add(%graphicsMenuBtn);
- %array.add(%audioMenuBtn);
- %array.add(%gameplayMenuBtn);
-
- //We programmatically set up our settings here so we can do some prepwork on the fields/controls
- //Presets
- /*OptionsMenu.addSettingOption(%array, "Preset", "High", ShadowQualityList, $pref::Video::Resolution);
-
- //AA
- OptionsMenu.addSettingOption(%array, "AntiAliasing", "FXAA 4x", ShadowQualityList, $pref::Video::Resolution);
-
- //Lighting
- OptionsMenu.addSettingOption(%array, "Shadow Quality", "High", ShadowQualityList, $pref::Video::Resolution);
- OptionsMenu.addSettingOption(%array, "Shadow Caching", "On", ShadowQualityList, $pref::Video::Resolution);
- OptionsMenu.addSettingOption(%array, "Soft Shadows", "High", ShadowQualityList, $pref::Video::Resolution);
-
- //Models and Textures
- OptionsMenu.addSettingOption(%array, "Level of Detail", "High", ShadowQualityList, $pref::Video::Resolution);
- OptionsMenu.addSettingOption(%array, "Texture Quality", "High", ShadowQualityList, $pref::Video::Resolution);
- OptionsMenu.addSettingOption(%array, "Material Quality", "High", ShadowQualityList, $pref::Video::Resolution);
- OptionsMenu.addSettingOption(%array, "Terrain Detail", "High", ShadowQualityList, $pref::Video::Resolution);
- OptionsMenu.addSettingOption(%array, "Decal Lifetime", "High", ShadowQualityList, $pref::Video::Resolution);
- OptionsMenu.addSettingOption(%array, "Ground Clutter Density", "High", ShadowQualityList, $pref::Video::Resolution);
-
- //Effects
- OptionsMenu.addSettingOption(%array, "HDR", "On", ShadowQualityList, $pref::Video::Resolution);
- OptionsMenu.addSettingOption(%array, "Parallax", "On", ShadowQualityList, $pref::Video::Resolution);
- OptionsMenu.addSettingOption(%array, "Ambient Occlusion", "On", ShadowQualityList, $pref::Video::Resolution);
- OptionsMenu.addSettingOption(%array, "Light Rays", "On", ShadowQualityList, $pref::Video::Resolution);
- OptionsMenu.addSettingOption(%array, "Depth of Field", "On", ShadowQualityList, $pref::Video::Resolution);
- OptionsMenu.addSettingOption(%array, "Vignetting", "On", ShadowQualityList, $pref::Video::Resolution);
- OptionsMenu.addSettingOption(%array, "Water Reflections", "On", ShadowQualityList, $pref::Video::Resolution);
-
- OptionsMenu.addSettingOption(%array, "Anisotropic Filtering", "16x", ShadowQualityList, $pref::Video::Resolution);*/
-}
-
-function OptionsMenuOKButton::onClick(%this)
-{
- //save the settings and then back out
-
- OptionsMenu.backOut();
-}
-
-function OptionsMenuCancelButton::onClick(%this)
-{
- //we don't save, so go straight to backing out of the menu
- OptionsMenu.backOut();
-}
-
-function OptionsMenuDefaultsButton::onClick(%this)
-{
- //we don't save, so go straight to backing out of the menu
- OptionsMenu.backOut();
-}
-
-function ControlsSettingsMenuButton::onClick(%this)
-{
- OptionsMain.hidden = true;
- ControlsMenu.hidden = false;
-
- KeyboardControlPanel.hidden = false;
- MouseControlPanel.hidden = true;
-
- ControlsMenu.reload();
-}
-
-function GraphicsSettingsMenuButton::onClick(%this)
-{
- OptionsMain.hidden = true;
- GraphicsMenu.hidden = false;
-}
-
-function CameraSettingsMenuButton::onClick(%this)
-{
- OptionsMain.hidden = true;
- CameraMenu.hidden = false;
-
- CameraMenu.loadSettings();
-}
-
-function AudioSettingsMenuButton::onClick(%this)
-{
- OptionsMain.hidden = true;
- AudioMenu.hidden = false;
- AudioMenu.loadSettings();
-}
-
-function ScreenBrSettingsMenuButton::onClick(%this)
-{
- OptionsMain.hidden = true;
- ScreenBrightnessMenu.hidden = false;
-}
-
-function OptionsMenu::backOut(%this)
-{
- //save the settings and then back out
- if(OptionsMain.hidden == false)
- {
- //we're not in a specific menu, so we're actually exiting
- Canvas.popDialog(OptionsMenu);
-
- if(isObject(OptionsMenu.returnGui) && OptionsMenu.returnGui.isMethod("onReturnTo"))
- OptionsMenu.returnGui.onReturnTo();
- }
- else
- {
- OptionsMain.hidden = false;
- ControlsMenu.hidden = true;
- GraphicsMenu.hidden = true;
- CameraMenu.hidden = true;
- AudioMenu.hidden = true;
- ScreenBrightnessMenu.hidden = true;
- }
-}
-
-function OptionsMenu::addSettingOption(%this, %arrayTarget, %optionName, %defaultValue, %settingsGroup, %targetVar)
-{
- %option = TAMLRead("data/ui/scripts/guis/graphicsMenuSettingsCtrl.taml");
-
- %option-->nameText.text = %optionName;
- %option-->SettingText.text = %defaultValue;
- %option.qualitySettingGroup = %settingsGroup;
- %option.targetVar = %targetVar;
-
- %option.init();
-
- %arrayTarget.add(%option);
-
- return %option;
-}
-
-function OptionsMenu::addSliderOption(%this, %arrayTarget, %optionName, %variable, %range, %ticks, %value, %class)
-{
- %option = TAMLRead("data/ui/scripts/guis/graphicsMenuSettingsSlider.taml");
-
- %option-->nameText.text = %optionName;
-
- %arrayTarget.add(%option);
-
- if(%range !$= "")
- {
- %option-->slider.range = %range;
- }
-
- if(%ticks !$= "")
- {
- %option-->slider.ticks = %ticks;
- }
-
- if(%variable !$= "")
- {
- %option-->slider.variable = %variable;
- }
-
- if(%value !$= "")
- {
- %option-->slider.setValue(%value);
- }
-
- if(%class !$= "")
- {
- %option-->slider.className = %class;
- }
- else
- %option-->slider.className = OptionsMenuSlider;
-
- %option-->slider.snap = true;
-
- %option-->slider.onValueSet();
-
- return %option;
-}
-
-function OptionsMenuSlider::onMouseDragged(%this)
-{
- %this.onValueSet();
-}
-
-function OptionsMenuSlider::onValueSet(%this)
-{
- %this.getParent().getParent()-->valueText.setText(mRound(%this.value * 10));
-}
-
-function FOVOptionSlider::onMouseDragged(%this)
-{
- %this.onValueSet();
-}
-
-function FOVOptionSlider::onValueSet(%this)
-{
- %this.getParent().getParent()-->valueText.setText(mRound(%this.value));
-}
-
-function OptionsMenuForwardSetting::onClick(%this)
-{
- //we need to advance through the value list, unless it's the end, in which case we do nothing
- echo("Move forward in the list!");
-
- %settingCtrl = %this.getParent();
- for ( %i=0; %i < %settingCtrl.qualitySettingGroup.getCount(); %i++ )
- {
- %level = %settingCtrl.qualitySettingGroup.getObject( %i );
-
- if(%settingCtrl.selectedLevel == %i)
- {
- //k, shift it
- if(%i == %settingCtrl.qualitySettingGroup.getCount() - 1)
- {
- //oh, we're at the end. Do nothing.
- return;
- }
- else
- {
- %newLevel = %settingCtrl.qualitySettingGroup.getObject( %i + 1 );
- %settingCtrl-->SettingText.setText( %newLevel.displayName );
- OptionsPreviewCtrl.bitmap = %newLevel.previewImage;
- %settingCtrl.selectedLevel = %i + 1;
- return;
- }
- }
- }
-}
-
-function OptionsMenuBackSetting::onClick(%this)
-{
- //we need to advance through the value list, unless it's the end, in which case we do nothing
- echo("Move back in the list!");
-
- %settingCtrl = %this.getParent();
- for ( %i=0; %i < %settingCtrl.qualitySettingGroup.getCount(); %i++ )
- {
- %level = %settingCtrl.qualitySettingGroup.getObject( %i );
-
- if(%settingCtrl.selectedLevel == %i)
- {
- //k, shift it
- if(%i == 0)
- {
- //oh, we're at the end. Do nothing.
- return;
- }
- else
- {
- %newLevel = %settingCtrl.qualitySettingGroup.getObject( %i - 1 );
- %settingCtrl-->SettingText.setText( %newLevel.displayName );
- %settingCtrl.selectedLevel = %i - 1;
- return;
- }
- }
- }
-}
-
-/// Returns true if the current quality settings equal
-/// this graphics quality level.
-function OptionsMenuSettingLevel::isCurrent( %this )
-{
- // Test each pref to see if the current value
- // equals our stored value.
-
- for ( %i=0; %i < %this.count(); %i++ )
- {
- %pref = %this.getKey( %i );
- %value = %this.getValue( %i );
-
- %prefVarValue = getVariable( %pref );
- if ( getVariable( %pref ) !$= %value )
- return false;
- }
-
- return true;
-}
-// =============================================================================
-// CAMERA MENU
-// =============================================================================
-function CameraMenu::onWake(%this)
-{
-
-}
-
-function CameraMenu::apply(%this)
-{
- setFOV($pref::Player::defaultFov);
-}
-
-function CameraMenu::loadSettings(%this)
-{
- CameraMenuOptionsArray.clear();
-
- %option = OptionsMenu.addSettingOption(CameraMenuOptionsArray);
- %option-->nameText.setText("Invert Vertical");
- %option.qualitySettingGroup = InvertVerticalMouse;
- %option.init();
-
- %option = OptionsMenu.addSliderOption(CameraMenuOptionsArray, "0.1 1", 8, "$pref::Input::VertMouseSensitivity", $pref::Input::VertMouseSensitivity);
- %option-->nameText.setText("Vertical Sensitivity");
-
- %option = OptionsMenu.addSliderOption(CameraMenuOptionsArray, "0.1 1", 8, "$pref::Input::HorzMouseSensitivity", $pref::Input::HorzMouseSensitivity);
- %option-->nameText.setText("Horizontal Sensitivity");
-
- %option = OptionsMenu.addSliderOption(CameraMenuOptionsArray, "0.1 1", 8, "$pref::Input::ZoomVertMouseSensitivity", $pref::Input::ZoomVertMouseSensitivity);
- %option-->nameText.setText("Zoom Vertical Sensitivity");
-
- %option = OptionsMenu.addSliderOption(CameraMenuOptionsArray, "0.1 1", 8, "$pref::Input::ZoomHorzMouseSensitivity", $pref::Input::ZoomHorzMouseSensitivity);
- %option-->nameText.setText("Zoom Horizontal Sensitivity");
-
- %option = OptionsMenu.addSliderOption(CameraMenuOptionsArray, "65 90", 25, "$pref::Player::defaultFov", $pref::Player::defaultFov, FOVOptionSlider);
- %option-->nameText.setText("Field of View");
-
- CameraMenuOptionsArray.refresh();
-}
-
-function CameraMenuOKButton::onClick(%this)
-{
- //save the settings and then back out
- CameraMenu.apply();
- OptionsMenu.backOut();
-}
-
-function CameraMenuDefaultsButton::onClick(%this)
-{
-
-}
-// =============================================================================
-// AUDIO MENU
-// =============================================================================
-$AudioTestHandle = 0;
-// Description to use for playing the volume test sound. This isn't
-// played with the description of the channel that has its volume changed
-// because we know nothing about the playback state of the channel. If it
-// is paused or stopped, the test sound would not play then.
-$AudioTestDescription = new SFXDescription()
-{
- sourceGroup = AudioChannelMaster;
-};
-
-function AudioMenu::loadSettings(%this)
-{
- // Audio
- //OptAudioHardwareToggle.setStateOn($pref::SFX::useHardware);
- //OptAudioHardwareToggle.setActive( true );
-
- %this-->OptAudioVolumeMaster.setValue( $pref::SFX::masterVolume );
- %this-->OptAudioVolumeShell.setValue( $pref::SFX::channelVolume[ $GuiAudioType] );
- %this-->OptAudioVolumeSim.setValue( $pref::SFX::channelVolume[ $SimAudioType ] );
- %this-->OptAudioVolumeMusic.setValue( $pref::SFX::channelVolume[ $MusicAudioType ] );
-
- AudioMenuSoundDriver.clear();
- %buffer = sfxGetAvailableDevices();
- %count = getRecordCount( %buffer );
- for(%i = 0; %i < %count; %i++)
- {
- %record = getRecord(%buffer, %i);
- %provider = getField(%record, 0);
-
- if ( AudioMenuSoundDriver.findText( %provider ) == -1 )
- AudioMenuSoundDriver.add( %provider, %i );
- }
-
- AudioMenuSoundDriver.sort();
-
- %selId = AudioMenuSoundDriver.findText($pref::SFX::provider);
- if ( %selId == -1 )
- AudioMenuSoundDriver.setFirstSelected();
- else
- AudioMenuSoundDriver.setSelected( %selId );
-}
-
-function AudioMenu::loadDevices(%this)
-{
- if(!isObject(SoundDeviceGroup))
- {
- new SimGroup( SoundDeviceGroup );
- }
- else
- {
- SoundDeviceGroup.clear();
- }
-
- %buffer = sfxGetAvailableDevices();
- %count = getRecordCount( %buffer );
- for (%i = 0; %i < %count; %i++)
- {
- %record = getRecord(%buffer, %i);
- %provider = getField(%record, 0);
- %device = getField(%record, 1);
-
- if($pref::SFX::provider !$= %provider)
- continue;
-
- %setting = new ArrayObject()
- {
- class = "OptionsMenuSettingLevel";
- caseSensitive = true;
-
- displayName = %device;
-
- key["$pref::SFX::Device"] = %device;
- };
-
- SoundDeviceGroup.add(%setting);
- }
-}
-
-function AudioMenu::apply(%this)
-{
- sfxSetMasterVolume( $pref::SFX::masterVolume );
-
- sfxSetChannelVolume( $GuiAudioType, $pref::SFX::channelVolume[ $GuiAudioType ] );
- sfxSetChannelVolume( $SimAudioType, $pref::SFX::channelVolume[ $SimAudioType ] );
- sfxSetChannelVolume( $MusicAudioType, $pref::SFX::channelVolume[ $MusicAudioType ] );
-
- if ( !sfxCreateDevice( $pref::SFX::provider,
- $pref::SFX::device,
- $pref::SFX::useHardware,
- -1 ) )
- error( "Unable to create SFX device: " @ $pref::SFX::provider
- SPC $pref::SFX::device
- SPC $pref::SFX::useHardware );
-
- if( !isObject( $AudioTestHandle ) )
- {
- sfxPlay(menuButtonPressed);
- }
-}
-
-function AudioMenuOKButton::onClick(%this)
-{
- //save the settings and then back out
- AudioMenu.apply();
- OptionsMenu.backOut();
-}
-
-function AudioMenuDefaultsButton::onClick(%this)
-{
- sfxInit();
- AudioMenu.loadSettings();
-}
-
-function OptAudioUpdateMasterVolume( %volume )
-{
- if( %volume == $pref::SFX::masterVolume )
- return;
-
- sfxSetMasterVolume( %volume );
- $pref::SFX::masterVolume = %volume;
-
- if( !isObject( $AudioTestHandle ) )
- $AudioTestHandle = sfxPlayOnce( AudioChannel, "art/sound/ui/volumeTest.wav" );
-}
-
-function OptAudioUpdateChannelVolume( %description, %volume )
-{
- %channel = sfxGroupToOldChannel( %description.sourceGroup );
-
- if( %volume == $pref::SFX::channelVolume[ %channel ] )
- return;
-
- sfxSetChannelVolume( %channel, %volume );
- $pref::SFX::channelVolume[ %channel ] = %volume;
-
- if( !isObject( $AudioTestHandle ) )
- {
- $AudioTestDescription.volume = %volume;
- $AudioTestHandle = sfxPlayOnce( $AudioTestDescription, "art/sound/ui/volumeTest.wav" );
- }
-}
-
-function AudioMenuSoundDriver::onSelect( %this, %id, %text )
-{
- // Skip empty provider selections.
- if ( %text $= "" )
- return;
-
- $pref::SFX::provider = %text;
- AudioMenuSoundDevice.clear();
-
- %buffer = sfxGetAvailableDevices();
- %count = getRecordCount( %buffer );
- for(%i = 0; %i < %count; %i++)
- {
- %record = getRecord(%buffer, %i);
- %provider = getField(%record, 0);
- %device = getField(%record, 1);
-
- if (%provider !$= %text)
- continue;
-
- if ( AudioMenuSoundDevice.findText( %device ) == -1 )
- AudioMenuSoundDevice.add( %device, %i );
- }
-
- // Find the previous selected device.
- %selId = AudioMenuSoundDevice.findText($pref::SFX::device);
- if ( %selId == -1 )
- AudioMenuSoundDevice.setFirstSelected();
- else
- AudioMenuSoundDevice.setSelected( %selId );
-}
-
-function AudioMenuSoundDevice::onSelect( %this, %id, %text )
-{
- // Skip empty selections.
- if ( %text $= "" )
- return;
-
- $pref::SFX::device = %text;
-
- if ( !sfxCreateDevice( $pref::SFX::provider,
- $pref::SFX::device,
- $pref::SFX::useHardware,
- -1 ) )
- error( "Unable to create SFX device: " @ $pref::SFX::provider
- SPC $pref::SFX::device
- SPC $pref::SFX::useHardware );
-}
-
-//==============================================================================
-// DISPLAY MENU
-//==============================================================================
-function DisplayMenu::loadSettings()
-{
- OptionsSettingStack.clear();
-
- OptionsMenu.addSettingOption(OptionsSettingStack, "Resolution", "1024 x 768", "", $pref::Video::Resolution);
- OptionsMenu.addSettingOption(OptionsSettingStack, "Full Screen", "Off", "", $pref::Video::FullScreen);
- OptionsMenu.addSettingOption(OptionsSettingStack, "Refresh Rate", "60", "", $pref::Video::RefreshRate);
- OptionsMenu.addSettingOption(OptionsSettingStack, "VSync", "Off", "", $pref::Video::Vsync);
-
- OptionsMenu.addSliderOption(OptionsSettingStack, "Field of View", $pref::Video::FOV, "65 120", 55, 75);
-
- OptionsMenu.addSliderOption(OptionsSettingStack, "Brightness", $pref::Video::Brightness, "0 1", 10, 5);
- OptionsMenu.addSliderOption(OptionsSettingStack, "Contrast", $pref::Video::Contrast, "0 1", 10, 5);
-}
-
-//==============================================================================
-// GRAPHICS MENU
-//==============================================================================
-function GraphicsMenu::loadSettings()
-{
- OptionsSettingStack.clear();
-
- OptionsMenu.addSettingOption(OptionsSettingStack, "Shadow Quality", "High", "", $pref::Video::Resolution);
- OptionsMenu.addSettingOption(OptionsSettingStack, "Shadow Caching", "Off", "", $pref::Video::FullScreen);
- OptionsMenu.addSettingOption(OptionsSettingStack, "Soft Shadows", "60", "", $pref::Video::RefreshRate);
-
- OptionsMenu.addSettingOption(OptionsSettingStack, "Model Detail", "Off", "", $pref::Video::Vsync);
- OptionsMenu.addSliderOption(OptionsSettingStack, "Texture Detail", $pref::Video::FOV, "65 120", 55, 75);
- OptionsMenu.addSettingOption(OptionsSettingStack, "Terrain Detail", "Off", "", $pref::Video::Vsync);
- OptionsMenu.addSettingOption(OptionsSettingStack, "Decal Lifetime", "Off", "", $pref::Video::Vsync);
- OptionsMenu.addSettingOption(OptionsSettingStack, "Ground Clutter Density", "Off", "", $pref::Video::Vsync);
-
- OptionsMenu.addSettingOption(OptionsSettingStack, "Material Quality", "Off", "", $pref::Video::Vsync);
- OptionsMenu.addSettingOption(OptionsSettingStack, "HDR", "Off", "", $pref::Video::Vsync);
- OptionsMenu.addSettingOption(OptionsSettingStack, "Parallax", "Off", "", $pref::Video::Vsync);
- OptionsMenu.addSettingOption(OptionsSettingStack, "Ambient Occlusion", "Off", "", $pref::Video::Vsync);
- OptionsMenu.addSettingOption(OptionsSettingStack, "Light Rays", "Off", "", $pref::Video::Vsync);
- OptionsMenu.addSettingOption(OptionsSettingStack, "Depth of Field", "Off", "", $pref::Video::Vsync);
- OptionsMenu.addSettingOption(OptionsSettingStack, "Vignetting", "Off", "", $pref::Video::Vsync);
- OptionsMenu.addSettingOption(OptionsSettingStack, "Water Reflections", "Off", "", $pref::Video::Vsync);
- OptionsMenu.addSettingOption(OptionsSettingStack, "Anti Aliasing", "Off", "", $pref::Video::Vsync);
- OptionsMenu.addSettingOption(OptionsSettingStack, "Anisotropic Filtering", "Off", "", $pref::Video::Vsync);
-}
-
-//==============================================================================
-// AUDIO MENU
-//==============================================================================
-function AudioMenu::loadSettings()
-{
- OptionsSettingStack.clear();
-
- OptionsMenu.addSliderOption(OptionsSettingStack, "Master Volume", $pref::Video::Brightness, "0 1", 10, 5);
- OptionsMenu.addSliderOption(OptionsSettingStack, "Menu Volume", $pref::Video::Brightness, "0 1", 10, 5);
- OptionsMenu.addSliderOption(OptionsSettingStack, "Effects Volume", $pref::Video::Brightness, "0 1", 10, 5);
- OptionsMenu.addSliderOption(OptionsSettingStack, "Music Volume", $pref::Video::Brightness, "0 1", 10, 5);
-}
\ No newline at end of file
diff --git a/Templates/BaseGame/game/data/ui/scripts/pauseMenu.cs b/Templates/BaseGame/game/data/ui/scripts/pauseMenu.cs
deleted file mode 100644
index b23b423f0..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/pauseMenu.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-function PauseMenu::onWake(%this)
-{
- $timescale = 0;
-}
-
-function PauseMenu::onSleep(%this)
-{
- $timescale = 1;
-}
-
-function PauseMenu::openOptionsMenu(%this)
-{
- Canvas.pushDialog(OptionsMenu);
- OptionsMenu.returnGui = %this;
- PauseOptionsMain.hidden = true;
-}
-
-function PauseMenu::openControlsMenu(%this)
-{
- Canvas.pushDialog(OptionsMenu);
- OptionsMenu.returnGui = %this;
- PauseOptionsMain.hidden = true;
- OptionsMain.hidden = true;
- ControlsMenu.hidden = false;
-}
-
-function PauseMenu::onReturnTo(%this)
-{
- PauseOptionsMain.hidden = false;
-}
\ No newline at end of file
diff --git a/Templates/BaseGame/game/data/ui/scripts/profiler.cs b/Templates/BaseGame/game/data/ui/scripts/profiler.cs
deleted file mode 100644
index bc73338bf..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/profiler.cs
+++ /dev/null
@@ -1,367 +0,0 @@
-//-----------------------------------------------------------------------------
-// Copyright (c) 2012 GarageGames, LLC
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to
-// deal in the Software without restriction, including without limitation the
-// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-// sell copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-// IN THE SOFTWARE.
-//-----------------------------------------------------------------------------
-
-$MetricsParamArray[0] = "fps ";
-$MetricsParamArray[1] = "shadow ";
-$MetricsParamArray[2] = "gfx ";
-$MetricsParamArray[3] = "sfx ";
-$MetricsParamArray[4] = "terrain ";
-$MetricsParamArray[5] = "groundcover ";
-$MetricsParamArray[6] = "forest ";
-$MetricsParamArray[7] = "net ";
-$EnableProfiler = false;
-$string = ""; //string used to collet the parameters for metrics function
-
-function showMetrics(%var)
-{
- $string = "";
- if(ppShowFps.getValue())
- {
- $string = $string @ $MetricsParamArray[0];
- }
- if(ppShowShadow.getValue())
- {
- $string = $string @ $MetricsParamArray[1];
- }
- if(ppShowGfx.getValue())
- {
- $string = $string @ $MetricsParamArray[2];
- }
- if(ppShowSfx.getValue())
- {
- $string = $string @ $MetricsParamArray[3];
- }
- if(ppShowTerrain.getValue())
- {
- $string = $string @ $MetricsParamArray[4];
- }
- if(ppShowForest.getValue())
- {
- $string = $string @ $MetricsParamArray[5];
- }
- if(ppShowGroundcover.getValue())
- {
- $string = $string @ $MetricsParamArray[6];
- }
- if(ppShowNet.getValue())
- {
- $string = $string @ $MetricsParamArray[7];
- }
-
- if(%var)
- {
- $EnableProfiler = !($EnableProfiler);
-
- if($EnableProfiler)
- {
- metrics($string);
- }
- else if((false == $EnableProfiler))
- {
- metrics();
- }
- }
- else if($EnableProfiler) //will enter only when the enable/disable button was pressed
- {
- metrics($string);
- }
-}
-
-function showMetics(%var)
-{
- if(%var)
- {
- metrics($string);
- }
- else if(true == $EnableProfiler)
- {
- $EnableProfiler = false;
- metrics();
- }
-}
-
-GlobalActionMap.bind(keyboard, "ctrl F2", showMetics);
-
-%guiContent = new GuiControl(FrameOverlayGui) {
- profile = "GuiModelessDialogProfile";
- horizSizing = "right";
- vertSizing = "bottom";
- position = "0 0";
- extent = "640 480";
- minExtent = "8 8";
- visible = "True";
- setFirstResponder = "True";
- modal = "false";
- helpTag = "0";
- noCursor = true;
- new GuiConsoleTextCtrl(TextOverlayControl) {
- profile = "GuiConsoleTextProfile";
- horizSizing = "right";
- vertSizing = "bottom";
- position = "5 5";
- extent = "130 18";
- minExtent = "4 4";
- visible = "True";
- setFirstResponder = "True";
- modal = "True";
- helpTag = "0";
- expression = "10";
- command = "Canvas.popDialog(FrameOverlayGui);";
- accelerator = "escape";
- };
-};
-
-// Note: To implement your own metrics overlay
-// just add a function with a name in the form
-// XXXXMetricsCallback which can be enabled via
-// metrics( XXXX )
-
-function fpsMetricsCallback()
-{
- return " | FPS |" @
- " " @ $fps::real @
- " max: " @ $fps::realMax @
- " min: " @ $fps::realMin @
- " mspf: " @ 1000 / $fps::real;
-}
-
-function gfxMetricsCallback()
-{
- return " | GFX |" @
- " PolyCount: " @ $GFXDeviceStatistics::polyCount @
- " DrawCalls: " @ $GFXDeviceStatistics::drawCalls @
- " RTChanges: " @ $GFXDeviceStatistics::renderTargetChanges;
-
-}
-
-function terrainMetricsCallback()
-{
- return " | Terrain |" @
- " Cells: " @ $TerrainBlock::cellsRendered @
- " Override Cells: " @ $TerrainBlock::overrideCells @
- " DrawCalls: " @ $TerrainBlock::drawCalls;
-}
-
-function netMetricsCallback()
-{
- return " | Net |" @
- " BitsSent: " @ $Stats::netBitsSent @
- " BitsRcvd: " @ $Stats::netBitsReceived @
- " GhostUpd: " @ $Stats::netGhostUpdates;
-}
-
-function groundCoverMetricsCallback()
-{
- return " | GroundCover |" @
- " Cells: " @ $GroundCover::renderedCells @
- " Billboards: " @ $GroundCover::renderedBillboards @
- " Batches: " @ $GroundCover::renderedBatches @
- " Shapes: " @ $GroundCover::renderedShapes;
-}
-
-function forestMetricsCallback()
-{
- return " | Forest |" @
- " Cells: " @ $Forest::totalCells @
- " Cells Meshed: " @ $Forest::cellsRendered @
- " Cells Billboarded: " @ $Forest::cellsBatched @
- " Meshes: " @ $Forest::cellItemsRendered @
- " Billboards: " @ $Forest::cellItemsBatched;
-}
-
-function sfxMetricsCallback()
-{
- return " | SFX |" @
- " Sounds: " @ $SFX::numSounds @
- " Lists: " @ ( $SFX::numSources - $SFX::numSounds - $SFX::Device::fmodNumEventSource ) @
- " Events: " @ $SFX::fmodNumEventSources @
- " Playing: " @ $SFX::numPlaying @
- " Culled: " @ $SFX::numCulled @
- " Voices: " @ $SFX::numVoices @
- " Buffers: " @ $SFX::Device::numBuffers @
- " Memory: " @ ( $SFX::Device::numBufferBytes / 1024.0 / 1024.0 ) @ " MB" @
- " Time/S: " @ $SFX::sourceUpdateTime @
- " Time/P: " @ $SFX::parameterUpdateTime @
- " Time/A: " @ $SFX::ambientUpdateTime;
-}
-
-function sfxSourcesMetricsCallback()
-{
- return sfxDumpSourcesToString();
-}
-
-function sfxStatesMetricsCallback()
-{
- return " | SFXStates |" @ sfxGetActiveStates();
-}
-
-function timeMetricsCallback()
-{
- return " | Time |" @
- " Sim Time: " @ getSimTime() @
- " Mod: " @ getSimTime() % 32;
-}
-
-function reflectMetricsCallback()
-{
- return " | REFLECT |" @
- " Objects: " @ $Reflect::numObjects @
- " Visible: " @ $Reflect::numVisible @
- " Occluded: " @ $Reflect::numOccluded @
- " Updated: " @ $Reflect::numUpdated @
- " Elapsed: " @ $Reflect::elapsed NL
-
- " Allocated: " @ $Reflect::renderTargetsAllocated @
- " Pooled: " @ $Reflect::poolSize NL
-
- " " @ getWord( $Reflect::textureStats, 1 ) TAB
- " " @ getWord( $Reflect::textureStats, 2 ) @ "MB" TAB
- " " @ getWord( $Reflect::textureStats, 0 );
-}
-
-function decalMetricsCallback()
-{
- return " | DECAL |" @
- " Batches: " @ $Decal::Batches @
- " Buffers: " @ $Decal::Buffers @
- " DecalsRendered: " @ $Decal::DecalsRendered;
-}
-
-function renderMetricsCallback()
-{
- return " | Render |" @
- " Mesh: " @ $RenderMetrics::RIT_Mesh @
- " MeshDL: " @ $RenderMetrics::RIT_MeshDynamicLighting @
- " Shadow: " @ $RenderMetrics::RIT_Shadow @
- " Sky: " @ $RenderMetrics::RIT_Sky @
- " Obj: " @ $RenderMetrics::RIT_Object @
- " ObjT: " @ $RenderMetrics::RIT_ObjectTranslucent @
- " Decal: " @ $RenderMetrics::RIT_Decal @
- " Water: " @ $RenderMetrics::RIT_Water @
- " Foliage: " @ $RenderMetrics::RIT_Foliage @
- " Trans: " @ $RenderMetris::RIT_Translucent @
- " Custom: " @ $RenderMetrics::RIT_Custom;
-}
-
-function shadowMetricsCallback()
-{
- return " | Shadow |" @
- " Active: " @ $ShadowStats::activeMaps @
- " Updated: " @ $ShadowStats::updatedMaps @
- " PolyCount: " @ $ShadowStats::polyCount @
- " DrawCalls: " @ $ShadowStats::drawCalls @
- " RTChanges: " @ $ShadowStats::rtChanges @
- " PoolTexCount: " @ $ShadowStats::poolTexCount @
- " PoolTexMB: " @ $ShadowStats::poolTexMemory @ "MB";
-}
-
-function basicShadowMetricsCallback()
-{
- return " | Shadow |" @
- " Active: " @ $BasicLightManagerStats::activePlugins @
- " Updated: " @ $BasicLightManagerStats::shadowsUpdated @
- " Elapsed Ms: " @ $BasicLightManagerStats::elapsedUpdateMs;
-}
-
-function lightMetricsCallback()
-{
- return " | Deferred Lights |" @
- " Active: " @ $lightMetrics::activeLights @
- " Culled: " @ $lightMetrics::culledLights;
-}
-
-function particleMetricsCallback()
-{
- return " | Particles |" @
- " # Simulated " @ $particle::numSimulated;
-}
-function partMetricsCallback()
-{
- return particleMetricsCallback();
-}
-
-function imposterMetricsCallback()
-{
- return " | IMPOSTER |" @
- " Rendered: " @ $ImposterStats::rendered @
- " Batches: " @ $ImposterStats::batches @
- " DrawCalls: " @ $ImposterStats::drawCalls @
- " Polys: " @ $ImposterStats::polyCount @
- " RtChanges: " @ $ImposterStats::rtChanges;
-}
-
-// alias
-function audioMetricsCallback()
-{
- return sfxMetricsCallback();
-}
-
-// alias
-function videoMetricsCallback()
-{
- return gfxMetricsCallback();
-}
-
-// Add a metrics HUD. %expr can be a vector of names where each element
-// must have a corresponding 'MetricsCallback()' function defined
-// that will be called on each update of the GUI control. The results
-// of each function are stringed together.
-//
-// Example: metrics( "fps gfx" );
-
-function metrics( %expr )
-{
- %metricsExpr = "";
- if( %expr !$= "" )
- {
- for( %i = 0;; %i ++ )
- {
- %name = getWord( %expr, %i );
- if( %name $= "" )
- break;
- else
- {
- %cb = %name @ "MetricsCallback";
- if( !isFunction( %cb ) )
- error( "metrics - undefined callback: " @ %cb );
- else
- {
- %cb = %cb @ "()";
- if( %i > 0 )
- %metricsExpr = %metricsExpr @ " NL ";
- %metricsExpr = %metricsExpr @ %cb;
- }
- }
- }
-
- if( %metricsExpr !$= "" )
- %metricsExpr = %metricsExpr @ " @ \" \"";
- }
-
- if( %metricsExpr !$= "" )
- {
- $GameCanvas.pushDialog( FrameOverlayGui, 1000 );
- TextOverlayControl.setValue( %metricsExpr );
- }
- else
- $GameCanvas.popDialog(FrameOverlayGui);
-}
\ No newline at end of file
diff --git a/Templates/BaseGame/game/data/ui/scripts/startupGui.cs b/Templates/BaseGame/game/data/ui/scripts/startupGui.cs
deleted file mode 100644
index f631254aa..000000000
--- a/Templates/BaseGame/game/data/ui/scripts/startupGui.cs
+++ /dev/null
@@ -1,157 +0,0 @@
-//-----------------------------------------------------------------------------
-// Copyright (c) 2012 GarageGames, LLC
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to
-// deal in the Software without restriction, including without limitation the
-// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-// sell copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-// IN THE SOFTWARE.
-//-----------------------------------------------------------------------------
-
-//-----------------------------------------------------------------------------
-// StartupGui is the splash screen that initially shows when the game is loaded
-//-----------------------------------------------------------------------------
-
-function loadStartup()
-{
- // The index of the current splash screen
- $StartupIdx = 0;
-
- // A list of the splash screens and logos
- // to cycle through. Note that they have to
- // be in consecutive numerical order
- StartupGui.bitmap[0] = "data/ui/art/background-dark";
- StartupGui.logo[0] = "data/ui/art/Torque-3D-logo";
- StartupGui.logoPos[0] = "178 251";
- StartupGui.logoExtent[0] = "443 139";
-
- // Call the next() function to set our firt
- // splash screen
- StartupGui.next();
-
- // Play our startup sound
- //SFXPlayOnce(AudioGui, "art/sound/gui/startup");//SFXPlay(startsnd);
-}
-
-function StartupGui::onWake(%this)
-{
- $enableDirectInput = "1";
- activateDirectInput();
-}
-
-function StartupGui::click(%this)
-{
- %this.done = true;
- %this.onDone();
-}
-
-function StartupGui::next(%this)
-{
- // Set us to a blank screen while we load the next one
- Canvas.setContent(BlankGui);
-
- // Set our bitmap and reset the done variable
- %this.setBitmap(%this.bitmap[$StartupIdx]);
- %this.done = false;
-
- // If we have a logo then set it
- if (isObject(%this->StartupLogo))
- {
- if (%this.logo[$StartupIdx] !$= "")
- {
- %this->StartupLogo.setBitmap(%this.logo[$StartupIdx]);
-
- if (%this.logoPos[$StartupIdx] !$= "")
- {
- %logoPosX = getWord(%this.logoPos[$StartupIdx], 0);
- %logoPosY = getWord(%this.logoPos[$StartupIdx], 1);
-
- %this->StartupLogo.setPosition(%logoPosX, %logoPosY);
- }
-
- if (%this.logoExtent[$StartupIdx] !$= "")
- %this->StartupLogo.setExtent(%this.logoExtent[$StartupIdx]);
-
- %this->StartupLogo.setVisible(true);
- }
- else
- %this->StartupLogo.setVisible(false);
- }
-
- // If we have a secondary logo then set it
- if (isObject(%this->StartupLogoSecondary))
- {
- if (%this.seclogo[$StartupIdx] !$= "")
- {
- %this->StartupLogoSecondary.setBitmap(%this.seclogo[$StartupIdx]);
-
- if (%this.seclogoPos[$StartupIdx] !$= "")
- {
- %logoPosX = getWord(%this.seclogoPos[$StartupIdx], 0);
- %logoPosY = getWord(%this.seclogoPos[$StartupIdx], 1);
-
- %this->StartupLogoSecondary.setPosition(%logoPosX, %logoPosY);
- }
-
- if (%this.seclogoExtent[$StartupIdx] !$= "")
- %this->StartupLogoSecondary.setExtent(%this.seclogoExtent[$StartupIdx]);
-
- %this->StartupLogoSecondary.setVisible(true);
- }
- else
- %this->StartupLogoSecondary.setVisible(false);
- }
-
- // Increment our screen index for the next screen
- $StartupIdx++;
-
- // Set the Canvas to our newly updated GuiFadeinBitmapCtrl
- Canvas.setContent(%this);
-}
-
-function StartupGui::onDone(%this)
-{
- // If we have been tagged as done decide if we need
- // to end or cycle to the next one
- if (%this.done)
- {
- // See if we have a valid bitmap for the next screen
- if (%this.bitmap[$StartupIdx] $= "")
- {
- // Clear our data and load the main menu
- %this.done = true;
-
- // NOTE: Don't ever ever delete yourself during a callback from C++.
- //
- // Deleting the whole gui itself seems a bit excessive, what if we want
- // to return to the startup gui at a later time? Any bitmaps set on
- // the controls should be unloaded automatically if the control is not
- // awake, if this is not the case then that's what needs to be fixed.
-
- //%this.delete();
- //BlankGui.delete();
- //flushTextureCache();
-
- %mainMenuGUI = ProjectSettings.value("UI/mainMenuName");
- if (isObject( %mainMenuGUI ))
- Canvas.setContent( %mainMenuGUI );
- }
- else
- {
- // We do have a bitmap so cycle to it
- %this.next();
- }
- }
-}