Vocal commands with "Shoot" [speech recognition]

Users who are viewing this thread

Well, first of all, a huge thanks and bow to azrael_valedhel for the idea. It's hard to get this working but, in my opinion, it's totally worth it! I've been shouting at the monitor for the last two hours, trying to get this working and finally I did. Thanks to Cleidophoros as well, because I had to install the .NET 1.1 fix he provided.

So, now, to the real deal. For those who can't seem to get the software working, try training with the Shoot voice processor a bit, and then in the .xml file change the hotkey for speech recognition, cuz LeftCtrl is used for cheats too  :twisted: (personally, I use 'z'). I deleted a few commands from azrael_valedhel's .xml and added a few of mine for talking with people (elders, sirs, ladies, etc.), dismount and mounting own horse, picking stuff up and opening chests (plus I think that makes all the actions available in the game...)

<?xml version="1.0" encoding="iso-8859-1" ?>

<shoot-config>
  <command-list>
      <command name="Show map" phrase="show map">
        <key type="Backspace" />
      </command>
      <command name="Close map" phrase="hide map">
        <key type="Backspace" />
      </command>

      <command name="Everyone!" phrase="everyone">
        <key type="1" />
      </command>
      <command name="Infrantry!" phrase="infrantry">
        <key type="2" />
      </command>
      <command name="Archers!" phrase="archers">
        <key type="3" />
      </command>
      <command name="Cavalry!" phrase="cavalry">
        <key type="4" />
      </command>
     
      <command name="Stand your ground!" phrase="hold your ground">
        <key type="F1" />
      </command>
      <command name="Set up defence here!" phrase="set up defence line">
        <key type="F1" />
      </command>
     
      <command name="Follow me!" phrase="with me">
        <key type="F2" />
      </command>
     
      <command name="Charge!" phrase="charge">
        <key type="F3" />
      </command>
      <command name="Crush them!" phrase="crush them">
        <key type="F3" />
      </command>
      <command name="Kill them all!" phrase="kill them all">
        <key type="F3" />
      </command>

      <command name="Dismount horses!" phrase="dismount">
        <key type="F4" />
      </command>
      <command name="On your horses!" phrase="on your horses">
        <key type="F4" />
      </command>
     
      <command name="Hold your fire!" phrase="hold your fire">
        <key type="F5" />
      </command>
      <command name="Fire at will!" phrase="fire at will">
        <key type="F5" />
      </command>

      <command name="Advance!" phrase="advance">
        <key type="F6" />
      </command>

      <command name="Fall back!" phrase="fall back">
        <key type="F7" />
      </command>

      <command name="Stand closer!" phrase="stand closer">
        <key type="F8" />
      </command>

      <command name="Spread out!" phrase="spread out">
        <key type="F9" />
      </command>

      <command name="Use blunt weapons!" phrase="use blunt weapons">
        <key type="F11" />
      </command>
      <command name="Use all weapons!" phrase="use all weapons">
        <key type="F11" />
      </command>
   
      <command name="Talk" phrase="hello">
        <key type="f" />
      </command>
      <command name="Equip" phrase="pick it up">
        <key type="f" />
      </command>
      <command name="Dismount" phrase="step off">
        <key type="f" />
      </command>
      <command name="Mount" phrase="mount">
        <key type="f" />
      </command>
      <command name="Open" phrase="open chest">
        <key type="f" />
      </command>

  </command-list>

  <!-- configure your  push-to-talk  key here: -->
  <push-to-talk initial-state="off">
      <hold on-press="enable">
        <key type="z"/>
      </hold>
  </push-to-talk>

  <sounds>
      <sound type="recognized" source="recognized.wav" volume="100" pan="0"/>
  </sounds>
</shoot-config>

Change it as you like. And post it here, I'd like to see more ideas on fun sentences to shout while my parents argue whether or not they should send me to a hospice...

Cumpz
 
Hey guys I found a thing that works, After an hour or so at screaming at my troops and it working 1/2 th the time, I changed it to RUN THE F**K AWAY YOU A@@HOLES! and Its retreat and KILL THOSE DUDES for charge lol
 
Heh, I am doing this for a looong time already with GlovePIE.

I haven't tried Shoot yet, but I know that GlovePIE has a 99% match rate of what I am saying, and I have a strong Dutch accent. I also think that in GlovePIE it is easier to configure new commands than in Shoot, if I look at the .xml file.

I'll try out Shoot when I get home this evening, so I can make an honest comparison. If I find GlovePIE to be much better, I'll post some instructions here how to set it all up.
 
