-
Notifications
You must be signed in to change notification settings - Fork 81
Description
TF2 client seems to be scrubbing the item schema for properties not explicitly found on War Paint weapons, specifically 'paintkit_proto_def_index' value and a listed rarity (presumably through case lootlists). The former handles attaching the design name (i.e. 'Smissmas Sweater') to the string while the latter seems to handle the rarity coloring being applied. For clarification, the paintkit index # is included on War Paint weapons as a hidden item attribute (same as a Decorated Weapon), but is not on an explicit item schema entry.
Bug is caused by War Paint weapons sharing a common item schema entry instead of having a proper listing like older skins do.
Updating the UI to search for a paintkit index # from the actual weapon on the floor (hidden item attribute) would fix the name not showing. The game would need another way to search item rarities to fix the color not being applied to on War Paint weapons.

The correct behavior only occurs on the War Paint tools (what's actually unboxed from the case) as they have explicit item schema entries + rarity.

Issue also affects the player status HUD when carrying a weapon dropped by another user:

In addition, War Painted weapons do not display their rarity on their item borders. Instead, they currently display the color of their respective quality.


