TTT-2 / TTT2

Trouble in Terrorist Town 2 for Garry's Mod (gmod)
https://steamcommunity.com/sharedfiles/filedetails/?id=1357204556
179 stars 77 forks source link

Traitor message misaligned #1358

Open EntranceJew opened 9 months ago

EntranceJew commented 9 months ago

Your version of TTT2 (mandatory)

Describe the bug (mandatory)

image

To reproduce

  1. Begin a round as traitor.
  2. Potentially: Have your HUD scale set image

Expected behaviour

TimGoll commented 9 months ago

I'm pretty sure this is a scale factor issue. Could you verify that it also breaks with a scale of 1.0?

EntranceJew commented 9 months ago

image it do image

EntranceJew commented 9 months ago

image apparently the scale wasn't consumed originally, now things are drawing even smaller and doesn't exhibit the issue. the MSTACK must require a map change before its scale is adjusted or something.

TimGoll commented 5 months ago

image

I'm unable to reproduce this issue, maybe it was accidentally fixed in the meantime?

Racpy commented 5 months ago

20240602213107_1 maybe it happens because there are too many strings?

TimGoll commented 5 months ago

The two HUD elements on the left forgot to use the base color, oof :D

Hm, I will test it again at a later point, thanks

Histalek commented 5 months ago

image apparently the scale wasn't consumed originally, now things are drawing even smaller and doesn't exhibit the issue. the MSTACK must require a map change before its scale is adjusted or something.

@TimGoll might this be the culprit? e.g. the MSTACK not properly adjusting to the set scale?

TimGoll commented 5 months ago

@TimGoll might this be the culprit? e.g. the MSTACK not properly adjusting to the set scale?

Maybe, but I tried to change the scale without a map change. Probably two lines are not enough to trigger the issue here