Skip to content

Commit

Permalink
add additional customizations (#561)
Browse files Browse the repository at this point in the history
- hide static damage/heal numbers
- hide stats on loading screen
- show ControlPointProgressBar
  • Loading branch information
rbjaxter committed Dec 15, 2024
1 parent 0cf572e commit 6f01944
Show file tree
Hide file tree
Showing 9 changed files with 104 additions and 6 deletions.
19 changes: 19 additions & 0 deletions #customization/bh_player_centereddamagedone.res
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"Resource/UI/HudDamageAccount.res"
{
"DamageAccountValue"
{
"ControlName" "CExLabel"
"fieldName" "DamageAccountValue"
"xpos" "c-54"
"ypos" "c0"
"zpos" "2"
"wide" "100"
"tall" "28"
"visible" "1"
"enabled" "1"
"labelText" "%metal%"
"textAlignment" "center"
"fgcolor" "bh_hudDMGDisplay"
"font" "bh_Font20"
}
}
16 changes: 16 additions & 0 deletions #customization/bh_player_hidestaticdamage.res
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"Resource/UI/HudDamageAccount.res"
{
"DamageAccountValue"
{
"ypos" "r-6969"
"visible" "0"
"enabled" "0"
}

"DamageAccountValueBG"
{
"ypos" "r-6969"
"visible" "0"
"enabled" "0"
}
}
45 changes: 45 additions & 0 deletions #customization/bh_player_showcontrolpointprogressbar.res
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
"Resource/UI/ControlPointProgressBar.res"
{
"ControlPointProgressBar"
{
"ypos" "0"
"visible" "1"

This comment has been minimized.

Copy link
@qkeitoe

qkeitoe Dec 15, 2024

Contributor

Turns out that it should be "visible" "0" as in the default hud file, otherwise the following happens on maps without control points:
Image

"enabled" "1"
}

"ProgressBar"
{
"ypos" "5"
"visible" "1"
"enabled" "1"
}

"TearDrop"
{
"ypos" "0"
"visible" "1"
"enabled" "1"
}

"TeardropSide"
{
"ypos" "0"
"visible" "1"
"enabled" "1"
}

"Blocked"
{
"ypos" "3"
"zpos" "5"
"visible" "1"
"enabled" "1"
}

"ProgressText"
{
"ypos" "6"
"visible" "1"
"enabled" "1"
}
}
9 changes: 9 additions & 0 deletions #customization/bh_stats_hideloadingstats.res
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"Resource/UI/winpanel.res"
{
"StatData"
{
"ypos" "r-6969"
"visible" "0"
"enabled" "0"
}
}
12 changes: 6 additions & 6 deletions _budhud/resource/ui/controlpointprogressbar.res
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"Resource/UI/ControlPointProgressBar.res"
{
"ControlPointProgressBar"
{
"ypos" "r-6969"
"visible" "0"
"enabled" "0"
}
//"ControlPointProgressBar"
//{
// "ypos" "r-6969"
// "visible" "0"
// "enabled" "0"
//}

"ProgressBar"
{
Expand Down
2 changes: 2 additions & 0 deletions resource/ui/controlpointprogressbar.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#base "../../#users/custom/#customization/_enabled/bh_player_showcontrolpointprogressbar.res"
#base "../../#users/custom/resource/ui/controlpointprogressbar.res"
#base "../../#customization/_enabled/bh_player_showcontrolpointprogressbar.res"
#base "../../_stream/resource/ui/controlpointprogressbar.res"
#base "../../_budhud/resource/ui/controlpointprogressbar.res"
#base "../../_tf2hud/resource/ui/controlpointprogressbar.res"
4 changes: 4 additions & 0 deletions resource/ui/huddamageaccount.res
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#base "../../#users/custom/resource/ui/huddamageaccount.res"
#base "../../#users/custom/#customization/_enabled/bh_player_centereddamagedone.res"
#base "../../#users/custom/#customization/_enabled/bh_player_hidestaticdamage.res"
#base "../../#users/jayhyunpae/resource/ui/huddamageaccount.res"
#base "../../#customization/_enabled/bh_player_centereddamagedone.res"
#base "../../#customization/_enabled/bh_player_hidestaticdamage.res"
#base "../../_stream/resource/ui/huddamageaccount.res"
#base "../../_budhud/resource/ui/huddamageaccount.res"
#base "../../_tf2hud/resource/ui/huddamageaccount.res"
1 change: 1 addition & 0 deletions resource/ui/hudplayerclass.res
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#base "../../#customization/_enabled/bh_player_teamindicator.res"
#base "../../#customization/_enabled/bh_crosshairs.res"
#base "../../#customization/_enabled/bh_speedometer.res"
#base "../../#customization/_enabled/bh_dev_fontcharactersettesting.res"
#base "../../_stream/resource/ui/hudplayerclass.res"
#base "../../_budhud/resource/ui/hudplayerclass.res"
#base "../../_tf2hud/resource/ui/hudplayerclass.res"
2 changes: 2 additions & 0 deletions resource/ui/statsummary.res
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#base "../../#users/custom/resource/ui/statsummary.res"
#base "../../#users/custom/#customization/_enabled/bh_stats_hideloadingstats.res"
#base "../../#users/custom/#customization/_enabled/bh_stats_customimage.res"
#base "../../#users/custom/#customization/_enabled/bh_stats_hidebackground.res"
#base "../../#users/jayhyunpae/#customization/_enabled/bh_stats_customimage.res"
#base "../../#users/powah/#customization/_enabled/bh_stats_customimage.res"
#base "../../#customization/_enabled/bh_stats_hideloadingstats.res"
#base "../../#customization/_enabled/bh_stats_customimage.res"
#base "../../#customization/_enabled/bh_stats_hidebackground.res"
#base "../../_stream/resource/ui/statsummary.res"
Expand Down

0 comments on commit 6f01944

Please sign in to comment.