From: Samual Date: Mon, 4 Apr 2011 00:34:25 +0000 (-0400) Subject: This enables a featured I added in the engine a while ago which basically smooths... X-Git-Tag: xonotic-v0.5.0~307^2~12^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1aab4180731de54921bb9bf60299335e6a7bfc25;p=xonotic%2Fxonotic-data.pk3dir.git This enables a featured I added in the engine a while ago which basically smooths the view when crouching (previously it was an instant switch... which looked very odd.) This was SUPPOSED to be added into master a long time ago, but I didn't notice as I had it in my config. --- diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index e9e50c5c1..bddddb12e 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -241,6 +241,7 @@ vid_conheight 600 v_deathtilt 0 // needed for spectators (who are dead to avoid prediction) // these settings determine how much the view is affected by movement/damage +cl_smoothviewheight 0.05 // time of the averaging to the viewheight value so that it creates a smooth transition for crouching and such. 0 for instant transition cl_deathfade 1 // fade screen to dark red when dead, value represents how fast the fade is (higher is faster) cl_bobcycle 0 // how long the cycle of up/down view movement takes (only works if cl_bob is not 0), default is 0.6 cl_bob 0.01 // how much view moves up/down when moving (does not move if cl_bobcycle is 0, but still enables cl_bobmodel), default is 0.02