Automatically reset altimeter gauge (aka B button)
#1
Instead of keep pressing the B button to reset your altitude, I made this gauge for FSX which automatically resets your altimeter whenever local pressure changes whilst flying under 18000ft and also to standard pressure above 18000ft.

The gauge is invisible and uses very low CPU resources (1 sec refresh) and only resets your altimeter when necessary.

1.Create a new folder in your fsx gauges folder called auto_reset
2.Add gaugeXX=auto_reset!altimeter, 1,1 to any airplane panel.cfg under [Window00] (XX is next available gauge number, ie gauge30=)
2.Copy the gauge below to notepad/wordpad etc and save as altimeter.xml inside the auto_reset folder created above

<Gauge Name="Auto_Altimeter" Version="1.0">

<Update Frequency="1"/>

<!-- RESET ALTITUDE -->
<!-- If kohlsman pressure isnt equal (> 0.1 difference) to sea level pressure QNH when under 18000ft -->
<!-- or when ascending/decending through 18000ft -->
<!-- Var1 is 1 above 18000ft, used to switch to local pressure when needed -->

<Element>
<Select>
<Value>(A:PLANE ALTITUDE, feet) 18000 &lt;

if{ (A:SEA LEVEL PRESSURE, mbar) (A:KOHLSMAN SETTING MB, mbar) - abs 0.1 &gt; (G:Var1) ||
if{ (>K:BAROMETRIC) 0 (>G:Var1) }
}
els{ (G:Var1) !
if{ (>K:BAROMETRIC) 1 (>G:Var1) }
}
</Value>
</Select>
</Element>
</Gauge>
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)