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"
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"
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 crosshair_nexvelocity_scale 30
+seta crosshair_nexvelocity_currentcharge_rate 0.05
+seta crosshair_nexvelocity_currentcharge_alpha 0.15
+seta crosshair_nexvelocity_currentcharge_color_red 0.8
+seta crosshair_nexvelocity_currentcharge_color_green 0
+seta crosshair_nexvelocity_currentcharge_color_blue 0
seta cl_reticle_stretch 0 "whether to stretch reticles so they fit the screen (brakes image proportions)"
seta cl_reticle_item_nex 1 "draw aiming recticle for the nex weapon's zoom, 0 disables and values between 0 and 1 change alpha"
seta cl_reticle_item_normal 1 "draw recticle when zooming with the zoom button, 0 disables and values between 0 and 1 change alpha"
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)"
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
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"
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"
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"
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"
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
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)"