Conflicts:
	Systems/engine-timing.xml
This commit is contained in:
Jonathan Redpath 2017-06-06 17:07:50 +01:00
commit cbcc558824
47 changed files with 808 additions and 1511 deletions

View file

@ -5,13 +5,9 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<fileheader>
<author> Bicyus (Jon Ortuondo) </author>
<email> bicyus@gmail.com </email>
<filecreationdate> 2012-02-15 </filecreationdate>
<version> 0.99 </version>
<description> Airbus A319-133 with CFM56 Engines </description>
<note> Revised and fixed by Peter Brendt (jwocky) and Joshua Davidson (it0uchpods). Fork from the A320-Family aircraft project (Thanks to all authors) </note>
<limitation></limitation>
<author>Joshua Davidson (it0uchpods)</author>
<version>Pre V1.0</version>
<description>A3XX FDE</description>
</fileheader>
<metrics>
@ -989,8 +985,8 @@ YAW MOI_________3950000______23089847_______24848934
-1.57 1.300
-0.26 0.021
0.00 0.012
0.26 0.028
1.57 1.350
0.26 0.026
1.57 1.340
</tableData>
</table>
</product>
@ -1029,7 +1025,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/flap-pos-deg</property>
<value> 0.00120 </value>
<value> 0.00110 </value>
</product>
</function>
@ -1049,7 +1045,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>gear/gear-pos-norm</property>
<value>0.030</value>
<value>0.025</value>
</product>
</function>
@ -1059,7 +1055,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/speedbrake-pos-norm</property>
<value>0.03</value>
<value>0.035</value>
</product>
</function>

View file

@ -5,13 +5,9 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<fileheader>
<author> Bicyus (Jon Ortuondo) </author>
<email> bicyus@gmail.com </email>
<filecreationdate> 2012-02-15 </filecreationdate>
<version> 0.99 </version>
<description> Airbus A319-133 with IAE V2500 Engines </description>
<note> Revised and fixed by Peter Brendt (jwocky) and Joshua Davidson (it0uchpods). Fork from the A320-Family aircraft project (Thanks to all authors) </note>
<limitation></limitation>
<author>Joshua Davidson (it0uchpods)</author>
<version>Pre V1.0</version>
<description>A3XX FDE</description>
</fileheader>
<metrics>
@ -989,8 +985,8 @@ YAW MOI_________3950000______23089847_______24848934
-1.57 1.300
-0.26 0.021
0.00 0.012
0.26 0.028
1.57 1.350
0.26 0.026
1.57 1.340
</tableData>
</table>
</product>
@ -1029,7 +1025,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/flap-pos-deg</property>
<value> 0.00120 </value>
<value> 0.00110 </value>
</product>
</function>
@ -1049,7 +1045,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>gear/gear-pos-norm</property>
<value>0.030</value>
<value>0.025</value>
</product>
</function>
@ -1059,7 +1055,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/speedbrake-pos-norm</property>
<value>0.03</value>
<value>0.035</value>
</product>
</function>

View file

@ -5,13 +5,9 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<fileheader>
<author> Bicyus (Jon Ortuondo) </author>
<email> bicyus@gmail.com </email>
<filecreationdate> 2012-02-15 </filecreationdate>
<version> 0.99 </version>
<description> Airbus A320-232 with CFM56 Engines </description>
<note> Revised and fixed by Peter Brendt (jwocky) and Joshua Davidson (it0uchpods). Fork from the A320-Family aircraft project (Thanks to all authors) </note>
<limitation></limitation>
<author>Joshua Davidson (it0uchpods)</author>
<version>Pre V1.0</version>
<description>A3XX FDE</description>
</fileheader>
<metrics>
@ -989,8 +985,8 @@ YAW MOI_________3950000______23089847_______24848934
-1.57 1.300
-0.26 0.021
0.00 0.012
0.26 0.028
1.57 1.350
0.26 0.026
1.57 1.340
</tableData>
</table>
</product>
@ -1029,7 +1025,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/flap-pos-deg</property>
<value> 0.00120 </value>
<value> 0.00110 </value>
</product>
</function>
@ -1049,7 +1045,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>gear/gear-pos-norm</property>
<value>0.030</value>
<value>0.025</value>
</product>
</function>
@ -1059,7 +1055,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/speedbrake-pos-norm</property>
<value>0.03</value>
<value>0.035</value>
</product>
</function>

View file

@ -5,13 +5,9 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<fileheader>
<author> Bicyus (Jon Ortuondo) </author>
<email> bicyus@gmail.com </email>
<filecreationdate> 2012-02-15 </filecreationdate>
<version> 0.99 </version>
<description> Airbus A320-232 with IAE V2500 Engines </description>
<note> Revised and fixed by Peter Brendt (jwocky) and Joshua Davidson (it0uchpods). Fork from the A320-Family aircraft project (Thanks to all authors) </note>
<limitation></limitation>
<author>Joshua Davidson (it0uchpods)</author>
<version>Pre V1.0</version>
<description>A3XX FDE</description>
</fileheader>
<metrics>
@ -989,8 +985,8 @@ YAW MOI_________3950000______23089847_______24848934
-1.57 1.300
-0.26 0.021
0.00 0.012
0.26 0.028
1.57 1.350
0.26 0.026
1.57 1.340
</tableData>
</table>
</product>
@ -1029,7 +1025,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/flap-pos-deg</property>
<value> 0.00120 </value>
<value> 0.00110 </value>
</product>
</function>
@ -1049,7 +1045,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>gear/gear-pos-norm</property>
<value>0.030</value>
<value>0.025</value>
</product>
</function>
@ -1059,7 +1055,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/speedbrake-pos-norm</property>
<value>0.03</value>
<value>0.035</value>
</product>
</function>

View file

@ -71,7 +71,7 @@
<path>Aircraft/A320Family/Systems/custom-autothrust.xml</path>
</autopilot>
<autopilot n="5">
<path>Aircraft/A320Family/Systems/engine-timing.xml</path>
<path>Aircraft/A320Family/Systems/libraries.xml</path>
</autopilot>
<autopilot n="6">
<path>Aircraft/A320Family/Systems/fmgc-c.xml</path>
@ -722,6 +722,7 @@
<file>Aircraft/A320Family/Nasal/gpws.nas</file>
<file>Aircraft/A320Family/Nasal/efis.nas</file>
<file>Aircraft/A320Family/Nasal/ECAM.nas</file>
<file>Aircraft/A320Family/Nasal/shake.nas</file>
</libraries>
<acconfig>
<file>Aircraft/A320Family/AircraftConfig/acconfig.nas</file>
@ -734,7 +735,7 @@
<file>Aircraft/A320Family/Nasal/ADIRS.nas</file>
</systems>
<thrust>
<file>Aircraft/A320Family/Nasal/thrust.nas</file>
<file>Aircraft/A320Family/Nasal/fadec.nas</file>
</thrust>
<fbw>
<file>Aircraft/A320Family/Nasal/it-fbw.nas</file>

View file

@ -5,13 +5,9 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<fileheader>
<author> Bicyus (Jon Ortuondo) </author>
<email> bicyus@gmail.com </email>
<filecreationdate> 2012-02-15 </filecreationdate>
<version> 0.99 </version>
<description> Airbus A321-231 with CFM56 Engines </description>
<note> Revised and fixed by Peter Brendt (jwocky) and Joshua Davidson (it0uchpods). Fork from the A320-Family aircraft project (Thanks to all authors) </note>
<limitation></limitation>
<author>Joshua Davidson (it0uchpods)</author>
<version>Pre V1.0</version>
<description>A3XX FDE</description>
</fileheader>
<metrics>
@ -989,8 +985,8 @@ YAW MOI_________3950000______23089847_______24848934
-1.57 1.300
-0.26 0.021
0.00 0.012
0.26 0.028
1.57 1.350
0.26 0.026
1.57 1.340
</tableData>
</table>
</product>
@ -1029,7 +1025,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/flap-pos-deg</property>
<value> 0.00120 </value>
<value> 0.00110 </value>
</product>
</function>
@ -1049,7 +1045,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>gear/gear-pos-norm</property>
<value>0.030</value>
<value>0.025</value>
</product>
</function>
@ -1059,7 +1055,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/speedbrake-pos-norm</property>
<value>0.03</value>
<value>0.035</value>
</product>
</function>

View file

@ -5,13 +5,9 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<fileheader>
<author> Bicyus (Jon Ortuondo) </author>
<email> bicyus@gmail.com </email>
<filecreationdate> 2012-02-15 </filecreationdate>
<version> 0.99 </version>
<description> Airbus A321-231 with IAE V2500 Engines </description>
<note> Revised and fixed by Peter Brendt (jwocky) and Joshua Davidson (it0uchpods). Fork from the A320-Family aircraft project (Thanks to all authors) </note>
<limitation></limitation>
<author>Joshua Davidson (it0uchpods)</author>
<version>Pre V1.0</version>
<description>A3XX FDE</description>
</fileheader>
<metrics>
@ -989,8 +985,8 @@ YAW MOI_________3950000______23089847_______24848934
-1.57 1.300
-0.26 0.021
0.00 0.012
0.26 0.028
1.57 1.350
0.26 0.026
1.57 1.340
</tableData>
</table>
</product>
@ -1029,7 +1025,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/flap-pos-deg</property>
<value> 0.00120 </value>
<value> 0.00110 </value>
</product>
</function>
@ -1049,7 +1045,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>gear/gear-pos-norm</property>
<value>0.030</value>
<value>0.025</value>
</product>
</function>
@ -1059,7 +1055,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/speedbrake-pos-norm</property>
<value>0.03</value>
<value>0.035</value>
</product>
</function>

View file

@ -5,13 +5,9 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<fileheader>
<author> Bicyus (Jon Ortuondo) </author>
<email> bicyus@gmail.com </email>
<filecreationdate> 2012-02-15 </filecreationdate>
<version> 0.99 </version>
<description> Airbus ACJ with IAE V2500 Engines </description>
<note> Revised and fixed by Peter Brendt (jwocky) and Joshua Davidson (it0uchpods). Fork from the A320-Family aircraft project (Thanks to all authors) </note>
<limitation></limitation>
<author>Joshua Davidson (it0uchpods)</author>
<version>Pre V1.0</version>
<description>A3XX FDE</description>
</fileheader>
<metrics>
@ -989,8 +985,8 @@ YAW MOI_________3950000______23089847_______24848934
-1.57 1.300
-0.26 0.021
0.00 0.012
0.26 0.028
1.57 1.350
0.26 0.026
1.57 1.340
</tableData>
</table>
</product>
@ -1029,7 +1025,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/flap-pos-deg</property>
<value> 0.00120 </value>
<value> 0.00110 </value>
</product>
</function>
@ -1049,7 +1045,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>gear/gear-pos-norm</property>
<value>0.030</value>
<value>0.025</value>
</product>
</function>
@ -1059,7 +1055,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>fcs/speedbrake-pos-norm</property>
<value>0.03</value>
<value>0.035</value>
</product>
</function>

View file

@ -1,23 +1,12 @@
<?xml version="1.0"?>
<!--
File: CFM56_5B3.xml
Author: Aero-Matic v 0.81
Inputs:
name: CFM56_5B3
type: turbine
thrust: 33000 lb
augmented? no
injected? no
-->
<turbine_engine name="CFM56_5B3">
<milthrust> 27000 </milthrust> <!-- Will put proper thrust amount once FDE sorted out -->
<bypassratio> 7.1 </bypassratio>
<tsfc> 0.8 </tsfc>
<bleed> 0.03 </bleed>
<idlen1> 23.4 </idlen1>
<idlen2> 63.7 </idlen2>
<idlen1> 22.4 </idlen1>
<idlen2> 60.9 </idlen2>
<n1spinup> 0.2 </n1spinup>
<n2spinup> 2.0 </n2spinup>
<maxn1> 105.8 </maxn1>

View file

@ -1,23 +1,12 @@
<?xml version="1.0"?>
<!--
File: CFM56_5B4.xml
Author: Aero-Matic v 0.81
Inputs:
name: CFM56_5B4
type: turbine
thrust: 27000 lb
augmented? no
injected? no
-->
<turbine_engine name="CFM56_5B4">
<milthrust> 27000 </milthrust>
<bypassratio> 7.1 </bypassratio>
<tsfc> 0.8 </tsfc>
<bleed> 0.03 </bleed>
<idlen1> 23.4 </idlen1>
<idlen2> 63.7 </idlen2>
<idlen1> 22.4 </idlen1>
<idlen2> 60.9 </idlen2>
<n1spinup> 0.2 </n1spinup>
<n2spinup> 2.0 </n2spinup>
<maxn1> 105.8 </maxn1>

View file

@ -1,23 +1,12 @@
<?xml version="1.0"?>
<!--
File: CFM56_5B6.xml
Author: Aero-Matic v 0.81
Inputs:
name: CFM56_5B6
type: turbine
thrust: 23300 lb
augmented? no
injected? no
-->
<turbine_engine name="CFM56_5B6">
<milthrust> 27000 </milthrust> <!-- Will put proper thrust amount once FDE sorted out -->
<bypassratio> 7.1 </bypassratio>
<tsfc> 0.8 </tsfc>
<bleed> 0.03 </bleed>
<idlen1> 23.4 </idlen1>
<idlen2> 63.7 </idlen2>
<idlen1> 22.4 </idlen1>
<idlen2> 60.9 </idlen2>
<n1spinup> 0.2 </n1spinup>
<n2spinup> 2.0 </n2spinup>
<maxn1> 105.8 </maxn1>

View file

@ -1,23 +1,12 @@
<?xml version="1.0"?>
<!--
File: V2522_A5.xml
Author: Aero-Matic v 0.81
Inputs:
name: V2522_A5
type: turbine
thrust: 23000 lb
augmented? no
injected? no
-->
<turbine_engine name="V2527_A5">
<milthrust> 26600 </milthrust> <!-- Will put proper thrust amount once FDE sorted out -->
<bypassratio> 7.1 </bypassratio>
<tsfc> 0.8 </tsfc>
<bleed> 0.03 </bleed>
<idlen1> 23.4 </idlen1>
<idlen2> 63.7 </idlen2>
<idlen1> 22.4 </idlen1>
<idlen2> 60.9 </idlen2>
<n1spinup> 0.2 </n1spinup>
<n2spinup> 2.0 </n2spinup>
<maxn1> 105.8 </maxn1>

View file

@ -1,23 +1,12 @@
<?xml version="1.0"?>
<!--
File: V2522_A5.xml
Author: Aero-Matic v 0.81
Inputs:
name: V2522_A5
type: turbine
thrust: 26600 lb
augmented? no
injected? no
-->
<turbine_engine name="V2527_A5">
<milthrust> 26600 </milthrust>
<bypassratio> 7.1 </bypassratio>
<tsfc> 0.8 </tsfc>
<bleed> 0.03 </bleed>
<idlen1> 23.4 </idlen1>
<idlen2> 63.7 </idlen2>
<idlen1> 22.4 </idlen1>
<idlen2> 60.9 </idlen2>
<n1spinup> 0.2 </n1spinup>
<n2spinup> 2.0 </n2spinup>
<maxn1> 105.8 </maxn1>

View file

