Advertisement
wedgesvisions

Arma 3 Voice Commands for GlovePIE

Jun 2nd, 2014
1,540
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. * ARMA 3 Voice Commands Script for GlovePIE
  3. * Author: Wedge - www.youtube.com/wedgesvisions
  4. * Version: 1.0
  5. * Last Update: 6/1/2014
  6. * Pastebin: http://pastebin.com/0JQd9fus
  7. * GlovePIE Download: http://glovepie.org/glovepie_download.php
  8. * Based on the original script for ARMA 2 by Suchy
  9. */
  10.  
  11.  
  12. /*
  13. * Push to Talk
  14. * Disabled
  15. * To enable, remove the //
  16. * And edit your key
  17. */
  18. // Microphone.Enabled = mouse.XButton1
  19.  
  20. /*
  21. * Say "start listening" to begin.
  22. */
  23. if said("enable voice commands",5) or said("start listening",5) then
  24.    var.listen=true
  25.    say("enabled")
  26. end if
  27.  
  28. if said("disable voice commands",5) or said("stop listening",5) then
  29.    var.listen=false
  30.    say("disabled")
  31. end if
  32.  
  33.  
  34. if var.listen == true then
  35.  
  36. // SELECTION
  37. key.Console = said("all",5) or said("squad",5)
  38. key.F2 = said("2",5) or said("two",5)
  39. key.F3 = said("3",5) or said("three",5)
  40. key.F4 = said("4",5) or said("four",5)
  41. key.F5 = said("5",5) or said("five",5)
  42. key.F6 = said("6",5) or said("six",5)
  43. key.F7 = said("7",5) or said("seven",5)
  44. key.F8 = said("8",5) or said("eight",5)
  45. key.F9 = said("9",5) or said("nine",5)
  46.  
  47. // ITEMS
  48. key.b = said("Binocular",5)
  49. key.k,key.k = said("Compass",5) or said("Bearing",5)
  50. key.n = said("N V G",5) or said("Nightvision",5)
  51. key.m = said("Map",5)
  52. //key.g = said("Fire in the hole",5) or said("Grenade out",5) or said("Frag out",5)
  53.  
  54. // MISC
  55. key.backspace = said("Cancel",5)
  56. //key.F12 = said("Screenshot",5)
  57. key.Enter = said("Move",5) or said("Go",5)
  58.  
  59. // 1 - MOVEMENT
  60. key.1,key.1 = said("Regroup",5) or said("Return to formation",5) or said ("Fallback",5)
  61. key.1,key.2 = said("Advance",5)
  62. key.1,key.3 = said("Stay back",5)
  63. key.1,key.4 = said("Flank left",5) or said("Go left",5)
  64. key.1,key.5 = said("Flank right",5) or said("Go right",5)
  65. key.1,key.6 = said("Stop",5) or said("Halt",5) or said("Hold",5)
  66. key.1,key.7 = said("Wait",5) or said("Wait for me",5)
  67. key.1,key.8 = said("Find cover",5) or said("Cover",5) or said("Take cover",5)
  68. key.1,key.9 = said("Next waypoint",5)
  69.  
  70. // 2 - TARGET
  71. key.2 = said("Target", 5) or said("Targets",5)
  72.  
  73. // 3 - ENGAGE
  74. key.3,key.1 = said("Open fire",5) or said("Weapons free",5)
  75. key.3,key.2 = said("Hold fire",5) or said("Cease fire",5)
  76. key.3,key.3 = said("Fire",5)
  77. key.3,key.4 = said("Engage",5)
  78. key.3,key.5 = said("Engage at will",5)
  79. key.3,key.6 = said("Disengage",5)
  80. key.3,key.7 = said("Scan horizon",5)
  81. key.3,key.8 = said("Watch",5) or said("Watch direction",5)
  82. key.3,key.9 = said("Suppress fire",5) or said("Suppressive fire",5)
  83.  
  84. // 3 - 8 WATCH DIRECTIONS
  85. key.3,key.8,key.1 = said("Watch north",5)
  86. key.3,key.8,key.2 = said("Watch northeast",5) or said("Watch North East",5)
  87. key.3,key.8,key.3 = said("Watch east",5)
  88. key.3,key.8,key.4 = said("Watch southeast",5) or said("Watch South East",5)
  89. key.3,key.8,key.5 = said("Watch south",5)
  90. key.3,key.8,key.6 = said("Watch southwest",5) or said("Watch South West",5)
  91. key.3,key.8,key.7 = said("Watch west",5)
  92. key.3,key.8,key.8 = said("Watch northwest",5) or said("Watch North West",5)
  93.  
  94. // 4 - MOUNT
  95. key.4,key.1 = said("Disembark",5) or said("Dismount",5)
  96. key.1 = said("Anywhere",5)
  97. key.2 = said("Driver",5)
  98. key.4 = said("Gunner",5)
  99.  
  100. // 5 - STATUS
  101. key.8 = said("Status",5)
  102. key.5,key.4 = said("Medic",5)
  103. key.5,key.5 = said("Report in",5) or said("Report status",5)
  104.  
  105. // 6 - ACTION
  106. key.6 = said("Action", 5) or said("Actions",5)
  107.  
  108. // 7 - COMBAT
  109. key.7,key.1 = said("Stealth",5) or said("Stay quiet",5)
  110. key.7,key.2 = said("Combat",5) or said("Danger",5)
  111. key.7,key.3 = said("Stay alert",5) or said("Stay sharp",5)
  112. key.7,key.4 = said("Relax",5) or said("At ease",5)
  113. key.7,key.6 = said("Get up",5) or said("On your feet",5) or said("Stand up",5)
  114. key.7,key.7 = said("Stay low",5) or said("Crouch",5)
  115. key.7,key.8 = said("Go prone",5) or said("Get down",5) or said("Hit the dirt",5)
  116. key.7,key.9 = said("Copy my stance",5)
  117.  
  118. // 8 - FORMATION
  119. key.8 = said("Formation",5) or said("Form up",5)
  120. key.8,key.1 = said("Form column",5)
  121. key.8,key.2 = said("Form staggered column",5)
  122. key.8,key.3 = said("Form wedge",5)
  123. key.8,key.7 = said("Form line",5)
  124.  
  125. // 9 - TEAM
  126. key.9,key.1 = said("Assign team red",5)
  127. key.9,key.2 = said("Assign team green",5)
  128. key.9,key.3 = said("Assign team blue",5)
  129. key.9,key.4 = said("Assign team yellow",5)
  130. key.9,key.5 = said("Assign team white",5)
  131.  
  132. key.9,key.9,key.1 = said("Team red",5)
  133. key.9,key.9,key.2 = said("Team green",5)
  134. key.9,key.9,key.3 = said("Team blue",5)
  135. key.9,key.9,key.4 = said("Team yellow",5)
  136. key.9,key.9,key.5 = said("Team white",5)
  137.  
  138. // 0 - REPLY
  139. key.0 = said("Comms",5)
  140. key.0,key.8 = said("Support",5)
  141. key.0,key.0 = said("Radio",5)
  142.  
  143. end if
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement