minor updates

This commit is contained in:
Jonathan Redpath 2017-06-13 20:08:55 +01:00
parent ef2d27ed23
commit aa88069859
6 changed files with 34 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 MiB

After

Width:  |  Height:  |  Size: 3.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 KiB

After

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 407 KiB

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Deutsche Lufthansa AG livery for Airbus Industries A320neo mady by D-SVEN. Have fun! -->
<PropertyList>
<sim>
<model>
<livery>
<name>Air Astana (P4-KBH)</name>
<texture>Liveries/A320/CFM-NEO/KZR.png</texture>
</livery>
</model>
</sim>
</PropertyList>

View file

@ -45,6 +45,12 @@ var pneu_init = func {
setprop("/systems/pressurization/diff-to-target", "0");
setprop("/systems/pressurization/ditchingpb", 0);
setprop("/systems/pressurization/targetvs", "0");
setprop("/systems/ventilation/cabin/fans", 0); # aircon fans
setprop("/systems/ventilation/avionics/fan", 0);
setprop("/systems/ventilation/avionics/extractvalve", "0");
setprop("/systems/ventilation/avionics/inletvalve", "0");
setprop("/systems/ventilation/lavatory/extractfan", 0);
setprop("/systems/ventilation/lavatory/extractvalve", "0");
pneu_timer.start();
}
@ -188,6 +194,20 @@ var master_pneu = func {
if (ditch and auto) {
setprop("/systems/pressurization/outflowpos", "1");
setprop("/systems/ventilation/avionics/extractvalve", "1");
setprop("/systems/ventilation/avionics/inletvalve", "1");
}
var dcess = getprop("/systems/electrical/bus/dc-ess");
var acess = getprop("/systems/electrical/bus/ac-ess");
var fanon = getprop("/systems/ventilation/avionics/fan");
if ((dcess > 25) or (acess > 110)) {
setprop("/systems/ventilation/avionics/fan", 1);
setprop("/systems/ventilation/lavatory/extractfan", 1);
} else if ((dcess == 0) and (acess == 0)) {
setprop("/systems/ventilation/avionics/fan", 0);
setprop("/systems/ventilation/lavatory/extractfan", 0);
}
}

BIN
Paintkit/airastana.xcf Normal file

Binary file not shown.