Quote:
Originally Posted by Snowden42
Two bugs:
1) The popup text about being frozen doesn't track the ft_thaw_duration cvar accurately. It seems to statically display "15 seconds" even if the cvar isn't that.
2) When frozen, if a Heavy spins up their minigun, the sound still plays.
The other thing I was thinking about in the shower. I don't know the limitations of the language, but would it be possible to flag a frozen player as a disguised spy? That would prevent sentries from targetting them when frozen.
|
1) I cannot find any problem with the code surrounding the text. However, I think the timer for the countdown isn't completely accurate. See the thaw duration is more of a tick count. Each tick count down to 0 is approx 1 second. But due to plugin processing time etc it may not be exactly. Unless I get a function (maybe it already exists) to check the complete duration between ticks, it will never be completely accurate. But the text itself should match the server cvar. Please verify that it does indeed match. I should be able to find a better way at making this more accurate, that I'm sure of.
2) You may just be hearing this if you are the heavy doing it this is because we cannot fully prevent the client from thinking it is going to do something. But the code does prevent them from using attack1 and attack2 buttons on the server. Thus animations on the client will stutter and display, but it won't actually be happening.
I actually already tried flagging them as a spy but it actually changed their costume to just the same team they were previously. Actually it forced a scout skin on them and the sentry still targeted him