I have done everything in the spoiler to get this to work but still i got the same message as Kleidophoros!

To bad.....>.<
 
Not to mess you people who got this working but i need help
I installed this and after i did i desided i dident want it so i uninstalled it, and for some reason  when i try and play mount&blade Boxes appear and here is what thay say.

This is the 1st box "Not enough video memory.
                            Switiching to the reference rasterizer,
                            a software device that implements the entire Direct3D
                            feature set, but runs vary slowly."

This is the 2nd after i hit the ok button on the first
"Warning:Nothing will be rendered.
The reference rendering devise was selected,
but your computer only has a reduced-functionality reference device installed
(then something about install Direct SDK to get the full reference device)"

And here is the 3rd box after i hit ok on the 2nd
"Generic application error. Enable debug output for detailed information.

This sample will now exit"

Then i hit ok and it goes to my decktop. i got this error after i downloaded this so i guess this is the right place to put it. if not tell me and i will repost this somewere more sutable.
 
ignore my posts above

i figured it all out myself :grin:
and now it works perfectly

this is awesome!!!

"archers, defend here!"

and they actually do it :grin:
 
i've encountered a bug

if you use this with mount and blade

dont use 'hold left ctrl to speak' (LeftControl)

then you only will be able to shout "Everyone!" even if you say "archers"

i'm not sure if other people then me have this bug

but i do have it


so if you also have this problem, just adjust the script and instead of LeftControl, use Z or something else :razz:

i'm using this script, take a look at it, if you like it you can use it :smile:  or just change it if you want to :razz:
(i'm using 'hold Z to speak')

this works PERFECTLY  :cool:   

  <?xml version="1.0" encoding="iso-8859-1" ?>
- <shoot-config>
- <command-list>
- <command name="Show map" phrase="show map">
  <key type="Backspace" />
  </command>
- <command name="Close map" phrase="hide map">
  <key type="Backspace" />
  </command>
- <command name="Everyone!" phrase="everyone">
  <key type="1" />
  </command>
- <command name="Infrantry!" phrase="infrantry">
  <key type="2" />
  </command>
- <command name="Archers!" phrase="archers">
  <key type="3" />
  </command>
- <command name="Cavalry!" phrase="cavalry">
  <key type="4" />
  </command>
- <command name="Stand your ground!" phrase="stand your ground">
  <key type="F1" />
  </command>
- <command name="Set up defence here!" phrase="defend here">
  <key type="F1" />
  </command>
- <command name="Follow me!" phrase="follow me">
  <key type="F2" />
  </command>
- <command name="Charge!" phrase="charge">
  <key type="F3" />
  </command>
- <command name="Crush them!" phrase="crush them">
  <key type="F3" />
  </command>
- <command name="Kill them all!" phrase="kill them all">
  <key type="F3" />
  </command>
- <command name="Dismount horses!" phrase="dismount">
  <key type="F4" />
  </command>
- <command name="On your horses!" phrase="on your horses">
  <key type="F4" />
  </command>
- <command name="Hold your fire!" phrase="hold your fire">
  <key type="F5" />
  </command>
- <command name="Fire at will!" phrase="fire at will">
  <key type="F5" />
  </command>
- <command name="Advance!" phrase="advance">
  <key type="F6" />
  </command>
- <command name="Fall back!" phrase="fall back">
  <key type="F7" />
  </command>
- <command name="Stand closer!" phrase="close">
  <key type="F8" />
  </command>
- <command name="Spread out!" phrase="open">
  <key type="F9" />
  </command>
- <command name="Use blunt weapons!" phrase="use blunt weapons">
  <key type="F11" />
  </command>
- <command name="Use all weapons!" phrase="use all weapons">
  <key type="F11" />
  </command>
- <command name="Talk" phrase="hello">
  <key type="f" />
  </command>
- <command name="Equip" phrase="pick it up">
  <key type="f" />
  </command>
- <command name="Dismount" phrase="step off">
  <key type="f" />
  </command>
- <command name="Mount" phrase="mount">
  <key type="f" />
  </command>
- <command name="Open" phrase="kut">
  <key type="f" />
  </command>
  </command-list>
- <!--  configure your  push-to-talk  key here:
  -->
- <push-to-talk initial-state="off">
- <hold on-press="enable">
  <key type="z" />
  </hold>
  </push-to-talk>
- <sounds>
  <sound type="recognized" source="recognized.wav" volume="100" pan="0" />
  </sounds>
  </shoot-config>
 
I'm sorry but i could not understand what this mod is about?Is there some voice in-game when we order our men or?
 
Back
Top Bottom