X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=defaultXonotic.cfg;h=d5e704180a870f83e41701a221cb71aa8e4e141b;hb=710bd999520e108b463017cb23793ca0709075f6;hp=66ac0b20b23ce711a0efa48b3f022781676ecbe1;hpb=65f71b6a7b489c6f5a2275928da75a672327a981;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 66ac0b20b..d5e704180 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -37,6 +37,8 @@ alias -hook -button6 alias use "impulse 21" // for backwards compatibility +// TODO Remove after 0.8 release! +cl_particles_forcetraileffects 1 alias dropweapon "impulse 17" alias +show_info +button7 @@ -55,7 +57,7 @@ _cl_playerskin 0 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_vortex 1 "draw aiming reticle for the vortex 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" @@ -91,12 +93,16 @@ vid_fullscreen 1 vid_width 1024 vid_height 768 vid_pixelheight 1 +vid_resizable 0 // cannot be turned on before it is sure it cannot cause a r_restart +vid_desktopfullscreen 1 prvm_language en set _menu_prvm_language "" set _menu_vid_width "$vid_width" set _menu_vid_height "$vid_height" set _menu_vid_pixelheight "$vid_pixelheight" +set _menu_vid_desktopfullscreen "$vid_desktopfullscreen" seta menu_vid_scale 0 +seta menu_vid_allowdualscreenresolution 0 // 2D resolution 800x600 vid_conwidth 800 vid_conheight 600 @@ -107,6 +113,33 @@ v_deathtilt 0 // needed for spectators (who are dead to avoid prediction) exec sRGB-disable.cfg vid_sRGB_fallback 2 r_hdr_glowintensity 1 +// #define Image_LinearFloatFromsRGBFloat(c) (((c) <= 0.04045f) ? (c) * (1.0f / 12.92f) : (float)pow(((c) + 0.055f)*(1.0f/1.055f), 2.4f)) +set rpn_sRGB_to_linear "dup 0.055 add 1.055 div 2.4 pow exch 12.92 div dup 0.0031308 gt when" +// #define Image_sRGBFloatFromLinearFloat(c) (((c) < 0.0031308f) ? (c) * 12.92f : 1.055f * (float)pow((c), 1.0f/2.4f) - 0.055f) +set rpn_linear_to_sRGB "dup 1.0 2.4 div pow 1.055 mul 0.055 sub exch 12.92 mul dup 0.04045 ge when" + +// -nosRGB to -sRGB sky shader conversion: +// +// q3map_sunExt 1 0.6875 0.375 340 25 47 0 16 +// ^^ elevation +// ^^^ sunlight +// q3map_skylight 110 3 +// ^^^ skylight +// +// With that, do (the last parameter is the ratio of skylight you assume hits +// the surfaces, about 0.25 for inner surfaces near sky, about 1.00 on +// terrain): +// ]skybox_nosRGB_to_sRGB 340 47 110 0.25 +// rpn: still on stack: new_sunlight: +// rpn: still on stack: 380.464142 +// rpn: still on stack: new_skylight: +// rpn: still on stack: 9.32523632 +// +// The equivalent -sRGB shader then will have: +// +// q3map_sunExt 1 0.6875 0.375 380.464142 25 47 0 16 +// q3map_skylight 9.32523632 3 +alias skybox_nosRGB_to_sRGB "rpn $3 402.123 $4 div div $rpn_sRGB_to_linear 402.123 $4 div mul /new_skylight: $3 402.123 $4 div div $1 256 div $2 0.017453 mul sin mul add $rpn_sRGB_to_linear $3 402.123 $4 div div $rpn_sRGB_to_linear sub 256 mul $2 0.017453 mul sin div /new_sunlight:" // these settings determine how much the view is affected by movement/damage cl_smoothviewheight 0.05 // time of the averaging to the viewheight value so that it creates a smooth transition for crouching and such. 0 for instant transition @@ -204,7 +237,7 @@ set g_maxplayers_spectator_blocktime 5 "if the players voted for the \"nospectat set g_warmup 0 "split the game into a warmup- and match-stage when set to 1" set g_warmup_limit 0 "if set to -1 the warmup-stage is not affected by any timelimit, if set to 0 the usual timelimit also affects warmup-stage, otherwise warmup will be limited to this time in SECONDS (useful for public matches)" set g_warmup_allow_timeout 0 "if set to 1 timeouts can also be called in the warmup-stage, when sv_timeout is set to 1" -set g_warmup_allguns 1 "if set players start with all guns in warmup mode" +set g_warmup_allguns 1 "provide more weapons on start while in warmup: 0 = normal start weapons, 1 = all guns available on the map, 2 = all normal weapons" set g_warmup_majority_factor 0.8 "minimum percentage of players ready needed for warmup to end" set g_chat_nospectators 0 "if 0 spec/observer chat is always visible to the player, if 1 it is never visible to players, if 2 it is only visible to players during warmup stage" @@ -243,7 +276,7 @@ set cl_deathglow 0.8 "number of seconds during which dead bodies glow out" set sv_gibhealth 100 "Minus health a dead body must have in order to get gibbed" -// fragmessage: This allows extra information to be displayed with the frag centerprints. +// fragmessage: This allows extra information to be displayed with the frag centerprints. set sv_fraginfo 1 "Enable extra frag message information, 0 = Never display, 1 = Display only in warmup mode; 2 = Always display" set sv_fraginfo_ping 1 "Enable ping display information, 0 = Never display, 1 = Always display (If the player is a bot, it will say bot instead of the ping.)" set sv_fraginfo_handicap 1 "Enable handicap display information, 0 = Never display, 1 = Only when the player has handicap on, 2 = Always display (Displays Off if disabled)" @@ -282,7 +315,7 @@ seta sv_defaultplayermodel_pink "" "\"\" means see sv_defaultplayermodel" seta sv_defaultplayerskin_pink 0 seta sv_defaultplayercolors "" "set to 16*shirt+pants to force a color, note: it does NOT depend on defaultcharacter! Set to \"\" to disable" set sv_autoscreenshot 0 "if set to 1, the server forces all clients to create a local screenshot once the map ended" -net_messagetimeout 300 +net_messagetimeout 30 net_connecttimeout 30 sv_jumpstep 1 // step up stairs while jumping, makes it easier to reach ledges set ekg 0 "Throw huge amounts of gibs" @@ -323,9 +356,9 @@ set bot_ai_keyboard_threshold 0.57 set bot_ai_aimskill_offset 0.3 "Amount of error induced to the bots aim" set bot_ai_aimskill_think 1 "Aiming velocity. Use values below 1 for slower aiming" set bot_ai_custom_weapon_priority_distances "300 850" "Define close and far distances in any order. Based on the distance to the enemy bots will choose different weapons" -set bot_ai_custom_weapon_priority_far "minstanex nex rifle electro rocketlauncher grenadelauncher hagar hlac crylink laser uzi fireball seeker shotgun tuba minelayer" "Desired weapons for far distances ordered by priority" -set bot_ai_custom_weapon_priority_mid "minstanex rocketlauncher nex fireball seeker grenadelauncher electro uzi crylink hlac hagar shotgun laser rifle tuba minelayer" "Desired weapons for middle distances ordered by priority" -set bot_ai_custom_weapon_priority_close "minstanex shotgun nex uzi hlac tuba seeker hagar crylink grenadelauncher electro rocketlauncher laser fireball rifle minelayer" "Desired weapons for close distances ordered by priority" +set bot_ai_custom_weapon_priority_far "minstanex vortex rifle electro rocketlauncher grenadelauncher hagar hlac crylink laser uzi fireball seeker shotgun tuba minelayer" "Desired weapons for far distances ordered by priority" +set bot_ai_custom_weapon_priority_mid "minstanex rocketlauncher vortex fireball seeker grenadelauncher electro uzi crylink hlac hagar shotgun laser rifle tuba minelayer" "Desired weapons for middle distances ordered by priority" +set bot_ai_custom_weapon_priority_close "minstanex shotgun vortex uzi hlac tuba seeker hagar crylink grenadelauncher electro rocketlauncher laser fireball rifle minelayer" "Desired weapons for close distances ordered by priority" set bot_ai_weapon_combo 1 "Enable bots to do weapon combos" set bot_ai_weapon_combo_threshold 0.4 "Try to make a combo N seconds after the last attack" set bot_ai_friends_aware_pickup_radius "500" "Bots will not pickup items if a team mate is this distance near the item" @@ -367,7 +400,6 @@ pausable 0 set g_spawnshieldtime 1 "number of seconds you are invincible after you spawned, this shield is lost after you fire" set 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_shootfromclient 2 "let client decide if it has the gun left or right; if set to 2, center handedness is allowed; see also cl_gunalign" set g_shootfromeye 0 "shots are fired from your eye/crosshair; visual gun position can still be influenced by cl_gunalign 1 and 2" set g_shootfromcenter 0 "weapon gets moved to the center, shots still come from the barrel of your weapon; visual gun position can still be influenced by cl_gunalign 1 and 2" @@ -378,13 +410,6 @@ set g_weapon_throwable 1 "if set to 1, weapons can be dropped" set g_powerups -1 "if set to 0 the strength and shield (invincibility) will not spawn on the map, if 1 they will spawn in all game modes, -1 is game mode default" set g_use_ammunition 1 "if set to 0 all weapons have unlimited ammunition" set g_pickup_items -1 "if set to 0 all items (health, armor, ammo, weapons...) are removed from the map, if 1 they are forced to spawn" -set g_minstagib 0 "enable minstagib" -set g_minstagib_extralives 1 "how many extra lives you will get per powerup" -set g_minstagib_ammo_start 10 "starting ammo" -set g_minstagib_ammo_drop 5 "how much ammo you'll get for weapons or cells" -set g_minstagib_invis_alpha 0.15 -set g_minstagib_speed_highspeed 1.5 "speed-multiplier that applies while you carry the invincibility powerup" -set g_vampire 0 "set to 1 to enable the vampire mode, where the damage done to your opponent gets added to your own health" set g_weaponarena "0" "put in a list of weapons to enable a weapon arena mode, or try \"all\" or \"most\"" set g_weaponarena_random "0" "if set to a number, only that weapon count is given on every spawn (randomly)" set g_weaponarena_random_with_laser "1" "additionally, always provide the laser in random weapon arena games" @@ -414,23 +439,6 @@ 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 @@ -449,32 +457,14 @@ 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" -set welcome_message_time 8 - set g_grappling_hook 0 "let players spawn with the grappling hook which allows them to pull themselves up" -set g_invincible_projectiles 0 "set to 1 to disable any damage to projectiles in all balance configs, regardless of g_projectiles_damage" -set g_dodging 0 "set to 1 to enable dodging in games" -set g_rocket_flying 0 "set to 1 to enable rocket flying in all balance configs" - -seta cl_dodging_timeout 0.2 "determines how long apart (in seconds) two taps on the same direction key are considered a dodge. use 0 to disable" - -set sv_dodging_wall_dodging 0 "set to 1 to allow dodging off walls. 0 to disable" -set sv_dodging_delay 0.5 "determines how long a player has to wait to be able to dodge again after dodging" -set sv_dodging_up_speed 200 "the jump velocity of the dodge" -set sv_dodging_horiz_speed 400 "the horizontal velocity of the dodge" -set sv_dodging_ramp_time 0.1 "a ramp so that the horizontal part of the dodge is added smoothly (seconds)" -set sv_dodging_height_threshold 10 "the maximum height above ground where to allow dodging" -set sv_dodging_wall_distance_threshold 10 "the maximum distance from a wall that still allows dodging" -set sv_dodging_sound 1 "if 1 dodging makes a sound. if 0 dodging is silent" - set g_spawn_alloweffects 1 "allow clients to enable spawn point and event effects such as particles and sounds, see cl_spawn_ cvars for more info" set g_spawn_furthest 1 "this amount of the spawns shall be far away from any players" set g_spawn_useallspawns 0 "use all spawns, e.g. also team spawns in non-teamplay, and all spawns, even enemy spawns, in teamplay" -set g_spawn_near_teammate 0 "if set, players prefer spawns near a team mate" -set g_spawn_near_teammate_distance 640 "max distance to consider a spawn to be near a team mate" // respawn delay set g_respawn_delay 2 "number of seconds you have to wait before you can respawn again" +set g_respawn_delay_max 0 "number of seconds you can wait before you're forced to respawn (only effective with g_forced_respawn 1)" set g_respawn_waves 0 "respawn in waves (every n seconds), intended to decrease overwhelming base attacks" // overtime @@ -749,13 +739,6 @@ bind F2 vno //used for spectate/observer mode bind F3 spec -// NIX (No Items Xonotic) - at each time, everyone uses the same weapon, -// and in regular intervals, this weapon is cycled -set g_nix 0 "No Items Xonotic - instead of pickup items, everyone plays with the same weapon. After some time, a countdown will start, after which everyone will switch to another weapon, and so on" -set g_nix_with_laser 0 "always carry the laser as an additional weapon in NIX" -set g_nix_with_healtharmor 0 "when 1, health and armor still show up in NIX" -set g_nix_with_powerups 0 "when 1, powerups still show up in NIX" - // score log set sv_logscores_console 0 "print scores to server console" set sv_logscores_file 0 "print scores to file" @@ -965,7 +948,7 @@ seta scoreboard_border_thickness 1 "scoreboard border thickness" seta scoreboard_accuracy_border_thickness 1 "accuracy stats border thickness" seta scoreboard_accuracy_doublerows 0 "use two rows instead of one" seta scoreboard_accuracy_nocolors 0 "don't use colors displaying accuracy stats" -seta scoreboard_accuracy 0 "show weapon accuracy stats panel on scoreboard; colors can be configured with accuracy_color* cvars" +seta scoreboard_accuracy 1 "show weapon accuracy stats panel on scoreboard; colors can be configured with accuracy_color* cvars" seta scoreboard_color_bg_r 0 "red color component of the scoreboard background" seta scoreboard_color_bg_g 0.4 "green color component of the scoreboard background" seta scoreboard_color_bg_b 0.6 "blue color component of the scoreboard background" @@ -973,7 +956,7 @@ seta scoreboard_color_bg_team 0.5 "team color multiplier of the scoreboard backg seta scoreboard_alpha_bg 0.6 "scoreboard background alpha" seta scoreboard_alpha_fg 1 "scoreboard foreground alpha" seta scoreboard_alpha_name 0.9 "alpha of player text in scoreboard list other than self" -seta scoreboard_alpha_name_self 1 "alpha of player text in scoreboard list of self" +seta scoreboard_alpha_name_self 1 "alpha of player text in scoreboard list of self" seta scoreboard_fadeinspeed 10 "speed at which scoreboard fades in, higher is faster (0 = instant)" seta scoreboard_fadeoutspeed 5 "speed at which scoreboard fades out, higher is faster (0 = instant)" seta scoreboard_highlight 1 "enable highlighting for rows and columns in the scoreboard" @@ -995,6 +978,28 @@ seta menu_slist_showfull 1 "show servers even if they are full and have no slots seta menu_slist_showempty 1 "show servers even if they are no empty and have no opponents to play against" seta menu_slist_modfilter "" // set to either: !modname or modname. modname of = means "same as we are running now". +// other serverlist cvars +seta menu_slist_categories 1 +seta menu_slist_categories_onlyifmultiple 1 +seta menu_slist_purethreshold 0 +seta menu_slist_modimpurity 0 +seta menu_slist_recommendations 3 +seta menu_slist_recommendations_maxping 150 +seta menu_slist_recommendations_minfreeslots 1 +seta menu_slist_recommendations_minhumans 0 +seta menu_slist_recommendations_purethreshold -1 + +// serverlist category override cvars +seta menu_slist_categories_CAT_FAVORITED_override "" +seta menu_slist_categories_CAT_RECOMMENDED_override "" +seta menu_slist_categories_CAT_NORMAL_override "" +seta menu_slist_categories_CAT_SERVERS_override "CAT_NORMAL" +seta menu_slist_categories_CAT_XPM_override "CAT_NORMAL" +seta menu_slist_categories_CAT_MODIFIED_override "" +seta menu_slist_categories_CAT_OVERKILL_override "" +seta menu_slist_categories_CAT_MINSTAGIB_override "" +seta menu_slist_categories_CAT_DEFRAG_override "" + seta menu_weaponarena "" seta menu_maxplayers 16 "maxplayers value when the menu starts a game" @@ -1042,23 +1047,26 @@ set con_completion_vnextmap map set con_completion_vdomap map set con_completion_playermodel models/player/*.iqm +// helper // these non-saved engine cvars shall be saved -seta cl_port $cl_port -seta r_showsurfaces $r_showsurfaces -seta r_ambient $r_ambient -seta skill 4 -seta gl_finish $gl_finish -seta v_kicktime $v_kicktime -seta r_subdivisions_tolerance $r_subdivisions_tolerance -seta vid_gl20 $vid_gl20 -seta vid_gl13 $vid_gl13 -seta r_drawviewmodel $r_drawviewmodel -seta v_idlescale $v_idlescale -seta net_slist_queriespersecond $net_slist_queriespersecond +alias makesaved "seta $1 \"${$1 ?}\" +makesaved cl_maxfps_alwayssleep +makesaved cl_port +makesaved gl_finish +makesaved net_slist_queriespersecond +makesaved r_ambient +makesaved r_drawviewmodel +makesaved r_showsurfaces +makesaved r_subdivisions_tolerance +makesaved skill +makesaved vid_gl13 +makesaved vid_gl20 +makesaved v_idlescale +makesaved v_kicktime // ticrate -//sys_ticrate 0.0166667 -sys_ticrate 0.0333333 +//sys_ticrate 0.0166667 // 60fps. This would be ideal, but kills home routers. +sys_ticrate 0.0333333 // Use 30fps instead. cl_netfps 60 // should match or be a multiple sv_gameplayfix_delayprojectiles 0 sv_gameplayfix_q2airaccelerate 1 @@ -1086,10 +1094,6 @@ alias sethostname "set menu_use_default_hostname 0; hostname $*" set sv_foginterval 1 "force enable fog in regular intervals" -set g_physical_items 0 "1 uses ODE physics for dropped weapons, 2 for all items, requires physics_ode to be enabled" -set g_physical_items_damageforcescale 3 "how affected physical weapons are by damage" -set g_physical_items_reset 1 "return map items to their original lotation after being picked up" - // Audio track names (for old-style "cd loop NUMBER" usage) set _cdtrack_first "1" alias _cdtrack_0 "g_cdtracks_remaplist \"$g_cdtracks_remaplist $1\"" @@ -1121,12 +1125,12 @@ 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?" -seta cl_weaponpriority "minstanex nex fireball grenadelauncher uzi hagar rifle electro rocketlauncher crylink minelayer shotgun hlac tuba laser porto seeker hook" "weapon priority list" +seta cl_weaponpriority "minstanex vortex fireball grenadelauncher uzi hagar rifle electro rocketlauncher crylink minelayer shotgun hlac tuba laser porto seeker hook" "weapon priority list" seta cl_weaponpriority_useforcycling 0 "when set, weapon cycling by the mouse wheel makes use of the weapon priority list (the special value 2 uses the weapon ID list for cycling)" seta cl_weaponpriority0 "rocketlauncher grenadelauncher hagar seeker fireball" "use impulse 200 for prev gun from this list, 210 for best gun, 220 for next gun. Default value: explosives" -seta cl_weaponpriority1 "minstanex nex crylink hlac electro laser" "use impulse 201 for prev gun from this list, 211 for best gun, 221 for next gun. Default value: energy" -seta cl_weaponpriority2 "minstanex nex rifle" "use impulse 202 for prev gun from this list, 212 for best gun, 222 for next gun. Default value: hitscan exact" -seta cl_weaponpriority3 "minstanex nex rifle uzi shotgun" "use impulse 203 for prev gun from this list, 213 for best gun, 223 for next gun. Default value: hitscan all" +seta cl_weaponpriority1 "minstanex vortex crylink hlac electro laser" "use impulse 201 for prev gun from this list, 211 for best gun, 221 for next gun. Default value: energy" +seta cl_weaponpriority2 "minstanex vortex rifle" "use impulse 202 for prev gun from this list, 212 for best gun, 222 for next gun. Default value: hitscan exact" +seta cl_weaponpriority3 "minstanex vortex rifle uzi shotgun" "use impulse 203 for prev gun from this list, 213 for best gun, 223 for next gun. Default value: hitscan all" seta cl_weaponpriority4 "grenadelauncher minelayer hlac hagar crylink seeker shotgun" "use impulse 204 for prev gun from this list, 214 for best gun, 224 for next gun. Default value: spam weapons" seta cl_weaponpriority5 "laser hook porto" "use impulse 205 for prev gun from this list, 215 for best gun, 225 for next gun. Default value: weapons for moving" seta cl_weaponpriority6 "" "use impulse 206 for prev gun from this list, 216 for best gun, 226 for next gun" @@ -1148,7 +1152,7 @@ set sv_clones 0 "number of clones a player may make (reset by the \"kill\" comma set cl_handicap 1 "the higher, the more damage you will receive (client setting) NOTE: reconnect or use sendcvar command to update the choice." -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_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 1 "Take a screenshot upon the end of a match... 0 = Disable completely, 1 = Allow sv_autoscreenshot to take a screenshot when requested, 2 = Always take an autoscreenshot anyway." @@ -1172,12 +1176,6 @@ set g_bugrigs_speed_ref 400 "reference speed for accel and steer responsiveness" set g_bugrigs_speed_pow 2 "reference power for accel and steer responsiveness" set g_bugrigs_steer 1 "steering amount" -set g_touchexplode 0 -set g_touchexplode_radius 50 -set g_touchexplode_damage 10 -set g_touchexplode_edgedamage 0 -set g_touchexplode_force 150 - set g_ban_sync_uri "" "sync using this ban list provider (empty string to disable)" set g_ban_sync_interval 5 "sync every 5 minutes" set g_ban_sync_trusted_servers "" "request ban lists from these xonotic servers (do not include your own server there, or unbanning may fail)" @@ -1191,32 +1189,9 @@ set g_showweaponspawns 1 "display sprites for weapon spawns found on the map whe // Quake-Joule: 1 qJ = 1 qN * 1 qu // Quake-Pascal: 1 qPa = 1 qN / 1 qu^2 -set g_ballistics_materialconstant 1414213562 -set g_ballistics_mindistance 16 +set g_ballistics_mindistance 2 // enable ballistics starting from 2 qu set g_ballistics_density_player 0.50 // players are 2x as easy to pass as walls set g_ballistics_density_corpse 0.10 // corpses are 10x as easy to pass as walls -// unit: qJ / qu^3 (energy needed per volume unit of solid to push/burn away -// parameter: bullet constant: mass / area in g/qu^2 -// = mass / (pi/4 * caliber^2) -// with caliber in inches, mass in grams: -// = 1.273239544735163 * mass / caliber^2 -// with caliber in inches, mass in grains: -// = 0.082633246453312 * mass / caliber^2 - -// bullet max travel distance inside solid: -// 0.5 * v^2 * bulletconstant / g_ballistics_materialconstant - -// some bullet constants: -// http://hypertextbook.com/facts/2000/ShantayArmstrong.shtml -// second bullet: caliber .45, mass 16.2g, bullet constant 101.859163578813 -// third bullet: caliber .338, mass 16.2g, bullet constant 180.5476053421592 -// fourth bullet: caliber .25, mass 2.3g, bullet constant 46.85521524625399 -// http://en.wikipedia.org/wiki/.50_BMG -// caliber .5, 360 grains, bullet constant 118.9918748927693 -// AK-47: -// caliber .3, 62 grains, bullet constant 56.92512533450383 -// .3 winchester magnum: -// caliber .3, 150 grains, bullet constant 137.7220774221867 set cl_stripcolorcodes 0 "experimental feature (notes: strips ALL color codes from messages!)" @@ -1279,7 +1254,7 @@ seta cl_casings_maxcount 100 "maximum amount of shell casings (must be at least seta cl_gibs_maxcount 100 "maximum amount of gibs (must be at least 1)" seta cl_vehicle_spiderbot_cross_alpha 0.6 seta cl_vehicle_spiderbot_cross_size 1 -seta cl_vehicles_hudscale 0.5 +seta cl_vehicles_hudscale 0.5 seta cl_vehicles_hudalpha 0.75 seta cl_vehicles_hud_tactical 1 @@ -1329,7 +1304,6 @@ set developer_csqcentities 0 "csqc entity spam" set waypoint_benchmark 0 "quit after waypoint loading to benchmark bot navigation code" set g_debug_bot_commands 0 "print scripted bot commands before executing" set g_debug_defaultsounds 0 "always use default sounds" -set cl_precacheplayermodels 0 "TODO please check if this needs to be 1 or if precaching a model the server already requested is fast enough to do it at runtime" seta cl_forceplayermodels 0 "make everyone look like your own model (requires server to have sv_defaultcharacter 0)" seta cl_forceplayercolors 0 "make everyone look like your own color (requires server to have sv_defaultcharacter 0, and is ignored in teamplay with more than two teams)" seta cl_forcemyplayermodel "" "set to the model file name you want to show yourself as (does not affect how enemies look with cl_forceplayermodels)" @@ -1337,10 +1311,6 @@ seta cl_forcemyplayerskin 0 "set to the skin number you want to show yourself as 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)" seta cl_movement_errorcompensation 1 "try to compensate for prediction errors and reduce preceived lag" -// debug cvars for keyhunt attaching -set _angles "0 0 0" -set _origin "0 0 0" - // campaign internal, set when loading a campaign map1G set _campaign_index "" set _campaign_name "" @@ -1398,7 +1368,7 @@ set g_weaponreplace_uzi "" set g_weaponreplace_grenadelauncher "" set g_weaponreplace_electro "" set g_weaponreplace_crylink "" -set g_weaponreplace_nex "" +set g_weaponreplace_vortex "" set g_weaponreplace_hagar "" set g_weaponreplace_rocketlauncher "" set g_weaponreplace_porto "" @@ -1443,7 +1413,7 @@ sv_cullentities_trace 1 r_cullentities_trace 0 // less "lagging" of other players, but also less PL tolerant... let's try this -sv_clmovement_inputtimeout 0.07 // more than 2, less than 3 server frames +sv_clmovement_inputtimeout 0.066 // slightly less than 2 frames, so only one frame can be compensated // exact gloss looks better, e.g. on g-23 r_shadow_glossexact 1 @@ -1489,7 +1459,7 @@ mod_q3shader_default_polygonoffset -14 mod_q3shader_default_polygonfactor 0 // allow fullbright -set sv_allow_fullbright 0 "when set, clients may use r_fullbright on this server without getting a night vision effect overlay" +set sv_allow_fullbright 1 "when set, clients may use r_fullbright on this server without getting a night vision effect overlay" // auto-teams (team selection by player ID) // any player not listed is forced to spectate @@ -1533,6 +1503,7 @@ set snd_soundradius 1200 set snd_softclip 1 set snd_maxchannelvolume 0 set snd_streaming_length 2 +seta menu_snd_sliderscale 2 "0: decibels; 1: linear percent; 2: 0..10 scale; 3: slider size percent" seta menu_snd_attenuation_method 1 "Use exponential instead of linear falloff for sound attenuation" 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 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 @@ -1558,14 +1529,14 @@ scr_loadingscreen_scale_base 1 scr_loadingscreen_scale_limit 2 // other config files -exec mutator_new_toys.cfg // run BEFORE balance to make sure balance wins -exec balanceXonotic.cfg +exec balance-xonotic.cfg exec effects-normal.cfg exec physicsX.cfg exec turrets.cfg exec vehicles.cfg exec crosshairs.cfg exec gamemodes.cfg +exec mutators.cfg exec notifications.cfg // load console command aliases and settings @@ -1579,7 +1550,7 @@ exec _hud_descriptions.cfg exec hud_luminos.cfg -// ... and now that everything is configured/aliased, we can do some things: +// ... and now that everything is configured/aliased, we can do some things: // Change g_start_delay based upon if the server is local or not. 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" @@ -1599,5 +1570,3 @@ set cl_simpleitems_postfix "_simple" "posfix to add fo model name when simple it set cl_fullbright_items 0 "enable fullbright items (if server allows, controled by g_fullbrightitems)" set cl_weapon_stay_color "2 0.5 0.5" "Color of picked up weapons when g_weapon_stay > 0" set cl_weapon_stay_alpha 0.75 "Alpha of picked up weapons when g_weapon_stay > 0" - -seta g_superspectate 0 "server side, allows extended spectator functions through the cmd interface. followpowerup, followstrength, followstshield or followfc [red|blue] will transfer spectation to the relevent player, if any"