1
0
Fork 0

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.
This commit is contained in:
curt 2003-02-06 17:32:55 +00:00
parent c08aa9f84d
commit 02b4b4a3f0
20 changed files with 1696 additions and 99 deletions

View file

@ -1,183 +1,276 @@
<!-- B52-H yasim config.
<!-- B52-F yasim config.
Lee Elliott. leee-fgfs@spatial.freeserve.co.uk
Notes.
B-52F with full fuel load, no weapon load.
This config cannot be regarded as an accurate representation
of a B-52F. I've used the real numbers, where I've been able
to find them, but a lot of this config is semi-educated
guesswork. I think all the bits are in the right places but
many of the numbers were obtained either by measuring a h/c
of the 3-view I used as a template for modelling or by reading
them out of my 3d modeller.
I found a reference to the wing incidence, sweep (see the wing
entry in the config) and the layout of the flaps and ailerons
(ailerons are positioned between the two sets of flaps on each
wing) but all the other numbers are guesswork. The X/YB52 had
only two positions for the flaps - up or down, with the down
position being at 35 deg. I found no references to this being
changed in later models. In view of that, although they're
pretty big, I've set the lift to only 1.3 and set extend time
to 35 seconds on the basis that the attitude change as a result
of going from full flaps to zero flaps shouldn't be too great.
The B52s had all moving tailplanes (9 deg up & 4 deg down) and
these cannot be represented correctly using yasim at the moment,
so in that respect this config is definitely a hack.
Lee Elliott. leee-fgfs@spatial.freeserve.co.uk
-->
<airplane mass="185000">
<airplane mass="173599">
<!-- Approach configuration -->
<approach speed="100" aoa="0.0">
<control-setting axis="/controls/throttle[0]" value="0.6"/>
<control-setting axis="/controls/flaps" value="2.0"/>
<approach speed="100" aoa="0.5">
<control-setting axis="/controls/throttle[0]" value="0.1"/>
<control-setting axis="/controls/throttle[1]" value="0.1"/>
<control-setting axis="/controls/throttle[2]" value="0.1"/>
<control-setting axis="/controls/throttle[3]" value="0.1"/>
<control-setting axis="/controls/throttle[4]" value="0.1"/>
<control-setting axis="/controls/throttle[5]" value="0.1"/>
<control-setting axis="/controls/throttle[6]" value="0.1"/>
<control-setting axis="/controls/throttle[7]" value="0.1"/>
<control-setting axis="/controls/flaps" value="1.0"/>
<control-setting axis="/controls/gear-down" value="1"/>
</approach>
</approach>
<!-- Cruise configuration -->
<cruise speed="450" alt="0"> -->
<control-setting axis="/controls/throttle[0]" value="1.0"/>
<!-- I found figures of 554 kt @ 21000 ft (max),
495 kt @ 46500 ft (max) and 454 kt cruise (no alt).
I found some references that implied that the max speeds were
limited by buffet and flutter and not by engine power i.e. an
E model was fitted with an electronically controlled system
designed to reduce stress on the airframe during low-level
operations and was able to fly 10 knots faster than the speed
at which a normal b52 would have disintegrated due to flutter.
-->
<cruise speed="554" alt="21000">
<control-setting axis="/controls/throttle[0]" value="0.6"/>
<control-setting axis="/controls/throttle[1]" value="0.6"/>
<control-setting axis="/controls/throttle[2]" value="0.6"/>
<control-setting axis="/controls/throttle[3]" value="0.6"/>
<control-setting axis="/controls/throttle[4]" value="0.6"/>
<control-setting axis="/controls/throttle[5]" value="0.6"/>
<control-setting axis="/controls/throttle[6]" value="0.6"/>
<control-setting axis="/controls/throttle[7]" value="0.6"/>
<control-setting axis="/controls/flaps" value="0.0"/>
<control-setting axis="/controls/gear-down" value="0"/>
</cruise>
</cruise>
<cockpit x="-2.2" y="0.0" z="2.0"/>
<cockpit x="-2.2" y="0.0" z="2.0"/>
<fuselage ax="0" ay="0" az="0" bx="-49.05" by="0" bz=".64"
<fuselage ax="0" ay="0" az="0" bx="-49.05" by="0" bz=".64"
width="3.2" taper="0.5" midpoint="0.3"/>
<wing x="-16.0" y="1.6" z="1.2" taper="0.4"
length="31.1" chord="10.0" sweep="35" dihedral="-4.0" camber="0.01">
<stall aoa="15.0" width="3" peak="1.3"/>
<flap0 start="0.0" end="0.7" lift="1.5" drag="1.2"/>
<flap1 start="0.75" end="0.9" lift="1.5" drag="1.2"/>
<spoiler start="0.5" end="0.75" lift="0.1" drag="20.0"/>
<!-- Wing incidence was set at 6 degrees because the tandem u/c meant
that the aircraft couldn't rotate in the conventional fashion. I
found lots of references to the sweep angle of 35 degrees but
none of them stated the chord point for it i.e. leading edge or
quarter-chord. As yasim uses mid-chord I've subtracted 0.5 degree
as a fudge factor.
Yasim also only allows for one [real] flap entry per wing so I
specify the two separate flap sections on each wing (see Notes.
above) with the aileron between them. Instead, I've stuck the
aileron after the flaps and reduced their lift.
-->
<wing x="-16.0" y="1.6" z="1.2" taper="0.4" incidence="6"
length="31.1" chord="10.0" sweep="34.5" dihedral="-3.0" camber="0.16">
<stall aoa="15.0" width="2" peak="1.3"/>
<flap0 start="0.0" end="0.7" lift="1.5" drag="1.8"/>
<flap1 start="0.7" end="0.78" lift="1.3" drag="1.2"/>
<spoiler start="0.5" end="0.75" lift="0.0" drag="20.0"/>
<control-input axis="/controls/flaps" control="FLAP0"/>
<control-input axis="/controls/aileron" control="FLAP1" split="true"/>
<control-input axis="/controls/spoilers" control="SPOILER"/>
<control-output control="FLAP0" prop="/surface-positions/flap-pos-norm"/>
<control-output control="FLAP1" side="left"
prop="/surface-positions/left-aileron-pos-norm"/>
<control-output control="FLAP1" side="right"
prop="/surface-positions/right-aileron-pos-norm"/>
<control-output control="SPOILER" side="left"
prop="/surface-positions/left-spoiler-pos-norm"/>
<control-output control="SPOILER" side="right"
prop="/surface-positions/right-spoiler-pos-norm"/>
<control-output control="FLAP1" side="left" prop="/surface-positions/left-aileron-pos-norm"/>
<control-output control="FLAP1" side="right" prop="/surface-positions/right-aileron-pos-norm"/>
<control-output control="SPOILER" side="left" prop="/surface-positions/left-spoiler-pos-norm"/>
<control-output control="SPOILER" side="right" prop="/surface-positions/right-spoiler-pos-norm"/>
<control-speed control="FLAP0" transition-time="5"/>
<control-speed control="FLAP0" transition-time="35"/>
<control-speed control="FLAP1" transition-time="0.3"/>
<control-speed control="SPOILER" transition-time="0.5"/>
</wing>
</wing>
<hstab x="-41.5" y="1.0" z="0.8" taper="0.25" effectiveness="1.0"
<!-- The hstab/elevators are nearly deltas ao I've given them a high
stall AoA figure.
-->
<hstab x="-41.5" y="1.0" z="0.8" taper="0.25" effectiveness="1.0"
length="7.5" chord="7.5" sweep="40.0" dihedral="0.0">
<stall aoa="15.0" width="3" peak="1.5"/>
<flap0 start="0" end="1" lift="1.7" drag="2.0"/>
<stall aoa="25.0" width="3" peak="1.5"/>
<flap0 start="0" end="1" lift="1.5" drag="1.2"/>
<control-input axis="/controls/elevator" control="FLAP0"/>
<control-input axis="/controls/elevator-trim" control="FLAP0"/>
<control-output control="FLAP0" prop="/surface-positions/elevator-pos-norm"/>
</hstab>
<control-speed control="FLAP0" transition-time="0.5"/>
</hstab>
<vstab x="-41.5" y="0" z="2.0" taper="0.4"
<vstab x="-41.5" y="0" z="2.0" taper="0.4"
length="8.5" chord="7.5" sweep="35.0">
<stall aoa="15.0" width="3" peak="1.5"/>
<stall aoa="20.0" width="3" peak="1.5"/>
<flap0 start="0" end="1" lift="1.15" drag="1.3"/>
<control-input axis="/controls/rudder" control="FLAP0" invert="true"/>
<control-output control="FLAP0" prop="/surface-positions/rudder-pos-norm"/>
</vstab>
</vstab>
<!-- Engine entries -->
<!-- I've used the dry thrust rating of the J57-P-43WA turbojet (11200 lb)
here instead of the wet-thrust (13500 lb). This will make take offs a
little more sluggish but is about equivilent of a B-52B with wet-thrust.
This model is a little heavier though.
I couldn't find a weight for the engines and have guessed at 4000lb
-->
<!-- Left wing engines -->
<!-- Left Outer Left -->
<jet x="-23.0" y="20.0" z="-1.0"
<jet x="-23.0" y="20.0" z="-1.0"
mass="4000"
thrust="17000">
thrust="11200">
<control-input axis="/controls/throttle[0]" control="THROTTLE"/>
</jet>
</jet>
<!-- Left Outer Right -->
<jet x="-23.0" y="18.0" z="-1.0"
<jet x="-23.0" y="18.0" z="-1.0"
mass="4000"
thrust="17000">
<control-input axis="/controls/throttle[0]" control="THROTTLE"/>
</jet>
thrust="11200">
<control-input axis="/controls/throttle[1]" control="THROTTLE"/>
</jet>
<!-- Left Inner Left -->
<jet x="-15.0" y="12.0" z="-1.0"
<jet x="-15.0" y="12.0" z="-1.0"
mass="4000"
thrust="17000">
<control-input axis="/controls/throttle[0]" control="THROTTLE"/>
</jet>
thrust="11200">
<control-input axis="/controls/throttle[2]" control="THROTTLE"/>
</jet>
<!-- Left Inner Right -->
<jet x="-15.0" y="10.0" z="-1.0"
<jet x="-15.0" y="10.0" z="-1.0"
mass="4000"
thrust="17000">
<control-input axis="/controls/throttle[0]" control="THROTTLE"/>
</jet>
thrust="11200">
<control-input axis="/controls/throttle[3]" control="THROTTLE"/>
</jet>
<!-- Right wing engines -->
<!-- Right Inner Left -->
<jet x="-15.0" y="-10.0" z="-1.0"
<jet x="-15.0" y="-10.0" z="-1.0"
mass="4000"
thrust="17000">
<control-input axis="/controls/throttle[0]" control="THROTTLE"/>
</jet>
thrust="11200">
<control-input axis="/controls/throttle[4]" control="THROTTLE"/>
</jet>
<!-- Right Inner Right -->
<jet x="-15.0" y="-12.0" z="-1.0"
<jet x="-15.0" y="-12.0" z="-1.0"
mass="4000"
thrust="17000">
<control-input axis="/controls/throttle[0]" control="THROTTLE"/>
</jet>
thrust="11200">
<control-input axis="/controls/throttle[5]" control="THROTTLE"/>
</jet>
<!-- Right Outer Left -->
<jet x="-23.0" y="-18.0" z="-1.0"
<jet x="-23.0" y="-18.0" z="-1.0"
mass="4000"
thrust="17000">
<control-input axis="/controls/throttle[0]" control="THROTTLE"/>
</jet>
thrust="11200">
<control-input axis="/controls/throttle[6]" control="THROTTLE"/>
</jet>
<!-- Right Outer Right -->
<jet x="-23.0" y="-20.0" z="-1.0"
<jet x="-23.0" y="-20.0" z="-1.0"
mass="4000"
thrust="17000">
<control-input axis="/controls/throttle[0]" control="THROTTLE"/>
</jet>
thrust="11200">
<control-input axis="/controls/throttle[7]" control="THROTTLE"/>
</jet>
<!-- Front Left -->
<gear x="-13.2" y="2.0" z="-2.8" retract-time="7" compression="1.0">
<gear x="-13.2" y="2.0" z="-2.9" retract-time="7" compression="1.0">
<control-input axis="/controls/rudder" control="STEER" square="true"/>
<control-input axis="/controls/gear-down" control="EXTEND"/>
<control-speed control="EXTEND" transition-time="7"/>
<control-output control="EXTEND" prop="/gear/gear/position-norm"/>
</gear>
</gear>
<!-- Front Right -->
<gear x="-13.2" y="-2.0" z="-2.8" retract-time="7" compression="1.0">
<gear x="-13.2" y="-2.0" z="-2.9" retract-time="7" compression="1.0">
<control-input axis="/controls/rudder" control="STEER" square="true"/>
<control-input axis="/controls/gear-down" control="EXTEND"/>
<control-speed control="EXTEND" transition-time="7"/>
<control-output control="EXTEND" prop="/gear/gear/position-norm"/>
</gear>
</gear>
<!-- Rear Left -->
<gear x="-28.0" y="2.0" z="-2.8" retract-time="7" compression="1.2">
<gear x="-28.0" y="2.0" z="-2.9" retract-time="7" compression="1.0">
<control-input axis="/controls/brakes" control="BRAKE"/>
<control-input axis="/controls/gear-down" control="EXTEND"/>
<control-speed control="EXTEND" transition-time="7"/>
<control-output control="EXTEND" prop="/gear/gear/position-norm"/>
</gear>
</gear>
<!-- Rear Right -->
<gear x="-28.0" y="-2.0" z="-2.8" retract-time="7" compression="1.2">
<gear x="-28.0" y="-2.0" z="-2.9" retract-time="7" compression="1.0">
<control-input axis="/controls/brakes" control="BRAKE"/>
<control-input axis="/controls/gear-down" control="EXTEND"/>
<control-speed control="EXTEND" transition-time="7"/>
<control-output control="EXTEND" prop="/gear/gear/position-norm"/>
</gear>
</gear>
<!-- Left Wing -->
<gear x="-31.0" y="23.0" z="-2.0" retract-time="7" compression="3.5">
<gear x="-31.0" y="23.0" z="-2.0" retract-time="7" compression="2.5">
<control-input axis="/controls/brakes[0]" control="BRAKE"/>
<control-input axis="/controls/gear-down" control="EXTEND"/>
<control-speed control="EXTEND" transition-time="7"/>
<control-output control="EXTEND" prop="/gear/gear/position-norm"/>
</gear>
</gear>
<!-- Right Wing -->
<gear x="-31.0" y="-23.0" z="-2.0" retract-time="7" compression="3.5">
<gear x="-31.0" y="-23.0" z="-2.0" retract-time="7" compression="2.5">
<control-input axis="/controls/brakes[1]" control="BRAKE"/>
<control-input axis="/controls/gear-down" control="EXTEND"/>
<control-speed control="EXTEND" transition-time="7"/>
<control-output control="EXTEND" prop="/gear/gear/position-norm"/>
</gear>
</gear>
<tank x="-20.0" y="6.0" z="2.0" capacity="80000"/>
<tank x="-20.0" y="-6.0" z="2.0" capacity="80000"/>
<!-- Fuel tanks -->
<!-- Total fuel for the F model was 41553 gal incl the external tanks
<ballast x="-10.0" y="0" z="1" mass="30000"/>
There are a total of ten internal tanks, three located in the wings
and four along the top of the fuselage above the bomb bay. I don't
know what percentage was held in the wings vs. the fuselage but I'm
guessing that more was held in the fuselage tank than half of the
wing tank total.
There are also two external wing tanks holding 3000 gal each.
fgfs seems to convert gal to lbs using a ratio of 1:6 giving a total
of 249318 lb of fuel, of which 18000 lb are in each external tank.
That leaves 213318 of fuel to be distributed in the wings and
fuselage.
-->
<tank x="-20.0" y="10.0" z="2.0" capacity="70000"/>
<tank x="-20.0" y="-10.0" z="2.0" capacity="70000"/>
<tank x="-20.0" y="0.0" z="2.3" capacity="73318"/>
<tank x="-30.0" y="28.0" z="1.5" capacity="18000"/>
<tank x="-30.0" y="-28.0" z="1.5" capacity="18000"/>
<!-- This is to level the aircraft on the ground
-->
<ballast x="-12.0" y="0" z="0" mass="40000"/>
</airplane>

