]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
This enables a featured I added in the engine a while ago which basically smooths...
authorSamual <samual@xonotic.org>
Mon, 4 Apr 2011 00:34:25 +0000 (20:34 -0400)
committerSamual <samual@xonotic.org>
Mon, 4 Apr 2011 00:34:25 +0000 (20:34 -0400)
defaultXonotic.cfg

index e9e50c5c171659d2d9a022d28a7e41dbdc698ced..bddddb12e409430f7dfa9a41e8dd8e470c1b3b39 100644 (file)
@@ -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