seta _hud_panelorder "" "contains order in which panels are to be drawn"
+seta hud_configure_grid "" "snap to grid when moving/resizing panels"
+seta hud_configure_grid_xsize "" "snap to X * vid_conwidth"
+seta hud_configure_grid_ysize "" "snap to Y * vid_conheight"
+
seta hud_weaponicons "" "enable/disable this panel"
seta hud_weaponicons_pos "" "position of this panel"
seta hud_weaponicons_size "" "size of this panel"
seta hud_configure_teamcolorforced 1 "1 = force display of team colors in configure mode"
seta hud_configure_checkcollisions 1 "check for collisions against other panels when in hud configure mode"
seta hud_configure_bg_minalpha 0.25 "minimum panel background alpha when in hud configure mode"
-seta hud_configure_grid 1 "snap to grid when moving/resizing panels"
-seta hud_configure_grid_xsize 0.01 "snap to X * vid_conwidth"
-seta hud_configure_grid_ysize 0.01 "snap to Y * vid_conheight"
seta hud_configure_grid_alpha 0.15 "alpha for visible grid when in configure mode"
seta sbar_info_pos 0 "Y-axis distance from lower right corner for engine info prints"
seta _hud_panelorder "6 5 9 3 1 7 12 0 4 10 2 11 14 8 13 "
+seta hud_configure_grid 1
+seta hud_configure_grid_xsize 0.01
+seta hud_configure_grid_ysize 0.01
+
seta hud_panel_weapons 1
seta hud_panel_weapons_pos "0.908906 0.088047"
seta hud_panel_weapons_size "0.066564 0.641367"
seta hud_dock_color_team "0.700000"
seta hud_dock_alpha "1"
+seta hud_configure_grid 1
+seta hud_configure_grid_xsize 0.01
+seta hud_configure_grid_ysize 0.01
+
seta hud_progressbar_alpha 0
seta hud_progressbar_strength_color "0 0 0.6"
seta hud_progressbar_shield_color "0.6 0 0.6"
fputs(fh, strcat("seta _hud_panelorder \"", cvar_string("_hud_panelorder"), "\"", "\n"));
fputs(fh, "\n");
+ fputs(fh, strcat("seta hud_configure_grid \"", cvar_string("hud_configure_grid"), "\"", "\n"));
+ fputs(fh, strcat("seta hud_configure_grid_xsize \"", cvar_string("hud_configure_grid_xsize"), "\"", "\n"));
+ fputs(fh, strcat("seta hud_configure_grid_ysize \"", cvar_string("hud_configure_grid_ysize"), "\"", "\n"));
+ fputs(fh, "\n");
+
// common cvars for all panels
float i;
for (i = 0; i < HUD_PANEL_NUM; ++i)
}
fputs(fh, "\n");
}
+ fputs(fh, strcat("menu_restart", "\n")); // force a menu update when execing config, so that the dialogs are updated
print("^2Successfully exported to hud_", autocvar_hud_skin, "_", cfgname, ".cfg! (Note: It's saved in data/data/)\n");
}