source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

[TF2] Fixes for War Paint support + additional item details in several UI

Open rabscootle opened this issue 10 months ago • 1 comments

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. image (2)

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: image 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: image

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

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

rabscootle avatar Feb 26 '25 16:02 rabscootle

Love this!

bobatealee avatar Feb 27 '25 02:02 bobatealee