Voice Attack - Conditional commands

Hi BigBossLuke,

Dizzy has given some examples below, but both he & I have posted our profiles in this thread that you're free to download & take a look. We both do exactly what you're describing, just in slightly different ways.

Commander Erasmus

Oh! thanks, I'm gona look for those files!

:D

Oh that is very well done, very 'elegant' logic, may I use it as is?, I'm gonna expand it's repertoire.
 
Last edited:
I'm using something similar, a voicepack of 700 commands recorded by a female voice artist. I think the one you're linking to is taking it even further. Certainly far better than the default TTS voices you get with Windows.

Anyone using VA I cannot recommend enough that you use voice samples instead of TTS for a far more involving experience. :)

That pack is good the voice is much better than the tts command that i use.

Its a great VA set-up, i don't think it has problems with keyboard syncing, as they are all 1 off commands, except the landing gear commands.

I dont use it myself as theres a lot of things there that are redundant for me , i use a hotas so i wouldn't need half the commands used for power, and i also would turn off the boost command.

see this video why :) http://www.twitch.tv/geekdomo/c/4798274
 
Almost there!

I guess (as in real life when flying an aircraft) you can match your VoiceAttack values with an initial (onboard checkup procedure), to assure your initial values are the same.

(ie. turn lights on, landing gear should be down, cargo scoop retracted, etc.)

I still have a question,
I'm not sure how to 'read' a variable's value at the beginning of the command.

Thanx for your time;)

you cant specifically read a variable but you can check its value and then do something depending on the value

You need to select Begin a Condition
Then in the panel that comes up type the variable name you want to check
then choose the type of check
Equal to, Greater than, Less than , has been set, has not been set.

If the variable matches the condition you set then the next entered commands are performed.

To end the check choose the exit condition command
 
Excellent work guys, this program is getting better and better for Elite.

What would be cool (and a little creepy) is to have a voice pack along the lines of HAL 9000
complete with some random low level sayings as if his higher functions has become temporarily disabled... :D
 
Excellent work guys, this program is getting better and better for Elite.

What would be cool (and a little creepy) is to have a voice pack along the lines of HAL 9000
complete with some random low level sayings as if his higher functions has become temporarily disabled... :D

Not sure how useful, but I think we could get that working.
 
Excellent work guys, this program is getting better and better for Elite.

What would be cool (and a little creepy) is to have a voice pack along the lines of HAL 9000
complete with some random low level sayings as if his higher functions has become temporarily disabled... :D

I think that there's some work that the ED Developers could certainly do to help, such as a key binding for Docking Requests, but even with out, it's still possible.

Can't claim any credit for VA itself, that's all down to the brilliant work that Gary Magenheimer has put into it, but I'm more than happy to help people out with their profiles if needed.
 
I think that there's some work that the ED Developers could certainly do to help, such as a key binding for Docking Requests, but even with out, it's still possible.

Can't claim any credit for VA itself, that's all down to the brilliant work that Gary Magenheimer has put into it, but I'm more than happy to help people out with their profiles if needed.

Hey, I downloaded your VA profile (the conditional demo one) to have a look at those dialogue trees you mentioned, however I don't think they were in that file. I wanted to see if maybe I can use other methods to make it a little less labour intensive on my part, so I can push out my (beta)pack somewhere around Beta 2...

Also, I'm gonna RP a Humanised Assistant-salesman, so I'll sell it for in-game creds instead of the real moneys (so until Gamma I'm just gonna publish a free and basic pack).
 
The biggest thing that FD could do to help VA users is to reduce the lag, which I know is one of their goals. That is the only thing that kills my existing scripts, because VA doesn't know that the game is responding slower and some keys get missed. For right now I have some alternative ones that use a longer delay, and sometimes that works in bad lag conditions. During combat though, you really want a fast response.
 
Hey, I downloaded your VA profile (the conditional demo one) to have a look at those dialogue trees you mentioned, however I don't think they were in that file. I wanted to see if maybe I can use other methods to make it a little less labour intensive on my part, so I can push out my (beta)pack somewhere around Beta 2...

Also, I'm gonna RP a Humanised Assistant-salesman, so I'll sell it for in-game creds instead of the real moneys (so until Gamma I'm just gonna publish a free and basic pack).

Hi Maxx, the first profile was just to show how the conditions worked, if you download my full profile & look at the 'ASTRA;Computer;Number One' command, you will see the way that I've built up a random list of phrases to use.
http://1drv.ms/1DnzNiq
 
The biggest thing that FD could do to help VA users is to reduce the lag, which I know is one of their goals. That is the only thing that kills my existing scripts, because VA doesn't know that the game is responding slower and some keys get missed. For right now I have some alternative ones that use a longer delay, and sometimes that works in bad lag conditions. During combat though, you really want a fast response.

I suppose that you could use logic to set a flag when the hardpoints are deployed. When that flag is set, use the faster commands if necessary.
 
I don't understand why you have to make things so complicated, I just have my VA set to turn lights on or off when I say lights and when I say docking it will put the landing gear up or down etc etc.
 
There's absolutely nothing wrong with using VA in that way.

Using this methodology though, it allows VA to stay in sync with ED.
It also allows the easy sharing of profiles as all that people will need to do is change the 'Key Binding' commands in their profile.

My personal aim is to try & get the computer doing as much of the work as possible when playing, and doing it intelligently - The reason for this is the role-playing element. I think in the year 3300 that voice commands would be the way you interact with a computer rather than a keyboard / buttons.

But hey, horses for courses :)
 
Hi Maxx, the first profile was just to show how the conditions worked, if you download my full profile & look at the 'ASTRA;Computer;Number One' command, you will see the way that I've built up a random list of phrases to use.
http://1drv.ms/1DnzNiq

That link still goes to the demo profile; tried to look around, but only found some nice pictures of mountain ranges :)

