Skip to content

Commit

Permalink
Bumped version number
Browse files Browse the repository at this point in the history
- Centered the class selection text to fix overlaps in 1440p.
- Moved the position of the sticky counter on the cornered layout.
- Bumped version number.
  • Loading branch information
CriticalFlaw committed Dec 14, 2022
1 parent 07be851 commit df77a67
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 31 deletions.
47 changes: 28 additions & 19 deletions resource/ui/classselection.res
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,10 @@
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_Scout"
"textAlignment" "west"
"textAlignment" "center"
"Command" "joinclass scout"
"Default" "0"
"font" "FontBold20"
"textinsetx" "65"
"paintbackground" "1"

"defaultBgColor_override" "TransparentBlack"
Expand Down Expand Up @@ -70,7 +69,7 @@
"xpos" "0"
"ypos" "0"
"zpos" "11"
"wide" "30"
"wide" "25"
"tall" "25"
"visible" "1"
"enabled" "1"
Expand All @@ -83,6 +82,8 @@
"mouseinputenabled" "0"
"textinsety" "-3"
"pin_to_sibling" "scout"
"pin_corner_to_sibling" "PIN_TOPRIGHT"
"pin_to_sibling_corner" "PIN_TOPLEFT"
}

"soldier"
Expand All @@ -100,11 +101,10 @@
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_Soldier"
"textAlignment" "west"
"textAlignment" "center"
"Command" "joinclass soldier"
"Default" "0"
"font" "FontBold20"
"textinsetx" "65"
"paintbackground" "1"

"defaultBgColor_override" "TransparentBlack"
Expand Down Expand Up @@ -150,6 +150,8 @@
"mouseinputenabled" "0"
"textinsety" "-3"
"pin_to_sibling" "soldier"
"pin_corner_to_sibling" "PIN_TOPRIGHT"
"pin_to_sibling_corner" "PIN_TOPLEFT"
}

"pyro"
Expand All @@ -167,11 +169,10 @@
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_Pyro"
"textAlignment" "west"
"textAlignment" "center"
"Command" "joinclass pyro"
"Default" "0"
"font" "FontBold20"
"textinsetx" "65"
"paintbackground" "1"

"defaultBgColor_override" "TransparentBlack"
Expand Down Expand Up @@ -217,6 +218,8 @@
"mouseinputenabled" "0"
"textinsety" "-3"
"pin_to_sibling" "pyro"
"pin_corner_to_sibling" "PIN_TOPRIGHT"
"pin_to_sibling_corner" "PIN_TOPLEFT"
}

"demoman"
Expand All @@ -234,11 +237,10 @@
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_Demoman"
"textAlignment" "west"
"textAlignment" "center"
"Command" "joinclass demoman"
"Default" "0"
"font" "FontBold20"
"textinsetx" "65"
"paintbackground" "1"

"defaultBgColor_override" "TransparentBlack"
Expand Down Expand Up @@ -284,6 +286,8 @@
"mouseinputenabled" "0"
"textinsety" "-3"
"pin_to_sibling" "demoman"
"pin_corner_to_sibling" "PIN_TOPRIGHT"
"pin_to_sibling_corner" "PIN_TOPLEFT"
}

"heavyweapons"
Expand All @@ -301,11 +305,10 @@
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_HWGuy"
"textAlignment" "west"
"textAlignment" "center"
"Command" "joinclass heavyweapons"
"Default" "0"
"font" "FontBold20"
"textinsetx" "65"
"paintbackground" "1"

"defaultBgColor_override" "TransparentBlack"
Expand Down Expand Up @@ -351,6 +354,8 @@
"mouseinputenabled" "0"
"textinsety" "-3"
"pin_to_sibling" "heavyweapons"
"pin_corner_to_sibling" "PIN_TOPRIGHT"
"pin_to_sibling_corner" "PIN_TOPLEFT"
}

"engineer"
Expand All @@ -368,11 +373,10 @@
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_Engineer"
"textAlignment" "west"
"textAlignment" "center"
"Command" "joinclass engineer"
"Default" "0"
"font" "FontBold20"
"textinsetx" "65"
"paintbackground" "1"

"defaultBgColor_override" "TransparentBlack"
Expand Down Expand Up @@ -418,6 +422,8 @@
"mouseinputenabled" "0"
"textinsety" "-3"
"pin_to_sibling" "engineer"
"pin_corner_to_sibling" "PIN_TOPRIGHT"
"pin_to_sibling_corner" "PIN_TOPLEFT"
}

"medic"
Expand All @@ -435,11 +441,10 @@
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_Medic"
"textAlignment" "west"
"textAlignment" "center"
"Command" "joinclass medic"
"Default" "0"
"font" "FontBold20"
"textinsetx" "65"
"paintbackground" "1"

