31 me.configureDialog(me);
47 me.TD(me, 1, 2, e =
makeXonoticSlider(0.1, 1, 0.1,
"hud_panel_scoreboard_bg_alpha"));
53 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"hud_panel_scoreboard_table_highlight", _(
"Enable rows / columns highlighting")));
55 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"hud_panel_scoreboard_accuracy", _(
"Show accuracy underneath scoreboard")));
58 me.TD(me, 1, 2, e =
makeXonoticMixedSlider_T(
"hud_panel_scoreboard_team_size_position", _(
"Team size position: Off=do not show; Left=on the left side of the scoreboard and move team scores to the right; Right=on the right of the scoreboard")));
59 e.addText(e, _(
"Left"), 1);
60 e.addText(e, _(
"Off"), 0);
61 e.addText(e, _(
"Right"), 2);
62 e.configureXonoticMixedSliderValues(e);
68 me.TD(me, 1, 3, e =
makeXonoticCheckBox_T(1,
"cl_hidewaypoints", _(
"Display waypoint markers for objectives on the map"),
69 _(
"Show various gametype specific waypoints")));
90 me.TD(me, 1, 2, e =
makeXonoticSlider_T(0, 0.3, 0.01,
"g_waypointsprite_edgeoffset_bottom",
"-"));
91 makeMulti(e,
"g_waypointsprite_edgeoffset_top g_waypointsprite_edgeoffset_left g_waypointsprite_edgeoffset_right");
97 me.TD(me, 1, 2.8, e =
makeXonoticCheckBoxEx(0.25, 1,
"g_waypointsprite_crosshairfadealpha", _(
"Fade when near the crosshair")));
102 me.TD(me, 1, 2.8, e =
makeXonoticCheckBox(0,
"g_waypointsprite_text", _(
"Display names instead of icons")));
125 me.gotoRC(me, 0, 3); me.setFirstColumn(me, me.currentColumn);
128 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"hud_shownames", _(
"Show names above players")));
135 e.formatString =
"%";
150 me.TD(me, 1, 2, e =
makeXonoticSlider(2000, 10000, 500,
"hud_shownames_maxdistance"));
151 e.formatString = _(
"%s qu");
160 e.addText(e, _(
"Never"), 0);
161 e.addText(e, _(
"Teamplay"), 1);
162 e.addText(e, _(
"Always"), 2);
163 e.configureXonoticMixedSliderValues(e);
170 me.TD(me, 1, 2.8, e =
makeXonoticCheckBoxEx(25, 0,
"hud_shownames_crosshairdistance", _(
"Only when near crosshair")));
175 me.TD(me, 1, 2.8, e =
makeXonoticCheckBox(0,
"hud_shownames_status", _(
"Display health and armor")));
185 e.addText(e, _(
"qu/s"), 1);
186 e.addText(e, _(
"m/s"), 2);
187 e.addText(e, _(
"km/h"), 3);
188 e.addText(e, _(
"mph"), 4);
189 e.addText(e, _(
"knots"), 5);
190 e.configureXonoticMixedSliderValues(e);
194 e.formatString =
"%";
195 e.addText(e, _(
"Disable"), 0);
196 e.addRange(e, 0.05, 1, 0.05);
197 e.configureXonoticMixedSliderValues(e);
200 _(
"HUD moves around following player's movement")));
201 me.TD(me, 1, 1.8, e =
makeXonoticCheckBox(0,
"hud_dynamic_shake", _(
"Shake the HUD when hurt")));
203 me.gotoRC(me, me.rows - 1, 0); me.setFirstColumn(me, me.currentColumn);
206 e.onClickEntity = me;
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
void XonoticGameHUDSettingsTab_showNotify(entity me)
void XonoticGameHUDSettingsTab_fill(entity me)
void HUDSetup_Check_Gamestatus(entity me, entity btn)
entity makeXonoticGameHUDSettingsTab()
void HUDSetup_Start(entity me, entity btn)
void DialogOpenButton_Click(entity button, entity tab)
entity makeXonoticScoreboardFadeTimeSlider()
entity makeXonoticTextLabel(float theAlign, string theText)
entity makeXonoticHeaderLabel(string theText)
entity makeXonoticCheckBox_T(float isInverted, 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)