My changes :3

This commit is contained in:
Lyra 2025-05-13 20:31:53 +02:00
parent 79a5d76fa2
commit e490953cba
14 changed files with 430 additions and 327 deletions

View file

@ -2,6 +2,20 @@
You can install the main hud file like normal, i.e., drop the "menthahud-main" folder into tf/custom. You can install the main hud file like normal, i.e., drop the "menthahud-main" folder into tf/custom.
## LYRAS NOTES PELASE READ IMPORTANT
Make sure the MingLiU-ExtB font is installed on your OS. I swapped out MingLiU for it due to missing characters and broken font rendering on Linux.
Some of the changes I did:
- The 30 second countdown and speedometer is disabled (you can re-enable if you want to)
- Killfeed is monochrome
- Chat font was changed to MingLiU-ExtB
- Fixed scoreboard name alignment from the scream fortress update
- Fixed main menu party chat font size from the scream fortress update
- Fixed the MVP round end panel thingy to work on 4k
- Stole @tekunotri's pull request (https://github.com/myria666/menthahud/pull/2)
- and probably some other things idk i forgor xD
## recommended hud commands ## recommended hud commands
1. use tf_hud_target_id_alpha 255 or else it breaks 1. use tf_hud_target_id_alpha 255 or else it breaks

View file

@ -191,7 +191,7 @@ Scheme
Fonts Fonts
{ {
isproportional "only"
"Default" "Default"
{ {
"1" "1"
@ -338,49 +338,55 @@ Scheme
"ChatFont" "ChatFont"
{ {
isproportional "only"
"1" "1"
{ {
"name" "Verdana" "name" "MingLiU-ExtB"
"tall" "12" "tall" "18"
"weight" "700" "weight" "700"
"yres" "480 599" "yres" "480 599"
"dropshadow" "1" "dropshadow" "0"
"antialias" "1"
} }
"2" "2"
{ {
"name" "Verdana" "name" "MingLiU-ExtB"
"tall" "14" "tall" "18"
"weight" "700" "weight" "700"
"yres" "600 767" "yres" "600 767"
"dropshadow" "1" "dropshadow" "0"
"antialias" "1"
} }
"3" "3"
{ {
"name" "Verdana" "name" "MingLiU-ExtB"
"tall" "15" "tall" "18"
"weight" "700" "weight" "700"
"yres" "768 1023" "yres" "768 1023"
"dropshadow" "1" "dropshadow" "0"
"antialias" "1"
} }
"4" "4"
{ {
"name" "Verdana" "name" "MingLiU-ExtB"
"tall" "17" "tall" "18"
"weight" "700" "weight" "700"
"yres" "1024 1199" "yres" "1024 1199"
"dropshadow" "1" "dropshadow" "0"
"antialias" "1"
} }
"5" "5"
{ {
"name" "Verdana" "name" "MingLiU-ExtB"
"tall" "22" "tall" "22"
"weight" "700" "weight" "700"
"yres" "1200 10000" "yres" "1200 10000"
"dropshadow" "1" "dropshadow" "0"
"antialias" "1"
} }
} }

Binary file not shown.

File diff suppressed because it is too large Load diff

View file

@ -7,8 +7,8 @@
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"xpos" "1" "xpos" "1"
"ypos" "320" "ypos" "255"
"wide" "210" "wide" "235"
"tall" "100" "tall" "100"
"PaintBackgroundType" "0" "PaintBackgroundType" "0"
} }
@ -21,7 +21,7 @@
"enabled" "1" "enabled" "1"
"xpos" "10" "xpos" "10"
"ypos" "395" "ypos" "395"
"wide" "190" "wide" "215"
"tall" "0" "tall" "0"
"PaintBackgroundType" "0" "PaintBackgroundType" "0"
} }
@ -52,7 +52,7 @@
"fieldName" "HudChatHistory" "fieldName" "HudChatHistory"
"xpos" "0" "xpos" "0"
"ypos" "0" "ypos" "0"
"wide" "210" "wide" "235"
"tall" "75" "tall" "75"
"wrap" "1" "wrap" "1"
"autoResize" "1" "autoResize" "1"

View file

