Skip to content

Conversation

@FlaminSarge
Copy link
Contributor

@FlaminSarge FlaminSarge commented Nov 8, 2025

Description

Some custom HUDs reduce the ubercharge indicator to just a numeric value, and this always shows as 0% for the Vaccinator due to it setting charge_count (from #TF_IndividualUbercharges or #TF_IndividualUberchargesMinHUD) instead of charge (from #TF_Ubercharge or #TF_UberchargeMinHUD).
Setting charge here alongside charge_count allows those HUDs to properly show the actual ubercharge value (since they use TF_UberchargeMinHUD in most cases). This includes when a bonesaw weapon is held.

Note: some HUDs may require minor positioning adjustments now that the value is no longer stuck at 0%, as some HUDs used other UI elements to hide the 0% value when the Vaccinator was equipped.

… Vaccinator

Some custom HUDs reduce the ubercharge indicator to just a numeric value, and this always shows as 0% for the Vaccinator due to it using charge_count instead of charge
Setting charge here alongside charge_count allows those HUDs to properly show the value
This includes when a bonesaw weapon is held
@FlaminSarge FlaminSarge changed the title Allow custom HUDs to show ubercharge numeric amount correctly for the Vaccinator [TF2] Allow custom HUDs to show ubercharge numeric amount correctly for the Vaccinator Nov 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant