diff options
| author | ibruton <[email protected]> | 2016-02-11 04:16:21 -0600 |
|---|---|---|
| committer | ibruton <[email protected]> | 2016-02-11 04:16:21 -0600 |
| commit | f7a10bcb766b7a990130b28b81a36d52b1c41950 (patch) | |
| tree | 4b120b8c3a2ff947f7ac178ce1ccdbb85253249b | |
| parent | 825a35625e5294ea53069332e92b6e3366257c41 (diff) | |
Updated matchmaking lobby to be cleaner and meet the current Valve standard
| -rw-r--r-- | minmode/resource/ui/lobbypanel.res | 207 | ||||
| -rw-r--r-- | minmode/resource/ui/matchmakingpanel.res | 566 | ||||
| -rw-r--r-- | resource/ui/lobbypanel.res | 207 | ||||
| -rw-r--r-- | resource/ui/matchmakingpanel.res | 566 |
4 files changed, 1502 insertions, 44 deletions
diff --git a/minmode/resource/ui/lobbypanel.res b/minmode/resource/ui/lobbypanel.res index 17abbb0..2f5b997 100644 --- a/minmode/resource/ui/lobbypanel.res +++ b/minmode/resource/ui/lobbypanel.res @@ -1650,27 +1650,44 @@ "wide" "200" "tall" "20" } - "CompetitiveModeGroupBox" + "CompetitiveModeGroupBox" { "ControlName" "EditablePanel" "fieldName" "CompetitiveModeGroupBox" - "xpos" "c-305" + "xpos" "c-350" "ypos" "10" "zpos" "-1" - "wide" "400" - "tall" "330" + "wide" "f0" + "tall" "470" "visible" "1" "enabled" "1" //"border" "MainMenuHighlightBorder" + "LadderLabel" + { + "ControlName" "CExLabel" + "fieldName" "LadderLabel" + "xpos" "60" + "ypos" "20" + "zpos" "0" + "wide" "50" + "tall" "20" + "visible" "1" + "enabled" "1" + "font" "HudFontSmallestBold" + //"fgcolor_override" "89 81 71 255" + "textAlignment" "west" + "labelText" "LADDER:" + } + // Dropdown "CompetitiveModeComboBox" { "ControlName" "ComboBox" "fieldName" "CompetitiveModeComboBox" "Font" "HudFontSmallestBold" - "xpos" "20" - "ypos" "10" + "xpos" "130" + "ypos" "21" "zpos" "0" "wide" "85" "tall" "15" @@ -1694,16 +1711,119 @@ "defaultSelectionBG2Color_override" "0 0 0 0" } + "RankLabel" + { + "ControlName" "CExLabel" + "fieldName" "RankLabel" + "xpos" "60" + "ypos" "64" + "zpos" "0" + "wide" "100" + "tall" "20" + "visible" "1" + "enabled" "1" + "font" "HudFontSmallestBold" + //"fgcolor_override" "89 81 71 255" + "textAlignment" "west" + "labelText" "RANK:" + } + + "RankIcon" + { + "ControlName" "ImagePanel" + "fieldName" "RankIcon" + "xpos" "130" + "ypos" "90" + "zpos" "0" + "wide" "100" + "tall" "100" + "visible" "1" + "enabled" "1" + "mouseinputenabled" "0" + "image" "pve/mvm_loot_image" + "scaleImage" "1" + } + + "RankTitle" + { + "ControlName" "CExLabel" + "fieldName" "RankTitle" + "xpos" "130" + "ypos" "64" + "zpos" "0" + "wide" "150" + "tall" "20" + "visible" "1" + "enabled" "1" + "font" "HudFontSmallBold" + "fgcolor_override" "Base Color" + "textAlignment" "west" + "labelText" "%ranktitle%" + } + + "LevelLabel" + { + "ControlName" "CExLabel" + "fieldName" "RankLabel" + "xpos" "60" + "ypos" "44" + "zpos" "0" + "wide" "100" + "tall" "20" + "visible" "1" + "enabled" "1" + "font" "HudFontSmallestBold" + //"fgcolor_override" "89 81 71 255" + "textAlignment" "west" + "labelText" "LEVEL:" + } + + "LevelProgress" + { + "ControlName" "CExLabel" + "fieldName" "LevelLabel" + "xpos" "130" + "ypos" "44" + "zpos" "0" + "wide" "20" + "tall" "20" + "visible" "1" + "enabled" "1" + "font" "HudFontSmallBold" + "fgcolor_override" "Base Color" + "textAlignment" "west" + "labelText" "%level%" + } + + "LevelProgressMeter" + { + "ControlName" "ContinuousProgressBar" + "fieldName" "LevelProgressMeter" + "font" "HudFontSmallestBold" + "xpos" "145" + "ypos" "49" + "zpos" "2" + "wide" "90" + "tall" "9" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + } + // Default image "ModeImage" { "ControlName" "ImagePanel" "fieldName" "ModeImage" - "xpos" "5" - "ypos" "30" + "xpos" "85" + "ypos" "75" "zpos" "0" - "wide" "300" - "tall" "300" + "wide" "130" + "tall" "130" "visible" "0" "enabled" "1" "mouseinputenabled" "0" @@ -1715,34 +1835,77 @@ { "ControlName" "CLadderLobbyLeaderboard" "fieldName" "Leaderboard6v6" - "xpos" "0" - "ypos" "30" + "xpos" "c-20" + "ypos" "20" "zpos" "0" - "wide" "300" + "wide" "350" "tall" "300" "visible" "1" "enabled" "1" - "mouseinputenabled" "0" - "image" "main_menu/meta_cityonfire512" + "mouseinputenabled" "1" "scaleImage" "1" - "entry_step" "25" + "entry_step" "24" } "Leaderboard9v9" { "ControlName" "CLadderLobbyLeaderboard" "fieldName" "Leaderboard9v9" - "xpos" "0" - "ypos" "30" + "xpos" "c-20" + "ypos" "20" "zpos" "0" - "wide" "300" + "wide" "350" "tall" "300" "visible" "1" "enabled" "1" - "mouseinputenabled" "0" - "image" "main_menu/meta_cityonfire512" + "mouseinputenabled" "1" "scaleImage" "1" - "entry_step" "25" + "entry_step" "24" + } + + "StatsLabel" + { + "ControlName" "CExLabel" + "fieldName" "StatsLabel" + "xpos" "55" + "ypos" "195" + "zpos" "0" + "wide" "245" + "tall" "24" + "visible" "1" + "enabled" "1" + "font" "Cerbetica24" + "fgcolor_override" "TanLight" + "textAlignment" "center" + "labelText" "Stats" + } + + "StatLine" + { + "ControlName" "EditablePanel" + "fieldName" "StatLine" + "xpos" "p0.05" + "ypos" "215" + "zpos" "1" + "wide" "240" + "tall" "2" + "visible" "0" + "proportionaltoparent" "1" + "bgcolor_override" "89 81 71 255" + } + + "StatList" + { + "ControlName" "SectionedListPanel" + "fieldName" "StatList" + "xpos" "55" + "ypos" "210" + "zpos" "0" + "wide" "245" + "tall" "150" + "autoresize" "3" + "linespacing" "16" + "bgcolor_override" "46 43 42 0" } } } diff --git a/minmode/resource/ui/matchmakingpanel.res b/minmode/resource/ui/matchmakingpanel.res new file mode 100644 index 0000000..91773fc --- /dev/null +++ b/minmode/resource/ui/matchmakingpanel.res @@ -0,0 +1,566 @@ +"Resource/UI/econ/MatchMakingPanel.res" +{ + "MatchMaking" + { + "ControlName" "CMatchMakingPanel" + "fieldName" "MatchMaking" + "xpos" "c5" + "ypos" "65" + "zpos" "1" + "wide" "350" + "tall" "375" + "visible" "0" + "enabled" "1" + "proportionaltoparent" "1" + } + + "MainContainer" + { + "ControlName" "EditablePanel" + "fieldName" "MainContainer" + "xpos" "40" + "ypos" "0" + "zpos" "10" + "wide" "f0" + "tall" "p0.9" + "proportionaltoparent" "1" + "visible" "1" + "enabled" "1" + "border" "MainMenuBGBorder" + + "UpperLine" + { + "ControlName" "EditablePanel" + "fieldName" "UpperLine" + "xpos" "cs-0.5" + "ypos" "30" + "zpos" "50" + "wide" "p0.987" + "tall" "1" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "bgcolor_override" "255 255 255 252" + "proportionaltoparent" "1" + } + + "QuestLogTitle" + { + "ControlName" "CExLabel" + "fieldName" "QuestLogTitle" + "font" "HudFontSmallBold" + "labelText" "#TF_Matchmaking_Title" + "textAlignment" "north-west" + "xpos" "105" + "ypos" "10" + "zpos" "2" + "wide" "f0" + "tall" "30" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "wrap" "0" + "proportionaltoparent" "1" + "fgcolor" "TanLight" + } + + "CompetitiveModeGroupBox" + { + "ControlName" "EditablePanel" + "fieldName" "CompetitiveModeGroupBox" + "xpos" "cs-0.5" + "ypos" "10" + "zpos" "2" + "wide" "f0" + "tall" "f0" + "visible" "1" + "enabled" "1" + //"border" "MainMenuHighlightBorder" + + "LadderLabel" + { + "ControlName" "CExLabel" + "fieldName" "LadderLabel" + "xpos" "20" + "ypos" "35" + "zpos" "2" + "wide" "50" + "tall" "20" + "visible" "1" + "enabled" "1" + "font" "HudFontSmallestBold" + //"fgcolor_override" "89 81 71 255" + "textAlignment" "west" + "labelText" "MODE:" + } + + // Dropdown + "ModeComboBox" + { + "ControlName" "ComboBox" + "fieldName" "ModeComboBox" + "Font" "HudFontSmallestBold" + "xpos" "62" + "ypos" "36" + "zpos" "2" + "wide" "85" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "textHidden" "0" + "editable" "0" + "maxchars" "-1" + "NumericInputOnly" "0" + "unicode" "0" + "default" "0" + + "fgcolor_override" "235 226 202 255" + "bgcolor_override" "0 0 0 0" + "disabledFgColor_override" "235 226 202 255" + "disabledBgColor_override" "0 0 0 0" + "selectionColor_override" "0 0 0 0" + "selectionTextColor_override" "235 226 202 255" + "defaultSelectionBG2Color_override" "0 0 0 0" + } + + "SearchButton" + { + "ControlName" "CExImageButton" + "fieldName" "SearchButton" + "xpos" "70" + "ypos" "295" + "zpos" "2" + "wide" "160" + "tall" "25" + "autoResize" "0" + //"pinCorner" "3" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "font" "HudFontSmallBold" + "textAlignment" "center" + "labelText" "#TF_Matchmaking_StartSearch" + "dulltext" "0" + "brighttext" "0" + "Command" "search" + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + } + + "StopSearchButton" + { + "ControlName" "CExButton" + "fieldName" "StopSearchButton" + "xpos" "70" + "ypos" "295" + "zpos" "2" + "wide" "160" + "tall" "25" + "autoResize" "0" + "pinCorner" "3" + "visible" "0" + "enabled" "1" + "tabPosition" "0" + "font" "HudFontSmallBold" + "textAlignment" "center" + "labelText" "#TF_Matchmaking_CancelSearch" + "dulltext" "0" + "brighttext" "0" + "Command" "stopsearch" + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + } + } + + "SearchActiveGroupBox" + { + "ControlName" "EditablePanel" + "fieldName" "SearchActiveGroupBox" + "xpos" "c-170" + "ypos" "35" + "zpos" "-1" + "wide" "300" + "tall" "265" + "visible" "0" + "PaintBackgroundType" "0" + "paintbackground" "1" + "bgcolor_override" "0 0 0 200" + "border" "QuickplayBorder" + "proportionaltoparent" "1" + + "SearchActiveTitle" + { + "ControlName" "CExLabel" + "fieldName" "SearchActiveTitle" + "font" "HudFontMediumBold" + "labelText" "#TF_Matchmaking_Searching" + "xpos" "30" + "ypos" "20" + "zpos" "2" + "wide" "340" + "tall" "40" + "textAlignment" "north-west" + "visible" "1" + "enabled" "1" + "proportionaltoparent" "1" + } + + "NearbyColumnHead" + { + "ControlName" "CExLabel" + "fieldName" "NearbyColumnHead" + "font" "HudFontSmall" + "labelText" "#TF_Matchmaking_Nearby" + "xpos" "190" + "ypos" "50" + "zpos" "2" + "wide" "90" + "tall" "20" + "textAlignment" "south-east" + "visible" "1" + "enabled" "1" + } + + "WorldwideColumnHead" + { + "ControlName" "CExLabel" + "fieldName" "WorldwideColumnHead" + "font" "HudFontSmall" + "labelText" "#TF_Matchmaking_Worldwide" + "xpos" "280" + "ypos" "50" + "zpos" "2" + "wide" "90" + "tall" "20" + "textAlignment" "south-east" + "visible" "1" + "enabled" "1" + } + + "PlayersInGameLabel" + { + "ControlName" "CExLabel" + "fieldName" "PlayersInGameLabel" + "font" "HudFontSmallBold" + "labelText" "#TF_Matchmaking_ActivePlayers" + "xpos" "30" + "ypos" "70" + "zpos" "2" + "wide" "300" + "tall" "20" + "textAlignment" "north-west" + "visible" "1" + "enabled" "1" + } + + "PlayersInGameTotalLabel" + { + "ControlName" "CExLabel" + "fieldName" "PlayersInGameTotalLabel" + "font" "HudFontSmall" + "labelText" "#TF_Matchmaking_Total" + "xpos" "60" + "ypos" "90" + "zpos" "2" + "wide" "130" + "tall" "20" + "textAlignment" "north-west" + "visible" "1" + "enabled" "1" + } + + "PlayersInGameTotalNearbyValue" + { + "ControlName" "CExLabel" + "fieldName" "PlayersInGameTotalNearbyValue" + "font" "HudFontSmall" + "xpos" "190" + "ypos" "90" + "zpos" "2" + "wide" "90" + "tall" "20" + "textAlignment" "north-east" + "visible" "1" + "enabled" "1" + "labelText" "?" + } + + "PlayersInGameTotalWorldwideValue" + { + "ControlName" "CExLabel" + "fieldName" "PlayersInGameTotalWorldwideValue" + "font" "HudFontSmall" + "xpos" "180" + "ypos" "90" + "zpos" "2" + "wide" "90" + "tall" "20" + "textAlignment" "north-east" + "visible" "1" + "enabled" "1" + "labelText" "?" + } + + "PlayersInGameMatchingLabel" + { + "ControlName" "CExLabel" + "fieldName" "PlayersInGameMatchingLabel" + "font" "HudFontSmall" + "labelText" "#TF_Matchmaking_Compatible" + "xpos" "60" + "ypos" "110" + "zpos" "2" + "wide" "130" + "tall" "20" + "textAlignment" "north-west" + "visible" "1" + "enabled" "1" + } + + "PlayersInGameMatchingNearbyValue" + { + "ControlName" "CExLabel" + "fieldName" "PlayersInGameMatchingNearbyValue" + "font" "HudFontSmall" + "xpos" "190" + "ypos" "110" + "zpos" "2" + "wide" "90" + "tall" "20" + "textAlignment" "north-east" + "visible" "1" + "enabled" "1" + "labelText" "?" + } + + "PlayersInGameMatchingWorldwideValue" + { + "ControlName" "CExLabel" + "fieldName" "PlayersInGameMatchingWorldwideValue" + "font" "HudFontSmall" + "xpos" "180" + "ypos" "110" + "zpos" "2" + "wide" "90" + "tall" "20" + "textAlignment" "north-east" + "visible" "1" + "enabled" "1" + "labelText" "?" + } + + "PlayersSearchingLabel" + { + "ControlName" "CExLabel" + "fieldName" "PlayersSearchingLabel" + "font" "HudFontSmallBold" + "labelText" "#TF_Matchmaking_SearchingPlayers" + "xpos" "30" + "ypos" "140" + "zpos" "2" + "wide" "300" + "tall" "20" + "textAlignment" "north-west" + "visible" "1" + "enabled" "1" + } + + "PlayersSearchingTotalLabel" + { + "ControlName" "CExLabel" + "fieldName" "PlayersSearchingTotalLabel" + "font" "HudFontSmall" + "labelText" "#TF_Matchmaking_Total" + "xpos" "60" + "ypos" "160" + "zpos" "2" + "wide" "130" + "tall" "20" + "textAlignment" "north-west" + "visible" "1" + "enabled" "1" + } + + "PlayersSearchingTotalNearbyValue" + { + "ControlName" "CExLabel" + "fieldName" "PlayersSearchingTotalNearbyValue" + "font" "HudFontSmall" + "xpos" "190" + "ypos" "160" + "zpos" "2" + "wide" "90" + "tall" "20" + "textAlignment" "north-east" + "visible" "1" + "enabled" "1" + "labelText" "?" + } + + "PlayersSearchingTotalWorldwideValue" + { + "ControlName" "CExLabel" + "fieldName" "PlayersSearchingTotalWorldwideValue" + "font" "HudFontSmall" + "xpos" "180" + "ypos" "160" + "zpos" "2" + "wide" "90" + "tall" "20" + "textAlignment" "north-east" + "visible" "1" + "enabled" "1" + "labelText" "?" + } + + "PlayersSearchingMatchingLabel" + { + "ControlName" "CExLabel" + "fieldName" "PlayersSearchingMatchingLabel" + "font" "HudFontSmall" + "labelText" "#TF_Matchmaking_Compatible" + "xpos" "60" + "ypos" "180" + "zpos" "2" + "wide" "130" + "tall" "20" + "textAlignment" "north-west" + "visible" "1" + "enabled" "1" + } + + "PlayersSearchingMatchingNearbyValue" + { + "ControlName" "CExLabel" + "fieldName" "PlayersSearchingMatchingNearbyValue" + "font" "HudFontSmall" + "xpos" "190" + "ypos" "180" + "zpos" "2" + "wide" "90" + "tall" "20" + "textAlignment" "north-east" + "visible" "1" + "enabled" "1" + "labelText" "?" + } + + "PlayersSearchingMatchingWorldwideValue" + { + "ControlName" "CExLabel" + "fieldName" "PlayersSearchingMatchingWorldwideValue" + "font" "HudFontSmall" + "xpos" "180" + "ypos" "180" + "zpos" "2" + "wide" "90" + "tall" "20" + "textAlignment" "north-east" + "visible" "1" + "enabled" "1" + "labelText" "?" + } + + "EmptyGameserversLabel" + { + "ControlName" "CExLabel" + "fieldName" "EmptyGameserversLabel" + "font" "HudFontSmallBold" + "labelText" "#TF_Matchmaking_EmptyGameservers" + "xpos" "30" + "ypos" "210" + "zpos" "2" + "wide" "300" + "tall" "20" + "textAlignment" "north-west" + "visible" "1" + "enabled" "1" + } + + "EmptyGameserversMatchingNearbyValue" + { + "ControlName" "CExLabel" + "fieldName" "EmptyGameserversMatchingNearbyValue" + "font" "HudFontSmall" + "xpos" "190" + "ypos" "210" + "zpos" "2" + "wide" "90" + "tall" "20" + "textAlignment" "north-east" + "visible" "1" + "enabled" "1" + "labelText" "?" + } + + "EmptyGameserversMatchingWorldwideValue" + { + "ControlName" "CExLabel" + "fieldName" "EmptyGameserversMatchingWorldwideValue" + "font" "HudFontSmall" + "xpos" "180" + "ypos" "210" + "zpos" "2" + "wide" "90" + "tall" "20" + "textAlignment" "north-east" + "visible" "1" + "enabled" "1" + "labelText" "?" + } + + "PartyHasLeaverGroupBox" + { + "ControlName" "EditablePanel" + "fieldName" "PartyHasLeaverGroupBox" + "xpos" "30" + "ypos" "250" + "zpos" "2" + "wide" "340" + "tall" "60" + "visible" "0" + "enabled" "1" + + "PartyHasLeaverImage" + { + "ControlName" "ImagePanel" + "fieldName" "PartyHasLeaverImage" + "xpos" "0" + "ypos" "5" + "zpos" "0" + "wide" "50" + "tall" "50" + "visible" "1" + "enabled" "1" + "mouseinputenabled" "0" + "image" "pve/mvm_timeout_active_large" + "scaleImage" "1" + } + + "PartyHasLeaverLabel" + { + "ControlName" "CExLabel" + "fieldName" "PartyHasLeaverLabel" + "font" "HudFontSmall" + "labelText" "#TF_Matchmaking_PartyPenalty" + "xpos" "60" + "ypos" "0" + "zpos" "2" + "wide" "275" + "tall" "60" + "textAlignment" "west" + "visible" "1" + "enabled" "1" + "wrap" "1" + "fgcolor_override" "250 114 45 255" + } + + } + } + } +} diff --git a/resource/ui/lobbypanel.res b/resource/ui/lobbypanel.res index 17abbb0..2f5b997 100644 --- a/resource/ui/lobbypanel.res +++ b/resource/ui/lobbypanel.res @@ -1650,27 +1650,44 @@ "wide" "200" "tall" "20" } - "CompetitiveModeGroupBox" + "CompetitiveModeGroupBox" { "ControlName" "EditablePanel" "fieldName" "CompetitiveModeGroupBox" - "xpos" "c-305" + "xpos" "c-350" "ypos" "10" "zpos" "-1" - "wide" "400" - "tall" "330" + "wide" "f0" + "tall" "470" "visible" "1" "enabled" "1" //"border" "MainMenuHighlightBorder" + "LadderLabel" + { + "ControlName" "CExLabel" + "fieldName" "LadderLabel" + "xpos" "60" + "ypos" "20" + "zpos" "0" + "wide" "50" + "tall" "20" + "visible" "1" + "enabled" "1" + "font" "HudFontSmallestBold" + //"fgcolor_override" "89 81 71 255" + "textAlignment" "west" + "labelText" "LADDER:" + } + // Dropdown "CompetitiveModeComboBox" { "ControlName" "ComboBox" "fieldName" "CompetitiveModeComboBox" "Font" "HudFontSmallestBold" - "xpos" "20" - "ypos" "10" + "xpos" "130" + "ypos" "21" "zpos" "0" "wide" "85" "tall" "15" @@ -1694,16 +1711,119 @@ "defaultSelectionBG2Color_override" "0 0 0 0" } + "RankLabel" + { + "ControlName" "CExLabel" + "fieldName" "RankLabel" + "xpos" "60" + "ypos" "64" + "zpos" "0" + "wide" "100" + "tall" "20" + "visible" "1" + "enabled" "1" + "font" "HudFontSmallestBold" + //"fgcolor_override" "89 81 71 255" + "textAlignment" "west" + "labelText" "RANK:" + } + + "RankIcon" + { + "ControlName" "ImagePanel" + "fieldName" "RankIcon" + "xpos" "130" + "ypos" "90" + "zpos" "0" + "wide" "100" + "tall" "100" + "visible" "1" + "enabled" "1" + "mouseinputenabled" "0" + "image" "pve/mvm_loot_image" + "scaleImage" "1" + } + + "RankTitle" + { + "ControlName" "CExLabel" + "fieldName" "RankTitle" + "xpos" "130" + "ypos" "64" + "zpos" "0" + "wide" "150" + "tall" "20" + "visible" "1" + "enabled" "1" + "font" "HudFontSmallBold" + "fgcolor_override" "Base Color" + "textAlignment" "west" + "labelText" "%ranktitle%" + } + + "LevelLabel" + { + "ControlName" "CExLabel" + "fieldName" "RankLabel" + "xpos" "60" + "ypos" "44" + "zpos" "0" + "wide" "100" + "tall" "20" + "visible" "1" + "enabled" "1" + "font" "HudFontSmallestBold" + //"fgcolor_override" "89 81 71 255" + "textAlignment" "west" + "labelText" "LEVEL:" + } + + "LevelProgress" + { + "ControlName" "CExLabel" + "fieldName" "LevelLabel" + "xpos" "130" + "ypos" "44" + "zpos" "0" + "wide" "20" + "tall" "20" + "visible" "1" + "enabled" "1" + "font" "HudFontSmallBold" + "fgcolor_override" "Base Color" + "textAlignment" "west" + "labelText" "%level%" + } + + "LevelProgressMeter" + { + "ControlName" "ContinuousProgressBar" + "fieldName" "LevelProgressMeter" + "font" "HudFontSmallestBold" + "xpos" "145" + "ypos" "49" + "zpos" "2" + "wide" "90" + "tall" "9" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + } + // Default image "ModeImage" { "ControlName" "ImagePanel" "fieldName" "ModeImage" - "xpos" "5" - "ypos" "30" + "xpos" "85" + "ypos" "75" "zpos" "0" - "wide" "300" - "tall" "300" + "wide" "130" + "tall" "130" "visible" "0" "enabled" "1" "mouseinputenabled" "0" @@ -1715,34 +1835,77 @@ { "ControlName" "CLadderLobbyLeaderboard" "fieldName" "Leaderboard6v6" - "xpos" "0" - "ypos" "30" + "xpos" "c-20" + "ypos" "20" "zpos" "0" - "wide" "300" + "wide" "350" "tall" "300" "visible" "1" "enabled" "1" - "mouseinputenabled" "0" - "image" "main_menu/meta_cityonfire512" + "mouseinputenabled" "1" "scaleImage" "1" - "entry_step" "25" + "entry_step" "24" } "Leaderboard9v9" { "ControlName" "CLadderLobbyLeaderboard" "fieldName" "Leaderboard9v9" - "xpos" "0" - "ypos" "30" + "xpos" "c-20" + "ypos" "20" "zpos" "0" - "wide" "300" + "wide" "350" "tall" "300" "visible" "1" "enabled" "1" - "mouseinputenabled" "0" - "image" "main_menu/meta_cityonfire512" + "mouseinputenabled" "1" "scaleImage" "1" - "entry_step" "25" + "entry_step" "24" + } + + "StatsLabel" + { + "ControlName" "CExLabel" + "fieldName" "StatsLabel" + "xpos" "55" + "ypos" "195" + "zpos" "0" + "wide" "245" + "tall" "24" + "visible" "1" + "enabled" "1" + "font" "Cerbetica24" + "fgcolor_override" "TanLight" + "textAlignment" "center" + "labelText" "Stats" + } + + "StatLine" + { + "ControlName" "EditablePanel" + "fieldName" "StatLine" + "xpos" "p0.05" + "ypos" "215" + "zpos" "1" + "wide" "240" + "tall" "2" + "visible" "0" + "proportionaltoparent" "1" + "bgcolor_override" "89 81 71 255" + } + + "StatList" + { + "ControlName" "SectionedListPanel" + "fieldName" "StatList" + "xpos" "55" + "ypos" "210" + "zpos" "0" + "wide" "245" + "tall" "150" + "autoresize" "3" + "linespacing" "16" + "bgcolor_override" "46 43 42 0" } } } diff --git a/resource/ui/matchmakingpanel.res b/resource/ui/matchmakingpanel.res new file mode 100644 index 0000000..91773fc --- /dev/null +++ b/resource/ui/matchmakingpanel.res @@ -0,0 +1,566 @@ +"Resource/UI/econ/MatchMakingPanel.res" +{ + "MatchMaking" + { + "ControlName" "CMatchMakingPanel" + "fieldName" "MatchMaking" + "xpos" "c5" + "ypos" "65" + "zpos" "1" + "wide" "350" + "tall" "375" + "visible" "0" + "enabled" "1" + "proportionaltoparent" "1" + } + + "MainContainer" + { + "ControlName" "EditablePanel" + "fieldName" "MainContainer" + "xpos" "40" + "ypos" "0" + "zpos" "10" + "wide" "f0" + "tall" "p0.9" + "proportionaltoparent" "1" + "visible" "1" + "enabled" "1" + "border" "MainMenuBGBorder" + + "UpperLine" + { + "ControlName" "EditablePanel" + "fieldName" "UpperLine" + "xpos" "cs-0.5" + "ypos" "30" + "zpos" "50" + "wide" "p0.987" + "tall" "1" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "bgcolor_override" "255 255 255 252" + "proportionaltoparent" "1" + } + + "QuestLogTitle" + { + "ControlName" "CExLabel" + "fieldName" "QuestLogTitle" + "font" "HudFontSmallBold" + "labelText" "#TF_Matchmaking_Title" + "textAlignment" "north-west" + "xpos" "105" + "ypos" "10" + "zpos" "2" + "wide" "f0" + "tall" "30" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "wrap" "0" + "proportionaltoparent" "1" + "fgcolor" "TanLight" + } + + "CompetitiveModeGroupBox" + { + "ControlName" "EditablePanel" + "fieldName" "CompetitiveModeGroupBox" + "xpos" "cs-0.5" + "ypos" "10" + "zpos" "2" + "wide" "f0" + "tall" "f0" + "visible" "1" + "enabled" "1" + //"border" "MainMenuHighlightBorder" + + "LadderLabel" + { + "ControlName" "CExLabel" + "fieldName" "LadderLabel" + "xpos" "20" + "ypos" "35" + "zpos" "2" + "wide" "50" + "tall" "20" + "visible" "1" + "enabled" "1" + "font" "HudFontSmallestBold" + //"fgcolor_override" "89 81 71 255" + "textAlignment" "west" + "labelText" "MODE:" + } + + // Dropdown + "ModeComboBox" + { + "ControlName" "ComboBox" + "fieldName" "ModeComboBox" + "Font" "HudFontSmallestBold" + "xpos" "62" + "ypos" "36" + "zpos" "2" + "wide" "85" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "textHidden" "0" + "editable" "0" + "maxchars" "-1" + "NumericInputOnly" "0" + "unicode" "0" + "default" "0" + + "fgcolor_override" "235 226 202 255" + "bgcolor_override" "0 0 0 0" + "disabledFgColor_override" "235 226 202 255" + "disabledBgColor_override" "0 0 0 0" + "selectionColor_override" "0 0 0 0" + "selectionTextColor_override" "235 226 202 255" + "defaultSelectionBG2Color_override" "0 0 0 0" + } + + "SearchButton" + { + "ControlName" "CExImageButton" + "fieldName" "SearchButton" + "xpos" "70" + "ypos" "295" + "zpos" "2" + "wide" "160" + "tall" "25" + "autoResize" "0" + //"pinCorner" "3" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "font" "HudFontSmallBold" + "textAlignment" "center" + "labelText" "#TF_Matchmaking_StartSearch" + "dulltext" "0" + "brighttext" "0" + "Command" "search" + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + } + + "StopSearchButton" + { + "ControlName" "CExButton" + "fieldName" "StopSearchButton" + "xpos" "70" + "ypos" "295" + "zpos" "2" + "wide" "160" + "tall" "25" + "autoResize" "0" + "pinCorner" "3" + "visible" "0" + "enabled" "1" + "tabPosition" "0" + "font" "HudFontSmallBold" + "textAlignment" "center" + "labelText" "#TF_Matchmaking_CancelSearch" + "dulltext" "0" + "brighttext" "0" + "Command" "stopsearch" + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + } + } + + "SearchActiveGroupBox" + { + "ControlName" "EditablePanel" + "fieldName" "SearchActiveGroupBox" + "xpos" "c-170" + "ypos" "35" + "zpos" "-1" + "wide" "300" + "tall" "265" + "visible" "0" + "PaintBackgroundType" "0" + "paintbackground" "1" + "bgcolor_override" "0 0 0 200" + "border" "QuickplayBorder" + "proportionaltoparent" "1" + + "SearchActiveTitle" + { + "ControlName" "CExLabel" + "fieldName" "SearchActiveTitle" + "font" "HudFontMediumBold" + "labelText" "#TF_Matchmaking_Searching" + "xpos" "30" + "ypos" "20" + "zpos" "2" + "wide" "340" + "tall" "40" + "textAlignment" "north-west" + "visible" "1" + "enabled" "1" + "proportionaltoparent" "1" + } + + "NearbyColumnHead" + { + "ControlName" "CExLabel" + "fieldName" "NearbyColumnHead" + "font" "HudFontSmall" + "labelText" "#TF_Matchmaking_Nearby" + "xpos" "190" + "ypos" "50" + "zpos" "2" + "wide" "90" + "tall" "20" + "textAlignment" "south-east" + "visible" "1" + "enabled" "1" + } + + "WorldwideColumnHead" + { + "ControlName" "CExLabel" + "fieldName" "WorldwideColumnHead" + "font" "HudFontSmall" + "labelText" "#TF_Matchmaking_Worldwide" + "xpos" "280" + "ypos" "50" + "zpos" "2" + "wide" "90" + "tall" "20" + "textAlignment" "south-east" + "visible" "1" + "enabled" "1" + } + + "PlayersInGameLabel" + { + "ControlName" "CExLabel" + "fieldName" "PlayersInGameLabel" + "font" "HudFontSmallBold" + "labelText" "#TF_Matchmaking_ActivePlayers" + "xpos" "30" + "ypos" "70" + "zpos" "2" + "wide" "300" + "tall" "20" + "textAlignment" "north-west" + "visible" "1" + "enabled" "1" + } + + "PlayersInGameTotalLabel" + { + "ControlName" "CExLabel" + "fieldName" "PlayersInGameTotalLabel" + "font" "HudFontSmall" + "labelText" "#TF_Matchmaking_Total" + "xpos" "60" + "ypos" "90" + "zpos" "2" + "wide" "130" + "tall" "20" + "textAlignment" "north-west" + "visible" "1" + "enabled" "1" + } + + "PlayersInGameTotalNearbyValue" + { + "ControlName" "CExLabel" + "fieldName" "PlayersInGameTotalNearbyValue" + "font" "HudFontSmall" + "xpos" "190" + "ypos" "90" + "zpos" "2" + "wide" "90" + "tall" "20" + "textAlignment" "north-east" + "visible" "1" + "enabled" "1" + "labelText" "?" + } + + "PlayersInGameTotalWorldwideValue" + { + "ControlName" "CExLabel" + "fieldName" "PlayersInGameTotalWorldwideValue" + "font" "HudFontSmall" + "xpos" "180" + "ypos" "90" + "zpos" "2" + "wide" "90" + "tall" "20" + "textAlignment" "north-east" + "visible" "1" + "enabled" "1" + "labelText" "?" + } + + "PlayersInGameMatchingLabel" + { + "ControlName" "CExLabel" + "fieldName" "PlayersInGameMatchingLabel" + "font" "HudFontSmall" + "labelText" "#TF_Matchmaking_Compatible" + "xpos" "60" + "ypos" "110" + "zpos" "2" + "wide" "130" + "tall" "20" + "textAlignment" "north-west" + "visible" "1" + "enabled" "1" + } + + "PlayersInGameMatchingNearbyValue" + { + "ControlName" "CExLabel" + "fieldName" "PlayersInGameMatchingNearbyValue" + "font" "HudFontSmall" + "xpos" "190" + "ypos" "110" + "zpos" "2" + "wide" "90" + "tall" "20" + "textAlignment" "north-east" + "visible" "1" + "enabled" "1" + "labelText" "?" + } + + "PlayersInGameMatchingWorldwideValue" + { + "ControlName" "CExLabel" + "fieldName" "PlayersInGameMatchingWorldwideValue" + "font" "HudFontSmall" + "xpos" "180" + "ypos" "110" + "zpos" "2" + "wide" "90" + "tall" "20" + "textAlignment" "north-east" + "visible" "1" + "enabled" "1" + "labelText" "?" + } + + "PlayersSearchingLabel" + { + "ControlName" "CExLabel" + "fieldName" "PlayersSearchingLabel" + "font" "HudFontSmallBold" + "labelText" "#TF_Matchmaking_SearchingPlayers" + "xpos" "30" + "ypos" "140" + "zpos" "2" + "wide" "300" + "tall" "20" + "textAlignment" "north-west" + "visible" "1" + "enabled" "1" + } + + "PlayersSearchingTotalLabel" + { + "ControlName" "CExLabel" + "fieldName" "PlayersSearchingTotalLabel" + "font" "HudFontSmall" + "labelText" "#TF_Matchmaking_Total" + "xpos" "60" + "ypos" "160" + "zpos" "2" + "wide" "130" + "tall" "20" + "textAlignment" "north-west" + "visible" "1" + "enabled" "1" + } + + "PlayersSearchingTotalNearbyValue" + { + "ControlName" "CExLabel" + "fieldName" "PlayersSearchingTotalNearbyValue" + "font" "HudFontSmall" + "xpos" "190" + "ypos" "160" + "zpos" "2" + "wide" "90" + "tall" "20" + "textAlignment" "north-east" + "visible" "1" + "enabled" "1" + "labelText" "?" + } + + "PlayersSearchingTotalWorldwideValue" + { + "ControlName" "CExLabel" + "fieldName" "PlayersSearchingTotalWorldwideValue" + "font" "HudFontSmall" + "xpos" "180" + "ypos" "160" + "zpos" "2" + "wide" "90" + "tall" "20" + "textAlignment" "north-east" + "visible" "1" + "enabled" "1" + "labelText" "?" + } + + "PlayersSearchingMatchingLabel" + { + "ControlName" "CExLabel" + "fieldName" "PlayersSearchingMatchingLabel" + "font" "HudFontSmall" + "labelText" "#TF_Matchmaking_Compatible" + "xpos" "60" + "ypos" "180" + "zpos" "2" + "wide" "130" + "tall" "20" + "textAlignment" "north-west" + "visible" "1" + "enabled" "1" + } + + "PlayersSearchingMatchingNearbyValue" + { + "ControlName" "CExLabel" + "fieldName" "PlayersSearchingMatchingNearbyValue" + "font" "HudFontSmall" + "xpos" "190" + "ypos" "180" + "zpos" "2" + "wide" "90" + "tall" "20" + "textAlignment" "north-east" + "visible" "1" + "enabled" "1" + "labelText" "?" + } + + "PlayersSearchingMatchingWorldwideValue" + { + "ControlName" "CExLabel" + "fieldName" "PlayersSearchingMatchingWorldwideValue" + "font" "HudFontSmall" + "xpos" "180" + "ypos" "180" + "zpos" "2" + "wide" "90" + "tall" "20" + "textAlignment" "north-east" + "visible" "1" + "enabled" "1" + "labelText" "?" + } + + "EmptyGameserversLabel" + { + "ControlName" "CExLabel" + "fieldName" "EmptyGameserversLabel" + "font" "HudFontSmallBold" + "labelText" "#TF_Matchmaking_EmptyGameservers" + "xpos" "30" + "ypos" "210" + "zpos" "2" + "wide" "300" + "tall" "20" + "textAlignment" "north-west" + "visible" "1" + "enabled" "1" + } + + "EmptyGameserversMatchingNearbyValue" + { + "ControlName" "CExLabel" + "fieldName" "EmptyGameserversMatchingNearbyValue" + "font" "HudFontSmall" + "xpos" "190" + "ypos" "210" + "zpos" "2" + "wide" "90" + "tall" "20" + "textAlignment" "north-east" + "visible" "1" + "enabled" "1" + "labelText" "?" + } + + "EmptyGameserversMatchingWorldwideValue" + { + "ControlName" "CExLabel" + "fieldName" "EmptyGameserversMatchingWorldwideValue" + "font" "HudFontSmall" + "xpos" "180" + "ypos" "210" + "zpos" "2" + "wide" "90" + "tall" "20" + "textAlignment" "north-east" + "visible" "1" + "enabled" "1" + "labelText" "?" + } + + "PartyHasLeaverGroupBox" + { + "ControlName" "EditablePanel" + "fieldName" "PartyHasLeaverGroupBox" + "xpos" "30" + "ypos" "250" + "zpos" "2" + "wide" "340" + "tall" "60" + "visible" "0" + "enabled" "1" + + "PartyHasLeaverImage" + { + "ControlName" "ImagePanel" + "fieldName" "PartyHasLeaverImage" + "xpos" "0" + "ypos" "5" + "zpos" "0" + "wide" "50" + "tall" "50" + "visible" "1" + "enabled" "1" + "mouseinputenabled" "0" + "image" "pve/mvm_timeout_active_large" + "scaleImage" "1" + } + + "PartyHasLeaverLabel" + { + "ControlName" "CExLabel" + "fieldName" "PartyHasLeaverLabel" + "font" "HudFontSmall" + "labelText" "#TF_Matchmaking_PartyPenalty" + "xpos" "60" + "ypos" "0" + "zpos" "2" + "wide" "275" + "tall" "60" + "textAlignment" "west" + "visible" "1" + "enabled" "1" + "wrap" "1" + "fgcolor_override" "250 114 45 255" + } + + } + } + } +} |
