2001-12-11 10:25:27 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!--
|
|
|
|
A simple indicator lamp. Used here as a brake light.
|
|
|
|
John Check <j4strngs@usa.net>
|
|
|
|
-->
|
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
<name>Gear Indicator</name>
|
|
|
|
<w-base>64</w-base>
|
|
|
|
<h-base>26</h-base>
|
|
|
|
|
|
|
|
<layers>
|
|
|
|
<!-- The "bulb" -->
|
|
|
|
<layer>
|
|
|
|
<name>Brake light</name>
|
|
|
|
<type>switch</type>
|
|
|
|
<property>/controls[0]/gear-down</property> <!-- nose brake -->
|
|
|
|
<layer>
|
|
|
|
<name>on</name>
|
|
|
|
<texture>
|
2001-12-12 14:20:38 +00:00
|
|
|
<path>Aircraft/Instruments/Textures/warning-lamps.rgb</path>
|
2001-12-11 10:25:27 +00:00
|
|
|
<x1>0.25</x1>
|
|
|
|
<y1>0.0</y1>
|
|
|
|
<x2>0.5</x2>
|
|
|
|
<y2>0.095</y2>
|
|
|
|
</texture>
|
|
|
|
<w>64</w>
|
|
|
|
<h>26</h>
|
|
|
|
</layer>
|
|
|
|
<layer>
|
|
|
|
<name>off</name>
|
|
|
|
<texture>
|
2001-12-12 14:20:38 +00:00
|
|
|
<path>Aircraft/Instruments/Textures/warning-lamps.rgb</path>
|
2001-12-11 10:25:27 +00:00
|
|
|
<x1>0.0</x1>
|
|
|
|
<y1>0.0</y1>
|
|
|
|
<x2>0.25</x2>
|
|
|
|
<y2>0.095</y2>
|
|
|
|
</texture>
|
|
|
|
<w>64</w>
|
|
|
|
<h>26</h>
|
|
|
|
</layer>
|
|
|
|
</layer>
|
|
|
|
<!-- translucent lens -->
|
|
|
|
<layer>
|
|
|
|
<name>lens</name>
|
|
|
|
<texture>
|
2001-12-12 14:20:38 +00:00
|
|
|
<path>Aircraft/Instruments/Textures/warning-lamps.rgb</path>
|
2001-12-11 10:25:27 +00:00
|
|
|
<x1>0.74609375</x1>
|
|
|
|
<y1>0.0</y1>
|
|
|
|
<x2>1.0</x2>
|
|
|
|
<y2>0.08984375</y2>
|
|
|
|
</texture>
|
|
|
|
<w>64</w>
|
|
|
|
<h>26</h>
|
|
|
|
</layer>
|
|
|
|
</layers>
|
2002-02-14 06:09:47 +00:00
|
|
|
|
|
|
|
<actions>
|
|
|
|
<action>
|
|
|
|
<desc>gear</desc>
|
|
|
|
<button>0</button>
|
|
|
|
<x>-32</x>
|
|
|
|
<y>-13</y>
|
|
|
|
<w>64</w>
|
|
|
|
<h>26</h>
|
|
|
|
<binding>
|
|
|
|
<command>property-toggle</command>
|
|
|
|
<property>/controls/gear-down</property>
|
|
|
|
</binding>
|
|
|
|
</action>
|
|
|
|
</actions>
|
2001-12-11 10:25:27 +00:00
|
|
|
|
|
|
|
</PropertyList>
|