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
This commit is contained in:
flowtron
2010-08-08 16:44:13 +00:00
parent 76ab813602
commit 91b3c9fe0a
2 changed files with 0 additions and 57 deletions
-57
View File
@@ -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