X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=xonotic-common.cfg;h=ff5787269e4be9a7093a312bf18ce849e550a1be;hp=7a2c4611ad2ce287500b5cf3aa91827621f7c4ca;hb=HEAD;hpb=ebec51e2a451b28980fcd246eb002b6d0c6bae8a diff --git a/xonotic-common.cfg b/xonotic-common.cfg index 7a2c4611a..97c88c21b 100644 --- a/xonotic-common.cfg +++ b/xonotic-common.cfg @@ -7,7 +7,8 @@ // Xonotic version (formatted for machines) // used to determine if a client version is compatible -// this doesn't have to be bumped with every release +// general policy: previous release has "best effort" support, older releases are unsupported, +// but gameversion_min doesn't have to be bumped with every release (eg: a minor patch release) // bump when clients become incompatible or any other perfectly good reason // (e.g. game data incompatibility, engine version incompatibility, etc // note: this automatically filters the server browser, clients of the new @@ -17,9 +18,9 @@ // e.g. Xonotic 1.5.1 RC1 will be 15101 set g_xonoticversion git "Xonotic version (formatted for humans)" -gameversion 802 // 0.8.2 -gameversion_min 0 // git builds see all versions -gameversion_max 65535 // git builds see all versions +gameversion 806 // 0.8.6 +gameversion_min 805 // 0.8.5 is the previous release +gameversion_max 65535 // future versions should nag players to update // compatibility guideline: // version a.b.c = a0b0c @@ -31,6 +32,16 @@ gameversion_max 65535 // git builds see all versions 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" +// Set the master servers to do DNS lookups we control. +// This allows us to update the master server IPs without a release. +set sv_masterextra1 "master1.xonotic.org:42863" +set sv_masterextra2 "master2.xonotic.org:27950" +set sv_masterextra3 "" // Got removed from DP, so we can't use this one for master3. +set sv_master1 "dpm4.xonotic.xyz:27777" // gazby, soylent_cow +set sv_master2 "dpm6.xonotic.xyz:27777" // gazby, soylent_cow +set sv_master3 "master3.xonotic.org:27950" +set sv_master4 "master4.xonotic.org:42863" + exec xonotic-client.cfg exec xonotic-server.cfg @@ -99,9 +110,6 @@ set g_debug_defaultsounds 0 "always use default sounds" // define some engine cvars that we need even on dedicated server set r_showbboxes 0 -// support Q1BSP maps -mod_q1bsp_polygoncollisions 1 - // match q3map2 mod_obj_orientation 0 @@ -112,15 +120,6 @@ utf8_enable 1 mod_q3shader_default_polygonoffset -14 mod_q3shader_default_polygonfactor 0 -// random charge stuff :P -set g_weapon_charge_colormod_hdrmultiplier 4 "how much to multiply the colors by in the colormod vector" -set g_weapon_charge_colormod_red_half 0 -set g_weapon_charge_colormod_green_half 0.5 -set g_weapon_charge_colormod_blue_half 1 -set g_weapon_charge_colormod_red_full 1 -set g_weapon_charge_colormod_green_full -0.5 -set g_weapon_charge_colormod_blue_full -1 - // session locking locksession 1 @@ -128,7 +127,9 @@ locksession 1 set snd_soundradius 1200 set snd_softclip 1 set snd_maxchannelvolume 0 -set snd_streaming_length 2 +// Only streaming-decode music, not any sound effects. RAM is cheap nowadays. +// Sadly, our longest sound effect is 36 seconds. +set snd_streaming_length 40 seta menu_snd_sliderscale 2 "0: decibels; 1: linear percent; 2: 0..10 scale; 3: slider size percent" seta menu_snd_attenuation_method 1 "Use exponential instead of linear falloff for sound attenuation" alias snd_attenuation_method_0 "set menu_snd_attenuation_method 0; set snd_soundradius 1200; set snd_attenuation_exponent 1; set snd_attenuation_decibel 0" // Quake default @@ -147,6 +148,11 @@ snd_identicalsoundrandomization_tics 1 set debug_deglobalization_logging 0 "bitfield: 1 logs usage of the old functions which use globals implicitly, 2 logs usage of the new wrappers; support for this can be disabled at compile time for better performance" set debug_deglobalization_clear 0 "make the new wrappers set globals to NaN after use, this helps find bugs but can result in crashes; support for this can be disabled at compile time for better performance" +// disabling until it's complete +set prvm_garbagecollection_enable 0 + +set g_mapinfo_q3compat 1 "If no .mapinfo file exists:: 0: generate .mapinfo using entities only. 1: read .arena and .defi files directly, don't generate .mapinfo. 2: generate .mapinfo using .arena and .defi files, and entities. 3: generate .mapinfo using .arena and .defi files only." + // load console command aliases and settings exec commands.cfg