X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=defaultXonotic.cfg;h=b340e5ddecb9b2c01c71d120c2dedcd02b48b9e6;hp=e2720b34bc8e0d88c0ea965882d55d482af2a71e;hb=4fc59bbd7e2d4f25ba21952ed50ae754295a7faa;hpb=2e3cf2b4d2b52fd151eed16d9e8404af18c9ebfb diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index e2720b34bc..b340e5ddec 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -26,11 +26,13 @@ gameversion_max 65535 // git builds see all versions alias setreport "set \"$1\" \"$2\" ; sendcvar \"$1\"" // detect dedicated server or client -alias "_detect_dedicated_$qport" "$*" +alias "_detect_dedicated_$qport" "${* asis}" alias "_detect_dedicated_0" "" -alias if_dedicated "_detect_dedicated_$qport ${* asis}" +alias _if_dedicated "_detect_dedicated_$qport ${* asis}" alias if_client "${* asis}" -if_dedicated alias if_client "" +alias if_dedicated "${* asis}" +_if_dedicated alias if_client "" +if_client alias if_dedicated "" seta g_configversion 0 "Configuration file version (used to upgrade settings) 0: first run, or previous start was <2.4.1 Later, it's overridden by config.cfg, version ranges are defined in config_update.cfg" @@ -96,6 +98,8 @@ seta crosshair_size 0.35 seta crosshair_dot 1 seta crosshair_dot_alpha 1 seta crosshair_dot_size 1 +seta crosshair_pickup 0.25 +seta crosshair_pickup_speed 4 seta crosshair_per_weapon 0 "when 1, each gun will display a different crosshair" seta crosshair_color_override 0 "when 1, crosshair_color_* overrides the per-weapon color" seta crosshair_effect_speed -1 "how fast (in seconds) some crosshair effects should take place, 0 = instant, -1 = 2x weapon switch time" @@ -107,111 +111,111 @@ seta crosshair_laser "" "crosshair to display when wielding the laser" seta crosshair_laser_color_red 1 "crosshair color red component to display when wielding the laser" seta crosshair_laser_color_green 0.35 "crosshair color green component to display when wielding the laser" seta crosshair_laser_color_blue 0.2 "crosshair color blue component to display when wielding the laser" -seta crosshair_laser_color_alpha 0.75 "crosshair alpha value to display when wielding the laser" +seta crosshair_laser_alpha 0.75 "crosshair alpha value to display when wielding the laser" seta crosshair_laser_size 0.4 "crosshair size when wielding the laser" seta crosshair_shotgun "" "crosshair to display when wielding the shotgun" seta crosshair_shotgun_color_red 0.7 "crosshair color red component to display when wielding the shotgun" seta crosshair_shotgun_color_green 0.7 "crosshair color green component to display when wielding the shotgun" seta crosshair_shotgun_color_blue 0.7 "crosshair color blue component to display when wielding the shotgun" -seta crosshair_shotgun_color_alpha 1.1 "crosshair alpha value to display when wielding the shotgun" +seta crosshair_shotgun_alpha 1.1 "crosshair alpha value to display when wielding the shotgun" seta crosshair_shotgun_size 0.65 "crosshair size when wielding the shotgun" seta crosshair_uzi "" "crosshair to display when wielding the machinegun" seta crosshair_uzi_color_red 0.4 "crosshair color red component to display when wielding the machinegun" seta crosshair_uzi_color_green 0.9 "crosshair color green component to display when wielding the machinegun" seta crosshair_uzi_color_blue 0.35 "crosshair color blue component to display when wielding the machinegun" -seta crosshair_uzi_color_alpha 0.9 "crosshair alpha value to display when wielding the machinegun" +seta crosshair_uzi_alpha 0.9 "crosshair alpha value to display when wielding the machinegun" seta crosshair_uzi_size 0.6 "crosshair size when wielding the machinegun" seta crosshair_grenadelauncher "" "crosshair to display when wielding the mortar" seta crosshair_grenadelauncher_color_red 1 "crosshair color red component to display when wielding the mortar" seta crosshair_grenadelauncher_color_green 0.15 "crosshair color green component to display when wielding the mortar" seta crosshair_grenadelauncher_color_blue 0 "crosshair color blue component to display when wielding the mortar" -seta crosshair_grenadelauncher_color_alpha 1.15 "crosshair alpha value to display when wielding the mortar" +seta crosshair_grenadelauncher_alpha 1.15 "crosshair alpha value to display when wielding the mortar" seta crosshair_grenadelauncher_size 0.7 "crosshair size when wielding the mortar" seta crosshair_minelayer "" "crosshair to display when wielding the mortar" seta crosshair_minelayer_color_red 0.75 "crosshair color red component to display when wielding the mortar" seta crosshair_minelayer_color_green 0.75 "crosshair color green component to display when wielding the mortar" seta crosshair_minelayer_color_blue 0 "crosshair color blue component to display when wielding the mortar" -seta crosshair_minelayer_color_alpha 1.15 "crosshair alpha value to display when wielding the mortar" +seta crosshair_minelayer_alpha 1.15 "crosshair alpha value to display when wielding the mortar" seta crosshair_minelayer_size 0.9 "crosshair size when wielding the mortar" seta crosshair_electro "" "crosshair to display when wielding the electro" seta crosshair_electro_color_red 0.35 "crosshair color red component to display when wielding the electro" seta crosshair_electro_color_green 0.5 "crosshair color green component to display when wielding the electro" seta crosshair_electro_color_blue 1 "crosshair color blue component to display when wielding the electro" -seta crosshair_electro_color_alpha 1 "crosshair alpha value to display when wielding the electro" +seta crosshair_electro_alpha 1 "crosshair alpha value to display when wielding the electro" seta crosshair_electro_size 0.5 "crosshair size when wielding the electro" seta crosshair_crylink "" "crosshair to display when wielding the crylink" seta crosshair_crylink_color_red 0.85 "crosshair color red component to display when wielding the crylink" seta crosshair_crylink_color_green 0.25 "crosshair color green component to display when wielding the crylink" seta crosshair_crylink_color_blue 1 "crosshair color blue component to display when wielding the crylink" -seta crosshair_crylink_color_alpha 0.85 "crosshair alpha value to display when wielding the crylink" +seta crosshair_crylink_alpha 0.85 "crosshair alpha value to display when wielding the crylink" seta crosshair_crylink_size 0.4 "crosshair size when wielding the crylink" seta crosshair_nex "" "crosshair to display when wielding the nex gun" seta crosshair_nex_color_red 0 "crosshair color red component to display when wielding the nex gun" seta crosshair_nex_color_green 0.9 "crosshair color green component to display when wielding the nex gun" seta crosshair_nex_color_blue 1 "crosshair color blue component to display when wielding the nex gun" -seta crosshair_nex_color_alpha 0.85 "crosshair alpha value to display when wielding the nex gun" +seta crosshair_nex_alpha 0.85 "crosshair alpha value to display when wielding the nex gun" seta crosshair_nex_size 0.65 "crosshair size when wielding the nex gun" seta crosshair_hagar "" "crosshair to display when wielding the hagar" seta crosshair_hagar_color_red 0.85 "crosshair color red component to display when wielding the hagar" seta crosshair_hagar_color_green 0.5 "crosshair color green component to display when wielding the hagar" seta crosshair_hagar_color_blue 0.35 "crosshair color blue component to display when wielding the hagar" -seta crosshair_hagar_color_alpha 1 "crosshair alpha value to display when wielding the hagar" +seta crosshair_hagar_alpha 1 "crosshair alpha value to display when wielding the hagar" seta crosshair_hagar_size 0.8 "crosshair size when wielding the hagar" seta crosshair_rocketlauncher "" "crosshair to display when wielding the rocketlauncher" seta crosshair_rocketlauncher_color_red 1 "crosshair color red component to display when wielding the rocketlauncher" seta crosshair_rocketlauncher_color_green 0.75 "crosshair color green component to display when wielding the rocketlauncher" seta crosshair_rocketlauncher_color_blue 0.2 "crosshair color blue component to display when wielding the rocketlauncher" -seta crosshair_rocketlauncher_color_alpha 1 "crosshair alpha value to display when wielding the rocketlauncher" +seta crosshair_rocketlauncher_alpha 1 "crosshair alpha value to display when wielding the rocketlauncher" seta crosshair_rocketlauncher_size 0.5875 "crosshair size when wielding the rocketlauncher" seta crosshair_porto "" "crosshair to display when wielding the porto" seta crosshair_porto_color_red 0.5 "crosshair color red component to display when wielding the porto" seta crosshair_porto_color_green 1 "crosshair color green component to display when wielding the porto" seta crosshair_porto_color_blue 0.5 "crosshair color blue component to display when wielding the porto" -seta crosshair_porto_color_alpha 0.85 "crosshair alpha value to display when wielding the porto" +seta crosshair_porto_alpha 0.85 "crosshair alpha value to display when wielding the porto" seta crosshair_porto_size 0.6 "crosshair size when wielding the porto" seta crosshair_minstanex "" "crosshair to display when wielding the minstanex gun" seta crosshair_minstanex_color_red 0.65 "crosshair color red component to display when wielding the minstanex gun" seta crosshair_minstanex_color_green 0.65 "crosshair color green component to display when wielding the minstanex gun" seta crosshair_minstanex_color_blue 1 "crosshair color blue component to display when wielding the minstanex gun" -seta crosshair_minstanex_color_alpha 1 "crosshair alpha value to display when wielding the minstanex gun" +seta crosshair_minstanex_alpha 1 "crosshair alpha value to display when wielding the minstanex gun" seta crosshair_minstanex_size 0.4 "crosshair size when wielding the minstanex gun" seta crosshair_hook "" "crosshair to display when wielding the hook" seta crosshair_hook_color_red 0.65 "crosshair color red component to display when wielding the hook" seta crosshair_hook_color_green 1 "crosshair color green component to display when wielding the hook" seta crosshair_hook_color_blue 0.85 "crosshair color blue component to display when wielding the hook" -seta crosshair_hook_color_alpha 0.85 "crosshair alpha value to display when wielding the hook" +seta crosshair_hook_alpha 0.85 "crosshair alpha value to display when wielding the hook" seta crosshair_hook_size 0.5 "crosshair size when wielding the hook" seta crosshair_hlac "" "crosshair to display when wielding the H.L.A.C" seta crosshair_hlac_color_red 1 "crosshair color red component to display when wielding the H.L.A.C." seta crosshair_hlac_color_green 0.65 "crosshair color green component to display when wielding the H.L.A.C." seta crosshair_hlac_color_blue 0.2 "crosshair color blue component to display when wielding the H.L.A.C." -seta crosshair_hlac_color_alpha 1 "crosshair alpha value to display when wielding the H.L.A.C." +seta crosshair_hlac_alpha 1 "crosshair alpha value to display when wielding the H.L.A.C." seta crosshair_hlac_size 0.6 "crosshair size when wielding the H.L.A.C." seta crosshair_seeker "" "crosshair to display when wielding the TAG Seeker" seta crosshair_seeker_color_red 1 "crosshair color red component to display when wielding the TAG seeker" seta crosshair_seeker_color_green 0.35 "crosshair color green component to display when wielding the TAG seeker" seta crosshair_seeker_color_blue 0.35 "crosshair color blue component to display when wielding the TAG seeker" -seta crosshair_seeker_color_alpha 0.9 "crosshair alpha value to display when wielding the TAG seeker" +seta crosshair_seeker_alpha 0.9 "crosshair alpha value to display when wielding the TAG seeker" seta crosshair_seeker_size 0.8 "crosshair size when wielding the TAG seeker" seta crosshair_campingrifle "" "crosshair to display when wielding the campingrifle" seta crosshair_campingrifle_color_red 0.85 "crosshair color red component to display when wielding the campingrifle" seta crosshair_campingrifle_color_green 0.5 "crosshair color green component to display when wielding the campingrifle" seta crosshair_campingrifle_color_blue 0.25 "crosshair color blue component to display when wielding the campingrifle" -seta crosshair_campingrifle_color_alpha 1 "crosshair alpha value to display when wielding the campingrifle" +seta crosshair_campingrifle_alpha 1 "crosshair alpha value to display when wielding the campingrifle" seta crosshair_campingrifle_size 0.65 "crosshair size when wielding the campingrifle" seta crosshair_tuba "" "crosshair to display when wielding the tuba" seta crosshair_tuba_color_red 0.85 "crosshair color red component to display when wielding the tuba" seta crosshair_tuba_color_green 0.5 "crosshair color green component to display when wielding the tuba" seta crosshair_tuba_color_blue 0.25 "crosshair color blue component to display when wielding the tuba" -seta crosshair_tuba_color_alpha 1 "crosshair alpha value to display when wielding the tuba" +seta crosshair_tuba_alpha 1 "crosshair alpha value to display when wielding the tuba" seta crosshair_tuba_size 1 "crosshair size when wielding the tuba" seta crosshair_fireball "" "crosshair to display when wielding the fireball" seta crosshair_fireball_color_red 0.2 "crosshair color red component to display when wielding the fireball" seta crosshair_fireball_color_green 1.0 "crosshair color green component to display when wielding the fireball" seta crosshair_fireball_color_blue 0.2 "crosshair color blue component to display when wielding the fireball" -seta crosshair_fireball_color_alpha 1 "crosshair alpha value to display when wielding the fireball" +seta crosshair_fireball_alpha 1 "crosshair alpha value to display when wielding the fireball" seta crosshair_fireball_size 1 "crosshair size when wielding the fireball" -seta crosshair_ring_size 3 "bullet counter ring size for Rifle, velocity ring for Nex" +seta crosshair_ring_size 2 "bullet counter ring size for Rifle, velocity ring for Nex" seta crosshair_campingrifle_bulletcounter_alpha 0.15 seta crosshair_nexvelocity_alpha 0.15 seta cl_reticle_stretch 0 "whether to stretch reticles so they fit the screen (brakes image proportions)" @@ -487,7 +491,7 @@ alias g_waypointeditor_unreachable "impulse 107" locs_enable 0 pausable 0 -seta g_spawnshieldtime 0.3 "number of seconds you are invincible after you spawned, this shield is lost after you fire" +seta g_spawnshieldtime 0.300000 "number of seconds you are invincible after you spawned, this shield is lost after you fire" seta g_antilag 2 "AntiLag (0 = no AntiLag, 1 = verified client side hit scan, 2 = server side hit scan in the past, 3 = unverified client side hit scan)" set g_antilag_nudge 0 "don't touch" set g_antilag_bullets 1 "Bullets AntiLag (0 = no AntiLag, 1 = server side hit scan in the past) - DO NOT TOUCH (severely changes weapon balance)" @@ -551,6 +555,7 @@ alias clearmap "disconnect" set g_grappling_hook 0 "let players spawn with the grappling hook which allows them to pull themselves up" set g_dodging 0 "set to 1 to enable dodging in games" +set g_rocket_flying 0 "set to 1 to enable rocket flying in all balance configs" seta cl_dodging_timeout 0.2 "determines how long apart (in seconds) two taps on the same direction key are considered a dodge. use 0 to disable" @@ -614,6 +619,8 @@ set g_arena_respawn_delay 0 set g_arena_respawn_waves 0 set g_ca_respawn_delay 0 set g_ca_respawn_waves 0 +set g_ca_damage2score_multiplier 0.01 +set g_ca_round_timelimit 180 set g_nexball_respawn_delay 0 set g_nexball_respawn_waves 0 set g_as_respawn_delay 0 @@ -623,8 +630,9 @@ set g_ons_respawn_waves 0 set g_rc_respawn_waves 0 set g_rc_respawn_delay 0 set g_cts_respawn_waves 0 -set g_cts_respawn_delay 0 +set g_cts_respawn_delay 0.25 set g_cts_selfdamage 1 "0 = disable all selfdamage and falldamage in cts" +set g_cts_finish_kill_delay 10 "prevent cheating by running back to the start line, and starting out with more speed than otherwise possible" // overtime seta timelimit_overtime 2 "duration in minutes of one added overtime, added to the timelimit" @@ -635,8 +643,8 @@ seta timelimit_suddendeath 5 "number of minutes suddendeath mode lasts after all set g_tdm 0 "Team Deathmatch: the team who kills their opponents most often wins" seta teamplay_default 4 "default teamplay setting in team games. 1 = no friendly fire, self damage. 2 = friendly fire and self damage enabled. 3 = no friendly fire, but self damage enabled. 4 = obey the following four cvars" -seta g_mirrordamage 0.3 "for teamplay 4: mirror damage factor" -seta g_friendlyfire 0.1 "for teamplay 4: fiendly fire factor" +seta g_mirrordamage 0.300000 "for teamplay 4: mirror damage factor" +seta g_friendlyfire 0.100000 "for teamplay 4: fiendly fire factor" seta g_teamdamage_threshold 50 "for teamplay 4: threshold over which to apply mirror damage" seta g_teamdamage_resetspeed 30 "for teamplay 4: how fast player's teamdamage count decreases" @@ -1076,8 +1084,8 @@ set sv_vote_singlecount 0 "set to 1 to count votes once after timeout or to 0 to set sv_vote_timeout 30 "a vote will timeout after this many seconds" set sv_vote_wait 120 "a player can not call a vote again for this many seconds when his vote was not accepted" set sv_vote_stop 15 "a player can not call a vote again for this many seconds when he stopped this vote (e.g. to correct it)" -set sv_vote_majority_factor 0.5 "which quotient of the PLAYERS constitute a majority? (try: 0.667, 0.75 when using the above)" -set sv_vote_simple_majority_factor 0.667 "which quotient of the VOTERS constitute a majority too? (0 = off, otherwise it must be higher than or equal to sv_vote_majority_factor)" +set sv_vote_majority_factor 0.5 "which quotient of the PLAYERS constitute a majority? (try: 0.666, 0.75 when using the above)" +set sv_vote_simple_majority_factor 0.666 "which quotient of the VOTERS constitute a majority too? (0 = off, otherwise it must be higher than or equal to sv_vote_majority_factor)" // when disabled, don't allow game type changes "note: set these two equal to JUST support simple majorities" set sv_vote_override_mostrecent 0 alias vhelp "cmd vote help" @@ -1334,6 +1342,9 @@ alias _userbind_call "${$1}" alias +userbind "_userbind_call userbind${1}_press" alias -userbind "_userbind_call userbind${1}_release" +// we must change its default from 1.0 to 1 to be consistent with menuqc +seta slowmo 1 + seta menu_skin "luminos" set menu_slowmo 1 seta menu_sounds 0 "enables menu sound effects. 1 enables click sounds, 2 also enables hover sounds" @@ -1522,8 +1533,7 @@ seta menu_mouse_speed 1 "speed multiplier for the mouse in the menu (does not af set menu_use_default_hostname 1 alias sethostname "set menu_use_default_hostname 0; hostname $*" -// force fog for people who turn it off in game (set this to like 5 if you suspect people are "cheating" that way) -set sv_foginterval 0 +set sv_foginterval 1 "force enable fog in regular intervals" // Audio track names (for old-style "cd loop NUMBER" usage) set _cdtrack_first "1" @@ -1588,8 +1598,8 @@ seta sv_status_privacy 1 "hide IP addresses from \"status\" replies shown to cli set g_maplist_allow_hidden 0 "allow hidden maps to be, e.g., voted for and in the maplist" set g_maplist_allow_frustrating 0 "allow impossible maps to be, e.g., voted for and in the maplist (if set to 2, ONLY impossible maps are allowed)" -seta g_start_delay 0 "delay before the game starts, so everyone can join; recommended to set this to like 15 on a public server" - if_dedicated set g_start_delay 15 +if_client set g_start_delay 0 "delay before the game starts, so everyone can join; recommended to set this to like 15 on a public server" +if_dedicated set g_start_delay 15 "delay before the game starts, so everyone can join; recommended to set this to like 15 on a public server" alias ons_map "cl_cmd radar" // legacy alias alias radar "cl_cmd radar" @@ -1644,10 +1654,11 @@ set g_ban_sync_trusted_servers "" "request ban lists from these xonotic servers set g_ban_sync_timeout 45 "time out in seconds for the ban sync requests" set g_ban_sync_trusted_servers_verify 0 "when set to 1, additional bans sent by the servers are ignored, and only bans for the requested IP are used" -set g_showweaponspawns 0 "1: display sprites for weapon spawns found on the map when a weapon key is pressed and the weapon is not available" +set g_showweaponspawns 1 "display sprites for weapon spawns found on the map when a weapon key is pressed and the weapon is not available" alias records "cmd records" alias rankings "cmd rankings" +alias ladder "cmd ladder" // ballistics use physical units, but qu based // Quake-Newton: 1 qN = 1 qu * 1 g / 1 s^2 @@ -1988,3 +1999,10 @@ utf8_enable 1 r_font_hinting 1 r_font_disable_freetype 0 r_font_size_snapping 2 + +// database management +set sv_db_saveasdump 0 "write server.db in dump format (loads slower, easier to read/parse)" +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)"