Commit graph

10 commits

Author SHA1 Message Date
3f5795253b Added zstd training set 2024-07-18 21:15:37 +02:00
0c242ac11d Added a better way to debug hitboxes & new waf script 2024-07-15 06:52:33 +02:00
fbc45f4a64 Fixed local player interpolation and added debug_screenshot_bullet_position
This check permits to fix interpolation problems on the
local player that valve has been (fucking finally)
caring about on counter-strike 2.

To recall the original issue, the
problem that Valve cared about is that interpolation
had some problems with interpolating the local
player because the screen would never in the first
place match the tick "screen", because interpolation
amount could never reach 0.0 or 1.0

Valve solution was to introduce bugs with lag
compensating the local player and made the game worse,
introducing a new way for cheaters to cheat even more
on their games.
I'm joking, but you can clearly see the outcome anyway.

My solution is to simply set interpolation amount
to 0.0 when a tick arrives.

So when we shoot, we get the frame we shot with an
interpolation amount at 0.0, perfectly aligned to user
commands which is ideal for us.

It might look a bit more unsmooth with lower fps
but with high enough fps, the issue goes away anyway.
It's not very noticeable which is very nice for us.
No need to lag compensate the local player anymore !
2024-07-14 00:54:57 +02:00
nillerusr
6a8da7084b engine: add -nobackgroundlevel command-line argument 2023-02-20 20:07:23 +03:00
nillerusr
5912845f29 engine: fix audio language setting 2022-09-10 03:30:28 +03:00
nillerusr
61cd8d0afc fix address sanitizer issues #2 2022-05-01 20:08:32 +03:00
nillerusr
2ec2a47a53 fix address sanitizer issues 2022-04-25 17:21:00 +03:00
nillerusr
9dd2d20e78 cl_main: set language according to LANG variable 2022-02-06 03:48:40 +03:00
q4a
51ba28fae1 add Command line param "language" 2021-05-30 18:04:37 +03:00
FluorescentCIAAfricanAmerican
3bf9df6b27 1 2020-04-22 12:56:21 -04:00