From: terencehill Date: Tue, 2 Feb 2016 12:45:13 +0000 (+0100) Subject: cl_followmodel_highpass1 --> cl_followmodel_velocity_lowpass X-Git-Tag: xonotic-v0.8.2~1190^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2d1825bd8310316cd25a87a148bb49ee24290889;p=xonotic%2Fxonotic-data.pk3dir.git cl_followmodel_highpass1 --> cl_followmodel_velocity_lowpass --- diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 2afed6270..2c6d77c48 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -167,7 +167,7 @@ cl_bobmodel_up 0.1 // amount the gun sways up and down cl_followmodel 1 // enables weapon pushing / pulling effect when walking seta cl_followmodel_speed 0.3 "gun following sideways speed" seta cl_followmodel_limit 1000 "gun following sideways limit" -seta cl_followmodel_highpass1 0.05 "gun following sideways pre-highpass averaging time" +seta cl_followmodel_velocity_lowpass 0.05 "gun following sideways velocity lowpass averaging time" seta cl_followmodel_highpass 0.05 "gun following sideways highpass averaging time" seta cl_followmodel_lowpass 0.03 "gun following sideways lowpass averaging time" diff --git a/qcsrc/client/view.qc b/qcsrc/client/view.qc index d6d82acbe..ea0257fda 100644 --- a/qcsrc/client/view.qc +++ b/qcsrc/client/view.qc @@ -41,7 +41,7 @@ float autocvar_cl_bobmodel_up; float autocvar_cl_followmodel; float autocvar_cl_followmodel_speed = 0.3; float autocvar_cl_followmodel_limit = 1000; -float autocvar_cl_followmodel_highpass1 = 0.05; +float autocvar_cl_followmodel_velocity_lowpass = 0.05; float autocvar_cl_followmodel_highpass = 0.05; float autocvar_cl_followmodel_lowpass = 0.03; @@ -170,7 +170,7 @@ void viewmodel_animate(entity this) vel.x = view.velocity * forward; vel.y = view.velocity * right * -1; vel.z = view.velocity * up; - frac = avg_factor(autocvar_cl_followmodel_highpass1); + frac = avg_factor(autocvar_cl_followmodel_velocity_lowpass); lowpass3_limited(vel, frac, autocvar_cl_followmodel_limit, vel_average, gunorg); gunorg *= -autocvar_cl_followmodel_speed * 0.042;