seta hud_panel_engineinfo_framecounter_exponentialmovingaverage_new_weight 0.1 "weight of latest data point"
seta hud_panel_engineinfo_framecounter_exponentialmovingaverage_instantupdate_change_threshold 0.5 "threshold for fps change when to update instantly, to make big fps changes update faster"
+seta hud_panel_quickmenu_file quickmenu.txt "load the quick menu from this file"
+
// hud panel aliases
alias hud_panel_radar_rotate "toggle hud_panel_radar_rotation 0 1 2 3 4"
alias +hud_panel_radar_maximized "cl_cmd hud_panel_radar_maximized 1"
float autocvar_hud_panel_powerups_text;
float autocvar_hud_panel_pressedkeys;
float autocvar_hud_panel_pressedkeys_aspect;
+string autocvar_hud_panel_quickmenu_file;
float autocvar_hud_panel_racetimer;
float autocvar_hud_panel_radar;
float autocvar_hud_panel_radar_foreground_alpha;
{
float fh, i;
string s;
- fh = fopen("quickmenu.txt", FILE_READ);
+ fh = fopen(autocvar_hud_panel_quickmenu_file, FILE_READ);
if(fh < 0)
{
- print("Error: Couldn't open file quickmenu.txt!\n");
+ print(sprintf("Error: Couldn't open file %d!\n", autocvar_hud_panel_quickmenu_file));
return false;
}