@ -4,11 +4,11 @@
{ {
"ControlName" "CItemModelPanel" "ControlName" "CItemModelPanel"
"fieldName" "itempanel" "fieldName" "itempanel"
"xpos" "9999" "xpos" "r200"
"ypos" "9999" "ypos" "-120"
"zpos" "-9999" "zpos" "10"
"wide" "0" "wide" "190"
"tall" "0" "tall" "100"
"visible" "0" "visible" "0"
"fgcolor_override" "29 29 29 255" "fgcolor_override" "29 29 29 255"
"bgcolor_override" "29 29 29 255" "bgcolor_override" "29 29 29 255"

View file

@ -15,9 +15,9 @@
"mouseinputenabled" "1" "mouseinputenabled" "1"
"border" "ahudPanelBorderLight" "border" "ahudPanelBorderLight"
"log_font_small" "HudFontSmall" "log_font_small" "HudFontSmallest"
"log_font_medium" "HudFontMediumSmallSecondary" "log_font_medium" "HudFontSmallest"
"log_font_large" "HudFontMediumSecondary" "log_font_large" "HudFontSmallest"
"chat_color_default" "255 255 255 255" "chat_color_default" "255 255 255 255"
"chat_color_player_name" "255 255 0 255" "chat_color_player_name" "255 255 0 255"

View file

@ -42,18 +42,6 @@
"pin_corner_to_sibling" "4" "pin_corner_to_sibling" "4"
"pin_to_sibling_corner" "6" "pin_to_sibling_corner" "6"
} }
"CurrencyStatusPanel"
{
"ControlName" "CCurrencyStatusPanel"
"fieldName" "CurrencyStatusPanel"
"xpos" "c-202"
"ypos" "r56"
"wide" "100"
"tall" "16"
"visible" "1"
"enabled" "1"
}
"InWorldCurrencyPanel" "InWorldCurrencyPanel"
{ {

View file

@ -15,7 +15,7 @@
"enabled" "1" "enabled" "1"
"tabPosition" "0" "tabPosition" "0"
"settitlebarvisible" "0" "settitlebarvisible" "0"
"bgcolor_override" "69 69 69 255" "bgcolor_override" "34 34 34 255"
"item_ypos" "60" "item_ypos" "60"
"item_ydelta" "80" "item_ydelta" "80"

View file

@ -14,11 +14,13 @@
"pinCorner" "0" "pinCorner" "0"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"tabPosition" "0" "tabPosition" "0"
"medal_width" "0" "medal_width" "0"
"avatar_width" "54" "medal_column_width" "0"
"avatar_width" "28"
"spacer" "5" "spacer" "5"
"name_width" "85" "name_width" "118"
"nemesis_width" "15" "nemesis_width" "15"
"class_width" "20" "class_width" "20"
"score_width" "20" "score_width" "20"
@ -26,6 +28,7 @@
"killstreak_width" "15" "killstreak_width" "15"
"killstreak_image_width" "15" "killstreak_image_width" "15"
} }
"BlueScoreBG" "BlueScoreBG"
{ {
"ControlName" "EditablePanel" "ControlName" "EditablePanel"

View file

@ -26,8 +26,8 @@
"tall" "25" "tall" "25"
"autoResize" "0" "autoResize" "0"
"pinCorner" "0" "pinCorner" "0"
"visible" "" "visible" "0"
"enabled" "01" "enabled" "1"
"fillcolor" "29 29 29 255" "fillcolor" "29 29 29 255"
} }
"TargetIDBG" "TargetIDBG"
@ -53,12 +53,12 @@
"draw_corner_width" "0" "draw_corner_width" "0"
"draw_corner_height" "0" "draw_corner_height" "0"
} }
"TargetIDBGFix" "TargetIDBGFix"
{ {
"ControlName" "CTFImagePanel" "ControlName" "CTFImagePanel"
"fieldName" "TargetIDBGFix" "fieldName" "TargetIDBGFix"
"xpos" "0" "xpos" "40"
"ypos" "47" "ypos" "47"
"zpos" "-3" "zpos" "-3"
"visible" "1" "visible" "1"
@ -78,7 +78,7 @@
"draw_corner_width" "0" "draw_corner_width" "0"
"draw_corner_height" "0" "draw_corner_height" "0"
} }
"TargetIDBG_Spec_Blue" "TargetIDBG_Spec_Blue"
{ {
"ControlName" "ImagePanel" "ControlName" "ImagePanel"
@ -94,10 +94,10 @@
"enabled" "1" "enabled" "1"
"fillcolor" "ahudBlue" "fillcolor" "ahudBlue"
"alpha" "250" "alpha" "250"
"src_corner_height" "23" // pixels inside the image "src_corner_height" "23" // pixels inside the image
"src_corner_width" "23" "src_corner_width" "23"
"draw_corner_width" "0" // screen size of the corners ( and sides ), proportional "draw_corner_width" "0" // screen size of the corners ( and sides ), proportional
"draw_corner_height" "0" "draw_corner_height" "0"
} }
@ -116,10 +116,10 @@
"enabled" "1" "enabled" "1"
"fillcolor" "ahudRed" "fillcolor" "ahudRed"
"alpha" "250" "alpha" "250"
"src_corner_height" "23" // pixels inside the image "src_corner_height" "23" // pixels inside the image
"src_corner_width" "23" "src_corner_width" "23"
"draw_corner_width" "0" // screen size of the corners ( and sides ), proportional "draw_corner_width" "0" // screen size of the corners ( and sides ), proportional
"draw_corner_height" "0" "draw_corner_height" "0"
} }
@ -129,30 +129,30 @@
"ControlName" "Label" "ControlName" "Label"
"fieldName" "TargetNameLabel" "fieldName" "TargetNameLabel"
"font" "aRegular11" "font" "aRegular11"
"xpos" "9999" "xpos" "51"
"ypos" "9999" "ypos" "33"
"zpos" "1" "zpos" "1"
"wide" "640" "wide" "640"
"tall" "12" "tall" "12"
"visible" "0" "visible" "1"
"enabled" "0" "enabled" "1"
"labelText" "%targetname%" "labelText" "%targetname%"
"textAlignment" "west" "textAlignment" "west"
"fgcolor_override" "69 69 69 0" "fgcolor_override" "69 69 69 0"
} }
"TargetNameLabel2" "TargetNameLabel2"
{ {
"ControlName" "Label" "ControlName" "Label"
"fieldName" "TargetNameLabel2" "fieldName" "TargetNameLabel2"
"font" "aRegular11" "font" "aRegular11"
"xpos" "54" "xpos" "51"
"ypos" "33" "ypos" "33"
"zpos" "3" "zpos" "3"
"wide" "640" "wide" "640"
"tall" "12" "tall" "12"
"visible" "1" "visible" "0"
"enabled" "1" "enabled" "0"
"labelText" "%targetname%" "labelText" "%targetname%"
"textAlignment" "west" "textAlignment" "west"
"fgcolor_override" "175 175 175 255" "fgcolor_override" "175 175 175 255"
@ -167,8 +167,8 @@
"zpos" "2" "zpos" "2"
"wide" "640" "wide" "640"
"tall" "12" "tall" "12"
"visible" "1" "visible" "0"
"enabled" "1" "enabled" "0"
"labelText" "%targetname%" "labelText" "%targetname%"
"textAlignment" "west" "textAlignment" "west"
"fgcolor_override" "69 69 69 255" "fgcolor_override" "69 69 69 255"
@ -193,7 +193,6 @@
"textAlignment" "west" "textAlignment" "west"
"fgcolor_override" "175 175 175 255" "fgcolor_override" "175 175 175 255"
} }
"SpectatorGUIHealth" "SpectatorGUIHealth"
{ {
"ControlName" "EditablePanel" "ControlName" "EditablePanel"
@ -253,8 +252,8 @@
"pin_to_sibling" "KillStreakIconAnchor" "pin_to_sibling" "KillStreakIconAnchor"
"pin_corner_to_sibling" "PIN_TOPLEFT" "pin_corner_to_sibling" "PIN_TOPLEFT"
"pin_to_sibling_corner" "PIN_TOPLEFT" "pin_to_sibling_corner" "PIN_TOPLEFT"
} }
"MoveableSubPanel" "MoveableSubPanel"
{ {
"ControlName" "EditablePanel" "ControlName" "EditablePanel"
@ -265,8 +264,8 @@
"wide" "32" "wide" "32"
"tall" "36" "tall" "36"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"MoveableIconBG" "MoveableIconBG"
{ {
"ControlName" "CIconPanel" "ControlName" "CIconPanel"
@ -282,7 +281,7 @@
"iconColor" "HudBlack" "iconColor" "HudBlack"
"scaleImage" "1" "scaleImage" "1"
} }
"MoveableIcon" "MoveableIcon"
{ {
"ControlName" "CIconPanel" "ControlName" "CIconPanel"
@ -315,7 +314,7 @@
} }
"MoveableKeyLabel" "MoveableKeyLabel"
{ {
"ControlName" "Label" "ControlName" "Label"
"fieldName" "MoveableKeyLabel" "fieldName" "MoveableKeyLabel"
"font" "aRegular10" "font" "aRegular10"
@ -332,9 +331,9 @@
"textAlignment" "North" "textAlignment" "North"
"dulltext" "0" "dulltext" "0"
"brighttext" "0" "brighttext" "0"
} }
} }
"AvatarImage" "AvatarImage"
{ {
"ControlName" "CAvatarImagePanel" "ControlName" "CAvatarImagePanel"
@ -347,7 +346,7 @@
"visible" "0" "visible" "0"
"enabled" "0" "enabled" "0"
"image" "" "image" ""
"scaleImage" "1" "scaleImage" "1"
"color_outline" "52 48 45 255" "color_outline" "52 48 45 255"
} }
} }

