From: Samual Lenks Date: Sun, 15 Sep 2013 17:53:05 +0000 (-0400) Subject: Add cvars to defaultXonotic.cfg X-Git-Tag: xonotic-v0.8.0~247^2~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=17703fd58a41a6bbcaf556bd48789671f3d4ced4;p=xonotic%2Fxonotic-data.pk3dir.git Add cvars to defaultXonotic.cfg --- diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 28c1af69d..1b9c4a657 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -111,6 +111,10 @@ exec sRGB-disable.cfg vid_sRGB_fallback 2 r_hdr_glowintensity 1 +cl_orthoview 0 "WARNING: WILL BREAK CONFIG!!! enable top-down view of the map- meant to be used for radar map images" +cl_orthoview_nofog 1 "disable fog while in orthoview" +cl_orthoview_distanceoverride 0 "set to a value other than 0 to force a different distance offset when in orthoview" + // 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 0 // fade screen to dark red when dead, value represents how fast the fade is (higher is faster) diff --git a/qcsrc/client/autocvars.qh b/qcsrc/client/autocvars.qh index dfa83cf5f..2e6099d08 100644 --- a/qcsrc/client/autocvars.qh +++ b/qcsrc/client/autocvars.qh @@ -54,8 +54,8 @@ float autocvar_cl_gunalign; float autocvar_cl_hidewaypoints; float autocvar_cl_lockview; float autocvar_cl_nogibs; -var float autocvar_cl_orthoview = TRUE; -var float autocvar_cl_orthoview_nofog = TRUE; +float autocvar_cl_orthoview; +float autocvar_cl_orthoview_nofog; float autocvar_cl_orthoview_distanceoverride; float autocvar_cl_particlegibs; float autocvar_cl_particles_oldnexbeam;