1
0
Fork 0
fgdata/Aircraft/c172p/Models/Interior/Panel/Instruments/hi/hi.xml

194 lines
5.6 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<PropertyList>
<path>hi.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/lm-hi</inherits-from>
<object-name>Face</object-name>
<object-name>OBS-Knob</object-name>
<object-name>Hdg-Knob</object-name>
<object-name>HdgBug</object-name>
<object-name>Front</object-name>
<object-name>Case</object-name>
</effect>
<animation>
<type>material</type>
<object-name>Face</object-name>
<object-name>Front</object-name>
<object-name>HdgBug</object-name>
<object-name>Case</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>OBS-Knob</object-name>
<object-name>Hdg-Knob</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>Face</object-name>
<property>instrumentation/heading-indicator/indicated-heading-deg</property>
<factor>-1</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>-0.37551</x-m>
<y-m>-0.22153</y-m>
<z-m>-0.00436</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>HdgBug</object-name>
<property>instrumentation/heading-indicator/indicated-heading-deg</property>
<factor>-1</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>-0.37551</x-m>
<y-m>-0.22153</y-m>
<z-m>-0.00436</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>HdgBug</object-name>
<property>autopilot/settings/heading-bug-deg</property>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>-0.37551</x-m>
<y-m>-0.22153</y-m>
<z-m>-0.00436</z-m>
</center>
</animation>
<!-- Heading Bug control -->
<animation>
<type>knob</type>
<object-name>Hdg-Knob</object-name>
<property>autopilot/settings/heading-bug-deg</property>
<factor>6</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>-0.36799</x-m>
<y-m>-0.19238</y-m>
<z-m>-0.03331</z-m>
</center>
<action>
<binding>
<command>property-adjust</command>
<property>autopilot/settings/heading-bug-deg</property>
<factor>1</factor>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<!-- Faster rate of change than the default -->
<drag-scale-px>4</drag-scale-px>
<shift-repeat type="int">5</shift-repeat>
<hovered>
<binding>
<command>set-tooltip</command>
<tooltip-id>heading-bug</tooltip-id>
<mapping>heading</mapping>
<label>Heading Bug: %3d</label>
<property>autopilot/settings/heading-bug-deg</property>
</binding>
</hovered>
</animation>
<!-- Heading Offset -->
<animation>
<type>knob</type>
<object-name>OBS-Knob</object-name>
<property>instrumentation/heading-indicator/offset-deg</property>
<factor>6</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>-0.36799</x-m>
<y-m>-0.25151</y-m>
<z-m>-0.03297</z-m>
</center>
<action>
<binding>
<command>property-adjust</command>
<property>instrumentation/heading-indicator/offset-deg</property>
<factor>1</factor>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<!-- Faster rate of change than the default -->
<drag-scale-px>4</drag-scale-px>
<shift-repeat type="int">5</shift-repeat>
<hovered>
<binding>
<command>set-tooltip</command>
<tooltip-id>heading-offset</tooltip-id>
<label>Heading Offset: %3d</label>
<mapping>heading</mapping>
<property>instrumentation/heading-indicator/offset-deg</property>
</binding>
</hovered>
</animation>
</PropertyList>