View file

@ -22,10 +22,12 @@
</approach>
<!-- Cruise configuration -->
<!-- <cruise speed="500" alt="35000"> -->
<cruise speed="550" alt="35000"> -->
<control-setting axis="/controls/throttle[0]" value="0.5"/>
<control-setting axis="/controls/throttle[1]" value="0.5"/>
<!-- <cruise speed="840" alt="1000"> -->
<cruise speed="1197" alt="35000">
<control-setting axis="/controls/throttle[0]" value="1.0"/>
<control-setting axis="/controls/throttle[1]" value="1.0"/>
<control-setting axis="/controls/afterburner[0]" value="1.0"/>
<control-setting axis="/controls/afterburner[1]" value="1.0"/>
<control-setting axis="/controls/flaps" value="0.0"/>
<control-setting axis="/controls/gear-down" value="0"/>
</cruise>
@ -58,6 +60,7 @@
prop="/surface-positions/right-spoiler-pos-norm"/>
<control-speed control="FLAP0" transition-time="5"/>
<control-speed control="FLAP1" transition-time="0.5"/>
<control-speed control="SPOILER" transition-time="0.5"/>
</wing>
@ -65,10 +68,11 @@
<hstab x="-10.0" y="1.0" z="0.5" taper=".2" effectiveness="2.0"
length="3.0" chord="4.0" sweep="55" dihedral="0.0">
<stall aoa="35.0" width="3" peak="1.5"/>
<flap0 start="0" end="1" lift="1.26" drag="1.3"/>
<flap0 start="0" end="1" lift="1.4" drag="1.3"/>
<control-input axis="/controls/elevator" control="FLAP0"/>
<control-input axis="/controls/elevator-trim" control="FLAP0"/>
<control-output control="FLAP0" prop="/surface-positions/elevator-pos-norm"/>
<control-speed control="FLAP0" transition-time="0.5"/>
</hstab>
<vstab x="-10.0" y="0" z="1.38" taper=".176" effectiveness="1.0"

Binary file not shown.

View file

@ -34,7 +34,7 @@ instrument
<h-base>128</h-base>
<params>
<pt0-select>/instrumentation/airspeed-indicator/indicated-speed-kt</pt0-select>
<pt0-select>/steam/airspeed-kt</pt0-select>
</params>
<layers>

View file

@ -0,0 +1,142 @@
<?xml version="1.0"?>
<!--
Default RPM gauge instrument.
Started summer 2000 by David Megginson, david@megginson.com.
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 by Lee Elliott to create an engine egt-degf gauge instrument
<leee-fgfs@spatial.freeserve.co.uk>
-->
<PropertyList>
<name>egt-degf Gauge</name>
<w-base>128</w-base>
<h-base>128</h-base>
<params>
<pt-select>/engines/engine/egt-degf</pt-select>
</params>
<layers>
<layer>
<name>gauge face</name>
<texture>
<path>Aircraft/Instruments/Textures/faces-LE1.rgb</path>
<x1>0.0</x1>
<x2>0.5</x2>
<y1>0.5</y1>
<y2>1.0</y2>
</texture>
<w>114</w>
<h>114</h>
</layer>
<layer>
<name>needle 1</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.6796875</x1>
<x2>0.7265625</x2>
<y1>0.68359375</y1>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>48</h>
<transformations>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/pt-select"/>
<min>0</min>
<max>40000</max>
<scale>0.036</scale>
<offset>0</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>needle 0</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8</x1>
<y1>0.78125</y1>
<x2>0.8375</x2>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>48</h>
<transformations>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/pt-select"/>
<min>0</min>
<max>40000</max>
<scale>0.36</scale>
<offset>0</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>button</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.6171875</x1>
<y1>0.2421875</y1>
<x2>0.7890625</x2>
<y2>0.4140625</y2>
</texture>
<w>14</w>
<h>14</h>
</layer>
<layer>
<name>glare shield</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel1.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>124</w>
<h>124</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>2</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-2</offset>
</transformation>
</transformations>
</layer>
</layers>
</PropertyList>

