A3XX: Add Managed Altitude Target to PFD
This commit is contained in:
parent
22e47dcb85
commit
2b6cec6d25
4 changed files with 376 additions and 37 deletions
|
@ -2733,10 +2733,59 @@
|
||||||
</font-resolution>
|
</font-resolution>
|
||||||
</text>
|
</text>
|
||||||
|
|
||||||
|
<text>
|
||||||
|
<name>mng-alt</name>
|
||||||
|
<offsets>
|
||||||
|
<x-m>0.0010</x-m>
|
||||||
|
<y-m>0.0553</y-m>
|
||||||
|
<z-m>0.0462</z-m>
|
||||||
|
</offsets>
|
||||||
|
<alignment>right-center</alignment>
|
||||||
|
<axis-alignment>yz-plane</axis-alignment>
|
||||||
|
<type type="string">text-value</type>
|
||||||
|
<format type="string">%s</format>
|
||||||
|
<property>/it-autoflight/internal/alt</property>
|
||||||
|
<truncate type="bool">false</truncate>
|
||||||
|
<font type="string">helvetica_bold.txf</font>
|
||||||
|
<draw-text type="bool">true</draw-text>
|
||||||
|
<draw-alignment type="bool">false</draw-alignment>
|
||||||
|
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||||
|
<character-size>0.006</character-size>
|
||||||
|
<font-resolution>
|
||||||
|
<width type="int">32</width>
|
||||||
|
<height type="int">32</height>
|
||||||
|
</font-resolution>
|
||||||
|
</text>
|
||||||
|
|
||||||
|
<text>
|
||||||
|
<name>mng-alt-lower</name>
|
||||||
|
<offsets>
|
||||||
|
<x-m>0.0010</x-m>
|
||||||
|
<y-m>0.0553</y-m>
|
||||||
|
<z-m>-0.0462</z-m>
|
||||||
|
</offsets>
|
||||||
|
<alignment>right-center</alignment>
|
||||||
|
<axis-alignment>yz-plane</axis-alignment>
|
||||||
|
<type type="string">text-value</type>
|
||||||
|
<format type="string">%s</format>
|
||||||
|
<property>/it-autoflight/internal/alt</property>
|
||||||
|
<truncate type="bool">false</truncate>
|
||||||
|
<font type="string">helvetica_bold.txf</font>
|
||||||
|
<draw-text type="bool">true</draw-text>
|
||||||
|
<draw-alignment type="bool">false</draw-alignment>
|
||||||
|
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||||
|
<character-size>0.006</character-size>
|
||||||
|
<font-resolution>
|
||||||
|
<width type="int">32</width>
|
||||||
|
<height type="int">32</height>
|
||||||
|
</font-resolution>
|
||||||
|
</text>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>select</type>
|
<type>select</type>
|
||||||
<object-name>man-alt</object-name>
|
<object-name>man-alt</object-name>
|
||||||
<condition>
|
<condition>
|
||||||
|
<and>
|
||||||
<greater-than-equals>
|
<greater-than-equals>
|
||||||
<expression>
|
<expression>
|
||||||
<dif>
|
<dif>
|
||||||
|
@ -2746,6 +2795,11 @@
|
||||||
</expression>
|
</expression>
|
||||||
<value>4300</value>
|
<value>4300</value>
|
||||||
</greater-than-equals>
|
</greater-than-equals>
|
||||||
|
<not-equals>
|
||||||
|
<property>/it-autoflight/output/vert</property>
|
||||||
|
<value>8</value>
|
||||||
|
</not-equals>
|
||||||
|
</and>
|
||||||
</condition>
|
</condition>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
@ -2753,6 +2807,7 @@
|
||||||
<type>select</type>
|
<type>select</type>
|
||||||
<object-name>man-alt-lower</object-name>
|
<object-name>man-alt-lower</object-name>
|
||||||
<condition>
|
<condition>
|
||||||
|
<and>
|
||||||
<less-than-equals>
|
<less-than-equals>
|
||||||
<expression>
|
<expression>
|
||||||
<dif>
|
<dif>
|
||||||
|
@ -2762,6 +2817,55 @@
|
||||||
</expression>
|
</expression>
|
||||||
<value>-4300</value>
|
<value>-4300</value>
|
||||||
</less-than-equals>
|
</less-than-equals>
|
||||||
|
<not-equals>
|
||||||
|
<property>/it-autoflight/output/vert</property>
|
||||||
|
<value>8</value>
|
||||||
|
</not-equals>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
</animation>
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>select</type>
|
||||||
|
<object-name>mng-alt</object-name>
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<greater-than-equals>
|
||||||
|
<expression>
|
||||||
|
<dif>
|
||||||
|
<property>/it-autoflight/internal/alt</property>
|
||||||
|
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
|
||||||
|
</dif>
|
||||||
|
</expression>
|
||||||
|
<value>4300</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<equals>
|
||||||
|
<property>/it-autoflight/output/vert</property>
|
||||||
|
<value>8</value>
|
||||||
|
</equals>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
</animation>
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>select</type>
|
||||||
|
<object-name>mng-alt-lower</object-name>
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<less-than-equals>
|
||||||
|
<expression>
|
||||||
|
<dif>
|
||||||
|
<property>/it-autoflight/internal/alt</property>
|
||||||
|
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
|
||||||
|
</dif>
|
||||||
|
</expression>
|
||||||
|
<value>-4300</value>
|
||||||
|
</less-than-equals>
|
||||||
|
<equals>
|
||||||
|
<property>/it-autoflight/output/vert</property>
|
||||||
|
<value>8</value>
|
||||||
|
</equals>
|
||||||
|
</and>
|
||||||
</condition>
|
</condition>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
@ -2790,6 +2894,53 @@
|
||||||
</transform>
|
</transform>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>texmultiple</type>
|
||||||
|
<object-name>target-alt-mng</object-name>
|
||||||
|
<transform>
|
||||||
|
<subtype>textranslate</subtype>
|
||||||
|
<property>/it-autoflight/internal/mng-alt</property>
|
||||||
|
<factor>0.000019141</factor>
|
||||||
|
<axis>
|
||||||
|
<y>-1</y>
|
||||||
|
<x>0</x>
|
||||||
|
<z>0</z>
|
||||||
|
</axis>
|
||||||
|
</transform>
|
||||||
|
<transform>
|
||||||
|
<subtype>textranslate</subtype>
|
||||||
|
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
|
||||||
|
<factor>0.000019141</factor>
|
||||||
|
<axis>
|
||||||
|
<y>1</y>
|
||||||
|
<x>0</x>
|
||||||
|
<z>0</z>
|
||||||
|
</axis>
|
||||||
|
</transform>
|
||||||
|
</animation>
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>select</type>
|
||||||
|
<object-name>target-alt-sel</object-name>
|
||||||
|
<condition>
|
||||||
|
<not-equals>
|
||||||
|
<property>/it-autoflight/output/vert</property>
|
||||||
|
<value>8</value>
|
||||||
|
</not-equals>
|
||||||
|
</condition>
|
||||||
|
</animation>
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>select</type>
|
||||||
|
<object-name>target-alt-mng</object-name>
|
||||||
|
<condition>
|
||||||
|
<equals>
|
||||||
|
<property>/it-autoflight/output/vert</property>
|
||||||
|
<value>8</value>
|
||||||
|
</equals>
|
||||||
|
</condition>
|
||||||
|
</animation>
|
||||||
|
|
||||||
<!-- VS Numbers -->
|
<!-- VS Numbers -->
|
||||||
|
|
||||||
<text>
|
<text>
|
||||||
|
@ -3135,6 +3286,8 @@
|
||||||
<object-name>mng-spd-lower</object-name>
|
<object-name>mng-spd-lower</object-name>
|
||||||
<object-name>mng-mach</object-name>
|
<object-name>mng-mach</object-name>
|
||||||
<object-name>mng-mach-lower</object-name>
|
<object-name>mng-mach-lower</object-name>
|
||||||
|
<object-name>mng-alt</object-name>
|
||||||
|
<object-name>mng-alt-lower</object-name>
|
||||||
<diffuse>
|
<diffuse>
|
||||||
<red>1</red>
|
<red>1</red>
|
||||||
<green>0</green>
|
<green>0</green>
|
||||||
|
|
|
@ -2733,10 +2733,59 @@
|
||||||
</font-resolution>
|
</font-resolution>
|
||||||
</text>
|
</text>
|
||||||
|
|
||||||
|
<text>
|
||||||
|
<name>mng-alt</name>
|
||||||
|
<offsets>
|
||||||
|
<x-m>0.0010</x-m>
|
||||||
|
<y-m>0.0553</y-m>
|
||||||
|
<z-m>0.0462</z-m>
|
||||||
|
</offsets>
|
||||||
|
<alignment>right-center</alignment>
|
||||||
|
<axis-alignment>yz-plane</axis-alignment>
|
||||||
|
<type type="string">text-value</type>
|
||||||
|
<format type="string">%s</format>
|
||||||
|
<property>/it-autoflight/internal/alt</property>
|
||||||
|
<truncate type="bool">false</truncate>
|
||||||
|
<font type="string">helvetica_bold.txf</font>
|
||||||
|
<draw-text type="bool">true</draw-text>
|
||||||
|
<draw-alignment type="bool">false</draw-alignment>
|
||||||
|
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||||
|
<character-size>0.006</character-size>
|
||||||
|
<font-resolution>
|
||||||
|
<width type="int">32</width>
|
||||||
|
<height type="int">32</height>
|
||||||
|
</font-resolution>
|
||||||
|
</text>
|
||||||
|
|
||||||
|
<text>
|
||||||
|
<name>mng-alt-lower</name>
|
||||||
|
<offsets>
|
||||||
|
<x-m>0.0010</x-m>
|
||||||
|
<y-m>0.0553</y-m>
|
||||||
|
<z-m>-0.0462</z-m>
|
||||||
|
</offsets>
|
||||||
|
<alignment>right-center</alignment>
|
||||||
|
<axis-alignment>yz-plane</axis-alignment>
|
||||||
|
<type type="string">text-value</type>
|
||||||
|
<format type="string">%s</format>
|
||||||
|
<property>/it-autoflight/internal/alt</property>
|
||||||
|
<truncate type="bool">false</truncate>
|
||||||
|
<font type="string">helvetica_bold.txf</font>
|
||||||
|
<draw-text type="bool">true</draw-text>
|
||||||
|
<draw-alignment type="bool">false</draw-alignment>
|
||||||
|
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||||
|
<character-size>0.006</character-size>
|
||||||
|
<font-resolution>
|
||||||
|
<width type="int">32</width>
|
||||||
|
<height type="int">32</height>
|
||||||
|
</font-resolution>
|
||||||
|
</text>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>select</type>
|
<type>select</type>
|
||||||
<object-name>man-alt</object-name>
|
<object-name>man-alt</object-name>
|
||||||
<condition>
|
<condition>
|
||||||
|
<and>
|
||||||
<greater-than-equals>
|
<greater-than-equals>
|
||||||
<expression>
|
<expression>
|
||||||
<dif>
|
<dif>
|
||||||
|
@ -2746,6 +2795,11 @@
|
||||||
</expression>
|
</expression>
|
||||||
<value>4300</value>
|
<value>4300</value>
|
||||||
</greater-than-equals>
|
</greater-than-equals>
|
||||||
|
<not-equals>
|
||||||
|
<property>/it-autoflight/output/vert</property>
|
||||||
|
<value>8</value>
|
||||||
|
</not-equals>
|
||||||
|
</and>
|
||||||
</condition>
|
</condition>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
@ -2753,6 +2807,7 @@
|
||||||
<type>select</type>
|
<type>select</type>
|
||||||
<object-name>man-alt-lower</object-name>
|
<object-name>man-alt-lower</object-name>
|
||||||
<condition>
|
<condition>
|
||||||
|
<and>
|
||||||
<less-than-equals>
|
<less-than-equals>
|
||||||
<expression>
|
<expression>
|
||||||
<dif>
|
<dif>
|
||||||
|
@ -2762,6 +2817,55 @@
|
||||||
</expression>
|
</expression>
|
||||||
<value>-4300</value>
|
<value>-4300</value>
|
||||||
</less-than-equals>
|
</less-than-equals>
|
||||||
|
<not-equals>
|
||||||
|
<property>/it-autoflight/output/vert</property>
|
||||||
|
<value>8</value>
|
||||||
|
</not-equals>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
</animation>
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>select</type>
|
||||||
|
<object-name>mng-alt</object-name>
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<greater-than-equals>
|
||||||
|
<expression>
|
||||||
|
<dif>
|
||||||
|
<property>/it-autoflight/internal/alt</property>
|
||||||
|
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
|
||||||
|
</dif>
|
||||||
|
</expression>
|
||||||
|
<value>4300</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<equals>
|
||||||
|
<property>/it-autoflight/output/vert</property>
|
||||||
|
<value>8</value>
|
||||||
|
</equals>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
</animation>
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>select</type>
|
||||||
|
<object-name>mng-alt-lower</object-name>
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<less-than-equals>
|
||||||
|
<expression>
|
||||||
|
<dif>
|
||||||
|
<property>/it-autoflight/internal/alt</property>
|
||||||
|
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
|
||||||
|
</dif>
|
||||||
|
</expression>
|
||||||
|
<value>-4300</value>
|
||||||
|
</less-than-equals>
|
||||||
|
<equals>
|
||||||
|
<property>/it-autoflight/output/vert</property>
|
||||||
|
<value>8</value>
|
||||||
|
</equals>
|
||||||
|
</and>
|
||||||
</condition>
|
</condition>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
@ -2790,6 +2894,53 @@
|
||||||
</transform>
|
</transform>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>texmultiple</type>
|
||||||
|
<object-name>target-alt-mng</object-name>
|
||||||
|
<transform>
|
||||||
|
<subtype>textranslate</subtype>
|
||||||
|
<property>/it-autoflight/internal/mng-alt</property>
|
||||||
|
<factor>0.000019141</factor>
|
||||||
|
<axis>
|
||||||
|
<y>-1</y>
|
||||||
|
<x>0</x>
|
||||||
|
<z>0</z>
|
||||||
|
</axis>
|
||||||
|
</transform>
|
||||||
|
<transform>
|
||||||
|
<subtype>textranslate</subtype>
|
||||||
|
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
|
||||||
|
<factor>0.000019141</factor>
|
||||||
|
<axis>
|
||||||
|
<y>1</y>
|
||||||
|
<x>0</x>
|
||||||
|
<z>0</z>
|
||||||
|
</axis>
|
||||||
|
</transform>
|
||||||
|
</animation>
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>select</type>
|
||||||
|
<object-name>target-alt-sel</object-name>
|
||||||
|
<condition>
|
||||||
|
<not-equals>
|
||||||
|
<property>/it-autoflight/output/vert</property>
|
||||||
|
<value>8</value>
|
||||||
|
</not-equals>
|
||||||
|
</condition>
|
||||||
|
</animation>
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>select</type>
|
||||||
|
<object-name>target-alt-mng</object-name>
|
||||||
|
<condition>
|
||||||
|
<equals>
|
||||||
|
<property>/it-autoflight/output/vert</property>
|
||||||
|
<value>8</value>
|
||||||
|
</equals>
|
||||||
|
</condition>
|
||||||
|
</animation>
|
||||||
|
|
||||||
<!-- VS Numbers -->
|
<!-- VS Numbers -->
|
||||||
|
|
||||||
<text>
|
<text>
|
||||||
|
@ -3135,6 +3286,8 @@
|
||||||
<object-name>mng-spd-lower</object-name>
|
<object-name>mng-spd-lower</object-name>
|
||||||
<object-name>mng-mach</object-name>
|
<object-name>mng-mach</object-name>
|
||||||
<object-name>mng-mach-lower</object-name>
|
<object-name>mng-mach-lower</object-name>
|
||||||
|
<object-name>mng-alt</object-name>
|
||||||
|
<object-name>mng-alt-lower</object-name>
|
||||||
<diffuse>
|
<diffuse>
|
||||||
<red>1</red>
|
<red>1</red>
|
||||||
<green>0</green>
|
<green>0</green>
|
||||||
|
|
|
@ -2,7 +2,26 @@ AC3Db
|
||||||
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0 0 0 emis 0.658824 0.670588 0.67451 spec 0 0 0 shi 128 trans 0
|
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0 0 0 emis 0.658824 0.670588 0.67451 spec 0 0 0 shi 128 trans 0
|
||||||
MATERIAL "white" rgb 1 1 1 amb 1 1 1 emis 0.798 0.798 0.798 spec 0 0 0 shi 0 trans 0
|
MATERIAL "white" rgb 1 1 1 amb 1 1 1 emis 0.798 0.798 0.798 spec 0 0 0 shi 0 trans 0
|
||||||
OBJECT world
|
OBJECT world
|
||||||
kids 43
|
kids 44
|
||||||
|
OBJECT poly
|
||||||
|
name "target-alt-mng"
|
||||||
|
loc 0.000960576 -0.000264099 -0.0431903
|
||||||
|
texture "trgt-alt-mng.png"
|
||||||
|
crease 45.000000
|
||||||
|
numvert 4
|
||||||
|
0 0.0428304 -0.00623311
|
||||||
|
0 0.0428304 0.00772078
|
||||||
|
0 -0.0428304 0.00772078
|
||||||
|
0 -0.0428304 -0.00623311
|
||||||
|
numsurf 1
|
||||||
|
SURF 0x30
|
||||||
|
mat 0
|
||||||
|
refs 4
|
||||||
|
0 0.990386 0.217208
|
||||||
|
1 0.022378 0.217208
|
||||||
|
2 0.0223766 0.0507198
|
||||||
|
3 0.990386 0.0507198
|
||||||
|
kids 0
|
||||||
OBJECT poly
|
OBJECT poly
|
||||||
name "ap-mode-box"
|
name "ap-mode-box"
|
||||||
loc 0.000380651 0.0723146 -0.0618702
|
loc 0.000380651 0.0723146 -0.0618702
|
||||||
|
|
|
@ -29,6 +29,20 @@
|
||||||
<output>instrumentation/pfd/sel-alt-diff</output>
|
<output>instrumentation/pfd/sel-alt-diff</output>
|
||||||
</filter>
|
</filter>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<name>Target alt diff (managed)</name>
|
||||||
|
<type>gain</type>
|
||||||
|
<update-interval-secs type="double">0.05</update-interval-secs>
|
||||||
|
<gain>1.0</gain>
|
||||||
|
<input>
|
||||||
|
<property>/it-autoflight/internal/mng-alt</property>
|
||||||
|
</input>
|
||||||
|
<reference>
|
||||||
|
<property>instrumentation/altimeter/indicated-altitude-ft</property>
|
||||||
|
</reference>
|
||||||
|
<output>instrumentation/pfd/mng-alt-diff</output>
|
||||||
|
</filter>
|
||||||
|
|
||||||
<filter>
|
<filter>
|
||||||
<name>Heading Deg</name>
|
<name>Heading Deg</name>
|
||||||
<type>gain</type>
|
<type>gain</type>
|
||||||
|
|
Reference in a new issue