Skip to content

Commit

Permalink
[budhud] Formatting tweaks, use IntegerUpDown
Browse files Browse the repository at this point in the history
  • Loading branch information
CriticalFlaw committed Oct 6, 2024
1 parent e05b7da commit 56d5fe9
Showing 1 changed file with 69 additions and 49 deletions.
118 changes: 69 additions & 49 deletions src/TF2HUD.Editor/JSON/budhud.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,33 @@
"0 1 2 3",
"0 1 2 3",
"4 5 6 6",
"7 8 8 8"
"7 7 8 8"
],
"Links": {
"GitHub": "https://github.com/rbjaxter/budhud",
"TF2Huds": "https://tf2huds.dev/hud/budhud",
"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"
},
Expand Down Expand Up @@ -133,7 +137,8 @@
"FileName": "bh_speedometer.res"
}
],
"Health and Ammo": [{
"Health and Ammo": [
{
"Name": "bh_player_healthcross_inset",
"Label": "Health Cross",
"Type": "Checkbox",
Expand Down Expand Up @@ -195,7 +200,8 @@
}
}
],
"Main Menu": [{
"Main Menu": [
{
"Name": "bh_menu_hidefriends",
"Label": "Hide Friends",
"Type": "Checkbox",
Expand Down Expand Up @@ -245,7 +251,8 @@
"FileName": "bh_feeling_spooky.res"
}
],
"TargetIDs": [{
"TargetIDs": [
{
"Name": "bh_targetid_healthcross2",
"Label": "Health Cross",
"Type": "Checkbox",
Expand All @@ -260,7 +267,8 @@
"FileName": "bh_targetid_largehealth.res"
}
],
"Medic Customizations": [{
"Medic Customizations": [
{
"Name": "bh_uber_largeuberpercentage",
"Label": "Large Uber Percentage",
"Type": "Checkbox",
Expand All @@ -282,7 +290,8 @@
"FileName": "bh_uber_percentagenearcrosshair.res"
}
],
"Health Colors": [{
"Health Colors": [
{
"Name": "bh_Health_Main",
"Label": "Normal",
"Type": "ColorPicker",
Expand Down Expand Up @@ -315,7 +324,8 @@
}
}
],
"Ammo Colors": [{
"Ammo Colors": [
{
"Name": "bh_Ammo_Main",
"Label": "Normal",
"Type": "ColorPicker",
Expand Down Expand Up @@ -364,27 +374,16 @@
}
}
],
"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"
}
}
}
}
},
"Engineer Customizations": [
{
"Name": "bh_building_display_h",
"Label": "Building Display\nHorizontal Position",
"Type": "TextBox",
"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": {
Expand All @@ -396,9 +395,13 @@
},
{
"Name": "bh_building_display_v",
"Label": "Building Display\nVertical Position",
"Type": "TextBox",
"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": {
Expand All @@ -407,29 +410,25 @@
}
}
}
}
],
"Crosshair (Hypnotize's Unified Crosshair Pack)": [{
"Name": "bh_toggle_xhair_enable",
"Label": "Toggle Crosshair",
},
{
"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 @@ -492,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 56d5fe9

Please sign in to comment.