This commit is contained in:
legoboyvdlp R 2019-07-26 21:06:32 +01:00
parent 3216713848
commit 43f620365e

View file

@ -374,6 +374,19 @@
<property>controls/fire/cargo/fwddisch</property> <property>controls/fire/cargo/fwddisch</property>
<value>1</value> <value>1</value>
</binding> </binding>
<binding>
<condition>
<and>
<equals>
<property>controls/OH/protectors/fwddisch</property>
<value>1</value>
</equals>
</and>
</condition>
<command>property-assign</command>
<property>controls/OH/protectors/fwddisch</property>
<value>0</value>
</binding>
<binding> <binding>
<condition> <condition>
<equals> <equals>
@ -409,6 +422,19 @@
<property>controls/fire/cargo/aftdisch</property> <property>controls/fire/cargo/aftdisch</property>
<value>1</value> <value>1</value>
</binding> </binding>
<binding>
<condition>
<and>
<equals>
<property>controls/OH/protectors/aftdisch</property>
<value>1</value>
</equals>
</and>
</condition>
<command>property-assign</command>
<property>controls/OH/protectors/fwddisch</property>
<value>0</value>
</binding>
<binding> <binding>
<condition> <condition>
<equals> <equals>
@ -426,23 +452,40 @@
<type>pick</type> <type>pick</type>
<object-name>FwdCargoDischGuard</object-name> <object-name>FwdCargoDischGuard</object-name>
<action> <action>
<button>1</button> <button>0</button>
<repeatable>true</repeatable>
<binding> <binding>
<condition>
<property>devices/status/keyboard/shift</property>
</condition>
<command>property-assign</command> <command>property-assign</command>
<property>controls/OH/protectors/fwddisch</property> <property>controls/OH/protectors/fwddisch</property>
<value>1</value> <value>1</value>
</binding> </binding>
<mod-up> <binding>
<binding> <condition>
<command>property-assign</command> <not>
<property>controls/OH/protectors/fwddisch</property> <property>devices/status/keyboard/shift</property>
<value>0</value> </not>
</binding> </condition>
<binding> <command>property-assign</command>
<command>nasal</command> <property>controls/OH/protectors/fwddisch</property>
<script>setprop("/sim/sounde/oh-cover", 1);</script> <value>0</value>
</binding> </binding>
</mod-up> <binding>
<condition>
<and>
<not>
<property>devices/status/keyboard/shift</property>
</not>
<not>
<property>controls/OH/protectors/fwddisch</property>
</not>
</and>
</condition>
<command>nasal</command>
<script>setprop("/sim/sounde/oh-cover", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -450,23 +493,40 @@
<type>pick</type> <type>pick</type>
<object-name>AftCargoDischGuard</object-name> <object-name>AftCargoDischGuard</object-name>
<action> <action>
<button>1</button> <button>0</button>
<repeatable>true</repeatable>
<binding> <binding>
<condition>
<property>devices/status/keyboard/shift</property>
</condition>
<command>property-assign</command> <command>property-assign</command>
<property>controls/OH/protectors/aftdisch</property> <property>controls/OH/protectors/aftdisch</property>
<value>1</value> <value>1</value>
</binding> </binding>
<mod-up> <binding>
<binding> <condition>
<command>property-assign</command> <not>
<property>controls/OH/protectors/aftdisch</property> <property>devices/status/keyboard/shift</property>
<value>0</value> </not>
</binding> </condition>
<binding> <command>property-assign</command>
<command>nasal</command> <property>controls/OH/protectors/aftdisch</property>
<script>setprop("/sim/sounde/oh-cover", 1);</script> <value>0</value>
</binding> </binding>
</mod-up> <binding>
<condition>
<and>
<not>
<property>devices/status/keyboard/shift</property>
</not>
<not>
<property>controls/OH/protectors/aftdisch</property>
</not>
</and>
</condition>
<command>nasal</command>
<script>setprop("/sim/sounde/oh-cover", 1);</script>
</binding>
</action> </action>
</animation> </animation>