Update MCP, add button sounds, refine filesystem and scripts

This commit is contained in:
Joshua Davidson 2017-05-29 12:30:05 -04:00
parent cee947e8e3
commit bced91a7e4
28 changed files with 401 additions and 779 deletions

View file

@ -123,15 +123,9 @@
</MCDUC> </MCDUC>
<nasal> <nasal>
<A320> <specific>
<file>Aircraft/A320Family/Nasal/various.nas</file>
<file>Aircraft/A320Family/Nasal/a319livery-cfm.nas</file> <file>Aircraft/A320Family/Nasal/a319livery-cfm.nas</file>
<file>Aircraft/A320Family/Models/Instruments/ND/ND.nas</file> </specific>
<file>Aircraft/A320Family/Nasal/gpws.nas</file>
<file>Aircraft/A320Family/Nasal/efis.nas</file>
<file>Aircraft/A320Family/Nasal/PFD_FMA.nas</file>
<file>Aircraft/A320Family/Nasal/fctl.nas</file>
</A320>
</nasal> </nasal>
</PropertyList> </PropertyList>

View file

@ -123,15 +123,9 @@
</MCDUC> </MCDUC>
<nasal> <nasal>
<A320> <specific>
<file>Aircraft/A320Family/Nasal/various.nas</file>
<file>Aircraft/A320Family/Nasal/a319livery-iae.nas</file> <file>Aircraft/A320Family/Nasal/a319livery-iae.nas</file>
<file>Aircraft/A320Family/Models/Instruments/ND/ND.nas</file> </specific>
<file>Aircraft/A320Family/Nasal/gpws.nas</file>
<file>Aircraft/A320Family/Nasal/efis.nas</file>
<file>Aircraft/A320Family/Nasal/PFD_FMA.nas</file>
<file>Aircraft/A320Family/Nasal/fctl.nas</file>
</A320>
</nasal> </nasal>
</PropertyList> </PropertyList>

View file

@ -116,15 +116,9 @@
</MCDUC> </MCDUC>
<nasal> <nasal>
<A320> <specific>
<file>Aircraft/A320Family/Nasal/various.nas</file>
<file>Aircraft/A320Family/Nasal/a320livery-cfm.nas</file> <file>Aircraft/A320Family/Nasal/a320livery-cfm.nas</file>
<file>Aircraft/A320Family/Models/Instruments/ND/ND.nas</file> </specific>
<file>Aircraft/A320Family/Nasal/gpws.nas</file>
<file>Aircraft/A320Family/Nasal/efis.nas</file>
<file>Aircraft/A320Family/Nasal/PFD_FMA.nas</file>
<file>Aircraft/A320Family/Nasal/fctl.nas</file>
</A320>
</nasal> </nasal>
</PropertyList> </PropertyList>

View file

@ -116,15 +116,9 @@
</MCDUC> </MCDUC>
<nasal> <nasal>
<A320> <specific>
<file>Aircraft/A320Family/Nasal/various.nas</file>
<file>Aircraft/A320Family/Nasal/a320livery-iae.nas</file> <file>Aircraft/A320Family/Nasal/a320livery-iae.nas</file>
<file>Aircraft/A320Family/Models/Instruments/ND/ND.nas</file> </specific>
<file>Aircraft/A320Family/Nasal/gpws.nas</file>
<file>Aircraft/A320Family/Nasal/efis.nas</file>
<file>Aircraft/A320Family/Nasal/PFD_FMA.nas</file>
<file>Aircraft/A320Family/Nasal/fctl.nas</file>
</A320>
</nasal> </nasal>
</PropertyList> </PropertyList>

View file

@ -97,6 +97,8 @@
<sounde> <sounde>
<seatbelt-sign type="bool">0</seatbelt-sign> <seatbelt-sign type="bool">0</seatbelt-sign>
<no-smoking-sign type="bool">0</no-smoking-sign> <no-smoking-sign type="bool">0</no-smoking-sign>
<oh-btn type="bool">0</oh-btn>
<oh-knb type="bool">0</oh-knb>
</sounde> </sounde>
<instrumentation> <instrumentation>
@ -703,6 +705,14 @@
</aircraft> </aircraft>
<nasal> <nasal>
<libraries>
<file>Aircraft/A320Family/Nasal/libraries.nas</file>
<file>Aircraft/A320Family/Nasal/PFD_FMA.nas</file>
<file>Aircraft/A320Family/Models/Instruments/ND/ND.nas</file>
<file>Aircraft/A320Family/Nasal/fctl.nas</file>
<file>Aircraft/A320Family/Nasal/gpws.nas</file>
<file>Aircraft/A320Family/Nasal/efis.nas</file>
</libraries>
<acconfig> <acconfig>
<file>Aircraft/A320Family/AircraftConfig/acconfig.nas</file> <file>Aircraft/A320Family/AircraftConfig/acconfig.nas</file>
</acconfig> </acconfig>
@ -726,10 +736,10 @@
<file>Aircraft/A320Family/Nasal/FMGC.nas</file> <file>Aircraft/A320Family/Nasal/FMGC.nas</file>
</fmgc> </fmgc>
<mcdu1> <mcdu1>
<file>Aircraft/A320Family/Nasal/MCDU1.nas</file> <file>Aircraft/A320Family/Nasal/MCDU/MCDU1.nas</file>
</mcdu1> </mcdu1>
<mcdu2> <mcdu2>
<file>Aircraft/A320Family/Nasal/MCDU2.nas</file> <file>Aircraft/A320Family/Nasal/MCDU/MCDU2.nas</file>
</mcdu2> </mcdu2>
</nasal> </nasal>

View file

@ -111,15 +111,9 @@
</MCDUC> </MCDUC>
<nasal> <nasal>
<A320> <specific>
<file>Aircraft/A320Family/Nasal/various.nas</file>
<file>Aircraft/A320Family/Nasal/a321livery-cfm.nas</file> <file>Aircraft/A320Family/Nasal/a321livery-cfm.nas</file>
<file>Aircraft/A320Family/Models/Instruments/ND/ND.nas</file> </specific>
<file>Aircraft/A320Family/Nasal/gpws.nas</file>
<file>Aircraft/A320Family/Nasal/efis.nas</file>
<file>Aircraft/A320Family/Nasal/PFD_FMA.nas</file>
<file>Aircraft/A320Family/Nasal/fctl.nas</file>
</A320>
</nasal> </nasal>
</PropertyList> </PropertyList>

View file

@ -116,15 +116,9 @@
</MCDUC> </MCDUC>
<nasal> <nasal>
<A320> <specific>
<file>Aircraft/A320Family/Nasal/various.nas</file>
<file>Aircraft/A320Family/Nasal/a321livery-iae.nas</file> <file>Aircraft/A320Family/Nasal/a321livery-iae.nas</file>
<file>Aircraft/A320Family/Models/Instruments/ND/ND.nas</file> </specific>
<file>Aircraft/A320Family/Nasal/gpws.nas</file>
<file>Aircraft/A320Family/Nasal/efis.nas</file>
<file>Aircraft/A320Family/Nasal/PFD_FMA.nas</file>
<file>Aircraft/A320Family/Nasal/fctl.nas</file>
</A320>
</nasal> </nasal>
</PropertyList> </PropertyList>

