123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430 |
- <?xml version="1.0" ?>
- <!--
- This file is part of FlightGear, the free flight simulator
- http://www.flightgear.org/
- Copyright (C) 2009 Torsten Dreyer, Torsten (at) t3r _dot_ de
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License as
- published by the Free Software Foundation; either version 2 of the
- License, or (at your option) any later version.
- This program is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
- -->
- <!--
- Animations for the ki525 hsi indicator
- Maintainer: Torsten Dreyer
- -->
- <PropertyList>
- <path>ki525a.ac</path>
- <params>
- <has-gs>instrumentation/nav[0]/has-gs</has-gs>
- <gs-in-range>instrumentation/nav[0]/gs-in-range</gs-in-range>
- <gs-needle-deflection>instrumentation/kcs55/ki525/gs-deflection</gs-needle-deflection>
- <cdi-needle-deflection>instrumentation/kcs55/ki525/cdi-deflection</cdi-needle-deflection>
- <selected-heading>instrumentation/kcs55/ki525/selected-heading-deg</selected-heading>
- <selected-course>instrumentation/kcs55/ki525/selected-course-deg</selected-course>
- <to-flag>instrumentation/kcs55/ki525/to-flag</to-flag>
- <from-flag>instrumentation/kcs55/ki525/from-flag</from-flag>
- <nav-flag>instrumentation/kcs55/ki525/nav-flag</nav-flag>
- <indicated-heading>instrumentation/kcs55/kg102/indicated-heading-deg</indicated-heading>
- <hdg-flag>instrumentation/kcs55/kg102/flag-norm</hdg-flag>
- </params>
- <animation>
- <type>range</type>
- <min-m>0</min-m>
- <max-m>10</max-m>
- </animation>
-
- <animation>
- <type>rotate</type>
- <object-name>CompassRose</object-name>
- <property alias="../../params/indicated-heading"/>
- <factor>1.0</factor>
- <axis>
- <x>1.0</x>
- <y>0.0</y>
- <z>0.0</z>
- </axis>
- <center>
- <x-m>-0.001</x-m>
- <y-m>0</y-m>
- <z-m>0</z-m>
- </center>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>HDGBug</object-name>
- <property alias="../../params/indicated-heading"/>
- <factor>1.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</y-m>
- <z-m>0</z-m>
- </center>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>HDGBug</object-name>
- <property alias="../../params/selected-heading"/>
- <factor>-1.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</y-m>
- <z-m>0</z-m>
- </center>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>HDGSelector</object-name>
- <property alias="../../params/selected-heading"/>
- <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.0309671</y-m>
- <z-m>-0.0274502</z-m>
- </center>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>HDGSelector</object-name>
- <property alias="../../params/indicated-heading"/>
- <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.0309671</y-m>
- <z-m>-0.0274502</z-m>
- </center>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>OBSSelector</object-name>
- <property alias="../../params/selected-course"/>
- <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.0309671</y-m>
- <z-m>-0.0274502</z-m>
- </center>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>OBSSelector</object-name>
- <property alias="../../params/indicated-heading"/>
- <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.0309671</y-m>
- <z-m>-0.0274502</z-m>
- </center>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>CDIPlate</object-name>
- <object-name>ArrowHead</object-name>
- <object-name>ArrowTail</object-name>
- <object-name>ArrowBody</object-name>
- <object-name>TO</object-name>
- <object-name>FROM</object-name>
- <property alias="../../params/indicated-heading"/>
- <factor>1.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</y-m>
- <z-m>0</z-m>
- </center>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>CDIPlate</object-name>
- <object-name>ArrowHead</object-name>
- <object-name>ArrowTail</object-name>
- <object-name>ArrowBody</object-name>
- <object-name>TO</object-name>
- <object-name>FROM</object-name>
- <property alias="../../params/selected-course"/>
- <factor>-1.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</y-m>
- <z-m>0</z-m>
- </center>
- </animation>
- <animation>
- <type>knob</type>
- <object-name>HDGSelector</object-name>
- <visible>true</visible>
- <action>
- <binding>
- <command>property-adjust</command>
- <property alias="../../../../params/selected-heading"/>
- <factor>1</factor>
- <min>0</min>
- <max>360</max>
- <wrap>true</wrap>
- </binding>
- </action>
- <hovered>
- <binding>
- <command>set-tooltip</command>
- <tooltip-id>HDG</tooltip-id>
- <label>Heading: %3.0f</label>
- <property alias="../../../../params/selected-heading"/>
- </binding>
- </hovered>
- </animation>
- <animation>
- <type>knob</type>
- <object-name>OBSSelector</object-name>
- <visible>true</visible>
- <action>
- <binding>
- <command>property-adjust</command>
- <property alias="../../../../params/selected-course"/>
- <factor>1</factor>
- <min>0</min>
- <max>360</max>
- <wrap>1</wrap>
- </binding>
- </action>
- <hovered>
- <binding>
- <command>set-tooltip</command>
- <tooltip-id>OBS</tooltip-id>
- <label>Bearing: %3.0f</label>
- <property alias="../../../../params/selected-course"/>
- </binding>
- </hovered>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>NAV</object-name>
- <property alias="../../params/nav-flag"/>
- <interpolation>
- <entry>
- <ind>0</ind>
- <dep>0</dep>
- </entry>
- <entry>
- <ind>0.5</ind>
- <dep>0.0</dep>
- </entry>
- <entry>
- <ind>0.90</ind>
- <dep>30.0</dep>
- </entry>
- <entry>
- <ind>1.0</ind>
- <dep>40</dep>
- </entry>
- </interpolation>
- <axis>
- <x>1.0</x>
- <y>0.0</y>
- <z>0.0</z>
- </axis>
- <center>
- <x-m>0</x-m>
- <y-m>-0.0217139</y-m>
- <z-m>0.0212677</z-m>
- </center>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>HDG</object-name>
- <property alias="../../params/hdg-flag"/>
- <interpolation>
- <entry>
- <ind>0</ind>
- <dep>-40.0</dep>
- </entry>
- <entry>
- <ind>1.0</ind>
- <dep>0</dep>
- </entry>
- </interpolation>
- <axis>
- <x>1.0</x>
- <y>0.0</y>
- <z>0.0</z>
- </axis>
- <center>
- <x-m>0</x-m>
- <y-m>0.0217139</y-m>
- <z-m>0.0212677</z-m>
- </center>
- </animation>
- <animation>
- <type>translate</type>
- <object-name>TO</object-name>
- <property alias="../../params/to-flag"/>
- <factor>0.00712488</factor>
- <axis>
- <x>0.0</x>
- <y>0.0</y>
- <z>1.0</z>
- </axis>
- </animation>
- <animation>
- <type>translate</type>
- <object-name>FROM</object-name>
- <property alias="../../params/from-flag"/>
- <factor>-0.00712488</factor>
- <axis>
- <x>0.0</x>
- <y>0.0</y>
- <z>1.0</z>
- </axis>
- </animation>
- <animation>
- <type>translate</type>
- <object-name>GS</object-name>
- <property alias="../../params/gs-needle-deflection"/>
- <factor>0.016</factor>
- <axis>
- <x>0.0</x>
- <y>0.0</y>
- <z>1.0</z>
- </axis>
- </animation>
- <animation>
- <type>select</type>
- <object-name>GS</object-name>
- <condition>
- <property alias="../../../params/has-gs"/>
- <property alias="../../../params/gs-in-range"/>
- </condition>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>ArrowBody</object-name>
- <property alias="../../params/cdi-needle-deflection"/>
- <factor>2.5</factor>
- <axis>
- <x>0.0</x>
- <y>0.0</y>
- <z>1.0</z>
- </axis>
- <center>
- <x-m>-0.0417058</x-m>
- <y-m>0</y-m>
- <z-m>0</z-m>
- </center>
- </animation>
- <!-- dimming -->
- <animation>
- <name>all</name>
- <object-name>CompassRose</object-name>
- <object-name>TO</object-name>
- <object-name>FROM</object-name>
- <object-name>ArrowHead</object-name>
- <object-name>ArrowTail</object-name>
- <object-name>ArrowBody</object-name>
- <object-name>NAV</object-name>
- <object-name>HDG</object-name>
- <object-name>HDGBug</object-name>
- <object-name>CDIPlate</object-name>
- <object-name>GS</object-name>
- <object-name>GSMarker</object-name>
- <object-name>GSLabel</object-name>
- <object-name>Marker</object-name>
- <object-name>LubberLine</object-name>
- <object-name>OBSSelector</object-name>
- <object-name>HDGSelector</object-name>
- </animation>
- <animation>
- <type>material</type>
- <object-name>all</object-name>
- <condition>
- <property>/controls/lighting/instrument-lights</property>
- </condition>
- <emission>
- <red> 0.8 </red>
- <green> 0.8 </green>
- <blue> 1.0 </blue>
- <factor>0.5</factor>
- </emission>
- </animation>
- <animation>
- <type>material</type>
- <object-name>all</object-name>
- <condition>
- <property>/controls/lighting/instrument-lights</property>
- </condition>
- <emission>
- <red> 0.8 </red>
- <green> 0.8 </green>
- <blue> 1.0 </blue>
- <factor-prop>systems/electrical/outputs/instrument-lights-norm</factor-prop>
- </emission>
- </animation>
- </PropertyList>
|