X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=defaultClient.cfg;h=2d7eb360d11e93c28bf6cc61e39da40513385f63;hb=9def821848065f019572898635c8132b0dd1b9c0;hp=4499e783274638e6cd1f0a752a3653bf27e848f1;hpb=8ebec3b7c299887038f7024d8bd37875db3efc2e;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/defaultClient.cfg b/defaultClient.cfg index 4499e7832..2d7eb360d 100644 --- a/defaultClient.cfg +++ b/defaultClient.cfg @@ -1,3 +1,7 @@ +// this resets most client cvars and aliases to their defaults +// if you want to reset your client to defaults, it's probably a better idea to delete (parts of) config.cfg and restart + + // changes a cvar and reports it to the server (for the menu to notify the // server about changes) alias setreport "set \"$1\" \"$2\" ; sendcvar \"$1\"" @@ -22,11 +26,13 @@ alias dropweapon "impulse 17" alias +show_info +button7 alias -show_info -button7 +// merge lightmaps up to 2048x2048 textures +mod_q3bsp_lightmapmergepower 4 + // player defaults _cl_color "112.211" // same effect as 112, but menuqc can detect this as the default and not intentionally set _cl_name "" seta _cl_gender 0 "storage cvar for current player gender (0 = undisclosed, 1 = male, 2 = female)" -_cl_playermodel models/player/erebus.iqm _cl_playerskin 0 seta cl_reticle 1 "enable zoom reticles" @@ -89,6 +95,10 @@ vid_conheight 600 // menu_conwidth, menu_conheight are set inside quake.rc v_deathtilt 0 // needed for spectators (who are dead to avoid prediction) +// create a temporary empty alias for menu_sync so that execution of effects-normal.cfg, hud_luma.cfg +// and sRGB-{disable,enable}.cfg on game start doesn't show an error message in the console +alias menu_sync "" // will be re-aliased later + // we want to use sRGB for our maps! exec sRGB-disable.cfg vid_sRGB_fallback 2 @@ -219,7 +229,6 @@ cl_movement 1 cl_movement_track_canjump 0 cl_stairsmoothspeed 200 -// FIXME test alias g_waypointeditor_spawn "impulse 103" alias g_waypointeditor_remove "impulse 104" alias g_waypointeditor_relinkall "impulse 105" @@ -259,7 +268,7 @@ 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 (if allowed by g_shootfromclient) or right, 2 = center (if allowed by g_shootfromclient) or left, 3 = right only, 4 = left only" +seta cl_gunalign 3 "Gun alignment; 1 = center, 3 = right, 4 = left; requires reconnect" seta cl_nogibs 0 "reduce number of violence effects, or remove them totally" seta cl_particlegibs 0 "simpler gibs" seta cl_gibs_damageforcescale 3.5 "force to push around gibs" @@ -284,8 +293,6 @@ r_glsl_offsetmapping 0 r_glsl_offsetmapping_lod 1 r_glsl_offsetmapping_reliefmapping 0 r_glsl_offsetmapping_scale 0.02 -// execute effects-normal.cfg to make sure that all effect settings are reset -alias menu_sync "" // will be re-aliased later scr_conalpha 1 scr_conbrightness 0.2 @@ -352,6 +359,50 @@ cl_curl_maxspeed 0 cl_curl_useragent 1 cl_curl_useragent_append "$g_xonoticversion" +seta g_waypointsprite_alpha 1 "This allows the client to control transparency of the waypoint" +seta g_waypointsprite_crosshairfadealpha 0.25 "alpha multiplier near crosshair" +seta g_waypointsprite_crosshairfadescale 1 "scale multiplier near the crosshair" +seta g_waypointsprite_crosshairfadedistance 150 "distance in virtual pixels from crosshair where to start fading" +seta g_waypointsprite_distancefadealpha 1 "alpha multiplier near distance" +seta g_waypointsprite_distancefadescale 0.7 "scale multiplier near the distance" +seta g_waypointsprite_distancefadedistancemultiplier 0.5 "distance in map sizes from distance where to stop fading" +set g_waypointsprite_distancealphaexponent 2 +seta g_waypointsprite_edgefadealpha 0.5 "alpha multiplier near the edge" +seta g_waypointsprite_edgefadedistance 50 "distance in virtual pixels from edge where to start fading" +seta g_waypointsprite_edgefadescale 1 "scale multiplier near the edge" +seta g_waypointsprite_edgeoffset_bottom 0 "offset of how close the waypoint can be to the bottom edge of the screen" +seta g_waypointsprite_edgeoffset_left 0 "offset of how close the waypoint can be to the left edge of the screen" +seta g_waypointsprite_edgeoffset_right 0 "offset of how close the waypoint can be to the right edge of the screen" +seta g_waypointsprite_edgeoffset_top 0 "offset of how close the waypoint can be to the top edge of the screen" +seta g_waypointsprite_fontsize 12 +seta g_waypointsprite_itemstime 2 "show waypoints to indicate that some important items (mega health, large armor) are about to respawn: 1 when spectating, 2 even playing in warmup stage" +set g_waypointsprite_minscale 0.5 +set g_waypointsprite_minalpha 0.4 +set g_waypointsprite_normdistance 512 +seta g_waypointsprite_scale 1 +set g_waypointsprite_spam 0 "Debugging feature. Set to 10 and load courtfun in race mode to test." +set g_waypointsprite_timealphaexponent 1 +seta g_waypointsprite_turrets 1 "disable turret waypoints" +seta g_waypointsprite_turrets_maxdist 5000 "max distance for turret waypoints" +seta g_waypointsprite_uppercase 1 +seta g_waypointsprite_text 0 "Always show text instead of icons, setting this to 0 will still use text if the icon is unavailable" +seta g_waypointsprite_iconsize 32 +seta g_waypointsprite_iconcolor 0 "Show the icon at natural color rather than the waypoint's color" + +alias "g_waypointsprite_personal" "impulse 30" +alias "g_waypointsprite_personal_p" "impulse 31" +alias "g_waypointsprite_personal_d" "impulse 32" +alias "g_waypointsprite_team_helpme" "impulse 33" +alias "g_waypointsprite_team_here" "impulse 34" +alias "g_waypointsprite_team_here_p" "impulse 35" +alias "g_waypointsprite_team_here_d" "impulse 36" +alias "g_waypointsprite_team_danger" "impulse 37" +alias "g_waypointsprite_team_danger_p" "impulse 38" +alias "g_waypointsprite_team_danger_d" "impulse 39" +alias "g_waypointsprite_clear_personal" "impulse 47" +alias "g_waypointsprite_clear" "impulse 48" +alias "g_waypointsprite_toggle" "toggle cl_hidewaypoints" + seta cl_hidewaypoints 0 "disable static waypoints, only show team waypoints" seta cl_damagetext "1" "Draw damage dealt where you hit the enemy" @@ -613,6 +664,8 @@ seta cl_gentle_gibs 0 "client side gentle mode (only replaces gibs); when set t seta cl_gentle_messages 0 "client side gentle mode (only replaces frag messages/centerprints)" seta cl_gentle_damage 0 "client side gentle mode (only replaces damage flash); when set to 1, a white flash replaces the blood image, when set to 2, a randomly colored flash is used instead" +set cl_jetpack_attenuation 2 "jetpack sound attenuation" + set cl_warpzone_usetrace 1 "do not touch" set cl_effects_lightningarc_simple 0 @@ -653,6 +706,8 @@ seta cl_noantilag 0 "turn this on if you believe antilag is bad" set cl_accuracy_data_share 0 "1 share my weapon accuracy data statistics with other players, 0 keep my weapon accuracy data statistics hidden" set cl_accuracy_data_receive 0 "1 receive weapon accuracy data statistics at the end of the match" +set developer_csqcentities 0 "csqc entity spam" + seta cl_forceplayermodels 0 "make everyone look like your own model (requires server to have sv_defaultcharacter 0)" seta cl_forceplayercolors 0 "make enemies look like your own color (requires server to have sv_defaultcharacter 0); set it to 2 to enable it even in teamplay (only when there is exactly one enemy team)" seta cl_forcemyplayermodel "" "set to the model file name you want to show yourself as (does not affect how enemies look with cl_forceplayermodels)" @@ -712,3 +767,83 @@ r_drawparticles_nearclip_min 8 r_drawparticles_nearclip_max 16 r_cullentities_trace 0 + +// exact gloss looks better, e.g. on g-23 +r_shadow_glossexact 1 +r_shadow_glossintensity 1 + +// use fake light if map has no lightmaps +r_fakelight 1 + +r_water_hideplayer 1 // hide your own feet/player model in refraction views, this way you don't see half of your body under water +r_water_refractdistort 0.019 + +set cl_rainsnow_maxdrawdist 2048 + +// equalize looks better than fullbright +r_equalize_entities_fullbright 1 + +// safe font defaults +r_font_hinting 1 +r_font_disable_freetype 0 +r_font_size_snapping 4 + +// database management +set cl_db_saveasdump 0 "write client.db in dump format (loads slower, easier to read/parse)" + +// uid2name +seta cl_allow_uid2name -1 "-1 = ask if the player wants to disable/enable this feature, 0 = disable, 1 = enable uid2name (allows showing your name in race rankings for instance)" +seta cl_allow_uidtracking 1 "-1 = ask if the player wants to disable/enable this feature, 0 = disable, 1 = enable uid tracking (allows associating your data with your player ID)" +// FIXME set to -1 before release, once we have a dialog for this! + +// polygonoffset for submodel SUCKS SUCKS SUCKS (only a hack for quake1, we don't need that) +r_polygonoffset_submodel_offset 0 +r_polygonoffset_submodel_factor 0 +// decals: need a higher polygonoffset than default to not compete with _decal surfaces too much +r_polygonoffset_decals_offset -28 +r_polygonoffset_decals_factor 0 + +// loading screen +scr_loadingscreen_background 0 +scr_loadingscreen_barcolor "0 0.5 1" +scr_loadingscreen_barheight 12 +scr_loadingscreen_count 1 +scr_loadingscreen_firstforstartup 1 +scr_loadingscreen_scale 999 +scr_loadingscreen_scale_base 1 +scr_loadingscreen_scale_limit 2 + +// other config files +exec effects-normal.cfg +exec crosshairs.cfg +exec gamemodes-client.cfg +exec notifications.cfg + +seta cl_physics "default" "client selected physics set" + +// hud cvar descriptions and common settings +exec _hud_common.cfg +exec _hud_descriptions.cfg +// exec the default skin config +// please add any new cvars into the hud_save script in qcsrc/client/hud_config.qc for consistency +exec hud_luma.cfg + +// enable menu syncing - must be after files that call menu_sync on startup - see alias menu_sync "" +alias menu_sync "menu_cmd sync" + +seta cl_items_nofade 0 +seta cl_animate_items 1 +seta cl_ghost_items 0.45 "enable ghosted items (when between 0 and 1, overrides the alpha value)" +seta cl_ghost_items_color "-1 -1 -1" "color of ghosted items, 0 0 0 leaves the color unchanged" +seta cl_simple_items 0 "enable simple items (if server allows)" +set cl_simpleitems_postfix "_luma" "posfix to add fo model name when simple items are enabled" +set cl_fullbright_items 0 "enable fullbright items (if server allows, controlled by g_fullbrightitems)" +set cl_weapon_stay_color "2 0.5 0.5" "Color of picked up weapons when g_weapon_stay > 0" +set cl_weapon_stay_alpha 0.75 "Alpha of picked up weapons when g_weapon_stay > 0" + +seta cl_showspectators 0 "Show who's spectating you if server has sv_showspectators enabled" + +// Facility for config.cfg use ONLY. +// Interpreted in post-config.cfg. +seta menu_forced_saved_cvars "" "These cvars will always be saved, despite engine/Xonotic cvar saving status" +set menu_reverted_nonsaved_cvars "" "These cvars are currently marked as saved in the flags, but have been reverted and won't stay saved. INTERNAL USE ONLY."