- Messages
- 1,361
- Country

Hi Folks
Not exactly a gauge question,
neither an FSX one, (all derivatives thereof),
but as you're the variable's subject matter experts......
Question -
I need to programmatically set the altimeter
to the elevation of the current airport.
i.e. Resulting in correct altimeter reading,
as if pilot had set via the Kohlsman/Kollsman's knob.
WRT FSX versions -
What would be the relevant SimVar name(s)
and any appropriate method(s) ?
e.g.
varset('T:FlightInstruments.SimVar, UNITS, MyValue)
or
whatever's appropriate in FSX.
Background -
Working on an MS Flight GenMission,
i.e. Any airport, in any weather conditions.
Altimeter is initiated at 29.92, (or previous settings).
Both of which
result in incorrect altimeter readings
if the user has applied weather-themes.
e.g. Heavy Snow theme
Airport elevation 156ft
HUD displays 1095ft.
Not usually a problem -
Just visually prompt the user to set manually.
Essential in this case -
As currently-available, capacity-capable, aircraft
are restricted to being cockpit-less.
Not a problem on takeoff.
Destination approach likely involves CFIT.
Yes,
I do fully appreciate
IRL if visibility is that bad,
they shouldn't be up there.
However -
Unlike FSX,
Flight's relatively large-scale weather themes,
result in substantially disparate weather at destinations
compared with departure locations.
Resulting in some addictive flying experiences.
Thanks in advance
ATB
Paul
Not exactly a gauge question,
neither an FSX one, (all derivatives thereof),
but as you're the variable's subject matter experts......
Question -
I need to programmatically set the altimeter
to the elevation of the current airport.
i.e. Resulting in correct altimeter reading,
as if pilot had set via the Kohlsman/Kollsman's knob.
WRT FSX versions -
What would be the relevant SimVar name(s)
and any appropriate method(s) ?
e.g.
varset('T:FlightInstruments.SimVar, UNITS, MyValue)
or
whatever's appropriate in FSX.
Background -
Working on an MS Flight GenMission,
i.e. Any airport, in any weather conditions.
Altimeter is initiated at 29.92, (or previous settings).
Both of which
result in incorrect altimeter readings
if the user has applied weather-themes.
e.g. Heavy Snow theme
Airport elevation 156ft
HUD displays 1095ft.
Not usually a problem -
Just visually prompt the user to set manually.
Essential in this case -
As currently-available, capacity-capable, aircraft
are restricted to being cockpit-less.
Not a problem on takeoff.
Destination approach likely involves CFIT.
Yes,
I do fully appreciate
IRL if visibility is that bad,
they shouldn't be up there.
However -
Unlike FSX,
Flight's relatively large-scale weather themes,
result in substantially disparate weather at destinations
compared with departure locations.
Resulting in some addictive flying experiences.
Thanks in advance
ATB
Paul
Last edited:



