1
0
Fork 0
fgdata/Aircraft/Instruments/single-throttle-quadrant.xml
curt 02b4b4a3f0 Lee Elliott:
Here're some updates for some of the instruments, the TSR2 and the B52.

The instruments are just parameterised/non-specific versions of the engine
and fuel gauges.  The old gauges will still be used by the a10s and the sea
hawks until I get them done.

There're a couple of tweaks to the tsr2 yasim config and amendments to the
model file to change the angle at which the airbrakes operate, correct the
direction that the nose gear retracts/extends and to rotate the main-gear
carts during retraction/extention.  There're also new panels, using the new
instruments.

The b52 yasim config has some big changes due to finding some more info i.e.
wing incidence of 6 degrees, fuel capacities and aileron changes (removed
from G & H versions!).  It's now based on an 'F' model and I've put some
comments in the yasim config about it.  The b52-readme.txt includes a
suggested method on getting airborne;).   I've included an amended model -
B52-F.3ds, which is the default in the new model file, and a couple of panels.

I'm quite pleased with the b52 - the take-offs resemble the photographs I've
seen and I think I've got reasonable values where I've had to guess at stuff,
but the results from the yasim solver look as through the model is
approaching the limits of acceptability for yasim.  By this I mean that the
model is probably a bit dodgy, not that the yasim solver is limited.
2003-02-06 17:32:55 +00:00

159 lines
3.5 KiB
XML
Executable file

<?xml version="1.0"?>
<!--
Throttle qquadrant.
December 2001 by John Check, j4strngs@rockfish.net
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
Hacked to create a single throttle quadrant.
2003/02/03 Lee Elliott
-->
<PropertyList>
<name>throttle quadrant</name>
<w-base>22</w-base>
<h-base>70</h-base>
<params>
<engine-throttle-select>/controls/throttle[0]</engine-throttle-select>
</params>
<layers>
<layer>
<name>backplate</name>
<texture>
<path>Aircraft/Instruments/Textures/faces-LE-misc1.rgb</path>
<x1>0.0</x1>
<x2>0.125</x2>
<y1>0.75</y1>
<y2>1.0</y2>
</texture>
<w>22</w>
<h>70</h>
</layer>
<!-- throttle -->
<layer>
<name>throttle handle </name>
<texture>
<path>Aircraft/Instruments/Textures/handles.rgb</path>
<x1>0.0</x1>
<x2>0.37890625</x2>
<y1>0.875</y1>
<y2>1.0</y2>
</texture>
<w>20</w>
<h>30</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>0</offset>
</transformation>
<transformation>
<type>y-shift</type>
<property alias="../../../../../params/engine-throttle-select"/>
<min>0.0</min>
<max>1.0</max>
<scale>40</scale>
<offset>-20</offset>
</transformation>
</transformations>
</layer>
</layers>
<actions>
<!-- throttle -->
<action>
<name>small decrease</name>
<button>0</button>
<x>-10</x>
<y>-10</y>
<w>20</w>
<h>20</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/engine-throttle-select"/>
<step>-0.01</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>small increase</name>
<button>0</button>
<x>-10</x>
<y>10</y>
<w>20</w>
<h>20</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/engine-throttle-select"/>
<step>0.01</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>big decrease</name>
<button>1</button>
<x>-10</x>
<y>-20</y>
<w>20</w>
<h>20</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/engine-throttle-select"/>
<step>-0.1</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>big increase</name>
<button>1</button>
<x>-10</x>
<y>20</y>
<w>20</w>
<h>20</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/engine-throttle-select"/>
<step>0.1</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</actions>
</PropertyList>