View file

@ -122,15 +122,9 @@
</MCDUC> </MCDUC>
<nasal> <nasal>
<A320> <specific>
<file>Aircraft/A320Family/Nasal/various.nas</file>
<file>Aircraft/A320Family/Nasal/acjlivery.nas</file> <file>Aircraft/A320Family/Nasal/acjlivery.nas</file>
<file>Aircraft/A320Family/Models/Instruments/ND/ND.nas</file> </specific>
<file>Aircraft/A320Family/Nasal/gpws.nas</file>
<file>Aircraft/A320Family/Nasal/efis.nas</file>
<file>Aircraft/A320Family/Nasal/PFD_FMA.nas</file>
<file>Aircraft/A320Family/Nasal/fctl.nas</file>
</A320>
</nasal> </nasal>
</PropertyList> </PropertyList>

View file

@ -7,7 +7,7 @@
<name>aircraft-config-init</name> <name>aircraft-config-init</name>
<layout>vbox</layout> <layout>vbox</layout>
<pref-width>200</pref-width> <pref-width>260</pref-width>
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
@ -23,9 +23,16 @@
<layout>vbox</layout> <layout>vbox</layout>
<text> <text>
<halign>center</halign> <halign>left</halign>
<label>Initializing...</label> <label>Initializing...</label>
</text> </text>
<text>
<border>1</border>
<label>9</label>
<valign>center</valign>
<property>/systems/acconfig/spin</property>
<live>1</live>
</text>
</group> </group>

View file

