24{
26
27 me.TR(me);
29
30
31 me.TR(me);
33
35 _("Set a different crosshair for each weapon, good if you play without weapon models")));
37
39 me.TR(me);
40 me.TDempty(me, 0.2);
49 me.TR(me);
50 me.TR(me);
51 me.TR(me);
52 me.TDempty(me, 0.2);
59 me.TR(me);
60 me.TDempty(me, 0.2);
64 e.formatString = "%";
66 me.TR(me);
67 me.TDempty(me, 0.2);
77 me.TR(me);
78 me.TDempty(me, 0.2);
86 me.TR(me);
87 me.TR(me);
88 me.TR(me);
89 me.TDempty(me, 0.2);
90 me.TD(me, 1, 2.8, e =
makeXonoticCheckBox_T(0,
"crosshair_ring", _(
"Use rings to indicate weapon status"),
"-"));
93 me.TR(me);
94 me.TDempty(me, 0.4);
103 me.TR(me);
104 me.TDempty(me, 0.4);
109 e.formatString = "%";
112
113 me.gotoRC(me, 0, 3.2); me.setFirstColumn(me, me.currentColumn);
114 me.TD(me, 1, 2.8, e =
makeXonoticCheckBox(0,
"crosshair_dot", _(
"Enable center crosshair dot")));
116 me.TR(me);
117 me.TDempty(me, 0.2);
126 me.TR(me);
127 me.TDempty(me, 0.2);
132 e.formatString = "%";
135 me.TR(me);
136 me.TDempty(me, 0.2);
141 me.TD(me, 1, 1.8, e =
makeXonoticRadioButton(1,
"crosshair_dot_color_custom",
"0", _(
"Use normal color")));
145 me.TR(me);
146 me.TDempty(me, 0.4);
154 me.TR(me);
155 me.TR(me);
156 me.TR(me);
157 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"crosshair_effect_scalefade", _(
"Smooth effects of crosshairs")));
159 me.TR(me);
160 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"crosshair_hittest", _(
"Perform hit tests for the crosshair")));
162 me.TR(me);
163 me.TDempty(me, 0.2);
164 me.TD(me, 1, 2.8, e =
makeXonoticCheckBox(0,
"crosshair_hittest_blur_wall", _(
"Blur if obstructed by an obstacle")));
167 me.TR(me);
168 me.TDempty(me, 0.2);
169 me.TD(me, 1, 2.8, e =
makeXonoticCheckBox(0,
"crosshair_hittest_blur_teammate", _(
"Blur if obstructed by a teammate")));
172 me.TR(me);
173 me.TDempty(me, 0.2);
174 me.TD(me, 1, 2.8, e =
makeXonoticCheckBoxEx(1.25, 1,
"crosshair_hittest", _(
"Shrink if obstructed by a teammate")));
177 me.TR(me);
178 me.TD(me, 1, 3, e =
makeXonoticCheckBoxEx(0.5, 0,
"crosshair_hitindication", _(
"Animate crosshair when hitting an enemy")));
180 me.TR(me);
181 me.TD(me, 1, 3, e =
makeXonoticCheckBoxEx(0.25, 0,
"crosshair_pickup", _(
"Animate crosshair when picking up an item")));
183}
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)