ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
634 stars 74 forks source link

Visual bug for Scout's DRH Paint #4551

Open DLSwinzor opened 1 year ago

DLSwinzor commented 1 year ago

So, when i change to BLU in the Scout's inventory while using a Death Racer's Helmet painted with Operator's Overall, it will show the red colors for this hat instead of the blue ones, i don't know if i am the only one with this problem, just wanted to solve it image

gabrielwoj commented 1 year ago

This is a problem with the custom HUD and its ability to change the team color via buttons. This is done with the console commands r_skin 0 (for RED), and r_skin 1 (for BLU), while sv_cheats 1 is enabled (pressing those buttons basically sends the commands sv_cheats 1; r_skin 0 or sv_cheats 1; r_skin 1).

This is not perfect, though, as it changes every other material's skin to the 1st and 2nd as well, this can have issues with items that use styles with skins (usually older cosmetics, or even the Gloves of Running Urgently, as it uses the same model as the Killing Boxes of Gloving, only relying on Skins instead).

The default HUD does not have this functionality, so it's not really something that can happen on a vanilla TF2 without any custom HUDs, so I don't think this will be "fixed" as there's really nothing to fix (you can still type the commands via console, but considering it requires sv_cheats enabled, this is something many won't realize). However, if you are in-game, and on the BLU Team, and you go to the "Edit Loadout" button, the paint will look fine.

One thing that can be suggested instead is the ability to change Teams on the Loadout Menu in the default HUD. That way, the devs can implement a way that the proper team-colored Paint Can changes upon changing the teams.