Lerp好处都有啥(L4D2)

Lerp 这东西楼主也不太明白,只知道这东西调的越低目标的 Hitbox 越接近模型位置.
说白了 Lerp 在 L4D2 里的作用就是让特感更好推. 不过与此同时也会增加不良网路下的丢包率, 网路够良好就不需要在意 .

在战役模式下 Lerp 数值最低为10(即0.01),药抗倒是能到0.(虽然不知道为啥)
顺带有种说法是需要将 ping 一并加入 lerp 值才是正确的 Lerp (楼主对此不表立场,卡的话务必直接打死)
就拿这个G胖子(Boomer)做例子好了
在 Lerp 为 100 (即默认值0.1) 时模型与 Hitbox 的位置差异
0_1486921747834_100.png
在 Lerp 为50 (即0.05) 时模型与Hitbox的位置差异
0_1486921868935_50.png

如何修改
Lerp 由两条命令控制,最低为0最高为500(大概)
cl_interp_ratio 1 设置 cl_interp 0.1 更小数值为 1
当cl_interp_ratio数值增加1,可设置最低Lerp同时也会增加10(0.01)
cl_interp 0.050 默认为 0.1 (Lerp 100), 最低为 0 (0.0)最高为 500 (0.5)
每次重启游戏会重置此数值,可以写到cfg中开游戏修改.
cfg位置 : Left 4 Dead 2\left4dead2\cfg
(新建一个txt文本文档并修改后缀名为cfg即可,名字不要有中文或特殊符号)
cl_interp_ratio 1
cl_interp 0.050
在里面像是这样写就可以了,如果是新建的cfg进入游戏后务必在控制台输入exec cfgname然后按下回车

如何得知是否有效
将以下内容写入Cfg 按下Tab即可查看当前Lerp(不止是Lerp)以下五行代码来自L4D中文站

// =====================
// Scoreboard & Netgraph
// =====================

bind "TAB" "+showscores_custom";	// Rebinds TAB to a custom script adding the netgraph to the scoreboard. (Default: +showscores)

net_graphpos "1";			// Places the netgraph in the bottom left corner, together with the scoreboard. (Default: 1)
net_scale "15";				// Reduces the sizes of the netgraph bars. (Default: 5)
net_graphshowlatency "0";		// Disables displaying of the latency graph. (Default: 1)
net_graphshowinterp "0";		// Disables displaying of the interpolation graph. (Default: 1)

alias "+showscores_custom" "+showscores;net_graph 4";
alias "-showscores_custom" "-showscores;net_graph 0";

虽然到最后还是没表答出什么,但至少可以知道怎么改.:bubble_funny:

最后由 admin 编辑

:bbt_cat: 做了一些修改,顺便说我还是不懂 cl_interp_ratio 什么用处

cl_interp 目前我设置为0.06,为了在不良网路和好推之间找到平衡,因为我网确实糟糕,有时候看见特感的瞬间已经扑身上了。

最后由 BlueBlue_Master 编辑