From: Rudolf Polzer Date: Mon, 5 Dec 2011 14:45:45 +0000 (+0100) Subject: add an alias g_forced_team_matchsetup (untested) X-Git-Tag: xonotic-v0.6.0~35^2~14 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4741095d1814761513e883378d1e62c6dced4bb4;p=xonotic%2Fxonotic-data.pk3dir.git add an alias g_forced_team_matchsetup (untested) --- diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 03a44696a..7c66a31a6 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -2083,6 +2083,11 @@ set g_forced_team_yellow "" "list of player IDs for yellow team" set g_forced_team_pink "" "list of player IDs for pink team" set g_forced_team_otherwise "default" "action if a non listed player joins (can be default for default action, spectate for forcing to spectate, or red, blue, yellow, pink)" +// nice alias to set up a match +// example: g_forced_team_matchsetup stormkeep "mzDo0nO2y3XpFPNbQAyeUucyaejZ9xpiXLYMGU2x3qM=" "BRLOGENSHFEGLE/+Mq3x2UGMYLXipx9ZjeaycuUeyAQ=" +// will set up a match on stormkeep where mzDo0nO2y3XpFPNbQAyeUucyaejZ9xpiXLYMGU2x3qM= and BRLOGENSHFEGLE/+Mq3x2UGMYLXipx9ZjeaycuUeyAQ= play against each other +alias g_forced_team_matchsetup "map $1; settemp g_forced_team_red \"$2\"; settemp g_forced_team_blue \"$3\"; settemp g_forced_team_yellow \"$4\"; settemp g_forced_team_pink \"$5\"; settemp g_forced_team_otherwise spectate" + // random charge stuff :P set g_weapon_charge_colormod_hdrmultiplier 4 "how much to multiply the colors by in the colormod vector" set g_weapon_charge_colormod_red_half 0