Skip to content

Commit

Permalink
Merge pull request #251 from szero/budhud_update
Browse files Browse the repository at this point in the history
  • Loading branch information
CriticalFlaw authored Oct 7, 2024
2 parents 959f5c9 + 56d5fe9 commit 4782501
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/TF2HUD.Editor/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
<Setter Property="FormatString" Value="N0" />
<Setter Property="Increment" Value="1" />
<Setter Property="Width" Value="125" />
<Setter Property="AllowTextInput" Value="False" />
<Setter Property="AllowTextInput" Value="True" />
</Style>

<Style x:Key="CrosshairLabel" TargetType="Label">
Expand Down
91 changes: 76 additions & 15 deletions src/TF2HUD.Editor/JSON/budhud.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"0 1 2 3",
"0 1 2 3",
"4 5 6 6",
"4 7 7 7"
"7 7 8 8"
],
"Links": {
"GitHub": "https://github.com/rbjaxter/budhud",
Expand Down Expand Up @@ -128,6 +128,13 @@
"Type": "Checkbox",
"Value": "false",
"FileName": "bh_game_hidecontracker.res"
},
{
"Name": "bh_speedometer",
"Label": "Speedometer",
"Type": "Checkbox",
"Value": "false",
"FileName": "bh_speedometer.res"
}
],
"Health and Ammo": [
Expand Down Expand Up @@ -367,28 +374,61 @@
}
}
],
"Crosshair (Hypnotize's Unified Crosshair Pack)": [
"Engineer Customizations": [
{
"Name": "bh_toggle_xhair_enable",
"Label": "Toggle Crosshair",
"Name": "bh_building_display_h",
"Label": "Building Display\nHorizontal Pos.",
"Type": "IntegerUpDown",
"Value": "0",
"Minimum": "0",
"Maximum": "1000",
"Increment": "1",
"Width": 140,
"ToolTip": "Increase the number to move the display to the right.",
"Files": {
"_budhud/scripts/hudlayout.res": {
"bh_BuildPin": {
"xpos": "$value"
}
}
}
},
{
"Name": "bh_building_display_v",
"Label": "Building Display\nVertical Pos.",
"Type": "IntegerUpDown",
"Value": "105",
"Minimum": "0",
"Maximum": "1000",
"Increment": "1",
"Width": 140,
"ToolTip": "Increase the number to move the display down.",
"Files": {
"_budhud/scripts/hudlayout.res": {
"bh_BuildPin": {
"ypos": "$value"
}
}
}
},
{
"Name": "bh_metal_position",
"Label": "Metal Count Under XHair",
"Type": "Checkbox",
"ToolTip": "Toggle crosshair feature.",
"Value": "false",
"Files": {
"#customization/_enabled/bh_crosshairs.res": {
"hud_crosshair_1": {
"visible": {
"true": "1",
"false": "0"
},
"enabled": {
"true": "1",
"false": "0"
"_budhud/scripts/hudlayout.res": {
"CHudAccountPanel": {
"ypos": {
"true": "c-3",
"false": "c110"
}
}
}
}
},
}
],
"Crosshair (Hypnotize's Unified Crosshair Pack)": [
{
"Name": "bh_val_xhair_style",
"Label": "Style",
Expand Down Expand Up @@ -451,6 +491,27 @@
}
}
}
},
{
"Name": "bh_toggle_xhair_enable",
"Label": "Show Crosshair",
"Type": "Checkbox",
"ToolTip": "Toggle crosshair feature.",
"Value": "false",
"Files": {
"#customization/_enabled/bh_crosshairs.res": {
"hud_crosshair_1": {
"visible": {
"true": "1",
"false": "0"
},
"enabled": {
"true": "1",
"false": "0"
}
}
}
}
}
]
}
Expand Down

0 comments on commit 4782501

Please sign in to comment.