menus_voicecom.cfg 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. newmenu voicecom 1 1
  2. menuitem [1. Team Replies] [ showmenu [Team Replies] ]
  3. menuitem [2. Team Commands] [ showmenu [Team Commands] ]
  4. menuitem [3. Team State] [ showmenu [Team State] ]
  5. menuitem [4. Team Talk] [ showmenu [Team Talk] ]
  6. menuitem [5. Team Tactics] [ showmenu [Team Tactics] ]
  7. menuitem [6. Public Talk] [ showmenu [Public Talk] ]
  8. const vcrnd [ // pick random shout if possible
  9. tempalias len (listlen $arg1)
  10. if (> $len 1) [
  11. tempalias r (rnd $len)
  12. voicecom (at $arg1 $r) (at $arg2 $r)
  13. ] [
  14. voicecom $arg1 $arg2
  15. ]
  16. ]
  17. const genvcitem [
  18. if (> (listlen $arg2) 1) [ text = (at $arg1 0) ] [ text = $arg1 ] // split multiple shouts
  19. action = (concatword vcrnd " [" $arg2 "]" " [" $arg1 "]")
  20. menuitem (concatword $arg3 ". " $text) $action // add as numbered list
  21. ]
  22. // V 1 [ 1,2 ]
  23. newmenu [Team Replies] 1 1
  24. // the following two mirror F1/F2 - disagree/agree
  25. genvcitem [Yes Affirmative "All right, Sir"] [yes affirmative allrightsir] 1 // #
  26. genvcitem [Negative "No can do" "There's no way, Sir!"] [negative nocando theresnowaysir] 2 // *
  27. genvcitem ["On the move" "On my way"] [onthemove_1 onthemove_2] 3
  28. genvcitem ["Got your back!" "Got you covered!"] [igotyourback igotyoucovered] 4
  29. genvcitem ["In position!" "In position now!"] [inposition_1 inposition_2] 5
  30. // V 2 [ 1,2,3 ]
  31. newmenu [Team Commands] 1 1
  32. genvcitem [Recover the flag!] recovertheflag 1 // *
  33. genvcitem [Defend the flag!] defendtheflag 2 // #
  34. genvcitem ["Come on, move!" "Spread out!"] [comeonmove spreadout] 3 // *
  35. // V 3 [ 2,3,4 ]
  36. newmenu [Team State] 1 1
  37. genvcitem [I'm attacking] imattacking 1
  38. genvcitem [Coming in with the flag!] cominginwiththeflag 2 // *
  39. genvcitem [I made contact] imadecontact 3 // #
  40. genvcitem ["Enemy down" "I got one"] [enemydown igotone] 4 // *
  41. genvcitem [I'm on defense] imondefense 5
  42. // V 4 [ 1,2,3 ]
  43. newmenu [Team Talk] 1 1
  44. genvcitem ["We did it!" "Go get 'em boys!" "Good job, team!"] [wedidit gogetemboys goodjobteam] 1
  45. genvcitem [Sorry] sorry 2
  46. genvcitem [I'm on your team, man!] imonyourteamman 3 // *
  47. // V 5 [ 1,2,3 ]
  48. newmenu [Team Tactics] 1 1
  49. genvcitem [Cover me!] coverme 1
  50. genvcitem [Stay together!] staytogether 2
  51. genvcitem [Stay here!] stayhere 3
  52. genvcitem [Report in!] reportin 4 // *
  53. // V 6 [ 1,2,3 ]
  54. newmenu [Public Talk] 1 1
  55. genvcitem [Nice shot] niceshot 1
  56. genvcitem [Thanks! "Thanks, man"] [thanks_1 thanks_2] 2
  57. genvcitem [Awesome Awesome!] [awesome_1 awesome_2] 3