Team Fortress 2

Team Fortress 2

War Painted & Festivized Weapon Icon Black Bar Fix
2
2
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
29.470 KB
Jul 23, 2023 @ 2:26pm
Mar 31 @ 1:18pm
6 Change Notes ( view )

Would you like to see this item officially accepted and supported in Team Fortress 2?

Yes
No thanks /
Not interested
Ask me
again later
In 1 collection by Lindon
Lindon's Community Fixes Collection
5 items
Description
Main Info
War Painted and Festivized weapon icons (or just item icons that use dynamic icon generation) have a bug in which a black bar will appear when playing at certain resolutions (e.g. 3840x2160). The black bar can appear at various sizes (sometimes thin and hardly noticeable, sometimes thick and very noticeable), also believed to be dependent on resolution.

This aims to fix MOST cases of the bug appearing for the default HUD only and has been tested with different values and at quite a few game and screen resolutions (low-res & high-res). Sadly, alternative/unique resolution sizes (e.g. 2804x1577, yes, that's a real resolution) offered by technology like dynamic super resolution may not see this bug be fixed with this solution.

Please note that due to the nature of editing HUD files and not editing the game code itself, this fix as-is does slightly increase the size of item icons in several areas (loadout screen, confirm dialogues, etc.) and that not increasing the size means the black bar bug will still occur. We believe this is a fair trade-off and haven't seen issues arise from this change.

For the TF Team
• A readme.txt file has been included detailing the exact changes made and how to replicate them.

• The bug will still appear in the Mann Co. Catalog for the Decorated weapons featured there and we've intentionally made no changes here because fixing the issue causes the majority of the other icons to be in the wrong position, thus requiring changes that may not be suitable. We hope a solution can be found on your end.