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:
parent
b9462268a7
commit
9987224de8
5 changed files with 6529 additions and 7181 deletions
|
@ -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
|
@ -8,7 +8,6 @@
|
|||
<z-m> -0.065 </z-m>
|
||||
</offsets>
|
||||
|
||||
|
||||
<nasal>
|
||||
<load>
|
||||
var livery_update = aircraft.livery_update.new(
|
||||
|
@ -41,14 +40,11 @@
|
|||
<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>
|
||||
|
||||
|
||||
<!--instrumentation-->
|
||||
<model>
|
||||
<name>MagCompass</name>
|
||||
|
@ -180,7 +176,6 @@
|
|||
</offsets>
|
||||
</model>
|
||||
|
||||
|
||||
<model>
|
||||
<name>adf</name>
|
||||
<path>Aircraft/c172p/Instruments/kr87-adf/ki227_228.xml</path>
|
||||
|
@ -191,7 +186,6 @@
|
|||
</offsets>
|
||||
</model>
|
||||
|
||||
|
||||
<model>
|
||||
<name>kx165-1</name>
|
||||
<path>Aircraft/c172p/Instruments/kx165/kx165-1.xml</path>
|
||||
|
@ -212,8 +206,6 @@
|
|||
</offsets>
|
||||
</model>
|
||||
|
||||
|
||||
|
||||
<model>
|
||||
<name>kma20</name>
|
||||
<path>Aircraft/c172p/Instruments/kma20/kma20.xml</path>
|
||||
|
@ -234,8 +226,6 @@
|
|||
</offsets>
|
||||
</model>
|
||||
|
||||
|
||||
|
||||
<model>
|
||||
<name>clock</name>
|
||||
<path>Aircraft/c172p/Instruments/clock/clock.xml</path>
|
||||
|
@ -286,13 +276,7 @@
|
|||
</offsets>
|
||||
</model>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- Controls -->
|
||||
|
||||
|
||||
<animation>
|
||||
<name>CarbHeatGroup</name>
|
||||
<object-name>CarbHeat</object-name>
|
||||
|
@ -422,9 +406,8 @@
|
|||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<!--door animation-->
|
||||
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>rightdoor</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>
|
||||
|
@ -490,8 +472,6 @@
|
|||
</axis>
|
||||
</animation>
|
||||
|
||||
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>leftdoor</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>
|
||||
|
@ -561,11 +540,8 @@
|
|||
<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>
|
||||
|
@ -662,6 +638,16 @@
|
|||
</action>
|
||||
</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>
|
||||
|
||||
|
@ -1313,6 +1285,7 @@
|
|||
<min>0.01</min>
|
||||
<max>1</max>
|
||||
</animation>
|
||||
|
||||
<!--strobe-->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
|
@ -1419,6 +1392,7 @@
|
|||
</entry>
|
||||
</interpolation>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>BeaconOffX</object-name>
|
||||
|
@ -1426,6 +1400,7 @@
|
|||
<property>/sim/model/c172p/lighting/beacon-top/state</property>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>range</type>
|
||||
<min-m>0</min-m>
|
||||
|
@ -1481,8 +1456,6 @@
|
|||
</interpolation>
|
||||
</animation>
|
||||
|
||||
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>fairing1</object-name>
|
||||
|
@ -1627,6 +1600,7 @@
|
|||
<texture-prop>texture</texture-prop>
|
||||
<texture>wing.png</texture>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<!--global type="bool">true</global-->
|
||||
|
@ -1645,8 +1619,6 @@
|
|||
<texture>tai.png</texture>
|
||||
</animation>
|
||||
|
||||
|
||||
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<!--global type="bool">true</global-->
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue