Add Autobrk max on autostart takeoff
This commit is contained in:
parent
a73d2ebedf
commit
bcf058322e
2 changed files with 74 additions and 13 deletions
|
@ -575,6 +575,34 @@
|
||||||
<item>
|
<item>
|
||||||
<name>ECAM MEMO</name>
|
<name>ECAM MEMO</name>
|
||||||
<value>TO NO BLUE</value>
|
<value>TO NO BLUE</value>
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<equals>
|
||||||
|
<property>controls/autobrake/mode</property>
|
||||||
|
<value>3</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>controls/switches/seatbelt-sign</property>
|
||||||
|
<value>true</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>controls/switches/no-smoking-sign</property>
|
||||||
|
<value>true</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>controls/flight/speedbrake-arm</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
<greater-than>
|
||||||
|
<property>controls/flight/flap-lever</property>
|
||||||
|
<value>0</value>
|
||||||
|
</greater-than>
|
||||||
|
<less-than>
|
||||||
|
<property>controls/flight/flap-lever</property>
|
||||||
|
<value>3</value>
|
||||||
|
</less-than>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<name>AUTO BRK MAX</name>
|
<name>AUTO BRK MAX</name>
|
||||||
|
@ -805,23 +833,23 @@
|
||||||
<and>
|
<and>
|
||||||
<equals>
|
<equals>
|
||||||
<property>controls/lighting/landing-lights[1]</property>
|
<property>controls/lighting/landing-lights[1]</property>
|
||||||
<value>true</value>
|
<value>1</value>
|
||||||
</equals>
|
</equals>
|
||||||
<equals>
|
<equals>
|
||||||
<property>controls/lighting/landing-lights[2]</property>
|
<property>controls/lighting/landing-lights[2]</property>
|
||||||
<value>true</value>
|
<value>1</value>
|
||||||
</equals>
|
</equals>
|
||||||
</and>
|
</and>
|
||||||
</condition>
|
</condition>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-assign</command>
|
<command>property-assign</command>
|
||||||
<property>controls/lighting/landing-lights[1]</property>
|
<property>controls/lighting/landing-lights[1]</property>
|
||||||
<value>true</value>
|
<value>1</value>
|
||||||
</binding>
|
</binding>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-assign</command>
|
<command>property-assign</command>
|
||||||
<property>controls/lighting/landing-lights[2]</property>
|
<property>controls/lighting/landing-lights[2]</property>
|
||||||
<value>true</value>
|
<value>1</value>
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
@ -953,25 +981,25 @@
|
||||||
<value>OFF</value>
|
<value>OFF</value>
|
||||||
<condition>
|
<condition>
|
||||||
<and>
|
<and>
|
||||||
<equals>
|
<less-than>
|
||||||
<property>controls/lighting/landing-lights[1]</property>
|
<property>controls/lighting/landing-lights[1]</property>
|
||||||
<value>false</value>
|
<value>0.5</value>
|
||||||
</equals>
|
</less-than>
|
||||||
<equals>
|
<less-than>
|
||||||
<property>controls/lighting/landing-lights[2]</property>
|
<property>controls/lighting/landing-lights[2]</property>
|
||||||
<value>false</value>
|
<value>0.5</value>
|
||||||
</equals>
|
</less-than>
|
||||||
</and>
|
</and>
|
||||||
</condition>
|
</condition>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-assign</command>
|
<command>property-assign</command>
|
||||||
<property>controls/lighting/landing-lights[1]</property>
|
<property>controls/lighting/landing-lights[1]</property>
|
||||||
<value>false</value>
|
<value>0</value>
|
||||||
</binding>
|
</binding>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-assign</command>
|
<command>property-assign</command>
|
||||||
<property>controls/lighting/landing-lights[2]</property>
|
<property>controls/lighting/landing-lights[2]</property>
|
||||||
<value>false</value>
|
<value>0</value>
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
@ -1094,6 +1122,38 @@
|
||||||
<item>
|
<item>
|
||||||
<name>ECAM MEMO</name>
|
<name>ECAM MEMO</name>
|
||||||
<value>LDG NO BLUE</value>
|
<value>LDG NO BLUE</value>
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<equals>
|
||||||
|
<property>gear/gear/position-norm</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>gear/gear[1]/position-norm</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>gear/gear[2]/position-norm</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>controls/switches/seatbelt-sign</property>
|
||||||
|
<value>true</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>controls/switches/no-smoking-sign</property>
|
||||||
|
<value>true</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>controls/flight/speedbrake-arm</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>controls/flight/flap-lever</property>
|
||||||
|
<value>4</value>
|
||||||
|
</equals>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<name>L/G DOWN</name>
|
<name>L/G DOWN</name>
|
||||||
|
|
|
@ -409,6 +409,7 @@ var takeoff = func {
|
||||||
setprop("/controls/flight/flap-txt", "1+F");
|
setprop("/controls/flight/flap-txt", "1+F");
|
||||||
libraries.flaptimer.start();
|
libraries.flaptimer.start();
|
||||||
setprop("/controls/flight/elevator-trim", -0.07);
|
setprop("/controls/flight/elevator-trim", -0.07);
|
||||||
|
setprop("/controls/autobrake/mode", 3);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue