Various cockpit updates for c172p:
- Change DME to use local files rather than the pa24-250 - Create new yokes as separate model files - Improve throttle, mixture and carb heat controls - add scrollwheel support for throttle, mixture - Use separate Cessna flaps indicator model.
This commit is contained in:
parent
5ef38fdd1a
commit
317f0731d5
5 changed files with 57495 additions and 39676 deletions
|
@ -8,10 +8,10 @@
|
|||
<serviceable>instrumentation/dme[0]/serviceable</serviceable>
|
||||
</params>
|
||||
|
||||
<path>Aircraft/pa24-250/Models/radio_stack/dme.ac</path>
|
||||
<path>dme.ac</path>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/pa24-250/Models/radio_stack/ki266.xml</path>
|
||||
<path>ki266.xml</path>
|
||||
<name>ki266</name>
|
||||
<offsets>
|
||||
<x-m>0.00140005</x-m>
|
||||
|
|
9006
Aircraft/c172p/Models/Yoke/yoke.ac
Normal file
9006
Aircraft/c172p/Models/Yoke/yoke.ac
Normal file
File diff suppressed because it is too large
Load diff
56
Aircraft/c172p/Models/Yoke/yoke.xml
Executable file
56
Aircraft/c172p/Models/Yoke/yoke.xml
Executable file
|
@ -0,0 +1,56 @@
|
|||
<?xml version="1.0" ?>
|
||||
<PropertyList>
|
||||
<path>yoke.ac</path>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Yoke</object-name>
|
||||
<property>controls/flight/elevator</property>
|
||||
<factor>-0.1</factor>
|
||||
<axis>
|
||||
<x>1.0</x>
|
||||
<y>0.0</y>
|
||||
<z>0.0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>Yoke</object-name>
|
||||
<property>controls/flight/aileron</property>
|
||||
<factor>-30.0</factor>
|
||||
<axis>
|
||||
<x>1.0</x>
|
||||
<y>0.0</y>
|
||||
<z>0.0</z>
|
||||
</axis>
|
||||
<center>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>Yoke</object-name>
|
||||
<condition>
|
||||
<not>
|
||||
<property>sim/model/hide-yoke</property>
|
||||
</not>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>YokeMount</object-name>
|
||||
<visible>true</visible>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-toggle</command>
|
||||
<property>sim/model/hide-yoke</property>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
</PropertyList>
|
File diff suppressed because it is too large
Load diff
|
@ -286,6 +286,36 @@
|
|||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<name>LeftYoke</name>
|
||||
<path>Aircraft/c172p/Models/Yoke/yoke.xml</path>
|
||||
<offsets>
|
||||
<x-m>-0.36</x-m>
|
||||
<y-m>-0.219</y-m>
|
||||
<z-m>-0.130</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<name>RightYoke</name>
|
||||
<path>Aircraft/c172p/Models/Yoke/yoke.xml</path>
|
||||
<offsets>
|
||||
<x-m>-0.36</x-m>
|
||||
<y-m> 0.239</y-m>
|
||||
<z-m>-0.130</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<name>FlapSwitch</name>
|
||||
<path>Aircraft/Instruments-3d/flaps/flaps.xml</path>
|
||||
<offsets>
|
||||
<x-m>-0.36</x-m>
|
||||
<y-m>0.19</y-m>
|
||||
<z-m>-0.25</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<!-- Controls -->
|
||||
<animation>
|
||||
<name>CarbHeatGroup</name>
|
||||
|
@ -294,24 +324,6 @@
|
|||
<object-name>CarbHeatRod</object-name>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<name>ThrottleGroup</name>
|
||||
<object-name>Throttle</object-name>
|
||||
<object-name>ThrottleRod</object-name>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<name>MixtureGroup</name>
|
||||
<object-name>Mixture</object-name>
|
||||
<object-name>MixtureRod</object-name>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<name>FlapSwitchGroup</name>
|
||||
<object-name>FlapSwitch</object-name>
|
||||
<object-name>FlapSwitchRod</object-name>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<name>ElectronicsGroup</name>
|
||||
<object-name>TaxiLightSwitch</object-name>
|
||||
|
@ -334,8 +346,8 @@
|
|||
<object-name>LeftYoke</object-name>
|
||||
<object-name>RightYoke</object-name>
|
||||
<object-name>CarbHeatGroup</object-name>
|
||||
<object-name>ThrottleGroup</object-name>
|
||||
<object-name>MixtureGroup</object-name>
|
||||
<object-name>Throttle</object-name>
|
||||
<object-name>Mixture</object-name>
|
||||
<object-name>FlapSwitchGroup</object-name>
|
||||
<object-name>TrimWheel</object-name>
|
||||
</animation> -->
|
||||
|
@ -649,64 +661,6 @@
|
|||
</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>
|
||||
<object-name>LeftYoke</object-name>
|
||||
<object-name>RightYoke</object-name>
|
||||
<property>controls/flight/elevator</property>
|
||||
<factor>-0.03</factor>
|
||||
<axis>
|
||||
<x>1.0</x>
|
||||
<y>0.0</y>
|
||||
<z>0.0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>LeftYoke</object-name>
|
||||
<property>controls/flight/aileron</property>
|
||||
<factor>-45</factor>
|
||||
<center>
|
||||
<x-m>-0.23</x-m>
|
||||
<y-m>-0.219</y-m>
|
||||
<z-m>-0.130</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>1.0</x>
|
||||
<y>0.0</y>
|
||||
<z>0.0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>RightYoke</object-name>
|
||||
<property>controls/flight/aileron</property>
|
||||
<factor>-45</factor>
|
||||
<center>
|
||||
<x-m>-0.23</x-m>
|
||||
<y-m>0.245</y-m>
|
||||
<z-m>-0.13</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>1.0</x>
|
||||
<y>0.0</y>
|
||||
<z>0.0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>CarbHeatGroup</object-name>
|
||||
|
@ -718,48 +672,110 @@
|
|||
<z>0.0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>CarbHeatGroup</object-name>
|
||||
<visible>true</visible>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-toggle</command>
|
||||
<property>controls/anti-ice/engine[0]/carb-heat</property>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>ThrottleGroup</object-name>
|
||||
<object-name>Throttle</object-name>
|
||||
<property>controls/engines/engine[0]/throttle</property>
|
||||
<factor>-0.10</factor>
|
||||
<factor>-0.08</factor>
|
||||
<axis>
|
||||
<x>1.0</x>
|
||||
<y>0.0</y>
|
||||
<z>0.0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>Throttle</object-name>
|
||||
<object-name>ThrottleMount</object-name>
|
||||
<visible>true</visible>
|
||||
<action>
|
||||
<name>small increase (scrollwheel)</name>
|
||||
<button>3</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>controls/engines/engine[0]/throttle</property>
|
||||
<step>0.05</step>
|
||||
<min>0</min>
|
||||
<max>1</max>
|
||||
<wrap>0</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<name>small decrease (scrollwheel)</name>
|
||||
<button>4</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>controls/engines/engine[0]/throttle</property>
|
||||
<step>-0.05</step>
|
||||
<min>0</min>
|
||||
<max>1</max>
|
||||
<wrap>0</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>MixtureGroup</object-name>
|
||||
<object-name>Mixture</object-name>
|
||||
<property>controls/engines/engine[0]/mixture</property>
|
||||
<factor>-0.10</factor>
|
||||
<factor>-0.08</factor>
|
||||
<axis>
|
||||
<x>1.0</x>
|
||||
<y>0.0</y>
|
||||
<z>0.0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<property>controls/flight/flaps</property>
|
||||
<object-name>FlapSwitchGroup</object-name>
|
||||
<factor>60</factor>
|
||||
<offset-deg>-30</offset-deg>
|
||||
<axis>
|
||||
<x>0.0</x>
|
||||
<y>1.0</y>
|
||||
<z>0.0</z>
|
||||
</axis>
|
||||
<center>
|
||||
<x-m>-0.39</x-m>
|
||||
<y-m>0.19</y-m>
|
||||
<z-m>-0.25</z-m>
|
||||
</center>
|
||||
</animation>
|
||||
<type>pick</type>
|
||||
<object-name>Mixture</object-name>
|
||||
<object-name>MixtureMount</object-name>
|
||||
<visible>true</visible>
|
||||
<action>
|
||||
<name>small increase (scrollwheel)</name>
|
||||
<button>3</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>controls/engines/engine[0]/mixture</property>
|
||||
<step>0.05</step>
|
||||
<min>0</min>
|
||||
<max>1</max>
|
||||
<wrap>0</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<name>small decrease (scrollwheel)</name>
|
||||
<button>4</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>controls/engines/engine[0]/mixture</property>
|
||||
<step>-0.05</step>
|
||||
<min>0</min>
|
||||
<max>1</max>
|
||||
<wrap>0</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
|
|
Loading…
Add table
Reference in a new issue