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

221 lines
6.3 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<PropertyList>
<path>alt-fg1000.ac</path>
<effect>
<inherits-from>Aircraft/c172p/Models/Effects/interior/lm-fg1000-alt</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>
<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>
<model>
<name>alt-fg1000</name>
<path>../../../../Effects/interior/procedural_light_instruments_fg1000.xml</path>
<offsets>
<x-m>-0.365791</x-m>
<y-m> 0.146484</y-m>
<z-m>-0.086077</z-m>
</offsets>
<condition>
<and>
<property>/controls/panel/glass</property>
<greater-than>
<property>/controls/lighting/stby</property>
<value>0</value>
</greater-than>
<greater-than>
<property>/sim/rendering/shaders/model</property>
<value>0</value>
</greater-than>
</and>
</condition>
</model>
<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.364714</x-m>
<y-m> 0.146845</y-m>
<z-m>-0.107902</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.364714</x-m>
<y-m> 0.146845</y-m>
<z-m>-0.107902</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.364714</x-m>
<y-m> 0.146845</y-m>
<z-m>-0.107902</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.349336</x-m>
<y-m> 0.119908</y-m>
<z-m>-0.135286</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>