fbf4be91e3
from https://github.com/c172p-team/c172p/releases/tag/version%2F2020.4 f0e108bca8ebfde42c8496df84dd580716242a0d
93 lines
2.8 KiB
XML
93 lines
2.8 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<PropertyList>
|
|
|
|
<path>mag-compass.ac</path>
|
|
|
|
<effect>
|
|
<inherits-from>Aircraft/c172p/Models/Effects/interior/lm-fg1000-mag</inherits-from>
|
|
<object-name>Ring</object-name>
|
|
<object-name>Casing</object-name>
|
|
<object-name>Interior</object-name>
|
|
<object-name>Needle</object-name>
|
|
</effect>
|
|
|
|
<effect>
|
|
<inherits-from>Aircraft/c172p/Models/Effects/interior/interior-glass-reflection-panel-front</inherits-from>
|
|
<object-name>Glass</object-name>
|
|
</effect>
|
|
|
|
<animation>
|
|
<type>material</type>
|
|
<object-name>Ring</object-name>
|
|
<object-name>Needle</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>Casing</object-name>
|
|
<object-name>Interior</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>Ring</object-name>
|
|
<property>/instrumentation/magnetic-compass/indicated-heading-deg</property>
|
|
<factor>-1</factor>
|
|
<axis>
|
|
<x1-m>-0.36466</x1-m>
|
|
<y1-m> 0.00 </y1-m>
|
|
<z1-m> 0.2468</z1-m>
|
|
<x2-m>-0.36466</x2-m>
|
|
<y2-m> 0.00 </y2-m>
|
|
<z2-m> 0.23101</z2-m>
|
|
</axis>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>Ring</object-name>
|
|
<hovered>
|
|
<binding>
|
|
<command>set-tooltip</command>
|
|
<tooltip-id>magnetcompass</tooltip-id>
|
|
<label>Magnetic heading: %3d</label>
|
|
<property>instrumentation/magnetic-compass/indicated-heading-deg</property>
|
|
<mapping>heading</mapping>
|
|
</binding>
|
|
</hovered>
|
|
</animation>
|
|
|
|
</PropertyList>
|