From 155e45adf4d2a26f7fcf6d343d5b4d192f8cbbf4 Mon Sep 17 00:00:00 2001 From: szero Date: Sun, 6 Oct 2024 16:00:05 +0200 Subject: [PATCH 1/3] update budhud customizations Signed-off-by: szero --- src/TF2HUD.Editor/JSON/budhud.json | 89 ++++++++++++++++++++++-------- 1 file changed, 65 insertions(+), 24 deletions(-) diff --git a/src/TF2HUD.Editor/JSON/budhud.json b/src/TF2HUD.Editor/JSON/budhud.json index 0b8a852a..20b05c36 100644 --- a/src/TF2HUD.Editor/JSON/budhud.json +++ b/src/TF2HUD.Editor/JSON/budhud.json @@ -14,7 +14,7 @@ "0 1 2 3", "0 1 2 3", "4 5 6 6", - "4 7 7 7" + "7 8 8 8" ], "Links": { "GitHub": "https://github.com/rbjaxter/budhud", @@ -22,25 +22,21 @@ "ComfigHuds": "https://comfig.app/huds/page/budhud/", "Steam": "https://steamcommunity.com/groups/budhud", "Discord": "https://discord.com/invite/TkxNKU2", - "Download": [ - { - "Source": "GitHub", - "Link": "https://github.com/rbjaxter/budhud/archive/master.zip" - } - ] + "Download": [{ + "Source": "GitHub", + "Link": "https://github.com/rbjaxter/budhud/archive/master.zip" + }] }, "CustomizationsFolder": "#customization", "EnabledFolder": "#customization//_enabled", "Controls": { - "General UI": [ - { + "General UI": [{ "Name": "bh_youtuber_select", "Label": "YouTuber Profile", "Type": "ComboBox", "ToolTip": "Change to a HUD style used by community members.", "Value": "0", - "Options": [ - { + "Options": [{ "Label": "Default", "Value": "0" }, @@ -128,10 +124,16 @@ "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": [ - { + "Health and Ammo": [{ "Name": "bh_player_healthcross_inset", "Label": "Health Cross", "Type": "Checkbox", @@ -193,8 +195,7 @@ } } ], - "Main Menu": [ - { + "Main Menu": [{ "Name": "bh_menu_hidefriends", "Label": "Hide Friends", "Type": "Checkbox", @@ -244,8 +245,7 @@ "FileName": "bh_feeling_spooky.res" } ], - "TargetIDs": [ - { + "TargetIDs": [{ "Name": "bh_targetid_healthcross2", "Label": "Health Cross", "Type": "Checkbox", @@ -260,8 +260,7 @@ "FileName": "bh_targetid_largehealth.res" } ], - "Medic Customizations": [ - { + "Medic Customizations": [{ "Name": "bh_uber_largeuberpercentage", "Label": "Large Uber Percentage", "Type": "Checkbox", @@ -283,8 +282,7 @@ "FileName": "bh_uber_percentagenearcrosshair.res" } ], - "Health Colors": [ - { + "Health Colors": [{ "Name": "bh_Health_Main", "Label": "Normal", "Type": "ColorPicker", @@ -317,8 +315,7 @@ } } ], - "Ammo Colors": [ - { + "Ammo Colors": [{ "Name": "bh_Ammo_Main", "Label": "Normal", "Type": "ColorPicker", @@ -367,8 +364,52 @@ } } ], - "Crosshair (Hypnotize's Unified Crosshair Pack)": [ + "Engineer Customizations": [{ + "Name": "bh_metal_position", + "Label": "Metal Counter\nUnder Crosshair", + "Type": "Checkbox", + "Value": "false", + "Files": { + "_budhud/scripts/hudlayout.res": { + "CHudAccountPanel": { + "ypos": { + "true": "c-3", + "false": "c110" + } + } + } + } + }, { + "Name": "bh_building_display_h", + "Label": "Building Display\nHorizontal Position", + "Type": "TextBox", + "Value": "0", + "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 Position", + "Type": "TextBox", + "Value": "105", + "ToolTip": "Increase the number to move the display down.", + "Files": { + "_budhud/scripts/hudlayout.res": { + "bh_BuildPin": { + "ypos": "$value" + } + } + } + } + ], + "Crosshair (Hypnotize's Unified Crosshair Pack)": [{ "Name": "bh_toggle_xhair_enable", "Label": "Toggle Crosshair", "Type": "Checkbox", From e05b7daf7589da994178805871971cb0865802e1 Mon Sep 17 00:00:00 2001 From: Igor Date: Sun, 6 Oct 2024 18:44:45 -0400 Subject: [PATCH 2/3] Re-enable user input on IntegerUpDown --- src/TF2HUD.Editor/App.xaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TF2HUD.Editor/App.xaml b/src/TF2HUD.Editor/App.xaml index a8c4296c..30cc9ca2 100644 --- a/src/TF2HUD.Editor/App.xaml +++ b/src/TF2HUD.Editor/App.xaml @@ -82,7 +82,7 @@ - +