1
0
Fork 0
fgdata/Aircraft/Instruments/brakes.xml
j4strngs b5537626f8 Instruments are now consolidated in a single directory.
Textures are now more organized and usefully named.
2001-12-12 14:20:38 +00:00

110 lines
2.1 KiB
XML

<?xml version="1.0"?>
<!--
A simple indicator lamp. Used here as a brake light.
John Check <j4strngs@usa.net>
-->
<PropertyList>
<name>Brake</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]/brakes[2]</property> <!-- nose brake -->
<layer>
<name>on</name>
<texture>
<path>Aircraft/Instruments/Textures/warning-lamps.rgb</path>
<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>
<path>Aircraft/Instruments/Textures/warning-lamps.rgb</path>
<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>
<path>Aircraft/Instruments/Textures/warning-lamps.rgb</path>
<x1>0.495</x1>
<y1>0.0875</y1>
<x2>0.75</x2>
<y2>0.1975</y2>
</texture>
<transformations>
<transformation>
<type>y-shift</type>
<offset>-2</offset>
</transformation>
</transformations>
<w>64</w>
<h>26</h>
</layer>
</layers>
<actions>
<!--
<action>
<name>left on</name>
<type>adjust</type>
<x>-32</x>
<y>-13</y>
<w>64</w>
<h>26</h>
<property>/controls[0]/brakes[0]</property>
<increment>1.0</increment>
<min>0</min>
<max>1</max>
<wrap>true</wrap>
<button>0</button>
</action>
<action>
<name>right on</name>
<type>adjust</type>
<x>-32</x>
<y>-13</y>
<w>64</w>
<h>26</h>
<property>/controls[0]/brakes[1]</property>
<increment>1.0</increment>
<min>0</min>
<max>1</max>
<wrap>true</wrap>
<button>0</button>
</action>
-->
<action>
<name>nose brake</name>
<type>adjust</type>
<x>-32</x>
<y>-13</y>
<w>64</w>
<h>26</h>
<property>/controls[0]/brakes[2]</property> <!-- nose brake -->
<increment>1.0</increment>
<min>0</min>
<max>1</max>
<wrap>true</wrap>
<button>0</button>
</action>
</actions>
</PropertyList>