1
0
Fork 0
fgdata/Aircraft/c172p/Instruments/kr87-adf/ki227_228.xml
martin 922a09ebcf Heiko Schulz:
-new better panel
-added lights and made them switchable
-doors can be open now (pick animation)
-added some liveries by Brett Harrison
-added paintkit by Brett Harrison
-converted liveries to png
-replaced radio stack with 3d-radios, DME and marker-lights yet missing
-minor bugfixes
-added glass shader with fresnel effect

still work on the interior to do like the seats, walls and so on...
2008-12-04 22:44:18 +00:00

224 lines
5.1 KiB
XML

<?xml version="1.0"?>
<!--
ADF based on ki227 by Torsten Dreyer
-->
<PropertyList>
<path>ki227_228.ac</path>
<params>
<model>instrumentation/adf[0]/model</model>
<rotation-deg>instrumentation/adf[0]/rotation-deg</rotation-deg>
<adf-bearing-deg>instrumentation/adf[0]/indicated-bearing-deg</adf-bearing-deg>
<vor-bearing-deg>instrumentation/nav[0]/radials/reciprocal-radial-deg</vor-bearing-deg>
<indicated-heading>instrumentation/heading-indicator/indicated-heading-deg</indicated-heading>
</params>
<animation>
<type>noshadow</type>
</animation>
<animation>
<type>range</type>
<min-m>0</min-m>
<max-m>10</max-m>
</animation>
<animation>
<type>material</type>
<object-name>CompassRose</object-name>
<object-name>KI227.ADFNeedle</object-name>
<object-name>Marker</object-name>
<object-name>HDGSelector</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>
<type>select</type>
<object-name>KI227.ADFNeedle</object-name>
<object-name>HDGSelector</object-name>
<object-name>HDGSelectorPick.L</object-name>
<object-name>HDGSelectorPick.R</object-name>
<condition>
<not>
<equals>
<property alias="../../../../../params/model"/>
<value>ki228</value>
</equals>
</not>
</condition>
</animation>
<animation>
<type>rotate</type>
<object-name>CompassRose</object-name>
<property alias="../../params/rotation-deg"/>
<condition>
<not>
<equals>
<property alias="../../../../../params/model"/>
<value>ki228</value>
</equals>
</not>
</condition>
<factor>-1</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>CompassRose</object-name>
<property alias="../../params/indicated-heading"/>
<condition>
<equals>
<property alias="../../../../params/model"/>
<value>ki228</value>
</equals>
</condition>
<factor>-1</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>KI227.ADFNeedle</object-name>
<property alias="../../params/adf-bearing-deg"/>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>HDGSelector</object-name>
<property alias="../../params/rotation-deg"/>
<factor>8.0</factor>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>-0.0318072</y-m>
<z-m>-0.0327009</z-m>
</center>
</animation>
<animation>
<type>pick</type>
<object-name>HDGSelectorPick.L</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/rotation-deg"/>
<step>-1</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/rotation-deg"/>
<step>-10</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>HDGSelectorPick.R</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/rotation-deg"/>
<step>1</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/rotation-deg"/>
<step>10</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>HDGSelector</object-name>
<visible>true</visible>
<action>
<button>3</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/rotation-deg"/>
<step>-1</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<button>4</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/rotation-deg"/>
<step>1</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
</animation>
</PropertyList>