Skip to content

Commit

Permalink
[flawhud] Fixed centered vaccinator not working #263
Browse files Browse the repository at this point in the history
  • Loading branch information
CriticalFlaw committed Nov 5, 2024
1 parent 988d59c commit 804b8ea
Showing 1 changed file with 114 additions and 116 deletions.
230 changes: 114 additions & 116 deletions src/TF2HUD.Editor/JSON/flawhud.json
Original file line number Diff line number Diff line change
Expand Up @@ -801,115 +801,6 @@
}
}
},
{
"Name": "fh_centered_vacc_icon",
"Label": "Center Vaccinator Icon",
"Type": "Checkbox",
"ToolTip": "Position Vaccinator icon towards the center.",
"Value": "false",
"Files": {
"resource/ui/hudmannvsmachinestatus.res": {
"ChargeLabelShadow": {
"visible": {
"true": "1",
"false": "1"
},
"xpos": {
"true": "c-10",
"false": "-2"
},
"ypos": {
"true": "c15",
"false": "-2"
},
"wide": {
"true": "48",
"false": "110"
},
"tall": {
"true": "27",
"false": "43"
},
"labelText": {
"true": "#TF_IndividualUberchargesMinHUD",
"false": ""
},
"bgcolor_override": {
"true": "HudBlack",
"false": "Black"
}
},
"ChargeMeter1": {
"ypos": {
"true": "-20",
"false": "-2"
},
"wide": {
"true": "10",
"false": "25"
},
"tall": {
"true": "5",
"false": "26"
}
},
"ChargeMeter2": {
"wide": {
"true": "10",
"false": "25"
},
"tall": {
"true": "5",
"false": "26"
}
},
"ChargeMeter3": {
"wide": {
"true": "10",
"false": "25"
},
"tall": {
"true": "5",
"false": "26"
}
},
"ChargeMeter4": {
"wide": {
"true": "10",
"false": "25"
},
"tall": {
"true": "5",
"false": "26"
}
},
"ResistIconAnchor": {
"xpos": {
"true": "0",
"false": "70"
},
"pin_corner_to_sibling": {
"true": "PIN_TOPRIGHT",
"false": "PIN_CENTER_TOP"
},
"pin_to_sibling_corner": {
"true": "PIN_TOPLEFT",
"false": "PIN_CENTER_TOP"
}
},
"ResistIcon": {
"wide": {
"true": "25",
"false": "30"
},
"tall": {
"true": "25",
"false": "30"
}
}
}
}
},
{
"Name": "fh_val_hud_style",
"Label": "Cornered Health/Ammo",
Expand Down Expand Up @@ -979,13 +870,9 @@
}
},
"ChargeLabelShadow": {
"textAlignment": {
"true": "east",
"false": "center"
},
"font": {
"true": "FontBold50",
"false": "FontBold22"
"visible": {
"true": "0",
"false": "1"
}
},
"IndividualChargesLabel": {
Expand Down Expand Up @@ -1161,6 +1048,117 @@
}
}
},
{
"Name": "fh_centered_vacc_icon",
"Label": "Center Vaccinator Icon",
"Type": "Checkbox",
"ToolTip": "Position Vaccinator icon towards the center.",
"Value": "false",
"Files": {
"resource/ui/hudmediccharge.res": {
"ChargeLabelShadow": {
"visible": {
"true": "0",
"false": "1"
}
},
"IndividualChargesLabel": {
"xpos": {
"true": "c-10",
"false": "c-55"
},
"ypos": {
"true": "c15",
"false": "r120"
},
"wide": {
"true": "48",
"false": "110"
},
"tall": {
"true": "27",
"false": "30"
},
"labelText": {
"true": "#TF_IndividualUberchargesMinHUD",
"false": ""
},
"defaultbgcolor_override": {
"true": "HudBlack",
"false": "Black"
}
},
"ChargeMeter1": {
"ypos": {
"true": "-20",
"false": "-2"
},
"wide": {
"true": "10",
"false": "25"
},
"tall": {
"true": "5",
"false": "26"
}
},
"ChargeMeter2": {
"wide": {
"true": "10",
"false": "25"
},
"tall": {
"true": "5",
"false": "26"
}
},
"ChargeMeter3": {
"wide": {
"true": "10",
"false": "25"
},
"tall": {
"true": "5",
"false": "26"
}
},
"ChargeMeter4": {
"wide": {
"true": "10",
"false": "25"
},
"tall": {
"true": "5",
"false": "26"
}
},
"ResistIconAnchor": {
"xpos": {
"true": "0",
"false": "70"
},
"pin_corner_to_sibling": {
"true": "PIN_TOPRIGHT",
"false": "PIN_CENTER_TOP"
},
"pin_to_sibling_corner": {
"true": "PIN_TOPLEFT",
"false": "PIN_CENTER_TOP"
}
},
"ResistIcon": {
"wide": {
"true": "25",
"false": "30"
},
"tall": {
"true": "25",
"false": "30"
}
}
}
}
},
{
"Name": "fh_val_damage_values",
"Label": "Damage Numbers",
Expand Down

0 comments on commit 804b8ea

Please sign in to comment.