SparkerInVR
-
Posts
15 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Posts posted by SparkerInVR
-
-
6 hours ago, John Dowson said:
A final update from VoiceAttack:
Sorry, can't attach the image, but you need to select 'Send Command to this target' and then select to enter in the text box (not Active Window) and enter +AceApp - which is the windows class name of MSFS.
I think the issue may be that the lua Wnd window has the focus when being updated, and as it is updating several times a second, your input is going to the lua window. Explicitly stating that it should go to the FS window should resolve your issue (although i have not tested, sorry!).
I will test this as soon as I get a chance.
I changed from "Microsoft Flight Simulator - *" to "+AceApp" and Active Window was not selected.
It made no difference into how My Lua script interacted with MSFS using FSUIPC7.
I guess this was just a bad idea and now fully understanding what I can do with FlyWithLua in X-Plane cannot be realized in MSFS. It is a shame but will look for other solutions to do what I am trying to do.
Thanks Bill
-
After selecting a flight plan and clicking on the first fly button the Lua script window is now displayed.
When I give a voice command you can see that the Lua script window takes focus from other windows.
So I have the focus on the MSFS window and when I say "VR Mode" the focus leaves it and moves to the Lua script window.
Without the Lua script window open and I have the FSUIPC7 window open and having focus when I say "VR Mode" the focus goes to MSFS.
So with the Lua script window open and either having FSUIPC7 or MSFS with the focus the Lua script will always get the focus when I say a Voice Attack command.
Bill
-
With the new version my script is starting when "New Activities" is displayed.
Since sim update 3 VR is such a mess I am not using MSFS till they can get this resolved.
-
3 hours ago, John Dowson said:
Do you mean that the text in the wnd window is flashing?
Strange....or do you mean the usual windows flashing that occurs when there is new input?The text is being re displayed at rate of about 2 to 3 time a second.
3 hours ago, John Dowson said:Did you try, as I have asked, giving the window focus back to the FS or FSUIPC before activating the button? If not, please do so and let me know the result.
After the Lua script window is being displayed I was at the Select Departure Airport in the search box and entered many letters than gave a voice command and at that point I could no longer enter any letters because the focus was somewhere else.
3 hours ago, John Dowson said:But also, looking at your ini, you don't have any assignments at all in FSUIPC. So are your assignments in MSFS? If so, MSFS MUST have the focus to receive these.
So, as I have said, please try giving the focus back to MSFS BEFORE you issue a command, to see if that works. The 'keyboardFocus=Yes' will not affect assignments in MSFS - you need to assign in FSUIPC for that to take affect.My only purpose of using FSUIPC7 is to be able to create a Lua window on the desktop with info from MSFS about aircraft (heading, airspeed, altitude. etc.). everything else is being handled by MSFS.
3 hours ago, John Dowson said:I could. maybe, look into either changing input focus back to the previous window once a wnd call creates a window, or look into forwarding keyboard events from the wnd window back to MSFS or FSUIPC so they get handled. But, first, I need to understand if this is what the actual issue is, so please follow my instructions and report back.
I was not sure if your wnd window supported keyboard input and that would make a difference how it would be handled.
I hope I have answered your questions and we can find some kind of solution. I did a Twitch stream this morning in VR with MSFS and did do some out of the cockpit flying and was always wondering what my instruments were telling me. Having that info while outside would be so reassuring.
Thanks for your time Bill
-
Tested this morning with the same issue with one new one that the text is flashing.
I added the ' KeyboardFocus=Yes' to the [Buttons] section and after a restart same issue.
I had MSFS in a place where I could type into and after I gave the Vocie Attack command 'flaps down' I could no longer type in that search box. Voice Attack recognized the command but I heard a tone that I thinks means a keyboard entry has been given where no where for it to go.
If I close out the Script window everything is back to normal. This is the first time I have had a issue with any window while using Voice Attack and have many open when I am streaming in VR.
One other thing I am curious about is why I do not see a FSUIPC7.log entry for my VR_HUD.lua script.
I thought this would have been easy when I got the script to work and display info on the desktop but I was very wrong.
Bill
-
11 minutes ago, John Dowson said:
Looks ok to me on an initial look - I don't think that it could be blocking commands. But what do you mean by this - what sort of commands are they?
As the wnd library creates a separate window, if your commands are key presses, they will go to the window you create in the script if it has the focus.
Could that be the issue? Check by giving focus back to the main FS window. Do you have ' KeyboardFocus=Yes' set in your [Buttons] section?I've finished for the evening now - I'll take a look in more detail tomorrow.
John
Yes they are key presses so that might be the issue. I do not see a ' KeyboardFocus=Yes' set in my [Buttons] should there be?
-
I wrote a VR HUD so I can fly outside of the cockpit while in VR. I do not see anything wrong with it but when it is running it is blocking the commands from reaching MSFS. I am quite new to FSUIPC7 so might have done something wrong and so please tell me.
Voice Attack is to important to me to give up so it could be great if they could get along.
Any ideas Bill
-
Just some feedback got it working now to put my Lua skills to work and see what I can create.
Since the window is created on the desktop I can use OVR Toolkit to put it into the VR cockpit and have control over where I want it.
Bill
-
18 minutes ago, John Dowson said:
You are using an unlicensed/unregistered version of FSUIPC. The lua infrastructure is only available for registered versions.
Thanks I just registered because thought that might be true.
-
I am just starting out using FSUIPC7 and currently have the unregistered version.
As a test I just want to get FPS_MonitorW.lua script to automatically start so I can see how the wnd functions work but so far the script will not load at all.
Can someone put me on the right track because my goal is to create a VR HUD so I can fly out of the cockpit in VR.
I have attached my FSUIPC7.ini and FSUIPC7.log files to hopefully help.
Thanks Bill
Does FSUIPC7 for MSFS support VR controllers
in FSUIPC7 MSFS
Posted
The VR controllers are very jumpy trying to adjust the throttle, trim or mixture but the mouse is smooth.
I was wondering if FSUIPC7 could help.