36{
38
39
40
41
42
43 me.TR(me);
45 me.TR(me);
47 me.TD(me, 1, 2, e =
makeXonoticSlider(0.1, 1, 0.1,
"hud_panel_scoreboard_bg_alpha"));
48 e.formatString = "%";
49 me.TR(me);
52 me.TR(me);
53 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"hud_panel_scoreboard_table_highlight", _(
"Enable rows / columns highlighting")));
54 me.TR(me);
55 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"hud_panel_scoreboard_accuracy", _(
"Show accuracy underneath scoreboard")));
56 me.TR(me);
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);
63
64 me.TR(me);
65 me.TR(me);
67 me.TR(me);
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")));
70 me.TR(me);
71 me.TDempty(me, 0.2);
75 e.formatString = "%";
77 me.TR(me);
78 me.TDempty(me, 0.2);
85 me.TR(me);
86 me.TDempty(me, 0.2);
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");
94
95 me.TR(me);
96 me.TDempty(me, 0.2);
97 me.TD(me, 1, 2.8, e =
makeXonoticCheckBoxEx(0.25, 1,
"g_waypointsprite_crosshairfadealpha", _(
"Fade when near the crosshair")));
100 me.TR(me);
101 me.TDempty(me, 0.2);
102 me.TD(me, 1, 2.8, e =
makeXonoticCheckBox(0,
"g_waypointsprite_text", _(
"Display names instead of icons")));
105
106 #if 0
107 me.TR(me);
109 me.TR(me);
112 me.TR(me);
117 me.TR(me);
122 me.TR(me);
123 #endif
124
125 me.gotoRC(me, 0, 3); me.setFirstColumn(me, me.currentColumn);
127 me.TR(me);
128 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"hud_shownames", _(
"Show names above players")));
129
130 me.TR(me);
131 me.TDempty(me, 0.2);
135 e.formatString = "%";
137 me.TR(me);
138 me.TDempty(me, 0.2);
145 me.TR(me);
146 me.TDempty(me, 0.2);
150 me.TD(me, 1, 2, e =
makeXonoticSlider(2000, 10000, 500,
"hud_shownames_maxdistance"));
151 e.formatString = _("%s qu");
154 me.TR(me);
155 me.TDempty(me, 0.2);
160 e.addText(e, _("Never"), 0);
161 e.addText(e, _("Teamplay"), 1);
162 e.addText(e, _("Always"), 2);
163 e.configureXonoticMixedSliderValues(e);
166
167 me.TR(me);
168
169 me.TDempty(me, 0.2);
170 me.TD(me, 1, 2.8, e =
makeXonoticCheckBoxEx(25, 0,
"hud_shownames_crosshairdistance", _(
"Only when near crosshair")));
173 me.TR(me);
174 me.TDempty(me, 0.2);
175 me.TD(me, 1, 2.8, e =
makeXonoticCheckBox(0,
"hud_shownames_status", _(
"Display health and armor")));
178
179 me.TR(me);
180 me.TR(me);
182 me.TR(me);
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);
191 me.TR(me);
194 e.formatString = "%";
195 e.addText(e, _("Disable"), 0);
196 e.addRange(e, 0.05, 1, 0.05);
197 e.configureXonoticMixedSliderValues(e);
198 me.TR(me);
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")));
202
203 me.gotoRC(me, me.rows - 1, 0); me.setFirstColumn(me, me.currentColumn);
206 e.onClickEntity = me;
207
208}
void HUDSetup_Check_Gamestatus(entity me, entity btn)
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)