1
0
Fork 0
fgdata/Aircraft/c172p/Models/Interior/Panel/Instruments/RPM/RPM.xml
2018-09-16 18:13:13 +01:00

113 lines
3.1 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<path>RPM.ac</path>
<params>
<engine>
<rpm>engines/engine[2]/rpm</rpm>
</engine>
</params>
<effect>
<inherits-from>../../../../Effects/interior/lm-rpmr</inherits-from>
<object-name>PointerTip</object-name>
<object-name>PointerCentre</object-name>
</effect>
<effect>
<inherits-from>../../../../Effects/interior/lm-rpm</inherits-from>
<object-name>Face</object-name>
<object-name>Case</object-name>
</effect>
<animation>
<type>material</type>
<object-name>Face</object-name>
<object-name>PointerTip</object-name>
<object-name>Case</object-name>
<object-name>PointerCentre</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>Face</object-name>
<object-name>PointerTip</object-name>
<object-name>Case</object-name>
<condition>
<property>/sim/rendering/shaders/skydome</property>
</condition>
<emission>
<red> 1.0</red>
<green>0.8</green>
<blue> 0.5</blue>
<factor-prop>/sim/model/material/instruments/integral-factor</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>PointerCentre</object-name>
<object-name>PointerTip</object-name>
<property alias="/params/engine/rpm"/>
<interpolation>
<entry>
<ind>0</ind>
<dep>16</dep>
</entry>
<entry>
<ind>300</ind>
<dep>18</dep>
</entry>
<entry>
<ind>500</ind>
<dep>30</dep>
</entry>
<entry>
<ind>1000</ind>
<dep>68</dep>
</entry>
<entry>
<ind>1500</ind>
<dep>106</dep>
</entry>
<entry>
<ind>2000</ind>
<dep>144</dep>
</entry>
<entry>
<ind>2500</ind>
<dep>182</dep>
</entry>
<entry>
<ind>3000</ind>
<dep>220</dep>
</entry>
<entry>
<ind>3500</ind>
<dep>258</dep>
</entry>
</interpolation>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>-0.36622</x-m>
<y-m>-0.31306</y-m>
<z-m>-0.10802</z-m>
</center>
</animation>
</PropertyList>