@ -1,7 +1,26 @@
# Aircraft Config Center # Aircraft Config Center
# Joshua Davidson (it0uchpods) # Joshua Davidson (it0uchpods)
var spinning = maketimer(0.1, func {
var spinning = getprop("/systems/acconfig/spinning");
if (spinning == 0) {
setprop("/systems/acconfig/spin", "\\");
setprop("/systems/acconfig/spinning", 1);
} else if (spinning == 1) {
setprop("/systems/acconfig/spin", "|");
setprop("/systems/acconfig/spinning", 2);
} else if (spinning == 2) {
setprop("/systems/acconfig/spin", "/");
setprop("/systems/acconfig/spinning", 3);
} else if (spinning == 3) {
setprop("/systems/acconfig/spin", "-");
setprop("/systems/acconfig/spinning", 0);
}
});
setprop("/systems/acconfig/autoconfig-running", 0); setprop("/systems/acconfig/autoconfig-running", 0);
setprop("/systems/acconfig/spinning", 0);
setprop("/systems/acconfig/spin", "-");
var main_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/main/dialog", "Aircraft/A320Family/AircraftConfig/main.xml"); var main_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/main/dialog", "Aircraft/A320Family/AircraftConfig/main.xml");
var welcome_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/welcome/dialog", "Aircraft/A320Family/AircraftConfig/welcome.xml"); var welcome_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/welcome/dialog", "Aircraft/A320Family/AircraftConfig/welcome.xml");
var ps_load_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/psload/dialog", "Aircraft/A320Family/AircraftConfig/psload.xml"); var ps_load_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/psload/dialog", "Aircraft/A320Family/AircraftConfig/psload.xml");
@ -9,11 +28,13 @@ var ps_loaded_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/psloaded/dialog", "
var init_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/init/dialog", "Aircraft/A320Family/AircraftConfig/ac_init.xml"); var init_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/init/dialog", "Aircraft/A320Family/AircraftConfig/ac_init.xml");
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");
spinning.start();
init_dlg.open(); init_dlg.open();
setlistener("/sim/signals/fdm-initialized", func { setlistener("/sim/signals/fdm-initialized", func {
init_dlg.close(); init_dlg.close();
welcome_dlg.open(); welcome_dlg.open();
spinning.stop();
}); });
var saveSettings = func { var saveSettings = func {
@ -40,6 +61,7 @@ var systemsReset = func {
# Cold and Dark # Cold and Dark
var colddark = func { var colddark = func {
spinning.start();
ps_load_dlg.open(); ps_load_dlg.open();
setprop("/systems/acconfig/autoconfig-running", 1); setprop("/systems/acconfig/autoconfig-running", 1);
# Initial shutdown, and reinitialization. # Initial shutdown, and reinitialization.
@ -51,7 +73,7 @@ var colddark = func {
setprop("/controls/flight/flap-lever", 0); setprop("/controls/flight/flap-lever", 0);
setprop("/controls/flight/flap-pos", 0); setprop("/controls/flight/flap-pos", 0);
setprop("/controls/flight/flap-txt", " "); setprop("/controls/flight/flap-txt", " ");
A320.flaptimer.stop(); libraries.flaptimer.stop();
setprop("/controls/flight/speedbrake-arm", 0); setprop("/controls/flight/speedbrake-arm", 0);
setprop("/controls/gear/gear-down", 1); setprop("/controls/gear/gear-down", 1);
systemsReset(); systemsReset();
@ -79,10 +101,12 @@ var colddark_b = func {
setprop("/systems/acconfig/autoconfig-running", 0); setprop("/systems/acconfig/autoconfig-running", 0);
ps_load_dlg.close(); ps_load_dlg.close();
ps_loaded_dlg.open(); ps_loaded_dlg.open();
spinning.stop();
} }
# Ready to Start Eng # Ready to Start Eng
var beforestart = func { var beforestart = func {
spinning.start();
ps_load_dlg.open(); ps_load_dlg.open();
setprop("/systems/acconfig/autoconfig-running", 1); setprop("/systems/acconfig/autoconfig-running", 1);
# First, we set everything to cold and dark. # First, we set everything to cold and dark.
@ -94,7 +118,7 @@ var beforestart = func {
setprop("/controls/flight/flap-lever", 0); setprop("/controls/flight/flap-lever", 0);
setprop("/controls/flight/flap-pos", 0); setprop("/controls/flight/flap-pos", 0);
setprop("/controls/flight/flap-txt", " "); setprop("/controls/flight/flap-txt", " ");
A320.flaptimer.stop(); libraries.flaptimer.stop();
setprop("/controls/flight/speedbrake-arm", 0); setprop("/controls/flight/speedbrake-arm", 0);
setprop("/controls/gear/gear-down", 1); setprop("/controls/gear/gear-down", 1);
systemsReset(); systemsReset();
@ -147,10 +171,12 @@ var beforestart_b = func {
setprop("/systems/acconfig/autoconfig-running", 0); setprop("/systems/acconfig/autoconfig-running", 0);
ps_load_dlg.close(); ps_load_dlg.close();
ps_loaded_dlg.open(); ps_loaded_dlg.open();
spinning.stop();
} }
# Ready to Taxi # Ready to Taxi
var taxi = func { var taxi = func {
spinning.start();
ps_load_dlg.open(); ps_load_dlg.open();
setprop("/systems/acconfig/autoconfig-running", 1); setprop("/systems/acconfig/autoconfig-running", 1);
# First, we set everything to cold and dark. # First, we set everything to cold and dark.
@ -162,7 +188,7 @@ var taxi = func {
setprop("/controls/flight/flap-lever", 0); setprop("/controls/flight/flap-lever", 0);
setprop("/controls/flight/flap-pos", 0); setprop("/controls/flight/flap-pos", 0);
setprop("/controls/flight/flap-txt", " "); setprop("/controls/flight/flap-txt", " ");
A320.flaptimer.stop(); libraries.flaptimer.stop();
setprop("/controls/flight/speedbrake-arm", 0); setprop("/controls/flight/speedbrake-arm", 0);
setprop("/controls/gear/gear-down", 1); setprop("/controls/gear/gear-down", 1);
systemsReset(); systemsReset();
@ -243,6 +269,7 @@ var taxi_e = func {
setprop("/systems/acconfig/autoconfig-running", 0); setprop("/systems/acconfig/autoconfig-running", 0);
ps_load_dlg.close(); ps_load_dlg.close();
ps_loaded_dlg.open(); ps_loaded_dlg.open();
spinning.stop();
} }
# Ready to Takeoff # Ready to Takeoff
@ -258,7 +285,7 @@ var takeoff = func {
setprop("/controls/flight/flap-lever", 1); setprop("/controls/flight/flap-lever", 1);
setprop("/controls/flight/flap-pos", 2); setprop("/controls/flight/flap-pos", 2);
setprop("/controls/flight/flap-txt", "1+F"); setprop("/controls/flight/flap-txt", "1+F");
A320.flaptimer.start(); libraries.flaptimer.start();
setprop("/controls/flight/elevator-trim", -0.15); setprop("/controls/flight/elevator-trim", -0.15);
} }
}); });

View file

@ -29,6 +29,13 @@
<halign>left</halign> <halign>left</halign>
<label>Please be paitent, and don't touch anything during this process!</label> <label>Please be paitent, and don't touch anything during this process!</label>
</text> </text>
<text>
<border>1</border>
<label>9</label>
<valign>center</valign>
<property>/systems/acconfig/spin</property>
<live>1</live>
</text>
</group> </group>

View file

@ -37,7 +37,7 @@
</text> </text>
<text> <text>
<halign>center</halign> <halign>center</halign>
<label>Version 0.3.X, it0uchpods Shared Libraries V1.3.1</label> <label>Version 0.4.X, it0uchpods Shared Libraries V1.4.0</label>
</text> </text>
<text> <text>
<halign>center</halign> <halign>center</halign>

View file

@ -238,7 +238,7 @@
<!-- Fuselage --> <!-- Fuselage -->
<property-base>sim/model/livery</property-base> <property-base>sim/model/livery</property-base>
<texture-prop>texture</texture-prop> <texture-prop>texture</texture-prop>
<texture>A320.png</texture> <texture>a320.png</texture>
</animation> </animation>
<!-- Nasal code --> <!-- Nasal code -->

View file

@ -238,7 +238,7 @@
<!-- Fuselage --> <!-- Fuselage -->
<property-base>sim/model/livery</property-base> <property-base>sim/model/livery</property-base>
<texture-prop>texture</texture-prop> <texture-prop>texture</texture-prop>
<texture>A320.png</texture> <texture>a320.png</texture>
</animation> </animation>
<!-- Nasal code --> <!-- Nasal code -->

View file

@ -18,7 +18,7 @@
<!-- Separate Flightdeck to fit the modified nose --> <!-- Separate Flightdeck to fit the modified nose -->
<model> <model>
<name>Flightdeck</name> <name>Flightdeck</name>
<path>Aircraft/A320Family/Models/FlightDeck/a320.flightdeck.xml</path> <path>Aircraft/A320Family/Models/FlightDeck/libraries.flightdeck.xml</path>
<offsets> <offsets>
<x-m>6.4</x-m> <x-m>6.4</x-m>
<z-m>0.2399</z-m> <z-m>0.2399</z-m>
@ -32,7 +32,7 @@
<model> <model>
<name>Nose Gear</name> <name>Nose Gear</name>
<path>Aircraft/A320Family/Models/LandingGears/a320.nlg.xml</path> <path>Aircraft/A320Family/Models/LandingGears/libraries.nlg.xml</path>
<offsets> <offsets>
<x-m>9.43</x-m> <x-m>9.43</x-m>
<z-m>-1.8306008</z-m> <z-m>-1.8306008</z-m>
@ -41,7 +41,7 @@
<model> <model>
<name>Main Gears.Left</name> <name>Main Gears.Left</name>
<path>Aircraft/A320Family/Models/LandingGears/a320.mlg.left.xml</path> <path>Aircraft/A320Family/Models/LandingGears/libraries.mlg.left.xml</path>
<offsets> <offsets>
<x-m>20.3180764</x-m> <x-m>20.3180764</x-m>
<y-m>-3.795</y-m> <y-m>-3.795</y-m>
@ -51,7 +51,7 @@
<model> <model>
<name>Main Gears.Right</name> <name>Main Gears.Right</name>
<path>Aircraft/A320Family/Models/LandingGears/a320.mlg.right.xml</path> <path>Aircraft/A320Family/Models/LandingGears/libraries.mlg.right.xml</path>
<offsets> <offsets>
<x-m>20.3180764</x-m> <x-m>20.3180764</x-m>
<y-m>3.795</y-m> <y-m>3.795</y-m>
@ -60,7 +60,7 @@
</model> </model>
<model> <model>
<path>Aircraft/A320Family/Models/Wings/a320.wings.iae.xml</path> <path>Aircraft/A320Family/Models/Wings/libraries.wings.iae.xml</path>
<offsets> <offsets>
<x-m>15.280</x-m> <x-m>15.280</x-m>
<z-m>-1.06019</z-m> <z-m>-1.06019</z-m>
@ -69,7 +69,7 @@
<model> <model>
<name>A320 Winglets</name> <name>A320 Winglets</name>
<path>Aircraft/A320Family/Models/Wings/a320.winglets.xml</path> <path>Aircraft/A320Family/Models/Wings/libraries.winglets.xml</path>
<condition> <condition>
<equals> <equals>
<property>/sim/multiplay/generic/int[12]</property> <property>/sim/multiplay/generic/int[12]</property>
@ -84,7 +84,7 @@
<model> <model>
<name>A320 Sharklets</name> <name>A320 Sharklets</name>
<path>Aircraft/A320Family/Models/Wings/a320.sharklets.xml</path> <path>Aircraft/A320Family/Models/Wings/libraries.sharklets.xml</path>
<condition> <condition>
<equals> <equals>
<property>/sim/multiplay/generic/int[12]</property> <property>/sim/multiplay/generic/int[12]</property>

View file

@ -449,6 +449,20 @@
<animation> <animation>
<type>pick</type> <type>pick</type>
<object-name>spd-sel</object-name> <object-name>spd-sel</object-name>
<action>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>nasal</command>
<script>
libraries.mcpSPDKnbPull();
</script>
</binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action>
<action> <action>
<button>3</button> <button>3</button>
<repeatable>true</repeatable> <repeatable>true</repeatable>
@ -475,8 +489,8 @@
<command>property-adjust</command> <command>property-adjust</command>
<property>/it-autoflight/input/spd-mach</property> <property>/it-autoflight/input/spd-mach</property>
<step>0.01</step> <step>0.01</step>
<min>0.40</min> <min>0.50</min>
<max>0.99</max> <max>0.95</max>
</binding> </binding>
</action> </action>
<action> <action>
@ -505,8 +519,8 @@
<command>property-adjust</command> <command>property-adjust</command>
<property>/it-autoflight/input/spd-mach</property> <property>/it-autoflight/input/spd-mach</property>
<step>-0.01</step> <step>-0.01</step>
<min>0.40</min> <min>0.50</min>
<max>0.99</max> <max>0.95</max>
</binding> </binding>
</action> </action>
</animation> </animation>
@ -522,6 +536,10 @@
<property>/it-autoflight/input/lat</property> <property>/it-autoflight/input/lat</property>
<value>1</value> <value>1</value>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
<action> <action>
<button>1</button> <button>1</button>
@ -531,6 +549,10 @@
<property>/it-autoflight/input/lat</property> <property>/it-autoflight/input/lat</property>
<value>3</value> <value>3</value>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
<action> <action>
<button>3</button> <button>3</button>
@ -582,6 +604,10 @@
<property>/it-autoflight/input/vert</property> <property>/it-autoflight/input/vert</property>
<value>4</value> <value>4</value>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
<action> <action>
<button>3</button> <button>3</button>
@ -661,6 +687,10 @@
<property>/it-autoflight/input/vs</property> <property>/it-autoflight/input/vs</property>
<value>0</value> <value>0</value>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
<action> <action>
<button>1</button> <button>1</button>
@ -675,6 +705,10 @@
} }
</script> </script>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
<action> <action>
<button>3</button> <button>3</button>
@ -732,6 +766,10 @@
<property>/it-autoflight/input/lat</property> <property>/it-autoflight/input/lat</property>
<value>2</value> <value>2</value>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -746,20 +784,25 @@
<property>/it-autoflight/input/vert</property> <property>/it-autoflight/input/vert</property>
<value>2</value> <value>2</value>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
<!--animation> <animation>
<type>pick</type> <type>pick</type>
<object-name>exped</object-name> <object-name>exped</object-name>
<action> <action>
<button>0</button> <button>0</button>
<repeatable type="bool">false</repeatable> <repeatable type="bool">false</repeatable>
<binding> <binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding> </binding>
</action> </action>
</animation--> </animation>
<animation> <animation>
<type>pick</type> <type>pick</type>
@ -773,6 +816,10 @@
<value>0</value> <value>0</value>
<value>1</value> <value>1</value>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -795,6 +842,10 @@
} }
</script> </script>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -817,6 +868,10 @@
} }
</script> </script>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -854,6 +909,10 @@
<value>0</value> <value>0</value>
<value>1</value> <value>1</value>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/knb1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -867,6 +926,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/it-autoflight/input/ap1</property> <property>/it-autoflight/input/ap1</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -880,6 +943,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/it-autoflight/input/ap2</property> <property>/it-autoflight/input/ap2</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -893,6 +960,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/it-autoflight/input/athr</property> <property>/it-autoflight/input/athr</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -907,6 +978,10 @@
<property>/it-autoflight/input/athr</property> <property>/it-autoflight/input/athr</property>
<value>0</value> <value>0</value>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
<animation> <animation>
@ -920,6 +995,10 @@
<property>/it-autoflight/input/athr</property>\ <property>/it-autoflight/input/athr</property>\
<value>0</value> <value>0</value>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -1250,7 +1329,7 @@
<alignment>center-center</alignment> <alignment>center-center</alignment>
<axis-alignment>xy-plane</axis-alignment> <axis-alignment>xy-plane</axis-alignment>
<type type="string">number-value</type> <type type="string">number-value</type>
<format type="string">%1.2f</format> <format type="string">%1.3f</format>
<property>/it-autoflight/input/spd-mach</property> <property>/it-autoflight/input/spd-mach</property>
<truncate type="bool">false</truncate> <truncate type="bool">false</truncate>
<font type="string">led.txf</font> <font type="string">led.txf</font>
@ -3628,7 +3707,7 @@
<repeatable type="bool">false</repeatable> <repeatable type="bool">false</repeatable>
<binding> <binding>
<command>nasal</command> <command>nasal</command>
<script>A320.mode_inc();</script> <script>libraries.mode_inc();</script>
</binding> </binding>
</action> </action>
<action> <action>
@ -3637,7 +3716,7 @@
<repeatable type="bool">false</repeatable> <repeatable type="bool">false</repeatable>
<binding> <binding>
<command>nasal</command> <command>nasal</command>
<script>A320.mode_dec();</script> <script>libraries.mode_dec();</script>
</binding> </binding>
</action> </action>
</animation> </animation>
@ -3651,7 +3730,7 @@
<repeatable type="bool">false</repeatable> <repeatable type="bool">false</repeatable>
<binding> <binding>
<command>nasal</command> <command>nasal</command>
<script>A320.mode_inc();</script> <script>libraries.mode_inc();</script>
</binding> </binding>
</action> </action>
<action> <action>
@ -3660,7 +3739,7 @@
<repeatable type="bool">false</repeatable> <repeatable type="bool">false</repeatable>
<binding> <binding>
<command>nasal</command> <command>nasal</command>
<script>A320.mode_dec();</script> <script>libraries.mode_dec();</script>
</binding> </binding>
</action> </action>
</animation> </animation>
@ -3674,7 +3753,7 @@
<repeatable type="bool">false</repeatable> <repeatable type="bool">false</repeatable>
<binding> <binding>
<command>nasal</command> <command>nasal</command>
<script>A320.ctl_func("range",1);</script> <script>libraries.ctl_func("range",1);</script>
</binding> </binding>
</action> </action>
<action> <action>
@ -3683,7 +3762,7 @@
<repeatable type="bool">false</repeatable> <repeatable type="bool">false</repeatable>
<binding> <binding>
<command>nasal</command> <command>nasal</command>
<script>A320.ctl_func("range",-1);</script> <script>libraries.ctl_func("range",-1);</script>
</binding> </binding>
</action> </action>
</animation> </animation>
@ -3697,7 +3776,7 @@
<repeatable type="bool">false</repeatable> <repeatable type="bool">false</repeatable>
<binding> <binding>
<command>nasal</command> <command>nasal</command>
<script>A320.ctl_func("range",1);</script> <script>libraries.ctl_func("range",1);</script>
</binding> </binding>
</action> </action>
<action> <action>
@ -3706,7 +3785,7 @@
<repeatable type="bool">false</repeatable> <repeatable type="bool">false</repeatable>
<binding> <binding>
<command>nasal</command> <command>nasal</command>
<script>A320.ctl_func("range",-1);</script> <script>libraries.ctl_func("range",-1);</script>
</binding> </binding>
</action> </action>
</animation> </animation>

