Jump to content
The simFlight Network Forums

How do the /HvarFiles work? B3D_737.hvar is the Bredok 737Max I presume?


mtjoeng
 Share

Recommended Posts

I want to enhance my MPC Combo like the good old days and saw the B3D_737.hvar file. FSUIPC 7.2.16 enables the basic SPD HDG ALT perfectly.

Tested with B747 default, button dropdown with new profile shows long list of Preset:B747 8 and assigned MFD Range INC/DEC to MPC Combo, and this works.

Then again in the drop down I do not see Preset:B737 *whatever, and I can't comprehend the 'copy and rename' stuff about adding HVAR's to FSUIPC.

What do I do to get the 737Max HVARs in the FSUIPC dropdown list?
(And there's a lot more entries for 747 than in the B747-8.hvar file, how does that work?)

thx
 

Link to comment
Share on other sites

Copied B3D_737.hvar to c:\Users\admin\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalState\packages\fsuipc-lvar-module\work
and renamed 737.hvar

FSUIPC_WASM.log says:
..
Tue Feb 22 01:10:20 2022    [INFO]: 34 hvars loaded for aircraft 'Boeing 737'
Tue Feb 22 01:10:20 2022    [INFO]: 297 LVARS found, created 3 Client Data Areas
Tue Feb 22 01:10:20 2022    [INFO]: 297 lvars loaded for aircraft 'Boeing 737'
..

Now what?
Assign f.i.
H:AS01B_MFD_1_Range_DEC
H:AS01B_MFD_1_Range_INC
to a macro or in ipc.activateHvar script?
Why can't they show in the dropdown?

 

Link to comment
Share on other sites

Please be aware of the difference between a preset and a hvar. Hvars DO NOT show in the drop down menu - you need to define a macro to set/activate the hvar, as you have found. An easier way to use hvars is to define your own preset to activate the hvar. To do this, you would create a file called myevents.txt and add lines of the form:
    presetName#(>H:hvarName)
where presetName is the name of the preset (and will appear in the drop-down menus) and hvarName is the name of the hvar. Using this method, you also don't need to make the hvars known to FSUIPC via the *.hvar files.

7 hours ago, mtjoeng said:

Could you give an example (above MFD_1 hvar's) of the exact syntax of the lua file with ipc.activateHvar ? Couldnt get that to work

it is just, for example:
    ipc.activateHvar(“H:AS01B_MFD_1_Range_DEC”)

John

Link to comment
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...
 Share

×
×
  • 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.