Megatherion
2 discussion posts
I made myself a basic ETS2 / ATS profile that controls pretty much all keyboard commands; it is attached. What I would like is the ability to change the cruise control by a number set by a voice command: eg: Say "Increase By (#) / Decrease By (#)" ; where (#) would be the spoken number to increase / decrease the cruise control by; with (#) ranging anywhere from 1 to 100. eg2: Say "Increase By 20 / Decrease By 20" would Increase / Decrease the cruise control current value by 20. I am hopeful those of you capable of understanding the VoiceBot Macro Script programming could do this. I am familiar with LUA scripting and the VoiceBot Macro Scripts I have looked at (C#) look similar; so I am hoping to learn how to program VoiceBot Macro Scripts in the future by examining and understanding other macro scripts; but especially a macro script that would accomplish the above. In the attached profile, currently Increase By and Decrease By only increase / decrease the cruise control current value by 1 with simple key presses-(keybinds in game are set to comma=Cruise Control Speed Decrease and period=Cruise Control Speed Increase).
If anyone here could (please) program a macro script to do this, please comment everything in the script so I will be able to learn / understand it. I would really appreciate any help with this by anyone here.
About a year ago I did a similar script. You can download it from the repository. Maybe there's not quite everything comments, but I think it will not be difficult to understand. If something is not clear\not obvious, you can always ask a question, I will try to answer.
Download.PNG
Download2.PNG