View file

@ -0,0 +1,142 @@
<?xml version="1.0"?>
<!--
Default RPM gauge instrument.
Started summer 2000 by David Megginson, david@megginson.com.
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 by Lee Elliott to create an engine epr gauge instrument
<leee-fgfs@spatial.freeserve.co.uk>
-->
<PropertyList>
<name>epr Gauge</name>
<w-base>128</w-base>
<h-base>128</h-base>
<params>
<pt-select>/engines/engine/epr</pt-select>
</params>
<layers>
<layer>
<name>gauge face</name>
<texture>
<path>Aircraft/Instruments/Textures/faces-LE1.rgb</path>
<x1>0.5</x1>
<x2>1.0</x2>
<y1>0.0</y1>
<y2>0.5</y2>
</texture>
<w>114</w>
<h>114</h>
</layer>
<layer>
<name>needle 1</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.6796875</x1>
<x2>0.7265625</x2>
<y1>0.68359375</y1>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>48</h>
<transformations>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/pt-select"/>
<min>0</min>
<max>40000</max>
<scale>36.0</scale>
<offset>0</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>needle 0</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8</x1>
<y1>0.78125</y1>
<x2>0.8375</x2>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>48</h>
<transformations>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/pt-select"/>
<min>0</min>
<max>40000</max>
<scale>360.0</scale>
<offset>0</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>button</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.6171875</x1>
<y1>0.2421875</y1>
<x2>0.7890625</x2>
<y2>0.4140625</y2>
</texture>
<w>14</w>
<h>14</h>
</layer>
<layer>
<name>glare shield</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel1.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>124</w>
<h>124</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>2</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-2</offset>
</transformation>
</transformations>
</layer>
</layers>
</PropertyList>

