Jump to content
The simFlight Network Forums

Macros for accessing Lvars not working?


Recommended Posts

Hi, I tried to assign some buttons of my self made homecockpit to certain non standard controls in the Carenado Mooney M20R and the Just Flight Arrow III. I can read out the names in the model behaviors lvars window in developer mode but the macros I created do not work. I can select the macro in the drop down menu for the button events but nothing happens when I operate the switch. The mcro file is named M20R_Fuel_pump.mcro and contains the lines

[Macros]

1=L:M20R_Fuel_Boost_Pump=SET

 

In P3D with older versions of FSUIPC these macros worked fine. Has something changed in the way macros are defined or did I do something wrong? 

Link to post
Share on other sites

Lvar support is still in development for FSUIPC7. This is the list of limitations (from the Announcement above):

Missing Functionality 
The following functionality is not currently available in FSUIPC7. We may look at re-instating some of these
items at a later date, if and when such facilities are provided by the MSFS SDK:

1. Mouse Macros (and other mouse functionality, e.g “mouse look”, etc):  pending facilities to be provided
2. lVar access: pending facilities to be provided
3. AI Traffic management (Traffic Limiter and Zapper): pending facilities to be provided.
    Note that the offsets for AI traffic are populated.
4. Text display facilities: pending SimConnect functionality (some basic functionality may work)
5. Menu facilities: pending SimConnect functionality
6. Weather: apart from a few variables concerning ambient conditions at the aircraft, no other weather information
    is currently available for reading or updating

Of those good progress is currently being made on item 2, but there is no sign of any useful facilities being planned by MS/Asobo to help with the others. 

Pete

 

 

Link to post
Share on other sites
4 hours ago, Pete Dowson said:

Lvar support is still in development for FSUIPC7.

I now have previous lvar support (i.e. accessible via macros and lua scripts and offsets) working in FSUIPC7, although I haven't released this yet.
I may release this as a beta in the next few days, so keep an eye out on the FSUIPC7 lvar/wasm announcements page if interested.

  • Thanks 1
Link to post
Share on other sites
2 hours ago, kaha said:

No mouse macros is a significant drawback, however.

I am not sure if mouse macros will  ever be possible with MSFS - still needs to be looked into at some point. However, MSFS has HTML variables (hvars), which will also be accessible at some point via FSUIPC7. They are currently available for testing with the WASM module + test client.

Note, however, that you (or someone!) will have to find.discover what hvars are available for a particular aircraft, and make them available to FSUIPC7 via a hvar file. Currently I have only determined the hvars that can be used for the A320,

Link to post
Share on other sites
6 hours ago, John Dowson said:

I now have previous lvar support (i.e. accessible via macros and lua scripts and offsets) working in FSUIPC7, although I haven't released this yet.
I may release this as a beta in the next few days, so keep an eye out on the FSUIPC7 lvar/wasm  page if interested.

Fantastic, that's all I need to be honest. My cockpit setup is quite simple so I don't need any of the super sophisticated stuff, Lvar access via macro is all that I used before anyways. FSUIPC still remains the one essential Addon I bought for every single iteration of Flight simulator I owned over the years. 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.