X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=defaultXonotic.cfg;h=e3daefac7ba3f67c41fe069068951fcd634009ea;hb=a0b81c8a4bac14f23744b8fa2d3e0fd3ecd0730d;hp=af4e3f49a4b294fcfc781d330769652a81926eac;hpb=62e317686b01b9ea208bf8d79d0ce2e42476d057;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index af4e3f49a..e3daefac7 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -53,8 +53,6 @@ alias asay_drop "say_team (%l) dropped %w ; impulse 17" alias +hook +button6 alias -hook -button6 alias use "impulse 21" -alias +use use // always send that impulse AND press the key (+use is engine internal command and executes anyway) -set cl_newusekeysupported 1 // indicates that we always send the use impulse too, so they do not need to be synthesized alias ready "cmd ready" alias lockteams "sv_cmd lockteams" alias unlockteams "sv_cmd unlockteams" @@ -215,12 +213,15 @@ seta crosshair_ring_reload 1 "main cvar to enable or disable ammo crosshair ring seta crosshair_ring_reload_size 2.5 "reload ring size" seta crosshair_ring_reload_alpha 0.2 "reload ring alpha" +seta cl_reticle 1 "control for toggling whether ANY zoom reticles are shown" 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 reticle for the nex weapon's zoom, 0 disables and values between 0 and 1 change alpha" seta cl_reticle_item_normal 1 "draw reticle when zooming with the zoom button, 0 disables and values between 0 and 1 change alpha" fov 90 seta cl_velocityzoom 0 "velocity based zooming of fov, negative values zoom out" -seta cl_velocityzoomtime 0.3 "time value for averaging speed values" +seta cl_velocityzoom_type 3 "how to factor in speed, 1 = all velocity in all directions, 2 = velocity only in forward direction (can be negative), 3 = velocity only in forward direction (limited to forward only)" +seta cl_velocityzoom_speed 1000 "target speed for fov factoring" +seta cl_velocityzoom_time 0.2 "time value for averaging speed values" seta cl_zoomfactor 5 "how much +zoom will zoom (1-16)" seta cl_zoomspeed 8 "how fast it will zoom (0.5-16), negative values mean instant zoom" seta cl_zoomsensitivity 0 "how zoom changes sensitivity (0 = weakest, 1 = strongest)" @@ -538,11 +539,46 @@ seta g_maplist_shuffle 1 "new randomization method: like selectrandom, but avoid set g_maplist_check_waypoints 0 "when 1, maps are skipped if there currently are bots, but the map has no waypoints" set samelevel 0 "when 1, always play the same level over and over again" +set g_grab 0 "enables grabbing certain objects" +set g_grab_range 150 "distance at which objects can be grabbed" + set g_cloaked 0 "display all players mostly invisible" set g_player_alpha 1 set g_player_brightness 0 "set to 2 for brighter players" seta g_balance_cloaked_alpha 0.25 +set g_sandbox 0 "allow players to spawn and edit objects around the map" +set g_sandbox_info 1 "print object information to the server. 1 prints info about spawned / removed objects, 2 also prints info about edited objects" +set g_sandbox_readonly 0 "when this mode is active, players cannot modify objects or use any sandbox commands" +set g_sandbox_storage_name default "name of the selected storage to use" +set g_sandbox_storage_autosave 5 "storage is automatically saved every specified number of seconds" +set g_sandbox_storage_autoload 1 "if a storage file exists for the given map, automatically load it at startup" +set g_sandbox_editor_flood 1 "players must wait this many seconds between spawning objects" +set g_sandbox_editor_maxobjects 1000 "maximum number of objects that may exist at a time" +set g_sandbox_editor_free 1 "0 = players can only copy or edit their own objects, 1 = players can copy but not edit other objects, 2 = players can copy and edit all object" +set g_sandbox_editor_distance_spawn 200 "distance at which objects spawn in front of the player" +set g_sandbox_editor_distance_edit 300 "distance at which players can edit or remove objects they are looking at" +set g_sandbox_object_scale_min 0.1 "minimum scale that objects can be set to" +set g_sandbox_object_scale_max 2 "maximum scale that objects can be set to" +set g_sandbox_object_material_velocity_min 100 "velocity objects must have while colliding for material effects to be applied" +set g_sandbox_object_material_velocity_factor 0.002 "velocity range which decides the intensity of material effects" +set cl_sandbox_clipboard "" + +seta menu_sandbox_spawn_model "" +seta menu_sandbox_attach_bone "" +seta menu_sandbox_edit_skin 0 +seta menu_sandbox_edit_alpha 1 +seta menu_sandbox_edit_color_main "1 1 1" +seta menu_sandbox_edit_color_glow "1 1 1" +seta menu_sandbox_edit_frame 0 +seta menu_sandbox_edit_scale 1 +seta menu_sandbox_edit_physics 1 +seta menu_sandbox_edit_force 1 +seta menu_sandbox_edit_material "" + +alias menu_showsandboxtools "menu_cmd directmenu SandboxTools" +bind f7 menu_showsandboxtools + set g_playerclip_collisions 1 "0 = disable collision testing against playerclips, might be useful on some defrag maps" set g_botclip_collisions 1 "0 = disable collision testing against botclips, might be useful on some defrag maps" @@ -956,10 +992,11 @@ cl_sound_ric3 weapons/ric3.wav cl_sound_r_exp3 "" sv_sound_land "" sv_sound_watersplash "" -seta cl_sound_maptime_warning "1" "play announcer sound telling you the remaining maptime - 0: do not play at all, 1: play at one minute, 2: play at five minutes, 3: play both" -seta cl_notify_carried_items "3" "notify you of carried items when you obtain them (e.g. flags in CTF) - 0: disabled, 1: notify of taken items, 2: notify of picking up dropped items, 3: notify of both" seta cl_announcer default "name of the announcer you wish to use from data/sound/announcer" +seta cl_announcer_antispam 2 "number of seconds before an announcement of the same sound can be played again" +seta cl_announcer_maptime 3 "play announcer sound telling you the remaining maptime - 0: do not play at all, 1: play at one minute, 2: play at five minutes, 3: play both" +seta cl_notify_carried_items "3" "notify you of carried items when you obtain them (e.g. flags in CTF) - 0: disabled, 1: notify of taken items, 2: notify of picking up dropped items, 3: notify of both" // startmap_dm is used when running with the -listen or -dedicated commandline options set serverconfig server.cfg @@ -995,6 +1032,8 @@ alias togglezoom "${_togglezoom}zoom" alias reload "impulse 20" +alias sandbox "cmd g_sandbox $*" + // movement bind w +forward bind a +moveleft @@ -1040,7 +1079,8 @@ bind MWHEELDOWN weapprev bind r reload bind BACKSPACE dropweapon bind g dropweapon -bind f use +bind f +use +bind v +button8 // drag object // misc bind e +hook @@ -1591,6 +1631,7 @@ set capturelimit 0 prvm_leaktest_ignore_classnames "ctf_team dom_team tdm_team" sv_allowdownloads_inarchive 1 // for csprogs.dat +sv_allowdownloads 0 // download protocol is evil set g_jump_grunt 0 "Do you make a grunting noise every time you jump? Is it the same grunting noise every time?" @@ -1618,8 +1659,7 @@ set g_maplist_allow_frustrating 0 "allow impossible maps to be, e.g., voted for 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 radar "cl_cmd hud_panel_radar_maximized" alias scoreboard_columns_set "" // aliased later alias scoreboard_columns_help "cl_cmd scoreboard_columns_help $*" @@ -1635,6 +1675,8 @@ set cl_handicap 1 "the higher, the more damage you will receive (client setting) seta cl_clippedspectating 1 "movement collision for spectators so that you can't pass through walls and such. (client setting) NOTE: reconnect or use sendcvar command to update the choice." +seta cl_autoscreenshot 0 "client option to automatically take a screenshot once the map has ended (see also sv_autoscreenshot)" + // must be at the bottom of this file: // alias for switching the teamselect menu alias menu_showteamselect "menu_cmd directmenu TeamSelect" @@ -1885,6 +1927,7 @@ set _campaign_name "" // debug set _independent_players 0 "DO NOT TOUCH" +set _notarget 0 "NO, REALLY, DON'T" // define some engine cvars that we need even on dedicated server set r_showbboxes 0 @@ -2044,6 +2087,9 @@ set g_weapon_charge_colormod_blue_full -1 set g_playerstats_uri "" set g_playerstats_debug 0 "when 1, player stats are dumped to the console too" +// session locking +locksession 1 + // create this cvar in case the engine did not set snd_soundradius 1200 set snd_softclip 1