X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=defaultXonotic.cfg;h=d0de6f89b0a964892d576a29832fef1b4cb05fa3;hb=1cd260807e21ddee904ca37b851a2288d0148ac2;hp=e363331d4b4e0c99107438a536a6e817c22a8039;hpb=1de17151f1df7d6f7608575489359f8e0ae4deab;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index e363331d4..d0de6f89b 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" @@ -543,6 +541,29 @@ 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 non-critical information to the server" +set g_sandbox_editor_distance_spawn 200 "distance at which objects spawn in front of the player" +set g_sandbox_editor_distance_edit 350 "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 200 "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" + +seta menu_sandbox_spawn_model "" // used to store the model in the input field +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 0 + +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" @@ -995,6 +1016,8 @@ alias togglezoom "${_togglezoom}zoom" alias reload "impulse 20" +alias sandbox "cmd g_sandbox $*" + // movement bind w +forward bind a +moveleft @@ -1040,7 +1063,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 @@ -1241,15 +1265,16 @@ set g_nick_flood_penalty 0.5 "duration of the nick flood penalty" set g_nick_flood_penalty_yellow 3 "number of changes to allow before warning and movement blocking" set g_nick_flood_penalty_red 30 "number of changes to allow before totally disorienting the player" +set sv_waypointsprite_deployed_lifetime 10 +set sv_waypointsprite_deadlifetime 1 +set sv_waypointsprite_limitedrange 5120 + seta g_waypointsprite_uppercase 1 set g_waypointsprite_normdistance 512 set g_waypointsprite_minscale 0.5 set g_waypointsprite_minalpha 0.4 set g_waypointsprite_distancealphaexponent 2 set g_waypointsprite_timealphaexponent 1 -set g_waypointsprite_deployed_lifetime 10 -set g_waypointsprite_deadlifetime 1 -set g_waypointsprite_limitedrange 5120 set g_waypointsprite_stuffbinds 0 seta g_waypointsprite_scale 1 seta g_waypointsprite_fontsize 12 @@ -1711,6 +1736,7 @@ seta hud_width 560 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?" @@ -1755,6 +1781,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"