From 481cde76314b4265af3971a94ef17240b23829ba Mon Sep 17 00:00:00 2001 From: drjaska Date: Thu, 11 May 2023 22:06:00 +0300 Subject: [PATCH] Change sensitivity from slider to text input box --- qcsrc/menu/xonotic/dialog_settings_input.qc | 2 +- xonotic-client.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/menu/xonotic/dialog_settings_input.qc b/qcsrc/menu/xonotic/dialog_settings_input.qc index b025c3aff7..b9d6c19efe 100644 --- a/qcsrc/menu/xonotic/dialog_settings_input.qc +++ b/qcsrc/menu/xonotic/dialog_settings_input.qc @@ -58,7 +58,7 @@ void XonoticInputSettingsTab_fill(entity me) me.TD(me, 1, 3, e = makeXonoticHeaderLabel(_("Mouse"))); me.TR(me); me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Sensitivity:"))); - me.TD(me, 1, 2, e = makeXonoticSlider_T(1, 32, 0.2, "sensitivity", + me.TD(me, 1, 2, e = makeXonoticInputBox_T(0, "sensitivity", _("Mouse speed multiplier"))); me.TR(me); me.TD(me, 1, 3, e = makeXonoticCheckBox_T(0, "m_filter", _("Smooth aiming"), diff --git a/xonotic-client.cfg b/xonotic-client.cfg index add42efd32..3942a46c92 100644 --- a/xonotic-client.cfg +++ b/xonotic-client.cfg @@ -76,7 +76,7 @@ seta cl_spawn_point_particles 1 "pointparticles effect at all spawn points" // m seta cl_spawn_point_dist_max 1200 "maximum distance from which spawnpoint particles will be visible" freelook 1 -sensitivity 6 +sensitivity 6.0 v_gamma 1 viewsize 100 bgmvolume 1 -- 2.39.2