2005-02-19 10:51:46 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!--
|
|
|
|
************************************************************************
|
|
|
|
JSBSim Cessna 172P with 3D cockpit.
|
|
|
|
|
|
|
|
Started October 23 2001 by John Check, fgpanels@rockfish.net
|
|
|
|
************************************************************************
|
|
|
|
-->
|
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
|
|
|
|
<sim>
|
|
|
|
|
|
|
|
<description>Cessna 172P Skyhawk (1981 model)</description>
|
|
|
|
<author>David Megginson</author>
|
2011-05-25 20:47:44 +00:00
|
|
|
<status>early production</status>
|
|
|
|
<rating>
|
|
|
|
<FDM type="int">3</FDM>
|
|
|
|
<systems type="int">4</systems>
|
|
|
|
<model type="int">5</model>
|
|
|
|
<cockpit type="int">4</cockpit>
|
|
|
|
</rating>
|
|
|
|
|
2005-02-19 10:51:46 +00:00
|
|
|
|
|
|
|
<flight-model archive="y">jsb</flight-model>
|
|
|
|
<aero archive="y">c172p</aero>
|
|
|
|
|
2012-07-18 19:23:50 +00:00
|
|
|
<allow-toggle-cockpit type="bool">true</allow-toggle-cockpit>
|
2012-06-12 10:28:50 +00:00
|
|
|
|
2005-02-19 10:51:46 +00:00
|
|
|
<model>
|
2009-11-19 22:35:43 +00:00
|
|
|
<path archive="y">Aircraft/c172p/Models/c172p.xml</path>
|
|
|
|
|
|
|
|
<livery>
|
|
|
|
<file type="string">n301dp</file>
|
|
|
|
<index type="int">0</index>
|
|
|
|
</livery>
|
|
|
|
|
|
|
|
<liverytail>
|
|
|
|
<file type="string">n301dp</file>
|
|
|
|
<index type="int">0</index>
|
|
|
|
</liverytail>
|
2012-04-08 17:29:54 +00:00
|
|
|
|
2009-11-19 22:35:43 +00:00
|
|
|
<liverywing>
|
|
|
|
<file type="string">n301dp</file>
|
|
|
|
<index type="int">0</index>
|
|
|
|
</liverywing>
|
2012-04-08 17:29:54 +00:00
|
|
|
|
2009-11-19 22:35:43 +00:00
|
|
|
<c172p>
|
2012-04-08 17:29:54 +00:00
|
|
|
<immat type="bool">false</immat>
|
|
|
|
<fairing1 type="bool">true</fairing1>
|
|
|
|
<fairing2 type="bool">false</fairing2>
|
|
|
|
<fairing3 type="bool">false</fairing3>
|
2009-11-19 22:35:43 +00:00
|
|
|
</c172p>
|
2012-07-18 19:23:50 +00:00
|
|
|
<hide-yoke type="bool">false</hide-yoke>
|
2005-02-19 10:51:46 +00:00
|
|
|
</model>
|
|
|
|
|
2008-10-11 23:17:23 +00:00
|
|
|
<startup>
|
2009-11-19 22:35:43 +00:00
|
|
|
<splash-texture>Aircraft/c172p/splash.png</splash-texture>
|
|
|
|
</startup>
|
2008-10-11 23:17:23 +00:00
|
|
|
|
2005-02-19 10:51:46 +00:00
|
|
|
<!-- hide the 2D panel -->
|
|
|
|
|
|
|
|
<panel>
|
2012-04-08 17:29:54 +00:00
|
|
|
<visibility type="bool" archive="y">false</visibility>
|
2005-02-19 10:51:46 +00:00
|
|
|
</panel>
|
|
|
|
|
|
|
|
<!-- position the pilot viewpoint and angle -->
|
|
|
|
|
|
|
|
<view>
|
2012-04-08 17:29:54 +00:00
|
|
|
<internal type="bool" archive="y">true</internal>
|
2005-02-19 10:51:46 +00:00
|
|
|
<config>
|
2012-07-18 19:23:50 +00:00
|
|
|
<x-offset-m archive="y" type="double">-0.21</x-offset-m>
|
|
|
|
<y-offset-m archive="y" type="double">0.235</y-offset-m>
|
|
|
|
<z-offset-m archive="y" type="double">0.36</z-offset-m>
|
|
|
|
<pitch-offset-deg type="double">-12</pitch-offset-deg>
|
2005-02-19 10:51:46 +00:00
|
|
|
</config>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<systems>
|
|
|
|
<autopilot>
|
|
|
|
<path>Aircraft/c172p/Systems/KAP140.xml</path>
|
|
|
|
</autopilot>
|
2012-04-12 19:33:29 +00:00
|
|
|
<property-rule n="100">
|
2011-02-18 23:31:08 +00:00
|
|
|
<name>FiltersOnly</name>
|
2011-02-13 21:19:17 +00:00
|
|
|
<path>Aircraft/c172p/Systems/NAVandGSfilters.xml</path>
|
2012-04-05 19:03:26 +00:00
|
|
|
</property-rule>
|
2005-02-19 10:51:46 +00:00
|
|
|
<electrical>
|
2005-06-14 20:58:07 +00:00
|
|
|
<!-- null electrical system path here so we can use a nasal based -->
|
|
|
|
<!-- model defined later in the nasal section of this file. -->
|
|
|
|
<path></path>
|
2005-02-19 10:51:46 +00:00
|
|
|
</electrical>
|
|
|
|
</systems>
|
|
|
|
|
|
|
|
<sound>
|
|
|
|
<path archive="y">Aircraft/c172p/c172-sound.xml</path>
|
|
|
|
</sound>
|
|
|
|
|
2009-11-22 23:03:07 +00:00
|
|
|
<help include="c172-help.xml"/>
|
2005-04-19 13:43:44 +00:00
|
|
|
|
2008-12-31 16:25:45 +00:00
|
|
|
<tutorials include="Tutorials/c172-tutorials.xml"/>
|
2012-07-09 20:30:44 +00:00
|
|
|
|
|
|
|
<dimensions>
|
|
|
|
<radius-m type="double">5</radius-m>
|
|
|
|
</dimensions>
|
|
|
|
<aircraft-class type="string">ga</aircraft-class>
|
|
|
|
<aircraft-operator type="string">NONE</aircraft-operator>
|
2006-02-22 17:03:42 +00:00
|
|
|
|
2008-10-11 23:17:23 +00:00
|
|
|
<multiplay>
|
|
|
|
<chat_display>1</chat_display>
|
|
|
|
<generic>
|
2012-01-03 20:35:26 +00:00
|
|
|
<float n="0" alias="/sim/model/door-positions/rightDoor/position-norm"/>
|
|
|
|
<float n="1" alias="/sim/model/door-positions/leftDoor/position-norm"/>
|
|
|
|
<float n="2" alias="/sim/model/door-positions/baggageDoor/position-norm"/>
|
2008-10-11 23:17:23 +00:00
|
|
|
<int type="int">0</int>
|
|
|
|
<int type="int">0</int>
|
|
|
|
<int type="int">0</int>
|
|
|
|
<int type="int">0</int>
|
|
|
|
<int type="int">0</int>
|
|
|
|
<int type="int">0</int>
|
|
|
|
</generic>
|
2009-11-19 22:35:43 +00:00
|
|
|
</multiplay>
|
2011-10-01 21:23:38 +00:00
|
|
|
|
|
|
|
<flight-recorder>
|
|
|
|
<replay-config type="int">0</replay-config>
|
|
|
|
<config n="0" include="/Aircraft/Generic/flightrecorder/generic-piston-propeller-1.xml">
|
|
|
|
<name type="string">C172p Flight Recorder</name>
|
|
|
|
</config>
|
|
|
|
</flight-recorder>
|
|
|
|
|
2009-11-19 22:35:43 +00:00
|
|
|
<menubar include="Dialogs/c172p-menu.xml"/>
|
2008-10-11 23:17:23 +00:00
|
|
|
|
2005-02-19 10:51:46 +00:00
|
|
|
</sim>
|
2007-04-26 18:04:51 +00:00
|
|
|
|
2005-02-19 10:51:46 +00:00
|
|
|
<!-- trim for level cruise -->
|
|
|
|
|
|
|
|
<controls>
|
|
|
|
<flight>
|
2012-07-18 19:23:50 +00:00
|
|
|
<aileron-trim type="double">0.027</aileron-trim>
|
|
|
|
<rudder-trim type="double">0.0</rudder-trim>
|
2005-02-19 10:51:46 +00:00
|
|
|
</flight>
|
|
|
|
<engines>
|
|
|
|
<engine n="0">
|
2012-07-18 19:23:50 +00:00
|
|
|
<magnetos type="int">3</magnetos>
|
|
|
|
<master-bat type="bool">true</master-bat>
|
|
|
|
<master-alt type="bool">true</master-alt>
|
2005-02-19 10:51:46 +00:00
|
|
|
</engine>
|
|
|
|
</engines>
|
2012-06-11 20:50:54 +00:00
|
|
|
<lighting>
|
2012-06-15 21:51:53 +00:00
|
|
|
<landing-lights type="bool">false</landing-lights>
|
|
|
|
<taxi-light type="bool">false</taxi-light>
|
|
|
|
<strobe type="bool">false</strobe>
|
|
|
|
<beacon type="bool">false</beacon>
|
|
|
|
<nav-lights type="bool">false</nav-lights>
|
2012-06-11 20:50:54 +00:00
|
|
|
</lighting>
|
2012-07-18 19:23:50 +00:00
|
|
|
<switches>
|
|
|
|
<master-avionics type="bool">true</master-avionics>
|
|
|
|
<starter type="bool">false</starter>
|
|
|
|
</switches>
|
|
|
|
<engines>
|
|
|
|
<engine>
|
|
|
|
<master-bat type="bool">true</master-bat>
|
|
|
|
<master-alt type="bool">true</master-alt>
|
|
|
|
</engine>
|
|
|
|
</engines>
|
2005-02-19 10:51:46 +00:00
|
|
|
</controls>
|
|
|
|
|
|
|
|
<autopilot>
|
2007-04-26 18:04:51 +00:00
|
|
|
<KAP140>
|
|
|
|
<settings>
|
|
|
|
<auto-pitch-trim type="bool">true</auto-pitch-trim>
|
|
|
|
</settings>
|
|
|
|
</KAP140>
|
2005-02-19 10:51:46 +00:00
|
|
|
</autopilot>
|
|
|
|
|
|
|
|
<consumables>
|
|
|
|
<fuel>
|
|
|
|
<tank n="0">
|
2012-04-08 17:29:54 +00:00
|
|
|
<level-gal_us type="double">20</level-gal_us>
|
|
|
|
<selected type="bool">true</selected>
|
2005-02-19 10:51:46 +00:00
|
|
|
</tank>
|
|
|
|
<tank n="1">
|
2012-04-08 17:29:54 +00:00
|
|
|
<level-gal_us type="double">20</level-gal_us>
|
|
|
|
<selected type="bool">true</selected>
|
2005-02-19 10:51:46 +00:00
|
|
|
</tank>
|
|
|
|
</fuel>
|
|
|
|
</consumables>
|
|
|
|
|
|
|
|
<instrumentation>
|
2012-03-03 16:49:10 +00:00
|
|
|
<kma20 include="Aircraft/Instruments-3d/kma20/kma20init.xml"/>
|
2005-02-19 10:51:46 +00:00
|
|
|
<attitude-indicator>
|
|
|
|
<config>
|
|
|
|
<tumble-flag archive="y" type="bool">true</tumble-flag>
|
|
|
|
</config>
|
|
|
|
</attitude-indicator>
|
2007-02-04 12:55:28 +00:00
|
|
|
<encoder>
|
|
|
|
<serviceable type="bool">true</serviceable>
|
|
|
|
</encoder>
|
2012-07-18 19:26:33 +00:00
|
|
|
<adf n="0">
|
|
|
|
<ident-audible type="bool">false</ident-audible>
|
|
|
|
<volume type="double">0.7</volume>
|
|
|
|
</adf>
|
|
|
|
<nav n="0">
|
|
|
|
<volume type="double">0.7</volume>
|
|
|
|
</nav>
|
|
|
|
<nav n="1">
|
|
|
|
<volume type="double">0.7</volume>
|
|
|
|
</nav>
|
2005-02-19 10:51:46 +00:00
|
|
|
</instrumentation>
|
2007-04-26 18:04:51 +00:00
|
|
|
|
2005-02-19 10:51:46 +00:00
|
|
|
<engines>
|
|
|
|
<engine>
|
2012-06-11 20:50:54 +00:00
|
|
|
<rpm type="double">0</rpm>
|
|
|
|
<magnetos type="int">0</magnetos>
|
|
|
|
<mixture type="double">0</mixture>
|
|
|
|
<running type="bool">false</running>
|
2005-02-19 10:51:46 +00:00
|
|
|
</engine>
|
|
|
|
</engines>
|
2007-04-26 18:04:51 +00:00
|
|
|
|
2005-02-19 10:51:46 +00:00
|
|
|
<nasal>
|
2008-10-11 23:17:23 +00:00
|
|
|
|
|
|
|
<c172p>
|
2008-12-05 19:54:50 +00:00
|
|
|
<file>Aircraft/c172p/Nasal/liveries.nas</file>
|
2008-10-11 23:17:23 +00:00
|
|
|
<file>Aircraft/c172p/Nasal/immat.nas</file>
|
2008-12-04 22:44:18 +00:00
|
|
|
<file>Aircraft/c172p/Nasal/doors.nas</file>
|
|
|
|
<file>Aircraft/c172p/Nasal/light.nas</file>
|
2011-02-13 21:19:17 +00:00
|
|
|
<file>Aircraft/c172p/Nasal/tanks.nas</file>
|
2012-07-18 19:26:33 +00:00
|
|
|
<file>Aircraft/c172p/Nasal/kma20.nas</file>
|
2009-11-18 20:35:40 +00:00
|
|
|
<file>Aircraft/c172p/Nasal/ki266.nas</file>
|
2008-12-05 19:54:50 +00:00
|
|
|
<script><![CDATA[
|
|
|
|
ki266.new(0);
|
2011-07-20 20:21:52 +00:00
|
|
|
aircraft.data.add( "engines/engine[0]/egt-bug-norm" );
|
2008-12-05 19:54:50 +00:00
|
|
|
]]></script>
|
2008-10-11 23:17:23 +00:00
|
|
|
</c172p>
|
2009-11-22 23:03:07 +00:00
|
|
|
|
2005-06-14 20:58:07 +00:00
|
|
|
<electrical>
|
2008-10-11 23:17:23 +00:00
|
|
|
<file>Aircraft/c172p/Nasal/c172-electrical.nas</file>
|
2005-06-14 20:58:07 +00:00
|
|
|
</electrical>
|
2005-02-19 10:51:46 +00:00
|
|
|
<kap140>
|
2007-02-04 12:55:28 +00:00
|
|
|
<file>Aircraft/Generic/kap140.nas</file>
|
2007-04-26 18:04:51 +00:00
|
|
|
<!-- We can set some variables that might be
|
|
|
|
aircraft specific. We must do it after the file
|
|
|
|
to override the ones that are in the .nas file.-->
|
|
|
|
<script><![CDATA[
|
|
|
|
headingNeedleDeflection = "/instrumentation/nav/heading-needle-deflection";
|
2009-09-09 10:49:36 +00:00
|
|
|
gsNeedleDeflection = "/instrumentation/nav/gs-needle-deflection-norm";
|
2007-04-26 18:04:51 +00:00
|
|
|
staticPressure = "systems/static/pressure-inhg";
|
|
|
|
]]>
|
|
|
|
</script>
|
2005-02-19 10:51:46 +00:00
|
|
|
</kap140>
|
2008-12-04 22:44:18 +00:00
|
|
|
<kr87>
|
2012-07-18 19:23:50 +00:00
|
|
|
<file>Aircraft/c172p/Nasal/kr87.nas</file>
|
|
|
|
</kr87>
|
2005-02-19 10:51:46 +00:00
|
|
|
</nasal>
|
2008-09-01 15:14:33 +00:00
|
|
|
<payload>
|
2010-11-14 20:56:37 +00:00
|
|
|
<weight>
|
|
|
|
<name type="string">Pilot</name>
|
|
|
|
<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[0]"/>
|
|
|
|
<min-lb type="double">0.0</min-lb>
|
|
|
|
<max-lb type="double">300.0</max-lb>
|
|
|
|
</weight>
|
|
|
|
<weight>
|
|
|
|
<name type="string">Co-Pilot</name>
|
|
|
|
<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[1]"/>
|
|
|
|
<min-lb type="double">0.0</min-lb>
|
|
|
|
<max-lb type="double">300.0</max-lb>
|
|
|
|
</weight>
|
|
|
|
<weight>
|
|
|
|
<name type="string">Left Passenger</name>
|
|
|
|
<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[2]"/>
|
|
|
|
<min-lb type="double">0.0</min-lb>
|
|
|
|
<max-lb type="double">300.0</max-lb>
|
|
|
|
</weight>
|
|
|
|
<weight>
|
|
|
|
<name type="string">Right Passenger</name>
|
|
|
|
<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[3]"/>
|
|
|
|
<min-lb type="double">0.0</min-lb>
|
|
|
|
<max-lb type="double">300.0</max-lb>
|
|
|
|
</weight>
|
|
|
|
<weight>
|
|
|
|
<name type="string">Baggage</name>
|
|
|
|
<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[4]"/>
|
|
|
|
<min-lb type="double">0.0</min-lb>
|
|
|
|
<max-lb type="double">150.0</max-lb> <!-- WARNING: Max baggage "by the book" is 120lbs or less! -->
|
|
|
|
</weight>
|
|
|
|
</payload>
|
2009-11-19 22:35:43 +00:00
|
|
|
|
|
|
|
<input>
|
2011-08-21 20:43:27 +00:00
|
|
|
<keyboard>
|
|
|
|
<key n="76">
|
|
|
|
<name>L</name>
|
|
|
|
<desc>Decrease Panel lighting</desc>
|
2012-04-08 17:29:54 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2011-08-21 20:43:27 +00:00
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>controls/lighting/instruments-norm</property>
|
|
|
|
<step>-0.1</step>
|
|
|
|
<min>0</min>
|
|
|
|
<max>1.0</max>
|
|
|
|
<wrap>0</wrap>
|
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
<key n="108">
|
|
|
|
<name>l</name>
|
|
|
|
<desc>Increase Panel lighting</desc>
|
2012-04-08 17:29:54 +00:00
|
|
|
<repeatable type="bool">true</repeatable>
|
2011-08-21 20:43:27 +00:00
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>controls/lighting/instruments-norm</property>
|
|
|
|
<step>0.1</step>
|
|
|
|
<min>0</min>
|
|
|
|
<max>1.0</max>
|
|
|
|
<wrap>0</wrap>
|
|
|
|
</binding>
|
|
|
|
</key>
|
|
|
|
<key n="115">
|
|
|
|
<name>s</name>
|
|
|
|
<desc>Toggle Starter Switch</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/switches/starter</property>
|
|
|
|
<value >1</value>
|
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/switches/starter</property>
|
|
|
|
<value>0</value>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
|
|
|
</key>
|
2009-11-19 22:35:43 +00:00
|
|
|
</keyboard>
|
|
|
|
</input>
|
|
|
|
|
2005-02-19 10:51:46 +00:00
|
|
|
</PropertyList>
|