Commit 3d7613fc authored by Михаил Данилов's avatar Михаил Данилов 💬

Реалистичное подтормаживание шасси при уборке.

parent d1482d28
......@@ -77,10 +77,10 @@ setlistener("/sim/signals/fdm-initialized", func(p) {
if((state == "parking") or (state == "gate")){
Tu144.SetFuel(9000.0, 0.0, 0.0, 0.0);
}else if(state == "taxi"){
Tu144.SetFuel(26000.0, 0.0, 6000.0, 0.0);
Tu144.SetFuel(24000.0, 2000.0, 4000.0, 2000.0);
Tu144.FuelMeterTarget(3, 1, 9);
}else if(state == "take-off"){
Tu144.SetFuel(24000.0, 0.0, 6000.0, 0.0);
Tu144.SetFuel(22000.0, 2000.0, 4000.0, 2000.0);
Tu144.FuelMeterTarget(2, 9, 9);
}else if(state == "approach"){
Tu144.SetFuel(10000.0, 0.0, 0000.0, 0.0);
......
......@@ -745,12 +745,16 @@ PreTaxi = func {
gui.popupTip("FMC enabled.");
APDSelect(-1);
APUBleed(0);
ConeCmd(1);
if(getprop("/controls/flight/wing-sweep") LT 0.5){
ConeCmd(1);
)
CanardPower(1);
settimer(func {
APUStartStop(0);
APUPower(0);
ConeCmd(2);
if(getprop("/controls/flight/wing-sweep") LT 1.0){
ConeCmd(2);
)
gui.popupTip("Ready to taxi.");
}, 60.0);
}, 340.0);
......
......@@ -2162,7 +2162,7 @@
gear/brake/regulator-ok EQ 0
</test>
<test value="45.0">
gear/gear-pos-norm LT 0.25
gear/gear-pos-norm LT 0.99
</test>
<test logic="OR" value="0.0">
gear/unit[1]/WOW EQ 0
......@@ -2389,7 +2389,12 @@
<max>
<p>fcs/left-brake-inp-norm</p>
<p>gear/brake/start</p>
<lt><p>gear/unit[1]/pos-norm</p><v>0.8</v></lt>
<and>
<eq><p>gear/panel/lever/gear</p><v>-1</v></eq>
<eq><p>gear/unit[1]/WOW</p><v>0</v></eq>
<gt><p>gear/unit[1]/pos-norm</p><v>0.3</v></gt>
<lt><p>gear/unit[1]/pos-norm</p><v>0.99</v></lt>
</and>
</max>
<p>gear/brake/antiskid-norm[1]</p>
</product>
......@@ -2486,7 +2491,12 @@
<max>
<p>fcs/right-brake-inp-norm</p>
<p>gear/brake/start</p>
<lt><p>gear/unit[2]/pos-norm</p><v>0.8</v></lt>
<and>
<eq><p>gear/panel/lever/gear</p><v>-1</v></eq>
<eq><p>gear/unit[2]/WOW</p><v>0</v></eq>
<gt><p>gear/unit[2]/pos-norm</p><v>0.3</v></gt>
<lt><p>gear/unit[2]/pos-norm</p><v>0.99</v></lt>
</and>
</max>
<p>gear/brake/antiskid-norm[2]</p>
</product>
......
......@@ -133,10 +133,10 @@
<hot-air-unit type="bool"/>
<hot-air-unit-temp-degC type="float"/>
<fuel>
<main-kg type="float">30000.0</main-kg>
<t1-kg type="float">0.0</t1-kg>
<t2-kg type="float">0.0</t2-kg>
<t8-kg type="float">0.0</t8-kg>
<main-kg type="float">22000.0</main-kg>
<t1-kg type="float">2000.0</t1-kg>
<t2-kg type="float">4000.0</t2-kg>
<t8-kg type="float">2000.0</t8-kg>
</fuel>
</dialog>
</ground-supply>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment