1
0
Fork 0

Dave Perry:

The attached patch adds "Hide yoke" to the c172p menu, adjusts the gear spring forces and damping to cause a more tail low attitude sitting on the ground, optimizes vertices and surfaces in c172p.ac,  as well as cleaning up the tabs and indents in several xml files.
This commit is contained in:
jmt 2009-11-19 22:35:43 +00:00
parent b9462268a7
commit 9987224de8
5 changed files with 6529 additions and 7181 deletions

View file

@ -20,6 +20,13 @@
<script>c172p.immat_dialog.toggle()</script>
</binding>
</item>
<item>
<label>Show/hide yoke</label>
<binding>
<command>property-toggle</command>
<property>sim/model/hide-yoke</property>
</binding>
</item>
</menu>
</default>

File diff suppressed because it is too large Load diff

View file

@ -8,7 +8,6 @@
<z-m> -0.065 </z-m>
</offsets>
<nasal>
<load>
var livery_update = aircraft.livery_update.new(
@ -37,20 +36,17 @@
<path>Models/Aircraft/marker.xml</path>
</model>
<animation>
<animation>
<type>shader</type>
<shader>chrome</shader>
<texture>glass_shader.png</texture>
<object-name>glas</object-name>
<object-name>leftwindow</object-name>
<object-name>rightwindow</object-name>
</animation>
</animation>
<!--instrumentation-->
<model>
<model>
<name>MagCompass</name>
<path>Aircraft/Instruments-3d/mag-compass.xml</path>
<offsets>
@ -58,9 +54,9 @@
<y-m>0.00</y-m>
<z-m>0.18</z-m>
</offsets>
</model>
</model>
<model>
<model>
<name>AI</name>
<path>Aircraft/c172p/Instruments/AI/AI.xml</path>
<offsets>
@ -68,9 +64,9 @@
<y-m>-0.222</y-m>
<z-m>0.069</z-m>
</offsets>
</model>
</model>
<model>
<model>
<name>Altimeter</name>
<path>Aircraft/Instruments-3d/alt/alt.xml</path>
<offsets>
@ -78,9 +74,9 @@
<y-m>-0.133</y-m>
<z-m>0.069</z-m>
</offsets>
</model>
</model>
<model>
<model>
<name>BatteryGauge</name>
<path>Aircraft/c172p/Instruments/BatteryGauge/BatteryGauge.xml</path>
<offsets>
@ -88,9 +84,9 @@
<y-m>-0.410</y-m>
<z-m>-0.171</z-m>
</offsets>
</model>
</model>
<model>
<model>
<name>Kap140</name>
<path>Aircraft/c172p/Instruments/kap140/KAP140TwoAxisAlt.xml</path>
<offsets>
@ -98,9 +94,9 @@
<y-m>0.116</y-m>
<z-m>-0.092</z-m>
</offsets>
</model>
</model>
<model>
<model>
<name>dme</name>
<path>Aircraft/c172p/Instruments/dme/dme.xml</path>
<offsets>
@ -108,9 +104,9 @@
<y-m>0.116</y-m>
<z-m>-0.142</z-m>
</offsets>
</model>
</model>
<model>
<model>
<name>asi</name>
<path>Aircraft/c172p/Instruments/asi/asi.xml</path>
<offsets>
@ -118,9 +114,9 @@
<y-m>-0.311</y-m>
<z-m>0.068</z-m>
</offsets>
</model>
</model>
<model>
<model>
<name>Turn</name>
<path>Aircraft/c172p/Instruments/Turn/Turn.xml</path>
<offsets>
@ -128,9 +124,9 @@
<y-m>-0.311</y-m>
<z-m>-0.037</z-m>
</offsets>
</model>
</model>
<model>
<model>
<name>VSI</name>
<path>Aircraft/c172p/Instruments/VSI/VSI.xml</path>
<offsets>
@ -138,9 +134,9 @@
<y-m>-0.131</y-m>
<z-m>-0.036</z-m>
</offsets>
</model>
</model>
<model>
<model>
<name>RPM</name>
<path>Aircraft/c172p/Instruments/RPM/RPM.xml</path>
<offsets>
@ -148,9 +144,9 @@
<y-m>-0.311</y-m>
<z-m>-0.142</z-m>
</offsets>
</model>
</model>
<model>
<model>
<name>hi</name>
<path>Aircraft/c172p/Instruments/hi/hi.xml</path>
<offsets>
@ -158,9 +154,9 @@
<y-m>-0.222</y-m>
<z-m>-0.036</z-m>
</offsets>
</model>
</model>
<model>
<model>
<name>vor</name>
<path>Aircraft/Instruments-3d/vor/vor.xml</path>
<offsets>
@ -168,9 +164,9 @@
<y-m>-0.041</y-m>
<z-m>0.069</z-m>
</offsets>
</model>
</model>
<model>
<model>
<name>vor2</name>
<path>Aircraft/Instruments-3d/vor/vor2.xml</path>
<offsets>
@ -178,10 +174,9 @@
<y-m>-0.041</y-m>
<z-m>-0.036</z-m>
</offsets>
</model>
</model>
<model>
<model>
<name>adf</name>
<path>Aircraft/c172p/Instruments/kr87-adf/ki227_228.xml</path>
<offsets>
@ -189,10 +184,9 @@
<y-m>-0.041</y-m>
<z-m>-0.141</z-m>
</offsets>
</model>
</model>
<model>
<model>
<name>kx165-1</name>
<path>Aircraft/c172p/Instruments/kx165/kx165-1.xml</path>
<offsets>
@ -200,9 +194,9 @@
<y-m>0.113</y-m>
<z-m>0.017</z-m>
</offsets>
</model>
</model>
<model>
<model>
<name>kx165-2</name>
<path>Aircraft/c172p/Instruments/kx165/kx165-2.xml</path>
<offsets>
@ -210,11 +204,9 @@
<y-m>0.113</y-m>
<z-m>-0.036</z-m>
</offsets>
</model>
</model>
<model>
<model>
<name>kma20</name>
<path>Aircraft/c172p/Instruments/kma20/kma20.xml</path>
<offsets>
@ -222,9 +214,9 @@
<y-m>0.113</y-m>
<z-m>0.100</z-m>
</offsets>
</model>
</model>
<model>
<model>
<name>kr87</name>
<path>Aircraft/c172p/Instruments/kr87-adf/kr87.xml</path>
<offsets>
@ -232,11 +224,9 @@
<y-m>0.113</y-m>
<z-m>0.061</z-m>
</offsets>
</model>
</model>
<model>
<model>
<name>clock</name>
<path>Aircraft/c172p/Instruments/clock/clock.xml</path>
<offsets>
@ -244,9 +234,9 @@
<y-m>-0.389</y-m>
<z-m>0.049</z-m>
</offsets>
</model>
</model>
<model>
<model>
<name>vac</name>
<path>Aircraft/c172p/Instruments/vac/vac.xml</path>
<offsets>
@ -254,9 +244,9 @@
<y-m>-0.432</y-m>
<z-m>0.0228</z-m>
</offsets>
</model>
</model>
<model>
<model>
<name>fuel</name>
<path>Aircraft/c172p/Instruments/c172FuelOilAmps/c172fuel.xml</path>
<offsets>
@ -264,7 +254,7 @@
<y-m>-0.405</y-m>
<z-m>-0.013</z-m>
</offsets>
</model>
</model>
<model>
<name>oil</name>
@ -274,9 +264,9 @@
<y-m>-0.405</y-m>
<z-m>-0.060</z-m>
</offsets>
</model>
</model>
<model>
<model>
<name>mag_sw</name>
<path>Aircraft/Instruments-3d/magneto-switch/mags.xml</path>
<offsets>
@ -284,15 +274,9 @@
<y-m>-0.414</y-m>
<z-m>-0.250</z-m>
</offsets>
</model>
</model>
<!-- Controls -->
<animation>
<name>CarbHeatGroup</name>
<object-name>CarbHeat</object-name>
@ -353,7 +337,7 @@
</animation> -->
<!--pick animation for the doors-->
<animation>
<animation>
<type>pick</type>
<object-name>doorhandleext_right</object-name>
<visible>true</visible>
@ -365,9 +349,9 @@
<script>c172p.rightDoor.toggle();</script>
</binding>
</action>
</animation>
</animation>
<animation>
<animation>
<type>pick</type>
<object-name>doorhandleext_left</object-name>
<visible>true</visible>
@ -379,9 +363,9 @@
<script>c172p.leftDoor.toggle();</script>
</binding>
</action>
</animation>
</animation>
<animation>
<animation>
<type>pick</type>
<object-name>baggagedoorhandle</object-name>
<visible>true</visible>
@ -393,9 +377,9 @@
<script>c172p.baggageDoor.toggle();</script>
</binding>
</action>
</animation>
</animation>
<animation>
<animation>
<type>pick</type>
<object-name>doorhandleint_right</object-name>
<visible>true</visible>
@ -407,9 +391,9 @@
<script>c172p.rightDoor.toggle();</script>
</binding>
</action>
</animation>
</animation>
<animation>
<animation>
<type>pick</type>
<object-name>doorhandle_intle</object-name>
<visible>true</visible>
@ -421,11 +405,10 @@
<script>c172p.leftDoor.toggle();</script>
</binding>
</action>
</animation>
</animation>
<!--door animation-->
<animation>
<animation>
<type>rotate</type>
<object-name>rightdoor</object-name>
<object-name>rightwindow</object-name>
@ -433,7 +416,6 @@
<object-name>doorint_right</object-name>
<object-name>doorhandleint_right</object-name>
<object-name>windlocket</object-name>
<property>/sim/model/door-positions/rightDoor/position-norm</property>
<interpolation>
<entry>
@ -448,7 +430,7 @@
<ind>1</ind>
<dep>70.0</dep>
</entry>
</interpolation>
</interpolation>
<axis>
<x1-m>-0.117</x1-m>
@ -460,7 +442,7 @@
</axis>
</animation>
<animation>
<animation>
<type>rotate</type>
<object-name>doorhandleint_right</object-name>
<property>/sim/model/door-positions/rightDoor/position-norm</property>
@ -477,7 +459,7 @@
<ind>1</ind>
<dep>70.0</dep>
</entry>
</interpolation>
</interpolation>
<center>
<x-m>0.166</x-m>
<y-m>0.482</y-m>
@ -490,9 +472,7 @@
</axis>
</animation>
<animation>
<animation>
<type>rotate</type>
<object-name>leftdoor</object-name>
<object-name>leftwindow</object-name>
@ -500,7 +480,6 @@
<object-name>doorint_left</object-name>
<object-name>doorhandle_intle</object-name>
<object-name>windlocket.002</object-name>
<property>/sim/model/door-positions/leftDoor/position-norm</property>
<interpolation>
<entry>
@ -515,7 +494,7 @@
<ind>1</ind>
<dep>-70.0</dep>
</entry>
</interpolation>
</interpolation>
<axis>
<x1-m>-0.117</x1-m>
<y1-m>-0.530</y1-m>
@ -525,11 +504,11 @@
<z2-m>-0.117</z2-m>
</axis>
</animation>
<animation>
<animation>
<type>rotate</type>
<object-name>doorhandle_intle</object-name>
<property>/sim/model/door-positions/leftDoor/position-norm</property>
<interpolation>
<interpolation>
<entry>
<ind>0.0</ind>
<dep>0.0</dep>
@ -542,7 +521,7 @@
<ind>1</ind>
<dep>70.0</dep>
</entry>
</interpolation>
</interpolation>
<center>
<x-m>0.166</x-m>
<y-m>-0.482</y-m>
@ -556,16 +535,13 @@
</animation>
<animation>
<animation>
<type>rotate</type>
<object-name>baggagedoor</object-name>
<object-name>baggagedoor.002</object-name>
<object-name>baggagedoorhandle</object-name>
<property>/sim/model/door-positions/baggageDoor/position-norm</property>
<factor>-90</factor>
<axis>
<x1-m>1.373</x1-m>
<y1-m>-0.445</y1-m>
@ -590,9 +566,9 @@
<property>controls/lighting/landing-lights</property>
</binding>
</action>
</animation>
</animation>
<animation>
<animation>
<type>pick</type>
<object-name>TaxiLightSwitch</object-name>
<visible>true</visible>
@ -604,9 +580,9 @@
<property>controls/lighting/taxi-light</property>
</binding>
</action>
</animation>
</animation>
<animation>
<animation>
<type>pick</type>
<object-name>StrobeSwitch</object-name>
<visible>true</visible>
@ -618,9 +594,9 @@
<property>controls/lighting/strobe</property>
</binding>
</action>
</animation>
</animation>
<animation>
<animation>
<type>pick</type>
<object-name>BeaconSwitch</object-name>
<visible>true</visible>
@ -632,9 +608,9 @@
<property>controls/lighting/beacon</property>
</binding>
</action>
</animation>
</animation>
<animation>
<animation>
<type>pick</type>
<object-name>NavLightSwitch</object-name>
<visible>true</visible>
@ -646,9 +622,9 @@
<property>controls/lighting/nav-lights</property>
</binding>
</action>
</animation>
</animation>
<animation>
<animation>
<type>pick</type>
<object-name>PitotHeatSwitch</object-name>
<visible>true</visible>
@ -660,8 +636,18 @@
<property>controls/anti-ice/pitot-heat</property>
</binding>
</action>
</animation>
</animation>
<animation>
<type>select</type>
<object-name>LeftYoke</object-name>
<object-name>RightYoke</object-name>
<condition>
<not>
<property>sim/model/hide-yoke</property>
</not>
</condition>
</animation>
<animation>
<type>translate</type>
@ -953,10 +939,6 @@
</condition>
</animation>
<animation>
<type>select</type>
<object-name>BeaconOffX</object-name>
@ -965,23 +947,20 @@
</condition>
</animation>
<animation>
<type>spin</type>
<object-name>Propeller</object-name>
<property>engines/engine[0]/rpm</property>
<factor>-1</factor>
<center>
<x-m>-1.77</x-m>
<x-m>-1.79</x-m>
<y-m>0</y-m>
<z-m>-0.12</z-m>
<z-m>-0.05</z-m>
</center>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
<z>-0.05240773494</z>
</axis>
</animation>
@ -991,14 +970,14 @@
<property>engines/engine[0]/rpm</property>
<factor>-0.1</factor>
<center>
<x-m>-1.77</x-m>
<x-m>-1.79</x-m>
<y-m>0</y-m>
<z-m>-0.12</z-m>
<z-m>-0.05</z-m>
</center>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
<z>-0.05240773494</z>
</axis>
</animation>
@ -1008,14 +987,14 @@
<property>engines/engine[0]/rpm</property>
<factor>-0.001</factor>
<center>
<x-m>-1.77</x-m>
<x-m>-1.79</x-m>
<y-m>0</y-m>
<z-m>-0.12</z-m>
<z-m>-0.05</z-m>
</center>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
<z>-0.05240773494</z>
</axis>
</animation>
@ -1089,8 +1068,6 @@
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>flaps</object-name>
@ -1134,7 +1111,6 @@
<y2-m>-0.059</y2-m>
<z2-m>-0.513</z2-m>
</axis>
</animation>
<animation>
@ -1162,9 +1138,7 @@
<x2-m>5.088</x2-m>
<y2-m>0.813</y2-m>
<z2-m>-0.457</z2-m>
</axis>
</animation>
<!--<animation>
@ -1198,7 +1172,6 @@
<x2-m>5.805</x2-m>
<y2-m>-0.013</y2-m>
<z2-m>1.007</z2-m>
</axis>
</animation>
@ -1234,7 +1207,6 @@
<x2-m>-1.123</x2-m>
<y2-m>0.0</y2-m>
<z2-m>-1.172</z2-m>
</axis>
</animation>
@ -1288,7 +1260,7 @@
</animation>
<animation>
<animation>
<type>noshadow</type>
<object-name>landinglight</object-name>
</animation>
@ -1313,6 +1285,7 @@
<min>0.01</min>
<max>1</max>
</animation>
<!--strobe-->
<animation>
<type>select</type>
@ -1419,14 +1392,16 @@
</entry>
</interpolation>
</animation>
<animation>
<animation>
<type>select</type>
<object-name>BeaconOffX</object-name>
<condition>
<property>/sim/model/c172p/lighting/beacon-top/state</property>
</condition>
</animation>
<animation>
<animation>
<type>range</type>
<min-m>0</min-m>
<max-m>25000</max-m>
@ -1481,8 +1456,6 @@
</interpolation>
</animation>
<animation>
<type>select</type>
<object-name>fairing1</object-name>
@ -1491,7 +1464,7 @@
</condition>
</animation>
<animation>
<animation>
<type>select</type>
<object-name>fairing2</object-name>
<condition>
@ -1499,7 +1472,7 @@
</condition>
</animation>
<animation>
<animation>
<type>select</type>
<object-name>fairing3</object-name>
<condition>
@ -1507,7 +1480,7 @@
</condition>
</animation>
<animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>RightWheelStrut</object-name>
@ -1553,7 +1526,7 @@
<texture>fuselage.n301dp.png</texture>
</animation>
<animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>charniere1</object-name>
@ -1574,7 +1547,7 @@
<texture>fuselage.n301dp.png</texture>
</animation>
<animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>rightdoor</object-name>
@ -1583,7 +1556,7 @@
<texture>fuselage.n301dp.png</texture>
</animation>
<animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>baggagedoor</object-name>
@ -1592,7 +1565,7 @@
<texture>fuselage.n301dp.png</texture>
</animation>
<animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>wing</object-name>
@ -1601,7 +1574,7 @@
<texture>wing.png</texture>
</animation>
<animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>flaps</object-name>
@ -1610,7 +1583,7 @@
<texture>wing.png</texture>
</animation>
<animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>rightaileron</object-name>
@ -1619,7 +1592,7 @@
<texture>wing.png</texture>
</animation>
<animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>leftaileron</object-name>
@ -1627,7 +1600,8 @@
<texture-prop>texture</texture-prop>
<texture>wing.png</texture>
</animation>
<animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>vstab</object-name>
@ -1636,7 +1610,7 @@
<texture>tail.png</texture>
</animation>
<animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>hstab</object-name>
@ -1645,9 +1619,7 @@
<texture>tai.png</texture>
</animation>
<animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>rudder</object-name>
@ -1656,7 +1628,7 @@
<texture>tail.png</texture>
</animation>
<animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>elevatorleft</object-name>

View file

@ -20,9 +20,29 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
<model>
<path archive="y">Aircraft/c172p/Models/c172p.xml</path>
<livery>
<file type="string"/>
<file type="string">n301dp</file>
<index type="int">0</index>
</livery>
<liverytail>
<file type="string">n301dp</file>
<index type="int">0</index>
</liverytail>
<liverywing>
<file type="string">n301dp</file>
<index type="int">0</index>
</liverywing>
<c172p>
<immat>true</immat>
<fairing1>true</fairing1>
<fairing2>false</fairing2>
<fairing3>false</fairing3>
</c172p>
</model>
<startup>
@ -78,34 +98,6 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
<title>Cessna 172P</title>
</help>
<model>
<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>
<liverywing>
<file type="string">n301dp</file>
<index type="int">0</index>
</liverywing>
<c172p>
<immat>true</immat>
<fairing1>true</fairing1>
<fairing2>false</fairing2>
<fairing3>false</fairing3>
</c172p>
</model>
<tutorials include="Tutorials/c172-tutorials.xml"/>
<multiplay>
@ -171,7 +163,10 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
<engines>
<engine>
<rpm type="double">700</rpm>
<rpm type="double">0</rpm>
<magnetos type="int">0</magnetos>
<mixture type="double">0</mixture>
<running type="bool">false</running>
</engine>
</engines>
@ -179,7 +174,7 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
<strobe type="bool">true</strobe>
<beacon type="bool">true</beacon>
<nav-lights type="bool">true</nav-lights>
</lighting>
</lighting>
<nasal>
@ -247,4 +242,26 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
  <max-lb type="double">150.0</max-lb> <!-- WARNING: Max baggage "by the book" is 120lbs or less! -->
 </weight>
</payload>  
<input>
<keyboard>
<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>
</keyboard>
</input>
</PropertyList>

View file

@ -101,8 +101,8 @@
<static_friction> 0.8 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 1800 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 600 </damping_coeff>
<spring_coeff unit="LBS/FT"> 4000 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 1000 </damping_coeff>
<max_steer unit="DEG"> 10 </max_steer>
<brake_group> NONE </brake_group>
<retractable>0</retractable>
@ -116,7 +116,7 @@
<static_friction> 0.8 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 5400 </spring_coeff>
<spring_coeff unit="LBS/FT"> 4400 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 1600 </damping_coeff>
<max_steer unit="DEG"> 0.0 </max_steer>
<brake_group> LEFT </brake_group>
@ -131,7 +131,7 @@
<static_friction> 0.8 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 5400 </spring_coeff>
<spring_coeff unit="LBS/FT"> 4400 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 1600 </damping_coeff>
<max_steer unit="DEG"> 0.0 </max_steer>
<brake_group> RIGHT </brake_group>