Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * ARMA 3 Voice Commands Script for GlovePIE
- * Author: Wedge - www.youtube.com/wedgesvisions
- * Version: 1.0
- * Last Update: 6/1/2014
- * Pastebin: http://pastebin.com/0JQd9fus
- * GlovePIE Download: http://glovepie.org/glovepie_download.php
- * Based on the original script for ARMA 2 by Suchy
- */
- /*
- * Push to Talk
- * Disabled
- * To enable, remove the //
- * And edit your key
- */
- // Microphone.Enabled = mouse.XButton1
- /*
- * Say "start listening" to begin.
- */
- if said("enable voice commands",5) or said("start listening",5) then
- var.listen=true
- say("enabled")
- end if
- if said("disable voice commands",5) or said("stop listening",5) then
- var.listen=false
- say("disabled")
- end if
- if var.listen == true then
- // SELECTION
- key.Console = said("all",5) or said("squad",5)
- key.F2 = said("2",5) or said("two",5)
- key.F3 = said("3",5) or said("three",5)
- key.F4 = said("4",5) or said("four",5)
- key.F5 = said("5",5) or said("five",5)
- key.F6 = said("6",5) or said("six",5)
- key.F7 = said("7",5) or said("seven",5)
- key.F8 = said("8",5) or said("eight",5)
- key.F9 = said("9",5) or said("nine",5)
- // ITEMS
- key.b = said("Binocular",5)
- key.k,key.k = said("Compass",5) or said("Bearing",5)
- key.n = said("N V G",5) or said("Nightvision",5)
- key.m = said("Map",5)
- //key.g = said("Fire in the hole",5) or said("Grenade out",5) or said("Frag out",5)
- // MISC
- key.backspace = said("Cancel",5)
- //key.F12 = said("Screenshot",5)
- key.Enter = said("Move",5) or said("Go",5)
- // 1 - MOVEMENT
- key.1,key.1 = said("Regroup",5) or said("Return to formation",5) or said ("Fallback",5)
- key.1,key.2 = said("Advance",5)
- key.1,key.3 = said("Stay back",5)
- key.1,key.4 = said("Flank left",5) or said("Go left",5)
- key.1,key.5 = said("Flank right",5) or said("Go right",5)
- key.1,key.6 = said("Stop",5) or said("Halt",5) or said("Hold",5)
- key.1,key.7 = said("Wait",5) or said("Wait for me",5)
- key.1,key.8 = said("Find cover",5) or said("Cover",5) or said("Take cover",5)
- key.1,key.9 = said("Next waypoint",5)
- // 2 - TARGET
- key.2 = said("Target", 5) or said("Targets",5)
- // 3 - ENGAGE
- key.3,key.1 = said("Open fire",5) or said("Weapons free",5)
- key.3,key.2 = said("Hold fire",5) or said("Cease fire",5)
- key.3,key.3 = said("Fire",5)
- key.3,key.4 = said("Engage",5)
- key.3,key.5 = said("Engage at will",5)
- key.3,key.6 = said("Disengage",5)
- key.3,key.7 = said("Scan horizon",5)
- key.3,key.8 = said("Watch",5) or said("Watch direction",5)
- key.3,key.9 = said("Suppress fire",5) or said("Suppressive fire",5)
- // 3 - 8 WATCH DIRECTIONS
- key.3,key.8,key.1 = said("Watch north",5)
- key.3,key.8,key.2 = said("Watch northeast",5) or said("Watch North East",5)
- key.3,key.8,key.3 = said("Watch east",5)
- key.3,key.8,key.4 = said("Watch southeast",5) or said("Watch South East",5)
- key.3,key.8,key.5 = said("Watch south",5)
- key.3,key.8,key.6 = said("Watch southwest",5) or said("Watch South West",5)
- key.3,key.8,key.7 = said("Watch west",5)
- key.3,key.8,key.8 = said("Watch northwest",5) or said("Watch North West",5)
- // 4 - MOUNT
- key.4,key.1 = said("Disembark",5) or said("Dismount",5)
- key.1 = said("Anywhere",5)
- key.2 = said("Driver",5)
- key.4 = said("Gunner",5)
- // 5 - STATUS
- key.8 = said("Status",5)
- key.5,key.4 = said("Medic",5)
- key.5,key.5 = said("Report in",5) or said("Report status",5)
- // 6 - ACTION
- key.6 = said("Action", 5) or said("Actions",5)
- // 7 - COMBAT
- key.7,key.1 = said("Stealth",5) or said("Stay quiet",5)
- key.7,key.2 = said("Combat",5) or said("Danger",5)
- key.7,key.3 = said("Stay alert",5) or said("Stay sharp",5)
- key.7,key.4 = said("Relax",5) or said("At ease",5)
- key.7,key.6 = said("Get up",5) or said("On your feet",5) or said("Stand up",5)
- key.7,key.7 = said("Stay low",5) or said("Crouch",5)
- key.7,key.8 = said("Go prone",5) or said("Get down",5) or said("Hit the dirt",5)
- key.7,key.9 = said("Copy my stance",5)
- // 8 - FORMATION
- key.8 = said("Formation",5) or said("Form up",5)
- key.8,key.1 = said("Form column",5)
- key.8,key.2 = said("Form staggered column",5)
- key.8,key.3 = said("Form wedge",5)
- key.8,key.7 = said("Form line",5)
- // 9 - TEAM
- key.9,key.1 = said("Assign team red",5)
- key.9,key.2 = said("Assign team green",5)
- key.9,key.3 = said("Assign team blue",5)
- key.9,key.4 = said("Assign team yellow",5)
- key.9,key.5 = said("Assign team white",5)
- key.9,key.9,key.1 = said("Team red",5)
- key.9,key.9,key.2 = said("Team green",5)
- key.9,key.9,key.3 = said("Team blue",5)
- key.9,key.9,key.4 = said("Team yellow",5)
- key.9,key.9,key.5 = said("Team white",5)
- // 0 - REPLY
- key.0 = said("Comms",5)
- key.0,key.8 = said("Support",5)
- key.0,key.0 = said("Radio",5)
- end if
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement