Jump to content
The simFlight Network Forums

Recommended Posts

Posted

I have been using the fantastic FSUIPC 7 in MSFS2020 for some time now and have managed to create lots of “commands” using LVARs in myevents.txt and then map them to buttons in the sim.  After creating many commands for several other aircraft, toggles, on or off and dimmers etc, I am now having an issue with an Auto-reset LVAR in the Inibuilds A350 INI_CKPT_LT_DU_MASTER_BRT_INC or INI_CKPT_LT_DU_MASTER_BRT_DEC.  I can’t seem to get anything to work as the code resets before altering anything.

 

Any advice would be much appreciated

A350 LVAR condensed.jpg

Posted

So it looks like those lvars are acting like a control/event - you set it to 1, this triggers the brightness increase or decrease and then the lvar gets reset back to 0. If you want to inc / dec again, you can set it to 1 again. Does it not work like that? If not, ask on the Inbuilds forums on how those lvars are supposed to work. I don't have this aircraft so cannot take a look here, sorry.

John

Posted
7 minutes ago, John Dowson said:

So it looks like those lvars are acting like a control/event - you set it to 1, this triggers the brightness increase or decrease and then the lvar gets reset back to 0. If you want to inc / dec again, you can set it to 1 again. Does it not work like that? If not, ask on the Inbuilds forums on how those lvars are supposed to work. I don't have this aircraft so cannot take a look here, sorry.

John

Many thanks for the very quick reply. When I use it in myevents.txt, the line is

DU_MasterBright_Bright# (>L:INI_CKPT_LT_DU_MASTER_BRT_INC, bool)    and nothing happens, so I will try setting 1

Posted
2 minutes ago, flyboy340 said:

DU_MasterBright_Bright# (>L:INI_CKPT_LT_DU_MASTER_BRT_INC, bool)    and nothing happens, so I will try setting 1

Yes, you will need to give it a value...probably also a good idea to use repeat when assigning to that preset as well.

Posted
13 minutes ago, John Dowson said:

Yes, you will need to give it a value...probably also a good idea to use repeat when assigning to that preset as well.

I have just tried that and unfortunately, it does not work (incl a repeat). When you turn the knob with a mouse you can see the LVAR go to 1 and straight back to zero. So in theory I thought a value of 1 would do it. 

Posted
35 minutes ago, flyboy340 said:

When you turn the knob with a mouse you can see the LVAR go to 1 and straight back to zero. So in theory I thought a value of 1 would do it. 

Yes, that sounds correct, as that lvar is documented as a BOOL. I have no idea why it isn't controlling the brightness. When you  inc/dev the brightness in the VC, do you see the lvar change value (and reset)?

As I said earlier, you should ask on the InBuilds support forums as I do not have this a/c.

Posted
39 minutes ago, John Dowson said:

Yes, that sounds correct, as that lvar is documented as a BOOL. I have no idea why it isn't controlling the brightness. When you  inc/dev the brightness in the VC, do you see the lvar change value (and reset)?

As I said earlier, you should ask on the InBuilds support forums as I do not have this a/c.

Just to confirm the line in myevents.txt is

DU_MasterBright_Bright#1 (>L:INI_CKPT_LT_DU_MASTER_BRT_INC, bool)

& I tried 

DU_MasterBright_Bright# (>L:INI_CKPT_LT_DU_MASTER_BRT_INC, bool) 1

I also tried number instead of bool. 

I also tried the repeat checkbox.

When I change the brightness using the mouse in the VC, with Dev Mode, behaviours window open, I can see the value go from 1 to 0

As you say, I will have to try the iniBuilds support forum

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.