Small tweaks

This commit is contained in:
Simon 2019-06-11 23:00:36 +01:00
parent 3f10549ded
commit 30fe2dc89b
4 changed files with 5 additions and 5 deletions

View file

@ -14,7 +14,7 @@
#include "snd_main.h"
cvar_t scr_viewsize = {CVAR_SAVE, "viewsize","100", "how large the view should be, 110 disables inventory bar, 120 disables status bar"};
cvar_t scr_fov = {CVAR_SAVE, "fov","112", "field of vision, 1-170 degrees, default 110, some players use 110-130"};
cvar_t scr_fov = {CVAR_SAVE, "fov","110", "field of vision, 1-170 degrees, default 110, some players use 110-130"};
cvar_t scr_conalpha = {CVAR_SAVE, "scr_conalpha", "0.85", "opacity of console background gfx/conback"};
cvar_t scr_conalphafactor = {CVAR_SAVE, "scr_conalphafactor", "1", "opacity of console background gfx/conback relative to scr_conalpha; when 0, gfx/conback is not drawn"};
cvar_t scr_conalpha2factor = {CVAR_SAVE, "scr_conalpha2factor", "0", "opacity of console background gfx/conback2 relative to scr_conalpha; when 0, gfx/conback2 is not drawn"};

View file

@ -880,7 +880,7 @@ void V_CalcRefdefUsing (const matrix4x4_t *entrendermatrix, const vec3_t clviewa
}
else if (cl.stats[STAT_ACTIVEWEAPON] == IT_SUPER_SHOTGUN)
{
weaponScale = 1.0f;
weaponScale = 0.8f;
}
else if (cl.stats[STAT_ACTIVEWEAPON] == IT_SUPER_NAILGUN)
{

View file

@ -1946,8 +1946,8 @@ static void ovrApp_HandleInput( ovrApp * app )
if (bullettime.integer)
{
float speed = sqrtf(powf(leftTrackedRemoteState_new.Joystick.x, 2) + powf(leftTrackedRemoteState_new.Joystick.y, 2));
float movement = sqrtf(powf(positionDeltaThisFrame[0] * 50.0f, 2) + powf(positionDeltaThisFrame[2] * 50.0f, 2));
float speed = powf(sqrtf(powf(leftTrackedRemoteState_new.Joystick.x, 2) + powf(leftTrackedRemoteState_new.Joystick.y, 2)), 1.1f);
float movement = sqrtf(powf(positionDeltaThisFrame[0] * 40.0f, 2) + powf(positionDeltaThisFrame[1] * 40.0f, 2) + powf(positionDeltaThisFrame[2] * 40.0f, 2));
speed = bound(0.04f, (speed > movement) ? speed : movement, 1.0f);
Cvar_SetValueQuick(&slowmo, speed);
}

View file

@ -53,7 +53,7 @@ bind MOUSE2 "+forward"
bind MOUSE3 "+mlook"
"cl_particles_quality" "2"
"cl_stainmaps" "1"
"fov" "112"
"fov" "110"
"sensitivity" "4"
"snd_speed" "44100"
"cl_weapon_offset_ud" "0.1"