X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=xonotic-client.cfg;h=a6494cc088a0551d2856b8cfc8c4c3539cc49657;hb=HEAD;hp=ee90b44208de2922a875aa9c4c6f92ccb0f6c076;hpb=c6640e29556e3bdf256f34bce1413c6a5ae9726c;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/xonotic-client.cfg b/xonotic-client.cfg index ee90b4420..3d24428b3 100644 --- a/xonotic-client.cfg +++ b/xonotic-client.cfg @@ -300,12 +300,11 @@ gl_picmip_sprites 0 gl_picmip_other 1 // so, picmip -1 is best possible quality r_mipsprites 1 r_mipskins 1 -gl_max_lightmapsize 4096 r_shadow_realtime_world_lightmaps 1 r_shadow_realtime_world_importlightentitiesfrommap 0 // Whether build process uses keepLights is nontransparent and may change, so better make keepLights not matter. cl_decals_fadetime 5 cl_decals_time 1 -seta cl_gunalign 3 "Gun alignment; 1 = center, 3 = right, 4 = left; requires reconnect" +seta cl_gunalign 3 "Gun alignment; 1 = center, 3 = right, 4 = left; requires reconnect. In servers which override shot origin this cvar is purely visual, in servers which do not this does affect where your shots come from" seta cl_gunoffset "0 0 0" "Adjust the weapon viewmodel position, applies only to your own first person view and is relative to cl_gunalign" seta cl_nogibs 0 "reduce number of violence effects, or remove them totally" seta cl_particlegibs 0 "simpler gibs" @@ -689,11 +688,24 @@ alias _gl_flashblend_update_01 "gl_flashblend 0" alias _gl_flashblend_update_11 "gl_flashblend 0" alias gl_flashblend_update "_gl_flashblend_update_$r_shadow_realtime_dlight$r_showsurfaces" -set cl_handicap 1 "multiplies damage received and divides damage dealt" +// TODO: remove cl_handicap cvar after 0.9 release +set cl_handicap 1 "multiplies damage received and divides damage dealt" +alias cl_handicap "cl_handicap_damage_given ${* ?} ; cl_handicap_damage_taken ${* ?} ; set cl_handicap ${* ?}" +set cl_handicap_damage_given 1 "damage given is divided by this factor if > 1" +set cl_handicap_damage_taken 1 "damage taken is multiplied by this factor if > 1" seta cl_clippedspectating 1 "movement collision for spectators so that you can't pass through walls and such" +// cl_autoscreenshot_screenshot is called by the server when the game ends with map name and match id as parameters +// it takes care of hiding all the UI parts that may overlap the scoredoard before taking a screenshot +// TODO remove "alias cl_autoscreenshot_screenshot_s;" after the next release +// cl_autoscreenshot_screenshot_s is created by the server via stuffcmd for backwards compatibility +// and not used by cl_autoscreenshot_screenshot, which intentionally clears it (not delete) seta cl_autoscreenshot 1 "Take a screenshot upon the end of a match... 0 = Disable completely, 1 = Allow sv_autoscreenshot to take a screenshot when requested, 2 = Always take an autoscreenshot anyway." +alias _cl_autoscreenshot_save "set _con_chattime_save $con_chattime; set _hud_panel_scoreboard_fadeinspeed_save $hud_panel_scoreboard_fadeinspeed; set _menu_slowmo_save $menu_slowmo; set _scr_conheight_save $scr_conheight; set _con_textsize_save $con_textsize; set _scr_conalpha_save $scr_conalpha" +alias _cl_autoscreenshot_set "con_chattime 0.001; hud_panel_scoreboard_fadeinspeed 999; menu_slowmo 999; scr_conheight 0; con_textsize 1; scr_conalpha 0" +alias _cl_autoscreenshot_restore "set con_chattime $_con_chattime_save; set hud_panel_scoreboard_fadeinspeed $_hud_panel_scoreboard_fadeinspeed_save; set menu_slowmo $_menu_slowmo_save; set scr_conheight $_scr_conheight_save; set con_textsize $_con_textsize_save; set scr_conalpha $_scr_conalpha_save" +alias cl_autoscreenshot_screenshot "alias cl_autoscreenshot_screenshot_s ""; togglemenu 0; -con_chat_maximize; _cl_autoscreenshot_save; _cl_autoscreenshot_set; defer 0.1 \"screenshot screenshots/autoscreenshot/${1}-${2}.jpg\"; defer 0.1 \"_cl_autoscreenshot_restore\"" seta cl_jetpack_jump 1 "Activate jetpack by pressing jump in the air. 0 = Disable, 1 = Stop when touching ground, 2 = Enable"