View file

@ -159,12 +159,12 @@ Animate PlayerStatusSpyOutlineImage Alpha "0" Linear 0.2 0.1
//-------------------------------------------------------------------------- //--------------------------------------------------------------------------
event CompetitiveGame_LowerChatWindow event CompetitiveGame_LowerChatWindow
{ {
Animate HudChat ypos 320 Accel 0 0 Animate HudChat ypos 235 Accel 0 0
} }
event CompetitiveGame_RestoreChatWindow event CompetitiveGame_RestoreChatWindow
{ {
Animate HudChat ypos 320 Accel 0 0 Animate HudChat ypos 235 Accel 0 0
} }
event HudTournament_MoveChatWindow event HudTournament_MoveChatWindow

View file

@ -22,8 +22,8 @@
// center speedos // center speedos
"speedo_vertical_center" { "xpos" "c-30" "ypos" "c170" "visible" "0" } //195 "speedo_vertical_center" { "xpos" "c-30" "ypos" "c170" "visible" "0" } //195
"speedo_horizontal_center" { "xpos" "c-30" "ypos" "c145" "visible" "1" } //170 "speedo_horizontal_center" { "xpos" "c-30" "ypos" "c145" "visible" "0" } //170 1
"speedo_absolute_center" { "xpos" "cs-0.5" "ypos" "c130" "visible" "1" } "speedo_absolute_center" { "xpos" "cs-0.5" "ypos" "c130" "visible" "0" } // 1
// left spedos // left spedos
"speedo_vertical_left" { "xpos" "c-170" "ypos" "c175" "visible" "0" } //195 "speedo_vertical_left" { "xpos" "c-170" "ypos" "c175" "visible" "0" } //195
@ -64,28 +64,28 @@
"textAlignment" "center" "textAlignment" "center"
"fgcolor" "Crosshair" "fgcolor" "Crosshair"
} }
"Timer30" //"Timer30"
{ //{
"controlName" "ImagePanel" // "controlName" "ImagePanel"
"fieldName" "Timer30" // "fieldName" "Timer30"
"xpos" "c215" //c215 // "xpos" "c215" //c215
"ypos" "c150" //c150 // "ypos" "c150" //c150
"image" "replay/thumbnails/30sectimer" // "image" "replay/thumbnails/30sectimer"
"wide" "25" // "wide" "25"
"tall" "25" // "tall" "25"
"scaleImage" "1" // "scaleImage" "1"
} //}
"Timer30Tens" //"Timer30Tens"
{ //{
"controlName" "ImagePanel" // "controlName" "ImagePanel"
"fieldName" "Timer30Tens" // "fieldName" "Timer30Tens"
"xpos" "c190" //c215 // "xpos" "c190" //c215
"ypos" "c150" //c150 // "ypos" "c150" //c150
"image" "replay/thumbnails/30sectimertens" // "image" "replay/thumbnails/30sectimertens"
"wide" "25" // "wide" "25"
"tall" "25" // "tall" "25"
"scaleImage" "1" // "scaleImage" "1"
} //}
//-------------------------------------------------------------- //--------------------------------------------------------------
@ -100,6 +100,18 @@
"tall" "480" "tall" "480"
} }
"CurrencyStatusPanel"
{
"ControlName" "CCurrencyStatusPanel"
"fieldName" "CurrencyStatusPanel"
"xpos" "c-202"
"ypos" "r56"
"wide" "100"
"tall" "16"
"visible" "1"
"enabled" "1"
}
HudWeaponAmmo HudWeaponAmmo
{ {
"fieldName" "HudWeaponAmmo" "fieldName" "HudWeaponAmmo"
@ -541,12 +553,12 @@
"TextFont" "aRegular10" "TextFont" "aRegular10"
"TeamBlue" "ahudBlue" "TeamBlue" "White"
"TeamRed" "ahudRed" "TeamRed" "White"
"IconColor" "White" "IconColor" "Black"
"LocalPlayerColor" "Black" "LocalPlayerColor" "White"
"BaseBackgroundColor" "29 29 29 255" "BaseBackgroundColor" "0 0 0 140"
"LocalBackgroundColor" "175 175 175 255" "LocalBackgroundColor" "175 175 175 255"
} }
@ -893,7 +905,7 @@
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"xpos" "c-100" "xpos" "c-100"
"ypos" "r163" "ypos" "280"
"wide" "200" "wide" "200"
"tall" "7000" "tall" "7000"
"zpos" "4" "zpos" "4"

BIN
sound/vo/null.mp3 Normal file

Binary file not shown.