Jump to content

Woo Successfully Got In A Game


20 replies to this topic

#21 Burktross

    Member

  • PipPipPipPipPipPipPipPipPip
  • Bad Company
  • 3,663 posts
  • LocationStill in closed beta

Posted 07 November 2014 - 07:27 AM

Hey, need some help clicking? Here's some custom, reliable scripting software for voice recognition.
http://glovepie.org/

It requires easy to learn coding. Here's a script I concocted for communication purposes and targetting.
//Intro
if said("Alpha, Say Introduction", 5)  then
   type("yHello everyone.  I'd just like to let y'all know-- I'm using voice --> Text software.  so bear with me if what I say is wonky or incomplete.")
   Press Keyboard.enter
   Release Keyboard.enter
   endif
//Targetting commands
Keyboard.r=said("Target that mech", 5) or said("Target", 5) or said("Lock on", 5) or said("Engage lock", 5) or said("Lock on target", 5)
//Firing commands
Keyboard.5=said("Fire group 2", 5) or said("Fire missiles", 5) or said("Missles", 5) or said("Group 2", 5)
Keyboard.1=said("Fire group 4", 5) or said("Fire alternate", 5) or said("Fire allt", 5) or said("Fire alt", 5) or said("Alt", 5) or said("Alternate", 5) or said("Streak SRMs", 4) or said("Streak", 4)
Keyboard.Backslash=said("Alpha Strike", 4) or said("Alpha Fire", 4) or said("Unload", 4)
//Movement commands
Keyboard.x=said("Stop", 5) or said("Halt", 5)
Keyboard.c=said("Torso", 5) or  said("Center torso", 5)
Keyboard.f=said("Legs", 5) or said("Center legs", 5)
//Neurohelm Commands
Keyboard.n=said("Nightvision", 5) or said("Night", 5) or said("Nightvision on", 5) or said("Night on", 5) or said("Nightvision off", 5) or said("Night off", 5)
Keyboard.h=said("Heatvision", 5) or said("Heat", 5) or said("Heat vision on", 5) or said("Heat on", 5) or said("Heat vision off", 5) or said("Heat off", 5) or ("Thermal vision", 5) or said("Thermal", 5) or said("Thermal vision on", 5) or said("Thermal on", 5) or said("Thermal vision off", 5) or said("Thermal off", 5)
Keyboard.b=said("Battle grid", 1) or said("Map", 1)
//Utility Commands
Keyboard.p=said("Power on", 5) or said("Power off", 5) or said("Shut down", 5)
if said("Override", 5) or said("Override shutdown", 5) or said("Shutdown override", 5)  then
   Press Keyboard.Console
   wait 15 s
   Release Keyboard.Console
   endif
Keyboard.g=said("Flush coolant", 4) or said("Flush", 4) or said("Cool Shot", 4) or said("Coolant", 4)
//Communications
  //Start or End
if said("Alert") or said("Warning")  then
   Press Keyboard.y
   Release Keyboard.y
   endif
if said("Over",4)  then
   press keyboard.Enter
   release keyboard.Enter
   endif
   //Diologue
if said("enemy",4)  then
   type("enemy ")
   endif
if said("enemies",4)  then
   type("enemies ")
   endif
if said("Watch out",4)  then
   type("watch out: ")
   endif
if said("lance",4)  then
   type("lance ")
   endif
if said("in",1)  then
   type("inside of ")
   endif
if said("beyond",1)  then
   type("beyond ")
   endif
if said("ridge",1)  then
   type("ridge ")
   endif
if said("hill",1)  then
   type("hill ")
   endif
if said("building",4)  then
   type("building ")
   endif
if said("that building",4)  then
   type("that building ")
   endif
if said("all of them",4)  then
   type("all of them")
   endif
if said("are moving",4)  then
   type("are moving to ")
   endif
if said("is moving to",4)  then
   type("are moving to ")
   endif
if said("is charging",4)  then
   type("is charging ")
   endif
if said("are charging",4)  then
   type("are charging ")
   endif
if said("our position",4) or said("our location",4)  then
   type("our position ")
   endif
if said("behind",4)  then
   type("behind ")
   endif
if said("behind us",4)  then
   type("behind us ")
   endif
if said("are flanking",4)  then
   type("are flanking ")
   endif
if said("is flanking",4)  then
   type("is flanking ")
   endif
if said("flanking",4)  then
   type("flanking ")
   endif
if said("our right",4)  then
   type("our right ")
   endif
if said("our front",4)  then
   type("our front ")
   endif
if said("our left",4)  then
   type("our left ")
   endif
if said("their right",4)  then
   type("their right ")
   endif
if said("their front",4)  then
   type("their front ")
   endif
if said("their left",4)  then
   type("their left ")
   endif
if said("stop",4)  then
   type("stop pushing ")
   endif
if said("fall back",4)  then
   type("fall back ")
   endif
if said("fall back to",4)  then
   type("fall back to")
   endif
if said("regroup",4)  then
   type("regroup ")
   endif
if said("regroup at",4)  then
   type("regroup at ")
   endif
  //Grid Locations
if said("A",4)  then
   type("A")
   endif
if said("B",4)  then
   type("B")
   endif
if said("C",4)  then
   type("D")
   endif
if said("E",4)  then
   type("E")
   endif
if said("F",4)  then
   type("F")
   endif
if said("G",4)  then
   type("G")
   endif
if said("H",4)  then
   type("H")
   endif
if said("I",4)  then
   type("I")
   endif
if said("J",4)  then
   type("J")
   endif
if said("K",4)  then
   type("K")
   endif
 
if said("1",4)  then
   type("1")
   endif
if said("2",4)  then
   type("2 ")
   endif
if said("3",4)  then
   type("3 ")
   endif
if said("4",4)  then
   type("4 ")
   endif
if said("5",4)  then
   type("5 ")
   endif
if said("6",4)  then
   type("6 ")
   endif
if said("7",4)  then
   type("7 ")
   endif
if said("8",4)  then
   type("8 ")
   endif
if said("9",4)  then
   type("9 ")
   endif
if said("10",4)  then
   type("10 ")
   endif
if said("11",4)  then
   type("11 ")
   endif
if said("12",4)  then
   type("12 ")
   endif
//Mechs
if said("light",4)  then
   type("light ")
   endif
if said("lights",4)  then
   type("lights ")
   endif
if said("medium",4)  then
   type("medium ")
   endif
if said("mediums",4)  then
   type("mediums ")
   endif
if said("heavy",4)  then
   type("heavy ")
   endif
if said("heavies",4)  then
   type("heavies ")
   endif
if said("assault",4)  then
   type("assault ")
   endif
if said("assaults",4)  then
   type("assaults ")
   endif
if said("die ash e",1) or said("dire wolf",1)  then
   type("diashi ")
   endif
if said("atlas",1)  then
   type("atlas ")
   endif
if said("ankle biter",4)  then
   type("ankle biter ")
   endif
if said("ankle biters",4)  then
   type("ankle biters ")
   endif
 


Word to the wise.
Say you have two commands.

if said("ankle biter") then
type("ECH ")

if said("ankle rider") then
type("GROSS ")

You'll come across conflictions because glovepie doesn't hesitate in executing commands. To avert this, add a command that makes the speech to text engine recognize the whole phrase first before executing.

if said("ankle biter",4) then
type("ECH")
if said("ankle rider",4) then
type("GROSS")

That 4 makes it wait till you're done talking.
Good luck out there!

Edited by Burktross, 07 November 2014 - 07:32 AM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users