From fd337914b1e452a34033cbdce4ca9ca80762ee15 Mon Sep 17 00:00:00 2001 From: RandumKiwi Date: Wed, 22 Oct 2008 11:45:47 +0000 Subject: [PATCH] moved "changeteam" and "resetbinds" to defaults git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3194 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- config/defaults.cfg | 7 +++++++ config/menus_settings.cfg | 2 -- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/config/defaults.cfg b/config/defaults.cfg index d7542bc1..dccb8ea5 100644 --- a/config/defaults.cfg +++ b/config/defaults.cfg @@ -13,6 +13,13 @@ alias secondary [ weapon 1 ] alias melee [ weapon 0 ] alias grenades [ weapon 6 ] +// "resetbinds" command. +alias resetbinds [ exec config/resetbinds.cfg; echo " 3All binds have been reset to default values!" ] + +// "changeteam" command. +alias changeteam [ if (= (curteam) 1) [ team CLA; echo "You are now on team 3CLA" ] [ team RVSF; echo "You are now on team 1RVSF" ] ] + + //for alternative weapon binding (more economic) see the end of this file lighterror 4 //set higher (for example 8) if you experience slowdown diff --git a/config/menus_settings.cfg b/config/menus_settings.cfg index 46e108a1..4370273a 100644 --- a/config/menus_settings.cfg +++ b/config/menus_settings.cfg @@ -339,8 +339,6 @@ menuitemcheckbox "Reduced violence mode: " "(getponiesmode)" "new_poniesmode $ar menuitemcheckbox "Show gamemodes as acronyms: " "$modeacronyms" "modeacronyms $arg1" menuitemcheckbox "Show quit dialog when quitting: " "$askquit" "askquit = $arg1" -alias changeteam [ if (= (curteam) 1) [ team CLA; echo "You are now on team 3CLA" ] [ team RVSF; echo "You are now on team 1RVSF" ] ] - newmenu HUD menuitem "Show:" -1