Here is an easy way to find LVAR's
-
I have seen a number of posts from people asking about lists of LVAR's. You can easily get a complete list by poking around in your MSFS user folder. First start a new freeflight in the F28. (Do not load a pre-saved flight.) After the sim has loaded and you're sitting cold and dark at a gate, exit out of the sim and close MSFS altogether.
Then for Steam installs, navigate to the folder:
C:\Users\YOURNAME\AppData\Roaming\Microsoft Flight Simulator\
Or for MS Store I believe the folder is:
C:\Users\YOURNAME\Appdata\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\
where YOURNAME is your Windows login.
Open the file:
TemporaryFlight.Flt
using Notepad, Notepad++, or any text editor. It should have a file modified date of just now since it was just saved by the sim. Scroll down to the section with the title:
[LocalVars.0]
and you will see a list of every LVAR that loaded in your last flight. Mine just now had 1153 entries. This won't tell you what the variables do but it is still a treasure chest of information. (Some are misnamed, like engine anti-ice test that isn't actually test, but close enough--you'll figure it out.)
Save that file somewhere safe, switch to a different plane, repeat, now you have that other plane's LVAR's too. Enjoy.
Thousands of rows of like this...
F28_LWR_FWD_RADAR_Tilt_knob=15
F28_LWR_FWD_RADAR_Gain_knob=6
F28_LWR_FWD_RADAR_Int_knob=8
F28_LWR_FWD_RADAR_OFF_Button=1
F28_LWR_FWD_RADAR_WX_Button=0
F28_OH_PUSH_TO_ROTATE_LIGHT_9_Light=0
F28_LWR_FWD_RADAR_CYC_Button=0
F28_LWR_FWD_RADAR_MAP_Button=0
F28_apu_rpm=0
F28_PED_Gaurd_LIFT-DUMPER-Switch=0
F28_OH_ENG-MAIN_Toggle_Switch=0
F28_OH_ENG-MAIN-1-RELIGHT_Toggle_Switch=1
F28_MAIN-Gauge_CHRONO_1_Hrs_Rotary_Dial=4.0298949999999997829
F28_LWR_FWD_Gauge-FUEL-QTY-MAIN_Rotary_Dial=0
F28_MAIN-Gauge_ALT_2_Small_8_Rolling_Numbers=5
F28_LWR_FWD_Gauge-FUEL-QTY-LEFT_Rotary_Dial=11.831373214721679688
F28_MAIN-Gauge_HSI_2_Outter_Pivot1=9.1507368087768554688
F28_MAIN-Gauge_ADI_1_Speed_Flag=1
L_ASI_Speed_bug=140
R_ASI_Speed_bug=140
FSDT_GSX_NUMPASSENGERS=65
F28_ADF_Freq_Output=1.8999999999999999112
F28_ADF2_freq_tooltip=190
EXT_Door_stairs=0
F28_TCAS_range_tooltip=20 -
Hi everyone, on the subject of LVARs and searching for them - I've been having some trouble understanding/identifying the LVARs associated with the new altitude preselect panel (and alerter/capture). Trying to map the behavior to some buttons on my Winwing FCU. Anyone successfully cracked the code on that system by chance?
Thanks.
-
@CaptKornDog I hope you get a response to this, because I've been trying to figure it out too. Everything I find through dev mode tools/debugging or Axis and Ohs watching sim events doesn't work.
-
@RPGamerous Thanks. That's what I'm seeing as well.
Tried to use "LVAR: F28_Alt_Sel" most recently with no success.
-
@Lobster404 This is a great tip! I tried to use it in 2020 (the file doesn't exist in 2024) but unfortunately, my 2020 installation has the bug that causes the sim to hang on Quit to Desktop, so it never writes the file because I have to kill it through the task manager. But if that ever gets fixed, I'll definitely make use of this technique.