Skip to content

Commit

Permalink
add 6v6 match status w/ player names (#561)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbjaxter committed Dec 21, 2024
1 parent 3f0a92b commit b9dfdf8
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 16 deletions.
61 changes: 61 additions & 0 deletions #customization/bh_matchstatus_6v6.res
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
"Resource/UI/HudMatchStatus.res"
{
"HudMatchStatus"
{
}

"TeamStatus"
{
"max_size" "40" // any higher doesn't pass powah res test (1024x768)
"color_portrait_bg_red_dead" "bh_black"
"color_portrait_bg_blue_dead" "bh_black"

"playerpanels_kv"
{
"healthbar"
{
"ypos" "0"
"zpos" "1"
"tall" "20"
}

"overhealbar"
{
"ypos" "0"
"zpos" "2"
"tall" "20"
}

"classimage"
{
"zpos" "3"
}

"playername"
{
"fieldName" "playername"
"xpos" "0"
"ypos" "19"
"zpos" "4"
"wide" "f0"
"tall" "8"
"visible" "1"
"textinsetx" "1"
"labelText" "%playername%"
"font" "bh_Font8"
"textAlignment" "center"
"bgcolor_override" "bh_black"
"proportionaltoparent" "1"
}

"respawntime"
{
"zpos" "5"
"font" "bh_Font18DropShadow"
"fgcolor_override" "bh_white"
"wide" "20"
"tall" "15"
}
}
}
}
35 changes: 19 additions & 16 deletions _budhud/resource/ui/hudmatchstatus.res
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"Resource/UI/HudMatchStatus.res"
{
"HudMatchStatus"
{
}

"ObjectiveStatusTimePanel"
{
"xpos" "cs-0.5"
Expand Down Expand Up @@ -135,9 +139,8 @@
}
}
///////////////////////////////////////////////////////////////////////////////////////////////
// You can hud_reloadscheme through these changes on first launch *until* a team swap happens.
// Then, you have to restart the game for changes to take.
// May also have to do with changing zpos of things
// I honestly have no clue how editing this UI works. Sometimes your changes take, other times
// they don't. It's like it's tempermental. It seems like it only updates if max_size changes
///////////////////////////////////////////////////////////////////////////////////////////////

"TeamStatus"
Expand Down Expand Up @@ -167,10 +170,20 @@
"color_portrait_blend_dead_red" "bh_white"
"color_portrait_blend_dead_blue" "bh_white"

"classimagebg"
{
"ypos" "0"
}

"DeathPanel"
{
"tall" "0"
}

"healthbar"
{
"ypos" "20"
"zpos" "1"
"zpos" "4"
"tall" "7"
}

Expand All @@ -181,23 +194,13 @@
"tall" "7"
}

"classimagebg"
{
"zpos" "0"
}

"classimage"
{
"ypos" "0"
"ypos" "1"
"tall" "20"
"zpos" "3"
}

"DeathPanel"
{
"tall" "0"
}

"SkullPanel"
{
"image" "replay/thumbnails/ingame_icons/skull"
Expand All @@ -209,7 +212,7 @@
"respawntime"
{
"ypos" "3"
"zpos" "4"
"zpos" "5"
"font" "bh_Font10DropShadow"
"fgcolor_override" "bh_white"
"wide" "12"
Expand Down
2 changes: 2 additions & 0 deletions resource/ui/hudmatchstatus.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#base "../../#users/custom/#customization/_enabled/bh_matchstatus_6v6.res"

This comment has been minimized.

Copy link
@rbjaxter

rbjaxter Dec 22, 2024

Author Owner

bet I surprised you, I finally remembered for once @qkeitoe

This comment has been minimized.

Copy link
@qkeitoe

qkeitoe Dec 22, 2024

Contributor

I was already surprised 6f01944 :D

#base "../../#users/custom/resource/ui/hudmatchstatus.res"
#base "../../#customization/_enabled/bh_matchstatus_6v6.res"
#base "../../_stream/resource/ui/hudmatchstatus.res"
#base "../../_budhud/resource/ui/hudmatchstatus.res"
#base "../../_tf2hud/resource/ui/hudmatchstatus.res"

0 comments on commit b9dfdf8

Please sign in to comment.