1
0
Fork 0
fgdata/Aircraft/c172p/Models/Interior/Panel/Instruments/mag-compass/mag-compass.xml
2016-05-18 22:11:05 +01:00

44 lines
1.1 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<path>mag-compass.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>Ring</object-name>
<object-name>Casing</object-name>
</effect>
<animation>
<type>rotate</type>
<object-name>Ring</object-name>
<property>/instrumentation/magnetic-compass/indicated-heading-deg</property>
<axis>
<x>0.0</x>
<y>0.0</y>
<z>1.0</z>
</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>
</PropertyList>