A3XX: Update Shared Libraries V1.4.4
This commit is contained in:
parent
7e1f0c908d
commit
dea0613e12
6 changed files with 197 additions and 44 deletions
|
@ -202,6 +202,28 @@
|
|||
</script>
|
||||
</binding>
|
||||
</item>
|
||||
<item>
|
||||
<label>About This Aircraft</label>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
acconfig.about_dlg.open();
|
||||
</script>
|
||||
</binding>
|
||||
</item>
|
||||
</menu>
|
||||
<menu n="101">
|
||||
<label>Tools</label>
|
||||
<enabled type="bool">true</enabled>
|
||||
<item>
|
||||
<label>Select Livery</label>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
aircraft.livery.dialog.toggle();
|
||||
</script>
|
||||
</binding>
|
||||
</item>
|
||||
<item>
|
||||
<label>Pushback</label>
|
||||
<binding>
|
||||
|
@ -209,6 +231,50 @@
|
|||
<dialog-name>pushback</dialog-name>
|
||||
</binding>
|
||||
</item>
|
||||
<item>
|
||||
<label>Failures</label>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
acconfig.fail_dlg.open();
|
||||
</script>
|
||||
</binding>
|
||||
</item>
|
||||
<item>
|
||||
<label>Reset FMGC</label>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
fmgc.reset_FMGC();
|
||||
</script>
|
||||
</binding>
|
||||
</item>
|
||||
<item>
|
||||
<label>Skip ADIRS</label>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/controls/adirs/skip</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
</item>
|
||||
<item>
|
||||
<label>Captain's ND</label>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
canvas_nd.showNd();
|
||||
</script>
|
||||
</binding>
|
||||
</item>
|
||||
<item>
|
||||
<label>First Officer's ND</label>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
canvas_nd.showNd('right');
|
||||
</script>
|
||||
</binding>
|
||||
</item>
|
||||
</menu>
|
||||
</default>
|
||||
</menubar>
|
||||
|
@ -990,7 +1056,7 @@
|
|||
<canvas_nd>
|
||||
<file>Aircraft/A320Family/Models/Instruments/ND/canvas/ND.nas</file>
|
||||
</canvas_nd>
|
||||
<icing> <!-- leave icing in this -->
|
||||
<icing>
|
||||
<file>Aircraft/A320Family/Nasal/icing.nas</file>
|
||||
</icing>
|
||||
</nasal>
|
||||
|
|
86
AircraftConfig/about.xml
Normal file
86
AircraftConfig/about.xml
Normal file
|
@ -0,0 +1,86 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<!--
|
||||
#######################################
|
||||
# Copyright (c) A3XX Development Team #
|
||||
#######################################
|
||||
-->
|
||||
|
||||
<!-- A3XX Aircraft Config Dialog -->
|
||||
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<name>aircraft-config-about</name>
|
||||
<layout>vbox</layout>
|
||||
<pref-width>800</pref-width>
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>About This Aircraft</label>
|
||||
</text>
|
||||
<button>
|
||||
<halign>right</halign>
|
||||
<pref-width>20</pref-width>
|
||||
<pref-height>20</pref-height>
|
||||
<legend>X</legend>
|
||||
<key>Esc</key>
|
||||
<binding>
|
||||
<command>dialog-close</command>
|
||||
</binding>
|
||||
</button>
|
||||
</group>
|
||||
|
||||
<hrule/>
|
||||
|
||||
<group>
|
||||
<layout>vbox</layout>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>it0uchpods Hanger presents: A320Family by A3XX Development Team</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>Joshua Davidson (it0uchpods), Jonanthan Redpath (legoboyvdlp), Charlie Schwehm (wecsje)</label>
|
||||
</text>
|
||||
|
||||
<hrule/>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>Systems: Joshua Davidson (it0uchpods), Jonanthan Redpath (legoboyvdlp)</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>Cockpit: Narendran Muraleedharan (omega95), Joshua Davidson (it0uchpods), Jonanthan Redpath (legoboyvdlp)</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>Instruments: Joshua Davidson (it0uchpods), Jonanthan Redpath (legoboyvdlp)</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>Pre V1.0, Shared Libraries 1.4.4</label>
|
||||
</text>
|
||||
|
||||
</group>
|
||||
|
||||
<hrule/>
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
|
||||
<button>
|
||||
<halign>center</halign>
|
||||
<legend>Go Away</legend>
|
||||
<pref-width>210</pref-width>
|
||||
<binding>
|
||||
<command>dialog-close</command>
|
||||
</binding>
|
||||
</button>
|
||||
</group>
|
||||
|
||||
</PropertyList>
|
|
@ -87,6 +87,7 @@ var init_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/init/dialog", "Aircraft/
|
|||
var help_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/help/dialog", "Aircraft/A320Family/AircraftConfig/help.xml");
|
||||
var fbw_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/fbw/dialog", "Aircraft/A320Family/AircraftConfig/fbw.xml");
|
||||
var fail_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/fail/dialog", "Aircraft/A320Family/AircraftConfig/fail.xml");
|
||||
var about_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/about/dialog", "Aircraft/A320Family/AircraftConfig/about.xml");
|
||||
spinning.start();
|
||||
init_dlg.open();
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<layout>hbox</layout>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>Aircraft Configuration V1.4.2</label>
|
||||
<label>Aircraft Configuration V1.4.4</label>
|
||||
</text>
|
||||
<button>
|
||||
<halign>right</halign>
|
||||
|
|
|
@ -41,10 +41,6 @@
|
|||
<halign>center</halign>
|
||||
<label>Welcome to the it0uchpods A3XX Series!</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>center</halign>
|
||||
<label>Pre V1.0, Shared Libraries V1.4.2</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>center</halign>
|
||||
<label>This is a complex simulation of these amazing Airbus Aircraft.</label>
|
||||
|
|
|
@ -238,44 +238,7 @@ var phasecheck = maketimer(0.2, func {
|
|||
}
|
||||
|
||||
if ((wowl and wowr) and (gs < 40) and (phase == "2" or phase == "3" or phase == "4" or phase == "5" or phase == "6")) {
|
||||
setprop("/FMGC/status/phase", "7");
|
||||
fd1 = getprop("/it-autoflight/input/fd1");
|
||||
fd2 = getprop("/it-autoflight/input/fd2");
|
||||
spd = getprop("/it-autoflight/input/spd-kts");
|
||||
hdg = getprop("/it-autoflight/input/hdg");
|
||||
alt = getprop("/it-autoflight/input/alt");
|
||||
APinit();
|
||||
FMGCinit();
|
||||
mcdu1.MCDU_reset();
|
||||
mcdu2.MCDU_reset();
|
||||
setprop("/it-autoflight/input/fd1", fd1);
|
||||
setprop("/it-autoflight/input/fd2", fd2);
|
||||
setprop("/it-autoflight/input/spd-kts", spd);
|
||||
setprop("/it-autoflight/input/hdg", hdg);
|
||||
setprop("/it-autoflight/input/alt", alt);
|
||||
setprop("/systems/pressurization/mode", "GN");
|
||||
setprop("/systems/pressurization/vs", "0");
|
||||
setprop("/systems/pressurization/targetvs", "0");
|
||||
setprop("/systems/pressurization/vs-norm", "0");
|
||||
setprop("/systems/pressurization/auto", 1);
|
||||
setprop("/systems/pressurization/deltap", "0");
|
||||
setprop("/systems/pressurization/outflowpos", "0");
|
||||
setprop("/systems/pressurization/deltap-norm", "0");
|
||||
setprop("/systems/pressurization/outflowpos-norm", "0");
|
||||
altitude = getprop("/instrumentation/altimeter/indicated-altitude-ft");
|
||||
setprop("/systems/pressurization/cabinalt", altitude);
|
||||
setprop("/systems/pressurization/targetalt", altitude);
|
||||
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");
|
||||
setprop("/systems/pressurization/ambientpsi", "0");
|
||||
setprop("/systems/pressurization/cabinpsi", "0");
|
||||
reset_FMGC();
|
||||
}
|
||||
|
||||
flap = getprop("/controls/flight/flap-pos");
|
||||
|
@ -300,6 +263,47 @@ var phasecheck = maketimer(0.2, func {
|
|||
}
|
||||
});
|
||||
|
||||
var reset_FMGC = func {
|
||||
setprop("/FMGC/status/phase", "7");
|
||||
fd1 = getprop("/it-autoflight/input/fd1");
|
||||
fd2 = getprop("/it-autoflight/input/fd2");
|
||||
spd = getprop("/it-autoflight/input/spd-kts");
|
||||
hdg = getprop("/it-autoflight/input/hdg");
|
||||
alt = getprop("/it-autoflight/input/alt");
|
||||
APinit();
|
||||
FMGCinit();
|
||||
mcdu1.MCDU_reset();
|
||||
mcdu2.MCDU_reset();
|
||||
setprop("/it-autoflight/input/fd1", fd1);
|
||||
setprop("/it-autoflight/input/fd2", fd2);
|
||||
setprop("/it-autoflight/input/spd-kts", spd);
|
||||
setprop("/it-autoflight/input/hdg", hdg);
|
||||
setprop("/it-autoflight/input/alt", alt);
|
||||
setprop("/systems/pressurization/mode", "GN");
|
||||
setprop("/systems/pressurization/vs", "0");
|
||||
setprop("/systems/pressurization/targetvs", "0");
|
||||
setprop("/systems/pressurization/vs-norm", "0");
|
||||
setprop("/systems/pressurization/auto", 1);
|
||||
setprop("/systems/pressurization/deltap", "0");
|
||||
setprop("/systems/pressurization/outflowpos", "0");
|
||||
setprop("/systems/pressurization/deltap-norm", "0");
|
||||
setprop("/systems/pressurization/outflowpos-norm", "0");
|
||||
altitude = getprop("/instrumentation/altimeter/indicated-altitude-ft");
|
||||
setprop("/systems/pressurization/cabinalt", altitude);
|
||||
setprop("/systems/pressurization/targetalt", altitude);
|
||||
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");
|
||||
setprop("/systems/pressurization/ambientpsi", "0");
|
||||
setprop("/systems/pressurization/cabinpsi", "0");
|
||||
}
|
||||
|
||||
var various = maketimer(1, func {
|
||||
if (getprop("/engines/engine[0]/state") == 3 and getprop("/engines/engine[1]/state") != 3) {
|
||||
setprop("/it-autoflight/settings/reduc-agl-ft", getprop("/FMGC/internal/eng-out-reduc"));
|
||||
|
|
Reference in a new issue