17 me.configureDialog(me);
29 me.TD(me, 1, 2.8, e =
makeXonoticCheckBoxEx(2, 0,
"cl_eventchase_death", _(
"Slide to third person upon death")));
33 me.TD(me, 1, 2.8, e =
makeXonoticCheckBoxEx(0.05, 0,
"cl_bobfall", _(
"Smooth the view when landing from a jump")));
37 me.TD(me, 1, 2.8, e =
makeXonoticCheckBoxEx(0.05, 0,
"cl_smoothviewheight", _(
"Smooth the view while crouching")));
65 me.TD(me, 1, 3, e =
makeXonoticCheckBox(1,
"cl_clippedspectating", _(
"Allow passing through walls while spectating")));
68 me.gotoRC(me, 0, 3.2); me.setFirstColumn(me, me.currentColumn);
71 _(
"Field of vision in degrees")));
77 _(
"How big the zoom factor is when the zoom button is pressed")));
82 _(
"How fast the view will be zoomed, disable to zoom instantly")));
83 e.addValue(e,
"1",
"1");
84 e.addValue(e,
"2",
"2");
85 e.addValue(e,
"3",
"3");
86 e.addValue(e,
"4",
"4");
87 e.addValue(e,
"5",
"5");
88 e.addValue(e,
"6",
"6");
89 e.addValue(e,
"7",
"7");
90 e.addValue(e,
"8",
"8");
91 e.addValue(e,
ZCTX(_(
"ZOOM^Instant")),
"-1");
92 e.configureXonoticTextSliderValues(e);
97 _(
"How zoom changes sensitivity, from 0 (lower sensitivity) to 1 (no sensitivity change)")));
100 me.TD(me, 1, 1, e =
makeXonoticCheckBox(0,
"cl_velocityzoom_enabled", _(
"Velocity zoom")));
101 me.TD(me, 1, 2, e =
makeXonoticCheckBoxEx(3, 1,
"cl_velocityzoom_type", _(
"Forward movement only")));
106 setDependentAND(e,
"cl_velocityzoom_enabled", 1, 1,
"cl_velocityzoom_type", 1, 3);
108 setDependentAND(e,
"cl_velocityzoom_enabled", 1, 1,
"cl_velocityzoom_type", 1, 3);
112 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"cl_reticle", _(
"Display reticle 2D overlay while zooming")));
115 me.TD(me, 1, 3, e =
makeXonoticCheckBox_T(0,
"cl_unpress_zoom_on_death", _(
"Release zoom when you die or respawn"),
"-"));
116 makeMulti(e,
"cl_unpress_zoom_on_spawn");
119 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"cl_unpress_zoom_on_weapon_switch", _(
"Release zoom when you switch weapons")));
entity makeXonoticCheckBoxEx(float theYesValue, float theNoValue, string theCvar, string theText)
entity makeXonoticTextLabel(float theAlign, string theText)
entity makeXonoticTextSlider_T(string theCvar, string theTooltip)
entity makeXonoticSlider(float theValueMin, float theValueMax, float theValueStep, string theCvar)
entity makeXonoticCheckBoxEx_T(float theYesValue, float theNoValue, string theCvar, string theText, string theTooltip)
entity makeXonoticSlider_T(float theValueMin, float theValueMax, float theValueStep, string theCvar, string theTooltip)
entity makeXonoticCheckBox_T(float isInverted, string theCvar, string theText, string theTooltip)
void XonoticGameViewSettingsTab_fill(entity me)
entity makeXonoticGameViewSettingsTab()
entity makeXonoticCheckBox(float isInverted, string theCvar, string theText)
void XonoticGameViewSettingsTab_showNotify(entity me)