If you use Voice Attack to do voice control for MSFS, this free plug-in will give you the ability to trigger additional actions (i.e. set the radio frequency) in Microsoft Flight Simulator 2020 as well as get game state information back (i.e. status of landing gear).
Using the variables, you can do conditional logic (i.e. if "Sim_On_Ground" don't allow landing gear up, etc.) or include additional information in spoken text (i.e. if "Local_Time" is > 5pm say "Good evening" else "Good day").
My favorite is being able to say "Nav1 at 120.5" to set the radio without having to reach for the mouse or mess with the keyboard, especially in VR.
Features
- Ability to set COM, NAV, and ADF Radios (active and and standby)
- Ability to set most Autopilot functions : Heading, Vertical Speed, Altitude, Air Speed, ...
- Ability to set the Transponder code
- Ability to toggle each of the different types of lights : Nav, Beacon, Strobes, Cabin, Taxi, Landing, ...
- Extracts 50+ sim data points into Voice Attack variables
Dependencies
- Microsoft Flight Simulator 2020 (any version)
- SimConnect (already included in the project, no install needed by you)
- Voice Attack 64-bit (free or paid) - required because SimConnect only comes in 64-bit
Who is this for?
Microsoft Flight Simulator 2020 users who want to use Voice Attack commands to control things they can't already do with keyboard commands (i.e. set a radio frequency). It's even more useful now that MSFS supports VR ????
Getting setup
- Ensure you have the 64-bit version of Voice Attack installed (check the window tile in the Options window)
- Extract the zip file and copy the MSFSAgent folder to your Voice Attack "apps" folder (i.e. C:\Program Files\Voice Attack\apps\MSFSAgent\)
- Important: it must be in it's own folder in the apps directory (i.e. Voice Attack/apps/MSFSAgent/ not Voice Attack/apps/)
- Esure "Enable Plug-in Support" is enabled in Voice Attack (go to Options (wrench icon) > General)
- In the profiles where you want to use the agent, add a Voice Attack command for "MSFS Agent". If the agent doesn't see this command, it won't do anything. This is to prevent the agent using cycles on profiles it's not needed on.
- Restart Voice Attack and you should be good to go!
Optional : Import the example profile
In the zip file there is an example Voice Attack profile (.vap file) with commands for setting radios and using the variables. You can copy these commands into your existing profiles if you want or extend the example.
How to use
The detailed list of events and variables available + how to use them is maintained on the project's Github page:
https://github.com/jamescl604/MSFSVoiceAttackPlugin
Are you new or just getting started with Voice Attack?
I highly recommend checking out Virtual Voyagers Immersive Aviation video. He has a profile you can download that has pretty much every voice command you can imagine for MSFS. You can use my plugin and profile to extend his to cover the radios, etc.
15 Comments
AndyCYXU
Great idea but all i get when setting the autopilot altitude is a response "altitude set to not set" lol
I installed as per your directions and copied your commands to my existing profile in VA, but yeah all i get is a response "*something* set to not set" so it understands something but not doing anything. I tried in FBW A320 and in B787 maybe it doesn't work with these. Thanks
1. Make sure you're running the 64-bit version of Voice Attack
2. Inside Voice Attach, go to settings, General tab, Plug-in Manager. See if there is an entry for MSFS Agent. If it's not there, it's related to #1 or re-check where the files were installed (needs to be sub-folder of the VA add-ons folder)
If it's still not working, let me know and we can debug.
Scotty
I am a beginner concerning programming! When I imported the Profile and have it activated in my profile,should I be able already to use commands like :Set NAV1 to 119.12 , or do I have to fill in the command lines seen in the picures on github? Things like {TXTNUM:"{TXTWORDTONUM:"{CMD_AFTER}"}"}?? I am totally confused.
You can also alter that command to how you'd like to do the command. Just open the command and change the "What I say" text at the very top. Leave the rest of the command as is.
I found Voice Attack had a hard time understanding when I say "Set" so I have the best luck for my voice using "Nav one at 119 point 6".
The voice attack manual has more instructions. A good tip is to go through the Windows Speech training so the recognizer can do a better job understanding you.
andrewfoss01
Can't get it to work...I am using the steam version of Voice Attack. Not sure if thats the issue. I placed folder under:
C:\Program Files (x86)\Steam\steamapps\common\VoiceAttack\Apps
When checking the commands in voice attack it says UNABLE TO ACCESS PLUGIN - PLUGIN NOT AVAILABLE
To confirm which Voice Attack version you have installed, go to the Options UI (wrench icon). The window title should say "64-bit".
If you have that and it's still not working, make sure you've checked the "enabled plugins" option in Voice Attack (also on the General tab).
If neither solve the issue, let me know.
gsdovah
This is a great Voiceattack plugin - thank you ! Still i'm struggling to make the spoken frequency changes work, like say frequency directly. Before the VR mode came to MSFS i've started to build a Voiceattack profile - but i wanted to use a lot of commands for ATC talk - so it would sound like i give an order to the copilot. It works many times, but not all the time, because some ATC selection numbers for ATC listed orders are changing, depending on the situation. Would it be possible to actually read what text is listed in events ATC 1 to ATC 0 (ATC window selections) ? If yes, then this maybe could be compared in Voiceattack to fit the spoken orders and add the fitting keypress ...
JohnVulcan
This looks great and just what I'm after for VR, however having checked on the VoiceAttack website, it appears that currently the only 64 bit version is actually in Beta. Is this the version you are expecting to use with your plug-in?
michelh
When I try try to import the profile i get this message.
The profile you are importing contains actions that execute applications, execute inline functions, execute plugin functions and/or kill processes.
This potentially dangerous to your system. Import anyway?
MawaCiN
Thank You ! This is Amazing !