Skip to content

[TF2] Potential fix for chat window out of position in Casual/Competitive Match Start/End #1188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rabscootle
Copy link
Contributor

@rabscootle rabscootle commented Apr 6, 2025

Potential fix for ValveSoftware/Source-1-Games#3523

Fix is untested due to its dependency on matchmaking

  • Added a check for if player is at end of Casual/Competitive match to retain chat window in lower position when respawning (Fixes chat incorrectly repositioning itself to in-game position when initializing Competitive Match Summary)
  • Added trigger for chat window to lower/raise during match start sequence to minimize overlap with match start UI

============================

TF2 uses HUD animations (CompetitiveGame_LowerChatWindow and CompetitiveGame_RestoreChatWindow) to handle moving the chat box up and down when the match status doors appear. However, the live TF client triggers CompetitiveGame_RestoreChatWindow whenever a player is respawned, resulting in the chat window moving itself back up to in-game position when players respawn for the match summary.

comp.textbox.bug.mp4

The live client also fails to relocate the chat window at the start of a match to a lower position. This results in some of the match start UI overlapping significantly:
image

This was previously not an issue in older versions of the game (picture below is from 2016 competitive beta):
image

Issue is also prevalent in Casual:
image

Description

…Match Start + Competitive Summary

Adds a check for if player is at end of Casual/Competitive match to retain chat window in lower position. This will minimize overlap with match summary UI on screen.

Adds triggers for chat window to raise/lower during match start sequence to minimize overlap with team lineup UI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant