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