[TF2] Fixed war paint items not displaying rarity color in various UI#1756
Open
rabscootle wants to merge 1 commit intoValveSoftware:masterfrom
Open
[TF2] Fixed war paint items not displaying rarity color in various UI#1756rabscootle wants to merge 1 commit intoValveSoftware:masterfrom
rabscootle wants to merge 1 commit intoValveSoftware:masterfrom
Conversation
Contributor
|
The Park Pigmented Scattergun in the last image may be hard to read due to being red on red. Potentially the same issue with Mercenary grade weapons on BLU. I also personally find the purple Pistol text to be difficult to read. Is there a chance there can be a convar toggle to keep old behaviour? |
Contributor
Author
I can look into making a convar, but this PR is focusing solely on bringing feature parity to War Paint items so they function closer to Decorated Weapons. |
This was referenced Feb 6, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Partial fix for ValveSoftware/Source-1-Games#3520
This PR fixes rarities not applying properly in various UI when handling war-painted items.
When dealing with dropped weapons, the live TF client currently typically points to static data in the item schema for weapon details, including item rarities. However, War Paint items bypass requiring their own respective schema entries by having attributes applied to individual instances of base paintkit items. This change meant that while the same attributes are present on war paint items, certain game code was not updated to support this:

Game code has been updated to extract details from dropped weapons rather than static schema entry to display rarity for War Paints in the following UI:



Weapon Pickup (Target HUD)
Loadout - Item Selection Screen
Player Status HUD (when using dropped weapon)