2015-06-16 21:20:54 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
|
2016-08-12 18:57:03 +00:00
|
|
|
<path>AI.ac</path>
|
2015-06-16 21:20:54 +00:00
|
|
|
|
2016-08-12 18:57:03 +00:00
|
|
|
<effect>
|
2021-09-14 18:34:27 +00:00
|
|
|
<inherits-from>../../../../Effects/interior/lm-ai</inherits-from>
|
2016-08-12 18:57:03 +00:00
|
|
|
<object-name>AdjustKnob</object-name>
|
|
|
|
<object-name>Roll</object-name>
|
2018-09-02 19:58:05 +00:00
|
|
|
<object-name>Pitch</object-name>
|
2018-05-17 11:58:44 +00:00
|
|
|
<object-name>Aircraft</object-name>
|
2018-09-02 19:58:05 +00:00
|
|
|
<object-name>RollReference</object-name>
|
2018-05-17 11:58:44 +00:00
|
|
|
<object-name>Bracket</object-name>
|
2018-09-02 19:58:05 +00:00
|
|
|
<object-name>Bezel</object-name>
|
2018-05-17 11:58:44 +00:00
|
|
|
<object-name>Case</object-name>
|
|
|
|
</effect>
|
|
|
|
|
2016-08-12 18:57:03 +00:00
|
|
|
<animation>
|
|
|
|
<type>material</type>
|
|
|
|
<object-name>Aircraft</object-name>
|
|
|
|
<object-name>Pitch</object-name>
|
|
|
|
<object-name>Roll</object-name>
|
|
|
|
<object-name>RollReference</object-name>
|
2018-09-02 19:58:05 +00:00
|
|
|
<object-name>Case</object-name>
|
|
|
|
<condition>
|
2021-09-14 18:34:27 +00:00
|
|
|
<or>
|
|
|
|
<not>
|
|
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
|
|
</not>
|
|
|
|
<equals>
|
|
|
|
<property>/sim/rendering/shaders/model</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
2018-09-02 19:58:05 +00:00
|
|
|
</condition>
|
2018-09-16 17:13:13 +00:00
|
|
|
<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>AdjustKnob</object-name>
|
|
|
|
<object-name>Bezel</object-name>
|
|
|
|
<object-name>Bracket</object-name>
|
|
|
|
<condition>
|
2021-09-14 18:34:27 +00:00
|
|
|
<or>
|
|
|
|
<not>
|
|
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
|
|
</not>
|
|
|
|
<equals>
|
|
|
|
<property>/sim/rendering/shaders/model</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
2018-09-16 17:13:13 +00:00
|
|
|
</condition>
|
2018-09-02 19:58:05 +00:00
|
|
|
<emission>
|
2018-09-16 17:13:13 +00:00
|
|
|
<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>
|
2018-09-02 19:58:05 +00:00
|
|
|
</emission>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>material</type>
|
|
|
|
<object-name>Aircraft</object-name>
|
|
|
|
<object-name>RollReference</object-name>
|
2016-08-12 18:57:03 +00:00
|
|
|
<emission>
|
2018-09-02 19:58:05 +00:00
|
|
|
<red>.3</red>
|
|
|
|
<green>.3</green>
|
|
|
|
<blue>.3</blue>
|
|
|
|
<factor-prop>/sim/model/lightmap/panel/factor</factor-prop>
|
2016-08-12 18:57:03 +00:00
|
|
|
</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>
|
2018-05-17 11:58:44 +00:00
|
|
|
<center>
|
2018-09-02 19:58:05 +00:00
|
|
|
<x-m>-0.38338</x-m>
|
|
|
|
<y-m>-0.22142</y-m>
|
|
|
|
<z-m> 0.10137</z-m>
|
2018-05-17 11:58:44 +00:00
|
|
|
</center>
|
2016-08-12 18:57:03 +00:00
|
|
|
</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>
|
2018-05-17 11:58:44 +00:00
|
|
|
<center>
|
2018-09-02 19:58:05 +00:00
|
|
|
<x-m>-0.38338</x-m>
|
|
|
|
<y-m>-0.22142</y-m>
|
|
|
|
<z-m> 0.10137</z-m>
|
2018-05-17 11:58:44 +00:00
|
|
|
</center>
|
2016-08-12 18:57:03 +00:00
|
|
|
</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>
|
2021-09-14 18:34:27 +00:00
|
|
|
<factor type="double">0.2</factor>
|
|
|
|
<min>-7.0</min>
|
|
|
|
<max>2.0</max>
|
2016-08-12 18:57:03 +00:00
|
|
|
</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>
|
2018-09-02 19:58:05 +00:00
|
|
|
<x-m>-0.36297</x-m>
|
2018-05-17 11:58:44 +00:00
|
|
|
<y-m>-0.22138</y-m>
|
|
|
|
<z-m> 0.06603</z-m>
|
2016-08-12 18:57:03 +00:00
|
|
|
</center>
|
|
|
|
<hovered>
|
|
|
|
<binding>
|
|
|
|
<command>set-tooltip</command>
|
|
|
|
<tooltip-id>ai-horizon-offset</tooltip-id>
|
2021-09-14 18:34:27 +00:00
|
|
|
<label>Horizon Offset: %.1f</label>
|
2016-08-12 18:57:03 +00:00
|
|
|
<property>instrumentation/attitude-indicator/horizon-offset-deg</property>
|
|
|
|
</binding>
|
|
|
|
</hovered>
|
|
|
|
</animation>
|
2015-06-16 21:20:54 +00:00
|
|
|
|
2018-09-02 19:58:05 +00:00
|
|
|
<!-- Cage system is not used in this model of the AI -->
|
|
|
|
<!--animation>
|
2016-08-12 18:57:03 +00:00
|
|
|
<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>
|
2018-09-02 19:58:05 +00:00
|
|
|
</animation-->
|
2016-08-12 18:57:03 +00:00
|
|
|
|
2018-09-02 19:58:05 +00:00
|
|
|
<!--animation>
|
2016-08-12 18:57:03 +00:00
|
|
|
<type>select</type>
|
|
|
|
<object-name>CagedIndicator</object-name>
|
|
|
|
<condition>
|
|
|
|
<property>instrumentation/attitude-indicator/caged-flag</property>
|
|
|
|
</condition>
|
2018-09-02 19:58:05 +00:00
|
|
|
</animation-->
|
2016-08-12 18:57:03 +00:00
|
|
|
|
2018-09-02 19:58:05 +00:00
|
|
|
<!--animation>
|
2016-08-12 18:57:03 +00:00
|
|
|
<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>
|
2018-09-02 19:58:05 +00:00
|
|
|
</animation-->
|
2016-08-12 18:57:03 +00:00
|
|
|
|
|
|
|
<!-- Support 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>
|
2018-09-02 19:58:05 +00:00
|
|
|
<texture>AI.png</texture>
|
2016-08-12 18:57:03 +00:00
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>material</type>
|
|
|
|
<object-name>Pitch</object-name>
|
|
|
|
<property-base>sim/model/liveryinstrumentsai2/</property-base>
|
|
|
|
<texture-prop>texture</texture-prop>
|
2018-09-02 19:58:05 +00:00
|
|
|
<texture>AI.png</texture>
|
2016-08-12 18:57:03 +00:00
|
|
|
</animation>
|
|
|
|
|
|
|
|
</PropertyList>
|