Source-1-Games icon indicating copy to clipboard operation
Source-1-Games copied to clipboard

[TF2] Inconsistent/erroneous deathcam weapon infobox placements

Open rabscootle opened this issue 3 years ago • 6 comments

The TF2 Client currently has an issue where the deathcam weapon infobox (ie. Killer is carrying...) has issues properly placing itself on the screen: image

The UI corrects itself if a player performs an in-game screenshot (default key 'F12'): image Perhaps the code for this repositioning could be utilized to position the HUD elements when an itembox is drawn (player is holding non-stock weapon)?

Captured on Windows client in 1920x1080 resolution

rabscootle avatar Jul 02 '22 20:07 rabscootle

Possible duplicate of #2785.

kisak-valve avatar Jul 02 '22 20:07 kisak-valve

Possible duplicate of #2785.

Seems similar, but it appears that bug report is about items with long descriptions having them get cut off (even though the box's Y position is correct), whereas this pertains to the general Y position being incorrect for some strange reason. Come to think of it, if the general position placement code for the element was updated to work a bit better, it would potentially resolve both issues. Get two birds stoned at once, so to speak.

TF2CutContentWiki avatar Jul 03 '22 03:07 TF2CutContentWiki

Some additional info about this bug:

  • The ypos value of the itempanel is completely ignored under all circumstances when read from freezepanel_basic.res.
  • This bug only occurs when the previous deathcam showcases a different item; if you are killed with the same item twice, the panel appears correctly.
  • The bug is related to the resizing of the panel; using "resize_to_text" "0" fixes the bug (this is not tenable of course since item names and attributes are not all the same size).

mtxfellen avatar Jul 16 '22 19:07 mtxfellen

This bug only occurs when the previous deathcam showcases a different item; if you are killed with the same item twice, the panel appears correctly.

Interesting quirk.

TF2CutContentWiki avatar Jul 17 '22 00:07 TF2CutContentWiki

@rabscootle Latest fix for the Death Freeze bug should also solve this issue, according to the person who made the fix.

agrastiOs avatar Jul 29 '22 20:07 agrastiOs

Not fixed, taken after first dying to a bot using the Killing Gloves of Boxing. Taken after first dying to a bot using the KGB

mtxfellen avatar Aug 02 '22 00:08 mtxfellen