23{
25
26 me.TR(me);
28
29
30 me.TR(me);
32
34 _("Set a different crosshair for each weapon, good if you play without weapon models")));
36
38 me.TR(me);
39 me.TDempty(me, 0.2);
48 me.TR(me);
49 me.TR(me);
50 me.TR(me);
51 me.TDempty(me, 0.2);
58 me.TR(me);
59 me.TDempty(me, 0.2);
63 e.formatString = "%";
65 me.TR(me);
66 me.TDempty(me, 0.2);
76 me.TR(me);
77 me.TDempty(me, 0.2);
85 me.TR(me);
86 me.TR(me);
87 me.TR(me);
88 me.TDempty(me, 0.2);
89 me.TD(me, 1, 2.8, e =
makeXonoticCheckBox_T(0,
"crosshair_ring", _(
"Use rings to indicate weapon status"),
"-"));
92 me.TR(me);
93 me.TDempty(me, 0.4);
102 me.TR(me);
103 me.TDempty(me, 0.4);
108 e.formatString = "%";
111
112 me.gotoRC(me, 0, 3.2); me.setFirstColumn(me, me.currentColumn);
113 me.TD(me, 1, 2.8, e =
makeXonoticCheckBox(0,
"crosshair_dot", _(
"Enable center crosshair dot")));
115 me.TR(me);
116 me.TDempty(me, 0.2);
125 me.TR(me);
126 me.TDempty(me, 0.2);
131 e.formatString = "%";
134 me.TR(me);
135 me.TDempty(me, 0.2);
140 me.TD(me, 1, 1.8, e =
makeXonoticRadioButton(1,
"crosshair_dot_color_custom",
"0", _(
"Use normal color")));
144 me.TR(me);
145 me.TDempty(me, 0.4);
153 me.TR(me);
154 me.TR(me);
155 me.TR(me);
156 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"crosshair_effect_scalefade", _(
"Smooth effects of crosshairs")));
158 me.TR(me);
159 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"crosshair_hittest", _(
"Perform hit tests for the crosshair")));
161 me.TR(me);
162 me.TDempty(me, 0.2);
163 me.TD(me, 1, 2.8, e =
makeXonoticCheckBox(0,
"crosshair_hittest_blur_wall", _(
"Blur if obstructed by an obstacle")));
166 me.TR(me);
167 me.TDempty(me, 0.2);
168 me.TD(me, 1, 2.8, e =
makeXonoticCheckBox(0,
"crosshair_hittest_blur_teammate", _(
"Blur if obstructed by a teammate")));
171 me.TR(me);
172 me.TDempty(me, 0.2);
173 me.TD(me, 1, 2.8, e =
makeXonoticCheckBoxEx(1.25, 1,
"crosshair_hittest", _(
"Shrink if obstructed by a teammate")));
176 me.TR(me);
177 me.TD(me, 1, 3, e =
makeXonoticCheckBoxEx(0.5, 0,
"crosshair_hitindication", _(
"Animate crosshair when hitting an enemy")));
179 me.TR(me);
180 me.TD(me, 1, 3, e =
makeXonoticCheckBoxEx(0.25, 0,
"crosshair_pickup", _(
"Animate crosshair when picking up an item")));
182}
entity makeXonoticColorpickerString(string theCvar, string theDefaultCvar)
entity makeXonoticCrosshairPicker()
entity makeXonoticCrosshairPreview()
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 makeXonoticSlider(float theValueMin, float theValueMax, float theValueStep, string theCvar)