1
0
Fork 0
fgdata/Aircraft/c172p/Instruments/EGT/EGT.xml

163 lines
4 KiB
XML
Raw Normal View History

2011-04-24 21:22:28 +00:00
<?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.
-->
<PropertyList>
<path>EGT.ac</path>
<params>
<value>engines/engine[0]/egt-norm</value>
<bug>engines/engine[0]/egt-bug-norm</bug>
</params>
<animation>
<type>range</type>
<min-m>0</min-m>
<max-m>10</max-m>
</animation>
<animation>
<type>material</type>
<object-name>egt</object-name>
<emission>
<red-prop>sim/model/instrument-lighting/emission/red</red-prop>
<green-prop>sim/model/instrument-lighting/emission/green</green-prop>
<blue-prop>sim/model/instrument-lighting/emission/blue</blue-prop>
<factor-prop>controls/lighting/instruments-norm</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>Needle</object-name>
<property alias="../../params/value"/>
<factor>-90.0</factor>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>-0.0015</x-m>
<y-m>0</y-m>
<z-m>-0.00766508</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>Bug</object-name>
<property alias="../../params/bug"/>
<factor>-90.0</factor>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>-0.0015</x-m>
<y-m>0</y-m>
<z-m>-0.00766508</z-m>
</center>
</animation>
<animation>
<type>pick</type>
<object-name>Knob.Pick.L</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/bug"/>
<step>-0.01</step>
<min>0.0</min>
<max>1.0</max>
<wrap>0</wrap>
</binding>
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/bug"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>0</wrap>
</binding>
</action>
<action>
<button>3</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/bug"/>
<step>-0.01</step>
<min>0.0</min>
<max>1.0</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Knob.Pick.R</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/bug"/>
<step>0.01</step>
<min>0.0</min>
<max>1.0</max>
<wrap>0</wrap>
</binding>
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/bug"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>0</wrap>
</binding>
</action>
<action>
<button>4</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/bug"/>
<step>0.01</step>
<min>0.0</min>
<max>1.0</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
</PropertyList>