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.
## 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
1. use tf_hud_target_id_alpha 255 or else it breaks

View file

@ -191,7 +191,7 @@ Scheme
Fonts
{
isproportional "only"
"Default"
{
"1"
@ -338,49 +338,55 @@ Scheme
"ChatFont"
{
isproportional "only"
"1"
{
"name" "Verdana"
"tall" "12"
"name" "MingLiU-ExtB"
"tall" "18"
"weight" "700"
"yres" "480 599"
"dropshadow" "1"
"dropshadow" "0"
"antialias" "1"
}
"2"
{
"name" "Verdana"
"tall" "14"
"name" "MingLiU-ExtB"
"tall" "18"
"weight" "700"
"yres" "600 767"
"dropshadow" "1"
"dropshadow" "0"
"antialias" "1"
}
"3"
{
"name" "Verdana"
"tall" "15"
"name" "MingLiU-ExtB"
"tall" "18"
"weight" "700"
"yres" "768 1023"
"dropshadow" "1"
"dropshadow" "0"
"antialias" "1"
}
"4"
{
"name" "Verdana"
"tall" "17"
"name" "MingLiU-ExtB"
"tall" "18"
"weight" "700"
"yres" "1024 1199"
"dropshadow" "1"
"dropshadow" "0"
"antialias" "1"
}
"5"
{
"name" "Verdana"
"name" "MingLiU-ExtB"
"tall" "22"
"weight" "700"
"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"
"enabled" "1"
"xpos" "1"
"ypos" "320"
"wide" "210"
"ypos" "255"
"wide" "235"
"tall" "100"
"PaintBackgroundType" "0"
}
@ -21,7 +21,7 @@
"enabled" "1"
"xpos" "10"
"ypos" "395"
"wide" "190"
"wide" "215"
"tall" "0"
"PaintBackgroundType" "0"
}
@ -52,7 +52,7 @@
"fieldName" "HudChatHistory"
"xpos" "0"
"ypos" "0"
"wide" "210"
"wide" "235"
"tall" "75"
"wrap" "1"
"autoResize" "1"

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

BIN
sound/vo/null.mp3 Normal file

Binary file not shown.