protonscr

[HL1/CS] Automatically set ex_interp to the correct value

steamclosed reviewedMOVED: Counter‐Strike
ValveSoftware/steam-for-linux#1644 · opened 2013-02-13 by AnAkkk · updated 2013-02-19 · 6 comments · github
AAnAkkk 2013-02-13 github

A lot of people don't know what ex_interp is and how to change it, and the default value of 0.1 is generally bad for most players. It increases the feeling of "getting shoot through walls".

Let's take a common example:

  • Player A has the default ex_interp, which is 100ms, he sees Player B with a 100 ms delay.
  • Player B hides behind a wall, he gets killed by Player A because on player A screen he has not yet hidden behind the wall due to the delay

(I know you can wallshoot, but I am not talking about this)

Quake Live got a similar cvar as ex_interp, it's called cl_timenudge. It also has a cvar called cl_autoTimeNudge, which is supposed to set automatically the right interpolation time when turned on. Would it be possible to have something similar?

EDIT: If you aren't going to change it, maybe at least clamp it and set ex_interp to archive so it gets saved in config.cfg.

Sskylit 2013-02-13 github

100ms delay makes sense for cl_updaterate 20.. 1000/20=50ms. 2x interp.. But I agree. There's likely a limited amount of gamers that cant pull 100 fps. I mean unless the Linux and Mac clients aren't as optimized.

  • How about default rates of cl_updaterate 100, cl_cmdrate 100, and an ex_interp value of lets say 0.02 (20ms)? Client should remain smooth even in case certain people dip below 100 frames.
  • Specific orangebox source engine titles (CS:S and TF2) also default at 0.1, though a more stressful engine. I personally believe interp should default at a "0.030304" value, though it's unclear why value decides to leave it at 0.1 other than the fact that default packet rate is 20.. Same as HL/CS.
AAnAkkk 2013-02-13 github

That and cl_updaterate is no longer at 20 by default. It was changed to 40 with a recent update. This means the default ex_interp should be 0.05 (2/40). I think the default cl_updaterate could probably be higher though, nowadays the connections can handle that.

Rr3n4m3 2013-02-13 github

Why cl_updaterate and cl_cmdrate is not 101 automatically and rate not 20000?

Rr3n4m3 2013-02-14 github

mb better to add a command which completely disables interpolation?

Sskylit 2013-02-14 github

@AnAkIn1 I see. Well I agree regardless ^^

Nothing extracted yet.