@ -1,23 +1,12 @@
<?xml version="1.0"?>
<!--
File: V2522_A5.xml
Author: Aero-Matic v 0.81
Inputs:
name: V2522_A5
type: turbine
thrust: 32000 lb
augmented? no
injected? no
-->
<turbine_engine name="V2527_A5">
<milthrust> 26600 </milthrust> <!-- Will put proper thrust amount once FDE sorted out -->
<bypassratio> 7.1 </bypassratio>
<tsfc> 0.8 </tsfc>
<bleed> 0.03 </bleed>
<idlen1> 23.4 </idlen1>
<idlen2> 63.7 </idlen2>
<idlen1> 22.4 </idlen1>
<idlen2> 60.9 </idlen2>
<n1spinup> 0.2 </n1spinup>
<n2spinup> 2.0 </n2spinup>
<maxn1> 105.8 </maxn1>

View file

@ -4,6 +4,32 @@
<path>res/fd_complete.ac</path>
<animation>
<type>translate</type>
<property>/systems/shake/shaking</property>
<axis>
<x1-m> 0</x1-m>
<y1-m> 0</y1-m>
<z1-m> 0</z1-m>
<x2-m> 0.5</x2-m>
<y2-m>-0.5</y2-m>
<z2-m> 0.8</z2-m>
</axis>
</animation>
<animation>
<type>translate</type>
<property>/systems/shake/shaking</property>
<axis>
<x1-m> 0</x1-m>
<y1-m> 0</y1-m>
<z1-m> 0</z1-m>
<x2-m> 0.5</x2-m>
<y2-m>-0.5</y2-m>
<z2-m> 0.8</z2-m>
</axis>
</animation>
<!-- Overhead Panel -->
<model>

View file

@ -2233,7 +2233,10 @@
<command>property-toggle</command>
<property>controls/lighting/strobe</property>
</binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/switch1", 1);</script>
</binding>
</action>
</animation>
<animation>
@ -2268,7 +2271,10 @@
<command>property-toggle</command>
<property>controls/lighting/beacon</property>
</binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/switch1", 1);</script>
</binding>
</action>
</animation>
<animation>
@ -2303,7 +2309,10 @@
<command>property-toggle</command>
<property>controls/lighting/wing-lights</property>
</binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/switch1", 1);</script>
</binding>
</action>
</animation>
<animation>
@ -2341,7 +2350,10 @@
<value>1</value>
<value>2</value>
</binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/switch1", 1);</script>
</binding>
</action>
</animation>
<animation>
@ -2399,6 +2411,10 @@
<command>property-toggle</command>
<property>controls/lighting/landing-lights[2]</property>
</binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/switch1", 1);</script>
</binding>
</action>
</animation>
<animation>
@ -2456,7 +2472,10 @@
<value>0.5</value>
<value>1</value>
</binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/switch1", 1);</script>
</binding>
</action>
</animation>
<animation>
@ -2659,6 +2678,10 @@
<value>0.5</value>
<value>1</value>
</binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/knb1", 1);</script>
</binding>
</action>
</animation>
<animation>
@ -2697,6 +2720,10 @@
<value>0</value>
<value>1</value>
</binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/switch1", 1);</script>
</binding>
</action>
</animation>
<animation>
@ -2733,6 +2760,10 @@
<command>property-toggle</command>
<property>controls/switches/seatbelt-sign</property>
</binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/switch1", 1);</script>
</binding>
</action>
</animation>
<animation>
@ -2767,6 +2798,10 @@
<command>property-toggle</command>
<property>controls/switches/no-smoking-sign</property>
</binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/switch1", 1);</script>
</binding>
</action>
</animation>
<animation>

View file

@ -207,6 +207,34 @@
</condition>
</animation>
<animation>
<type>select</type>
<object-name>pitch-mode-box</object-name>
<object-name>pitch-mode-armed-box</object-name>
<object-name>roll-mode-box</object-name>
<object-name>roll-mode-armed-box</object-name>
<condition>
<or>
<equals>
<property>/it-autoflight/output/fd1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/fd2</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>rudder_bar</object-name>
@ -1594,10 +1622,46 @@
<type>select</type>
<object-name>throttle-mode-box</object-name>
<condition>
<equals>
<property>/modes/pfd/fma/throttle-mode-box</property>
<value>1</value>
</equals>
<and>
<equals>
<property>/modes/pfd/fma/throttle-mode-box</property>
<value>1</value>
</equals>
<not-equals>
<property>/systems/thrust/state1</property>
<value>MAN THR</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state2</property>
<value>MAN THR</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state1</property>
<value>MCT</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state2</property>
<value>MCT</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state1</property>
<value>TOGA</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state2</property>
<value>TOGA</value>
</not-equals>
<or>
<not-equals>
<property>/systems/thrust/state1</property>
<value>IDLE</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state2</property>
<value>IDLE</value>
</not-equals>
</or>
</and>
</condition>
</animation>

View file

@ -207,6 +207,34 @@
</condition>
</animation>
<animation>
<type>select</type>
<object-name>pitch-mode-box</object-name>
<object-name>pitch-mode-armed-box</object-name>
<object-name>roll-mode-box</object-name>
<object-name>roll-mode-armed-box</object-name>
<condition>
<or>
<equals>
<property>/it-autoflight/output/fd1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/fd2</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>rudder_bar</object-name>
@ -1594,10 +1622,46 @@
<type>select</type>
<object-name>throttle-mode-box</object-name>
<condition>
<equals>
<property>/modes/pfd/fma/throttle-mode-box</property>
<value>1</value>
</equals>
<and>
<equals>
<property>/modes/pfd/fma/throttle-mode-box</property>
<value>1</value>
</equals>
<not-equals>
<property>/systems/thrust/state1</property>
<value>MAN THR</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state2</property>
<value>MAN THR</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state1</property>
<value>MCT</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state2</property>
<value>MCT</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state1</property>
<value>TOGA</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state2</property>
<value>TOGA</value>
</not-equals>
<or>
<not-equals>
<property>/systems/thrust/state1</property>
<value>IDLE</value>
</not-equals>
<not-equals>
<property>/systems/thrust/state2</property>
<value>IDLE</value>
</not-equals>
</or>
</and>
</condition>
</animation>

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 KiB

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8" ?>
<PropertyList>
<sim>
<model>
<livery>
<name>Nesma Airlines</name>
<texture>Liveries/A319/IAE/NSS.png</texture>
</livery>
</model>
</sim>
<options>
<EIS2 type="bool">0</EIS2>
</options>
<sharklet type="bool">0</sharklet>
</PropertyList>

Binary file not shown.

After

Width:  |  Height:  |  Size: 519 KiB

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8" ?>
<PropertyList>
<sim>
<model>
<livery>
<name>DNB Airlines</name>
<texture>Liveries/A320/IAE/DNBairlines.png</texture>
</livery>
</model>
</sim>
<options>
<EIS2 type="bool">0</EIS2>
</options>
<sharklet type="bool">0</sharklet>
</PropertyList>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 620 KiB

After

Width:  |  Height:  |  Size: 620 KiB

View file

@ -4,7 +4,7 @@
<sim>
<model>
<livery>
<name>jetBlue (Blue Finest)</name>
<name>JetBlue (Blue Finest)</name>
<texture>Liveries/A320/IAE/N531JL.png</texture>
</livery>
</model>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 613 KiB

After

Width:  |  Height:  |  Size: 614 KiB

View file