"defaultBgColor_override" "TransparentBlack"
Expand Down Expand Up @@ -485,6 +490,8 @@
"mouseinputenabled" "0"
"textinsety" "-3"
"pin_to_sibling" "medic"
"pin_corner_to_sibling" "PIN_TOPRIGHT"
"pin_to_sibling_corner" "PIN_TOPLEFT"
}

"sniper"
Expand All @@ -502,11 +509,10 @@
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_Sniper"
"textAlignment" "west"
"textAlignment" "center"
"Command" "joinclass sniper"
"Default" "0"
"font" "FontBold20"
"textinsetx" "65"
"paintbackground" "1"

"defaultBgColor_override" "TransparentBlack"
Expand Down Expand Up @@ -552,6 +558,8 @@
"mouseinputenabled" "0"
"textinsety" "-3"
"pin_to_sibling" "sniper"
"pin_corner_to_sibling" "PIN_TOPRIGHT"
"pin_to_sibling_corner" "PIN_TOPLEFT"
}

"spy"
Expand All @@ -569,11 +577,10 @@
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_Spy"
"textAlignment" "west"
"textAlignment" "center"
"Command" "joinclass spy"
"Default" "0"
"font" "FontBold20"
"textinsetx" "65"
"paintbackground" "1"

"defaultBgColor_override" "TransparentBlack"
Expand Down Expand Up @@ -619,6 +626,8 @@
"mouseinputenabled" "0"
"textinsety" "-3"
"pin_to_sibling" "spy"
"pin_corner_to_sibling" "PIN_TOPRIGHT"
"pin_to_sibling_corner" "PIN_TOPLEFT"
}

// I believe Valve hardcoded part of this control for some reason.
Expand Down
18 changes: 9 additions & 9 deletions resource/ui/huddemomanpipes.res
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
{
"ControlName" "EditablePanel"
"fieldName" "PipesPresentPanel"
"xpos" "300"
"ypos" "c91"
"xpos" "125"
"ypos" "r70"
"zpos" "1"
"wide" "f0"
"tall" "480"
Expand All @@ -53,7 +53,7 @@
{
"ControlName" "CExLabel"
"fieldName" "NumPipesLabel"
"xpos" "-37"
"xpos" "0"
"ypos" "0"
"zpos" "2"
"wide" "18"
Expand All @@ -64,7 +64,7 @@
"enabled" "1"
"tabPosition" "0"
"labelText" "%activepipes%"
"textAlignment" "east"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"font" "FontBold20"
Expand All @@ -89,7 +89,7 @@
"enabled" "1"
"tabPosition" "0"
"labelText" "%activepipes%"
"textAlignment" "east"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"font" "FontBold20"
Expand All @@ -100,15 +100,15 @@
{
"ControlName" "CExLabel"
"fieldName" "StickyIcon"
"xpos" "c-13"
"ypos" "21"
"xpos" "0"
"ypos" "0"
"zpos" "20"
"wide" "20"
"tall" "14"
"visible" "1"
"enabled" "1"
"labelText" "4"
"textAlignment" "center"
"textAlignment" "west"
"font" "SmallIcons"
"fgcolor_override" "TanLight"
"fgcolor" "TanLight"
Expand All @@ -125,7 +125,7 @@
"visible" "1"
"enabled" "1"
"labelText" "4"
"textAlignment" "center"
"textAlignment" "west"
"font" "SmallIcons"
"fgcolor" "Black"
"fgcolor_override" "Black"
Expand Down
2 changes: 1 addition & 1 deletion resource/ui/huditemeffectmeter_killstreak.res
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"HudItemEffectMeter"
{
"ypos" "r52"
"ypos" "r50"
}

"StreakIcon"
Expand Down
6 changes: 5 additions & 1 deletion resource/ui/mainmenuoverride.res
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,10 @@

"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"

"defaultFgColor_override" "TanLight"
"armedFgColor_override" "TanDark"
"depressedFgColor_override" "TanLight"

"pin_to_sibling" "BGPanel1"
"pin_corner_to_sibling" "PIN_TOPRIGHT"
Expand Down Expand Up @@ -1283,7 +1287,7 @@
"ControlName" "CExImageButton"
"fieldName" "VersionLabel"
"font" "FontRegular12"
"labelText" "FlawHUD v2022.1112"
"labelText" "FlawHUD v2022.1214"
"labelText_minmode" "#FH_streamer_mode_active"
"xpos" "rs1-5"
"ypos" "r13"
Expand Down
2 changes: 1 addition & 1 deletion scripts/hudlayout.res
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@
"visible" "1"
"enabled" "1"
"xpos" "0"
"ypos" "50"
"ypos" "0"
"wide" "f0"
"tall" "480"
}
Expand Down

0 comments on commit df77a67

Please sign in to comment.