1
0
Fork 0

Added hackish binding for booster to allow for two stages of pressure.

Added electrical system so that turn indicator works (real P-51D has
vacuum powered turn indicator).
This commit is contained in:
jimw 2003-05-22 13:50:26 +00:00
parent fa6df33e7b
commit 5c4d69f648

View file

@ -19,6 +19,12 @@ March 2003 Jim Wilson, jimw@kelcomaine.com
<aero>p51d</aero>
<fuel-fraction>0.75</fuel-fraction>
<systems>
<electrical>
<path>Aircraft/Generic/generic-electrical.xml</path>
</electrical>
</systems>
<virtual-cockpit archive="y">true</virtual-cockpit>
<allow-toggle-cockpit archive="y">true</allow-toggle-cockpit>
@ -117,8 +123,33 @@ March 2003 Jim Wilson, jimw@kelcomaine.com
<name>Ctrl-B</name>
<desc>Toggle engine boost.</desc>
<binding>
<command>property-toggle</command>
<command>property-adjust</command>
<property>/controls/engines/engine[0]/boost</property>
<step type="double">0.33</step>
<min type="double">0.0</min>
<max type="double">1.5</max>
</binding>
<binding>
<condition>
<greater-than>
<property>/controls/engines/engine[0]/boost</property>
<value type="double">1.0001</value>
</greater-than>
</condition>
<command>property-assign</command>
<property>/controls/engines/engine[0]/boost</property>
<value type="double">0.0</value>
</binding>
<binding>
<condition>
<greater-than>
<property>/controls/engines/engine[0]/boost</property>
<value type="double">0.55</value>
</greater-than>
</condition>
<command>property-assign</command>
<property>/controls/engines/engine[0]/boost</property>
<value type="double">1.0</value>
</binding>
</key>
</keyboard>