View file

@ -0,0 +1,142 @@
<?xml version="1.0"?>
<!--
Default RPM gauge instrument.
Started summer 2000 by David Megginson, david@megginson.com.
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 by Lee Elliott to create an engine fuel-flow-gph gauge instrument
<leee-fgfs@spatial.freeserve.co.uk>
-->
<PropertyList>
<name>fuel-flow-gph Gauge</name>
<w-base>128</w-base>
<h-base>128</h-base>
<params>
<pt-select>/engines/engine/fuel-flow-gph</pt-select>
</params>
<layers>
<layer>
<name>gauge face</name>
<texture>
<path>Aircraft/Instruments/Textures/faces-LE1.rgb</path>
<x1>0.0</x1>
<x2>0.5</x2>
<y1>0.0</y1>
<y2>0.5</y2>
</texture>
<w>114</w>
<h>114</h>
</layer>
<layer>
<name>needle 1</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.6796875</x1>
<x2>0.7265625</x2>
<y1>0.68359375</y1>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>48</h>
<transformations>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/pt-select"/>
<min>0</min>
<max>40000</max>
<scale>0.036</scale>
<offset>0</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>needle 0</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8</x1>
<y1>0.78125</y1>
<x2>0.8375</x2>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>48</h>
<transformations>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/pt-select"/>
<min>0</min>
<max>40000</max>
<scale>0.36</scale>
<offset>0</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>button</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.6171875</x1>
<y1>0.2421875</y1>
<x2>0.7890625</x2>
<y2>0.4140625</y2>
</texture>
<w>14</w>
<h>14</h>
</layer>
<layer>
<name>glare shield</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel1.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>124</w>
<h>124</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>2</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-2</offset>
</transformation>
</transformations>
</layer>
</layers>
</PropertyList>