View file

@ -26,7 +26,7 @@ MD-11 Navigation display
<repeatable>false</repeatable> <repeatable>false</repeatable>
<binding> <binding>
<command>nasal</command> <command>nasal</command>
<script>A320.showNd();</script> <script>libraries.showNd();</script>
</binding> </binding>
</action> </action>
</animation> </animation>

View file

@ -26,7 +26,7 @@ MD-11 Navigation display
<repeatable>false</repeatable> <repeatable>false</repeatable>
<binding> <binding>
<command>nasal</command> <command>nasal</command>
<script>A320.showNd();</script> <script>libraries.showNd();</script>
</binding> </binding>
</action> </action>
</animation> </animation>

View file

@ -137,6 +137,10 @@
<value>3</value> <value>3</value>
<max>3</max> <max>3</max>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/knb1", 1);</script>
</binding>
</action> </action>
<action> <action>
<button>1</button> <button>1</button>
@ -150,6 +154,10 @@
<value>1</value> <value>1</value>
<min>1</min> <min>1</min>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/knb1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -222,6 +230,10 @@
<value>3</value> <value>3</value>
<max>3</max> <max>3</max>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/knb1", 1);</script>
</binding>
</action> </action>
<action> <action>
<button>1</button> <button>1</button>
@ -235,6 +247,10 @@
<value>1</value> <value>1</value>
<min>1</min> <min>1</min>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/knb1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -307,6 +323,10 @@
<value>3</value> <value>3</value>
<max>3</max> <max>3</max>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/knb1", 1);</script>
</binding>
</action> </action>
<action> <action>
<button>1</button> <button>1</button>
@ -320,6 +340,10 @@
<value>1</value> <value>1</value>
<min>1</min> <min>1</min>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/knb1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -395,6 +419,10 @@
<value>6</value> <value>6</value>
<max>6</max> <max>6</max>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/knb1", 1);</script>
</binding>
</action> </action>
<action> <action>
<button>1</button> <button>1</button>
@ -411,6 +439,10 @@
<value>1</value> <value>1</value>
<min>1</min> <min>1</min>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/knb1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -454,6 +486,10 @@
<value>4</value> <value>4</value>
<max>4</max> <max>4</max>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/knb1", 1);</script>
</binding>
</action> </action>
<action> <action>
<button>1</button> <button>1</button>
@ -468,6 +504,10 @@
<value>1</value> <value>1</value>
<min>1</min> <min>1</min>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/knb1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -524,6 +564,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/adirs/adr[0]/off</property> <property>/controls/adirs/adr[0]/off</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -575,6 +619,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/adirs/adr[1]/off</property> <property>/controls/adirs/adr[1]/off</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -626,6 +674,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/adirs/adr[2]/off</property> <property>/controls/adirs/adr[2]/off</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -827,7 +879,7 @@
</animation--> </animation-->
<!-- Fire controls --> <!-- Fire controls -->
<animation> <!--animation>
<name>Engine 1 fire pick</name> <name>Engine 1 fire pick</name>
<type>pick</type> <type>pick</type>
<object-name>Eng1Fire</object-name> <object-name>Eng1Fire</object-name>
@ -900,7 +952,7 @@
<blue>0.7</blue> <blue>0.7</blue>
<factor-prop>controls/engines/engine[1]/fire-bottle-discharge</factor-prop> <factor-prop>controls/engines/engine[1]/fire-bottle-discharge</factor-prop>
</emission> </emission>
</animation> </animation-->
<!-- Hydraulic --> <!-- Hydraulic -->
<animation> <animation>
@ -917,6 +969,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/hydraulic/eng1-pump</property> <property>/controls/hydraulic/eng1-pump</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -968,6 +1024,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/hydraulic/elec-pump-blue</property> <property>/controls/hydraulic/elec-pump-blue</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -1019,6 +1079,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/hydraulic/ptu</property> <property>/controls/hydraulic/ptu</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -1070,6 +1134,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/hydraulic/eng2-pump</property> <property>/controls/hydraulic/eng2-pump</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -1121,6 +1189,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/hydraulic/elec-pump-yellow</property> <property>/controls/hydraulic/elec-pump-yellow</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -1172,6 +1244,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/electrical/switches/galley</property> <property>/controls/electrical/switches/galley</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -1223,6 +1299,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/electrical/switches/battery1</property> <property>/controls/electrical/switches/battery1</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -1274,6 +1354,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/electrical/switches/battery2</property> <property>/controls/electrical/switches/battery2</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -1358,7 +1442,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/electrical/switches/gen1</property> <property>/controls/electrical/switches/gen1</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -1409,6 +1496,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/electrical/switches/ac-ess-feed</property> <property>/controls/electrical/switches/ac-ess-feed</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -1460,6 +1551,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/electrical/switches/gen-apu</property> <property>/controls/electrical/switches/gen-apu</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
<animation> <animation>
@ -1507,6 +1602,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/electrical/switches/apu-ext-crosstie</property> <property>/controls/electrical/switches/apu-ext-crosstie</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -1541,6 +1640,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/electrical/switches/gen-ext</property> <property>/controls/electrical/switches/gen-ext</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
<animation> <animation>
@ -1596,7 +1699,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/electrical/switches/gen2</property> <property>/controls/electrical/switches/gen2</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -1683,6 +1789,10 @@
<value>9</value> <value>9</value>
<value>11</value> <value>11</value>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/knb1", 1);</script>
</binding>
</action> </action>
<action> <action>
<button>1</button> <button>1</button>
@ -1695,6 +1805,10 @@
<value>9</value> <value>9</value>
<value>7</value> <value>7</value>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/knb1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
<animation> <animation>
@ -1733,6 +1847,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/pneumatic/switches/pack1</property> <property>/controls/pneumatic/switches/pack1</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -1784,6 +1902,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/pneumatic/switches/bleed1</property> <property>/controls/pneumatic/switches/bleed1</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -1835,6 +1957,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/pneumatic/switches/bleedapu</property> <property>/controls/pneumatic/switches/bleedapu</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -1886,6 +2012,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/pneumatic/switches/bleed2</property> <property>/controls/pneumatic/switches/bleed2</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -1936,6 +2066,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/pneumatic/switches/hot-air</property> <property>/controls/pneumatic/switches/hot-air</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -1987,6 +2121,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/pneumatic/switches/pack2</property> <property>/controls/pneumatic/switches/pack2</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -2041,6 +2179,10 @@
<property>/controls/pneumatic/switches/ram-air</property> <property>/controls/pneumatic/switches/ram-air</property>
<value>0</value> <value>0</value>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -2292,6 +2434,10 @@
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/APU/master</property> <property>/controls/APU/master</property>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>
@ -2347,6 +2493,10 @@
} }
</script> </script>
</binding> </binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action> </action>
</animation> </animation>

