[TF2] Fix multiple class menu related issues - #1991
Conversation
…iginal fix by mastercoms)
|
I think the Spy continually smoking his cigarette looks much more natural, the proposed fix looks quite awkward. |
The animation was like that before the MVM update and on console TF2. Edit: I double check the 2007 build of TF2. Apparently the class_select.vcd is in use for Spy, but the .vcd is broken in a different way. |
|
I've been waiting for a fix like this for years. Holding out hope this gets merged |
|
This NEEDS to be added to the game. Presentation is important and this had been bugging me for a decade. |
|
I am a bit unhappy about my fix to the class menu so far and wanted to do more work on it, which is why I didn't submit it yet. This PR is also missing the subsequent fixes to the class menu I had done, including stopping the select sounds when the class menu is closed. |
I added an extra check to avoid that. |
|
Yes, but sounds that start while selecting a class, will continue playing after you select the class, causing errant foley sounds to play for up to a few seconds while in-game. |
Like I said, I added an extra check to avoid that. |
|
The check you do prevents playing new sounds to start playing when the class menu is closed, it does not stop already playing sounds. |
|
I don't see the point. |
|
It would be an improvement over what we used to have then. Don't see a reason to not have it. |
Description
Based on mastercoms implementation of class menu fix.
This PR addresses two issues regarding class selection menu. First is missing sound effect, second is facial animation not resetting at the start of the animation.
Before:
2026-08-03.22-34-42.mp4
After:
2026-08-03.22-40-27.mp4
In addition, Spy has faulty class_select.vcd which causes Spy to have choppy class select animation at the start. The .vcd will also cause Spy to repeatedly huffing his cigarette instead of playing his idle animation. After this PR is applied, the faulty .vcd will cause Spy to play idle animation for 0.1 second at the start of his class select animation.
In order to avoid all the issues listed above, this PR must be accompanied with .vcd fix. Valve will need to place class_select.vcd inside tf/scenes/player/spy/low and then rebuild scenes.image.
Edit: Restore missing facial animation where Spy blows the cigarette smoke.
class_select.zip
Before:
2026-08-03.22-49-10.mp4
After without .vcd fix:
2026-08-03.23-04-09.mp4
After with .vcd fix:
2026-08-04.20-11-41.mp4
Lastly, the class menu used to have spotlight that was absent since the MVM update. The player model looks much darker compared to how it was before 2012. The method to fix this was mentioned by ValveSoftware/Source-1-Games#4121
Valve needs to put this fixed classselection.res inside tf/resource/ui
classselection.zip
Before:


After:
If all the suggestions are implemented, this related issue can be closed for good.
ValveSoftware/Source-1-Games#4121