From 91b3c9fe0aa337573d8fd42b2653eb3b064767cd Mon Sep 17 00:00:00 2001 From: flowtron Date: Sun, 8 Aug 2010 16:44:13 +0000 Subject: [PATCH] just one voicecom menu layout - override in your game-home if you need to git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5568 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- ...menu_voicecom_v2.cfg => menu_voicecom.cfg} | 0 config/menu_voicecom_v1.cfg | 57 ------------------- 2 files changed, 57 deletions(-) rename config/{menu_voicecom_v2.cfg => menu_voicecom.cfg} (100%) delete mode 100644 config/menu_voicecom_v1.cfg diff --git a/config/menu_voicecom_v2.cfg b/config/menu_voicecom.cfg similarity index 100% rename from config/menu_voicecom_v2.cfg rename to config/menu_voicecom.cfg diff --git a/config/menu_voicecom_v1.cfg b/config/menu_voicecom_v1.cfg deleted file mode 100644 index 67decdb6..00000000 --- a/config/menu_voicecom_v1.cfg +++ /dev/null @@ -1,57 +0,0 @@ -newmenu voicecom 1 1 - -menuitem "1. Team Commands" [showmenu "Team Commands"] -menuitem "2. Team State" [showmenu "Team State"] -menuitem "3. Team Talk" [showmenu "Team Talk"] -menuitem "4. Public Talk" [showmenu "Public Talk"] - - -alias vcrnd [ // pick random shout if possible - alias len (listlen $arg1) - if (> $len 1) [ - alias r (rnd $len) - voicecom (at $arg1 $r) (at $arg2 $r) - ] [ - voicecom $arg1 $arg2 - ] -] - - -alias genvcitem [ - if (> (listlen $arg2) 1) [ alias text (at $arg1 0) ] [ alias text $arg1 ] // split multiple shouts - alias action (concatword vcrnd " [" $arg2 "]" " [" $arg1 "]") - menuitem (concatword $arg3 ". " $text) $action // add as numbered list -] - - -newmenu "Team Commands" 1 1 - -genvcitem "Come on, move!" comeonmove 1 -genvcitem "Cover me!" coverme 2 -genvcitem "Spread out!" spreadout 3 -genvcitem "Stay here!" stayhere 4 -genvcitem "Stay together!" staytogether 5 -genvcitem "Defend the flag!" defendtheflag 6 -genvcitem "Recover the flag!" recovertheflag 7 - - -newmenu "Team State" 1 1 - -genvcitem ["Enemy down" "I got one"] "enemydown igotone" 1 -genvcitem "I made contact" imadecontact 2 -genvcitem "I'm attacking" imattacking 3 -genvcitem "I'm on defense" imondefense 4 -genvcitem "Coming in with the flag!" cominginwiththeflag 5 - - -newmenu "Team Talk" 1 1 - -genvcitem [Yes Affirmative "All right, Sir"] "yes affirmative allrightsir" 1 -genvcitem ["Negative" "No can do" "There's no way, Sir!"] "negative nocando theresnowaysir" 2 -genvcitem "Sorry" sorry 3 -genvcitem "I'm on your team, man!" imonyourteamman 4 -genvcitem ["We did it!" "Go get 'em boys!" "Good job, team!"] "wedidit gogetemboys goodjobteam" 5 - -newmenu "Public Talk" 1 1 - -genvcitem "Nice shot" niceshot 1