]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Tweak limits, to make this more like in Half-Life 2 :)
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 2 May 2010 14:07:39 +0000 (14:07 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 2 May 2010 14:07:39 +0000 (14:07 +0000)
From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10145 d7cf8633-e32d-0410-b094-e92efae38249

darkplaces.txt
view.c

index d5590061baa34b382f7e0c4c6d4ac9fb076bcd40..5e974da2c768e288cfb7d071dcb8c687acb508cf 100644 (file)
@@ -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                                             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 b19f110a5ecee637ed86323545da62e3c0d8f7a1..3af37332f5da51fe3051b95912fabc065dfd136e 100644 (file)
--- 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"};