]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - defaultXonotic.cfg
moar cvars
[xonotic/xonotic-data.pk3dir.git] / defaultXonotic.cfg
1 // Xonotic version (formatted for machines)
2 // used to determine if a client version is compatible
3 // this doesn't have to be bumped with every release
4 // bump when clients become incompatible or any other perfectly good reason
5 // (e.g. game data incompatibility, engine version incompatibility, etc
6 // note: this automatically filters the server browser, clients of the new
7 // version won't see old servers, and clients of the old version won't see new
8 // servers either
9 //
10 // e.g. Xonotic 1.5.1 RC1 will be 15101
11 set g_xonoticversion git "Xonotic version (formatted for humans)"
12
13 gameversion 802 // 0.8.2
14 gameversion_min 0 // git builds see all versions
15 gameversion_max 65535 // git builds see all versions
16
17 // compatibility guideline:
18 //   version a.b.c   = a0b0c
19 //   gameversion_min = a0(b-1)00 // show servers of the previous "line"
20 //   gameversion_max = a0(b+1)99 // show servers of the next "line"
21 // so, for a given gameversion, _min and _max calculate as follows:
22 //   gameversion_min = (gameversion / 100) * 100 - 100
23 //   gameversion_max = (gameversion / 100) * 100 + 199
24
25 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"
26
27 // FIXME i think this is client cvar but it's also marked BADCVAR in server
28 // merge lightmaps up to 2048x2048 textures
29 mod_q3bsp_lightmapmergepower 4
30
31 exec defaultClient.cfg
32 exec defaultServer.cfg
33
34 set ekg 0       "Throw huge amounts of gibs"
35
36 locs_enable 0
37 pausable 0
38 set samelevel 0 "when 1, always play the same level over and over again"
39
40 // misc
41 fs_empty_files_in_pack_mark_deletions 1 // makes patches able to delete files
42
43 // singleplayer campaign
44 set g_campaign 0
45 set g_campaign_forceteam 0 "Forces the player to a given team in campaign mode, 1 = red, 2 = blue, 3 = yellow, 4 = pink"
46 seta g_campaign_name "xonoticbeta"
47 seta g_campaign_skill -1 // -2 easy -1 medium 0 hard
48
49 alias singleplayer_start "g_campaign_index 0; set scmenu_campaign_goto 0"
50 alias singleplayer_continue "set scmenu_campaign_goto -1"
51 alias singleplayer_levellist "set scmenu_campaign_dump 1; togglemenu; wait; togglemenu"
52
53 // FIXME this is indeed ignored - remove?
54 // so it can be stuffcmd-ed still
55 set cl_gravity 800      "but ignored anyway"
56
57 // we must change its default from 1.0 to 1 to be consistent with menuqc
58 set slowmo 1
59
60 // ticrate
61 //sys_ticrate 0.0166667 // 60fps. This would be ideal, but kills home routers.
62 sys_ticrate 0.0333333 // Use 30fps instead.
63
64 // FIXME this is client i think?
65 // Audio track names (for old-style "cd loop NUMBER" usage)
66 set _cdtrack_first "1"
67 alias _cdtrack_0 "g_cdtracks_remaplist \"$g_cdtracks_remaplist $1\""
68 alias _cdtrack_1 "g_cdtracks_remaplist \"$1\"; set _cdtrack_first 0"
69 alias _cdtrack "_cdtrack_$_cdtrack_first $2"
70 set g_cdtracks_remaplist ""
71 exec cdtracks.cfg
72 unset _cdtrack_first
73 unalias _cdtrack_0
74 unalias _cdtrack_1
75 unalias _cdtrack
76
77 cd remap $g_cdtracks_remaplist
78 set sv_intermission_cdtrack ""
79
80 set g_cdtracks_dontusebydefault "rising-of-the-phoenix"
81 seta menu_cdtrack "rising-of-the-phoenix"
82
83 // these entities are not referenced by anything directly, they just represent
84 // teams and are found by find() when needed
85 prvm_leaktest_ignore_classnames "ctf_team dom_team tdm_team"
86 prvm_backtraceforwarnings 1
87
88 // must be at the bottom of this file:
89
90 set g_bugrigs 0
91 set g_bugrigs_planar_movement 1 "BROTRR bug emulation"
92 set g_bugrigs_planar_movement_car_jumping 1     "my own bug"
93 set g_bugrigs_reverse_speeding 1        "BROTRR bug emulation"
94 set g_bugrigs_reverse_spinning 1        "BROTRR bug emulation"
95 set g_bugrigs_reverse_stopping 1        "BROTRR bug emulation"
96 set g_bugrigs_air_steering 1    "NFS bug emulation"
97 set g_bugrigs_angle_smoothing 5 "smooth the car angle a bit, looks nice"
98 set g_bugrigs_friction_floor 50 "units/sec friction on floor"
99 set g_bugrigs_friction_brake 950        "units/sec friction for braking"
100 set g_bugrigs_friction_air 0.00001      "(very small) v <- v - v^2 * g_bugrigs_friction_air"
101 set g_bugrigs_accel 800 "acceleration"
102 set g_bugrigs_speed_ref 400     "reference speed for accel and steer responsiveness"
103 set g_bugrigs_speed_pow 2       "reference power for accel and steer responsiveness"
104 set g_bugrigs_steer 1   "steering amount"
105
106 set g_ban_sync_uri ""   "sync using this ban list provider (empty string to disable)"
107 set g_ban_sync_interval 5       "sync every 5 minutes"
108 set g_ban_sync_trusted_servers ""       "request ban lists from these xonotic servers (do not include your own server there, or unbanning may fail)"
109 set g_ban_sync_timeout 45       "time out in seconds for the ban sync requests"
110 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"
111
112 set g_showweaponspawns 1 "1: display waypoints for weapon spawns found on the map when a weapon key is pressed and the weapon is not owned; 2: for dropped weapons too; 3: for all the weapons sharing the same impulse"
113
114 // ballistics use physical units, but qu based
115 //   Quake-Newton: 1 qN  = 1 qu * 1 g / 1 s^2
116 //   Quake-Joule:  1 qJ  = 1 qN * 1 qu
117 //   Quake-Pascal: 1 qPa = 1 qN / 1 qu^2
118
119 set g_ballistics_mindistance 2 // enable ballistics starting from 2 qu
120 set g_ballistics_density_player 0.50 // players are 2x as easy to pass as walls
121 set g_ballistics_density_corpse 0.10 // corpses are 10x as easy to pass as walls
122 set g_ballistics_penetrate_clips 0 "allow ballistics to pass through weapon clips"
123
124 set cl_stripcolorcodes 0        "experimental feature (notes: strips ALL color codes from messages!)"
125
126 sv_status_show_qcstatus 1       "Xonotic uses this field instead of frags"
127 set g_full_getstatus_responses 0        "this currently breaks qstat"
128
129 // Demo camera
130 set camera_enable               0       "Enables the camera for demo playback"
131 set camera_free                 0       "Free camera instead of chasing the player"
132 set camera_reset                0       "Resets the camera position and switch to chase mode"
133 set camera_speed_roll           0.9     "Camera rotation speed"
134 set camera_speed_chase          4       "Camera movement speed on the x/y/z axis while chasing the player"
135 set camera_speed_free           8       "Camera movement speed on the x/y/z axis in free mode"
136 set camera_speed_attenuation    10      "Camera movements attenuation factor. Bigger is smoother. Applies to mouse movements"
137 set camera_mouse_threshold      0.5     "Use to ignore small mouse movements. This allows for smoother camera control"
138 set camera_chase_smoothly       0       "Attenuate player movements (only in chase mode)"
139 set camera_look_player          0       "Always look to the player. Mouse input is ignored in this mode"
140 set camera_look_attenuation     8       "Attenuation of \"looking\" movements, only if camera_look_player is set. Bigger is smoother"
141 set camera_forward_follows      1       "0: Move the camera forwards without changing altitude. 1: Move towards what you are looking"
142
143 // "Gentle mode": show no blood
144 seta sv_gentle 0                "force gentle mode for everyone, also remove references to acts of killing from the messages"
145 seta cl_gentle 0                "client side gentle mode, master switch for removing both gibs and messages"
146 seta cl_gentle_gibs 0           "client side gentle mode (only replaces gibs); when set to 1, white smoke replaces gibs, when set to 2, colorful clouds replace gibs"
147 seta cl_gentle_messages 0       "client side gentle mode (only replaces frag messages/centerprints)"
148 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"
149
150 set g_jetpack 0 "Jetpack mutator"
151
152 set g_running_guns 0 "... or wonder, till it drives you mad, what would have followed if you had."
153
154 set _urllib_nextslot 0 "temp variable"
155 set cl_warpzone_usetrace 1 "do not touch"
156
157 set cl_effects_lightningarc_simple 0
158 set cl_effects_lightningarc_segmentlength 64
159 set cl_effects_lightningarc_drift_start 0.45
160 set cl_effects_lightningarc_drift_end 0.1
161 set cl_effects_lightningarc_branchfactor_start 0.25
162 set cl_effects_lightningarc_branchfactor_add 0.1
163
164 set g_hitplots 0 "when set to 1, hitplots are stored by the server to provide a means of proving that a triggerbot was used"
165 seta g_hitplots_individuals "" "the individuals, by IP, that should have their hitplots recorded"
166
167 set menu_updatecheck 1 "check for updates"
168 set menu_updatecheck_getpacks 1 "get update packs from update server"
169
170 set bot_navigation_ignoreplayers 0 // FIXME remove this once the issue is solved
171 set bot_sound_monopoly 0 "when enabled, only bots can make any noise"
172
173 set cl_loddistance1 1024
174 set cl_loddistance2 3072
175 seta cl_playerdetailreduction 4 "the higher, the less detailed player models are displayed (LOD)"
176 seta cl_modeldetailreduction 1  "the higher, the less detailed certain map models are displayed (LOD)"
177
178 set g_mapinfo_settemp_acl "+*" "ACL for mapinfo setting cvars"
179
180 seta cl_casings_maxcount 100 "maximum amount of shell casings (must be at least 1)"
181 seta cl_gibs_maxcount 100 "maximum amount of gibs (must be at least 1)"
182
183 //cl_gunalign calculator
184 seta menu_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"
185 alias _gunalign_01 "cl_gunalign 1"
186 alias _gunalign_02 "cl_gunalign 2"
187 alias _gunalign_03 "cl_gunalign 3"
188 alias _gunalign_04 "cl_gunalign 4"
189 alias _gunalign_11 "cl_gunalign 2"
190 alias _gunalign_12 "cl_gunalign 1"
191 alias _gunalign_13 "cl_gunalign 4"
192 alias _gunalign_14 "cl_gunalign 3"
193 alias _gunalign_update "_gunalign_$v_flipped$menu_cl_gunalign"
194
195 set _menu_alpha "" // will be set by menu QC to the current fading of the menu, can be used by CSQC to fade items
196 set _menu_initialized 0 "is 0 on first menu loading, 1 later"
197
198 set g_triggerimpulse_accel_power 1 "trigger_impulse accelerator power (applied BEFORE the multiplier)"
199 set g_triggerimpulse_accel_multiplier 1 "trigger_impulse accelerator multiplier (applied AFTER the power)"
200 set g_triggerimpulse_directional_multiplier 1 "trigger_impulse directional field multiplier"
201 set g_triggerimpulse_radial_multiplier 1 "trigger_impulse radial field multiplier"
202 set the_goggles "they do nothing" "but the googles, they do"
203
204 set sv_weaponstats_file "" "when set to a file name, per-weapon stats get written to that file"
205
206 seta cl_noantilag 0 "turn this on if you believe antilag is bad"
207
208 set rescan_pending 0 "set to 1 to schedule a fs_rescan at the end of this match"
209
210 set g_mapinfo_allow_unsupported_modes_and_let_stuff_break "0" "set to 1 to be able to force game types using g_ cvars even if the map does not support them"
211
212 // weapon accuracy stats
213 set sv_accuracy_data_share 1 "1 send weapon accuracy data statistics to spectating clients, depends on cl_accuracy_data_share"
214 set sv_accuracy_data_send 1 "1 send weapon accuracy data statistics and improved score info to all the clients at the end of the match, depends on cl_accuracy_data_receive, 0 send the current 'player has won' to all the clients"
215 set cl_accuracy_data_share 0 "1 share my weapon accuracy data statistics with other players, 0 keep my weapon accuracy data statistics hidden"
216 set cl_accuracy_data_receive 0 "1 receive weapon accuracy data statistics at the end of the match"
217
218 set spawn_debug 0 "use all spawns one by one, then abort, to verify all spawnpoints"
219 set loddebug 0 "force this LOD level"
220 set spawn_debugview 0 "display spawnpoints and their rating on spawn to debug spawnpoint rating calculation"
221 set g_mutatormsg "" "mutator message"
222 set speedmeter 0 "print landing speeds"
223 set developer_csqcentities 0 "csqc entity spam"
224 set waypoint_benchmark 0 "quit after waypoint loading to benchmark bot navigation code"
225 set g_debug_bot_commands 0 "print scripted bot commands before executing"
226 set g_debug_defaultsounds 0 "always use default sounds"
227 seta cl_forceplayermodels 0 "make everyone look like your own model (requires server to have sv_defaultcharacter 0)"
228 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)"
229 seta cl_forcemyplayermodel "" "set to the model file name you want to show yourself as (does not affect how enemies look with cl_forceplayermodels)"
230 seta cl_forcemyplayerskin 0 "set to the skin number you want to show yourself as (does not affect how enemies look with cl_forceplayermodels)"
231 seta cl_forcemyplayercolors 0 "set to the color value (encoding is same as _cl_color) for your own player model (ignored in teamplay; does not affect how enemies look with cl_forceplayermodels)"
232 seta cl_movement_errorcompensation 1 "try to compensate for prediction errors and reduce perceived lag"
233 seta cl_movement_intermissionrunning 0 "keep velocity after the match ends, players may appear to continue running while stationary"
234
235 // campaign internal, set when loading a campaign map1G
236 set _campaign_index ""
237 set _campaign_name ""
238 set _campaign_testrun 0 "To verify the campaign file, set this to 1, then start the first campaign level from the menu. If you end up in the menu again, it's good, if you get a QC crash, it's bad."
239
240 // debug
241 set _independent_players 0 "DO NOT TOUCH"
242 set _notarget 0 "NO, REALLY, DON'T"
243 set debugdraw 0
244 set debugdraw_filter ""
245 set debugdraw_filterout ""
246 set debugtrace 0
247
248 // define some engine cvars that we need even on dedicated server
249 set r_showbboxes 0
250
251 // we REALLY need the end pos nudging DP bug workaround for trace-to-end-of-solid to work
252 collision_endposnudge 1
253
254 // FIXME remove this when the engine feature FINALLY MAYBE works
255 r_glsl_skeletal 0
256
257 // animation tuning
258 set cl_lerpanim_maxdelta_framegroups 0.05 // must be faster than fastest weapon refire
259 set cl_lerpanim_maxdelta_server 0.1 // must be slower than slowest server controlled anim (e.g. animinfo stuff)
260
261 // otherwise, antilag breaks
262 sv_gameplayfix_consistentplayerprethink 1
263
264 // support Q1BSP maps
265 mod_q1bsp_polygoncollisions 1
266
267 // match q3map2
268 mod_obj_orientation 0
269
270 // improve some minor details
271 sv_gameplayfix_gravityunaffectedbyticrate 1
272 sv_gameplayfix_nogravityonground 1
273
274 // autodemo deleting
275 seta cl_autodemo_delete_keeprecords 0 "when 1, records with a newly made race/cts demo are kept even if cl_autodemo_delete is used to delete demos"
276
277 // freeze camera
278 set cl_lockview 0 "when 1, the camera does not move any more"
279
280 // we now use mastervolume
281 volume 1
282
283 // sucks less than the old one
284 cl_decals_newsystem 1
285
286 set sv_q3acompat_machineshotgunswap 0 "shorthand for swapping machinegun and shotgun (for Q3A map compatibility in mapinfo files)"
287
288 set g_movement_highspeed 1 "movement speed modification factor (only changes movement when above maxspeed)"
289
290 set g_maxspeed 0 "player speed limit, faster players are killed (0 for unlimited speed)"
291
292 scr_conalpha 1
293 scr_conalpha2factor 0.3
294 scr_conalpha3factor 1
295 scr_conalphafactor 0.8
296 scr_conbrightness 0.35
297 scr_conforcewhiledisconnected 1
298 scr_conscroll2_x 0.11
299 scr_conscroll2_y 0.2
300 scr_conscroll3_x 0
301 scr_conscroll3_y 0
302 scr_conscroll_x -0.1
303 scr_conscroll_y -0.3
304
305 scr_conforcewhiledisconnected 0
306 scr_infobar_height 12
307
308 // DP cannot properly detect this, so rather turn off the detection
309 r_texture_dds_load_alphamode 2
310 r_texture_dds_swdecode 1 // SW decode to quarter res if we want to load DDS but don't support the extension for it
311 r_texture_dds_load_logfailure 0 // this engine feature SUCKS
312 set vid_netwmfullscreen 0 // doesn't support non-native res
313
314 // particles optimization
315 r_drawparticles_nearclip_min 8
316 r_drawparticles_nearclip_max 16
317
318 // sv_cullentities_trace is 1, so the client doesn't have to
319 sv_cullentities_trace 1
320 r_cullentities_trace 0
321
322 // less "lagging" of other players, but also less PL tolerant... let's try this
323 sv_clmovement_inputtimeout 0.066 // slightly less than 2 frames, so only one frame can be compensated
324
325 // exact gloss looks better, e.g. on g-23
326 r_shadow_glossexact 1
327 r_shadow_glossintensity 1
328
329 // use fake light if map has no lightmaps
330 r_fakelight 1
331
332 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
333 r_water_refractdistort 0.019
334
335 set cl_rainsnow_maxdrawdist 2048
336
337 // strength sound settings
338 set sv_strengthsound_antispam_time 0.1 "minimum distance of strength sounds"
339 set sv_strengthsound_antispam_refire_threshold 0.04 "apply minimum distance only if refire of the gun is smaller than this"
340
341 // equalize looks better than fullbright
342 r_equalize_entities_fullbright 1
343
344 // UTF-8
345 utf8_enable 1
346
347 // safe font defaults
348 r_font_hinting 1
349 r_font_disable_freetype 0
350 r_font_size_snapping 4
351
352 // database management
353 set sv_db_saveasdump 0 "write server.db in dump format (loads slower, easier to read/parse)"
354 set cl_db_saveasdump 0 "write client.db in dump format (loads slower, easier to read/parse)"
355
356 // uid2name
357 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)"
358 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)"
359 // FIXME set to -1 before release, once we have a dialog for this!
360
361 // polygonoffset for submodel SUCKS SUCKS SUCKS (only a hack for quake1, we don't need that)
362 r_polygonoffset_submodel_offset 0
363 r_polygonoffset_submodel_factor 0
364 // decals: need a higher polygonoffset than default to not compete with _decal surfaces too much
365 r_polygonoffset_decals_offset -28
366 r_polygonoffset_decals_factor 0
367 // this is mainly for _decal entities (their shaders should use "polygonoffset" shader parameter) - this is "good enough" as it seems, but smaller than the decals one so these don't zfight decals
368 mod_q3shader_default_polygonoffset -14
369 mod_q3shader_default_polygonfactor 0
370
371 // allow fullbright
372 set sv_allow_fullbright 1 "when set, clients may use r_fullbright on this server without getting a night vision effect overlay"
373
374 // auto-teams (team selection by player ID)
375 // any player not listed is forced to spectate
376 set g_forced_team_red "" "list of player IDs for red team"
377 set g_forced_team_blue "" "list of player IDs for blue team"
378 set g_forced_team_yellow "" "list of player IDs for yellow team"
379 set g_forced_team_pink "" "list of player IDs for pink team"
380 set g_forced_team_otherwise "default" "action if a non listed player joins (can be default for default action, spectate for forcing to spectate, or red, blue, yellow, pink)"
381
382 // nice alias to set up a match
383 // example: g_forced_team_matchsetup stormkeep "mzDo0nO2y3XpFPNbQAyeUucyaejZ9xpiXLYMGU2x3qM=" "BRLOGENSHFEGLE/+Mq3x2UGMYLXipx9ZjeaycuUeyAQ="
384 // will set up a match on stormkeep where mzDo0nO2y3XpFPNbQAyeUucyaejZ9xpiXLYMGU2x3qM= and BRLOGENSHFEGLE/+Mq3x2UGMYLXipx9ZjeaycuUeyAQ= play against each other
385 alias g_forced_team_matchsetup "map $1; settemp g_forced_team_red \"$2\"; settemp g_forced_team_blue \"$3\"; settemp g_forced_team_yellow \"$4\"; settemp g_forced_team_pink \"$5\"; settemp g_forced_team_otherwise spectate"
386
387 // random charge stuff :P
388 set g_weapon_charge_colormod_hdrmultiplier 4 "how much to multiply the colors by in the colormod vector"
389 set g_weapon_charge_colormod_red_half 0
390 set g_weapon_charge_colormod_green_half 0.5
391 set g_weapon_charge_colormod_blue_half 1
392 set g_weapon_charge_colormod_red_full 1
393 set g_weapon_charge_colormod_green_full -0.5
394 set g_weapon_charge_colormod_blue_full -1
395
396 // frozen
397 set g_frozen_revive_falldamage 0 "Enable reviving from this amount of fall damage"
398 set g_frozen_revive_falldamage_health 40 "Amount of health player has if they revived from falling"
399 set g_frozen_damage_trigger 1 "if 1, frozen players falling into the void will die instead of teleporting to spawn"
400 set g_frozen_force 0.6 "How much to multiply the force on a frozen player with"
401
402 // player statistics
403 set g_playerstats_gamereport_uri "http://stats.xonotic.org/stats/submit" "Output player statistics information to either: URL (with ://), console (with a dash like this: -), or supply a filename to output to data directory."
404 set g_playerstats_gamereport_ladder ""
405 set g_playerstats_playerbasic_uri "http://stats.xonotic.org"
406 set g_playerstats_playerdetail_uri "http://stats.xonotic.org/player/me"
407 set g_playerstats_playerdetail_autoupdatetime 1800 // automatically update every 30 minutes anyway
408
409 // autoscreenshots
410 set g_max_info_autoscreenshot 3 "how many info_autoscreenshot entities are allowed"
411
412 // mod names for server browser
413 // note: the lowest of these that mismatches default is used
414 set g_mod_physics "" "Current physics config name"
415 set g_mod_balance "" "Current balance config name"
416 set g_mod_config  "" "Current config mod name"
417
418 // session locking
419 locksession 1
420
421 // create this cvar in case the engine did not
422 set snd_soundradius 1200
423 set snd_softclip 1
424 set snd_maxchannelvolume 0
425 set snd_streaming_length 2
426 seta menu_snd_sliderscale 2 "0: decibels; 1: linear percent; 2: 0..10 scale; 3: slider size percent"
427 seta menu_snd_attenuation_method 1 "Use exponential instead of linear falloff for sound attenuation"
428 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
429 alias snd_attenuation_method_1 "set menu_snd_attenuation_method 1; set snd_soundradius 2400; set snd_attenuation_exponent 4; set snd_attenuation_decibel 0" // nice approximation for method 2
430 alias snd_attenuation_method_2 "set menu_snd_attenuation_method 2; set snd_soundradius 1200; set snd_attenuation_exponent 0; set snd_attenuation_decibel 10" // warning: plays sounds within up to 6000qu
431 snd_attenuation_method_1
432
433 // declare the channels we use
434 seta snd_channel8volume 1 "QuakeC controlled background music volume"
435 seta snd_channel9volume 1 "QuakeC controlled ambient sound volume"
436
437 // sound randomization
438 snd_identicalsoundrandomization_time -0.1
439 snd_identicalsoundrandomization_tics    1
440
441 // loading screen
442 scr_loadingscreen_background 0
443 scr_loadingscreen_barcolor "0 0.5 1"
444 scr_loadingscreen_barheight 12
445 scr_loadingscreen_count 1
446 scr_loadingscreen_firstforstartup 1
447 scr_loadingscreen_scale 999
448 scr_loadingscreen_scale_base 1
449 scr_loadingscreen_scale_limit 2
450
451 // other config files
452 exec balance-xonotic.cfg
453 exec effects-normal.cfg
454 exec physicsX.cfg
455 exec turrets.cfg
456 exec crosshairs.cfg
457 exec gamemodes.cfg
458 exec mutators.cfg
459 exec notifications.cfg
460 exec monsters.cfg
461 exec minigames.cfg
462 exec physics.cfg
463
464 // load console command aliases and settings
465 exec commands.cfg
466
467 // hud cvar descriptions and common settings
468 exec _hud_common.cfg
469 exec _hud_descriptions.cfg
470 // exec the default skin config
471 // please add any new cvars into the hud_save script in qcsrc/client/hud_config.qc for consistency
472 exec hud_luma.cfg
473
474
475 // ... and now that everything is configured/aliased, we can do some things:
476
477 // Change g_start_delay based upon if the server is local or not.
478 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"
479 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"
480
481 // enable menu syncing
482 alias menu_sync "menu_cmd sync"
483
484 set sv_join_notices ""
485 set sv_join_notices_time 15
486
487 seta cl_items_nofade 0
488 seta cl_animate_items 1
489 seta cl_ghost_items 0.45 "enable ghosted items (when between 0 and 1, overrides the alpha value)"
490 seta cl_ghost_items_color "-1 -1 -1" "color of ghosted items, 0 0 0 leaves the color unchanged"
491 set sv_simple_items 1 "allow or forbid client use of simple items"
492 seta cl_simple_items 0 "enable simple items (if server allows)"
493 set cl_simpleitems_postfix "_luma" "posfix to add fo model name when simple items are enabled"
494 set cl_fullbright_items 0 "enable fullbright items (if server allows, controlled by g_fullbrightitems)"
495 set cl_weapon_stay_color "2 0.5 0.5" "Color of picked up weapons when g_weapon_stay > 0"
496 set cl_weapon_stay_alpha 0.75 "Alpha of picked up weapons when g_weapon_stay > 0"
497
498 set sv_showspectators 1 "Show who's spectating who in the player info panel when client has cl_showspectators on. Shouldn't be used on competitive servers, also disable when watching a suspected cheater"
499 seta cl_showspectators 0 "Show who's spectating you if server has sv_showspectators enabled"
500
501 // Facility for config.cfg use ONLY.
502 // Interpreted in post-config.cfg.
503 seta menu_forced_saved_cvars "" "These cvars will always be saved, despite engine/Xonotic cvar saving status"
504 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."