METHOD(VoretHudDialog, showNotify, void(entity))\r
ATTRIB(VoretHudDialog, title, string, "Radar, HUD & Waypoints")\r
ATTRIB(VoretHudDialog, color, vector, SKINCOLOR_DIALOG_HUD)\r
- ATTRIB(VoretHudDialog, intendedWidth, float, 0.7)\r
- ATTRIB(VoretHudDialog, rows, float, 24)\r
- ATTRIB(VoretHudDialog, columns, float, 4)\r
+ ATTRIB(VoretHudDialog, intendedWidth, float, 1)\r
+ ATTRIB(VoretHudDialog, rows, float, 19)\r
+ ATTRIB(VoretHudDialog, columns, float, 8)\r
ENDCLASS(VoretHudDialog)\r
#endif\r
\r
me.TDempty(me, 0.2);\r
sl = makeVoretSlider(0.1, 1, 0.05, "hud_damage");\r
me.TD(me, 1, 0.8, e = makeVoretSliderCheckBox(0, 1, sl, "Splashes:"));\r
- me.TD(me, 1, 1.5, sl);\r
+ me.TD(me, 1, 3, sl);\r
makeMulti(e, "hud_stomach");\r
makeMulti(sl, "hud_stomach");\r
- me.TDempty(me, 0.4);\r
+ me.TR(me);\r
+ me.TDempty(me, 0.2);\r
me.TD(me, 1, 0.5, e = makeVoretCheckBoxEx(0.25, 0, "cl_flash_pickup", "Pickup flashes"));\r
me.TR(me);\r
me.TDempty(me, 0.2);\r
me.TD(me, 1, 0.8, e = makeVoretSliderCheckBox(-1, 1, sl, "Background:"));\r
me.TD(me, 1, 3, sl);\r
me.TR(me);\r
- me.TR(me);\r
+\r
+ me.gotoRC(me, 0, 4); me.setFirstColumn(me, me.currentColumn);\r
me.TD(me, 1, 4, makeVoretTextLabel(0, "Waypoint settings:"));\r
me.TR(me);\r
me.TDempty(me, 0.2);\r
me.TD(me, 1, 0.8, e = makeVoretTextLabel(0, "Waypoint alpha:"));\r
me.TD(me, 1, 3, e = makeVoretSlider(0.1, 1, 0.01, "g_waypointsprite_alpha"));\r
setDependent(e, "cl_hidewaypoints", 0, 0);\r
+ me.TR(me);\r
+ me.TR(me);\r
+ me.TD(me, 1, 4, makeVoretTextLabel(0, "Name settings:"));\r
me.TR(me);\r
me.TDempty(me, 0.2);\r
me.TD(me, 1, 0.8, e = makeVoretTextLabel(0, "Show names:"));\r
- me.TD(me, 1, 3, e = makeVoretTextSlider("cl_shownames"));\r
- e.addValue(e, "Never", "0");\r
+ me.TD(me, 1, 3, e = makeVoretTextSlider("hud_shownames"));\r
+ e.addValue(e, "Disabled", "0");\r
e.addValue(e, "Teammates", "1");\r
e.addValue(e, "All players", "2");\r
e.configureVoretTextSliderValues(e);\r
+ me.TR(me);\r
+ me.TDempty(me, 0.2);\r
+ me.TD(me, 1, 0.8, e = makeVoretTextLabel(0, "Team status:"));\r
+ setDependent(e, "hud_shownames", 1, 2);\r
+ me.TD(me, 1, 3, e = makeVoretTextSlider("hud_shownames_status"));\r
+ e.addValue(e, "Disabled", "0");\r
+ e.addValue(e, "Heal", "1");\r
+ e.addValue(e, "Heal & health", "2");\r
+ e.addValue(e, "Heal, health & armor", "3");\r
+ e.configureVoretTextSliderValues(e);\r
+ setDependent(e, "hud_shownames", 1, 2);\r
+ me.TR(me);\r
+ me.TDempty(me, 0.2);\r
+ me.TD(me, 1, 0.8, e = makeVoretTextLabel(0, "Scale:"));\r
+ setDependent(e, "hud_shownames", 1, 2);\r
+ me.TD(me, 1, 3, e = makeVoretSlider(6, 24, 1, "hud_shownames_fontsize"));\r
+ setDependent(e, "hud_shownames", 1, 2);\r
+ me.TR(me);\r
+ me.TDempty(me, 0.2);\r
+ me.TD(me, 1, 0.8, e = makeVoretTextLabel(0, "Alpha:"));\r
+ setDependent(e, "hud_shownames", 1, 2);\r
+ me.TD(me, 1, 3, e = makeVoretSlider(0, 1, 0.01, "hud_shownames_alpha"));\r
+ setDependent(e, "hud_shownames", 1, 2);\r
me.gotoRC(me, me.rows - 1, 0);\r
me.TD(me, 1, me.columns, e = makeVoretButton("OK", '0 0 0'));\r
e.onClick = Dialog_Close;\r