seta hud_configure_grid_x 10 "snap each X pixels"
seta hud_configure_grid_y 10 "snap each Y pixels"
-seta hud_dock 1 "enable/disable a fullscreen background for the hud, useful for creating artificial docks"
+seta hud_dock "dock" "enable a fullscreen background for the hud, useful for creating artificial docks, \"\" = disable"
seta hud_dock_color "0 0.6 0.9" "dock color"
seta hud_dock_alpha 0.8 "alpha of the dock"
seta hud_bg_padding "0"
seta hud_fg_alpha "1"
-seta hud_dock "1"
+seta hud_dock "dock"
seta hud_dock_color "0 0.6 0.9"
seta hud_dock_alpha "0.800000"
seta hud_bg_padding "2"
seta hud_fg_alpha "1"
-seta hud_dock "1"
+seta hud_dock "dock"
seta hud_dock_color "0 0.1875 0.4375"
seta hud_dock_alpha "1"
seta hud_bg_padding "2"
seta hud_fg_alpha "1"
-seta hud_dock "1"
+seta hud_dock "dock_small"
seta hud_dock_color "0 0.1875 0.4375"
seta hud_dock_alpha "1"
hud_configure = cvar("_hud_configure");
// Drawing stuff
- if(cvar("hud_dock"))
- drawpic_skin('0 0 0', "dock", eX * vid_conwidth + eY * vid_conheight, stov(cvar_string("hud_dock_color")), cvar("hud_dock_alpha"), DRAWFLAG_NORMAL);
+ if(cvar_string("hud_dock") != "")
+ drawpic_skin('0 0 0', cvar_string("hud_dock"), eX * vid_conwidth + eY * vid_conheight, stov(cvar_string("hud_dock_color")), cvar("hud_dock_alpha"), DRAWFLAG_NORMAL);
if(HUD_Panel_CheckActive(0))
HUD_WeaponIcons();