| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409 |
- //--- OBJECT WRITE BEGIN ---
- $guiContent = new GuiControl(ChooseLevelMenu) {
- extent = "1280 720";
- minExtent = "8 8";
- horizSizing = "width";
- vertSizing = "height";
- profile = "GuiMenuBackgroundProfile";
- category = "BaseUI";
- tooltipProfile = "GuiToolTipProfile";
- isContainer = "1";
- canSaveDynamicFields = "1";
- currentMenuIdx = "0";
- launchInEditor = "0";
- new GuiInputCtrl(ChooseLevelInputHandler) {
- ignoreMouseEvents = "1";
- ActionMap = "ChooseLevelActionMap";
- position = "-50 0";
- extent = "2186 851";
- horizSizing = "width";
- vertSizing = "height";
- profile = "GuiInputCtrlProfile";
- tooltipProfile = "GuiToolTipProfile";
- };
- new GuiPanel(ChooseLevelTitlePanel) {
- extent = "1281 60";
- horizSizing = "width";
- profile = "GuiMenuPanelProfile";
- tooltipProfile = "GuiToolTipProfile";
- new GuiTextCtrl(ChooseLevelTitleText) {
- text = "SINGLE PLAYER";
- position = "22 23";
- extent = "1281 28";
- profile = "MenuHeaderText";
- tooltipProfile = "GuiToolTipProfile";
- };
- };
- new GuiStackControl(ChooseLevelMenuTabList) {
- stackingType = "Horizontal";
- padding = "10";
- position = "485 61";
- extent = "310 41";
- horizSizing = "center";
- profile = "GuiDefaultProfile";
- tooltipProfile = "GuiToolTipProfile";
- new GuiButtonCtrl() {
- text = "Game Mode";
- groupNum = "1";
- extent = "150 41";
- profile = "GuiMenuButtonProfile";
- command = "ChooseLevelMenu.openMenu(0);";
- tooltipProfile = "GuiToolTipProfile";
- internalName = "GameModeBtn";
- class = "ChooseLevelMenuButton";
- };
- new GuiButtonCtrl() {
- text = "Level";
- groupNum = "1";
- position = "160 0";
- extent = "150 41";
- profile = "GuiMenuButtonProfile";
- command = "ChooseLevelMenu.openMenu(1);";
- tooltipProfile = "GuiToolTipProfile";
- internalName = "LevelBtn";
- class = "ChooseLevelMenuButton";
- };
- new GuiButtonCtrl() {
- text = "Server Config";
- groupNum = "1";
- position = "320 0";
- extent = "150 41";
- profile = "GuiMenuButtonProfile";
- visible = "0";
- command = "ChooseLevelMenu.openMenu(2);";
- tooltipProfile = "GuiToolTipProfile";
- internalName = "ConfigBtn";
- class = "ChooseLevelMenuButton";
- hidden = "1";
- };
- };
- new GuiControl(ChooseLevelMenuNavButtonOverlay) {
- position = "0 61";
- extent = "1281 60";
- horizSizing = "width";
- profile = "GuiNonModalDefaultProfile";
- tooltipProfile = "GuiToolTipProfile";
- isContainer = "1";
- new GuiBitmapCtrl(ChooseLevelMenuPrevNavIcon) {
- BitmapAsset = "UI:Keyboard_Black_Q_image";
- position = "485 24";
- extent = "40 40";
- vertSizing = "top";
- profile = "GuiNonModalDefaultProfile";
- tooltipProfile = "GuiToolTipProfile";
- };
- new GuiBitmapCtrl(ChooseLevelMenuNextNavIcon) {
- BitmapAsset = "UI:Keyboard_Black_E_image";
- position = "595 24";
- extent = "40 40";
- vertSizing = "top";
- profile = "GuiNonModalDefaultProfile";
- tooltipProfile = "GuiToolTipProfile";
- };
- };
- new GuiContainer(GameModeSelectContainer) {
- position = "196 119";
- extent = "888 566";
- horizSizing = "center";
- profile = "GuiNonModalDefaultProfile";
- tooltipProfile = "GuiToolTipProfile";
- new GuiScrollCtrl(GameModePreviewScroll) {
- hScrollBar = "alwaysOff";
- vScrollBar = "dynamic";
- extent = "445 562";
- vertSizing = "height";
- profile = "GuiMenuScrollProfile";
- tooltipProfile = "GuiToolTipProfile";
- new GuiStackControl(GameModePreviewArray) {
- padding = "5";
- position = "1 1";
- extent = "443 60";
- horizSizing = "width";
- vertSizing = "height";
- profile = "GuiMenuDefaultProfile";
- tooltipProfile = "GuiToolTipProfile";
- };
- };
- new GuiBitmapCtrl(GameModePreviewBitmap) {
- position = "448 0";
- extent = "440 440";
- horizSizing = "left";
- profile = "GuiNonModalDefaultProfile";
- visible = "0";
- tooltipProfile = "GuiToolTipProfile";
- hidden = "1";
- };
- new GuiTextCtrl(GameModeNameText) {
- text = "DeathMatchGame";
- position = "448 445";
- extent = "440 20";
- horizSizing = "left";
- profile = "MenuSubHeaderText";
- tooltipProfile = "GuiToolTipProfile";
- internalName = "GameModeNameTxt";
- };
- new GuiMLTextCtrl(GameModeDescriptionText) {
- position = "448 473";
- extent = "440 19";
- horizSizing = "left";
- profile = "GuiMLTextProfile";
- tooltipProfile = "GuiToolTipProfile";
- internalName = "GameModeDescTxt";
- };
- };
- new GuiContainer(LevelSelectContainer) {
- position = "196 119";
- extent = "888 566";
- horizSizing = "center";
- profile = "GuiNonModalDefaultProfile";
- visible = "0";
- tooltipProfile = "GuiToolTipProfile";
- hidden = "1";
- new GuiScrollCtrl(LevelPreviewScroll) {
- hScrollBar = "alwaysOff";
- vScrollBar = "dynamic";
- extent = "445 562";
- vertSizing = "height";
- profile = "GuiMenuScrollProfile";
- tooltipProfile = "GuiToolTipProfile";
- new GuiStackControl(LevelPreviewArray) {
- padding = "5";
- position = "0 1";
- extent = "445 60";
- horizSizing = "width";
- vertSizing = "height";
- profile = "GuiMenuDefaultProfile";
- tooltipProfile = "GuiToolTipProfile";
- };
- };
- new GuiBitmapCtrl(LevelPreviewBitmap) {
- BitmapAsset = "";
- position = "448 0";
- extent = "440 440";
- horizSizing = "left";
- profile = "GuiNonModalDefaultProfile";
- tooltipProfile = "GuiToolTipProfile";
- };
- new GuiTextCtrl(LevelNameText) {
- text = "";
- position = "448 445";
- extent = "440 20";
- horizSizing = "left";
- profile = "MenuSubHeaderText";
- tooltipProfile = "GuiToolTipProfile";
- internalName = "levelNameTxt";
- };
- new GuiMLTextCtrl(LevelDescriptionText) {
- position = "448 473";
- extent = "440 19";
- horizSizing = "left";
- profile = "GuiMLTextProfile";
- tooltipProfile = "GuiToolTipProfile";
- internalName = "levelDescTxt";
- };
- };
- new GuiContainer(ServerConfigContainer) {
- position = "196 119";
- extent = "888 566";
- horizSizing = "center";
- profile = "GuiNonModalDefaultProfile";
- visible = "0";
- tooltipProfile = "GuiToolTipProfile";
- hidden = "1";
- new GuiScrollCtrl(ServerConfigScroll) {
- hScrollBar = "alwaysOff";
- vScrollBar = "dynamic";
- extent = "888 566";
- horizSizing = "width";
- vertSizing = "height";
- profile = "GuiMenuScrollProfile";
- tooltipProfile = "GuiToolTipProfile";
- new GuiStackControl(ServerConfigList) {
- padding = "5";
- changeChildSizeToFit = "0";
- position = "1 1";
- extent = "900 170";
- horizSizing = "width";
- vertSizing = "height";
- profile = "GuiMenuDefaultProfile";
- tooltipProfile = "GuiToolTipProfile";
- new GuiContainer() {
- extent = "900 30";
- horizSizing = "width";
- profile = "GuiDefaultProfile";
- tooltipProfile = "GuiToolTipProfile";
- new GuiTextCtrl() {
- text = "Host Player Name";
- position = "0 3";
- extent = "140 23";
- vertSizing = "center";
- profile = "MenuMLSubHeaderText";
- tooltipProfile = "GuiToolTipProfile";
- };
- new GuiTextEditCtrl(playerNameCTRL) {
- text = "Visitor";
- position = "606 4";
- extent = "295 22";
- horizSizing = "left";
- vertSizing = "center";
- profile = "MenuTextEditprofile";
- variable = "$pref::Player::Name";
- tooltipProfile = "GuiToolTipProfile";
- };
- };
- new GuiContainer() {
- position = "0 35";
- extent = "900 30";
- horizSizing = "width";
- profile = "GuiDefaultProfile";
- tooltipProfile = "GuiToolTipProfile";
- new GuiTextCtrl() {
- text = "Server Name";
- position = "0 3";
- extent = "101 23";
- vertSizing = "center";
- profile = "MenuMLSubHeaderText";
- tooltipProfile = "GuiToolTipProfile";
- };
- new GuiTextEditCtrl(serverNameCTRL) {
- text = "Torque 3D Server";
- position = "606 4";
- extent = "295 22";
- horizSizing = "left";
- vertSizing = "center";
- profile = "MenuTextEditprofile";
- variable = "$Pref::Server::Name";
- tooltipProfile = "GuiToolTipProfile";
- };
- };
- new GuiContainer() {
- position = "0 70";
- extent = "900 30";
- horizSizing = "width";
- profile = "GuiDefaultProfile";
- tooltipProfile = "GuiToolTipProfile";
- new GuiTextCtrl() {
- text = "Server Password";
- position = "0 3";
- extent = "135 23";
- vertSizing = "center";
- profile = "MenuMLSubHeaderText";
- tooltipProfile = "GuiToolTipProfile";
- };
- new GuiTextEditCtrl(serverPassCTRL) {
- position = "606 4";
- extent = "295 22";
- horizSizing = "left";
- vertSizing = "center";
- profile = "MenuTextEditprofile";
- variable = "$Pref::Server::Password";
- tooltipProfile = "GuiToolTipProfile";
- };
- };
- new GuiContainer() {
- position = "0 105";
- extent = "900 30";
- horizSizing = "width";
- profile = "GuiDefaultProfile";
- tooltipProfile = "GuiToolTipProfile";
- new GuiTextCtrl() {
- text = "Server Description";
- position = "0 3";
- extent = "147 23";
- vertSizing = "center";
- profile = "MenuMLSubHeaderText";
- tooltipProfile = "GuiToolTipProfile";
- };
- new GuiTextEditCtrl(serverInfoCTRL) {
- text = "This is a Torque 3D server.";
- position = "606 4";
- extent = "295 22";
- horizSizing = "left";
- vertSizing = "center";
- profile = "MenuTextEditprofile";
- variable = "$Pref::Server::Info";
- tooltipProfile = "GuiToolTipProfile";
- };
- };
- new GuiContainer() {
- position = "0 140";
- extent = "900 30";
- horizSizing = "width";
- profile = "GuiDefaultProfile";
- tooltipProfile = "GuiToolTipProfile";
- new GuiTextCtrl() {
- text = "Max Players";
- position = "0 3";
- extent = "94 23";
- vertSizing = "center";
- profile = "MenuMLSubHeaderText";
- tooltipProfile = "GuiToolTipProfile";
- };
- new GuiTextEditCtrl(serverMaxPlayersCTRL) {
- text = "64";
- position = "606 4";
- extent = "295 22";
- horizSizing = "left";
- vertSizing = "center";
- profile = "MenuTextEditprofile";
- variable = "$Pref::Server::MaxPlayers";
- tooltipProfile = "GuiToolTipProfile";
- };
- };
- };
- };
- };
- new GuiPanel(ChooseLevelButtonPanel) {
- position = "0 683";
- extent = "1281 40";
- horizSizing = "width";
- vertSizing = "top";
- profile = "GuiMenuPanelProfile";
- tooltipProfile = "GuiToolTipProfile";
- new GuiIconButtonCtrl(ChooseLevelNextBtn) {
- BitmapAsset = "UI:Keyboard_Black_Blank_image";
- sizeIconToButton = "1";
- makeIconSquare = "1";
- textLocation = "Center";
- text = "Start Game";
- position = "1092 0";
- extent = "163 40";
- horizSizing = "left";
- vertSizing = "center";
- profile = "GuiMenuButtonProfile";
- command = "ChooseLevelBegin(1);";
- tooltipProfile = "GuiToolTipProfile";
- };
- new GuiIconButtonCtrl(ChooseLevelBackBtn) {
- BitmapAsset = "UI:Keyboard_Black_Escape_image";
- sizeIconToButton = "1";
- makeIconSquare = "1";
- textLocation = "Center";
- text = "Back";
- position = "16 0";
- extent = "140 40";
- vertSizing = "center";
- profile = "GuiMenuButtonProfile";
- command = "Canvas.popDialog();";
- tooltipProfile = "GuiToolTipProfile";
- };
- };
- };
- //--- OBJECT WRITE END ---
|