Jump to content
The simFlight Network Forums

Recommended Posts

Posted

I am having quite limited success with assigning presets on the iFly, for example the Park Brake preset doesn't work, neither does APU start, and I can only get one of the runway turnoff lights to work. I have no issues with any other aircraft using Mobiflight presets. Has anyone else run into problems with this aircraft and any advice? I am not a FSUIPC technical expert but I have managed to use aircraft specific presets for years with no trouble and this one is bugging me!

Thanks

Posted

Sorry but I don't have the iFly so cannot look into this. But looking at the parking brake presets, they simply set an lvar value:
  Parking Brake ON: 7 (>L:VC_Gear_trigger_VAL)
  Parking Brake OFF: 8 (>L:VC_Gear_trigger_VAL)

You can check if they are valid by using FSUIPC's logging facilities. List the lvars (Addons->WASM->List Lvars) and note the value of that lvar with the parking brake on and off - does it match those values (7 for on, 8 for off)? Are there any other lvars that look related to the Parking Brake?
If you open the logging  console (Log->Open Console), set logging for Events and Input Events, what do you see logged when you engage/disengage the parking brake? If you see any relevant events or Input Events, you can try using them.

Otherwise, the following tutorials explains how to determine what to use for any given switch/button: 
    MSFS2020: https://www.badcasserole.com/uncovering-input-events-using-the-msfs2020-model-behavior-dialog/
    MSFS2024: https://www.badcasserole.com/uncovering-input-events-using-the-msfs2024-model-behavior-dialog/

Also, please note that ALL provided presets are provided by the community driven effort led by MobiFlight (see https://hubhop.mobiflight.com/presets/), and any issues with presets should be addressed to MF via their Discord server, on the msfs2020 or msfs2024 channel, depending on the  version you are using.

John

Posted

Thanks as usual John for the time taken to explain! I’ll have a look when I next sneak in some sim time, sadly I used up all my weekend sim credit already! 

Posted

Hi John, I am really struggling to work out how to identify and use these LVARs in FSUIPC. I have followed your instructions and can see the preset  does nothing to do with Park Brake, no values change.

I did see one that does change the physical lever and park brake light but they seem to be separate two variables.

OFF

VC_Parking_Brake_LIGHT_VAL = 0.000000
VC_Parking_Brake_Light_Display_VAL = 0.000000
VC_Parking_Brake_SW_VAL = 0.000000

ON

VC_Parking_Brake_LIGHT_VAL = 5.000000
VC_Parking_Brake_Light_Display_VAL = 0.000000
VC_Parking_Brake_SW_VAL = 10.000000

How would I programme these into a Button?

Event logging shows no different entries amongst the masses of 'noise' when I try logging. And the MSFS2020 tutorial doesn't  work, I read on the Mobiflight Discord that the iFly doesn't use the InputEvents in the usual way so you only see 3 basic sets (Flaps, Spoilers and one other).

Sorry I am not so well versed in all this code, I just want my buttons to work like they do on the Fenix and PMDG!!

David

Posted
18 hours ago, BAW242 said:

I did see one that does change the physical lever and park brake light but they seem to be separate two variables.

OFF

VC_Parking_Brake_LIGHT_VAL = 0.000000
VC_Parking_Brake_Light_Display_VAL = 0.000000
VC_Parking_Brake_SW_VAL = 0.000000

ON

VC_Parking_Brake_LIGHT_VAL = 5.000000
VC_Parking_Brake_Light_Display_VAL = 0.000000
VC_Parking_Brake_SW_VAL = 10.000000

How would I programme these into a Button?

Before defining a preset, check that setting these actually works, using the Add-ons->WASM->Execute Calc. code menu item.
To turn on, try:
    5 (>L:VC_Parking_Brake_LIGHT_VAL) 10 (>L:VC_Parking_Brake_SW_VAL)
and off:
    0 (>L:VC_Parking_Brake_LIGHT_VAL) 0 (>L:VC_Parking_Brake_SW_VAL)

If that works, you can then define your own presets (using the myEvents.txt file) and then assign to those presets.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.