6fd1e02f65
values must too.
152 lines
6.2 KiB
XML
152 lines
6.2 KiB
XML
<!-- The Harrier has a zillion variants. Where possible, the numbers
|
|
here are based on the Sea Harrier FRS.Mk.1, the initial version
|
|
for the Royal Navy of Falklands fame. -->
|
|
|
|
<airplane mass="14052">
|
|
|
|
<!-- Approach configuration -->
|
|
<approach speed="160" aoa="11">
|
|
<control-setting axis="/controls/throttle[0]" value="0.2"/>
|
|
<control-setting axis="/controls/flaps" value="1.0"/>
|
|
<control-setting axis="/controls/gear-down" value="1"/>
|
|
</approach>
|
|
|
|
<!-- Cruise configuration -->
|
|
<cruise speed="716" alt="39000">
|
|
<control-setting axis="/controls/throttle[0]" value="1.0"/>
|
|
<control-setting axis="/controls/flaps" value="0.0"/>
|
|
<control-setting axis="/controls/gear-down" value="0"/>
|
|
</cruise>
|
|
|
|
<cockpit x="-3.15" y="0.00" z="1.48"/>
|
|
|
|
<fuselage ax="0.00" ay="0.00" az="0.00"
|
|
bx="-15.57" by="0.00" bz="1.11"
|
|
width="1.6" taper="0.1" midpoint="0.3"/>
|
|
|
|
<wing x="-7.32" y="0.46" z="0.93" length="3.71" chord="3.15"
|
|
taper=".294" sweep="28" dihedral="-11" camber="0.05">
|
|
<stall aoa="21" width="8" peak="1.3"/>
|
|
<flap0 start="0.11" end="0.56" lift="1.5" drag="1.2"/>
|
|
<flap1 start="0.56" end="0.91" lift="1.2" drag="1.2"/>
|
|
<control-input axis="/controls/flaps" control="FLAP0"/>
|
|
<control-input axis="/controls/aileron" control="FLAP1" split="true"/>
|
|
<control-input axis="/controls/aileron-trim" control="FLAP1" split="true"/>
|
|
<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"/>
|
|
</wing>
|
|
|
|
<hstab x="-12.23" y="0.00" z="0.93" length="2.04" chord="1.48"
|
|
taper=".313" sweep="24.5" dihedral="-12">
|
|
<stall aoa="20" width="7" peak="1.5"/>
|
|
<flap0 start="0" end="1" lift="1.7" 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>
|
|
|
|
<vstab x="-12.51" y="0.00" z="1.20" length="2.78" chord="2.41"
|
|
taper=".308" sweep="23.5">
|
|
<stall aoa="20" width="7" peak="1.5"/>
|
|
<flap0 start="0.12" end="0.88" lift="1.2" drag="1.2"/>
|
|
<control-input axis="/controls/rudder" control="FLAP0" invert="true"/>
|
|
<control-input axis="/controls/rudder-trim" control="FLAP0" invert="true"/>
|
|
<control-output control="FLAP0" prop="/surface-positions/rudder-pos-norm"
|
|
min="1" max="-1"/>
|
|
</vstab>
|
|
|
|
<jet x="-6.12" y="0" z="0.56" mass="3000" thrust="21500" rotate="-90">
|
|
<actionpt x="-7.5" y="0" z="0.7"/>
|
|
<control-input axis="/controls/throttle[0]" control="THROTTLE"/>
|
|
<control-input axis="/controls/mixture[0]" control="VECTOR"
|
|
src0="0" src1="1" dst0="1" dst1="0"/>
|
|
</jet>
|
|
|
|
<!-- Harriers have little "reactor" jets to change the aircraft's
|
|
orientation during hover. I've been unable to find a good
|
|
reference for where these are, exactly. I've chosen to put the
|
|
pitch and yaw jets in the tail, and the roll jets point down from
|
|
the wingtips. This makes logical sense, but I'd be pleased if
|
|
anyone can find better info. -->
|
|
|
|
<!-- tail jets: left yaw, right yaw and pitch down -->
|
|
<thruster x="-15" y="0" z="1" vx="0" vy="1" vz="0" thrust="300">
|
|
<control-input axis="/controls/rudder" control="THROTTLE"
|
|
src0="0" src1="1" dst0="0" dst1="1"/>
|
|
</thruster>
|
|
<thruster x="-15" y="0" z="1" vx="0" vy="-1" vz="0" thrust="300">
|
|
<control-input axis="/controls/rudder" control="THROTTLE"
|
|
src0="-1" src1="0" dst0="1" dst1="0"/>
|
|
</thruster>
|
|
<thruster x="-15" y="0" z="1" vx="0" vy="0" vz="1" thrust="300">
|
|
<control-input axis="/controls/elevator" control="THROTTLE"
|
|
src0="0" src1="1" dst0="0" dst1="1"/>
|
|
</thruster>
|
|
|
|
<!-- wingtip jets for roll -->
|
|
<thruster x="-9.2" y="3.34" z="0" vx="0" vy="0" vz="1" thrust="300">
|
|
<control-input axis="/controls/aileron" control="THROTTLE"
|
|
src0="0" src1="1" dst0="0" dst1="1"/>
|
|
</thruster>
|
|
<thruster x="-9.2" y="3.34" z="0" vx="0" vy="0" vz="-1" thrust="300">
|
|
<control-input axis="/controls/aileron" control="THROTTLE"
|
|
src0="-1" src1="0" dst0="1" dst1="0"/>
|
|
</thruster>
|
|
<thruster x="-9.2" y="-3.34" z="0" vx="0" vy="0" vz="1" thrust="300">
|
|
<control-input axis="/controls/aileron" control="THROTTLE"
|
|
src0="-1" src1="0" dst0="1" dst1="0"/>
|
|
</thruster>
|
|
<thruster x="-9.2" y="-3.34" z="0" vx="0" vy="0" vz="-1" thrust="300">
|
|
<control-input axis="/controls/aileron" control="THROTTLE"
|
|
src0="0" src1="1" dst0="0" dst1="1"/>
|
|
</thruster>
|
|
|
|
<!-- nose jet for pitch up -->
|
|
<thruster x="0" y="0" z="0" vx="0" vy="0" vz="1" thrust="300">
|
|
<control-input axis="/controls/elevator" control="THROTTLE"
|
|
src0="-1" src1="0" dst0="1" dst1="0"/>
|
|
</thruster>
|
|
|
|
|
|
<!-- Forward main -->
|
|
<gear x="-4.91" y="0.00" z="-2.0" compression="0.75">
|
|
<control-input axis="/controls/rudder" control="STEER" square="true"/>
|
|
<control-input axis="/controls/brakes[0]" control="BRAKE"/>
|
|
<control-input axis="/controls/gear-down" control="EXTEND"/>
|
|
<control-output control="EXTEND" prop="/gear/gear[0]/position-norm"/>
|
|
<control-speed control="EXTEND" transition-time="7"/>
|
|
</gear>
|
|
|
|
<!-- Rear main -->
|
|
<gear x="-8.25" y="0.00" z="-1.5" compression="0.25">
|
|
<control-input axis="/controls/brakes[0]" control="BRAKE"/>
|
|
<control-input axis="/controls/gear-down" control="EXTEND"/>
|
|
<control-output control="EXTEND" prop="/gear/gear[1]/position-norm"/>
|
|
<control-speed control="EXTEND" transition-time="7"/>
|
|
</gear>
|
|
|
|
<!-- Wingtip gear -->
|
|
<gear x="-8.90" y="3.24" z="-1.5" compression="0.25">
|
|
<control-input axis="/controls/gear-down" control="EXTEND"/>
|
|
<control-output control="EXTEND" prop="/gear/gear[2]/position-norm"/>
|
|
<control-speed control="EXTEND" transition-time="7"/>
|
|
</gear>
|
|
|
|
<gear x="-8.90" y="-3.24" z="-1.5" compression="0.25">
|
|
<control-input axis="/controls/gear-down" control="EXTEND"/>
|
|
<control-output control="EXTEND" prop="/gear/gear[3]/position-norm"/>
|
|
<control-speed control="EXTEND" transition-time="7"/>
|
|
</gear>
|
|
|
|
<!-- This capacity is right, but I'm not sure what the tank
|
|
configuration of a FRS.Mk.1 is. Just put it all at the wing
|
|
root. -->
|
|
<tank x="-7.32" y="0" z="0.5" jet="true" capacity="5049"/>
|
|
|
|
<ballast x="-2" y="0" z="0" mass="600"/>
|
|
|
|
|
|
</airplane>
|