1
0
Fork 0
fgdata/Aircraft/c172p/Models/Interior/Panel/Instruments/mag-compass/mag-compass-float.xml

64 lines
1.9 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<PropertyList>
<path>mag-compass-float.ac</path>
<effect>
<inherits-from>Aircraft/c172p/Models/Effects/interior/c172p-interior</inherits-from>
<object-name>Casing</object-name>
<object-name>Interior</object-name>
</effect>
<effect>
<inherits-from>Aircraft/c172p/Models/Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>Ring</object-name>
</effect>
<animation>
<type>rotate</type>
<object-name>Ring</object-name>
<property>/instrumentation/magnetic-compass/indicated-heading-deg</property>
<factor>-1</factor>
<axis>
<x1-m>-0.33052</x1-m>
<y1-m> 0.00 </y1-m>
<z1-m> 0.27043</z1-m>
<x2-m>-0.33052</x2-m>
<y2-m> 0.00 </y2-m>
<z2-m> 0.25464</z2-m>
</axis>
</animation>
<animation>
<!-- <type>material</type> set this if you do NOT want a tooltip -->
<type>pick</type>
<object-name>Ring</object-name>
<!--emission>
<red>1.0</red>
<green>0.2</green>
<blue>0.0</blue>
<factor-prop>/sim/model//material/instruments/factor</factor-prop>
</emission-->
<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>
<animation>
<type>material</type>
<object-name>Ring</object-name>
<emission>
<red>0.45</red>
<green>0.09</green>
<blue>0.00001</blue>
<factor-prop>/sim/model//material/instruments/factor</factor-prop>
</emission>
</animation>
</PropertyList>