fbf4be91e3
from https://github.com/c172p-team/c172p/releases/tag/version%2F2020.4 f0e108bca8ebfde42c8496df84dd580716242a0d
57 lines
1.6 KiB
XML
57 lines
1.6 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<PropertyList>
|
|
|
|
<path>oat.ac</path>
|
|
|
|
<effect>
|
|
<inherits-from>../../../../Effects/interior/lm-oat</inherits-from>
|
|
<object-name>OAT.needle</object-name>
|
|
<object-name>OAT.face</object-name>
|
|
<object-name>OAT.frame</object-name>
|
|
<object-name>OAT</object-name>
|
|
</effect>
|
|
|
|
<animation>
|
|
<type>material</type>
|
|
<object-name>OAT.needle</object-name>
|
|
<object-name>OAT.face</object-name>
|
|
<object-name>OAT.frame</object-name>
|
|
<object-name>OAT</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/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>rotate</type>
|
|
<object-name>OAT.needle</object-name>
|
|
<property>environment/temperature-degc</property>
|
|
<offset-deg>130</offset-deg>
|
|
<factor>2.166</factor>
|
|
<!-- notice: 0 = -60 * 2.17 + 130, 260 = 60 * 2.17 + 130 -->
|
|
<center>
|
|
<x-m>-0.01822</x-m>
|
|
<y-m> 0.44004</y-m>
|
|
<z-m> 0.46520</z-m>
|
|
</center>
|
|
<axis>
|
|
<x>0</x>
|
|
<y>1</y>
|
|
<z>0</z>
|
|
</axis>
|
|
</animation>
|
|
</PropertyList>
|