17 me.configureDialog(me);
31 _(
"Field of vision in degrees")));
32 e.formatString = _(
"%s°");
38 me.TD(me, 1, 2.8, e =
makeXonoticCheckBoxEx(2, 0,
"cl_eventchase_death", _(
"Slide to third person upon death")));
42 me.TD(me, 1, 2.8, e =
makeXonoticCheckBoxEx(0.05, 0,
"cl_bobfall", _(
"Smooth the view when landing from a jump")));
46 me.TD(me, 1, 2.8, e =
makeXonoticCheckBoxEx(0.05, 0,
"cl_smoothviewheight", _(
"Smooth the view while crouching")));
65 e.formatString = _(
"%s qu");
72 e.formatString = _(
"%s qu");
76 me.TD(me, 1, 3, e =
makeXonoticCheckBox(1,
"cl_clippedspectating", _(
"Allow passing through walls while spectating")));
79 me.gotoRC(me, 0, 3); me.setFirstColumn(me, me.currentColumn);
84 _(
"How big the zoom factor is when the zoom button is pressed")));
85 e.formatString = _(
"%sx");
86 e.addRange(e, 2, 10, 0.5);
87 e.addRange(e, 11, 30, 1);
88 e.configureXonoticMixedSliderValues(e);
94 _(
"How fast the view will be zoomed, disable to zoom instantly")));
95 e.addRange(e, 1, 8, 1);
96 e.addText(e,
ZCTX(_(
"ZOOM^Instant")), -1);
97 e.configureXonoticMixedSliderValues(e);
104 _(
"How zoom changes sensitivity, from 0% (lower sensitivity) to 100% (no sensitivity change)")));
105 e.formatString =
"%";
116 e.formatString = _(
"%sx");
125 e.addRange(e, 2, 16, 2);
126 e.addText(e,
ZCTX(_(
"ZOOM^Instant")), -1);
127 e.configureXonoticMixedSliderValues(e);
132 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"cl_velocityzoom_enabled", _(
"Velocity zoom")));
139 e.formatString = _(
"%sx");
144 me.TD(me, 1, 2.8, e =
makeXonoticCheckBoxEx(3, 1,
"cl_velocityzoom_type", _(
"Forward movement only")));
150 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"cl_reticle", _(
"Display reticle 2D overlay while zooming")));
153 me.TD(me, 1, 3, e =
makeXonoticCheckBox_T(0,
"cl_unpress_zoom_on_death", _(
"Release zoom when you die or respawn"),
"-"));
154 makeMulti(e,
"cl_unpress_zoom_on_spawn");
157 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"cl_unpress_zoom_on_weapon_switch", _(
"Release zoom when you switch weapons")));
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
entity makeXonoticGameViewSettingsTab()
void XonoticGameViewSettingsTab_fill(entity me)
void XonoticGameViewSettingsTab_showNotify(entity me)
entity makeXonoticTextLabel(float theAlign, string theText)
entity makeXonoticHeaderLabel(string theText)
entity makeXonoticCheckBox_T(float isInverted, string theCvar, string theText, string theTooltip)
entity makeXonoticCheckBoxEx_T(float theYesValue, float theNoValue, string theCvar, string theText, string theTooltip)
entity makeXonoticCheckBox(float isInverted, string theCvar, string theText)
entity makeXonoticCheckBoxEx(float theYesValue, float theNoValue, string theCvar, string theText)
entity makeXonoticMixedSlider(string theCvar)
entity makeXonoticMixedSlider_T(string theCvar, string theTooltip)
entity makeXonoticSlider_T(float theValueMin, float theValueMax, float theValueStep, string theCvar, string theTooltip)
entity makeXonoticSlider(float theValueMin, float theValueMax, float theValueStep, string theCvar)