From 37603a8118b9793c9c545e01479992d1b09d2afc Mon Sep 17 00:00:00 2001 From: CriticalFlaw Date: Thu, 1 Jul 2021 15:18:50 -0400 Subject: Updated Matchmaking Dashboard --- resource/scheme/clientscheme_icons.res | 15 +- resource/ui/mainmenuplaylistentry.res | 109 ++----------- resource/ui/matchmakingdashboard.res | 180 +++++---------------- resource/ui/matchmakingdashboardcasualcriteria.res | 9 +- resource/ui/matchmakingdashboardcomp.res | 9 +- resource/ui/matchmakingdashboardmvmmodeselect.res | 75 ++++----- resource/ui/matchmakingdashboardplaylist.res | 40 ++--- resource/ui/matchmakingdashboardpopup_newmatch.res | 4 +- resource/ui/matchmakingplaylist.res | 134 +++++++++++++++ resource/ui/matchmakingtooltip.res | 56 +++++++ 10 files changed, 329 insertions(+), 302 deletions(-) create mode 100644 resource/ui/matchmakingplaylist.res create mode 100644 resource/ui/matchmakingtooltip.res (limited to 'resource') diff --git a/resource/scheme/clientscheme_icons.res b/resource/scheme/clientscheme_icons.res index 4933bd1..8283466 100644 --- a/resource/scheme/clientscheme_icons.res +++ b/resource/scheme/clientscheme_icons.res @@ -14,18 +14,29 @@ Scheme } } - "ClassIcons" + "NormalIcons" { "1" { "name" "TF2Icons" - "tall" "62" + "tall" "25" "weight" "0" "additive" "0" "antialias" "1" } } + "MediumIcons" + { + "1" + { + "name" "TF2Icons" + "tall" "20" + "additive" "0" + "antialias" "1" + } + } + "CustomIcons" { "1" diff --git a/resource/ui/mainmenuplaylistentry.res b/resource/ui/mainmenuplaylistentry.res index 2a5ade7..385addf 100644 --- a/resource/ui/mainmenuplaylistentry.res +++ b/resource/ui/mainmenuplaylistentry.res @@ -7,8 +7,8 @@ "xpos" "0" "ypos" "0" "zpos" "0" - "wide" "270" - "tall" "70" + "wide" "o4" + "tall" "p1.17" "visible" "1" "enabled" "1" "scaleImage" "1" @@ -38,14 +38,13 @@ "fieldName" "BGColor" "xpos" "0" "ypos" "0" - "zpos" "-1" + "zpos" "1" "wide" "f0" "tall" "f0" "visible" "1" "enabled" "1" - "proportionaltoparent" "1" - "bgcolor_override" "DarkGrey" + "bgcolor_override" "TransparentBlack" } "ToolTipHack" @@ -57,7 +56,7 @@ "zpos" "490" "wide" "f0" "tall" "f0" - "visible" "0" + "visible" "1" "enabled" "1" "mouseinputenabled" "1" "eatmouseinput" "0" @@ -70,16 +69,15 @@ "xpos" "0" "ypos" "0" "zpos" "5" - "wide" "250" - "tall" "40" + "tall" "50" + "wide" "140" "visible" "1" "enabled" "1" "labelText" "%button_token%" - "textinsetx" "4" - "textinsety" "16" "use_proportional_insets" "1" - "font" "Cerbetica24" - "textAlignment" "east" + "font" "HudFontMediumSmall" + "textAlignment" "north" + "textinsety" "5" "dulltext" "0" "brighttext" "0" "default" "1" @@ -88,15 +86,15 @@ "actionsignallevel" "2" "border_default" "NoBorder" - "border_armed" "NoBorder" + "border_armed" "CyanBorderThick" "paintbackground" "0" "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" - "defaultFgColor_override" "235 226 202 255" - "armedFgColor_override" "117 107 94 255" - "depressedFgColor_override" "235 226 202 255" + "defaultFgColor_override" "TanDark" + "armedFgColor_override" "TanLight" + "depressedFgColor_override" "TanDark" } "MatchmakingBanPanel" @@ -140,93 +138,20 @@ { "ControlName" "CExLabel" "fieldName" "DescLabel" - "font" "MMenuPlayListDesc" - "labelText" "%desc_token%" - "textAlignment" "center" - "xpos" "0" - "ypos" "35" - "zpos" "2" - "wide" "270" - "tall" "35" - "autoResize" "0" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "wrap" "1" - "fgcolor_override" "TanLight" - "proportionaltoparent" "1" - "mouseinputenabled" "0" + "xpos" "9999" } "DescLabelShadow" { "ControlName" "CExLabel" "fieldName" "DescLabelShadow" - "font" "MMenuPlayListDesc" - "labelText" "%desc_token%" - "textAlignment" "center" - "xpos" "-1" - "ypos" "-1" - "zpos" "1" - "wide" "270" - "tall" "35" - "autoResize" "0" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "wrap" "1" - "fgcolor_override" "TransparentBlack" - "proportionaltoparent" "1" - "mouseinputenabled" "0" - - "pin_to_sibling" "DescLabel" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "PIN_TOPLEFT" + "xpos" "9999" } "DisabledIcon" { "ControlName" "CExImageButton" "fieldName" "DisabledIcon" - "xpos" "0" - "ypos" "0" - "zpos" "50" - "wide" "f0" - "tall" "f0" - "visible" "1" - "enabled" "1" - "actionsignallevel" "1" - "command" "comp_access_info" - "labeltext" "" - "eatmouseinput" "0" - "button_activation_type" "1" - - "sound_depressed" "UI/buttonclick.wav" - "sound_released" "UI/buttonclickrelease.wav" - - "defaultFgColor_override" "TanDarker" - "armedFgColor_override" "TanLight" - "depressedFgColor_override" "TanDarker" - "defaultBgColor_override" "Transparent" - "armedBgColor_override" "Transparent" - "depressedBgColor_override" "Transparent" - - "image_drawcolor" "TextColor" - "image_armedcolor" "TanLight" - "SubImage" - { - "ControlName" "ImagePanel" - "fieldName" "SubImage" - "xpos" "110" - "ypos" "2" - "zpos" "1" - "wide" "15" - "tall" "15" - "visible" "1" - "enabled" "1" - "image" "locked_icon" - "scaleImage" "1" - "proportionaltoparent" "1" - } + "xpos" "9999" } } \ No newline at end of file diff --git a/resource/ui/matchmakingdashboard.res b/resource/ui/matchmakingdashboard.res index 35e298d..6f76689 100644 --- a/resource/ui/matchmakingdashboard.res +++ b/resource/ui/matchmakingdashboard.res @@ -559,47 +559,24 @@ "visible" "1" "enabled" "1" "tabPosition" "0" - "font" "HudFontSmallBold" - "textAlignment" "west" - "textinsetx" "0" + "font" "NormalIcons" + "textAlignment" "center" "dulltext" "0" "brighttext" "0" "Command" "quit" "proportionaltoparent" "1" - "labeltext" "" + "labeltext" "q" "mouseinputenabled" "1" "keyboardinputenabled" "0" "actionsignallevel" "2" - "RoundedCorners" "0" - + "paintbackground" "0" + "textinsety" "4" "sound_depressed" "UI/buttonclick.wav" - "sound_released" "UI/buttonclickrelease.wav" - - "armedBgColor_override" "195 20 0 255" - "defaultBgColor_override" "175 25 11 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" "15" - "tall" "15" - "visible" "1" - "enabled" "1" - "scaleImage" "1" - "proportionaltoparent" "1" - "image" "glyph_quit" - "drawcolor_override" "TanLight" - } + + "FgColor" "TanLight" + "defaultFgColor_override" "TanLight" + "armedFgColor_override" "LightRed" + "depressedFgColor_override" "LightRed" } "DisconnectButton" @@ -609,56 +586,31 @@ "xpos" "rs1" "ypos" "0" "zpos" "100" - "wide" "110" + "wide" "30" "tall" "f6" "autoResize" "0" "pinCorner" "3" "visible" "1" "enabled" "1" "tabPosition" "0" - "font" "HudFontSmallBold" - "textAlignment" "west" + "font" "NormalIcons" + "textAlignment" "center" "dulltext" "0" "brighttext" "0" "Command" "quit" "proportionaltoparent" "1" - "labeltext" "#TF_Disconnect" + "labeltext" "q" "mouseinputenabled" "1" "keyboardinputenabled" "0" "actionsignallevel" "2" - "RoundedCorners" "0" - "textinsety" "5" - "textinsetx" "22" - "use_proportional_insets" "1" - + "paintbackground" "0" + "textinsety" "4" "sound_depressed" "UI/buttonclick.wav" - "sound_released" "UI/buttonclickrelease.wav" - - "armedBgColor_override" "195 20 0 255" - "defaultBgColor_override" "175 25 11 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" - } + + "FgColor" "TanLight" + "defaultFgColor_override" "TanLight" + "armedFgColor_override" "LightRed" + "depressedFgColor_override" "LightRed" } "ResumeButton" @@ -668,54 +620,31 @@ "xpos" "rs1-31-120" "ypos" "0" "zpos" "100" - "wide" "80" + "wide" "30" "tall" "f6" "autoResize" "0" "pinCorner" "3" "visible" "0" "enabled" "1" "tabPosition" "0" - "font" "HudFontSmallBold" - "textAlignment" "west" + "font" "NormalIcons" + "textAlignment" "center" "dulltext" "0" "brighttext" "0" "Command" "resume_game" "proportionaltoparent" "1" - "labeltext" "#MMenu_ResumeGame" + "labeltext" "/" "mouseinputenabled" "1" "keyboardinputenabled" "0" "actionsignallevel" "2" - "roundedcorners" "1" - "textinsety" "5" - "textinsetx" "22" - "use_proportional_insets" "1" + "paintbackground" "0" + "textinsety" "4" "sound_depressed" "UI/buttonclick.wav" - "sound_released" "UI/buttonclickrelease.wav" - - "armedBgColor_override" "140 180 150 255" - "defaultBgColor_override" "100 120 100 255" - - "defaultFgColor_override" "TanLight" - "armedFgColor_override" "TanLight" - "image_drawcolor" "TanLight" - "image_armedcolor" "TanLight" - - "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" - } + + "FgColor" "TanLight" + "defaultFgColor_override" "TanLight" + "armedFgColor_override" "TFOrange" + "depressedFgColor_override" "TFOrange" } "FindAGameButton" @@ -725,54 +654,31 @@ "xpos" "rs1-31" "ypos" "0" "zpos" "100" - "wide" "115" + "wide" "30" "tall" "f6" "autoResize" "0" "pinCorner" "3" "visible" "1" "enabled" "1" "tabPosition" "0" - "font" "HudFontSmallBold" - "textAlignment" "west" + "font" "NormalIcons" + "textAlignment" "center" "dulltext" "0" "brighttext" "0" "Command" "find_game" "proportionaltoparent" "1" - "labeltext" "#MMenu_FindAGame" + "labeltext" "!" "mouseinputenabled" "1" "keyboardinputenabled" "0" "actionsignallevel" "2" - "roundedcorners" "1" - "textinsetx" "25" - "textinsety" "5" - "use_proportional_insets" "1" + "paintbackground" "0" + "textinsety" "4" "sound_depressed" "UI/buttonclick.wav" - "sound_released" "UI/buttonclickrelease.wav" - - "armedBgColor_override" "94 150 49 255" - "defaultBgColor_override" "76 107 34 255" - - "defaultFgColor_override" "TanLight" - "armedFgColor_override" "TanLight" - "image_drawcolor" "TanLight" - "image_armedcolor" "TanLight" - - "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" - } + + "FgColor" "TanLight" + "defaultFgColor_override" "TanLight" + "armedFgColor_override" "CreditsGreen" + "depressedFgColor_override" "CreditsGreen" } } } \ No newline at end of file diff --git a/resource/ui/matchmakingdashboardcasualcriteria.res b/resource/ui/matchmakingdashboardcasualcriteria.res index d1f6b7d..39dfc00 100644 --- a/resource/ui/matchmakingdashboardcasualcriteria.res +++ b/resource/ui/matchmakingdashboardcasualcriteria.res @@ -18,7 +18,7 @@ { "ControlName" "Label" "fieldName" "Title" - "xpos" "8" + "xpos" "0" "ypos" "25" "zpos" "99" "wide" "f0" @@ -27,8 +27,9 @@ "labeltext" "#TF_Matchmaking_HeaderCasual" "textAlignment" "center" "font" "HudFontMedium" - "fgcolor_override" "White" + "fgcolor_override" "TanLight" "mouseinputenabled" "0" + "allcaps" "1" } "criteria" @@ -85,11 +86,9 @@ "mouseinputenabled" "1" "keyboardinputenabled" "0" "actionsignallevel" "1" + "allcaps" "1" "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" - - "armedBgColor_override" "CreditsGreen" - "defaultBgColor_override" "GreenSolid" } } \ No newline at end of file diff --git a/resource/ui/matchmakingdashboardcomp.res b/resource/ui/matchmakingdashboardcomp.res index 1bf52ae..2f834e9 100644 --- a/resource/ui/matchmakingdashboardcomp.res +++ b/resource/ui/matchmakingdashboardcomp.res @@ -18,7 +18,7 @@ { "ControlName" "Label" "fieldName" "Title" - "xpos" "8" + "xpos" "0" "ypos" "25" "zpos" "101" "wide" "f0" @@ -27,9 +27,10 @@ "labeltext" "#TF_Matchmaking_HeaderCompetitive" "textAlignment" "center" "font" "HudFontMedium" - "fgcolor_override" "White" + "fgcolor_override" "TanLight" "bgcolor_override" "DarkGrey" "mouseinputenabled" "0" + "allcaps" "1" } "ShowExplanationsButton" @@ -130,11 +131,9 @@ "mouseinputenabled" "1" "keyboardinputenabled" "0" "actionsignallevel" "1" + "allcaps" "1" "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" - - "armedBgColor_override" "CreditsGreen" - "defaultBgColor_override" "GreenSolid" } } \ No newline at end of file diff --git a/resource/ui/matchmakingdashboardmvmmodeselect.res b/resource/ui/matchmakingdashboardmvmmodeselect.res index 634127b..fb5e53f 100644 --- a/resource/ui/matchmakingdashboardmvmmodeselect.res +++ b/resource/ui/matchmakingdashboardmvmmodeselect.res @@ -19,43 +19,26 @@ "ControlName" "ImagePanel" "fieldName" "MvMLogoImage" "xpos" "30" - "ypos" "-5" + "ypos" "5" "zpos" "2" "wide" "o2" "tall" "100" - "visible" "0" - "enabled" "0" - "mouseinputenabled" "0" + "visible" "1" + "enabled" "1" + "mouseinputenabled" "0" "image" "mvm/mvm_logo" "scaleImage" "1" } - "Title" - { - "ControlName" "Label" - "fieldName" "Title" - "xpos" "8" - "ypos" "23" - "zpos" "99" - "wide" "f0" - "tall" "20" - "proportionaltoparent" "1" - "labeltext" "#TF_Matchmaking_HeaderMvM" - "textAlignment" "center" - "font" "Cerbetica24" - "fgcolor_override" "White" - "mouseinputenabled" "0" - } - "MannUpGroupBox" { //"ControlName" "EditablePanel" "fieldName" "MannUpGroupBox" "xpos" "6" - "ypos" "55" + "ypos" "75" "zpos" "1" "wide" "250" - "tall" "215" + "tall" "150" "visible" "1" "enabled" "1" @@ -80,7 +63,7 @@ "ControlName" "ImagePanel" "fieldName" "MannUpImage" "xpos" "0" - "ypos" "0" + "ypos" "10" "zpos" "0" "wide" "f0" "tall" "o1" @@ -115,28 +98,33 @@ { //"ControlName" "CExButton" "fieldName" "PlayNowButton" - "xpos" "cs-0.5" - "ypos" "rs1-5" + "xpos" "0" + "ypos" "rs1" "zpos" "20" - "wide" "120" - "tall" "25" + "wide" "f0" + "tall" "o1" "autoResize" "0" "pinCorner" "0" "visible" "1" "enabled" "1" "tabPosition" "0" "labelText" "#TF_MvM_MannUp" - "font" "HudFontMediumSmall" - "textAlignment" "center" + "font" "HudFontMedium" + "textAlignment" "south" "dulltext" "0" "brighttext" "0" "Command" "mannup" "actionsignallevel" "2" "proportionaltoparent" "1" + "paintbackground" "0" + "allcaps" "1" + "textinsety" "-5" + + "border_default" "NoBorder" + "border_armed" "CyanBorderThick" "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" - "defaultBgColor_override" "TransparentBlack" } "PlayForBraggingRightsExplanation" @@ -155,6 +143,7 @@ "wrap" "1" "proportionaltoparent" "1" "mouseinputenabled" "0" + "visible" "0" } } @@ -163,10 +152,10 @@ //"ControlName" "EditablePanel" "fieldName" "PracticeGroupBox" "xpos" "6" - "ypos" "275" + "ypos" "230" "zpos" "100" "wide" "250" - "tall" "130" + "tall" "150" "visible" "1" "enabled" "1" "proportionaltoparent" "1" @@ -227,28 +216,33 @@ { //"ControlName" "CExButton" "fieldName" "PracticeButton" - "xpos" "cs-0.5" - "ypos" "rs1-5" + "xpos" "0" + "ypos" "rs1" "zpos" "20" - "tall" "25" - "wide" "120" + "wide" "f0" + "tall" "o1" "autoResize" "0" "pinCorner" "0" "visible" "1" "enabled" "1" "tabPosition" "0" "labelText" "#TF_MvM_BootCamp" - "font" "HudFontMediumSmall" - "textAlignment" "center" + "font" "HudFontMedium" + "textAlignment" "south" "dulltext" "0" "brighttext" "0" "Command" "bootcamp" "actionsignallevel" "2" "proportionaltoparent" "1" + "paintbackground" "0" + "allcaps" "1" + "textinsety" "-5" + + "border_default" "NoBorder" + "border_armed" "CyanBorderThick" "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" - "defaultBgColor_override" "TransparentBlack" } "PlayOnCommunityServerExplanation" @@ -267,6 +261,7 @@ "wrap" "1" "proportionaltoparent" "1" "mouseinputenabled" "0" + "visible" "0" } } } \ No newline at end of file diff --git a/resource/ui/matchmakingdashboardplaylist.res b/resource/ui/matchmakingdashboardplaylist.res index 0ae80d6..0e20313 100644 --- a/resource/ui/matchmakingdashboardplaylist.res +++ b/resource/ui/matchmakingdashboardplaylist.res @@ -6,10 +6,10 @@ { "fieldName" "ExpandableList" "xpos" "r0" - "ypos" "10" - "zpos" "1001" - "wide" "280" - "tall" "f70" + "ypos" "r63" + "zpos" "2001" + "wide" "f0" + "tall" "f0" "visible" "1" "proportionaltoparent" "1" } @@ -18,28 +18,30 @@ { "ControlName" "Label" "fieldName" "Title" - "xpos" "8" - "ypos" "23" + "xpos" "10" + "ypos" "12" "zpos" "99" - "wide" "f0" - "tall" "20" + "wide" "150" + "tall" "40" "proportionaltoparent" "1" "labeltext" "#TF_Matchmaking_HeaderModeSelect" - "textAlignment" "center" - "font" "HudFontMediumSecondary" - "fgcolor_override" "White" + "textAlignment" "west" + "font" "HudFontMedium" + "fgcolor_override" "TanLight" "mouseinputenabled" "0" + "allcaps" "1" + "visible" "0" } "playlist" { // "ControlName" "CTFPlaylistPanel" "fieldName" "playlist" - "xpos" "8" - "ypos" "50" + "xpos" "0" + "ypos" "0" "zpos" "100" - "wide" "255" - "tall" "365" + "wide" "f0" + "tall" "f0" "visible" "1" "proportionaltoparent" "1" } @@ -48,11 +50,11 @@ { "ControlName" "EditablePanel" "fieldName" "PlayListDropShadow" - "xpos" "8" - "ypos" "50" + "xpos" "0" + "ypos" "0" "zpos" "1000" - "wide" "255" - "tall" "298" + "wide" "f0" + "tall" "f0" "visible" "0" "PaintBackgroundType" "2" "border" "InnerShadowBorder" diff --git a/resource/ui/matchmakingdashboardpopup_newmatch.res b/resource/ui/matchmakingdashboardpopup_newmatch.res index becfea1..a93a7d6 100644 --- a/resource/ui/matchmakingdashboardpopup_newmatch.res +++ b/resource/ui/matchmakingdashboardpopup_newmatch.res @@ -59,13 +59,13 @@ "ControlName" "CAutoFittingLabel" "fieldName" "DescLabel" "xpos" "0" - "ypos" "5" + "ypos" "7" "wide" "f0" "zpos" "100" "tall" "20" "visible" "1" "enabled" "1" - "font" "HudFontSmallBold" + "font" "HudFontSmall" "fgcolor_override" "White" "textAlignment" "center" "labelText" "%match_type%" diff --git a/resource/ui/matchmakingplaylist.res b/resource/ui/matchmakingplaylist.res new file mode 100644 index 0000000..5232850 --- /dev/null +++ b/resource/ui/matchmakingplaylist.res @@ -0,0 +1,134 @@ +"Resource/UI/MatchMakingDashboardCasualCriteria.res" +{ + "EventEntry" + { + "ControlName" "CEventPlayListEntry" + "fieldName" "EventEntry" + "xpos" "0" + "ypos" "3" + "tall" "50" + "wide" "140" + "proportionaltoparent" "1" + "button_command" "play_event" + } + + "CasualEntry" + { + "ControlName" "CPlayListEntry" + "fieldName" "CasualEntry" + "xpos" "r150" + "ypos" "5" + "tall" "50" + "wide" "140" + "proportionaltoparent" "0" + "image_name" "main_menu/main_menu_button_casual" + "button_token" "#MMenu_PlayList_Casual_Button" + "button_command" "play_casual" + "desc_token" "#MMenu_PlayList_Casual_Desc" + "matchgroup" "7" // k_eTFMatchGroup_Casual_12v12 + } + + "CompetitiveEntry" + { + "ControlName" "CPlayListEntry" + "fieldName" "CompetitiveEntry" + "xpos" "5" + "ypos" "0" + "tall" "24" + "wide" "140" + "proportionaltoparent" "0" + "image_name" "main_menu/main_menu_button_competitive" + "button_token" "#MMenu_PlayList_Competitive_Button" + "button_command" "play_competitive" + "desc_token" "#MMenu_PlayList_Competitive_Desc" + "matchgroup" "2" // k_eTFMatchGroup_Ladder_6v6 + + "pin_to_sibling" "MvMEntry" + "pin_corner_to_sibling" "PIN_TOPRIGHT" + "pin_to_sibling_corner" "PIN_TOPLEFT" + } + + "MvMEntry" + { + "ControlName" "CPlayListEntry" + "fieldName" "MvMEntry" + "xpos" "5" + "ypos" "0" + "tall" "50" + "wide" "140" + "proportionaltoparent" "0" + "image_name" "main_menu/main_menu_button_mvm" + "button_token" "#MMenu_PlayList_MvM_Button" + "button_command" "play_mvm" + "desc_token" "#MMenu_PlayList_MvM_Desc" + "matchgroup" "1" // k_eTFMatchGroup_MvM_MannUp + + "pin_to_sibling" "CasualEntry" + "pin_corner_to_sibling" "PIN_TOPRIGHT" + "pin_to_sibling_corner" "PIN_TOPLEFT" + } + + "ServerBrowserEntry" + { + "ControlName" "CPlayListEntry" + "fieldName" "ServerBrowserEntry" + "xpos" "0" + "ypos" "2" + "tall" "24" + "wide" "140" + "proportionaltoparent" "0" + "image_name" "main_menu/main_menu_button_community_server" + "button_token" "#MMenu_PlayList_ServerBrowser_Button" + "button_command" "play_community" + "desc_token" "#MMenu_PlayList_ServerBrowser_Desc" + + "pin_to_sibling" "CompetitiveEntry" + "pin_corner_to_sibling" "PIN_TOPLEFT" + "pin_to_sibling_corner" "PIN_BOTTOMLEFT" + } + + "TrainingEntry" + { + "ControlName" "CPlayListEntry" + "fieldName" "TrainingEntry" + "xpos" "5" + "ypos" "0" + "tall" "24" + "wide" "140" + "proportionaltoparent" "0" + "image_name" "main_menu/main_menu_button_training" + "button_token" "#MMenu_PlayList_Training_Button" + "button_command" "play_training" + "desc_token" "#MMenu_PlayList_Training_Desc" + + "pin_to_sibling" "CompetitiveEntry" + "pin_corner_to_sibling" "PIN_TOPRIGHT" + "pin_to_sibling_corner" "PIN_TOPLEFT" + } + + "CreateServerEntry" + { + "ControlName" "CPlayListEntry" + "fieldName" "CreateServerEntry" + "xpos" "0" + "ypos" "2" + "tall" "24" + "wide" "140" + "proportionaltoparent" "0" + "image_name" "main_menu/main_menu_button_custom_server" + "button_token" "#MMenu_PlayList_CreateServer_Button" + "button_command" "create_server" + "desc_token" "#MMenu_PlayList_CreateServer_Desc" + + "pin_to_sibling" "TrainingEntry" + "pin_corner_to_sibling" "PIN_TOPLEFT" + "pin_to_sibling_corner" "PIN_BOTTOMLEFT" + } + + "ScrollBar" + { + "ControlName" "ScrollBar" + "FieldName" "ScrollBar" + "xpos" "9999" + } +} \ No newline at end of file diff --git a/resource/ui/matchmakingtooltip.res b/resource/ui/matchmakingtooltip.res new file mode 100644 index 0000000..a049983 --- /dev/null +++ b/resource/ui/matchmakingtooltip.res @@ -0,0 +1,56 @@ +"Resource/UI/MatchMakingTooltip.res" +{ + "TooltipPanel" + { + // "ControlName" "EditablePanel" + "fieldName" "TooltipPanel" + "xpos" "0" + "ypos" "0" + "zpos" "30000" + "wide" "300" + "tall" "100" + "visible" "0" + "PaintBackgroundType" "2" + "border" "ButtonHover" + "bgcolor_override" "DarkGrey" + "mouseinputenabled" "0" + + "TipLabel" + { + "ControlName" "CExLabel" + "fieldName" "TipLabel" + + + if_small + { + "font" "HudFontSmall" + } + + if_medium + { + "font" "HudFontMediumSmall" + } + + if_large + { + "font" "HudFontMedium" + } + + "labelText" "%tiptext%" + "textAlignment" "center" + "xpos" "10" + "ypos" "10" + "zpos" "2" + "wide" "140" + "tall" "30" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "wrap" "1" + "fgcolor_override" "TanLight" + "auto_wide_tocontents" "1" + "auto_tall_tocontents" "1" + } + } +} \ No newline at end of file -- cgit v1.2.3