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.
205 lines
4.7 KiB
XML
205 lines
4.7 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<PropertyList>
|
|
|
|
<path>AI.ac</path>
|
|
|
|
<effect>
|
|
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
|
|
<object-name>Aircraft</object-name>
|
|
<object-name>CagedIndicator</object-name>
|
|
<object-name>Pitch</object-name>
|
|
<object-name>Roll</object-name>
|
|
<object-name>RollReference</object-name>
|
|
<object-name>AdjustKnob</object-name>
|
|
<object-name>CageKnob</object-name>
|
|
</effect>
|
|
|
|
<animation>
|
|
<type>material</type>
|
|
<object-name>Aircraft</object-name>
|
|
<object-name>CagedIndicator</object-name>
|
|
<object-name>Pitch</object-name>
|
|
<object-name>Roll</object-name>
|
|
<object-name>RollReference</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>
|
|
</animation>
|
|
|
|
<animation>
|
|
<name>Pitch</name>
|
|
<type>translate</type>
|
|
<object-name>Pitch</object-name>
|
|
<property>instrumentation/attitude-indicator/indicated-pitch-deg</property>
|
|
<factor>-0.0007</factor>
|
|
<min-m>-0.01575</min-m>
|
|
<max-m>0.01575</max-m>
|
|
<axis>
|
|
<x>0.0</x>
|
|
<y>0.0</y>
|
|
<z>1.0</z>
|
|
</axis>
|
|
</animation>
|
|
|
|
<animation>
|
|
<name>Horizon Offset</name>
|
|
<type>translate</type>
|
|
<object-name>Pitch</object-name>
|
|
<property>instrumentation/attitude-indicator/horizon-offset-deg</property>
|
|
<factor>-0.0007</factor>
|
|
<min-m>-0.01575</min-m>
|
|
<max-m>0.01575</max-m>
|
|
<axis>
|
|
<x>0.0</x>
|
|
<y>0.0</y>
|
|
<z>1.0</z>
|
|
</axis>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>rotate</type>
|
|
<object-name>Roll</object-name>
|
|
<property>instrumentation/attitude-indicator/indicated-roll-deg</property>
|
|
<factor>-1</factor>
|
|
<axis>
|
|
<x>-1</x>
|
|
<y>0</y>
|
|
<z>0</z>
|
|
</axis>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>rotate</type>
|
|
<object-name>Pitch</object-name>
|
|
<property>instrumentation/attitude-indicator/indicated-roll-deg</property>
|
|
<factor>-0.5</factor>
|
|
<axis>
|
|
<x>-1</x>
|
|
<y>0</y>
|
|
<z>0</z>
|
|
</axis>
|
|
</animation>
|
|
|
|
<!-- simply hide these -->
|
|
<animation>
|
|
<type>select</type>
|
|
<visible>false</visible>
|
|
<object-name>AdjustCW</object-name>
|
|
<object-name>AdjustCCW</object-name>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>knob</type>
|
|
<object-name>AdjustKnob</object-name>
|
|
|
|
<action>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>property-adjust</command>
|
|
<property>instrumentation/attitude-indicator/horizon-offset-deg</property>
|
|
<factor type="double">0.5</factor>
|
|
</binding>
|
|
</action>
|
|
|
|
<property>instrumentation/attitude-indicator/horizon-offset-deg</property>
|
|
<factor>-8</factor>
|
|
|
|
<axis>
|
|
<x>1</x>
|
|
<y>0</y>
|
|
<z>0</z>
|
|
</axis>
|
|
|
|
<center>
|
|
<x-m>0.0</x-m>
|
|
<y-m>0.0</y-m>
|
|
<z-m>-0.0353</z-m>
|
|
</center>
|
|
|
|
<hovered>
|
|
<binding>
|
|
<command>set-tooltip</command>
|
|
<tooltip-id>ai-horizon-offset</tooltip-id>
|
|
<label>Horizon Offset: %2d</label>
|
|
<property>instrumentation/attitude-indicator/horizon-offset-deg</property>
|
|
</binding>
|
|
</hovered>
|
|
</animation>
|
|
|
|
|
|
<animation>
|
|
<type>pick</type>
|
|
<visible>true</visible>
|
|
<object-name>CageKnob</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>property-toggle</command>
|
|
<property>instrumentation/attitude-indicator/caged-flag</property>
|
|
<value type="bool">true</value>
|
|
</binding>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>c172p.click("ai-caged")</script>
|
|
</binding>
|
|
</action>
|
|
|
|
<hovered>
|
|
<binding>
|
|
<command>set-tooltip</command>
|
|
<tooltip-id>ai-caged</tooltip-id>
|
|
<label>Caged: %s</label>
|
|
<mapping>on-off</mapping>
|
|
<property>instrumentation/attitude-indicator/caged-flag</property>
|
|
</binding>
|
|
</hovered>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>select</type>
|
|
<object-name>CagedIndicator</object-name>
|
|
<condition>
|
|
<property>instrumentation/attitude-indicator/caged-flag</property>
|
|
</condition>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>translate</type>
|
|
<object-name>CageKnob</object-name>
|
|
<property>instrumentation/attitude-indicator/caged-flag</property>
|
|
<factor>0.005</factor>
|
|
<axis>
|
|
<x>1</x>
|
|
<y>0</y>
|
|
<z>0</z>
|
|
</axis>
|
|
</animation>
|
|
|
|
<!-- suppport themes -->
|
|
<animation>
|
|
<type>material</type>
|
|
<object-name>Aircraft</object-name>
|
|
<object-name>Bracket</object-name>
|
|
<object-name>CageKnob</object-name>
|
|
<object-name>CagedIndicator</object-name>
|
|
<object-name>Roll</object-name>
|
|
<property-base>sim/model/liveryinstrumentsai/</property-base>
|
|
<texture-prop>texture</texture-prop>
|
|
<texture>AI1.png</texture>
|
|
</animation>
|
|
<animation>
|
|
<type>material</type>
|
|
<object-name>Pitch</object-name>
|
|
<property-base>sim/model/liveryinstrumentsai2/</property-base>
|
|
<texture-prop>texture</texture-prop>
|
|
<texture>AI2.png</texture>
|
|
</animation>
|
|
|
|
</PropertyList>
|
|
|
|
|