FosterGecko

Suspended
Suspended
Member
Joined:
Dec 27, 2017
Messages:
95
Points:
27

6

Years of Mono

LV
0
 
Greetings monolings! Got something special for you today;

A lot of people, when they first join the server, ask why there is so much input lag when steering and accelerating. From what I understand, this in part is due to the default values of two settings, cl_interp and cl_interp_ratio. A brief explanation as to what these are:

According to documentation on the Unity3d engine, interpolation is summarized: "Visual choppiness is caused by infrequent (in comparison to the speed at which clients are rendering their screens) updates from the server and it could also be exasperated by bad network conditions causing jitter. We can employ Client-Side Interpolation to reduce this effect." In a nutshell, there is a slight bit of a delay between the server receiving input, and what you are actually sending to it.

To eliminate *some* of this input delay, you can tell your game client to not apply as much interpolation. The commands are as follows;
cl_interp 0
cl_interp_ratio 1

Here are two demonstration videos of what each setting looks like

Default -

Custom -

Sources Cited:
 

HORiZON78

Banned
Banned
Member
Joined:
Feb 26, 2022
Messages:
17
Points:
12

2

Years of Mono

LV
0
 
Do you have to apply this during every session or just once?
 

Jet

Senior Administrator
Senior Administrator
Media Team
Forum Moderator
Member
Joined:
Aug 2, 2018
Messages:
667
Points:
87
Awards
3

6

Years of Mono

LV
1
 
Do you have to apply this during every session or just once?

If you go to your Garry's mod directory ..\steamapps\common\GarrysMod\garrysmod\cfg and look for autoexec.cfg you can paste the commands there and it'll automatically apply everytime the game loads.

if there isn't an autoexec.cfg file, just open notepad, paste the commands, then save as autoexec.cfg and place it in that directory.
you can also check this thread out, there's also this thread which may help.
 

HORiZON78

Banned
Banned
Member
Joined:
Feb 26, 2022
Messages:
17
Points:
12

2

Years of Mono

LV
0
 
If you go to your Garry's mod directory ..\steamapps\common\GarrysMod\garrysmod\cfg and look for autoexec.cfg you can paste the commands there and it'll automatically apply everytime the game loads.

if there isn't an autoexec.cfg file, just open notepad, paste the commands, then save as autoexec.cfg and place it in that directory.
you can also check this thread out, there's also this thread which may help.
thank you!
 
Top