From 186cc7663261f7102e9b2f9f99a1c3fa819cebda Mon Sep 17 00:00:00 2001 From: Techno <41777800+TechnoSL@users.noreply.github.com> Date: Thu, 14 Dec 2023 08:21:47 +0000 Subject: [PATCH 1/2] main menu somewhat refresh --- resource/ui/mainmenuoverride.res | 727 +++++++++---------------------- 1 file changed, 217 insertions(+), 510 deletions(-) diff --git a/resource/ui/mainmenuoverride.res b/resource/ui/mainmenuoverride.res index c9c2071..107a6da 100644 --- a/resource/ui/mainmenuoverride.res +++ b/resource/ui/mainmenuoverride.res @@ -13,12 +13,12 @@ "zpos" "0" "wide" "f0" "tall" "480" - + // "bgcolor_override" "0 0 0 240" - + "update_url" "http://store.steampowered.com/news/?filter=updates&appids=440" "blog_url" "http://www.teamfortress.com/" - + "button_x_offset" "-285" "button_y" "120" "button_y_delta" "5" @@ -52,15 +52,15 @@ "default" "1" "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" - + "border_default" "MainMenuButtonDefault" "border_armed" "MainMenuButtonArmed" "paintbackground" "0" - + "defaultFgColor_override" "46 43 42 255" "armedFgColor_override" "235 226 202 255" "depressedFgColor_override" "46 43 42 255" - + "image_drawcolor" "117 107 94 255" "image_armedcolor" "235 226 202 255" "SubImage" @@ -75,43 +75,43 @@ "visible" "1" "enabled" "1" "scaleImage" "1" - } - } + } + } } - + "SaxxySettings" { "xpos" "0" "ypos" "0" - "zpos" "-101" + "zpos" "-101" "wide" "f0" "tall" "480" - + "autoResize" "0" "pinCorner" "0" "visible" "1" "enabled" "1" - + "flashbounds_x" "50" "flashbounds_y" "65" "flashbounds_w" "250" "flashbounds_h" "120" - + "flashstartsize_min" "8" "flashstartsize_max" "12" - + "flash_maxscale" "4" - + "flash_lifelength_min" ".1" "flash_lifelength_max" ".2" - + "curtain_anim_duration" "4.0" "curtain_open_time" "2.8" "flash_start_time" "4.0" - + "initial_freakout_duration" "15.0" "clap_sound_duration" "10.0" - + "CameraFlashSettings" { "visible" "1" @@ -121,7 +121,7 @@ "zpos" "9" } } - } + } "mouseoveritempanel" { @@ -138,13 +138,13 @@ "PaintBackgroundType" "2" "paintborder" "1" "border" "MainMenuBGBorder" - + "text_ypos" "20" "text_center" "1" "model_hide" "1" "resize_to_text" "1" "padding_height" "15" - + "attriblabel" { "font" "ItemFontAttribLarge" @@ -163,7 +163,7 @@ "centerwrap" "1" } } - + "Background" { "ControlName" "ScalableImagePanel" @@ -190,7 +190,7 @@ "wide" "o1.6" "tall" "f0" } - + if_halloween_0 { "image" "../console/title_team_halloween2011_widescreen" @@ -208,11 +208,11 @@ "image" "../console/title_team_halloween2014_widescreen" } if_halloween_4 - { + { "image" "../console/title_team_halloween2015_widescreen" } if_halloween_5 - { + { "image" "../console/title_scream_fortress_2017_widescreen" } if_fullmoon @@ -222,9 +222,9 @@ if_christmas { "image" "../console/background_xmas2011_widescreen" - } + } } - + "TFLogoImage" { "ControlName" "ImagePanel" @@ -239,8 +239,8 @@ "image" "../logo/new_tf2_logo" "scaleImage" "1" "mouseinputenabled" "0" - } - + } + "TFCharacterImage" { // "ControlName" "ImagePanel" @@ -300,7 +300,7 @@ "sound_released" "vo/null.mp3" "actionsignallevel" "1" "proportionaltoparent" "1" - + "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" "paintbackground" "1" @@ -325,7 +325,7 @@ "proportionaltoparent" "1" "mouseinputenabled" "0" "keyboardinputenabled" "0" - } + } } "RankTooltipPanel" @@ -341,10 +341,10 @@ "proportionaltoparent" "1" "mouseinputenabled" "1" "image" "info" - "scaleImage" "1" + "scaleImage" "1" "alpha" "75" } - + "RankPanel" { "ControlName" "CPvPRankPanel" @@ -401,7 +401,7 @@ "image" "gc_dc" "scaleImage" "1" "proportionaltoparent" "1" - } + } "RankBorder" { @@ -417,7 +417,7 @@ "border" "MainMenuBGBorder" "proportionaltoparent" "1" } - + "TooltipPanel" { "ControlName" "EditablePanel" @@ -430,7 +430,7 @@ "visible" "0" "PaintBackgroundType" "2" "border" "MainMenuBGBorder" - + "TipSubLabel" { "ControlName" "CExLabel" @@ -450,7 +450,7 @@ "fgcolor_override" "117 107 94 255" "wrap" "1" } - + "TipLabel" { "ControlName" "CExLabel" @@ -470,7 +470,7 @@ "fgcolor_override" "235 226 202 255" "auto_wide_tocontents" "1" } - } + } "Notifications_ShowButtonPanel" { @@ -491,7 +491,7 @@ "navLeft" "QuickplayButton" "navRight" "Notifications_Panel" "navToRelay" "Notifications_ShowButtonPanel_SB" - + "SubImage" { "ControlName" "ImagePanel" @@ -506,8 +506,8 @@ "image" "glyph_achievements" "scaleImage" "1" "drawcolor" "210 125 33 255" - } - + } + "Notifications_CountLabel" { "ControlName" "CExLabel" @@ -526,7 +526,7 @@ "enabled" "1" "fgcolor_override" "255 255 255 255" } - + "Notifications_ShowButtonPanel_SB" { "ControlName" "CExImageButton" @@ -557,7 +557,7 @@ "paintbackground" "0" "image_drawcolor" "235 226 202 255" "image_armedcolor" "255 255 255 255" - + "SubImage" { "ControlName" "ImagePanel" @@ -589,7 +589,7 @@ "visible" "1" "enabled" "1" "tabPosition" "0" - + "navUp" "Notifications_Panel" "navLeft" "SettingsButton" @@ -610,7 +610,7 @@ "labelText" "" "use_proportional_insets" "1" "font" "HudFontSmallBold" - "command" "engine toggleconsole" + "command" "watch_stream" "textAlignment" "west" "dulltext" "0" "brighttext" "0" @@ -619,7 +619,7 @@ "sound_released" "vo/null.mp3" "actionsignallevel" "2" "proportionaltoparent" "1" - + "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" "paintbackground" "0" @@ -644,7 +644,7 @@ "proportionaltoparent" "1" "mouseinputenabled" "0" "keyboardinputenabled" "0" - } + } } } @@ -680,7 +680,7 @@ "visible" "1" "enabled" "1" "tabPosition" "0" - + "navUp" "Notifications_Panel" "navLeft" "SettingsButton" @@ -710,7 +710,7 @@ "sound_released" "vo/null.mp3" "actionsignallevel" "2" "proportionaltoparent" "1" - + "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" "paintbackground" "0" @@ -735,10 +735,10 @@ "proportionaltoparent" "1" "mouseinputenabled" "0" "keyboardinputenabled" "0" - } + } } } - + "MOTD_ShowButtonPanel" { "ControlName" "EditablePanel" @@ -758,7 +758,7 @@ "navLeft" "Notifications_Panel" // when a sub element can't nav left it will pass through this "navRight" "MOTD_Panel" // pass through when naving right to this or the fully displayed MOTD "navToRelay" "MOTD_ShowButtonPanel_SB" // when naving to this it auto navs to this child instead - + "MOTD_ShowButtonPanel_SB" { "ControlName" "CExImageButton" @@ -806,7 +806,7 @@ } } } - + "MOTD_Panel" { "ControlName" "EditablePanel" @@ -824,7 +824,7 @@ "navDown" "SettingsButton" // when a sub element can't nav down it will pass through this "navLeft" "MOTD_ShowButtonPanel" // when a sub element can't nav left it will pass through this "navToRelay" "MOTD_URLButton" // when naving to this it auto navs to this child instead - + "MOTD_HeaderContainer" { "ControlName" "EditablePanel" @@ -834,7 +834,7 @@ "wide" "300" "tall" "22" "visible" "1" - + "MOTD_HeaderLabel" { "ControlName" "CExLabel" @@ -855,7 +855,7 @@ "bgcolor_override" "141 178 61 255" } } - + "MOTD_CloseButton" { "ControlName" "CExImageButton" @@ -884,15 +884,15 @@ "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" "Command" "motd_hide" - + "paintbackground" "0" - + //"defaultFgColor_override" "235 226 202 255" //"armedFgColor_override" "46 43 42 255" "defaultFgColor_override" "46 43 42 255" "armedFgColor_override" "235 226 202 255" "depressedFgColor_override" "46 43 42 255" - + "image_drawcolor" "235 226 202 255" "image_armedcolor" "200 80 60 255" "SubImage" @@ -908,8 +908,8 @@ "enabled" "1" "image" "close_button" "scaleImage" "1" - } - } + } + } "MOTD_HeaderIcon" { @@ -925,7 +925,7 @@ "image" "class_icons/filter_all_motd" "scaleImage" "1" } - + "MOTD_TitleLabel" { "ControlName" "CExLabel" @@ -944,7 +944,7 @@ "fgcolor" "LabelDark" "wrap" "1" } - + "MOTD_Label" { "ControlName" "CExLabel" @@ -962,7 +962,7 @@ "enabled" "1" "fgcolor" "LabelDark" } - + "MOTD_TitleImageBg" { "ControlName" "ImagePanel" @@ -978,7 +978,7 @@ "scaleImage" "1" "proportionaltoparent" "1" } - + "MOTD_TitleImageContainer" { "ControlName" "EditablePanel" @@ -990,7 +990,7 @@ "tall" "150" "visible" "1" "proportionaltoparent" "1" - + "MOTD_TitleImage" { "ControlName" "ImagePanel" @@ -1006,7 +1006,7 @@ "scaleImage" "0" } } - + "MOTD_TextScroller" { "ControlName" "ScrollableEditablePanel" @@ -1017,7 +1017,7 @@ "tall" "115" "PaintBackgroundType" "2" "fgcolor" "LabelDark" - + "MOTD_TextPanel" { "ControlName" "EditablePanel" @@ -1028,7 +1028,7 @@ "tall" "300" "visible" "1" "PaintBackgroundType" "2" - + "MOTD_TextLabel" { "ControlName" "CExLabel" @@ -1049,7 +1049,7 @@ } } } - + "MOTD_URLButton" { "ControlName" "CExButton" @@ -1082,13 +1082,13 @@ "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" - + "defaultFgColor_override" "235 226 202 255" "defaultBgColor_override" "46 43 42 255" "armedFgColor_override" "235 226 202 255" "depressedFgColor_override" "235 226 202 255" - } - + } + "MOTD_PrevButton" { "ControlName" "CExImageButton" @@ -1118,7 +1118,7 @@ "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" "paintbackground" "0" - + "image_drawcolor" "235 226 202 255" "image_armedcolor" "255 255 255 255" "SubImage" @@ -1135,8 +1135,8 @@ "image" "blog_back" "scaleImage" "1" } - } - + } + "MOTD_NextButton" { "ControlName" "CExImageButton" @@ -1166,7 +1166,7 @@ "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" "paintbackground" "0" - + "image_drawcolor" "235 226 202 255" "image_armedcolor" "255 255 255 255" "SubImage" @@ -1184,7 +1184,7 @@ "scaleImage" "1" } } - } + } "Notifications_Panel" { @@ -1205,7 +1205,7 @@ "navLeft" "Notifications_ShowButtonPanel" "navRight" "MOTD_ShowButtonPanel" "navToRelay" "Notifications_CloseButton" - + "Notifications_CloseButton" { "ControlName" "CExImageButton" @@ -1235,11 +1235,11 @@ "sound_released" "UI/buttonclickrelease.wav" "paintbackground" "0" - + "defaultFgColor_override" "46 43 42 255" "armedFgColor_override" "235 226 202 255" "depressedFgColor_override" "46 43 42 255" - + "image_drawcolor" "117 107 94 255" "image_armedcolor" "200 80 60 255" "SubImage" @@ -1255,9 +1255,9 @@ "enabled" "1" "image" "close_button" "scaleImage" "1" - } - } - + } + } + "Notifications_TitleLabel" { "ControlName" "CExLabel" @@ -1276,7 +1276,7 @@ "fgcolor" "LabelDark" "wrap" "1" } - + "Notifications_Scroller" { "ControlName" "ScrollableEditablePanel" @@ -1287,7 +1287,7 @@ "tall" "135" "PaintBackgroundType" "2" "fgcolor_override" "117 107 94 255" - + "Notifications_Control" { "ControlName" "CMainMenuNotificationsControl" @@ -1300,7 +1300,7 @@ } } } - + "VRBGPanel" { "ControlName" "EditablePanel" @@ -1354,15 +1354,15 @@ "default" "1" "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" - + "border_default" "MainMenuButtonDefault" "border_armed" "MainMenuButtonArmed" "paintbackground" "0" - + "defaultFgColor_override" "46 43 42 255" "armedFgColor_override" "235 226 202 255" "depressedFgColor_override" "46 43 42 255" - + "image_drawcolor" "117 107 94 255" "image_armedcolor" "235 226 202 255" "SubImage" @@ -1377,7 +1377,7 @@ "visible" "1" "enabled" "1" "scaleImage" "1" - } + } } } @@ -1398,7 +1398,7 @@ "ControlName" "EditablePanel" "fieldname" "FriendsContainer" "xpos" "c-290" - "ypos" "260" + "ypos" "160" "zpos" "5" "wide" "260" "tall" "150" @@ -1434,7 +1434,7 @@ "zpos" "501" "wide" "f10" "tall" "110" - "visible" "1" + "visible" "1" "PaintBackgroundType" "0" "proportionaltoparent" "1" "mouseinputenabled" "0" @@ -1484,14 +1484,14 @@ { "fgcolor_override" "TanDark" } - + "UpButton" { "ControlName" "Button" "FieldName" "UpButton" "visible" "0" } - + "DownButton" { "ControlName" "Button" @@ -1510,7 +1510,7 @@ "zpos" "499" "wide" "f10" "tall" "110" - "visible" "1" + "visible" "1" "PaintBackgroundType" "0" "proportionaltoparent" "1" "mouseinputenabled" "0" @@ -1519,345 +1519,6 @@ } } - "EventPromo" - { - "ControlName" "EditablePanel" - "fieldname" "EventPromo" - "xpos" "c-290" - "ypos" "160" - "zpos" "-50" - "wide" "270" - "tall" "96" - "visible" "1" - - "Background" - { - "ControlName" "EditablePanel" - "fieldname" "Background" - "xpos" "0" - "ypos" "0" - "zpos" "0" - "wide" "260" -// "tall" "120" - "tall" "96" - "visible" "1" - "PaintBackgroundType" "0" - "proportionaltoparent" "1" - - "paintborder" "1" - "border" "MainMenuBGBorder" - - "TitleLabel" - { - "ControlName" "CExLabel" - "fieldName" "TitleLabel" - "font" "HudFontSmallBold" - "labelText" "#MMenu_Update" - "textAlignment" "west" - "xpos" "12" - "ypos" "0" - "wide" "f0" - "tall" "30" - "autoResize" "0" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "textinsetx" "0" - "fgcolor_override" "235 227 203 255" - } - -// "ViewDetailsGlow" -// { -// "ControlName" "Panel" -// "fieldName" "ViewDetailsGlow" -// "xpos" "p0.02" -// "ypos" "27" -// "zpos" "10" -// "wide" "p0.48" -// "tall" "26" -// "visible" "0" -// "proportionaltoparent" "1" -// -// "paintborder" "0" -// "border" "MainMenuButtonGlow" -// "paintbackground" "3" -// "bgcolor_override" "238 103 17 255" -// } -// -// "ViewDetailsButton" -// { -// "ControlName" "EditablePanel" -// "fieldname" "ViewDetailsButton" -// "xpos" "p0.02" -// "ypos" "27" -// "zpos" "11" -// "wide" "p0.48" -// "tall" "26" -// "visible" "1" -// "PaintBackgroundType" "0" -// "proportionaltoparent" "1" -// -// "SubButton" -// { -// "ControlName" "CExImageButton" -// "fieldName" "SubButton" -// "xpos" "cs-0.5" -// "ypos" "0" -// "wide" "f0" -// "tall" "f0" -// "autoResize" "0" -// "pinCorner" "3" -// "visible" "1" -// "enabled" "1" -// "tabPosition" "0" -// "use_proportional_insets" "1" -// "font" "HudFontSmallBold" -// "textAlignment" "center" -// "dulltext" "0" -// "brighttext" "0" -// "default" "1" -// "sound_depressed" "UI/buttonclick.wav" -// "sound_released" "UI/buttonclickrelease.wav" -// "labeltext" "#MMenu_ViewUpdateDetails" -// "proportionaltoparent" "1" -// "command" "view_update_page" -// "actionsignallevel" "4" -// -// "border_default" "MainMenuButtonDefault" -// "border_armed" "MainMenuButtonArmed" -// "paintbackground" "0" -// -// "defaultFgColor_override" "46 43 42 255" -// "armedFgColor_override" "235 226 202 255" -// "depressedFgColor_override" "46 43 42 255" -// -// "image_drawcolor" "117 107 94 255" -// "image_armedcolor" "235 226 202 255" -// } -// } -// -// "ViewWarButtonGlow" -// { -// "ControlName" "Panel" -// "fieldName" "ViewWarButtonGlow" -// "xpos" "p0.5" -// "ypos" "27" -// "zpos" "10" -// "wide" "124" -// "tall" "26" -// "visible" "0" -// "proportionaltoparent" "1" -// -// "paintborder" "0" -// "border" "MainMenuButtonGlow" -// "paintbackground" "3" -// "bgcolor_override" "238 103 17 255" -// } -// -// "ViewWarButton" -// { -// "ControlName" "EditablePanel" -// "fieldname" "ViewWarButton" -// "xpos" "p0.5" -// "ypos" "27" -// "zpos" "11" -// "wide" "p0.48" -// "tall" "26" -// "visible" "1" -// "PaintBackgroundType" "0" -// "proportionaltoparent" "1" -// -// "SubButton" -// { -// "ControlName" "CExImageButton" -// "fieldName" "SubButton" -// "xpos" "cs-0.5" -// "ypos" "0" -// "wide" "f0" -// "tall" "f0" -// "autoResize" "0" -// "pinCorner" "3" -// "visible" "1" -// "enabled" "1" -// "tabPosition" "0" -// "use_proportional_insets" "1" -// "font" "HudFontSmallBold" -// "textAlignment" "center" -// "dulltext" "0" -// "brighttext" "0" -// "default" "1" -// "sound_depressed" "UI/buttonclick.wav" -// "sound_released" "UI/buttonclickrelease.wav" -// "labeltext" "#MMenu_ViewWar" -// "proportionaltoparent" "1" -// "command" "view_war" -// "actionsignallevel" "4" -// -// "border_default" "MainMenuButtonDefault" -// "border_armed" "MainMenuButtonArmed" -// "paintbackground" "0" -// -// "defaultFgColor_override" "46 43 42 255" -// "armedFgColor_override" "235 226 202 255" -// "depressedFgColor_override" "46 43 42 255" -// -// "image_drawcolor" "117 107 94 255" -// "image_armedcolor" "235 226 202 255" -// } -// } - - "CyclingAd" - { - "ControlName" "CCyclingAdContainerPanel" - "fieldName" "CyclingAd" - "xpos" "5" -// "ypos" "p0.47" - "ypos" "27" - "zpos" "100" - "wide" "f10" -// "tall" "p0.5" - "tall" "60" - "visible" "1" - "enabled" "1" - "scaleImage" "1" - "proportionaltoparent" "1" - - "bgcolor_override" "0 0 0 255" - - "items" - { - "0" - { - "item" "Winter 2023 Cosmetic Key" - "show_market" "0" - } - "1" - { - "item" "Winter 2023 Cosmetic Case" - "show_market" "1" - } - "2" - { - "item" "Taunt: Cheers!" - "show_market" "0" - } - "3" - { - "item" "Taunt: Mourning Mercs" - "show_market" "0" - } - "4" - { - "item" "Taunt: Foul Play" - "show_market" "0" - } - "5" - { - "item" "Map Token Snowtower" - "show_market" "0" - } - "6" - { - "item" "Map Token Krampus" - "show_market" "0" - } - "7" - { - "item" "Map Token Haarp" - "show_market" "0" - } - "8" - { - "item" "Map Token Brew" - "show_market" "0" - } - "9" - { - "item" "Map Token Hacksaw" - "show_market" "0" - } - "10" - { - "item" "Map Token Turbine Event" - "show_market" "0" - } - "11" - { - "item" "Map Token Carrier" - "show_market" "0" - } - "12" - { - "item" "Map Token Galleria" - "show_market" "0" - } - "13" - { - "item" "Map Token Emerge" - "show_market" "0" - } - "14" - { - "item" "Map Token Camber" - "show_market" "0" - } - "15" - { - "item" "Strange Filter: Snowtower (Community)" - "show_market" "0" - } - "16" - { - "item" "Strange Filter: Krampus (Community)" - "show_market" "0" - } - "17" - { - "item" "Strange Filter: Haarp (Community)" - "show_market" "0" - } - "18" - { - "item" "Strange Filter: Brew (Community)" - "show_market" "0" - } - "19" - { - "item" "Strange Filter: Hacksaw (Community)" - "show_market" "0" - } - "20" - { - "item" "Strange Filter: Turbine Event (Community)" - "show_market" "0" - } - "21" - { - "item" "Strange Filter: Carrier (Community)" - "show_market" "0" - } - "22" - { - "item" "Strange Filter: Galleria (Community)" - "show_market" "0" - } - "23" - { - "item" "Strange Filter: Emerge (Community)" - "show_market" "0" - } - "24" - { - "item" "Strange Filter: Camber (Community)" - "show_market" "0" - } - } - } - - } // Background - - } // EventPromo - "SafeMode" { "ControlName" "EditablePanel" @@ -1903,7 +1564,7 @@ "textinsetx" "20" "fgcolor_override" "235 227 203 255" } - + "SaveSettingsButton" { "ControlName" "CExButton" @@ -1930,17 +1591,17 @@ "proportionaltoparent" "1" "command" "safemode_save_settings" "actionsignallevel" "3" - + "border_default" "MainMenuButtonDefault" "border_armed" "MainMenuButtonArmed" "paintbackground" "0" - + "defaultFgColor_override" "46 43 42 255" "armedFgColor_override" "235 226 202 255" "depressedFgColor_override" "46 43 42 255" } - + "LeaveSafeModeButton" { "ControlName" "CExButton" @@ -1967,11 +1628,11 @@ "proportionaltoparent" "1" "command" "safemode_leave" "actionsignallevel" "3" - + "border_default" "MainMenuButtonDefault" "border_armed" "MainMenuButtonArmed" "paintbackground" "0" - + "defaultFgColor_override" "46 43 42 255" "armedFgColor_override" "235 226 202 255" "depressedFgColor_override" "46 43 42 255" @@ -2017,7 +1678,7 @@ } } // SafeMode - + "ShowPromoCodesButton" { @@ -2042,11 +1703,11 @@ "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" "command" "showpromocodes" - + "border_default" "MainMenuButtonDefault" "border_armed" "MainMenuButtonArmed" "paintbackground" "0" - + "defaultFgColor_override" "46 43 42 255" "armedFgColor_override" "235 226 202 255" "depressedFgColor_override" "46 43 42 255" @@ -2093,18 +1754,18 @@ "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" "RoundedCorners" "5" - + "paintbackground" "1" - + "defaultFgColor_override" "46 43 42 255" "armedFgColor_override" "46 43 42 255" "depressedFgColor_override" "46 43 42 255" - + "image_drawcolor" "235 226 202 255" "image_armedcolor" "235 226 202 255" "proportionaltoparent" "1" - + "SubImage" { "ControlName" "ImagePanel" @@ -2119,7 +1780,7 @@ "image" "glyph_create" "scaleImage" "1" "proportionaltoparent" "1" - } + } } } @@ -2161,18 +1822,18 @@ "default" "1" "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" - + "border_default" "MainMenuSubButtonBorder" "paintbackground" "1" - + "defaultFgColor_override" "46 43 42 255" "armedFgColor_override" "46 43 42 255" "depressedFgColor_override" "46 43 42 255" - + "image_drawcolor" "235 226 202 255" "image_armedcolor" "235 226 202 255" "proportionaltoparent" "1" - + "SubImage" { "ControlName" "ImagePanel" @@ -2187,7 +1848,7 @@ "image" "glyph_create" "scaleImage" "1" "proportionaltoparent" "1" - } + } } } "MutePlayersButton" @@ -2228,18 +1889,18 @@ "default" "1" "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" - + "border_default" "MainMenuSubButtonBorder" "paintbackground" "1" - + "defaultFgColor_override" "46 43 42 255" "armedFgColor_override" "46 43 42 255" "depressedFgColor_override" "46 43 42 255" - + "image_drawcolor" "235 226 202 255" "image_armedcolor" "235 226 202 255" "proportionaltoparent" "1" - + "SubImage" { "ControlName" "ImagePanel" @@ -2254,7 +1915,7 @@ "image" "glyph_create" "scaleImage" "1" "proportionaltoparent" "1" - } + } } } @@ -2296,18 +1957,18 @@ "default" "1" "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" - - + + "paintbackground" "1" - + "defaultFgColor_override" "46 43 42 255" "armedFgColor_override" "46 43 42 255" "depressedFgColor_override" "46 43 42 255" - + "image_drawcolor" "235 226 202 255" "image_armedcolor" "235 226 202 255" "proportionaltoparent" "1" - + "SubImage" { "ControlName" "ImagePanel" @@ -2322,10 +1983,10 @@ "image" "glyph_create" "scaleImage" "1" "proportionaltoparent" "1" - } + } } } - + "BackgroundFooter" { "ControlName" "ImagePanel" @@ -2339,7 +2000,7 @@ "enabled" "1" "image" "loadout_bottom_gradient" "tileImage" "1" - } + } "FooterLine" { "ControlName" "ImagePanel" @@ -2353,7 +2014,7 @@ "enabled" "1" "image" "loadout_solid_line" "scaleImage" "1" - } + } "CharacterSetupButton" { @@ -2380,9 +2041,9 @@ "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" "proportionaltoparent" "1" - + "paintbackground" "1" - + "image_drawcolor" "235 226 202 255" "SubImage" { @@ -2397,7 +2058,7 @@ "enabled" "1" "scaleImage" "1" "image" "glyph_items" - } + } } "StoreHasNewItemsImage" @@ -2442,9 +2103,9 @@ "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" - + "paintbackground" "1" - + "image_drawcolor" "235 226 202 255" "SubImage" { @@ -2459,7 +2120,53 @@ "enabled" "1" "scaleImage" "1" "image" "glyph_store" - } + } + } + +"ConsoleButton" + { + "ControlName" "CExImageButton" + "fieldName" "ConsoleButton" + "xpos" "c-45" + "ypos" "rs1-18" + "wide" "100" + "tall" "26" + "autoResize" "0" + "pinCorner" "3" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "textinsetx" "25" + "use_proportional_insets" "1" + "font" "HudFontSmallBold" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "default" "1" + "labeltext" "Console" + "command" "engine toggleconsole" + "proportionaltoparent" "1" + + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + + "paintbackground" "1" + + "image_drawcolor" "235 226 202 255" + "SubImage" + { + "ControlName" "ImagePanel" + "fieldName" "SubImage" + "xpos" "6" + "ypos" "6" + "zpos" "1" + "wide" "14" + "tall" "14" + "visible" "1" + "enabled" "1" + "scaleImage" "1" + "image" "glyph_tv" + } } "SettingsButton" @@ -2492,7 +2199,7 @@ "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" - + "image_drawcolor" "235 226 202 255" "SubImage" { @@ -2507,7 +2214,7 @@ "enabled" "1" "scaleImage" "1" "image" "glyph_options" - } + } } "TF2SettingsButton" @@ -2539,7 +2246,7 @@ "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" "border_default" "MainMenuSubButtonBorder" - + "image_drawcolor" "235 226 202 255" "SubImage" { @@ -2555,9 +2262,9 @@ "scaleImage" "1" "image" "glyph_options" "scaleImage" "1" - } + } } - + "NewUserForumsButton" { "ControlName" "CExImageButton" @@ -2588,7 +2295,7 @@ "sound_released" "UI/buttonclickrelease.wav" "PaintBackgroundType" "0" "border_default" "MainMenuSubButtonBorder" - + "image_drawcolor" "235 226 202 255" "SubImage" { @@ -2603,9 +2310,9 @@ "enabled" "1" "image" "glyph_tutorial" "scaleImage" "1" - } - } - + } + } + "AchievementsButton" { "ControlName" "CExImageButton" @@ -2635,7 +2342,7 @@ "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" "border_default" "MainMenuSubButtonBorder" - + "image_drawcolor" "235 226 202 255" "SubImage" { @@ -2650,9 +2357,9 @@ "enabled" "1" "image" "glyph_achievements" "scaleImage" "1" - } - } - + } + } + "CommentaryButton" { "ControlName" "CExImageButton" @@ -2682,7 +2389,7 @@ "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" "border_default" "MainMenuSubButtonBorder" - + "image_drawcolor" "235 226 202 255" "SubImage" { @@ -2697,9 +2404,9 @@ "enabled" "1" "image" "glyph_forums" "scaleImage" "1" - } - } - + } + } + "CoachPlayersButton" { "ControlName" "CExImageButton" @@ -2729,7 +2436,7 @@ "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" "border_default" "MainMenuSubButtonBorder" - + "image_drawcolor" "235 226 202 255" "SubImage" { @@ -2744,8 +2451,8 @@ "enabled" "1" "image" "glyph_commentary" "scaleImage" "1" - } - } + } + } "WorkshopButton" { @@ -2776,7 +2483,7 @@ "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" "border_default" "MainMenuSubButtonBorder" - + "image_drawcolor" "235 226 202 255" "SubImage" { @@ -2791,8 +2498,8 @@ "enabled" "1" "image" "glyph_steamworkshop" "scaleImage" "1" - } - } + } + } "ReplayButton" { @@ -2823,7 +2530,7 @@ "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" "border_default" "MainMenuSubButtonBorder" - + "image_drawcolor" "235 226 202 255" "SubImage" { @@ -2838,9 +2545,9 @@ "enabled" "1" "image" "glyph_tv" "scaleImage" "1" - } + } } - + "ReportBugButton" { "ControlName" "CExImageButton" @@ -2869,7 +2576,7 @@ "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" - + "image_drawcolor" "235 226 202 255" "SubImage" { @@ -2884,10 +2591,10 @@ "enabled" "1" "image" "glyph_bug" "scaleImage" "1" - } - } - - + } + } + + "BackToReplaysButton" { "ControlName" "CExImageButton" @@ -2913,7 +2620,7 @@ "Command" "exitreplayeditor" "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" - + "image_drawcolor" "235 226 202 255" "SubImage" { @@ -2928,8 +2635,8 @@ "enabled" "1" "scaleImage" "1" "image" "glyph_quit" - } - } + } + } "icon_generator" { @@ -2938,7 +2645,7 @@ "xpos" "0" "ypos" "0" - "zpos" "1" + "zpos" "1" "wide" "300" "tall" "300" "autoResize" "0" @@ -2946,7 +2653,7 @@ "visible" "1" "enabled" "1" "useparentbg" "1" - + "inset_eq_x" "2" "inset_eq_y" "2" From c135f2a663182dcfb26606323c708f8707c23db0 Mon Sep 17 00:00:00 2001 From: Techno <41777800+TechnoSL@users.noreply.github.com> Date: Thu, 14 Dec 2023 08:42:23 +0000 Subject: [PATCH 2/2] slimmed down mmdashboard --- ...scheme_VEXCENOT is BASED CENTER NEWrrr.res | 18 + resource/ui/matchmakingdashboard.res | 1184 ++++++----------- 2 files changed, 459 insertions(+), 743 deletions(-) diff --git a/resource/clientscheme_VEXCENOT is BASED CENTER NEWrrr.res b/resource/clientscheme_VEXCENOT is BASED CENTER NEWrrr.res index 6dbea3d..027be7d 100644 --- a/resource/clientscheme_VEXCENOT is BASED CENTER NEWrrr.res +++ b/resource/clientscheme_VEXCENOT is BASED CENTER NEWrrr.res @@ -1237,6 +1237,24 @@ "antialias" "1" } } + "TF2 Icons18" + { + "1" + { + "name" "TF2 Icons" + "tall" "18" + "antialias" "1" + } + } + "TF2 Icons20" + { + "1" + { + "name" "TF2 Icons" + "tall" "20" + "antialias" "1" + } + } } "CustomFontFiles" { diff --git a/resource/ui/matchmakingdashboard.res b/resource/ui/matchmakingdashboard.res index 962a898..cf92940 100644 --- a/resource/ui/matchmakingdashboard.res +++ b/resource/ui/matchmakingdashboard.res @@ -2,835 +2,533 @@ { "MMDashboard" { - "fieldName" "MMDashboard" - "visible" "1" - "enabled" "1" - "xpos" "cs-0.5" - "ypos" "-5" - "zpos" "10001" - "wide" "f0" - "tall" "35" - "keyboardinputenabled" "0" - - "collapsed_height" "0" - "expanded_height" "35" - "resize_time" "0.2" + "fieldName" "MMDashboard" + "visible" "1" + "enabled" "1" + "xpos" "0" + "ypos" "0" + "zpos" "10001" + "wide" "f0" + "tall" "28" + "keyboardinputenabled" "0" + + "collapsed_height" "0" + "expanded_height" "28" + "resize_time" "0.2" } - "TopBar" { - "ControlName" "EditablePanel" - "fieldName" "TopBar" - "xpos" "cs-0.5" - "ypos" "0" - "zpos" "1" - "wide" "f0" - "tall" "35" - "visible" "1" - "proportionaltoparent" "1" - - "pinCorner" "2" - "autoResize" "1" - - "Gradient" - { - "ControlName" "ImagePanel" - "fieldName" "Gradient" - "xpos" "0" - "ypos" "0" - "wide" "p0.5" - "tall" "f6" - "zpos" "0" - "visible" "1" - "enabled" "1" - "rotation" "2" - "proportionaltoparent" "1" - "scaleimage" "1" - "mouseinputenabled" "0" - "alpha" "0" - - "image" "gradient_pure_black" - } - "FriendsBGPanel" - { - "ControlName" "ImagePanel" - "fieldName" "FriendsBGPanel" - "xpos" "5" - "ypos" "0" - "zpos" "-2" - "wide" "163" - "tall" "30" - "autoResize" "0" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "fillcolor" "30 30 30 250" - "PaintBackgroundType" "0" - } - "BGPanel" - { - "ControlName" "EditablePanel" - "fieldName" "BGPanel" - "xpos" "cs-0.5" - "ypos" "0" - "zpos" "-1" - "wide" "p1.1" - "tall" "f5" - "visible" "1" - "PaintBackgroundType" "2" - "border" "ReplayDefaultBorder" - "proportionaltoparent" "1" - "alpha" "0" - } + "ControlName" "EditablePanel" + "fieldName" "TopBar" + "xpos" "0" + "ypos" "0" + "zpos" "1" + "wide" "f0" + "tall" "28" + "visible" "1" + "proportionaltoparent" "1" - "OuterShadow" + "BGPanel" { - "ControlName" "EditablePanel" - "fieldName" "OuterShadow" - "xpos" "cs-0.5" - "ypos" "cs-0.5" - "zpos" "-2" - "wide" "p1.1" - "tall" "p1" - "visible" "1" - "PaintBackgroundType" "2" - "border" "OuterShadowBorder" - "proportionaltoparent" "1" - "alpha" "0" + "ControlName" "EditablePanel" + "fieldName" "BGPanel" + "xpos" "cs-0.5" + "ypos" "-1" + "zpos" "-1" + "wide" "p1.1" + "tall" "f8" + "visible" "0" + "PaintBackground" "0" + "border" "ReplayDefaultBorder" + "proportionaltoparent" "1" } - "ToggleChatButton" { - "ControlName" "CExImageButton" - "fieldName" "ToggleChatButton" - "xpos" "-1" - "ypos" "-1" - "zpos" "100" - "wide" "25" - "tall" "f4" - "autoResize" "0" - "pinCorner" "3" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "font" "HudFontSmallestBold" - "textAlignment" "center" - "dulltext" "0" - "brighttext" "0" - "Command" "toggle_chat" - "proportionaltoparent" "1" - "labeltext" "" - "mouseinputenabled" "1" - "keyboardinputenabled" "0" - "actionsignallevel" "2" - "roundedcorners" "0" - - "sound_depressed" "UI/buttonclick.wav" - "sound_released" "UI/buttonclickrelease.wav" - - "image_drawcolor" "TanLight" - "image_armedcolor" "TanLight" - - "SubImage" - { - "ControlName" "ImagePanel" - "fieldName" "SubImage" - "xpos" "cs-0.5" - "ypos" "rs1-4" - "zpos" "1" - "wide" "18" - "tall" "18" - "visible" "1" - "enabled" "1" - "scaleImage" "1" - "proportionaltoparent" "1" - "image" "glyph_chat" - } + "ControlName" "CExImageButton" + "fieldName" "ToggleChatButton" + "xpos" "0" + "ypos" "0" + "zpos" "100" + "wide" "19" + "tall" "19" + "visible" "1" + "enabled" "1" + "font" "TF2 Icons18" + "textAlignment" "center" + "Command" "toggle_chat" + "proportionaltoparent" "1" + "labeltext" "R" + "mouseinputenabled" "1" + "keyboardinputenabled" "0" + "actionsignallevel" "2" + "sound_depressed" "UI/buttonclick.wav" + + "paintbackground" "1" + "paintborder" "0" + "roundedcorners" "0" + + "defaultFgColor_override" "White" + "armedFgColor_override" "White" + "depressedFgColor_override" "White" + + "defaultBgColor_override" "TransparentBlack" + "armedBgColor_override" "Menu_Accent" + "depressedBgColor_override" "Menu_Accent" } - "PartySlot0" { - "ControlName" "CDashboardPartyMember" - "fieldName" "PartySlot0" - "xpos" "23" - "ypos" "rs1-5" - "zpos" "100" - "wide" "o1" - "tall" "26" - "autoResize" "0" - "pinCorner" "3" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "proportionaltoparent" "1" - "mouseinputenabled" "1" - "keyboardinputenabled" "0" - - "party_slot" "0" + "ControlName" "CDashboardPartyMember" + "fieldName" "PartySlot0" + "xpos" "1" + "ypos" "0" + "zpos" "100" + "wide" "19" + "tall" "19" + "visible" "1" + "enabled" "1" + "proportionaltoparent" "1" + "mouseinputenabled" "1" + "keyboardinputenabled" "0" + + "party_slot" "0" + + "pin_to_sibling" "ToggleChatButton" + "pin_corner_to_sibling" "PIN_TOPLEFT" + "pin_to_sibling_corner" "PIN_TOPRIGHT" } - "PartySlot1" { - "ControlName" "CDashboardPartyMember" - "fieldName" "PartySlot1" - "xpos" "47" - "ypos" "rs1-5" - "zpos" "100" - "wide" "o1" - "tall" "26" - "autoResize" "0" - "pinCorner" "3" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "proportionaltoparent" "1" - "mouseinputenabled" "1" - "keyboardinputenabled" "0" - - "party_slot" "1" + "ControlName" "CDashboardPartyMember" + "fieldName" "PartySlot1" + "xpos" "1" + "ypos" "0" + "zpos" "100" + "wide" "19" + "tall" "19" + "visible" "1" + "enabled" "1" + "proportionaltoparent" "1" + "mouseinputenabled" "1" + "keyboardinputenabled" "0" + + "party_slot" "1" + + "pin_to_sibling" "PartySlot0" + "pin_corner_to_sibling" "PIN_TOPLEFT" + "pin_to_sibling_corner" "PIN_TOPRIGHT" } - "PartySlot2" { - "ControlName" "CDashboardPartyMember" - "fieldName" "PartySlot2" - "xpos" "71" - "ypos" "rs1-5" - "zpos" "100" - "wide" "o1" - "tall" "26" - "autoResize" "0" - "pinCorner" "3" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "proportionaltoparent" "1" - "mouseinputenabled" "1" - "keyboardinputenabled" "0" - - "party_slot" "2" + "ControlName" "CDashboardPartyMember" + "fieldName" "PartySlot2" + "xpos" "1" + "ypos" "0" + "zpos" "100" + "wide" "19" + "tall" "19" + "visible" "1" + "enabled" "1" + "proportionaltoparent" "1" + "mouseinputenabled" "1" + "keyboardinputenabled" "0" + + "party_slot" "2" + + "pin_to_sibling" "PartySlot1" + "pin_corner_to_sibling" "PIN_TOPLEFT" + "pin_to_sibling_corner" "PIN_TOPRIGHT" } - "PartySlot3" { - "ControlName" "CDashboardPartyMember" - "fieldName" "PartySlot3" - "xpos" "95" - "ypos" "rs1-5" - "zpos" "100" - "wide" "o1" - "tall" "26" - "autoResize" "0" - "pinCorner" "3" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "proportionaltoparent" "1" - "mouseinputenabled" "1" - "keyboardinputenabled" "0" - - "party_slot" "3" + "ControlName" "CDashboardPartyMember" + "fieldName" "PartySlot3" + "xpos" "1" + "ypos" "0" + "zpos" "100" + "wide" "19" + "tall" "19" + "visible" "1" + "enabled" "1" + "proportionaltoparent" "1" + "mouseinputenabled" "1" + "keyboardinputenabled" "0" + + "party_slot" "3" + + "pin_to_sibling" "PartySlot2" + "pin_corner_to_sibling" "PIN_TOPLEFT" + "pin_to_sibling_corner" "PIN_TOPRIGHT" } - "PartySlot4" { - "ControlName" "CDashboardPartyMember" - "fieldName" "PartySlot4" - "xpos" "119" - "ypos" "rs1-5" - "zpos" "100" - "wide" "o1" - "tall" "26" - "autoResize" "0" - "pinCorner" "3" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "proportionaltoparent" "1" - "mouseinputenabled" "1" - "keyboardinputenabled" "0" - - "party_slot" "4" + "ControlName" "CDashboardPartyMember" + "fieldName" "PartySlot4" + "xpos" "1" + "ypos" "0" + "zpos" "100" + "wide" "19" + "tall" "19" + "visible" "1" + "enabled" "1" + "proportionaltoparent" "1" + "mouseinputenabled" "1" + "keyboardinputenabled" "0" + + "party_slot" "4" + + "pin_to_sibling" "PartySlot3" + "pin_corner_to_sibling" "PIN_TOPLEFT" + "pin_to_sibling_corner" "PIN_TOPRIGHT" } - "PartySlot5" { - "ControlName" "CDashboardPartyMember" - "fieldName" "PartySlot5" - "xpos" "143" - "ypos" "rs1-5" - "zpos" "100" - "wide" "o1" - "tall" "26" - "autoResize" "0" - "pinCorner" "3" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "proportionaltoparent" "1" - "mouseinputenabled" "1" - "keyboardinputenabled" "0" - - "party_slot" "5" + "ControlName" "CDashboardPartyMember" + "fieldName" "PartySlot5" + "xpos" "1" + "ypos" "0" + "zpos" "100" + "wide" "19" + "tall" "19" + "visible" "1" + "enabled" "1" + "proportionaltoparent" "1" + "mouseinputenabled" "1" + "keyboardinputenabled" "0" + + "party_slot" "5" + + "pin_to_sibling" "PartySlot4" + "pin_corner_to_sibling" "PIN_TOPLEFT" + "pin_to_sibling_corner" "PIN_TOPRIGHT" } - "QueueContainer" { - "ControlName" "EditablePanel" - "fieldName" "QueueContainer" - "xpos" "cs-0.5" - "ypos" "-50" - "zpos" "111" - "wide" "220" - "tall" "f0" - "visible" "1" - "proportionaltoparent" "1" - - "OuterShadow" - { - "ControlName" "Panel" - "fieldName" "OuterShadow" - "xpos" "0" - "ypos" "0" - "zpos" "-1" - "wide" "f0" - "tall" "f0" - "visible" "1" - "proportionaltoparent" "1" - - "border" "OuterShadowBorderThin" - } + "ControlName" "EditablePanel" + "fieldName" "QueueContainer" + "xpos" "cs-0.5" + "ypos" "-50" + "zpos" "111" + "wide" "220" + "tall" "f3" + "visible" "1" + "proportionaltoparent" "1" "BGPanel" { - "ControlName" "Panel" - "fieldName" "BGPanel" - "xpos" "cs-0.5" - "ypos" "cs-0.5" - "zpos" "0" - "wide" "f4" - "tall" "f4" - "visible" "1" - "proportionaltoparent" "1" - - "border" "ReplayDefaultBorder" + "ControlName" "Panel" + "fieldName" "BGPanel" + "xpos" "cs-0.5" + "ypos" "-1" + "zpos" "0" + "wide" "f0" + "tall" "f-1" + "visible" "1" + "proportionaltoparent" "1" + "border" "ReplayDefaultBorder" } - "QueueLogoButton" { - "ControlName" "Button" - "fieldName" "QueueLogoButton" - "xpos" "0" - "ypos" "1" - "zpos" "10" - "wide" "o1" - "tall" "f0" - "autoResize" "0" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "labeltext" "" - "font" "HudFontSmallBold" - "textAlignment" "center" - "dulltext" "0" - "brighttext" "0" - "default" "1" - "Command" "queue_logo_clicked" - "proportionaltoparent" "1" - "actionsignallevel" "3" - "button_activation_type" "1" - - "paintbackground" "0" - "paintborder" "0" - } - + "ControlName" "Button" + "fieldName" "QueueLogoButton" + "xpos" "1" + "ypos" "0" + "zpos" "10" + "wide" "o1" + "tall" "f0" + "visible" "1" + "enabled" "1" + "labeltext" "" + "font" "HudFontSmallBold" + "textAlignment" "center" + "Command" "queue_logo_clicked" + "proportionaltoparent" "1" + "actionsignallevel" "3" + "button_activation_type" "1" + + "paintbackground" "0" + "paintborder" "0" + } "CTFLogoPanel" { - "ControlName" "CTFLogoPanel" - "fieldname" "CTFLogoPanel" - "xpos" "0" - "ypos" "1" - "zpos" "5" - "wide" "o1" - "tall" "f0" - "visible" "1" - "proportionaltoparent" "1" - - "radius" "10" - "velocity" "100" - - "fgcolor_override" "TFOrange" + "ControlName" "CTFLogoPanel" + "fieldname" "CTFLogoPanel" + "xpos" "1" + "ypos" "0" + "zpos" "5" + "wide" "o1" + "tall" "f0" + "visible" "1" + "proportionaltoparent" "1" + + "radius" "10" + "velocity" "100" + + "fgcolor_override" "TFOrange" } - "QueueText" { - "ControlName" "CAutoFittingLabel" - "fieldName" "QueueText" - "xpos" "33" - "ypos" "1" - "wide" "f55" - "zpos" "100" - "tall" "f0" - "visible" "1" - "enabled" "1" - "font" "HudFontSmallestBold" - "fgcolor_override" "TanLight" - "textAlignment" "west" - "labelText" "%queue_state%" - "proportionaltoparent" "1" - "mouseinputenabled" "0" + "ControlName" "CAutoFittingLabel" + "fieldName" "QueueText" + "xpos" "33" + "ypos" "0" + "wide" "f55" + "zpos" "100" + "tall" "f0" + "visible" "1" + "enabled" "1" + "font" "HudFontSmallestBold" + "fgcolor_override" "White" + "textAlignment" "west" + "labelText" "%queue_state%" + "proportionaltoparent" "1" + "mouseinputenabled" "0" "fonts" { "0" { - "font" "HudFontSmallestBold" // TF2 Build 11 + "font" "HudFontSmallestBold" } "1" { - "font" "StorePromotionsTitle" // TF2 Build 10 + "font" "StorePromotionsTitle" } "2" { - "font" "FontStorePrice" // TF2 Build 9 + "font" "FontStorePrice" } } } - "MultiQueuesManageButton" { - "ControlName" "CExImageButton" - "fieldName" "MultiQueuesManageButton" - "xpos" "rs1-5" - "ypos" "11" - "zpos" "10" - "wide" "14" - "tall" "14" - "autoResize" "0" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "labeltext" "" - "font" "HudFontSmallBold" - "textAlignment" "center" - "dulltext" "0" - "brighttext" "0" - "default" "1" - "sound_depressed" "UI/buttonclick.wav" - "sound_released" "UI/buttonclickrelease.wav" - "Command" "manage_queues" - "proportionaltoparent" "1" - "actionsignallevel" "3" - - "paintbackground" "0" - - "defaultFgColor_override" "46 43 42 255" - "armedFgColor_override" "235 226 202 255" - "depressedFgColor_override" "46 43 42 255" - - "image_drawcolor" "117 107 94 255" - "image_armedcolor" "200 80 60 255" - "SubImage" - { - "ControlName" "ImagePanel" - "fieldName" "SubImage" - "xpos" "0" - "ypos" "0" - "zpos" "1" - "wide" "14" - "tall" "14" - "visible" "1" - "enabled" "1" - "image" "glyph_options" - "scaleImage" "1" - } - } - + "ControlName" "CExImageButton" + "fieldName" "MultiQueuesManageButton" + "xpos" "rs1-6" + "ypos" "cs-0.5" + "zpos" "10" + "wide" "16" + "tall" "16" + "visible" "1" + "enabled" "1" + "labeltext" "+" + "font" "TF2 Icons" + "textAlignment" "center" + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + "Command" "manage_queues" + "proportionaltoparent" "1" + "actionsignallevel" "3" + "paintbackground" "1" + } "CloseButton" { - "ControlName" "CExImageButton" - "fieldName" "CloseButton" - "xpos" "rs1-5" - "ypos" "11" - "zpos" "10" - "wide" "14" - "tall" "14" - "autoResize" "0" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "labeltext" "" - "font" "HudFontSmallBold" - "textAlignment" "center" - "dulltext" "0" - "brighttext" "0" - "default" "1" - "sound_depressed" "UI/buttonclick.wav" - "sound_released" "UI/buttonclickrelease.wav" - "Command" "leave_queue" - "proportionaltoparent" "1" - "actionsignallevel" "3" - - "paintbackground" "0" - - "defaultFgColor_override" "46 43 42 255" - "armedFgColor_override" "235 226 202 255" - "depressedFgColor_override" "46 43 42 255" - - "image_drawcolor" "117 107 94 255" - "image_armedcolor" "200 80 60 255" - "SubImage" - { - "ControlName" "ImagePanel" - "fieldName" "SubImage" - "xpos" "0" - "ypos" "0" - "zpos" "1" - "wide" "14" - "tall" "14" - "visible" "1" - "enabled" "1" - "image" "close_button" - "scaleImage" "1" - } - } + "ControlName" "CExImageButton" + "fieldName" "CloseButton" + "xpos" "rs1-6" + "ypos" "cs-0.5" + "zpos" "10" + "wide" "16" + "tall" "16" + "visible" "1" + "enabled" "1" + "labeltext" "X" + "font" "TF2 Icons" + "textAlignment" "center" + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + "Command" "leave_queue" + "proportionaltoparent" "1" + "actionsignallevel" "3" + "paintbackground" "1" + } } - "JoinPartyLobbyContainer" { - "ControlName" "EditablePanel" - "fieldName" "JoinPartyLobbyContainer" - "xpos" "cs-0.5" - "ypos" "-50" - "zpos" "110" - "wide" "220" - "tall" "f0" - "visible" "1" - "proportionaltoparent" "1" - - "OuterShadow" - { - "ControlName" "Panel" - "fieldName" "OuterShadow" - "xpos" "0" - "ypos" "0" - "zpos" "-1" - "wide" "f0" - "tall" "f0" - "visible" "1" - "proportionaltoparent" "1" - - "border" "OuterShadowBorderThin" - } + "ControlName" "EditablePanel" + "fieldName" "JoinPartyLobbyContainer" + "xpos" "cs-0.5" + "ypos" "-50" + "zpos" "110" + "wide" "220" + "tall" "f3" + "visible" "1" + "proportionaltoparent" "1" "BGPanel" { - "ControlName" "Panel" - "fieldName" "BGPanel" - "xpos" "cs-0.5" - "ypos" "cs-0.5" - "zpos" "0" - "wide" "f6" - "tall" "f6" - "visible" "1" - "proportionaltoparent" "1" - - "border" "ReplayDefaultBorder" + "ControlName" "Panel" + "fieldName" "BGPanel" + "xpos" "cs-0.5" + "ypos" "0" + "zpos" "0" + "wide" "f0" + "tall" "f-1" + "visible" "1" + "proportionaltoparent" "1" + "border" "ReplayDefaultBorder" } - "PromptText" { - "ControlName" "Label" - "fieldName" "PromptText" - "xpos" "cs-0.5" - "ypos" "1" - "wide" "f35" - "zpos" "100" - "tall" "f0" - "visible" "1" - "enabled" "1" - "font" "HudFontSmallestBold" - "fgcolor_override" "TanLight" - "textAlignment" "west" - "labelText" "#TF_MM_JoinPartyLobby_Prompt" - "proportionaltoparent" "1" - "mouseinputenabled" "0" - } - + "ControlName" "CExLabel" + "fieldName" "PromptText" + "xpos" "cs-0.5" + "ypos" "0" + "wide" "f35" + "zpos" "100" + "tall" "f0" + "visible" "1" + "enabled" "1" + "font" "HudFontSmallestBold" + "fgcolor_override" "White" + "textAlignment" "west" + "labelText" "#TF_MM_JoinPartyLobby_Prompt" + "proportionaltoparent" "1" + "mouseinputenabled" "0" + } "JoinNowButton" { - "ControlName" "CExButton" - "fieldName" "JoinNowButton" - "xpos" "rs1-10" - "ypos" "rs1-9" - "wide" "40" - "zpos" "100" - "tall" "15" + "ControlName" "CExButton" + "fieldName" "JoinNowButton" + "xpos" "rs1-10" + "ypos" "cs-0.5" + "wide" "40" + "zpos" "100" + "tall" "15" if_queued { - "xpos" "cs-0.5" - "wide" "150" + "xpos" "cs-0.5" + "wide" "150" } - - "autoResize" "0" - "pinCorner" "3" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "font" "HudFontSmallestBold" - "textAlignment" "center" - "dulltext" "0" - "brighttext" "0" - "Command" "join_party_match" - "proportionaltoparent" "1" - "labeltext" "#TF_MM_JoinPartyLobby_Join" - "mouseinputenabled" "1" - "keyboardinputenabled" "0" - "actionsignallevel" "3" - - "armedBgColor_override" "CreditsGreen" - "defaultBgColor_override" "SaleGreen" - - "sound_depressed" "UI/buttonclick.wav" - "sound_released" "UI/buttonclickrelease.wav" + + "visible" "1" + "enabled" "1" + "font" "HudFontSmallestBold" + "textAlignment" "center" + "Command" "join_party_match" + "proportionaltoparent" "1" + "labeltext" "#TF_MM_JoinPartyLobby_Join" + "mouseinputenabled" "1" + "keyboardinputenabled" "0" + "actionsignallevel" "3" + + "armedBgColor_override" "CreditsGreen" + "defaultBgColor_override" "SaleGreen" + + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" } } - "QuitButton" { - "ControlName" "CExImageButton" - "fieldName" "QuitButton" - "xpos" "rs1" - "ypos" "0" - "zpos" "100" - "wide" "30" - "tall" "f6" - "autoResize" "0" - "pinCorner" "3" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "font" "HudFontSmallBold" - "textAlignment" "west" - "textinsetx" "0" - "dulltext" "0" - "brighttext" "0" - "Command" "quit" - "proportionaltoparent" "1" - "labeltext" "" - "mouseinputenabled" "1" - "keyboardinputenabled" "0" - "actionsignallevel" "2" - "RoundedCorners" "0" - - "sound_depressed" "UI/buttonclick.wav" - "sound_released" "UI/buttonclickrelease.wav" - - "armedBgColor_override" "192 28 0 255" - "defaultBgColor_override" "142 28 0 255" - - "defaultFgColor_override" "TanLight" - "armedFgColor_override" "TanLight" - - "image_drawcolor" "TanLight" - "image_armedcolor" "TanLight" - - "SubImage" - { - "ControlName" "ImagePanel" - "fieldName" "SubImage" - "xpos" "cs-0.5" - "ypos" "rs1-5" - "zpos" "1" - "wide" "14" - "tall" "14" - "visible" "1" - "enabled" "1" - "scaleImage" "1" - "proportionaltoparent" "1" - "image" "glyph_quit" - "drawcolor_override" "TanLight" - } + "ControlName" "CExImageButton" + "fieldName" "QuitButton" + "xpos" "rs1" + "ypos" "0" + "zpos" "100" + "wide" "24" + "tall" "f9" + "visible" "1" + "enabled" "1" + "font" "TF2 Icons20" + "textAlignment" "center" + "Command" "quit" + "proportionaltoparent" "1" + "labeltext" "b" + "mouseinputenabled" "1" + "keyboardinputenabled" "0" + "actionsignallevel" "2" + "RoundedCorners" "0" + "sound_depressed" "UI/buttonclick.wav" + + "armedBgColor_override" "192 28 0 50" + "defaultBgColor_override" "192 28 0 150" + + "defaultFgColor_override" "White" + "armedFgColor_override" "White" } - "DisconnectButton" { - "ControlName" "CExImageButton" - "fieldName" "DisconnectButton" - "xpos" "rs1" - "ypos" "0" - "zpos" "100" - "wide" "110" - "tall" "f6" - "autoResize" "0" - "pinCorner" "3" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "font" "HudFontSmallBold" - "textAlignment" "west" - "dulltext" "0" - "brighttext" "0" - "Command" "quit" - "proportionaltoparent" "1" - "labeltext" "#TF_Disconnect" - "mouseinputenabled" "1" - "keyboardinputenabled" "0" - "actionsignallevel" "2" - "RoundedCorners" "0" - "textinsety" "5" - "textinsetx" "22" - "use_proportional_insets" "1" - - "sound_depressed" "UI/buttonclick.wav" - "sound_released" "UI/buttonclickrelease.wav" - - "armedBgColor_override" "192 28 0 255" - "defaultBgColor_override" "142 28 0 255" - - "defaultFgColor_override" "TanLight" - "armedFgColor_override" "TanLight" - - "image_drawcolor" "TanLight" - "image_armedcolor" "TanLight" - - "SubImage" - { - "ControlName" "ImagePanel" - "fieldName" "SubImage" - "xpos" "6" - "ypos" "rs1-5" - "zpos" "1" - "wide" "14" - "tall" "14" - "visible" "1" - "enabled" "1" - "scaleImage" "1" - "proportionaltoparent" "1" - "image" "glyph_disconnect" - "drawcolor_override" "TanLight" - } + "ControlName" "CExImageButton" + "fieldName" "DisconnectButton" + "xpos" "rs1" + "ypos" "0" + "zpos" "100" + "wide" "24" + "tall" "f9" + "visible" "1" + "enabled" "1" + "font" "TF2 Icons20" + "textAlignment" "center" + "Command" "quit" + "proportionaltoparent" "1" + "labeltext" "X" + "mouseinputenabled" "1" + "keyboardinputenabled" "0" + "actionsignallevel" "2" + "RoundedCorners" "0" + "sound_depressed" "UI/buttonclick.wav" + + "armedBgColor_override" "192 28 0 50" + "defaultBgColor_override" "192 28 0 150" + + "defaultFgColor_override" "White" + "armedFgColor_override" "White" } - "ResumeButton" { - "ControlName" "CExImageButton" - "fieldName" "ResumeButton" - "xpos" "rs1-31-131" - "ypos" "0" - "zpos" "100" - "wide" "90" - "tall" "f6" - "autoResize" "0" - "pinCorner" "3" - "visible" "0" - "enabled" "1" - "tabPosition" "0" - "font" "HudFontSmallBold" - "textAlignment" "west" - "dulltext" "0" - "brighttext" "0" - "Command" "resume_game" - "proportionaltoparent" "1" - "labeltext" "#MMenu_ResumeGame" - "mouseinputenabled" "1" - "keyboardinputenabled" "0" - "actionsignallevel" "2" - "roundedcorners" "1" - "textinsety" "5" - "textinsetx" "22" - "use_proportional_insets" "1" - - "sound_depressed" "UI/buttonclick.wav" - "sound_released" "UI/buttonclickrelease.wav" - - // "armedBgColor_override" "CreditsGreen" - // "defaultBgColor_override" "GreenSolid" - - "defaultFgColor_override" "TanLight" - "armedFgColor_override" "TanLight" - "image_drawcolor" "235 226 202 255" - "image_armedcolor" "235 226 202 255" - - "SubImage" - { - "ControlName" "ImagePanel" - "fieldName" "SubImage" - "xpos" "6" - "ypos" "10" - "zpos" "1" - "wide" "14" - "tall" "14" - "visible" "1" - "enabled" "1" - "scaleImage" "1" - "proportionaltoparent" "1" - "image" "icon_resume" - "drawcolor_override" "TanLight" - } + "ControlName" "CExImageButton" + "fieldName" "ResumeButton" + "xpos" "rs1-48" + "ypos" "0" + "zpos" "100" + "wide" "24" + "tall" "f9" + "visible" "0" + "enabled" "1" + "font" "TF2 Icons20" + "textAlignment" "center" + "Command" "resume_game" + "proportionaltoparent" "1" + "labeltext" "=" + "mouseinputenabled" "1" + "keyboardinputenabled" "0" + "actionsignallevel" "2" + "roundedcorners" "0" + + "sound_depressed" "UI/buttonclick.wav" + + "defaultFgColor_override" "White" + "armedFgColor_override" "White" } - "FindAGameButton" { - "ControlName" "CExImageButton" - "fieldName" "FindAGameButton" - "xpos" "rs1-52" - "ypos" "0" - "zpos" "100" - "wide" "118" - "tall" "f6" - "autoResize" "0" - "pinCorner" "3" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "font" "HudFontSmallBold" - "textAlignment" "west" - "dulltext" "0" - "brighttext" "0" - "Command" "find_game" - "proportionaltoparent" "1" - "labeltext" "#MMenu_FindAGame" - "mouseinputenabled" "1" - "keyboardinputenabled" "0" - "actionsignallevel" "2" - "roundedcorners" "1" - "textinsety" "5" - "textinsetx" "25" - "use_proportional_insets" "1" - - "sound_depressed" "UI/buttonclick.wav" - "sound_released" "UI/buttonclickrelease.wav" - - "armedBgColor_override" "CreditsGreen" - "defaultBgColor_override" "GreenSolid" - - "defaultFgColor_override" "TanLight" - "armedFgColor_override" "TanLight" - "image_drawcolor" "235 226 202 255" - "image_armedcolor" "235 226 202 255" - - "SubImage" - { - "ControlName" "ImagePanel" - "fieldName" "SubImage" - "xpos" "6" - "ypos" "10" - "zpos" "1" - "wide" "14" - "tall" "14" - "visible" "1" - "enabled" "1" - "scaleImage" "1" - "proportionaltoparent" "1" - "image" "glyph_multiplayer" - "drawcolor_override" "TanLight" - } + "ControlName" "CExImageButton" + "fieldName" "FindAGameButton" + "xpos" "rs1-60" + "ypos" "0" + "zpos" "100" + "wide" "24" + "tall" "f9" + "visible" "1" + "enabled" "1" + "font" "TF2 Icons20" + "textAlignment" "center" + "Command" "find_game" + "proportionaltoparent" "1" + "labeltext" "!" + "mouseinputenabled" "1" + "keyboardinputenabled" "0" + "actionsignallevel" "2" + "roundedcorners" "0" + + "sound_depressed" "UI/buttonclick.wav" + + "armedBgColor_override" "CreditsGreen" + "defaultBgColor_override" "GreenSolid" + + "defaultFgColor_override" "White" + "armedFgColor_override" "White" } } }