View file

@ -0,0 +1,147 @@
<?xml version="1.0"?>
<!--
Default RPM gauge instrument.
Started summer 2000 by David Megginson, david@megginson.com.
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 by Lee Elliott to create an engine prop-thrust gauge instrument
<leee-fgfs@spatial.freeserve.co.uk>
-->
<PropertyList>
<name>Prop Thrust Gauge</name>
<w-base>128</w-base>
<h-base>128</h-base>
<params>
<pt-select>/engines/engine[0]/prop-thrust</pt-select>
</params>
<layers>
<layer>
<name>gauge face</name>
<texture>
<path>Aircraft/Instruments/Textures/faces-LE1.rgb</path>
<x1>0.5</x1>
<x2>1.0</x2>
<y1>0.5</y1>
<y2>1.0</y2>
</texture>
<w>114</w>
<h>114</h>
</layer>
<layer>
<name>needle 1</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.6796875</x1>
<x2>0.7265625</x2>
<y1>0.68359375</y1>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>48</h>
<transformations>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/pt-select"/>
<min>0</min>
<max>40000</max>
<scale>0.0036</scale>
<offset>0</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>needle 0</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8</x1>
<y1>0.78125</y1>
<x2>0.8375</x2>
<y2>1.0</y2>
<color>
<red>1.0</red>
<green>1.0</green>
<blue>1.0</blue>
</color>
</texture>
<w>6</w>
<h>48</h>
<transformations>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/pt-select"/>
<min>0</min>
<max>40000</max>
<scale>0.036</scale>
<offset>0</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>button</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.6171875</x1>
<y1>0.2421875</y1>
<x2>0.7890625</x2>
<y2>0.4140625</y2>
</texture>
<w>14</w>
<h>14</h>
</layer>
<layer>
<name>glare shield</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel1.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>124</w>
<h>124</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>2</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-2</offset>
</transformation>
</transformations>
</layer>
</layers>
</PropertyList>

View file

