Skip to content

[TF2] Fix Demoman Charge Meter#1895

Open
ThatFriendlyWolf wants to merge 3 commits intoValveSoftware:masterfrom
ThatFriendlyWolf:shield-meter-fixes
Open

[TF2] Fix Demoman Charge Meter#1895
ThatFriendlyWolf wants to merge 3 commits intoValveSoftware:masterfrom
ThatFriendlyWolf:shield-meter-fixes

Conversation

@ThatFriendlyWolf
Copy link
Copy Markdown

@ThatFriendlyWolf ThatFriendlyWolf commented Apr 18, 2026

Currently, in live TF2, the charge meter for Demoman does not factor in the stat that makes it only mini crit (for the Tide Turner).
Alongside this it does not properly reflect the color range properly.

This pull request tries to fix this so that it is a lot more reliable to use.
Changing it so that the charge meter does not display the crit colors for the Tide Turner, while also fixing the percentage to line up with what is actually used.

shield fix

Fixes the incorrect value used for the crit section.

Implements the same attribute check that the Tide Turner uses to disable crits.
}
else
{
m_pChargeMeter->SetFgColor( Color( 255, 255, 255, 255 ) );
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While it's recharging, do you think it's worth setting the color to grey so that it has a visible color change when it's full (grey to white)?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seeing how the other meters do not have this type of effect (other than the vaccinator charge which is a entirely different meter) I believe it would be best to keep it as is to keep it consistent with the other meters that are used.

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.

2 participants