I don't understand why you have to make things so complicated, I just have my VA set to turn lights on or off when I say lights and when I say docking it will put the landing gear up or down etc etc.

It's an immersion thing... and I'm a perfectionist, so standard TTS doesn't do it for me.. I tried to make pronounciation as human as possible by altering the spelling, using periods and commas and editing the sound file in an audio editor; might as well go the extra mile and have different commands and responses for lights on/off as well :)


EDIT: Thanks DD, I'll have a look at those trees added reputation
 
Last edited:
Unfortunately going into super cruise auto turns your lights off as well as coming out of sc (yes you can turn your lights on in sc) so it will be out of sync. I suppose you could catch this condition though although I'm not quite sure what other "auto setting" events there might be ingame. I like the idea of the reset. I'm working on my own profile and this post was great help. From a fellow coder, thanks.
 
You would need to have two commands Lights On and Lights Off
also a variable called lights-status which you would have in an initialize systems voice command
that command would set up any variables you have for example:
(note its best to set up all your key bindings to a command, then when you want to do that keypress just execute the key bind command

Command ((Lights)) - keybinding
press key l and hold for 0.2 seconds
------------------------------------

Command Initialise Systems
set condition lights-status = 0
------------------------------------

Command Lights On
Begin Condition - lights-status = 0
execute command ((Lights))-Key Binding
set condition lights-status = 1
say lights on
End Condition and exit if condition is met
Begin Condition - lights-status = 1
say lights already on
End Condition and exit if condition is met
------------------------------------------

Command Lights Off

Begin Condition - lights-status = 0
say lights already off
End Condition and exit if condition is met
Begin Condition - lights-status = 1
execute command ((Lights))-Key Binding
set condition lights-status = 0
say lights off
End Condition and exit if condition is met
------------------------------------------

If you want to keep the keyboard synced map your lights on and off commands to the binding for your lights key and make sure the checkbox for do not allow key to be passed through is checked.

Hey, i just dont get it :)

when i map the commands to my keyboard and press the key for the lights, both commands will be executed at the same time. So theres no way of syncing my keyboard with VA. What am i missing here?
 
Hey, i just dont get it :)

Its a bad exmaple for the keys being passed through i just added that as an after thought.

I hav emy lights command set up as a toggle

LightS Command

Begin CONDITION lights-status not set
Set lights-status to 1
execute keybind lights
say "lights on"
end condition and exit if condition met

Begin CONDITION
if lights-status equal to 1
Set lights-status to not set
execute keybind lights
say"lights off"
end condition and exit if condition met

now if i say "lights voice attack turns my lights on and says "Lights On"
then it set the lights-status to 1

without the do not allow key to be passed through unset
if i use the keyboard the lights will turn off, but voice attack command won't run as the keypress is being passed through to elite.

so next time i say "lights" it will turn on the lights but say "lights off" as the keypress we didn't set our lights-status to not set, and voive attack still thinks our lights are on.

if you have do not allow key to be passed through set, the voice attack will run the command attached to the key (lights) and process the variables and key presses in that command.
so by using the keyboard you will also get the "Lights on/off" feed back with VA
 
Very interesting topic guys, I'll be trying all this stuff as soon as I can! I'll try to create sound files instead of simple TTS, so that I can apply effects on the voice to make it sound like the ship computer's. Ivona Amy is already pretty close so I'll use it as a base.

Hi,

Did you ever get around to using IVONA?

If so how did you get on, was looking at their voices today and wonder how I could use IVONA to get mp3's.

Thanks & Regards
 
Back
Top Bottom