Using Glove Pie for Voice Commands in Games

Glove Pie is a free bit of software that lets you emulate keystrokes and mouse buttons using various different input devices. Such devices include microphone (voice input) keyboard, mouse, and even specialised controllers such as Wiimote and PS3 controllers, and many others.
With it you're able to do virtually any kind of "script" or command using your chosen input device. A simple example of this is being able to "shoot" in a football game whenever you say the word "shoot" through your microphone.
The program is separated into two different methods for creating your commands. The simplest, albeit slightly restricted, way of doing it is using the GUI and selecting what you want to do from the drop-down menus. After doing so it is then turned into a proper script which you are able to see and edit if you so wish. Once you gain sufficient knowledge of how the scripts and commands are written, you can start writing them from scratch.
Please add and share your own scripts in the comments section below.
Download at: http://glovepie.org/glovepie_download.php


7 Comments
Mouse.RightButton = KeepDown(Microphone.Said("shoot one"), 0.35)
Mouse.RightButton = KeepDown(Microphone.Said("shoot two"), 0.5)
Mouse.LeftButton = KeepDown(Microphone.Said("lob one"), 0.45)
Mouse.LeftButton = KeepDown(Microphone.Said("lob two"), 0.6)
Mouse.LeftButton = KeepDown(Microphone.Said("lob three"), 0.75)
Mouse.LeftButton = Pressed(Microphone.Said("pass"))
Keyboard.A = (Microphone.Said("tackle"))
http://www.powersoccer.com/
if said("forwards") then
Keyboard.Up = true
endif
if said("block") then
Keyboard.Up = false
endif
if said("jump") then
Keyboard.Space = True
Keyboard.Space = false
endif
if said("crouch") then
Keyboard.C = True
endif
if said("stand") then
Keyboard.C = False
endif
Based on a script by Alex (Mr VM) Kostov
if said("left") then
Keyboard.Right = false
Key.Left = true
wait 0.45
Keyboard.Left = false
endif
if said("right") then
Key.Left = false
Keyboard.Right = true
wait 0.45
Keyboard.Right = false
endif
if said("stop") then
Keyboard.Left = false
Keyboard.Right = false
Keyboard.Down = false
endif
if said("reverse") then
Keyboard.Down = true
Keyboard.Up = false
endif
if said("accelerate") then
Keyboard.Up = true
Keyboard.Down = false
endif
if said("block") then
Keyboard.Up = false
endif
Glove Pie looks interesting - I've previously come across AutoHotKey (http://www.autohotkey.com/) which is a similar scripting tool for controlling key presses and clicks, but it's cool that you can do the same thing with voice!
Thanks for giving Alt Controller a try, I'll try to fix the screen resolution issues you had.
Cheerio!
AutoHotKey is what I've been using for quite a while now, but unfortunately it's very difficult to activate with voice commands. Anything else it's brilliant (I've only really used it for remapping keys/mouse buttons & text macros). GP's got the added bonus of having voice-activated control, so it's got my vote overall :)
Thanks very much! :)
Click here to sign up now.