]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - commands.cfg
More commands.cfg conversions and updates
[xonotic/xonotic-data.pk3dir.git] / commands.cfg
index d03f68c5380183b6db8b0a8b1cfdd4c3248c2818..f3654833262fc515661795f1acc15581639dfcbf 100644 (file)
@@ -57,6 +57,7 @@ alias addvote "qc_cmd addtolist sv_vote_commands ${* ?}"
 // ========================
 alias bsp "ls maps/*.bsp"
 alias chmap "changelevel ${* ?}"
+alias clearmap "disconnect"
 alias rec "record demos/${1 !}"
 alias ply "playdemo $1"
 alias tdem "timedemo $1"
@@ -65,7 +66,7 @@ alias sv_restart "say \"Server will restart at the end of the match, you will al
 
 
 // ===============================================
-//  menu_cmd (menu command) - menu/gamecommand.qc
+//  menu_cmd (menu command) - menu/command/menu_cmd.qc
 // ===============================================
 alias menu_showteamselect "menu_cmd directmenu TeamSelect"
 alias menu_showhudexit "menu_cmd directmenu HUDExit"
@@ -78,12 +79,27 @@ alias _menu_loadmap_prepare_maxpl "maxplayers $_menu_loadmap_maxplayers"
 alias menu_loadmap_prepare "disconnect; wait; g_campaign 0; menu_cmd rpn /_menu_loadmap_maxplayers menu_maxplayers minplayers bot_number 1 add max max def; _menu_loadmap_prepare_maxpl; g_maplist_shufflenow"
 
 
-// ============================================================
-//  cl_cmd (client console command) - client/command/cl_cmd.qc
-// ============================================================
-alias radar "cl_cmd hud radar"
-alias scoreboard_columns_set "cl_cmd hud scoreboard_columns_set ${* ?}"
-alias scoreboard_columns_help "cl_cmd hud scoreboard_columns_help ${* ?}"
+// ==========================================================
+//  cl_cmd (client local command) - client/command/cl_cmd.qc
+// ==========================================================
+// commented out commands are really only intended for internal use
+if_client alias blurtest "cl_cmd blurtest"
+if_client alias debugmodel "cl_cmd debugmodel ${* ?}"
+//if_client alias handlevote "cl_cmd handlevote ${* ?}"
+if_client alias hud "cl_cmd hud ${* ?}"
+//if_client alias mv_download "cl_cmd mv_download ${* ?}"
+if_client alias sendcvar "cl_cmd sendcvar ${* ?}"
+//if_client alias settemp "cl_cmd settemp ${* ?}"
+
+// other aliases for local commands
+if_client alias hud_configure "cl_cmd hud configure"
+if_client alias hud_save "cl_cmd hud save ${* ?}"
+if_client alias radar "cl_cmd hud radar ${* ?}"
+if_client alias scoreboard_columns_help "cl_cmd hud scoreboard_columns_help"
+if_client alias scoreboard_columns_set "cl_cmd hud scoreboard_columns_set ${* ?}"
+
+// changes a cvar and reports it to the server (for the client to notify the server about changes)
+alias setreport "set \"$1\" \"$2\" ; sendcvar \"$1\""
 
 
 // ========================================================