[TF2] Fixes for War Paint support + additional item details in several UI#856
Closed
rabscootle wants to merge 10 commits intoValveSoftware:masterfrom
Closed
[TF2] Fixes for War Paint support + additional item details in several UI#856rabscootle wants to merge 10 commits intoValveSoftware:masterfrom
rabscootle wants to merge 10 commits intoValveSoftware:masterfrom
Conversation
…Paint weapons" This reverts commit 7fd2737.
Contributor
|
Love this! |
Bitl
added a commit
to BitlDevelopmentStudios/source-sdk-2013-bds-base
that referenced
this pull request
Mar 8, 2025
Contributor
Author
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.
Fixes ValveSoftware/Source-1-Games#3520
When dealing with dropped weapons, the live TF client currently typically points to static data in the item schema for weapon details, particularly paintkit IDs and item rarities. However, War Paint items bypass requiring their own respective schema entries and instead have attributes applied to individual instances of base paintkit items. This change meant that while the same attributes were present on war paint items, they were not being picked up by the game for specific UI.

Game code has been updated to extract details from currently held weapon rather than static schema entry for compatibility with War Paint weapons + additional item details.
Fixed rarity and weapon skin name not displaying on dropped weapons:

Additional check for Self-Made quality has been added to match other economy UI behavior.
Dropped weapon UI will also now display additional item details (ie. Australium, Strange Rank). It will also display custom names to their owners:

Fixed rarity and weapon skin name not displaying in playerstatus UI for dropped war paint items:

Fixed color border not updating to match rarity of war paint items in Loadout Selection UI:
