Recent Posts

Pages: [1] 2 3 ... 10
1
Profile Uploads / Re: Assetto Corsa Plugin or Profile Commands?
« Last post by Pfeil on October 18, 2018, 10:56:26 pm »
I'm not personally aware of a ready-made plugin like that for VoiceAttack, however, there is an application unrelated to VoiceAttack that may be of use to you: The Crew Chief.

Note that this application is not affiliated with VoiceAttack, and as such support for it is only available on their forum.
2
Inline Functions / Re: AutoHotkey "Integration" with VoiceAttack
« Last post by mikauzora on October 18, 2018, 12:53:55 pm »
Dude i just met VA, like 1 week ago, and was craving to integrate it with ahk.

Inserting input with "quickinput" is nice, but does not feel awsome yet. your idea was just what i needed.

ill check out and give feedback soon!

Thank you!
3
How Do I? / Re: Code review please for a toggle setting that's tracked.
« Last post by Pfeil on October 17, 2018, 09:18:01 pm »
One change to make is to use "Else If" and "Else" instead of individual conditional blocks for each check.

E.G.
Code: [Select]
Begin Boolean Compare : [SETABool] Equals True
    Write [Green] 'SETA On' to log
    Say, 'Time compression, is set to on.'
End Condition - Exit when condition met
Begin Boolean Compare : [SETABool] Equals False
    Write [Red] 'SETA Off' to log
    Say, 'Time compression, is set to off.'
End Condition - Exit when condition met
Begin Boolean Compare : [SETABool] Has Not Been Set
    Write [Yellow] 'SETA Not Set' to log
    Say, 'Time compression, is not set.'
End Condition
Becomes
Code: [Select]
Begin Boolean Compare : [SETABool] Equals True
    Write [Green] 'SETA On' to log
    Say, 'Time compression, is set to on.'
Else If Boolean Compare : [SETABool] Equals False
    Write [Red] 'SETA Off' to log
    Say, 'Time compression, is set to off.'
Else
    Write [Yellow] 'SETA Not Set' to log
    Say, 'Time compression, is not set.'
End Condition
As a boolean value can only have three states, you can check for two of those states, and by eliminating those possibilities, it can only be the remaining state.

This is more efficient as you eliminate a check, and VoiceAttack has to process fewer actions for the same end result. It's also easier to read(once you're familiar with the concept), as it clearly shows which actions belong to the same conditional chain.


You also have a few commands where the last action is
Code: [Select]
End Condition - Exit when condition met

This is unnecessary, as a command will stop when the end of the action list is reached(provided no "Repeating" options are used, which are off by default).


It may be worth having a look at this topic, which attempts to explain some of these concepts.
4
Profile Uploads / Assetto Corsa Plugin or Profile Commands?
« Last post by MikeJeffries on October 17, 2018, 07:00:45 pm »
Does anyone have something like Digital Race Engineer, but for Assetto Corsa?
Or has anyone created a profile with the typical commands that I can possibly use?
i.e. Fuel Changes and calculations, Lap Timers, Temperatures, etc.?

Any help would be appreciated.
5
How Do I? / Code review please for a toggle setting that's tracked.
« Last post by Forlarren on October 17, 2018, 06:05:11 pm »
How do I clean up my working but messy scripts?

I posted this on reddit but I'm also looking for help here.

https://old.reddit.com/r/X3TC/comments/9p0wmq/seta_how_do_you_say_that/


I just started playing X3AP. And there is a setting to accelerate time with the "j" key.

But I wanted a natural language interface synchronized state tracking between the game and VA.

https://drive.google.com/open?id=1_xrnBVYkW_V8FtoObho8SfCUajRzzoE8

There is voice feedback and log reports for debugging, you don't need the game to play it, just notepad so you can see when the "j" key is being pressed or not.

I'd like to know where I can improve the speed/efficiency of the scripts. And have I done the spoken commands correctly?

Everything technically works as I wanted it to, so the basic logic is sound, but I'm sure there are better ways.

Hopefully this will lead to a full X3AP Profile.

Thank you for your time.
6
Issues / Re: Beta 1.7.2.24 Joystick Global Hotkeys Issue.
« Last post by Gary on October 15, 2018, 07:16:50 pm »
It might be good for me to put some narrative in there... maybe something like, 'This is overridden in your current profile' or something like that.
7
Issues / Re: Beta 1.7.2.24 Joystick Global Hotkeys Issue.
« Last post by Antrys on October 15, 2018, 07:06:44 pm »
Jeez-o-Pete I'm a moron. <FACEPALM>

Yup, that was it.  I don't remember setting that, but there it was.

Thanks, sorry about the useless post.
8
Issues / Re: Beta 1.7.2.24 Joystick Global Hotkeys Issue.
« Last post by Gary on October 15, 2018, 07:03:35 pm »
For the profile you are using, is there anything set in the profile options for joystick, 'hotkeys'?  If so, that will override whatever is set for global.
9
Issues / Beta 1.7.2.24 Joystick Global Hotkeys Issue.
« Last post by Antrys on October 15, 2018, 06:56:06 pm »
This problem happens on Betas 1.7.2.21-1.7.2.24 for me. (I had not installed previous betas from this version, so I don't know how far back it goes)
 
No matter what I set it at, it always behaves as a toggle.
I would like it to work as PTT, but all settings give me a toggle.
10
How Do I? / Re: Voice packs not showing on start up
« Last post by TheThingIs on October 15, 2018, 08:19:22 am »
Download them again to get the latest updates for the sounds.
Pages: [1] 2 3 ... 10