From 6b919716f3d1141e66610e4e966eeefc33e7c822 Mon Sep 17 00:00:00 2001 From: divverent Date: Sun, 2 May 2010 14:07:39 +0000 Subject: [PATCH] Tweak limits, to make this more like in Half-Life 2 :) From: MirceaKitsune git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10145 d7cf8633-e32d-0410-b094-e92efae38249 --- darkplaces.txt | 4 ++-- view.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/darkplaces.txt b/darkplaces.txt index d5590061..5e974da2 100644 --- a/darkplaces.txt +++ b/darkplaces.txt @@ -402,7 +402,7 @@ cl_bobmodel_speed 7 gun bobbin 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_limit 5 gun leaning sideways limit +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 @@ -411,7 +411,7 @@ cl_followmodel_side_speed 15 gun follow 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 0.5 gun following upward limit +cl_followmodel_up_limit 25 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 b19f110a..3af37332 100644 --- a/view.c +++ b/view.c @@ -47,10 +47,10 @@ cvar_t cl_bobmodel_speed = {CVAR_SAVE, "cl_bobmodel_speed", "7", "gun bobbing sp 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_limit = {CVAR_SAVE, "cl_leanmodel_side_limit", "5", "gun leaning sideways limit"}; +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_limit = {CVAR_SAVE, "cl_leanmodel_up_limit", "2.5", "gun leaning upward limit"}; +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"}; cvar_t cl_followmodel_side_speed = {CVAR_SAVE, "cl_followmodel_side_speed", "15", "gun following sideways speed"}; -- 2.39.2