More Complex Voice Attack Commands

Hi all,

Ive been tinkering with basic voice attack commands and want to move onto more complex (for me) refined commands. For instance, i am using only keyboard and mouse so all commands are generally keybound. So, if i wanted to go directly to messages from looking straight ahead, I would input, "press key 2, then E 3 times"'. All good...initially. However my question is this, what, if I had left the comms panel on messages already. How can I write a string to check for true and falses so that it would still go directly to messages? Maybe somehow reset the comms panel on saying "leave comms" so its ready for next time again. Once I understand the little formula, I could apply it to all commands. I've spent half the night trying to pin this down on you tube, etc. And tried a few complex profiles which unfortunately are linked to joysticks which makes them indecipherable to me. Anyone know of any complex keyboard profiles or the formula for this type of command?
 
Simple answer is you can't check what state a panel is in so it's important that any macros leave them in the state the start in. You have to do the same when you access them manually.
The most complicated one I have is for requesting docking permission and it works fine provided I don't forget and leave the left panel on contacts etc.
 

Deleted member 115407

D
What do you guys use for voice attack? I feel it would be useful for pip management.
 
I have 1 key to throw all pips to each status so with one button press im all wep or sys on eng which is great for jousting - head to head 4 pips to sys instantly throw them all to eng to spin round then as i come out the turn all to wep to rain death feels a bit cheaty but i like to pretend it was an optional extra with the conda.
 
Yes I have several pip conditions that have various voice attack commands to envoke them.

I also use it for landing gear, docking requests, hyperspace jumps, chaff, silent running and a few other things. For some odd reason I find nothing better than saying engage system jump and the FSD kicking in!
 
Last edited:
Simple answer is you can't check what state a panel is in so it's important that any macros leave them in the state the start in. You have to do the same when you access them manually.
The most complicated one I have is for requesting docking permission and it works fine provided I don't forget and leave the left panel on contacts etc.

Yeah I saw the docking request macro. It kinda turns everything into automated keypresses but leave a menu in the wrong condition and it all cocks up. With the contacts panel, I tried to return it to the default state on exit but it was very hit a miss. Dependant mainly on keystroke times and pauses between keystrokes were needed. Still didn't really work tbh.

Another thing is that I would like the program to set a value to know I have a menu open. As I can repeat "open contacts", etc. To close them as well. I saw a vid of a guy who set values to check if a media player had been opened. If it hadn't the program returned "media player not open". He then asked to open it and then to play music once open. Maybe they can be applied to ED.
 
Simple answer is you can't check what state a panel is in so it's important that any macros leave them in the state the start in. You have to do the same when you access them manually.
The most complicated one I have is for requesting docking permission and it works fine provided I don't forget and leave the left panel on contacts etc.

Sort of - it's true there is no API available that allows you to check the state of a panel, for example but there is nothing stopping you building conditions using variables to track where you are.

I had a much simpler issue with my ship lights; sometimes I use the controller, sometimes I said "Light on/off", I also noticed that VA doesn't do any validation on the state of your lights so I can say "Lights off" and VA will 'press' the ship lights button and doesn't care if my lights are on or off. Long story short - I expanded on the 'lights on' and 'lights off' commands to execute on voice AND key presses and tracked the state of my lights using a persistent variable. Rought pseudo code below.

Lights on Command
IF VAR_Lights=0
Execute Command=LIGHTSON
SET VAR_Lights=1
ELSE
Execute Command=CANNOTCOMPLY
END

Lights Off Commands
IF VAR_Lights=1
Execute Command=LIGHTSOFF
SET VAR_Lights=0
ELSE
Execute Command=CANNOTCOMPLY
END

Within the imbedded commands you're just pressing the button macro and playing some appropriate repsonses.

What I'm getting at is, using the same concept you SHOULD be able to update a variable based on your keypresses to track which panel you are in.

...did I answer your question at all or just talk about stuff?
 
