fbf4be91e3
from https://github.com/c172p-team/c172p/releases/tag/version%2F2020.4 f0e108bca8ebfde42c8496df84dd580716242a0d
125 lines
3.4 KiB
XML
125 lines
3.4 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<PropertyList>
|
|
|
|
<path>c172oil.ac</path>
|
|
|
|
<effect>
|
|
<inherits-from>../../../../Effects/interior/lm-oil</inherits-from>
|
|
<object-name>OilTempNeedle</object-name>
|
|
<object-name>OilPressNeedle</object-name>
|
|
<object-name>Face</object-name>
|
|
<object-name>Case</object-name>
|
|
</effect>
|
|
|
|
<animation>
|
|
<type>material</type>
|
|
<object-name>Face</object-name>
|
|
<object-name>OilTempNeedle</object-name>
|
|
<object-name>OilPressNeedle</object-name>
|
|
<object-name>Case</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>OilTempNeedle</object-name>
|
|
<object-name>OilPressNeedle</object-name>
|
|
<object-name>Case</object-name>
|
|
<or>
|
|
<not>
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
</not>
|
|
<equals>
|
|
<property>/sim/rendering/shaders/model</property>
|
|
<value>0</value>
|
|
</equals>
|
|
</or>
|
|
<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>OilTempNeedle</object-name>
|
|
<property>/engines/active-engine/indicated-oil-final-temperature-degf</property>
|
|
<interpolation>
|
|
<entry>
|
|
<ind>0</ind>
|
|
<dep>-29</dep>
|
|
</entry>
|
|
<entry>
|
|
<ind>100</ind>
|
|
<dep>-22</dep>
|
|
</entry>
|
|
<entry>
|
|
<ind>245</ind>
|
|
<dep>29</dep>
|
|
</entry>
|
|
</interpolation>
|
|
<center>
|
|
<x-m>-0.36308</x-m>
|
|
<y-m>-0.41916</y-m>
|
|
<z-m>-0.04088</z-m>
|
|
</center>
|
|
<axis>
|
|
<x>-1</x>
|
|
<y>0</y>
|
|
<z>0</z>
|
|
</axis>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>rotate</type>
|
|
<object-name>OilPressNeedle</object-name>
|
|
<property>engines/active-engine/indicated-oil-pressure-psi</property>
|
|
<interpolation>
|
|
<entry>
|
|
<ind>0</ind>
|
|
<dep>-27</dep>
|
|
</entry>
|
|
<entry>
|
|
<ind>50</ind>
|
|
<dep>2</dep>
|
|
</entry>
|
|
<entry>
|
|
<ind>90</ind>
|
|
<dep>16</dep>
|
|
</entry>
|
|
<entry>
|
|
<ind>115</ind>
|
|
<dep>26</dep>
|
|
</entry>
|
|
</interpolation>
|
|
<center>
|
|
<x-m>-0.36311</x-m>
|
|
<y-m>-0.38711</y-m>
|
|
<z-m>-0.04088</z-m>
|
|
</center>
|
|
<axis>
|
|
<x>-1</x>
|
|
<y>0</y>
|
|
<z>0</z>
|
|
</axis>
|
|
</animation>
|
|
|
|
</PropertyList>
|