ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.72k stars 625 forks source link

Visual Recoil Bug #1128

Open p1v opened 11 years ago

p1v commented 11 years ago

Who knows how long exactly this bug has been around, but it's been around for quite a while.

Depending on your connection speed to the server, a gun's recoil animation and decals behave differently. If your connection is bad, recoil is extremely laggy and bullet hole decals are all over the place. The better your connection speed, the better recoil and decal locations you get. I found that cl_lw 0 seems to fix this, but you instead get delay between firing your bullets, so that's definitely not a reliable fix.

Here's a very good example on this bug: https://www.youtube.com/watch?v=EsHwzuztFXg

As you can see, the bullet decals were visible on the glass, but the glass didn't break. This is because the bullets never actually landed there, they're fake clientside bullet holes. This makes spraying and bursting unpredictable since you can't tell where the real bullets actually landed. Now, with the laggy recoil, the bad thing about that is if I wanted to play on a server with a friend who's far away, I have to suffer with laggy recoil which makes the game unplayable since I have to wait a while for my view to come back down from the recoil after firing a shot.

Here's an old thread that has some more information on this (where I also got the video): http://forums.steampowered.com/forums/showthread.php?t=2164264

Edit: Turns out I forgot something. The same thing happens when you fall off a higher place and you get a view punch. The view punch is smoother on low-ping servers, but very laggy on high-ping servers so I would call this a general visual animation bug.

anticitizen commented 11 years ago

83 for recoil discussions.

ghost commented 11 years ago

as far as I know, recoil values are totally handled by the server and then vectoradded on the client's view once it's updated and not predicted on the client (!) and causes such issues (dependence on server / client frametime difference, ping, etc....)

a fix would be very appreciated because it is a serious issue (the more ping you have the bigger recoil you get somehow...)

i am not sure if the recent updates fixed this (I will try around this weekend)

idderf commented 11 years ago

@alfred-valve could you please have a look at this? This link might also help: http://forums.alliedmods.net/showthread.php?t=166648

idderf commented 11 years ago

This might also help: http://forums.steampowered.com/forums/showthread.php?t=1572933

CS-PRO1 commented 5 years ago

I suffered this for a long time already, my connection to most servers isn't the best and spray patterns/recoil just don't work..

voed commented 5 years ago

In addition: https://www.youtube.com/watch?v=PuQ5oCt_jtY