From: terencehill Date: Fri, 27 Mar 2020 00:48:48 +0000 (+0100) Subject: cl_eventchase_death 2 by default; make the cl_eventchase_death checkbox toggle betwee... X-Git-Tag: xonotic-v0.8.5~1144^2^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=refs%2Fmerge-requests%2F787%2Fhead;p=xonotic%2Fxonotic-data.pk3dir.git cl_eventchase_death 2 by default; make the cl_eventchase_death checkbox toggle between 0 and 2 --- diff --git a/qcsrc/client/autocvars.qh b/qcsrc/client/autocvars.qh index 6759c8078..234f9b0a9 100644 --- a/qcsrc/client/autocvars.qh +++ b/qcsrc/client/autocvars.qh @@ -416,7 +416,7 @@ float autocvar_cl_hitsound_nom_damage = 25; float autocvar_cl_hitsound_antispam_time; bool autocvar_cl_eventchase_spectated_change = false; float autocvar_cl_eventchase_spectated_change_time = 1; -int autocvar_cl_eventchase_death = 1; +int autocvar_cl_eventchase_death = 2; float autocvar_cl_eventchase_distance = 140; bool autocvar_cl_eventchase_frozen = false; float autocvar_cl_eventchase_speed = 1.3; diff --git a/qcsrc/menu/xonotic/dialog_settings_game_view.qc b/qcsrc/menu/xonotic/dialog_settings_game_view.qc index ed21eeae0..b4c170280 100644 --- a/qcsrc/menu/xonotic/dialog_settings_game_view.qc +++ b/qcsrc/menu/xonotic/dialog_settings_game_view.qc @@ -26,7 +26,7 @@ void XonoticGameViewSettingsTab_fill(entity me) me.TD(me, 1, 3, e = makeXonoticRadioButton(1, "chase_active", "0", _("1st person perspective"))); me.TR(me); me.TDempty(me, 0.2); - me.TD(me, 1, 2.8, e = makeXonoticCheckBox(0, "cl_eventchase_death", _("Slide to third person upon death"))); + me.TD(me, 1, 2.8, e = makeXonoticCheckBoxEx(2, 0, "cl_eventchase_death", _("Slide to third person upon death"))); setDependent(e, "chase_active", -1, 0); me.TR(me); me.TDempty(me, 0.2); diff --git a/xonotic-client.cfg b/xonotic-client.cfg index 29a49329a..f1335c9d2 100644 --- a/xonotic-client.cfg +++ b/xonotic-client.cfg @@ -202,7 +202,7 @@ seta cl_hitsound_nom_damage 25 "damage amount at which hitsound bases pitch off" seta cl_eventchase_spectated_change 0 "camera goes into 3rd person mode for a moment when changing spectated player" seta cl_eventchase_spectated_change_time 1 "how much time the effect lasts when changing spectated player" -seta cl_eventchase_death 1 "camera goes into 3rd person mode when the player is dead; set to 2 to active the effect only when the corpse doesn't move anymore" +seta cl_eventchase_death 2 "camera goes into 3rd person mode when the player is dead; set to 2 to active the effect only when the corpse doesn't move anymore" seta cl_eventchase_frozen 0 "camera goes into 3rd person mode when the player is frozen" seta cl_eventchase_nexball 1 "camera goes into 3rd person mode when in nexball game-mode" seta cl_eventchase_distance 140 "final camera distance"