1
0
Fork 0
fgdata/Aircraft/c172p/Models/Interior/Panel/Instruments/alt/alt.xml

219 lines
6.2 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<PropertyList>
<path>alt.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/lm-altr</inherits-from>
<object-name>inhg</object-name>
<object-name>Needle10000</object-name>
<object-name>Needle1000</object-name>
<object-name>Needle100</object-name>
<object-name>disk</object-name>
</effect>
<effect>
<inherits-from>../../../../Effects/interior/lm-alt</inherits-from>
<object-name>Face</object-name>
<object-name>Case</object-name>
</effect>
<animation>
<type>material</type>
<object-name>Face</object-name>
<object-name>inhg</object-name>
<object-name>Needle10000</object-name>
<object-name>Needle1000</object-name>
<object-name>Needle100</object-name>
<object-name>Case</object-name>
<condition>
<not>
<property>/sim/rendering/shaders/skydome</property>
</not>
</condition>
<emission>
<red-prop>/sim/model/material/instruments/default-red-combined-factor</red-prop>
<green-prop>/sim/model/material/instruments/default-green-combined-factor</green-prop>
<blue-prop>/sim/model/material/instruments/default-blue-combined-factor</blue-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>disk</object-name>
<condition>
<not>
<property>/sim/rendering/shaders/skydome</property>
</not>
</condition>
<emission>
<red-prop>/sim/model/c172p/lighting/rgb-ra-r-factor</red-prop>
<green-prop>/sim/model/c172p/lighting/rgb-ra-g-factor</green-prop>
<blue-prop>/sim/model/c172p/lighting/rgb-ra-b-factor</blue-prop>
</emission>
</animation>
<!--animation>
<type>material</type>
<object-name>disk</object-name>
<object-name>Case</object-name>
<condition>
<not>
<property>/sim/rendering/shaders/skydome</property>
</not>
</condition>
<emission>
<red>0.45</red>
<green>0.09</green>
<blue>0.00001</blue>
<factor-prop>/sim/model//material/instruments/factor</factor-prop>
</emission>
</animation-->
<animation>
<type>rotate</type>
<object-name>Needle100</object-name>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<factor>0.36</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>-0.37588</x-m>
<y-m>-0.13245</y-m>
<z-m> 0.10046</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>Needle1000</object-name>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<factor>0.036</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>-0.37588</x-m>
<y-m>-0.13245</y-m>
<z-m> 0.10046</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>Needle10000</object-name>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<factor>0.0036</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>-0.37588</x-m>
<y-m>-0.13245</y-m>
<z-m> 0.10046</z-m>
</center>
</animation>
<animation>
<type>texrotate</type>
<object-name>inhg</object-name>
<property>/instrumentation/altimeter/setting-inhg</property>
<interpolation>
<entry>
<ind>27.90</ind>
<dep>0.0</dep>
</entry>
<entry>
<ind>28.0</ind>
<dep>9.35</dep>
</entry>
<entry>
<ind>28.5</ind>
<dep>59.0</dep>
</entry>
<entry>
<ind>29.0</ind>
<dep>109.0</dep>
</entry>
<entry>
<ind>29.5</ind>
<dep>159.5</dep>
</entry>
<entry>
<ind>29.9</ind>
<dep>200.0</dep>
</entry>
<entry>
<ind>30.0</ind>
<dep>210.0</dep>
</entry>
<entry>
<ind>30.5</ind>
<dep>261.0</dep>
</entry>
<entry>
<ind>31.0</ind>
<dep>310.0</dep>
</entry>
<entry>
<ind>31.4</ind>
<dep>350.0</dep>
</entry>
</interpolation>
<center>
<x>0.25</x>`
<y>0.25</y>
</center>
<axis>
<x>0</x>
<y>0</y>
<z>-1</z>
</axis>
</animation>
<!-- Altimeter -->
<animation>
<type>knob</type>
<object-name>disk</object-name>
<property>/instrumentation/altimeter/setting-inhg</property>
<factor>-800</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>-0.35708</x-m>
<y-m>-0.16251</y-m>
<z-m> 0.06989</z-m>
</center>
<action>
<binding>
<command>property-adjust</command>
<property>/instrumentation/altimeter/setting-inhg</property>
<factor>0.01</factor>
<min>26.0</min>
<max>33.0</max>
<wrap>false</wrap>
</binding>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
<tooltip-id>alt-setting</tooltip-id>
<label>Altimeter In Hg: %5.2f</label>
<property>instrumentation/altimeter/setting-inhg</property>
</binding>
</hovered>
</animation>
</PropertyList>