From: Mario Date: Sat, 8 Oct 2016 14:25:08 +0000 (+1000) Subject: Disable unpressing attack on weapon switching by default X-Git-Tag: xonotic-v0.8.2~535 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=dbd8ff22dd47dcf10edcadee1144c6cd5ec9af5e;p=xonotic%2Fxonotic-data.pk3dir.git Disable unpressing attack on weapon switching by default --- diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 22e0624ce..31112ee73 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -79,7 +79,7 @@ seta cl_zoomsensitivity 0 "how zoom changes sensitivity (0 = weakest, 1 = strong seta cl_unpress_zoom_on_spawn 1 "automatically unpress zoom when you spawn" seta cl_unpress_zoom_on_death 1 "automatically unpress zoom when you die (and don't allow zoom again while dead)" seta cl_unpress_zoom_on_weapon_switch 1 "automatically unpress zoom when you switch a weapon" -seta cl_unpress_attack_on_weapon_switch 1 "automatically unpress fire and fire1 attack buttons when you switch a weapon" +seta cl_unpress_attack_on_weapon_switch 0 "automatically unpress fire and fire1 attack buttons when you switch a weapon" seta cl_spawn_event_particles 1 "pointparticles effect whenever a player spawns" seta cl_spawn_event_sound 1 "sound effect whenever a player spawns" diff --git a/qcsrc/client/autocvars.qh b/qcsrc/client/autocvars.qh index a4fcd3e84..33d1bc213 100644 --- a/qcsrc/client/autocvars.qh +++ b/qcsrc/client/autocvars.qh @@ -93,10 +93,10 @@ string autocvar_cl_weaponpriority; float autocvar_cl_zoomfactor; float autocvar_cl_zoomsensitivity; float autocvar_cl_zoomspeed; -bool autocvar_cl_unpress_zoom_on_spawn = 1; -bool autocvar_cl_unpress_zoom_on_death = 1; -bool autocvar_cl_unpress_zoom_on_weapon_switch = 1; -bool autocvar_cl_unpress_attack_on_weapon_switch = 1; +bool autocvar_cl_unpress_zoom_on_spawn = true; +bool autocvar_cl_unpress_zoom_on_death = true; +bool autocvar_cl_unpress_zoom_on_weapon_switch = true; +bool autocvar_cl_unpress_attack_on_weapon_switch = false; bool autocvar_con_chat; bool autocvar_con_chatrect; float autocvar_con_chatsize;