Skip to content

Commit

Permalink
Add stats to menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Rorriis committed Aug 1, 2024
1 parent 7855a3f commit a0ad006
Show file tree
Hide file tree
Showing 8 changed files with 157 additions and 104 deletions.
39 changes: 27 additions & 12 deletions resource/ui/#base/default_menu.res
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
"fieldName" "RankModelPanel"
"xpos" "cs-0.5-256"
"ypos" "cs-0.5-120"
"zpos" "-51"
"zpos" "-53"
"wide" "1000"
"tall" "1000"
"visible" "0"
Expand Down Expand Up @@ -345,11 +345,11 @@
{
"ControlName" "CPvPRankPanel"
"fieldName" "RankPanel"
"xpos" "c-350"
"xpos" "c-355"
"ypos" "72"
"zpos" "-52"
"wide" "320"
"tall" "100"
"wide" "325"
"tall" "380"
"visible" "0"
"proportionaltoparent" "1"
"mouseinputenabled" "0"
Expand Down Expand Up @@ -405,7 +405,7 @@
"fieldName" "RankBorder"
"xpos" "c-290"
"ypos" "94"
"zpos" "-53"
"zpos" "-54"
"wide" "260"
"tall" "60"
"visible" "1"
Expand All @@ -414,6 +414,21 @@
"proportionaltoparent" "1"
}

"StatsBorder"
{
"ControlName" "EditablePanel"
"fieldName" "StatsBorder"
"xpos" "c-290"
"ypos" "340"
"zpos" "-54"
"wide" "260"
"tall" "75"
"visible" "1"
"PaintBackgroundType" "2"
"border" "MainMenuBGBorder"
"proportionaltoparent" "1"
}

