16 me.configureDialog(me);
30 _(
"Field of vision in degrees")));
31 e.formatString = _(
"%s°");
37 me.TD(me, 1, 2.8, e =
makeXonoticCheckBoxEx(2, 0,
"cl_eventchase_death", _(
"Slide to third person upon death")));
41 me.TD(me, 1, 2.8, e =
makeXonoticCheckBoxEx(0.05, 0,
"cl_bobfall", _(
"Smooth the view when landing from a jump")));
45 me.TD(me, 1, 2.8, e =
makeXonoticCheckBoxEx(0.05, 0,
"cl_smoothviewheight", _(
"Smooth the view while crouching")));
64 e.formatString = _(
"%s qu");
71 e.formatString = _(
"%s qu");
75 me.TD(me, 1, 3, e =
makeXonoticCheckBox(1,
"cl_clippedspectating", _(
"Allow passing through walls while spectating")));
78 me.gotoRC(me, 0, 3); me.setFirstColumn(me, me.currentColumn);
83 _(
"How big the zoom factor is when the zoom button is pressed")));
84 e.formatString = _(
"%sx");
85 e.addRange(e, 2, 10, 0.5);
86 e.addRange(e, 11, 30, 1);
87 e.configureXonoticMixedSliderValues(e);
93 _(
"How fast the view will be zoomed, disable to zoom instantly")));
94 e.addRange(e, 1, 8, 1);
95 e.addText(e,
ZCTX(_(
"ZOOM^Instant")), -1);
96 e.configureXonoticMixedSliderValues(e);
103 _(
"How zoom changes sensitivity, from 0% (lower sensitivity) to 100% (no sensitivity change)")));
104 e.formatString =
"%";
115 e.formatString = _(
"%sx");
124 e.addRange(e, 2, 16, 2);
125 e.addText(e,
ZCTX(_(
"ZOOM^Instant")), -1);
126 e.configureXonoticMixedSliderValues(e);
131 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"cl_velocityzoom_enabled", _(
"Velocity zoom")));
138 e.formatString = _(
"%sx");
143 me.TD(me, 1, 2.8, e =
makeXonoticCheckBoxEx(3, 1,
"cl_velocityzoom_type", _(
"Forward movement only")));
149 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"cl_reticle", _(
"Display reticle 2D overlay while zooming")));
152 me.TD(me, 1, 3, e =
makeXonoticCheckBox_T(0,
"cl_unpress_zoom_on_death", _(
"Release zoom when you die or respawn"),
"-"));
153 makeMulti(e,
"cl_unpress_zoom_on_spawn");
156 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)