[TF] Implement a way for users to toggle paint on items #1487
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.
Description
As of recent, community made cosmetics implemented in TF2 have had various issues where the majority of the cosmetic can be recolored, causing team recognition issues (and potentially accessibility issues). Most of the time, the problem can be fixed by the community member creating the item, but sometimes cosmetics can be unchanged for a long period of time without changes.
This PR adds the client-side ConVar "econ_allow_paint_tint", which allows users to toggle whether or not they want to see paint on items. Having this turned off makes the item appear to the user as the normal item color. This solution doesn't fix the team recognition issue, but allows users to have a temporary workaround until the effected items are fixed.