@ -0,0 +1,157 @@
<?xml version="1.0"?>
<!--
Default RPM gauge instrument.
Started summer 2000 by David Megginson, david@megginson.com.
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 by Lee Elliott to create an engine reheat gauge and control
instrument
<leee-fgfs@spatial.freeserve.co.uk>
-->
<PropertyList>
<name>Reheat Gauge</name>
<w-base>128</w-base>
<h-base>128</h-base>
<params>
<pt-select>/controls/afterburner</pt-select>
<reheat-select>/controls/afterburner</reheat-select>
</params>
<layers>
<layer>
<name>gauge face</name>
<texture>
<path>Aircraft/Instruments/Textures/faces-LE2.rgb</path>
<x1>0.0</x1>
<x2>0.5</x2>
<y1>0.5</y1>
<y2>1.0</y2>
</texture>
<w>104</w>
<h>104</h>
</layer>
<layer>
<name>needle 0</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8</x1>
<y1>0.78125</y1>
<x2>0.8375</x2>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>48</h>
<transformations>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/pt-select"/>
<min>-0.05</min>
<max>1.05</max>
<scale>265</scale>
<offset>0</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>buttons</name>
<texture>
<path>Aircraft/Instruments/Textures/plusminus.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>1.0</y2>
</texture>
<w>104</w>
<h>104</h>
</layer>
<layer>
<name>glare shield</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel1.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>124</w>
<h>124</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>2</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-2</offset>
</transformation>
</transformations>
</layer>
</layers>
<actions>
<!-- Engine Reheat -->
<action>
<name>Minus</name>
<button>0</button>
<x>43</x>
<y>-55</y>
<w>15</w>
<h>15</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/reheat-select"/>
<step>-0.1</step>
<min>0</min>
<max>1</max>
<wrap>0</wrap>
</binding>
</action>
<action>
<name>Plus</name>
<button>0</button>
<x>-50</x>
<y>-52</y>
<w>15</w>
<h>15</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/reheat-select"/>
<step>0.1</step>
<min>0</min>
<max>3</max>
<wrap>0</wrap>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -49,6 +49,33 @@ Hacked by Lee Elliott to create a fuel (Total) gals gauge instrument
<h>104</h>
</layer>
<layer>
<name>needle 2</name>
<texture>
<path>Aircraft/Instruments/Textures/faces-LE-misc1.rgb</path>
<x1>0.6796875</x1>
<x2>0.7265625</x2>
<y1>0.68359375</y1>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>48</h>
<transformations>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/pt-select"/>
<min>0</min>
<max>100000</max>
<scale>0.0036</scale>
<offset>0</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>needle 1</name>
<texture>
@ -65,7 +92,7 @@ Hacked by Lee Elliott to create a fuel (Total) gals gauge instrument
<type>rotation</type>
<property alias="../../../../../params/pt-select"/>
<min>0</min>
<max>40000</max>
<max>100000</max>
<scale>0.036</scale>
<offset>0</offset>
</transformation>
@ -92,7 +119,7 @@ Hacked by Lee Elliott to create a fuel (Total) gals gauge instrument
<type>rotation</type>
<property alias="../../../../../params/pt-select"/>
<min>0</min>
<max>40000</max>
<max>100000</max>
<scale>0.36</scale>
<offset>0</offset>
</transformation>

View file

@ -0,0 +1,169 @@
<?xml version="1.0"?>
<!--
Default RPM gauge instrument.
Started summer 2000 by David Megginson, david@megginson.com.
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 by Lee Elliott to create a fuel tank-gals_us gauge instrument
<leee-fgfs@spatial.freeserve.co.uk>
-->
<PropertyList>
<name>Fuel Tank Gals Gauge</name>
<w-base>128</w-base>
<h-base>128</h-base>
<params>
<pt-select>/consumables/fuel/tank/level-gal_us</pt-select>
</params>
<layers>
<layer>
<name>gauge face</name>
<texture>
<path>Aircraft/Instruments/Textures/faces-LE2.rgb</path>
<x1>0.5</x1>
<x2>1.0</x2>
<y1>0.5</y1>
<y2>1.0</y2>
</texture>
<w>104</w>
<h>104</h>
</layer>
<layer>
<name>needle 2</name>
<texture>
<path>Aircraft/Instruments/Textures/faces-LE-misc1.rgb</path>
<x1>0.6796875</x1>
<x2>0.7265625</x2>
<y1>0.68359375</y1>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>48</h>
<transformations>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/pt-select"/>
<min>0</min>
<max>1000000</max>
<scale>0.0036</scale>
<offset>0</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>needle 1</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.6796875</x1>
<x2>0.7265625</x2>
<y1>0.68359375</y1>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>48</h>
<transformations>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/pt-select"/>
<min>0</min>
<max>1000000</max>
<scale>0.036</scale>
<offset>0</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>needle 0</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8</x1>
<y1>0.78125</y1>
<x2>0.8375</x2>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>48</h>
<transformations>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/pt-select"/>
<min>0</min>
<max>1000000</max>
<scale>0.36</scale>
<offset>0</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>button</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.6171875</x1>
<y1>0.2421875</y1>
<x2>0.7890625</x2>
<y2>0.4140625</y2>
</texture>
<w>14</w>
<h>14</h>
</layer>
<layer>
<name>glare shield</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel1.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>124</w>
<h>124</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>2</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-2</offset>
</transformation>
</transformations>
</layer>
</layers>
</PropertyList>

View file