"TooltipPanel"
{
"ControlName" "EditablePanel"
Expand Down Expand Up @@ -1393,7 +1408,7 @@
"ypos" "230"
"zpos" "5"
"wide" "260"
"tall" "180"
"tall" "110"
"visible" "1"

"border" "MainMenuBGBorder"
Expand Down Expand Up @@ -1422,10 +1437,10 @@
"ControlName" "EditablePanel"
"fieldname" "InnerShadow"
"xpos" "cs-0.5"
"ypos" "30"
"ypos" "28"
"zpos" "501"
"wide" "f10"
"tall" "140"
"tall" "75"
"visible" "1"
"PaintBackgroundType" "0"
"proportionaltoparent" "1"
Expand All @@ -1440,10 +1455,10 @@
"ControlName" "CSteamFriendsListPanel"
"fieldname" "SteamFriendsList"
"xpos" "cs-0.5"
"ypos" "30"
"ypos" "28"
"zpos" "500"
"wide" "f10"
"tall" "140"
"tall" "75"
"visible" "1"
"proportionaltoparent" "1"

Expand Down Expand Up @@ -1498,10 +1513,10 @@
"ControlName" "EditablePanel"
"fieldname" "BelowDarken"
"xpos" "cs-0.5"
"ypos" "30"
"ypos" "28"
"zpos" "499"
"wide" "f10"
"tall" "140"
"tall" "75"
"visible" "1"
"PaintBackgroundType" "0"
"proportionaltoparent" "1"
Expand Down
14 changes: 6 additions & 8 deletions resource/ui/#customizations/hud_customization_crosshair.res
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"xpos" "4"
"ypos" "rs1-2"
"zpos" "22"
"wide" "60"
"wide" "74"
"tall" "f26"
"visible" "1"
"enabled" "1"
Expand Down Expand Up @@ -96,8 +96,7 @@
"proportionaltoparent" "1"
"labelText" "#TF_On"
"font" "ItemFontNameSmall"
"textAlignment" "center"
"font" ""
"centerwrap" "1"
"command" "engine hud_crosshair_on"
"actionsignallevel" "5"
"sound_depressed" "UI/buttonclick.wav"
Expand All @@ -124,8 +123,7 @@
"proportionaltoparent" "1"
"labelText" "#TF_Off"
"font" "ItemFontNameSmall"
"textAlignment" "center"
"font" ""
"centerwrap" "1"
"command" "engine hud_crosshair_off"
"actionsignallevel" "5"
"sound_depressed" "UI/buttonclick.wav"
Expand All @@ -147,7 +145,7 @@
{
"ControlName" "EditablePanel"
"fieldName" "HUD_Crosshair_Style"
"xpos" "4"
"xpos" "2"
"ypos" "0"
"zpos" "20"
"wide" "288"
Expand Down Expand Up @@ -2211,7 +2209,7 @@
{
"ControlName" "EditablePanel"
"fieldName" "HUD_Crosshair_Size"
"xpos" "4"
"xpos" "-2"
"ypos" "0"
"zpos" "20"
"wide" "70"
Expand Down Expand Up @@ -2526,7 +2524,7 @@
{
"ControlName" "EditablePanel"
"fieldName" "HUD_Crosshair_Color"
"xpos" "4"
"xpos" "-2"
"ypos" "0"
"zpos" "20"
"wide" "82"
Expand Down
8 changes: 4 additions & 4 deletions resource/ui/#customizations/hud_customization_refont.res
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
{
"ControlName" "EditablePanel"
"fieldName" "Refont"
"xpos" "357"
"xpos" "355"
"ypos" "272"
"zpos" "0"
"wide" "85"
"wide" "80"
"tall" "80"
"visible" "1"
"enabled" "1"
Expand Down Expand Up @@ -51,7 +51,7 @@
"xpos" "3"
"ypos" "25"
"zpos" "20"
"wide" "78"
"wide" "74"
"tall" "25"
"visible" "1"
"enabled" "1"
Expand Down Expand Up @@ -125,7 +125,7 @@
"xpos" "3"
"ypos" "51"
"zpos" "20"
"wide" "78"
"wide" "74"
"tall" "25"
"visible" "1"
"enabled" "1"
Expand Down
12 changes: 6 additions & 6 deletions resource/ui/#customizations/hud_customization_ultrawide.res
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
{
"ControlName" "EditablePanel"
"fieldName" "Ultrawide"
"xpos" "446"
"xpos" "437"
"ypos" "272"
"zpos" "0"
"wide" "77"
"wide" "86"
"tall" "80"
"visible" "1"
"enabled" "1"
Expand Down Expand Up @@ -51,7 +51,7 @@
"xpos" "cs-0.5"
"ypos" "rs1-2"
"zpos" "22"
"wide" "68"
"wide" "80"
"tall" "f26"
"visible" "1"
"enabled" "1"
Expand All @@ -73,7 +73,7 @@
"proportionaltoparent" "1"
"labelText" "#TF_On"
"font" "ItemFontNameSmall"
"textAlignment" "center"
"centerwrap" "1"
"command" "engine hud_ultrawide_on"
"actionsignallevel" "5"
"sound_depressed" "UI/buttonclick.wav"
Expand All @@ -100,8 +100,8 @@
"proportionaltoparent" "1"
"labelText" "#TF_Off"
"font" "ItemFontNameSmall"
"textAlignment" "center"
"font" ""
"centerwrap" "1"
"font" "ItemFontNameSmall"
"command" "engine hud_ultrawide_off"
"actionsignallevel" "5"
"sound_depressed" "UI/buttonclick.wav"
Expand Down
7 changes: 6 additions & 1 deletion resource/ui/#customizations/menus/alt_center_menu.res
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,19 @@

"RankPanel"
{
"xpos" "c-190"
"xpos" "c-195"
}

"RankBorder"
{
"xpos" "cs-0.5"
}

"StatsBorder"
{
"xpos" "cs-0.5"
}

"QuestLogButton2"
{
"ControlName" "EditablePanel"
Expand Down
27 changes: 26 additions & 1 deletion resource/ui/#customizations/menus/default_center_menu.res
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,19 @@

"RankPanel"
{
"xpos" "c-190"
"xpos" "c-195"
}

"RankBorder"
{
"xpos" "cs-0.5"
}

"StatsBorder"
{
"xpos" "cs-0.5"
}

"QuestLogButton2"
{
"ControlName" "EditablePanel"
Expand Down Expand Up @@ -662,6 +667,12 @@
"SubButton"
{
"border_default" "EconItemBorder"

"SubImage"
{
"xpos" "cs-0.5"
"ypos" "cs-0.5"
}
}
}

Expand Down Expand Up @@ -694,6 +705,12 @@
"SubButton"
{
"border_default" "EconItemBorder"

"SubImage"
{
"xpos" "cs-0.54"
"ypos" "cs-0.5"
}
}
}

Expand Down Expand Up @@ -751,6 +768,14 @@
"tall" "24"

"border_default" "EconItemBorder"

"SubImage"
{
"xpos" "cs-0.5"
"ypos" "cs-0.5"
"wide" "14"
"tall" "14"
}
}

"ReportBugButton"
Expand Down
Loading

0 comments on commit a0ad006

Please sign in to comment.