f44db83b25
From https://github.com/Juanvvc/c172p-detailed/ release/2016.1 commit 3f33b88bb015a8ee685ab3178932d16d6e072410 A big Thank-You to the c172p-detailed team for their ongoing work.
44 lines
1.1 KiB
XML
44 lines
1.1 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<PropertyList>
|
|
|
|
<path>mag-compass.ac</path>
|
|
|
|
<effect>
|
|
<inherits-from>../../../../Effects/interior/c172p-flashlight</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>
|