summaryrefslogtreecommitdiff
path: root/resource/ui
diff options
context:
space:
mode:
authorCriticalFlaw <[email protected]>2018-07-08 15:41:38 -0400
committerCriticalFlaw <[email protected]>2018-07-08 15:41:38 -0400
commit29e5aed51cd50bbb04ed62ebac6f1a0538d19dff (patch)
treef2481bdca685fc3cd9540c0a7031d9b09149db5f /resource/ui
parentec034378792ce416d9502513ea9b0d757b9f54c0 (diff)
Updated the Main Menu
- Moved out files from materials/vgui/replay/thumbnails/buttons - Removed the Create a Server button - Added the Request a Coach button - Fixed the Competitive MMR value not being positioned properly - Fixed the woo_tree.wav file not being played
Diffstat (limited to 'resource/ui')
-rw-r--r--resource/ui/MainMenuOverride.res55
-rw-r--r--resource/ui/compstats.res370
2 files changed, 398 insertions, 27 deletions
diff --git a/resource/ui/MainMenuOverride.res b/resource/ui/MainMenuOverride.res
index 59b7be0..562deae 100644
--- a/resource/ui/MainMenuOverride.res
+++ b/resource/ui/MainMenuOverride.res
@@ -11,7 +11,6 @@
"wide" "f0"
"tall" "f0"
- // "bgcolor_override" "0 0 0 100"
"update_url" "http://store.steampowered.com/news/?filter=updates&appids=440"
"blog_url" "http://www.teamfortress.com/"
@@ -216,6 +215,8 @@
"brighttext" "0"
"default" "1"
"paintbackground""0"
+ "sound_depressed" ""
+ "sound_released" "UI/wooo_tree.wav"
"defaultFgColor_override" "TanLight"
"armedFgColor_override" "Button Color"
@@ -244,8 +245,8 @@
{
//"ControlName" "ImagePanel"
"fieldName" "TFCharacterImage"
- "xpos" "9999"
- "ypos" "9999"
+ "xpos" "9999"
+ "ypos" "9999"
"zpos" "-99"
"wide" "600"
"tall" "600"
@@ -300,7 +301,7 @@
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
- "paintbackground" "1"
+ "paintbackground" "0"
"paintborder" "0"
"image_drawcolor" "235 226 202 255"
"image_armedcolor" "255 255 255 255"
@@ -365,7 +366,7 @@
"fieldName" "NoGCMessage"
"xpos" "c-290"
"ypos" "94"
- "zpos" "-99"
+ "zpos" "99"
"wide" "260"
"tall" "100"
"visible" "1"
@@ -548,7 +549,7 @@
"tall" "16"
"visible" "1"
"enabled" "1"
- "image" "replay/thumbnails/buttons/alert"
+ "image" "replay/thumbnails/alert"
"scaleImage" "1"
}
}
@@ -718,7 +719,7 @@
"tall" "0"
"visible" "0"
"enabled" "0"
- "image" "replay/thumbnails/buttons/motd"
+ "image" "replay/thumbnails/motd"
"scaleImage" "1"
}
}
@@ -804,7 +805,7 @@
"visible" "1"
"enabled" "1"
"scaleImage" "1"
- "image" "replay/thumbnails/buttons/contracts"
+ "image" "replay/thumbnails/contracts"
}
}
}
@@ -1038,10 +1039,10 @@
}
}
- "CreateServerButton"
+ "ConsoleButton"
{
"ControlName" "EditablePanel"
- "fieldname" "CreateServerButton"
+ "fieldname" "ConsoleButton"
"xpos" "185"
"ypos" "62"
"zpos" "1"
@@ -1090,7 +1091,7 @@
"image_drawcolor" "235 226 202 255"
"image_armedcolor" "72 255 255 255"
-
+
"SubImage"
{
"ControlName" "ImagePanel"
@@ -1098,8 +1099,8 @@
"xpos" "3"
"ypos" "1"
"zpos" "1"
- "wide" "14"
- "tall" "14"
+ "wide" "15"
+ "tall" "15"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
@@ -1108,10 +1109,10 @@
}
}
- "ConsoleButton"
+ "ReportPlayerButton"
{
"ControlName" "EditablePanel"
- "fieldname" "ConsoleButton"
+ "fieldname" "ReportPlayerButton"
"xpos" "205"
"ypos" "62"
"zpos" "1"
@@ -1177,11 +1178,11 @@
}
}
}
-
- "ReportPlayerButton"
+
+ "CallVoteButton"
{
"ControlName" "EditablePanel"
- "fieldname" "ReportPlayerButton"
+ "fieldname" "CallVoteButton"
"xpos" "225"
"ypos" "62"
"zpos" "1"
@@ -1238,8 +1239,8 @@
"xpos" "3"
"ypos" "1"
"zpos" "1"
- "wide" "15"
- "tall" "15"
+ "wide" "14"
+ "tall" "14"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
@@ -1248,10 +1249,10 @@
}
}
- "CallVoteButton"
+ "MutePlayersButton"
{
"ControlName" "EditablePanel"
- "fieldname" "CallVoteButton"
+ "fieldname" "MutePlayersButton"
"xpos" "245"
"ypos" "62"
"zpos" "1"
@@ -1318,10 +1319,10 @@
}
}
- "MutePlayersButton"
+ "RequestCoachButton"
{
"ControlName" "EditablePanel"
- "fieldname" "MutePlayersButton"
+ "fieldname" "RequestCoachButton"
"xpos" "265"
"ypos" "62"
"zpos" "1"
@@ -1349,7 +1350,7 @@
"tabPosition" "0"
"labelText" ""
"font" ""
- "Command" "engine bug"
+ "Command" "engine cl_coach_find_coach"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
@@ -1411,7 +1412,7 @@
"tall" "195"
"visible" "1"
"border" "NoBorder"
- "bgcolor_override" "0 0 0 200"
+ "bgcolor_override" "TransparentPanelBG"
"TitleLabel"
{
@@ -1923,7 +1924,7 @@
"ControlName" "CExLabel"
"fieldname" "VersionNumber"
"font" "Cerbetica14"
- "labelText" "v2018.05.12"
+ "labelText" "v2018.0710"
"xpos" "r55"
"ypos" "r13"
"wide" "80"
diff --git a/resource/ui/compstats.res b/resource/ui/compstats.res
new file mode 100644
index 0000000..c56bc5a
--- /dev/null
+++ b/resource/ui/compstats.res
@@ -0,0 +1,370 @@
+"Resource/UI/CompStats.res"
+{
+ "ScrollableContainer"
+ {
+ "ControlName" "EditablePanel"
+ "fieldName" "ScrollableContainer"
+ "xpos" "0"
+ "ypos" "0"
+ "zpos" "100"
+ "wide" "260"
+ "tall" "330"
+ "visible" "1"
+ "proportionaltoparent" "1"
+
+ "RankImage"
+ {
+ "ControlName" "CTFLocalPlayerBadgePanel"
+ "fieldName" "RankImage"
+ "xpos" "-8"
+ "ypos" "-15"
+ "zpos" "110"
+ "wide" "o1"
+ "tall" "70"
+ "visible" "1"
+ "enabled" "1"
+ "proportionaltoparent" "1"
+ "mouseinputenabled" "0"
+ "matchgroup" "MatchGroup_Ladder_6v6"
+ }
+
+ "RankPanel"
+ {
+ "ControlName" "CPvPRankPanel"
+ "fieldName" "RankPanel"
+ "xpos" "35"
+ "ypos" "-15"
+ "zpos" "100"
+ "wide" "320"
+ "tall" "100"
+ "visible" "1"
+ "proportionaltoparent" "1"
+ "mouseinputenabled" "0"
+ "matchgroup" "MatchGroup_Ladder_6v6"
+ "show_model" "0"
+ "show_name" "0"
+
+ "BGBorder"
+ {
+ "visible" "0"
+ }
+ }
+
+ "ShowLeaderboardsButton"
+ {
+ "ControlName" "CExButton"
+ "fieldName" "ShowLeaderboardsButton"
+ "xpos" "rs1-10"
+ "ypos" "40"
+ "zpos" "0"
+ "wide" "p0.45"
+ "tall" "15"
+ "visible" "1"
+ "proportionaltoparent" "1"
+ "actionsignallevel" "2"
+ "command" "show_leaderboards"
+ "labeltext" "#TF_Competitive_ViewLeaderboards"
+ "font" "CerbeticaBold12"
+ "fgcolor_override" "TanLight"
+ "textAlignment" "center"
+ "sound_depressed" "UI/buttonclick.wav"
+ "sound_released" "UI/buttonclickrelease.wav"
+ }
+
+ "ShowMatchHistoryButton"
+ {
+ "ControlName" "Button"
+ "fieldName" "ShowMatchHistoryButton"
+ "xpos" "10"
+ "ypos" "40"
+ "zpos" "0"
+ "wide" "p0.45"
+ "tall" "15"
+ "visible" "1"
+ "proportionaltoparent" "1"
+
+ "actionsignallevel" "2"
+ "command" "show_match_history"
+ "labeltext" "#TF_Competitive_ViewMatches"
+ "font" "CerbeticaBold12"
+ "fgcolor_override" "TanLight"
+ "textAlignment" "center"
+
+ "sound_depressed" "UI/buttonclick.wav"
+ "sound_released" "UI/buttonclickrelease.wav"
+ }
+
+ "PlaylistBGPanel"
+ {
+ "ControlName" "EditablePanel"
+ "fieldName" "PlaylistBGPanel"
+ "xpos" "cs-0.5"
+ "ypos" "35"
+ "zpos" "-1"
+ "wide" "p0.98"
+ "tall" "p1-200"
+ "visible" "1"
+ "PaintBackgroundType" "2"
+ //"border" "MainMenuBGBorder"
+ "proportionaltoparent" "1"
+ "pinCorner" "2"
+ "autoResize" "1"
+
+ "PlayListDropShadow"
+ {
+ "ControlName" "EditablePanel"
+ "fieldName" "PlayListDropShadow"
+ "xpos" "cs-0.5"
+ "ypos" "25"
+ "zpos" "100"
+ "wide" "p0.95"
+ "tall" "p0.89"
+ "visible" "1"
+ "PaintBackgroundType" "2"
+ "border" "InnerShadowBorder"
+ "proportionaltoparent" "1"
+ "mouseinputenabled" "0"
+ }
+
+ "MatchHistoryCategories"
+ {
+ "ControlName" "EditablePanel"
+ "fieldName" "MatchHistoryCategories"
+ "xpos" "cs-0.5"
+ "ypos" "25"
+ "zpos" "10"
+ "wide" "p0.95"
+ "tall" "20"
+ "visible" "1"
+ "proportionaltoparent" "1"
+
+ "BGPanel"
+ {
+ "ControlName" "EditablePanel"
+ "fieldName" "BGPanel"
+ "xpos" "cs-0.5"
+ "ypos" "rs1"
+ "zpos" "-100"
+ "wide" "p1.2"
+ "tall" "p1.3"
+ "visible" "1"
+ "proportionaltoparent" "1"
+ "border" "MainMenuBGBorder"
+ }
+
+ "SortArrow"
+ {
+ "ControlName" "Label"
+ "fieldName" "SortArrow"
+ "xpos" "0"
+ "ypos" "0"
+ "wide" "20"
+ "tall" "f0"
+ "proportionaltoparent" "1"
+ "visible" "1"
+ "paintbackground" "0"
+ "mouseinputenabled" "0"
+ "labeltext" "6"
+ "font" "MarlettSmall"
+ "textAlignment" "west"
+
+ "defaultFgColor_override" "TanDark"
+ "armedFgColor_override" "TanDark"
+ "selectedFgColor_override" "TanDark"
+ }
+
+ "ResultButton"
+ {
+ "ControlName" "CExButton"
+ "fieldName" "ResultButton"
+ "xpos" "0"
+ "ypos" "0"
+ "wide" "p0.18"
+ "tall" "18"
+ "proportionaltoparent" "1"
+ "visible" "1"
+ "paintbackground" "0"
+ "border_default" "SortCategoryBorder"
+ "labeltext" "#TF_Competitive_Result"
+ "font" "HudFontSmallest"
+ "fgcolor_override" "141 63 63 255"
+ "textAlignment" "west"
+ "textinsetx" "15"
+
+ "defaultFgColor_override" "TanDark"
+ "armedFgColor_override" "Orange"
+ "selectedFgColor_override" "TanLight"
+
+ "image_selectedcolor" "255 255 255 255"
+ "image_armedcolor" "0 0 0 0"
+ "image_drawcolor" "0 0 0 0"
+
+ "command" "sort0"
+ "actionsignallevel" "4"
+
+ "sound_depressed" "UI/buttonclick.wav"
+ "sound_released" "UI/buttonclickrelease.wav"
+ }
+
+ "DateButton"
+ {
+ "ControlName" "CExButton"
+ "fieldName" "DateButton"
+ "xpos" "p0.18"
+ "ypos" "0"
+ "wide" "p0.4"
+ "tall" "18"
+ "proportionaltoparent" "1"
+ "visible" "1"
+ "paintbackground" "0"
+ "border_default" "SortCategoryBorder"
+ "labeltext" "#TF_Competitive_Date"
+ "font" "HudFontSmallest"
+ "fgcolor_override" "TanLight"
+ "textAlignment" "west"
+ "textinsetx" "15"
+
+ "defaultFgColor_override" "TanDark"
+ "armedFgColor_override" "Orange"
+ "selectedFgColor_override" "TanLight"
+
+ "image_selectedcolor" "255 255 255 255"
+ "image_armedcolor" "0 0 0 0"
+ "image_drawcolor" "0 0 0 0"
+
+ "command" "sort1"
+ "actionsignallevel" "4"
+
+ "sound_depressed" "UI/buttonclick.wav"
+ "sound_released" "UI/buttonclickrelease.wav"
+ }
+
+ "MapButton"
+ {
+ "ControlName" "CExButton"
+ "fieldName" "MapButton"
+ "xpos" "p0.58"
+ "ypos" "0"
+ "wide" "p0.29"
+ "tall" "18"
+ "proportionaltoparent" "1"
+ "visible" "1"
+ "paintbackground" "0"
+ "border_default" "SortCategoryBorder"
+ "labeltext" "#TF_Competitive_Map"
+ "font" "HudFontSmallest"
+ "fgcolor_override" "TanLight"
+ "textAlignment" "west"
+ "textinsetx" "15"
+
+ "defaultFgColor_override" "TanDark"
+ "armedFgColor_override" "Orange"
+ "selectedFgColor_override" "TanLight"
+
+ "image_selectedcolor" "255 255 255 255"
+ "image_armedcolor" "0 0 0 0"
+ "image_drawcolor" "0 0 0 0"
+
+ "command" "sort2"
+ "actionsignallevel" "4"
+
+ "sound_depressed" "UI/buttonclick.wav"
+ "sound_released" "UI/buttonclickrelease.wav"
+ }
+
+ "KDRButton"
+ {
+ "ControlName" "CExButton"
+ "fieldName" "KDRButton"
+ "xpos" "p0.87"
+ "ypos" "0"
+ "wide" "p0.12"
+ "tall" "18"
+ "proportionaltoparent" "1"
+ "visible" "1"
+ "paintbackground" "0"
+ "labeltext" "#TF_Competitive_KDR"
+ "font" "HudFontSmallest"
+ "fgcolor_override" "TanLight"
+ "textAlignment" "west"
+
+ "defaultFgColor_override" "TanDark"
+ "armedFgColor_override" "Orange"
+ "selectedFgColor_override" "TanLight"
+
+ "image_selectedcolor" "255 255 255 255"
+ "image_armedcolor" "0 0 0 0"
+ "image_drawcolor" "0 0 0 0"
+
+ "command" "sort3"
+ "actionsignallevel" "4"
+
+ "sound_depressed" "UI/buttonclick.wav"
+ "sound_released" "UI/buttonclickrelease.wav"
+ }
+ }
+
+ "MatchHistoryContainer"
+ {
+ "ControlName" "CScrollableList"
+ "fieldName" "MatchHistoryContainer"
+ "xpos" "cs-0.5"
+ "ypos" "40"
+ "wide" "p0.95"
+ "tall" "p0.78"
+ "visible" "1"
+ "proportionaltoparent" "1"
+ "restrict_width" "0"
+
+ "ScrollBar"
+ {
+ "ControlName" "ScrollBar"
+ "FieldName" "ScrollBar"
+ "xpos" "rs1-1"
+ "ypos" "0"
+ "tall" "f0"
+ "wide" "5" // This gets slammed from client schme. GG.
+ "zpos" "1000"
+ "nobuttons" "1"
+ "proportionaltoparent" "1"
+
+ "Slider"
+ {
+ "fgcolor_override" "TanDark"
+ }
+
+ "UpButton"
+ {
+ "ControlName" "Button"
+ "FieldName" "UpButton"
+ "visible" "0"
+ }
+
+ "DownButton"
+ {
+ "ControlName" "Button"
+ "FieldName" "DownButton"
+ "visible" "0"
+ }
+ }
+ }
+
+ "Leaderboard"
+ {
+ "ControlName" "CLadderLobbyLeaderboard"
+ "fieldName" "Leaderboard"
+ "xpos" "cs-0.5"
+ "ypos" "7"
+ "wide" "p0.95"
+ "tall" "p0.89"
+ "tall" "f20"
+ "visible" "0"
+ "enabled" "1"
+ "mouseinputenabled" "1"
+ "scaleImage" "1"
+ "entry_step" "23"
+ "proportionaltoparent" "1"
+ }
+ }
+ }
+}