1
0
Fork 0
fgdata/Aircraft/c172p/Models/Interior/Panel/Instruments/RPM/RPM.xml
2021-09-14 19:34:27 +01:00

112 lines
3 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-rpm</inherits-from>
<object-name>PointerTip</object-name>
<object-name>PointerCentre</object-name>
<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>
<or>
<not>
<property>/sim/rendering/shaders/skydome</property>
</not>
<equals>
<property>/sim/rendering/shaders/model</property>
<value>0</value>
</equals>
</or>
</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>
<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>