@ -14,6 +14,7 @@ setprop("/FMGC/internal/mng-kts-mach", 0);
setprop("/FMGC/internal/mach-switchover", 0);
setprop("/it-autoflight/settings/reduc-agl-ft", 3000);
setprop("/it-autoflight/internal/vert-speed-fpm", 0);
setprop("/it-autoflight/output/fma-pwr", 0);
var FMGCinit = func {
setprop("/FMGC/status/to-state", 0);
@ -340,6 +341,7 @@ var APinit = func {
setprop("/it-autoflight/output/thr-mode", 2);
setprop("/it-autoflight/output/lat", 5);
setprop("/it-autoflight/output/vert", 7);
setprop("/it-autoflight/output/fma-pwr", 0);
setprop("/it-autoflight/settings/use-nav2-radio", 0);
setprop("/it-autoflight/settings/use-backcourse", 0);
setprop("/it-autoflight/internal/min-vs", -500);
@ -361,14 +363,17 @@ var APinit = func {
# AP 1 Master System
setlistener("/it-autoflight/input/ap1", func {
var apmas = getprop("/it-autoflight/input/ap1");
var ac_ess = getprop("/systems/electrical/bus/ac-ess");
if (apmas == 0) {
fmabox();
setprop("/it-autoflight/output/ap1", 0);
if (getprop("/it-autoflight/sound/enableapoffsound") == 1) {
setprop("/it-autoflight/sound/apoffsound", 1);
setprop("/it-autoflight/sound/enableapoffsound", 0);
}
} else if (apmas == 1) {
} else if (apmas == 1 and ac_ess >= 110) {
if ((getprop("/gear/gear[1]/wow") == 0) and (getprop("/gear/gear[2]/wow") == 0)) {
fmabox();
setprop("/it-autoflight/output/ap1", 1);
setprop("/it-autoflight/sound/enableapoffsound", 1);
setprop("/it-autoflight/sound/apoffsound", 0);
@ -379,14 +384,17 @@ setlistener("/it-autoflight/input/ap1", func {
# AP 2 Master System
setlistener("/it-autoflight/input/ap2", func {
var apmas = getprop("/it-autoflight/input/ap2");
var ac_ess = getprop("/systems/electrical/bus/ac-ess");
if (apmas == 0) {
fmabox();
setprop("/it-autoflight/output/ap2", 0);
if (getprop("/it-autoflight/sound/enableapoffsound2") == 1) {
setprop("/it-autoflight/sound/apoffsound2", 1);
setprop("/it-autoflight/sound/enableapoffsound2", 0);
}
} else if (apmas == 1) {
} else if (apmas == 1 and ac_ess >= 110) {
if ((getprop("/gear/gear[1]/wow") == 0) and (getprop("/gear/gear[2]/wow") == 0)) {
fmabox();
setprop("/it-autoflight/output/ap2", 1);
setprop("/it-autoflight/sound/enableapoffsound2", 1);
setprop("/it-autoflight/sound/apoffsound2", 0);
@ -409,8 +417,10 @@ setlistener("/it-autoflight/input/athr", func {
setlistener("/it-autoflight/input/fd1", func {
var fdmas = getprop("/it-autoflight/input/fd1");
if (fdmas == 0) {
fmabox();
setprop("/it-autoflight/output/fd1", 0);
} else if (fdmas == 1) {
fmabox();
setprop("/it-autoflight/output/fd1", 1);
}
});
@ -419,12 +429,31 @@ setlistener("/it-autoflight/input/fd1", func {
setlistener("/it-autoflight/input/fd2", func {
var fdmas = getprop("/it-autoflight/input/fd2");
if (fdmas == 0) {
fmabox();
setprop("/it-autoflight/output/fd2", 0);
} else if (fdmas == 1) {
fmabox();
setprop("/it-autoflight/output/fd2", 1);
}
});
# FMA Boxes and Mode
var fmabox = func {
var ap1 = getprop("/it-autoflight/output/ap1");
var ap2 = getprop("/it-autoflight/output/ap2");
var fd1 = getprop("/it-autoflight/output/fd1");
var fd2 = getprop("/it-autoflight/output/fd2");
if (!ap1 and !ap2 and !fd1 and !fd2) {
setprop("/it-autoflight/input/lat", 3);
setprop("/it-autoflight/input/vert", 1);
setprop("/it-autoflight/input/vs", 0);
setprop("/it-autoflight/output/fma-pwr", 0);
} else {
setprop("/it-autoflight/input/vs", 0);
setprop("/it-autoflight/output/fma-pwr", 1);
}
}
# Master Lateral
setlistener("/it-autoflight/input/lat", func {
if ((getprop("/gear/gear[1]/wow") == 0) and (getprop("/gear/gear[2]/wow") == 0)) {

View file

@ -244,20 +244,79 @@ var at = func {
}
}
var boxchk = func {
var ap1 = getprop("/it-autoflight/output/ap1");
var ap2 = getprop("/it-autoflight/output/ap2");
var fd1 = getprop("/it-autoflight/output/fd1");
var fd2 = getprop("/it-autoflight/output/fd2");
var fma_pwr = getprop("/it-autoflight/output/fma-pwr");
if (ap1 and !ap2 and !fd1 and !fd2 and !fma_pwr) {
setprop("/it-autoflight/input/lat", 3);
boxchk_b();
} else if (!ap1 and ap2 and !fd1 and !fd2 and !fma_pwr) {
setprop("/it-autoflight/input/lat", 3);
boxchk_b();
} else if (!ap1 and !ap2 and fd1 and !fd2 and !fma_pwr) {
setprop("/it-autoflight/input/lat", 3);
boxchk_b();
} else if (!ap1 and !ap2 and !fd1 and fd2 and !fma_pwr) {
setprop("/it-autoflight/input/lat", 3);
boxchk_b();
}
}
var boxchk_b = func {
setprop("/modes/pfd/fma/roll-mode-box", 1);
setprop("/modes/pfd/fma/pitch-mode-box", 1);
settimer(func {
setprop("/modes/pfd/fma/roll-mode-box", 0);
}, 5);
settimer(func {
setprop("/modes/pfd/fma/pitch-mode-box", 0);
}, 5);
var newarmr = getprop("/modes/pfd/fma/roll-mode-armed");
if (newarmr != " ") {
setprop("/modes/pfd/fma/roll-mode-armed-box", 1);
settimer(func {
setprop("/modes/pfd/fma/roll-mode-armed-box", 0);
}, 5);
}
var newarmp = getprop("/modes/pfd/fma/pitch-mode-armed");
if (newarmp != " ") {
setprop("/modes/pfd/fma/pitch-mode-armed-box", 1);
settimer(func {
setprop("/modes/pfd/fma/pitch-mode-armed-box", 0);
}, 5);
}
var newarmp2 = getprop("/modes/pfd/fma/pitch-mode2-armed");
if (newarmp2 != " ") {
setprop("/modes/pfd/fma/pitch-mode2-armed-box", 1);
settimer(func {
setprop("/modes/pfd/fma/pitch-mode2-armed-box", 0);
}, 5);
}
}
# Update AP FD ATHR
setlistener("/it-autoflight/output/ap1", func {
speedmach();
ap();
boxchk();
});
setlistener("/it-autoflight/output/ap2", func {
speedmach();
ap();
boxchk();
});
setlistener("/it-autoflight/output/fd1", func {
speedmach();
fd();
boxchk();
});
setlistener("/it-autoflight/output/fd2", func {
speedmach();
fd();
boxchk();
});
setlistener("/it-autoflight/output/athr", func {
at();

View file

@ -392,71 +392,73 @@ var master_elec = func {
decharge2.start();
}
if (getprop("/systems/electrical/bus/ac-ess") == 0) {
if (getprop("/systems/electrical/bus/ac-ess") < 110) {
setprop("/it-autoflight/input/ap1", 0);
setprop("/it-autoflight/input/ap2", 0);
setprop("systems/electrical/on", 0);
# ai_spin.setValue(0.2);
# aispin.stop();
setprop("systems/electrical/outputs/adf", 0);
setprop("systems/electrical/outputs/audio-panel", 0);
setprop("systems/electrical/outputs/audio-panel[1]", 0);
setprop("systems/electrical/outputs/autopilot", 0);
setprop("systems/electrical/outputs/avionics-fan", 0);
setprop("systems/electrical/outputs/beacon", 0);
setprop("systems/electrical/outputs/bus", 0);
setprop("systems/electrical/outputs/cabin-lights", 0);
setprop("systems/electrical/outputs/dme", 0);
setprop("systems/electrical/outputs/efis", 0);
setprop("systems/electrical/outputs/flaps", 0);
setprop("systems/electrical/outputs/fuel-pump", 0);
setprop("systems/electrical/outputs/fuel-pump[1]", 0);
setprop("systems/electrical/outputs/gps", 0);
setprop("systems/electrical/outputs/gps-mfd", 0);
setprop("systems/electrical/outputs/hsi", 0);
setprop("systems/electrical/outputs/instr-ignition-switch", 0);
setprop("systems/electrical/outputs/instrument-lights", 0);
setprop("systems/electrical/outputs/landing-lights", 0);
setprop("systems/electrical/outputs/map-lights", 0);
setprop("systems/electrical/outputs/mk-viii", 0);
setprop("systems/electrical/outputs/nav", 0);
setprop("systems/electrical/outputs/nav[1]", 0);
setprop("systems/electrical/outputs/pitot-head", 0);
setprop("systems/electrical/outputs/stobe-lights", 0);
setprop("systems/electrical/outputs/tacan", 0);
setprop("systems/electrical/outputs/taxi-lights", 0);
setprop("systems/electrical/outputs/transponder", 0);
setprop("systems/electrical/outputs/turn-coordinator", 0);
setprop("/systems/electrical/outputs/adf", 0);
setprop("/systems/electrical/outputs/audio-panel", 0);
setprop("/systems/electrical/outputs/audio-panel[1]", 0);
setprop("/systems/electrical/outputs/autopilot", 0);
setprop("/systems/electrical/outputs/avionics-fan", 0);
setprop("/systems/electrical/outputs/beacon", 0);
setprop("/systems/electrical/outputs/bus", 0);
setprop("/systems/electrical/outputs/cabin-lights", 0);
setprop("/systems/electrical/outputs/dme", 0);
setprop("/systems/electrical/outputs/efis", 0);
setprop("/systems/electrical/outputs/flaps", 0);
setprop("/systems/electrical/outputs/fuel-pump", 0);
setprop("/systems/electrical/outputs/fuel-pump[1]", 0);
setprop("/systems/electrical/outputs/gps", 0);
setprop("/systems/electrical/outputs/gps-mfd", 0);
setprop("/systems/electrical/outputs/hsi", 0);
setprop("/systems/electrical/outputs/instr-ignition-switch", 0);
setprop("/systems/electrical/outputs/instrument-lights", 0);
setprop("/systems/electrical/outputs/landing-lights", 0);
setprop("/systems/electrical/outputs/map-lights", 0);
setprop("/systems/electrical/outputs/mk-viii", 0);
setprop("/systems/electrical/outputs/nav", 0);
setprop("/systems/electrical/outputs/nav[1]", 0);
setprop("/systems/electrical/outputs/pitot-head", 0);
setprop("/systems/electrical/outputs/stobe-lights", 0);
setprop("/systems/electrical/outputs/tacan", 0);
setprop("/systems/electrical/outputs/taxi-lights", 0);
setprop("/systems/electrical/outputs/transponder", 0);
setprop("/systems/electrical/outputs/turn-coordinator", 0);
} else {
setprop("systems/electrical/on", 1);
setprop("/systems/electrical/on", 1);
# aispin.start();
setprop("systems/electrical/outputs/adf", dc_volt_std);
setprop("systems/electrical/outputs/audio-panel", dc_volt_std);
setprop("systems/electrical/outputs/audio-panel[1]", dc_volt_std);
setprop("systems/electrical/outputs/autopilot", dc_volt_std);
setprop("systems/electrical/outputs/avionics-fan", dc_volt_std);
setprop("systems/electrical/outputs/beacon", dc_volt_std);
setprop("systems/electrical/outputs/bus", dc_volt_std);
setprop("systems/electrical/outputs/cabin-lights", dc_volt_std);
setprop("systems/electrical/outputs/dme", dc_volt_std);
setprop("systems/electrical/outputs/efis", dc_volt_std);
setprop("systems/electrical/outputs/flaps", dc_volt_std);
setprop("systems/electrical/outputs/fuel-pump", dc_volt_std);
setprop("systems/electrical/outputs/fuel-pump[1]", dc_volt_std);
setprop("systems/electrical/outputs/gps", dc_volt_std);
setprop("systems/electrical/outputs/gps-mfd", dc_volt_std);
setprop("systems/electrical/outputs/hsi", dc_volt_std);
setprop("systems/electrical/outputs/instr-ignition-switch", dc_volt_std);
setprop("systems/electrical/outputs/instrument-lights", dc_volt_std);
setprop("systems/electrical/outputs/landing-lights", dc_volt_std);
setprop("systems/electrical/outputs/map-lights", dc_volt_std);
setprop("systems/electrical/outputs/mk-viii", dc_volt_std);
setprop("systems/electrical/outputs/nav", dc_volt_std);
setprop("systems/electrical/outputs/nav[1]", dc_volt_std);
setprop("systems/electrical/outputs/pitot-head", dc_volt_std);
setprop("systems/electrical/outputs/stobe-lights", dc_volt_std);
setprop("systems/electrical/outputs/tacan", dc_volt_std);
setprop("systems/electrical/outputs/taxi-lights", dc_volt_std);
setprop("systems/electrical/outputs/transponder", dc_volt_std);
setprop("systems/electrical/outputs/turn-coordinator", dc_volt_std);
setprop("/systems/electrical/outputs/adf", dc_volt_std);
setprop("/systems/electrical/outputs/audio-panel", dc_volt_std);
setprop("/systems/electrical/outputs/audio-panel[1]", dc_volt_std);
setprop("/systems/electrical/outputs/autopilot", dc_volt_std);
setprop("/systems/electrical/outputs/avionics-fan", dc_volt_std);
setprop("/systems/electrical/outputs/beacon", dc_volt_std);
setprop("/systems/electrical/outputs/bus", dc_volt_std);
setprop("/systems/electrical/outputs/cabin-lights", dc_volt_std);
setprop("/systems/electrical/outputs/dme", dc_volt_std);
setprop("/systems/electrical/outputs/efis", dc_volt_std);
setprop("/systems/electrical/outputs/flaps", dc_volt_std);
setprop("/systems/electrical/outputs/fuel-pump", dc_volt_std);
setprop("/systems/electrical/outputs/fuel-pump[1]", dc_volt_std);
setprop("/systems/electrical/outputs/gps", dc_volt_std);
setprop("/systems/electrical/outputs/gps-mfd", dc_volt_std);
setprop("/systems/electrical/outputs/hsi", dc_volt_std);
setprop("/systems/electrical/outputs/instr-ignition-switch", dc_volt_std);
setprop("/systems/electrical/outputs/instrument-lights", dc_volt_std);
setprop("/systems/electrical/outputs/landing-lights", dc_volt_std);
setprop("/systems/electrical/outputs/map-lights", dc_volt_std);
setprop("/systems/electrical/outputs/mk-viii", dc_volt_std);
setprop("/systems/electrical/outputs/nav", dc_volt_std);
setprop("/systems/electrical/outputs/nav[1]", dc_volt_std);
setprop("/systems/electrical/outputs/pitot-head", dc_volt_std);
setprop("/systems/electrical/outputs/stobe-lights", dc_volt_std);
setprop("/systems/electrical/outputs/tacan", dc_volt_std);
setprop("/systems/electrical/outputs/taxi-lights", dc_volt_std);
setprop("/systems/electrical/outputs/transponder", dc_volt_std);
setprop("/systems/electrical/outputs/turn-coordinator", dc_volt_std);
}
}

View file

@ -1,4 +1,4 @@
# A320Family JSB Engine System
# A3XX JSB Engine System
# Joshua Davidson (it0uchpods)
#####################
@ -6,12 +6,12 @@
#####################
var engines = props.globals.getNode("/engines").getChildren("engine");
var n1_min = 23.4;
var n1_min = 22.4;
var n2_min = 63.7;
var egt_min = 434;
var n1_spin = 5.1;
var n2_spin = 22.8;
var n1_start = 23.3;
var n1_start = 22.3;
var n2_start = 63.6;
var egt_start = 587;
var n1_max = 105.8;
@ -125,7 +125,7 @@ var eng_one_n2_check = func {
if (getprop("/engines/engine[0]/egt-actual") >= egt_start) {
interpolate(engines[0].getNode("egt-actual"), egt_min, egt_lightdn_time);
}
if (getprop("/engines/engine[0]/n2") >= 50.8) {
if (getprop("/engines/engine[0]/n2") >= 55.8) {
setprop("/systems/pneumatic/eng1-starter", 0);
setprop("/engines/engine[0]/state", 3);
eng_one_n2_checkt.stop();
@ -166,7 +166,7 @@ var eng_two_n2_check = func {
if (getprop("/engines/engine[1]/egt-actual") >= egt_start) {
interpolate(engines[1].getNode("egt-actual"), egt_min, egt_lightdn_time);
}
if (getprop("/engines/engine[1]/n2") >= 50.8) {
if (getprop("/engines/engine[1]/n2") >= 55.8) {
setprop("/systems/pneumatic/eng2-starter", 0);
setprop("/engines/engine[1]/state", 3);
eng_two_n2_checkt.stop();

File diff suppressed because it is too large Load diff

View file

@ -88,6 +88,15 @@ setlistener("/sim/sounde/knb1", func {
}, 0.05);
});
setlistener("/sim/sounde/switch1", func {
if (!getprop("/sim/sounde/switch1")) {
return;
}
settimer(func {
props.globals.getNode("/sim/sounde/switch1").setBoolValue(0);
}, 0.05);
});
setlistener("/controls/switches/seatbelt-sign", func {
props.globals.getNode("/sim/sounde/seatbelt-sign").setBoolValue(1);
settimer(func {
@ -154,7 +163,7 @@ setlistener("/sim/signals/fdm-initialized", func {
systems.hyd_init();
systems.press_init();
fmgc.APinit();
externalconnections.start();
librariesLoop.start();
fmgc.FMGCinit();
mcdu1.MCDU_init();
mcdu2.MCDU_init();
@ -165,6 +174,26 @@ setlistener("/sim/signals/fdm-initialized", func {
libraries.variousReset();
});
var librariesLoop = maketimer(0.1, func {
var groundpwr = getprop("/controls/switches/cart");
var groundair = getprop("/controls/pneumatic/switches/groundair");
var gs = getprop("/velocities/groundspeed-kt");
var parkbrake = getprop("controls/gear/brake-parking");
if ((groundair or groundpwr) and ((gs > 2) or !parkbrake)) {
setprop("/controls/switches/cart", 0);
setprop("/controls/pneumatic/switches/groundair", 0);
}
var V = getprop("/velocities/groundspeed-kt");
if (V > 15) {
setprop("/systems/shake/effect", 1);
} else {
setprop("/systems/shake/effect", 0);
}
});
var variousReset = func {
setprop("/modes/cpt-du-xfr", 0);
setprop("/modes/fo-du-xfr", 0);
@ -182,17 +211,6 @@ var aglgears = func {
aglgears();
var externalconnections = maketimer(0.1, func {
var groundpwr = getprop("/controls/switches/cart");
var groundair = getprop("/controls/pneumatic/switches/groundair");
var gs = getprop("/velocities/groundspeed-kt");
var parkbrake = getprop("controls/gear/brake-parking");
if ((groundair or groundpwr) and ((gs > 2) or !parkbrake)) {
setprop("/controls/switches/cart", 0);
setprop("/controls/pneumatic/switches/groundair", 0);
}
});
var mcpSPDKnbPull = func {
setprop("/it-autoflight/input/spd-managed", 0);
fmgc.ManagedSPD.stop();

37
Nasal/shake.nas Normal file
View file

@ -0,0 +1,37 @@
# A3XX Shaking
var shakeEffectA3XX = props.globals.initNode("/systems/shake/effect",0,"BOOL");
var shakeA3XX = props.globals.initNode("/systems/shake/shaking",0,"DOUBLE");
var rSpeed = 0;
var sf = 0;
var n_g_c = 0;
var n_g_l = 0;
var n_g_r = 0;
var theShakeEffect = func{
n_g_c = getprop("/gear/gear[0]/compression-norm") or 0;
n_g_l = getprop("/gear/gear[1]/compression-norm") or 0;
n_g_r = getprop("/gear/gear[2]/compression-norm") or 0;
rSpeed = getprop("/gear/gear[0]/rollspeed-ms") or 0;
sf = rSpeed / 94000;
if (shakeEffectA3XX.getBoolValue() and (n_g_c > 0 or n_g_l > 0 or n_g_r > 0)) {
interpolate("/systems/shake/shaking", sf, 0.03);
settimer(func {
interpolate("/systems/shake/shaking", -sf * 2, 0.03);
}, 0.06);
settimer(func {
interpolate("/systems/shake/shaking", sf, 0.03);
}, 0.12);
settimer(theShakeEffect, 0.09);
} else {
setprop("/systems/shake/shaking", 0);
setprop("/systems/shake/effect",0);
}
}
setlistener("/systems/shake/effect", func(state){
if(state.getBoolValue()){
theShakeEffect();
}
}, 1, 0);

View file

@ -394,7 +394,7 @@
<detenta>
<mode>once</mode>
<name>detendaa</name>
<path>detenta.wav</path>
<path>Cockpit/detenta.wav</path>
<condition>
<equals>
<property>/systems/thrust/state1</property>
@ -409,7 +409,7 @@
<detentb>
<mode>once</mode>
<name>detendba</name>
<path>detentb.wav</path>
<path>Cockpit/detentb.wav</path>
<condition>
<equals>
<property>/systems/thrust/state2</property>
@ -424,7 +424,7 @@
<detenta>
<mode>once</mode>
<name>detendab</name>
<path>detenta.wav</path>
<path>Cockpit/detenta.wav</path>
<condition>
<equals>
<property>/systems/thrust/state1</property>
@ -439,7 +439,7 @@
<detentb>
<mode>once</mode>
<name>detendbb</name>
<path>detentb.wav</path>
<path>Cockpit/detentb.wav</path>
<condition>
<equals>
<property>/systems/thrust/state2</property>
@ -454,7 +454,7 @@
<detenta>
<mode>once</mode>
<name>detendac</name>
<path>detenta.wav</path>
<path>Cockpit/detenta.wav</path>
<condition>
<equals>
<property>/systems/thrust/state1</property>
@ -469,7 +469,7 @@
<detentb>
<mode>once</mode>
<name>detendbc</name>
<path>detentb.wav</path>
<path>Cockpit/detentb.wav</path>
<condition>
<equals>
<property>/systems/thrust/state2</property>
@ -484,7 +484,7 @@
<detenta>
<mode>once</mode>
<name>detendad</name>
<path>detenta.wav</path>
<path>Cockpit/detenta.wav</path>
<condition>
<equals>
<property>/systems/thrust/state1</property>
@ -499,7 +499,7 @@
<detentb>
<mode>once</mode>
<name>detendbd</name>
<path>detentb.wav</path>
<path>Cockpit/detentb.wav</path>
<condition>
<equals>
<property>/systems/thrust/state2</property>
@ -514,7 +514,7 @@
<detenta>
<mode>once</mode>
<name>detendae</name>
<path>detenta.wav</path>
<path>Cockpit/detenta.wav</path>
<condition>
<equals>
<property>/systems/thrust/state1</property>
@ -529,7 +529,7 @@
<detentb>
<mode>once</mode>
<name>detendbe</name>
<path>detentb.wav</path>
<path>Cockpit/detentb.wav</path>
<condition>
<equals>
<property>/systems/thrust/state2</property>
@ -544,7 +544,7 @@
<detenta>
<mode>once</mode>
<name>detendaf</name>
<path>detenta.wav</path>
<path>Cockpit/detenta.wav</path>
<condition>
<equals>
<property>/systems/thrust/state1</property>
@ -559,7 +559,7 @@
<detentb>
<mode>once</mode>
<name>detendbf</name>
<path>detentb.wav</path>
<path>Cockpit/detentb.wav</path>
<condition>
<equals>
<property>/systems/thrust/state2</property>
@ -574,7 +574,7 @@
<detenta>
<mode>once</mode>
<name>detendag</name>
<path>detenta.wav</path>
<path>Cockpit/detenta.wav</path>
<condition>
<equals>
<property>/controls/engines/engine[0]/reverser</property>
@ -589,7 +589,7 @@
<detentb>
<mode>once</mode>
<name>detendbg</name>
<path>detentb.wav</path>
<path>Cockpit/detentb.wav</path>
<condition>
<equals>
<property>/controls/engines/engine[1]/reverser</property>
@ -604,7 +604,7 @@
<detenta>
<mode>once</mode>
<name>detendah</name>
<path>detenta.wav</path>
<path>Cockpit/detenta.wav</path>
<condition>
<equals>
<property>/controls/engines/engine[0]/reverser</property>
@ -619,7 +619,7 @@
<detentb>
<mode>once</mode>
<name>detendbh</name>
<path>detentb.wav</path>
<path>Cockpit/detentb.wav</path>
<condition>
<equals>
<property>/controls/engines/engine[1]/reverser</property>
@ -667,9 +667,9 @@
</ns>
<switch>
<name>Overhead Button</name>
<name>Button</name>
<mode>once</mode>
<path>Aircraft/A320Family/Sounds/oh-button.wav</path>
<path>Aircraft/A320Family/Sounds/Cockpit/button.wav</path>
<condition>
<property>/sim/sounde/btn1</property>
</condition>
@ -679,9 +679,9 @@
</switch>
<switch>
<name>Overhead Knob</name>
<name>Knob</name>
<mode>once</mode>
<path>Aircraft/A320Family/Sounds/oh-knob.wav</path>
<path>Aircraft/A320Family/Sounds/Cockpit/knob.wav</path>
<condition>
<property>/sim/sounde/knb1</property>
</condition>
@ -690,5 +690,17 @@
</volume>
</switch>
<switch>
<name>Switch</name>
<mode>once</mode>
<path>Aircraft/A320Family/Sounds/Cockpit/switch.wav</path>
<condition>
<property>/sim/sounde/switch1</property>
</condition>
<volume>
<factor>0.60</factor>
</volume>
</switch>
</fx>
</PropertyList>

BIN
Sounds/Cockpit/switch.wav Normal file

Binary file not shown.

View file

@ -55,7 +55,7 @@
<expression>
<table>
<property>/controls/engines/engine[0]/throttle-man</property>
<entry><ind>0.00</ind><dep> 23.4</dep></entry>
<entry><ind>0.00</ind><dep> 22.4</dep></entry>
<entry><ind>0.95</ind><dep>101.7</dep></entry>
</table>
</expression>
@ -72,7 +72,7 @@
<expression>
<table>
<property>/controls/engines/engine[1]/throttle-man</property>
<entry><ind>0.00</ind><dep> 23.4</dep></entry>
<entry><ind>0.00</ind><dep> 22.4</dep></entry>
<entry><ind>0.95</ind><dep>101.7</dep></entry>
</table>
</expression>
@ -415,7 +415,7 @@
<expression>
<table>
<property>/engines/flx-thr</property>
<entry><ind>0.00</ind><dep> 23.4</dep></entry>
<entry><ind>0.00</ind><dep> 22.4</dep></entry>
<entry><ind>1.00</ind><dep>105.8</dep></entry>
</table>
</expression>
@ -448,7 +448,7 @@
<property>/engines/engine[0]/n1</property>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>6</ind><dep>0</dep></entry>
<entry><ind>23.4</ind><dep>434</dep></entry>
<entry><ind>22.4</ind><dep>434</dep></entry>
<entry><ind>110</ind><dep>690</dep></entry>
</table>
</expression>
@ -481,7 +481,7 @@
<property>/engines/engine[1]/n1</property>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>6</ind><dep>0</dep></entry>
<entry><ind>23.4</ind><dep>434</dep></entry>
<entry><ind>22.4</ind><dep>434</dep></entry>
<entry><ind>110</ind><dep>690</dep></entry>
</table>
</expression>

View file

@ -91,7 +91,7 @@
<table>
<property>/engines/engine[0]/n1</property>
<entry><ind> 18.0</ind><dep>0.00</dep></entry>
<entry><ind> 23.4</ind><dep>0.03</dep></entry>
<entry><ind> 22.4</ind><dep>0.03</dep></entry>
<entry><ind> 35.0</ind><dep>0.20</dep></entry>
<entry><ind>105.8</ind><dep>1.00</dep></entry>
</table>
@ -162,7 +162,7 @@
<table>
<property>/engines/engine[1]/n1</property>
<entry><ind> 18.0</ind><dep>0.00</dep></entry>
<entry><ind> 23.4</ind><dep>0.03</dep></entry>
<entry><ind> 22.4</ind><dep>0.03</dep></entry>
<entry><ind> 35.0</ind><dep>0.20</dep></entry>
<entry><ind>105.8</ind><dep>1.00</dep></entry>
</table>
@ -714,7 +714,7 @@
<property>/engines/engine[0]/n1</property>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>6</ind><dep>0</dep></entry>
<entry><ind>23.4</ind><dep>434</dep></entry>
<entry><ind>22.4</ind><dep>434</dep></entry>
<entry><ind>110</ind><dep>620</dep></entry>
</table>
</expression>
@ -747,7 +747,7 @@
<property>/engines/engine[1]/n1</property>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>6</ind><dep>0</dep></entry>
<entry><ind>23.4</ind><dep>434</dep></entry>
<entry><ind>22.4</ind><dep>434</dep></entry>
<entry><ind>110</ind><dep>620</dep></entry>
</table>
</expression>

View file

@ -2,13 +2,13 @@
<PropertyList>
<filter>
<name>FMGC MNG SPD</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<filter>
<name>FMGC MNG SPD</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<product>
<table>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
@ -21,18 +21,18 @@
<entry><ind>120</ind><dep>1.1</dep></entry>
</table>
</product>
</expression>
</input>
</expression>
</input>
<output>/FMGC/internal/mng-alt-spd</output>
</filter>
</filter>
<filter>
<name>FMGC MNG MACH</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<filter>
<name>FMGC MNG MACH</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<product>
<table>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
@ -45,17 +45,17 @@
<entry><ind>120</ind><dep>1.03</dep></entry>
</table>
</product>
</expression>
</input>
</expression>
</input>
<output>/FMGC/internal/mng-alt-mach</output>
</filter>
</filter>
<filter>
<name>FMGC Target IAS PFD</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.1</update-interval-secs>
<input>
<filter>
<name>FMGC Target IAS PFD</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.1</update-interval-secs>
<input>
<condition>
<equals>
<property>/it-autoflight/input/kts-mach</property>
@ -63,15 +63,15 @@
</equals>
</condition>
<property>/it-autoflight/input/spd-kts</property>
</input>
<input>
</input>
<input>
<condition>
<equals>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
</condition>
<expression>
<expression>
<product>
<div>
<property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
@ -79,9 +79,9 @@
</div>
<property>/it-autoflight/input/spd-mach</property>
</product>
</expression>
</expression>
</input>
<output>/FMGC/internal/target-ias-pfd</output>
</filter>
</filter>
</PropertyList>

View file

@ -261,7 +261,7 @@
<value>0</value>
</equals>
<equals>
<property>/it-fbw/alpha-hld</property>
<property>/it-fbw/spd-hold</property>
<value>0</value>
</equals>
<or>
@ -298,6 +298,178 @@
</config>
</pid-controller>
<filter>
<name>IT-FBW: SPD PITCH TARGET CMD</name>
<type>noise-spike</type>
<enable>
<condition>
<and>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/it-fbw/spd-hold</property>
<value>1</value>
</equals>
<or>
<equals>
<property>/it-fbw/law</property>
<value>0</value>
</equals>
<equals>
<property>/it-fbw/law</property>
<value>1</value>
</equals>
</or>
</and>
</condition>
</enable>
<input>
<expression>
<table>
<property>/controls/flight/elevator-input</property>
<entry><ind> 0</ind><dep>129</dep></entry>
<entry><ind>-1</ind><dep>106</dep></entry>
</table>
</expression>
</input>
<output>/it-fbw/spd-pitch-target</output>
<max-rate-of-change>10</max-rate-of-change>
</filter>
<pid-controller>
<name>IT-FBW: SPD PITCH TARGET</name>
<debug>false</debug>
<enable>
<condition>
<and>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/it-fbw/spd-hold</property>
<value>1</value>
</equals>
<or>
<equals>
<property>/it-fbw/law</property>
<value>0</value>
</equals>
<equals>
<property>/it-fbw/law</property>
<value>1</value>
</equals>
</or>
</and>
</condition>
</enable>
<input>
<property>/it-autoflight/internal/lookahead-10-sec-airspeed-kt</property>
</input>
<reference>
<property>/it-fbw/spd-pitch-target</property>
</reference>
<output>
<property>/it-fbw/spd-pitch-deg</property>
</output>
<config>
<Kp>-0.50</Kp>
<beta>1.0</beta>
<alpha>0.1</alpha>
<gamma>0.0</gamma>
<Ti>5.0</Ti>
<Td>0.0001</Td>
<u_min>-10</u_min>
<u_max>20</u_max>
</config>
</pid-controller>
<pid-controller>
<name>IT-FBW: SPD PITCH</name>
<debug>false</debug>
<enable>
<condition>
<and>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/it-fbw/spd-hold</property>
<value>1</value>
</equals>
<or>
<equals>
<property>/it-fbw/law</property>
<value>0</value>
</equals>
<equals>
<property>/it-fbw/law</property>
<value>1</value>
</equals>
</or>
</and>
</condition>
</enable>
<input>
<property>/orientation/pitch-deg</property>
</input>
<reference>
<property>/it-fbw/spd-pitch-deg</property>
</reference>
<output>
<property>/controls/flight/elevator-fbw-cmd</property>
</output>
<config>
<Kp>-0.08</Kp>
<beta>1</beta>
<alpha>0.1</alpha>
<gamma>0</gamma>
<Ti>5</Ti>
<Td>0.001</Td>
<u_min>-1</u_min>
<u_max>1</u_max>
</config>
</pid-controller>
<filter>
<name>IT-FBW: PITCH OPTION</name>
<debug>false</debug>

View file

@ -8,8 +8,7 @@
<property value="-33">/it-fbw/roll-lim-min</property>
<property value="30">/it-fbw/pitch-lim-max</property>
<property value="-15">/it-fbw/pitch-lim-min</property>
<property value="14">/it-fbw/alpha-max</property>
<property value="0">/it-fbw/alpha-min</property>
<property value="0">/it-fbw/spd-hold</property>
<channel name="FBW Aileron">
<fcs_function name="/it-fbw/roll-deg">
@ -81,6 +80,10 @@
<property>/gear/gear[0]/wow</property>
<value>0</value>
</eq>
<eq>
<property>/it-fbw/spd-hold</property>
<value>0</value>
</eq>
<or>
<eq>
<property>/it-fbw/law</property>

View file

@ -11,14 +11,14 @@
<expression>
<table>
<property>/FMGC/internal/flex-cmd</property>
<entry><ind> 0</ind><dep>0.0</dep></entry>
<entry><ind> 0</ind><dep>0.00</dep></entry>
<entry><ind>70</ind><dep>0.12</dep></entry>
</table>
</expression>
</input>
<output>/engines/flex-derate</output>
</filter>
<filter>
<name>FF 1</name>
<type>gain</type>
@ -27,7 +27,7 @@
<input>
<expression>
<table>
<property>/engines/engine[0]/fuel-flow_pph</property>
<property>/engines/engine[0]/fuel-flow_pph</property>
<entry><ind> 0</ind><dep> 0</dep></entry>
<entry><ind>2000</ind><dep> 2387</dep></entry>
<entry><ind>9000</ind><dep>13847</dep></entry>
@ -36,7 +36,7 @@
</input>
<output>/engines/engine[0]/fuel-flow_actual</output>
</filter>
<filter>
<name>FF 2</name>
<type>gain</type>
@ -54,7 +54,7 @@
</input>
<output>/engines/engine[1]/fuel-flow_actual</output>
</filter>
<filter>
<name>Altitude PFD</name>
<type>gain</type>
@ -72,7 +72,7 @@
</input>
<output>/instrumentation/altimeter/indicated-altitude-ft-pfd</output>
</filter>
<filter>
<name>V/S PFD</name>
<type>noise-spike</type>
@ -90,7 +90,7 @@
<output>/it-autoflight/internal/vert-speed-fpm-pfd</output>
<max-rate-of-change>50</max-rate-of-change>
</filter>
<filter>
<name>V/S 2 PFD</name>
<type>noise-spike</type>
@ -100,20 +100,19 @@
</input>
<output>/it-autoflight/internal/vert-speed-fpm-filtered</output>
<max-rate-of-change>5000</max-rate-of-change>
</filter>
</filter>
<filter>
<name>Throttle L</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<condition>
<equals>
<property>/controls/engines/engine[0]/reverser</property>
<value>0</value>
</equals>
</condition>
<input>
<condition>
<equals>
<property>/controls/engines/engine[0]/reverser</property>
<value>0</value>
</equals>
</condition>
<property>/controls/engines/engine[0]/throttle</property>
</input>
<input>
@ -127,12 +126,11 @@
</input>
<output>/controls/engines/engine[0]/throttle-lever</output>
</filter>
<filter>
<name>Throttle R</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<condition>
<equals>
@ -148,17 +146,16 @@
<property>/controls/engines/engine[1]/reverser</property>
<value>1</value>
</equals>
</condition>
</condition>
<value>0</value>
</input>
</input>
<output>/controls/engines/engine[1]/throttle-lever</output>
</filter>
<filter>
<name>Throttle L</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<condition>
<equals>
@ -166,7 +163,7 @@
<value>0</value>
</equals>
</condition>
<property>/controls/engines/engine[0]/throttle</property>
<property>/controls/engines/engine[0]/throttle</property>
</input>
<input>
<condition>
@ -179,12 +176,11 @@
</input>
<output>/controls/engines/engine[0]/throttle-pos</output>
</filter>
<filter>
<name>Throttle R</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<condition>
<equals>
@ -205,7 +201,7 @@
</input>
<output>/controls/engines/engine[1]/throttle-pos</output>
</filter>
<filter>
<name>Target Pressurize Altitude</name>
<type>gain</type>
@ -361,5 +357,4 @@
</input>
<output>/systems/pressurization/targetvs</output>
</filter>
</PropertyList>