From 086d225b8857e040f4d8d691b8c7029f85025bbb Mon Sep 17 00:00:00 2001 From: divverent Date: Sun, 2 May 2010 14:07:45 +0000 Subject: [PATCH] Make leaning even faster (more discrete). Fix typos from previous commit. From: MirceaKitsune git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10146 d7cf8633-e32d-0410-b094-e92efae38249 --- darkplaces.txt | 8 ++++---- view.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/darkplaces.txt b/darkplaces.txt index 5e974da2..a00d9f2a 100644 --- a/darkplaces.txt +++ b/darkplaces.txt @@ -401,17 +401,17 @@ cl_bobmodel_side 0.05 gun bobbin cl_bobmodel_speed 7 gun bobbing speed cl_bobmodel_up 0.02 gun bobbing upward movement amount cl_leanmodel_side 1 enables gun leaning sideways -cl_leanmodel_side_speed 15 gun leaning sideways speed +cl_leanmodel_side_speed 20 gun leaning sideways speed cl_leanmodel_side_limit 35 gun leaning sideways limit cl_leanmodel_up 1 enables gun leaning upward -cl_leanmodel_up_speed 10 gun leaning upward speed -cl_leanmodel_up_limit 2.5 gun leaning upward limit +cl_leanmodel_up_speed 15 gun leaning upward speed +cl_leanmodel_up_limit 25 gun leaning upward limit cl_followmodel_side 1 enables gun following sideways cl_followmodel_side_speed 15 gun following sideways speed cl_followmodel_side_limit 1 gun following sideways limit cl_followmodel_up 1 enables gun following upward cl_followmodel_up_speed 10 gun following upward speed -cl_followmodel_up_limit 25 gun following upward limit +cl_followmodel_up_limit 0.5 gun following upward limit cl_bobup 0.5 view bobbing adjustment that makes the up or down swing of the bob last longer cl_capturevideo 0 enables saving of video to a .avi file using uncompressed I420 colorspace and PCM audio, note that scr_screenshot_gammaboost affects the brightness of the output) cl_capturevideo_fps 30 how many frames per second to save (29.97 for NTSC, 30 for typical PC video, 15 can be useful) diff --git a/view.c b/view.c index 3af37332..5dd7266a 100644 --- a/view.c +++ b/view.c @@ -46,10 +46,10 @@ cvar_t cl_bobmodel_up = {CVAR_SAVE, "cl_bobmodel_up", "0.06", "gun bobbing upwar cvar_t cl_bobmodel_speed = {CVAR_SAVE, "cl_bobmodel_speed", "7", "gun bobbing speed"}; cvar_t cl_leanmodel_side = {CVAR_SAVE, "cl_leanmodel_side", "1", "enables gun leaning sideways"}; -cvar_t cl_leanmodel_side_speed = {CVAR_SAVE, "cl_leanmodel_side_speed", "15", "gun leaning sideways speed"}; +cvar_t cl_leanmodel_side_speed = {CVAR_SAVE, "cl_leanmodel_side_speed", "20", "gun leaning sideways speed"}; cvar_t cl_leanmodel_side_limit = {CVAR_SAVE, "cl_leanmodel_side_limit", "35", "gun leaning sideways limit"}; cvar_t cl_leanmodel_up = {CVAR_SAVE, "cl_leanmodel_up", "1", "enables gun leaning upward"}; -cvar_t cl_leanmodel_up_speed = {CVAR_SAVE, "cl_leanmodel_up_speed", "10", "gun leaning upward speed"}; +cvar_t cl_leanmodel_up_speed = {CVAR_SAVE, "cl_leanmodel_up_speed", "15", "gun leaning upward speed"}; cvar_t cl_leanmodel_up_limit = {CVAR_SAVE, "cl_leanmodel_up_limit", "25", "gun leaning upward limit"}; cvar_t cl_followmodel_side = {CVAR_SAVE, "cl_followmodel_side", "1", "enables gun following sideways"}; -- 2.39.2