health_pos = bottom - '43 58 0';\r
armor_pos = bottom - '43 68 0';\r
\r
- if (cvar("viewsize") <= 100) {\r
+ if (cvar("viewsize") <= 100 && sbar_hudselector) {\r
if (teamplay)\r
drawpic(bottom - '96 96 0', "gfx/hud/bg_status", '192 96 0', GetTeamRGB(myteam) * sbar_color_bg_team, sbar_alpha_bg, DRAWFLAG_NORMAL); // hud color = myteam color\r
else {\r
bgpos_z = 0;\r
}\r
\r
- if (cvar("viewsize") <= 100) { // draw timer background when viewsize <= 100\r
+ if (cvar("viewsize") <= 100 && sbar_hudselector) { // draw timer background when viewsize <= 100\r
if (teamplay)\r
drawpic(bgpos, "gfx/hud/bg_timer", '120 30 0' * scale, GetTeamRGB(myteam) * sbar_color_bg_team, sbar_alpha_bg, DRAWFLAG_NORMAL); // timer bg color = myteam color\r
else {\r
if(g_vore) // only when the vore system is active\r
{\r
// draw the stomach board\r
- if (cvar("viewsize") <= 100) {\r
+ if (cvar("viewsize") <= 100 && sbar_hudselector) {\r
if (teamplay)\r
drawpic(bottomleft- '0 256 0', "gfx/hud/bg_stomach", '256 256 0', GetTeamRGB(myteam) * sbar_color_bg_team, sbar_alpha_bg, DRAWFLAG_NORMAL); // hud color = myteam color\r
else {\r
me.TD(me, 1, 4, makeVoretTextLabel(0, "HUD settings:"));\r
me.TR(me);\r
me.TDempty(me, 0.2);\r
- me.TD(me, 1, 2, e = makeVoretCheckBoxEx(100, 120, "viewsize", "Enable HUD"));\r
+ me.TD(me, 1, 2, e = makeVoretCheckBox(0, "sbar_hudselector", "Enable HUD"));\r
me.TR(me);\r
me.TDempty(me, 0.2);\r
- me.TD(me, 1, 0.8, e = makeVoretCheckBoxEx(100, 110, "viewsize", "Background:"));\r
- setDependent(e, "viewsize", 0, 100);\r
me.TD(me, 1, 3, e = makeVoretSlider(0, 1, 0.01, "sbar_alpha_bg"));\r
- setDependent(e, "viewsize", 0, 100);\r
+ setDependent(e, "sbar_hudselector", 1, 1);\r
me.TR(me);\r
me.TDempty(me, 0.2);\r
me.TD(me, 1, 0.8, e = makeVoretTextLabel(0, "Default color:"));\r
+ setDependent(e, "sbar_hudselector", 1, 1);\r
me.TD(me, 2, 2, e = makeVoretColorpickerString("sbar_color_bg", "sbar_color_bg"));\r
+ setDependent(e, "sbar_hudselector", 1, 1);\r
me.TR(me);\r
me.TR(me);\r
me.TDempty(me, 0.2);\r
me.TD(me, 1, 0.8, e = makeVoretTextLabel(0, "Team color:"));\r
+ setDependent(e, "sbar_hudselector", 1, 1);\r
me.TD(me, 1, 3, e = makeVoretSlider(0.1, 1, 0.01, "sbar_color_bg_team"));\r
- setDependent(e, "viewsize", 0, 100);\r
+ setDependent(e, "sbar_hudselector", 1, 1);\r
me.TR(me);\r
me.TR(me);\r
me.TD(me, 1, 4, makeVoretTextLabel(0, "Ring settings:"));\r
\r
- 0.8: Make a new area in the Vore Temple map, I know where and how\r
\r
-- 0.7 | 0.8: Check if it's really ok to change the viewsize cvar to toggle the HUD in the menu\r
-\r
- 0.8 BUG: There is still an issue with the weapon model attempting to be attached to the stomach model, fix it\r
\r
- +0.8: Port some player models from Xonotic when they are properly done\r
\r
- 0.8: Turn the Grabber into an organic weapon, but keep metal parts like the fuel cases and weapon display\r
\r
-- 0.8: Colormod gibs when regurgitating them, although they are client side and the color cvars are server
\ No newline at end of file
+- 0.8: Colormod gibs when regurgitating them, although they are client side and the color cvars are server\r
+\r
+- 0.8: scoreboard doesn't show when HUD is disabled (sbar_hudselector is 0)
\ No newline at end of file