View file

@ -1,672 +0,0 @@
AC3Db
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0 0 0 emis 0.658824 0.670588 0.67451 spec 0 0 0 shi 128 trans 0
OBJECT world
kids 34
OBJECT poly
name "ground"
loc -0.000632844 0.000620101 0.00496066
texture "ground.png"
crease 45.000000
numvert 4
0 0.0443777 -0.0369368
0 0.0443777 0.0369368
0 -0.0443777 0.0369368
0 -0.0443777 -0.0369368
numsurf 1
SURF 0x30
mat 0
refs 4
0 0.5875 0.5875
1 0.4125 0.5875
2 0.4125 0.4125
3 0.5875 0.4125
kids 0
OBJECT poly
name "sky"
loc -0.000632844 0.000620101 0.00496066
texture "sky.png"
crease 45.000000
numvert 4
0 -0.0443777 -0.0369368
0 -0.0443777 0.0369368
0 0.0443777 0.0369368
0 0.0443777 -0.0369368
numsurf 1
SURF 0x30
mat 0
refs 4
3 0.5875 0.5875
2 0.4125 0.5875
1 0.4125 0.4125
0 0.5875 0.4125
kids 0
OBJECT poly
name "rudder_bar"
loc 0.00132974 -0.00872025 0.00509377
texture "rudder-bar.png"
crease 45.000000
numvert 4
0 -0.0105466 -0.00420202
0 -0.0105466 0.00420203
0 0.0105466 0.00420202
0 0.0105466 -0.00420203
numsurf 1
SURF 0x30
mat 0
refs 4
3 1 1
2 0 1
1 0 0
0 1 0
kids 0
OBJECT poly
name "target-alt-sel"
loc 0.000960576 -0.000264099 -0.0431903
texture "trgt-alt-man.png"
crease 45.000000
numvert 4
0 -0.0428304 -0.00623311
0 -0.0428304 0.00772078
0 0.0428304 0.00772078
0 0.0428304 -0.00623311
numsurf 1
SURF 0x30
mat 0
refs 4
3 0.990386 0.217208
2 0.022378 0.217208
1 0.0223766 0.0507198
0 0.990386 0.0507198
kids 0
OBJECT poly
name "trgt-spd-man"
loc 0.00121828 0.000747255 0.0473924
texture "trgt-spd-man.png"
crease 45.000000
numvert 4
0 0.0424935 -0.00258292
0 0.0424935 0.00258288
0 -0.0424935 0.00258288
0 -0.0424935 -0.00258292
numsurf 1
SURF 0x30
mat 0
refs 4
0 0.998074 0.321737
1 0.800781 0.321737
2 0.800781 0.0447528
3 0.998074 0.0447528
kids 0
OBJECT poly
name "horizon"
loc -0.00063943 0.000620101 0.00496066
texture "horizon.png"
crease 45.000000
numvert 4
0 0.0443777 -0.0369368
0 0.0443777 0.0369368
0 -0.0443777 0.0369368
0 -0.0443777 -0.0369368
numsurf 1
SURF 0x30
mat 0
refs 4
0 0.5875 0.5875
1 0.4125 0.5875
2 0.4125 0.4125
3 0.5875 0.4125
kids 0
OBJECT poly
name "hdg-tape"
loc 0.000141949 -0.0623471 0.00488526
texture "hdg-tape.png"
crease 45.000000
numvert 4
0 -0.00631734 -0.0361253
0 -0.00631734 0.0361253
0 0.00631731 0.0361253
0 0.00631731 -0.0361253
numsurf 1
SURF 0x30
mat 0
refs 4
3 0.0605338 0.994588
2 -0.0513565 0.994588
1 -0.0513565 -0.0462684
0 0.0605338 -0.0462684
kids 0
OBJECT poly
name "trk-ind"
loc 0.00063943 -0.0623471 0.00488526
texture "trk-ind.png"
crease 45.000000
numvert 4
0 -0.00631735 -0.0361253
0 -0.00631735 0.0361253
0 0.00631731 0.0361253
0 0.00631731 -0.0361253
numsurf 1
SURF 0x30
mat 0
refs 4
3 0.0605338 0.994588
2 -0.0513565 0.994588
1 -0.0513565 -0.0462684
0 0.0605338 -0.0462684
kids 0
OBJECT poly
name "loc-crs"
loc 0.00063943 -0.0623471 0.00488526
texture "loc-crs.png"
crease 45.000000
numvert 4
0 -0.00631734 -0.0361253
0 -0.00631734 0.0361253
0 0.00631731 0.0361253
0 0.00631731 -0.0361253
numsurf 1
SURF 0x30
mat 0
refs 4
3 0.0605338 0.994588
2 -0.0513565 0.994588
1 -0.0513565 -0.0462684
0 0.0605338 -0.0462684
kids 0
OBJECT poly
name "hdg-bug"
loc 0.00063943 -0.0563471 0.00570176
texture "hdg-bug.png"
crease 45.000000
numvert 4
0 -0.00601734 -0.0361253
0 -0.00601734 0.0361253
0 0.00601731 0.0361253
0 0.00601731 -0.0361253
numsurf 1
SURF 0x30
mat 0
refs 4
3 0.0605338 0.994588
2 -0.0513565 0.994588
1 -0.0513565 -0.0462684
0 0.0605338 -0.0462684
kids 0
OBJECT poly
name "alt-tape-1"
loc -0.00063943 -0.000264099 -0.0474465
texture "alt-tape.png"
crease 45.000000
numvert 4
0 0.0428304 -0.00806341
0 0.0428304 0.00806338
0 -0.0428304 0.00806338
0 -0.0428304 -0.00806341
numsurf 1
SURF 0x30
mat 0
refs 4
0 0.990386 0.217208
1 0.022378 0.217208
2 0.0223766 0.0507198
3 0.990386 0.0507198
kids 0
OBJECT poly
name "spd-tape"
loc -0.00063943 -0.000264099 0.0592757
texture "spd-tape.png"
crease 45.000000
numvert 4
0 -0.0428304 -0.00990531
0 -0.0428304 0.00990527
0 0.0428304 0.00990527
0 0.0428304 -0.00990531
numsurf 1
SURF 0x30
mat 0
refs 4
3 0.498074 0.321737
2 0.00829178 0.321737
1 0.00829178 0.0447528
0 0.498074 0.0447528
kids 0
OBJECT poly
name "vsi"
loc 0.00091828 -0.000133 -0.0683266
texture "symbols.png"
crease 45.000000
numvert 4
0 -0.040099 -0.00314169
0 -0.040099 0.00334499
0 0.040099 0.00334499
0 0.040099 -0.00314169
numsurf 1
SURF 0x30
mat 0
refs 4
3 0.660342 0.662271
2 0.638535 0.662271
1 0.638535 0.258462
0 0.660342 0.258462
kids 0
OBJECT poly
name "spdtrnd-up"
loc 0.00133822 0.021479 0.0513726
texture "spdtrend.png"
crease 45.000000
numvert 4
0 0.0210118 -0.00234548
0 0.0210118 0.00234544
0 -0.0210118 0.00234544
0 -0.0210118 -0.00234548
numsurf 1
SURF 0x30
mat 0
refs 4
0 0 0.496308
1 1.03601 0.496308
2 1.03601 -0.00461811
3 0 -0.00461811
kids 0
OBJECT poly
name "sidestick-pos"
loc 0.00133541 0.000618536 0.00359356
texture "autoland.png"
crease 45.000000
numvert 4
0 0.00674502 -0.00440941
0 -0.00674502 -0.00440941
0 -0.00674502 0.00810496
0 0.00674502 0.00810496
numsurf 1
SURF 0x30
mat 0
refs 4
3 0.791565 0.449709
2 0.68209 0.449709
1 0.68209 0.0104858
0 0.791565 0.0104858
kids 0
OBJECT poly
name "sidestick-max"
loc 0.00091828 -0.0216617 0.0287131
texture "autoland.png"
crease 45.000000
numvert 8
0 0.00402807 0.00438482
0 -0.00402807 0.00438482
0 -0.00402807 -0.00238551
0 0.00402807 -0.00238551
0 0.00402807 -0.0523576
0 -0.00402807 -0.0523576
0 -0.00402807 -0.0455873
0 0.00402807 -0.0455873
numsurf 2
SURF 0x30
mat 0
refs 4
0 0.629302 0.44775
1 0.520441 0.44775
2 0.520441 0.0183234
3 0.629302 0.0183234
SURF 0x30
mat 0
refs 4
7 0.629302 0.0183234
6 0.520441 0.0183234
5 0.520441 0.44775
4 0.629302 0.44775
kids 0
OBJECT poly
name "sidestick-max"
loc 0.00091828 0.0234689 0.0287131
texture "autoland.png"
crease 45.000000
numvert 8
0 -0.00378506 -0.00238554
0 -0.00378506 0.0043848
0 0.00378506 0.0043848
0 0.00378506 -0.00238554
0 -0.00378506 -0.0455873
0 -0.00378506 -0.0523576
0 0.00378506 -0.0523576
0 0.00378506 -0.0455873
numsurf 2
SURF 0x30
mat 0
refs 4
3 0.629302 0.44775
2 0.520441 0.44775
1 0.520441 0.0183234
0 0.629302 0.0183234
SURF 0x30
mat 0
refs 4
4 0.629302 0.0183234
5 0.520441 0.0183234
6 0.520441 0.44775
7 0.629302 0.44775
kids 0
OBJECT poly
name "gsscale"
loc 0.00091828 0.0004113 -0.0352752
texture "symbols.png"
crease 45.000000
numvert 4
0 -0.0361804 -0.00381497
0 0.0361804 -0.00381499
0 0.0361804 0.00381497
0 -0.0361804 0.00381498
numsurf 1
SURF 0x30
mat 0
refs 4
0 0.99826 0.988171
1 0.99826 0.0824336
2 0.947974 0.0824336
3 0.947974 0.988171
kids 0
OBJECT poly
name "locscale"
loc 0.00091828 -0.0478575 0.00489046
texture "symbols.png"
crease 45.000000
numvert 4
0 -0.00428779 -0.0357276
0 -0.00428779 0.0357276
0 0.00428777 0.0357276
0 0.00428777 -0.0357276
numsurf 1
SURF 0x30
mat 0
refs 4
3 0.501561 0.112546
2 0.964105 0.112546
1 0.964105 0.00122176
0 0.501561 0.00122176
kids 0
OBJECT poly
name "gspointer"
loc 0.00226889 9.10088e-006 -0.0356073
texture "symbols.png"
crease 45.000000
numvert 4
0 0.00547617 0.0031265
0 -0.00547617 0.0031265
0 -0.00547617 -0.00312652
0 0.00547617 -0.00312652
numsurf 1
SURF 0x30
mat 0
refs 4
0 0.239237 0.294683
1 0.442683 0.294683
2 0.442683 0.0549766
3 0.239237 0.0549766
kids 0
OBJECT poly
name "locpointer"
loc 0.00226889 -0.0482638 0.00541306
texture "symbols.png"
crease 45.000000
numvert 4
0 -0.0031265 -0.00547615
0 -0.0031265 0.00547617
0 0.00312651 0.00547617
0 0.00312651 -0.00547615
numsurf 1
SURF 0x30
mat 0
refs 4
3 0.239237 0.294683
2 0.442683 0.294683
1 0.442683 0.0549766
0 0.239237 0.0549766
kids 0
OBJECT poly
name "vls-tape"
loc 0.00091828 -0.000281699 0.0476063
texture "vls-tape.png"
crease 45.000000
numvert 4
-1e-005 0.0424935 -0.00136903
-1e-005 0.0424935 0.00136901
-1e-005 -0.0424935 0.00136901
-1e-005 -0.0424935 -0.00136903
numsurf 1
SURF 0x30
mat 0
refs 4
0 1 0.321832
1 0 0.321832
2 0 0.0448185
3 1 0.0448185
kids 0
OBJECT poly
name "stall-tape"
loc 0.00091828 -0.000281699 0.0476063
texture "spd-tape.png"
crease 45.000000
numvert 4
0 0.0424935 -0.00136903
0 0.0424935 0.00136901
0 -0.0424935 0.00136901
0 -0.0424935 -0.00136903
numsurf 1
SURF 0x30
mat 0
refs 4
0 0.598403 0.321832
1 0.501577 0.321832
2 0.501577 0.0448185
3 0.598403 0.0448185
kids 0
OBJECT poly
name "vfe-tape"
loc 0.00091828 -0.000281699 0.0476063
texture "spd-tape.png"
crease 45.000000
numvert 4
0 -0.0424935 -0.00136903
0 -0.0424935 0.00136901
0 0.0424935 0.00136901
0 0.0424935 -0.00136903
numsurf 1
SURF 0x30
mat 0
refs 4
3 0.66857 0.321965
2 0.605455 0.321965
1 0.605455 0.0450599
0 0.66857 0.0450599
kids 0
OBJECT poly
name "alt-tape-2"
loc 0.00133137 0.000295199 -0.0595814
texture "alt-tape-2.png"
crease 45.000000
numvert 4
0 -0.00598263 -0.00278856
0 -0.00598263 0.00278853
0 0.00598263 0.00278853
0 0.00598263 -0.00278856
numsurf 1
SURF 0x30
mat 0
refs 4
3 0.962665 0.356135
2 0.0568116 0.356135
1 0.0568116 -0.130193
0 0.962665 -0.130193
kids 0
OBJECT poly
name "radar-alt"
loc 0.000360576 -0.000264099 -0.0474465
texture "radar-alt.png"
crease 45.000000
numvert 4
0 0.0428304 -0.00806341
0 0.0428304 0.00806338
0 -0.0428304 0.00806338
0 -0.0428304 -0.00806341
numsurf 1
SURF 0x30
mat 0
refs 4
0 0.990386 0.217208
1 0.022378 0.217208
2 0.0223766 0.0507198
3 0.990386 0.0507198
kids 0
OBJECT poly
name "landing-elev"
loc 0.000360576 -0.000264099 -0.0474465
texture "arpt-elev.png"
crease 45.000000
numvert 4
0 0.0428304 -0.00806341
0 0.0428304 0.00806338
0 -0.0428304 0.00806338
0 -0.0428304 -0.00806341
numsurf 1
SURF 0x30
mat 0
refs 4
0 0.990386 0.217208
1 0.022378 0.217208
2 0.0223766 0.0507198
3 0.990386 0.0507198
kids 0
OBJECT poly
name "rect"
loc 0.0643506 0 0
texture "mask.png"
crease 45.000000
numvert 4
-0.0639733 0.0784821 -0.0784821
-0.0639733 0.0784821 0.0784821
-0.0639733 -0.0784821 0.0784821
-0.0639733 -0.0784821 -0.0784821
numsurf 1
SURF 0x30
mat 0
refs 4
0 1 1
1 0 1
2 0 0
3 1 0
kids 0
OBJECT poly
name "spdtrnd-down"
loc 0.00133822 -0.0211824 0.0513713
texture "spdtrend.png"
crease 45.000000
numvert 4
0 0.0210118 0.00234548
0 0.0210118 -0.00234545
0 -0.0210118 -0.00234544
0 -0.0210118 0.00234548
numsurf 1
SURF 0x30
mat 0
refs 4
3 0 0.496308
2 1.03601 0.496308
1 1.03601 -0.00461811
0 0 -0.00461811
kids 0
OBJECT poly
name "bank"
loc 0.00147448 0.0381779 0.00511426
texture "symbols.png"
crease 45.000000
numvert 4
0 -0.000568084 -0.00535177
0 -0.000568084 0.00535178
0 0.00444023 -0.00535177
0 0.00444023 0.00535178
numsurf 1
SURF 0x30
mat 0
refs 4
0 0.348876 0.413639
2 0.348876 0.567016
3 0.505593 0.567016
1 0.505593 0.413639
kids 0
OBJECT poly
name "slipskid"
loc 0.00147448 0.0381779 0.00511426
texture "symbols.png"
crease 45.000000
numvert 4
0 -0.00444023 -0.00535177
0 -0.00444022 0.00535178
0 -0.000568084 0.00535178
0 -0.000568084 -0.00535177
numsurf 1
SURF 0x30
mat 0
refs 4
2 0.505593 0.413639
1 0.505593 0.295057
0 0.348876 0.295057
3 0.348876 0.413639
kids 0
OBJECT poly
name "centerbar"
loc 0.001346 -0.00175913 0.00477472
texture "symbols.png"
crease 45.000000
numvert 4
0 -0.00611249 -0.0377232
0 -0.00611249 0.0384099
0 0.0061125 0.0384099
0 0.0061125 -0.0377232
numsurf 1
SURF 0x30
mat 0
refs 4
3 0.403727 0.933591
2 0.909275 0.933591
1 0.909275 0.783893
0 0.403727 0.783893
kids 0
OBJECT poly
name "fd_pitch"
loc 0.00132974 0.000646424 0.005045
texture "symbols.png"
crease 45.000000
numvert 4
0 0.00074983 -0.0194069
0 0.00074983 0.0194069
0 -0.00074983 0.0194069
0 -0.00074983 -0.0194069
numsurf 1
SURF 0x30
mat 0
refs 4
0 0.510324 0.464321
1 0.762653 0.464321
2 0.762653 0.461267
3 0.510324 0.461267
kids 0
OBJECT poly
name "fd_roll"
loc 0.00132974 0.000880169 0.00507529
texture "symbols.png"
crease 45.000000
numvert 4
0 0.0196142 -0.000820077
0 -0.0196142 -0.000820077
0 -0.0196142 0.000820077
0 0.0196142 0.000820077
numsurf 1
SURF 0x30
mat 0
refs 4
3 0.510324 0.464321
2 0.762653 0.464321
1 0.762653 0.461267
0 0.510324 0.461267
kids 0