@ -0,0 +1,159 @@
<?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 reheat quadrant.
2003/02/03 Lee Elliott
-->
<PropertyList>
<name>reheat quadrant</name>
<w-base>22</w-base>
<h-base>70</h-base>
<params>
<engine-reheat-select>/controls/afterburner[0]</engine-reheat-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>
<!-- reheat -->
<layer>
<name>reheat handle </name>
<texture>
<path>Aircraft/Instruments/Textures/handles.rgb</path>
<x1>0.0</x1>
<x2>0.37890625</x2>
<y1>0.73828125</y1>
<y2>0.86328125</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-reheat-select"/>
<min>0.0</min>
<max>1.0</max>
<scale>40</scale>
<offset>-20</offset>
</transformation>
</transformations>
</layer>
</layers>
<actions>
<!-- reheat -->
<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-reheat-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-reheat-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-reheat-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-reheat-select"/>
<step>0.1</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -0,0 +1,126 @@
<?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 step flap quadrant - the flaps are
extended/retracted in a single step.
2003/01 Lee Elliott
-->
<PropertyList>
<name>flap quadrant</name>
<w-base>22</w-base>
<h-base>70</h-base>
<params>
<flaps-select>/controls/flaps</flaps-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>
<!-- flap -->
<layer>
<name>flap handle </name>
<texture>
<path>Aircraft/Instruments/Textures/handles.rgb</path>
<x1>0.0</x1>
<x2>0.37890625</x2>
<y1>0.6015625</y1>
<y2>0.72265625</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/flaps-select"/>
<min>0.0</min>
<max>1.0</max>
<scale>40</scale>
<offset>-20</offset>
</transformation>
</transformations>
</layer>
</layers>
<actions>
<!-- flap extend/retract -->
<action>
<name>Flap Retract</name>
<button>0</button>
<x>-20</x>
<y>-35</y>
<w>40</w>
<h>20</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/flaps-select"/>
<step>-1</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>Flap Extend</name>
<button>0</button>
<x>-20</x>
<y>10</y>
<w>40</w>
<h>20</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/flaps-select"/>
<step>1</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -0,0 +1,159 @@
<?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>

View file

@ -0,0 +1,126 @@
<?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 three step flap quadrant - the flaps are
extended/retracted in three steps.
2003/01 Lee Elliott
-->
<PropertyList>
<name>flap quadrant</name>
<w-base>22</w-base>
<h-base>70</h-base>
<params>
<flaps-select>/controls/flaps</flaps-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>
<!-- flap -->
<layer>
<name>flap handle </name>
<texture>
<path>Aircraft/Instruments/Textures/handles.rgb</path>
<x1>0.0</x1>
<x2>0.37890625</x2>
<y1>0.6015625</y1>
<y2>0.72265625</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/flaps-select"/>
<min>0.0</min>
<max>1.0</max>
<scale>40</scale>
<offset>-20</offset>
</transformation>
</transformations>
</layer>
</layers>
<actions>
<!-- flap extend/retract -->
<action>
<name>Flap Retract</name>
<button>0</button>
<x>-20</x>
<y>-35</y>
<w>40</w>
<h>20</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/flaps-select"/>
<step>-0.34</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>Flap Extend</name>
<button>0</button>
<x>-20</x>
<y>10</y>
<w>40</w>
<h>20</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/flaps-select"/>
<step>0.34</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -15,14 +15,14 @@ B52-H set file.
<sound>
<audible>true</audible>
<path>Aircraft/b52/b52-sound.xml</path>
<path>Aircraft/a4/a4-sound.xml</path>
</sound>
<panel>
<path>Aircraft/c310/c310-vfr-panel.xml</path>
<path>Aircraft/b52/b52-vfr-panel.xml</path>
</panel>
<panel_2>
<path>Aircraft/c310/c310-mini-panel.xml</path>
<path>Aircraft/b52/b52-mini-panel.xml</path>
</panel_2>
<hud>
@ -53,23 +53,27 @@ B52-H set file.
</sim>
<controls>
<elevator-trim type="float">-0.14</elevator-trim>
</controls>
<autopilot>
<config>
<min-climb-speed-kt type="float">150.0</min-climb-speed-kt>
<min-climb-speed-kt type="float">110.0</min-climb-speed-kt>
<best-climb-speed-kt type="float">450.0</best-climb-speed-kt>
<target-climb-rate-fpm type="float">4000.0</target-climb-rate-fpm>
<target-climb-rate-fpm type="float">3000.0</target-climb-rate-fpm>
<target-descent-rate-fpm type="float">4000.0</target-descent-rate-fpm>
<elevator-adj-factor type="float">400.0</elevator-adj-factor>
<elevator-adj-factor type="float">1600.0</elevator-adj-factor>
<integral-contribution type="float">0.005</integral-contribution>
<max-aileron type="float">0.6</max-aileron>
<max-roll-deg type="float">50.0</max-roll-deg>
<max-aileron type="float">1.0</max-aileron>
<max-roll-deg type="float">40.0</max-roll-deg>
<roll-out-deg type="float">10.0</roll-out-deg>
<roll-out-deg type="float">18.0</roll-out-deg>
<roll-out-smooth-deg type="float">20.0</roll-out-smooth-deg>
<zero-pitch-throttle type="float">0.5</zero-pitch-throttle>