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>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</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>
|
<item>
|
||||||
<label>Pushback</label>
|
<label>Pushback</label>
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -209,6 +231,50 @@
|
||||||
<dialog-name>pushback</dialog-name>
|
<dialog-name>pushback</dialog-name>
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</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>
|
</menu>
|
||||||
</default>
|
</default>
|
||||||
</menubar>
|
</menubar>
|
||||||
|
@ -990,7 +1056,7 @@
|
||||||
<canvas_nd>
|
<canvas_nd>
|
||||||
<file>Aircraft/A320Family/Models/Instruments/ND/canvas/ND.nas</file>
|
<file>Aircraft/A320Family/Models/Instruments/ND/canvas/ND.nas</file>
|
||||||
</canvas_nd>
|
</canvas_nd>
|
||||||
<icing> <!-- leave icing in this -->
|
<icing>
|
||||||
<file>Aircraft/A320Family/Nasal/icing.nas</file>
|
<file>Aircraft/A320Family/Nasal/icing.nas</file>
|
||||||
</icing>
|
</icing>
|
||||||
</nasal>
|
</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 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 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 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();
|
spinning.start();
|
||||||
init_dlg.open();
|
init_dlg.open();
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<layout>hbox</layout>
|
<layout>hbox</layout>
|
||||||
<text>
|
<text>
|
||||||
<halign>left</halign>
|
<halign>left</halign>
|
||||||
<label>Aircraft Configuration V1.4.2</label>
|
<label>Aircraft Configuration V1.4.4</label>
|
||||||
</text>
|
</text>
|
||||||
<button>
|
<button>
|
||||||
<halign>right</halign>
|
<halign>right</halign>
|
||||||
|
|
|
@ -41,10 +41,6 @@
|
||||||
<halign>center</halign>
|
<halign>center</halign>
|
||||||
<label>Welcome to the it0uchpods A3XX Series!</label>
|
<label>Welcome to the it0uchpods A3XX Series!</label>
|
||||||
</text>
|
</text>
|
||||||
<text>
|
|
||||||
<halign>center</halign>
|
|
||||||
<label>Pre V1.0, Shared Libraries V1.4.2</label>
|
|
||||||
</text>
|
|
||||||
<text>
|
<text>
|
||||||
<halign>center</halign>
|
<halign>center</halign>
|
||||||
<label>This is a complex simulation of these amazing Airbus Aircraft.</label>
|
<label>This is a complex simulation of these amazing Airbus Aircraft.</label>
|
||||||
|
|
|
@ -238,6 +238,32 @@ 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")) {
|
if ((wowl and wowr) and (gs < 40) and (phase == "2" or phase == "3" or phase == "4" or phase == "5" or phase == "6")) {
|
||||||
|
reset_FMGC();
|
||||||
|
}
|
||||||
|
|
||||||
|
flap = getprop("/controls/flight/flap-pos");
|
||||||
|
if (flap == 0) {
|
||||||
|
setprop("/FMGC/internal/overspeed", 338);
|
||||||
|
setprop("/FMGC/internal/minspeed", 202);
|
||||||
|
} else if (flap == 1) {
|
||||||
|
setprop("/FMGC/internal/overspeed", 216);
|
||||||
|
setprop("/FMGC/internal/minspeed", 184);
|
||||||
|
} else if (flap == 2) {
|
||||||
|
setprop("/FMGC/internal/overspeed", 207);
|
||||||
|
setprop("/FMGC/internal/minspeed", 169);
|
||||||
|
} else if (flap == 3) {
|
||||||
|
setprop("/FMGC/internal/overspeed", 189);
|
||||||
|
setprop("/FMGC/internal/minspeed", 156);
|
||||||
|
} else if (flap == 4) {
|
||||||
|
setprop("/FMGC/internal/overspeed", 174);
|
||||||
|
setprop("/FMGC/internal/minspeed", 147);
|
||||||
|
} else if (flap == 5) {
|
||||||
|
setprop("/FMGC/internal/overspeed", 163);
|
||||||
|
setprop("/FMGC/internal/minspeed", 134);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
var reset_FMGC = func {
|
||||||
setprop("/FMGC/status/phase", "7");
|
setprop("/FMGC/status/phase", "7");
|
||||||
fd1 = getprop("/it-autoflight/input/fd1");
|
fd1 = getprop("/it-autoflight/input/fd1");
|
||||||
fd2 = getprop("/it-autoflight/input/fd2");
|
fd2 = getprop("/it-autoflight/input/fd2");
|
||||||
|
@ -276,29 +302,7 @@ var phasecheck = maketimer(0.2, func {
|
||||||
setprop("/systems/ventilation/lavatory/extractvalve", "0");
|
setprop("/systems/ventilation/lavatory/extractvalve", "0");
|
||||||
setprop("/systems/pressurization/ambientpsi", "0");
|
setprop("/systems/pressurization/ambientpsi", "0");
|
||||||
setprop("/systems/pressurization/cabinpsi", "0");
|
setprop("/systems/pressurization/cabinpsi", "0");
|
||||||
}
|
}
|
||||||
|
|
||||||
flap = getprop("/controls/flight/flap-pos");
|
|
||||||
if (flap == 0) {
|
|
||||||
setprop("/FMGC/internal/overspeed", 338);
|
|
||||||
setprop("/FMGC/internal/minspeed", 202);
|
|
||||||
} else if (flap == 1) {
|
|
||||||
setprop("/FMGC/internal/overspeed", 216);
|
|
||||||
setprop("/FMGC/internal/minspeed", 184);
|
|
||||||
} else if (flap == 2) {
|
|
||||||
setprop("/FMGC/internal/overspeed", 207);
|
|
||||||
setprop("/FMGC/internal/minspeed", 169);
|
|
||||||
} else if (flap == 3) {
|
|
||||||
setprop("/FMGC/internal/overspeed", 189);
|
|
||||||
setprop("/FMGC/internal/minspeed", 156);
|
|
||||||
} else if (flap == 4) {
|
|
||||||
setprop("/FMGC/internal/overspeed", 174);
|
|
||||||
setprop("/FMGC/internal/minspeed", 147);
|
|
||||||
} else if (flap == 5) {
|
|
||||||
setprop("/FMGC/internal/overspeed", 163);
|
|
||||||
setprop("/FMGC/internal/minspeed", 134);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
var various = maketimer(1, func {
|
var various = maketimer(1, func {
|
||||||
if (getprop("/engines/engine[0]/state") == 3 and getprop("/engines/engine[1]/state") != 3) {
|
if (getprop("/engines/engine[0]/state") == 3 and getprop("/engines/engine[1]/state") != 3) {
|
||||||
|
|
Reference in a new issue