1
0
Fork 0
fgdata/Aircraft/c172p/Instruments/EGT/EGT.xml
Stuart Buchanan b9e80543b1 Lighting update for c172p.
1) Add keyboard shortcuts for the panel lighting (to make life easier
   in the dark.
2) Add lighting to the EGT gauge.
2011-08-21 21:43:27 +01:00

165 lines
4 KiB
XML

<?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>
<object-name>Needle</object-name>
<object-name>Bug</object-name>
<object-name>Face</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>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>