View file

@ -2,7 +2,7 @@
<PropertyList> <PropertyList>
<path>res/a320.interior.ac</path> <path>res/libraries.interior.ac</path>
<!-- ANIMATIONS --> <!-- ANIMATIONS -->
<!-- Lighting --> <!-- Lighting -->

View file

@ -1,4 +1,4 @@
# A320 Various # A320 Main Libraries
# Joshua Davidson (it0uchpods) # Joshua Davidson (it0uchpods)
# :) # :)
@ -70,6 +70,24 @@ aircraft.rain.init();
# Sounds # # Sounds #
########## ##########
setlistener("/sim/sounde/btn1", func {
if (!getprop("/sim/sounde/btn1")) {
return;
}
settimer(func {
props.globals.getNode("/sim/sounde/btn1").setBoolValue(0);
}, 0.05);
});
setlistener("/sim/sounde/knb1", func {
if (!getprop("/sim/sounde/knb1")) {
return;
}
settimer(func {
props.globals.getNode("/sim/sounde/knb1").setBoolValue(0);
}, 0.05);
});
setlistener("/controls/switches/seatbelt-sign", func { setlistener("/controls/switches/seatbelt-sign", func {
props.globals.getNode("/sim/sounde/seatbelt-sign").setBoolValue(1); props.globals.getNode("/sim/sounde/seatbelt-sign").setBoolValue(1);
settimer(func { settimer(func {
@ -165,4 +183,26 @@ var externalconnections = maketimer(0.1, func {
setprop("/controls/switches/cart", 0); setprop("/controls/switches/cart", 0);
setprop("/controls/pneumatic/switches/groundair", 0); setprop("/controls/pneumatic/switches/groundair", 0);
} }
}); });
var mcpSPDKnbPull = func {
var ias = getprop("/instrumentation/airspeed-indicator/indicated-speed-kt");
var mach = getprop("/instrumentation/airspeed-indicator/indicated-mach");
if (getprop("/it-autoflight/input/kts-mach") == 0) {
if (ias >= 100 and ias <= 360) {
setprop("/it-autoflight/input/spd-kts", math.round(ias, 1));
} else if (ias < 100) {
setprop("/it-autoflight/input/spd-kts", 100);
} else if (ias > 360) {
setprop("/it-autoflight/input/spd-kts", 360);
}
} else if (getprop("/it-autoflight/input/kts-mach") == 1) {
if (mach >= 0.50 and mach <= 0.95) {
setprop("/it-autoflight/input/spd-kts", math.round(mach, 0.001));
} else if (mach < 0.50) {
setprop("/it-autoflight/input/spd-kts", 0.50);
} else if (mach > 0.95) {
setprop("/it-autoflight/input/spd-kts", 0.95);
}
}
}

View file

@ -391,14 +391,6 @@
</condition> </condition>
</wow> </wow>
<click>
<mode>once</mode>
<path>click.wav</path>
<condition>
<property>/unused/sound/click</property>
</condition>
</click>
<detenta> <detenta>
<mode>once</mode> <mode>once</mode>
<name>detendaa</name> <name>detendaa</name>
@ -674,5 +666,29 @@
</volume> </volume>
</ns> </ns>
<switch>
<name>Overhead Button</name>
<mode>once</mode>
<path>Aircraft/A320Family/Sounds/oh-button.wav</path>
<condition>
<property>/sim/sounde/btn1</property>
</condition>
<volume>
<factor>0.75</factor>
</volume>
</switch>
<switch>
<name>Overhead Knob</name>
<mode>once</mode>
<path>Aircraft/A320Family/Sounds/oh-knob.wav</path>
<condition>
<property>/sim/sounde/knb1</property>
</condition>
<volume>
<factor>0.60</factor>
</volume>
</switch>
</fx> </fx>
</PropertyList> </PropertyList>

Binary file not shown.

BIN
Sounds/oh-button.wav Normal file

Binary file not shown.

BIN
Sounds/oh-knob.wav Normal file

Binary file not shown.