Last edited:
Nice. Very nice! Would this work for panels and individual sub commands? I.e open comms. (is comms open? If not, open comms. If comms is open, do nothing) open messages. (now I guess it gets tricky. Where is the marker. 0,1,2 or 3 keypresses from message tab). Or maybe reset to the first tab on the menu on exit so the amount of keypresses will always be 2 (or 3, can't remember) to get to messages. I do hope it's achievable. It will make things very tidy and immersive.
 
all these things are very doable with voiceattack but it's a very complicated matter to track the panel states reliably. You could always spend £10 and buy Astra from HCS Voicepacks and you'll get profiles with it that have already been written to do this and more for you.
 
I have Astra (with Orion) but the problems in this thread are relevant too, because even these macros can't update with the correct values if you happen to navigate the panels with the joystick/keyboard instead of voice commands (that can be tracked with VA variables). Later at home I'll try DowntownSix advices to see if they can solve the problem (expand VA commands to be executed also by keystroke, not only voice).
Anyway, I'm surprised no one mentioned one of the uses i find more useful for VA, that is, automatically scan the system without the need to keep the scanner button pressed!
 
OP, have you looked on the VA Forum? They have a section to upload VA Commands. There might be something of interest in there for you to copy and learn from.

Merry Christmas
 
The most complicated one I have is for requesting docking permission and it works fine provided I don't forget and leave the left panel on contacts etc.

I have the same issue, though it assumes the left hand panel is set to the first tab, works fine until you get 'Docking Denied' :(
 
What do you guys use for voice attack? I feel it would be useful for pip management.

Wing commands, like select wingman, lock wingman wake.
Fighter commands.
Landing gear, cargo scoop, lights.
Switching firegroups, pip management.
Switching to the comms panel, galmap, sysmap, contacts, right hud.
Check cargo on ship.
ETC.
But most importantly:
Play Music!!!

For pip management, as example, i generally have VA start
"equalizing pips" and then record the presses from there on.

For switching between panels generally i have adapted,
and set the whole commands to work when i am focussed on the HUD.
 
Last edited:

Deleted member 115407

D
Thanks, everybody. I meant what software do you use? Still appreciate the feedback, as it has given me ideas.
 
What do you guys use for voice attack? I feel it would be useful for pip management.

It's great for pip management and you don't even need to bind it to a voice command.

I've bound Sys, Eng & Weps to left, top and right of my sticks top-hat. I have the command repeat 4 times so that with a simple flick I can max out any of these leaving two pips in the last bank that was maxed out.

I can switch between assignments on the fly quite easily. Because it repeats 4 times it produces a "clean" 2-4 assignment from any previous combo. I also have the balanced assignment on top-hat down.
 

Deleted member 115407

D
It's great for pip management and you don't even need to bind it to a voice command.

I've bound Sys, Eng & Weps to left, top and right of my sticks top-hat. I have the command repeat 4 times so that with a simple flick I can max out any of these leaving two pips in the last bank that was maxed out.

I can switch between assignments on the fly quite easily. Because it repeats 4 times it produces a "clean" 2-4 assignment from any previous combo. I also have the balanced assignment on top-hat down.

Do you have a preferred software for it?
 
all these things are very doable with voiceattack but it's a very complicated matter to track the panel states reliably. You could always spend £10 and buy Astra from HCS Voicepacks and you'll get profiles with it that have already been written to do this and more for you.


Yeah I got Astra, I just wanted to actually understand how and why things happen. I checked one of the basic astra profiles but it was at 5am in the morning and I couldn't compute. A lot of them were still the basic keypress commands though.

- - - Updated - - -

OP, have you looked on the VA Forum? They have a section to upload VA Commands. There might be something of interest in there for you to copy and learn from.

Merry Christmas

Originally, I wanted to ask here in case anyone had a bespoke command set ready to go. I will post on the VA forum at least to try to understand or get some insight into the complex command variables,etc. Would be nice to have a good set of in depth command profiles for both keyboard and joystick users though. Something we can build from. Merry Christmas to you!! :)
 
Last edited:
Back
Top Bottom