diff --git a/Aircraft/Generic/generic-electrical.xml b/Aircraft/Generic/generic-electrical.xml index 43a498466..3087f176a 100644 --- a/Aircraft/Generic/generic-electrical.xml +++ b/Aircraft/Generic/generic-electrical.xml @@ -53,6 +53,7 @@ <prop>/systems/electrical/outputs/transponder</prop> <prop>/systems/electrical/outputs/autopilot</prop> <prop>/systems/electrical/outputs/adf</prop> + <prop>/systems/electrical/outputs/mk-viii</prop> <prop>/systems/electrical/outputs/tacan</prop> </bus> diff --git a/Aircraft/Generic/generic-instrumentation.xml b/Aircraft/Generic/generic-instrumentation.xml index d61bca94d..1cbeac147 100644 --- a/Aircraft/Generic/generic-instrumentation.xml +++ b/Aircraft/Generic/generic-instrumentation.xml @@ -138,5 +138,9 @@ file, these values will be used (they are hardcoded). <number>0</number> </tacan> + <mk-viii> + <name>mk-viii</name> + <number>0</number> + </mk-viii> </PropertyList> diff --git a/Aircraft/Instruments-3d/mk-viii/GNUmakefile b/Aircraft/Instruments-3d/mk-viii/GNUmakefile new file mode 100755 index 000000000..97e5f77d1 --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/GNUmakefile @@ -0,0 +1,19 @@ +stylesheet = ../assembly/assembly.xsl + +buttons = caution0 caution1 flap-override inhibit steep-approach terrain-inhibit warning0 warning1 +lamps = glideslope-cancelled inop terrain-fail + +output_files = $(foreach b,$(buttons),$(b).xml $(b)-actions.xml) $(foreach l,$(lamps),$(l).xml) + +all_files = assembly.rgb $(output_files) + +all: $(all_files) + +$(output_files): mk-viii.xml $(stylesheet) + xsltproc $(stylesheet) mk-viii.xml + +assembly.rgb: ../assembly/assembly.rgb + cp -p ../assembly/assembly.rgb ./ + +clean: + rm -f $(all_files) diff --git a/Aircraft/Instruments-3d/mk-viii/README b/Aircraft/Instruments-3d/mk-viii/README new file mode 100755 index 000000000..4350c31a5 --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/README @@ -0,0 +1,20 @@ +This directory contains a set of standard GPWS assemblies (lamp format +2), connected to /instrumentation/mk-viii. Use them by referencing the +XML files from your aircraft model file (see +Aircraft/b1900d/Models/b1900d-anim.xml for an example), and by setting +/sim/mk-viii/assemblies/emission/* to off-state emission values, for +instance: + + <sim> + <mk-viii> + <assemblies> + <emission> + <red>0.5</red> + <green>0.5</green> + <blue>0.5</blue> + <factor alias="/controls/lighting/instruments-norm"/> + </emission> + </mk-viii> + </sim> + +Author: Jean-Yves Lefort <jylefort@FreeBSD.org> diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/caution-off.rgb b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/caution-off.rgb new file mode 100755 index 000000000..7e0d89f33 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/caution-off.rgb differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/caution-on.rgb b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/caution-on.rgb new file mode 100755 index 000000000..6eb309541 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/caution-on.rgb differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/flap-override-off.rgb b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/flap-override-off.rgb new file mode 100755 index 000000000..9c9aba9b8 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/flap-override-off.rgb differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/flap-override-on.rgb b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/flap-override-on.rgb new file mode 100755 index 000000000..24234f513 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/flap-override-on.rgb differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/glideslope-cancelled-off.rgb b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/glideslope-cancelled-off.rgb new file mode 100755 index 000000000..9b14b45bf Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/glideslope-cancelled-off.rgb differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/glideslope-cancelled-on.rgb b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/glideslope-cancelled-on.rgb new file mode 100755 index 000000000..9bb1c7627 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/glideslope-cancelled-on.rgb differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/inhibit-off.rgb b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/inhibit-off.rgb new file mode 100755 index 000000000..8709ee840 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/inhibit-off.rgb differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/inhibit-on.rgb b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/inhibit-on.rgb new file mode 100755 index 000000000..5474f792c Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/inhibit-on.rgb differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/inop-off.rgb b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/inop-off.rgb new file mode 100755 index 000000000..45a8a7365 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/inop-off.rgb differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/inop-on.rgb b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/inop-on.rgb new file mode 100755 index 000000000..f7813ee9c Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/inop-on.rgb differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/steep-approach-off.rgb b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/steep-approach-off.rgb new file mode 100755 index 000000000..8a848e537 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/steep-approach-off.rgb differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/steep-approach-on.rgb b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/steep-approach-on.rgb new file mode 100755 index 000000000..b2a6a2494 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/steep-approach-on.rgb differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/terrain-fail-off.rgb b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/terrain-fail-off.rgb new file mode 100755 index 000000000..95aad8300 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/terrain-fail-off.rgb differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/terrain-fail-on.rgb b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/terrain-fail-on.rgb new file mode 100755 index 000000000..981e2be2f Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/terrain-fail-on.rgb differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/terrain-inhibit-off.rgb b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/terrain-inhibit-off.rgb new file mode 100755 index 000000000..593cd2e38 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/terrain-inhibit-off.rgb differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/terrain-inhibit-on.rgb b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/terrain-inhibit-on.rgb new file mode 100755 index 000000000..cfad16fec Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/terrain-inhibit-on.rgb differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/warning-off.rgb b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/warning-off.rgb new file mode 100755 index 000000000..dd5720319 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/warning-off.rgb differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/warning-on.rgb b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/warning-on.rgb new file mode 100755 index 000000000..0b191ed3f Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/warning-on.rgb differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/caution-off.xcf b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/caution-off.xcf new file mode 100755 index 000000000..605b88761 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/caution-off.xcf differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/caution-on.xcf b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/caution-on.xcf new file mode 100755 index 000000000..b0a4ef9d2 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/caution-on.xcf differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/flap-override-off.xcf b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/flap-override-off.xcf new file mode 100755 index 000000000..0d336bbb4 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/flap-override-off.xcf differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/flap-override-on.xcf b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/flap-override-on.xcf new file mode 100755 index 000000000..b3c0e0ab1 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/flap-override-on.xcf differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/glideslope-cancelled-off.xcf b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/glideslope-cancelled-off.xcf new file mode 100755 index 000000000..0dd1fe315 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/glideslope-cancelled-off.xcf differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/glideslope-cancelled-on.xcf b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/glideslope-cancelled-on.xcf new file mode 100755 index 000000000..a7bb396b5 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/glideslope-cancelled-on.xcf differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/inhibit-off.xcf b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/inhibit-off.xcf new file mode 100755 index 000000000..ee2b8a664 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/inhibit-off.xcf differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/inhibit-on.xcf b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/inhibit-on.xcf new file mode 100755 index 000000000..a4b7e7578 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/inhibit-on.xcf differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/inop-off.xcf b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/inop-off.xcf new file mode 100755 index 000000000..90304098d Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/inop-off.xcf differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/inop-on.xcf b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/inop-on.xcf new file mode 100755 index 000000000..d491a6394 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/inop-on.xcf differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/steep-approach-off.xcf b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/steep-approach-off.xcf new file mode 100755 index 000000000..c42c64bc5 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/steep-approach-off.xcf differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/steep-approach-on.xcf b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/steep-approach-on.xcf new file mode 100755 index 000000000..78789cace Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/steep-approach-on.xcf differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/terrain-fail-off.xcf b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/terrain-fail-off.xcf new file mode 100755 index 000000000..ab64e8c97 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/terrain-fail-off.xcf differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/terrain-fail-on.xcf b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/terrain-fail-on.xcf new file mode 100755 index 000000000..18f6f9484 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/terrain-fail-on.xcf differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/terrain-inhibit-off.xcf b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/terrain-inhibit-off.xcf new file mode 100755 index 000000000..a091e922c Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/terrain-inhibit-off.xcf differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/terrain-inhibit-on.xcf b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/terrain-inhibit-on.xcf new file mode 100755 index 000000000..42e3165cf Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/terrain-inhibit-on.xcf differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/warning-off.xcf b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/warning-off.xcf new file mode 100755 index 000000000..e561695e0 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/warning-off.xcf differ diff --git a/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/warning-on.xcf b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/warning-on.xcf new file mode 100755 index 000000000..c9326bfae Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf/warning-on.xcf differ diff --git a/Aircraft/Instruments-3d/mk-viii/assembly.rgb b/Aircraft/Instruments-3d/mk-viii/assembly.rgb new file mode 100755 index 000000000..06b00a7b9 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/assembly.rgb differ diff --git a/Aircraft/Instruments-3d/mk-viii/assembly/README b/Aircraft/Instruments-3d/mk-viii/assembly/README new file mode 100755 index 000000000..6f546af7c --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/assembly/README @@ -0,0 +1,12 @@ +This directory contains a cockpit assembly model and XSLT +stylesheet. An assembly is a lamp/switch combination. The lamp is +implemented via two texture files representing the on/off states. The +assembly can be latching (press to toggle, self-annunciating lamp) or +momentary (press to activate, lamp driven by an external property). An +optional guard is provided. + +The stylesheet can be used to generate the assemblies you need using +an XSLT 1.1 processor. See Aircraft/Instruments-3d/mk-viii for an +example. + +Author: Jean-Yves Lefort <jylefort@FreeBSD.org> diff --git a/Aircraft/Instruments-3d/mk-viii/assembly/assembly.ac b/Aircraft/Instruments-3d/mk-viii/assembly/assembly.ac new file mode 100755 index 000000000..0756d564b --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/assembly/assembly.ac @@ -0,0 +1,236 @@ +AC3Db +MATERIAL "ac3dmat0" rgb 0 0 0 amb 0.2 0.2 0.2 emis 0 0 0 spec 0 0 0 shi 10 trans 0 +MATERIAL "ac3dmat14" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0 0 0 shi 10 trans 0 +MATERIAL "ac3dmat0" rgb 1 1 1 amb 1 1 1 emis 1 1 1 spec 0 0 0 shi 10 trans 0 +MATERIAL "ac3dmat0" rgb 0.612 0.612 0.612 amb 0.2 0.2 0.2 emis 0 0 0 spec 1 1 1 shi 10 trans 0.8 +OBJECT world +kids 3 +OBJECT poly +name "base" +loc -0.00059994 8.3819e-09 0 +crease 45.000000 +numvert 20 +0.0024003 -0.00825628 -0.00825628 +0.0024003 -0.00825628 0.00825628 +0.0024003 0.00825628 0.00825628 +0.0024003 0.00825628 -0.00825628 +0.0024003 0.00719562 -0.00719562 +0.0024003 -0.00719562 -0.00719562 +0.0024003 -0.00719562 0.00719562 +0.0024003 0.00719562 0.00719562 +-0.0024003 0.00719562 0.00719562 +-0.0024003 -0.00719562 0.00719562 +-0.0024003 -0.00719562 -0.00719562 +-0.0024003 0.00719562 -0.00719562 +-0.0024003 -0.00825628 -0.00825628 +0.0024003 -0.00825628 -0.00825628 +0.0024003 -0.00825628 0.00825628 +-0.0024003 -0.00825628 0.00825628 +-0.0024003 0.00825628 0.00825628 +0.0024003 0.00825628 0.00825628 +0.0024003 0.00825628 -0.00825628 +-0.0024003 0.00825628 -0.00825628 +numsurf 16 +SURF 0x0 +mat 0 +refs 4 +7 0 0 +8 0 0 +11 0 0 +4 0 0 +SURF 0x0 +mat 0 +refs 4 +10 0 0 +5 0 0 +4 0 0 +11 0 0 +SURF 0x0 +mat 0 +refs 4 +5 0 0 +10 0 0 +9 0 0 +6 0 0 +SURF 0x0 +mat 0 +refs 4 +8 0 0 +7 0 0 +6 0 0 +9 0 0 +SURF 0x0 +mat 0 +refs 4 +4 0 0 +5 0 0 +0 1 0 +3 0 0 +SURF 0x0 +mat 0 +refs 4 +5 0 0 +6 0 0 +1 1 1 +0 1 0 +SURF 0x0 +mat 0 +refs 4 +6 0 0 +7 0 0 +2 0 1 +1 1 1 +SURF 0x0 +mat 0 +refs 4 +7 0 0 +4 0 0 +3 0 0 +2 0 1 +SURF 0x0 +mat 0 +refs 4 +16 0 1 +19 0 0 +11 0 0 +8 0 0 +SURF 0x0 +mat 0 +refs 4 +15 1 1 +16 0 1 +8 0 0 +9 0 0 +SURF 0x0 +mat 0 +refs 4 +12 1 0 +15 1 1 +9 0 0 +10 0 0 +SURF 0x0 +mat 0 +refs 4 +19 0 0 +12 1 0 +10 0 0 +11 0 0 +SURF 0x0 +mat 0 +refs 4 +18 0 0 +13 1 0 +12 1 1 +19 0 1 +SURF 0x0 +mat 0 +refs 4 +16 0 0 +15 1 0 +14 1 1 +17 0 1 +SURF 0x0 +mat 0 +refs 4 +19 0 0 +16 1 0 +17 1 1 +18 0 1 +SURF 0x0 +mat 0 +refs 4 +12 0 0 +13 1 0 +14 1 1 +15 0 1 +kids 0 +OBJECT group +name "lamp" +loc 0.00064236 6.99057e-09 3.90921e-10 +kids 2 +OBJECT poly +name "lamp-off" +texture "assembly.rgb" +crease 45.000000 +numvert 4 +0.000858003 0.00719562 -0.00719562 +0.000858003 -0.00719562 -0.00719562 +0.000858003 -0.00719562 0.00719562 +0.000858003 0.00719562 0.00719562 +numsurf 1 +SURF 0x0 +mat 1 +refs 4 +3 0 1 +2 0 0 +1 1 0 +0 1 1 +kids 0 +OBJECT poly +name "lamp-on" +texture "assembly.rgb" +crease 45.000000 +numvert 4 +0.000858003 0.00719562 0.00719562 +0.000858003 -0.00719562 0.00719562 +0.000858003 -0.00719562 -0.00719562 +0.000858003 0.00719562 -0.00719562 +numsurf 1 +SURF 0x0 +mat 2 +refs 4 +0 0 1 +1 0 0 +2 1 0 +3 1 1 +kids 0 +OBJECT poly +name "guard" +loc -1.16415e-10 0 0 +crease 45.000000 +numvert 8 +-0.00314583 -0.00965716 -0.00965716 +0.00314583 -0.00965716 -0.00965716 +0.00314583 -0.00965716 0.00965716 +-0.00314583 -0.00965716 0.00965716 +-0.00314583 0.00965716 0.00965716 +0.00314583 0.00965716 0.00965716 +0.00314583 0.00965716 -0.00965716 +-0.00314583 0.00965716 -0.00965716 +numsurf 5 +SURF 0x20 +mat 3 +refs 4 +5 0 1 +2 1.19209e-07 0 +1 1 1.49012e-07 +6 1 1 +SURF 0x20 +mat 3 +refs 4 +6 0 0 +1 1 0 +0 1 1 +7 0 1 +SURF 0x20 +mat 3 +refs 4 +4 0 0 +3 1 0 +2 1 1 +5 0 1 +SURF 0x20 +mat 3 +refs 4 +7 0 0 +4 1 0 +5 1 1 +6 0 1 +SURF 0x20 +mat 3 +refs 4 +0 0 0 +1 1 0 +2 1 1 +3 0 1 +kids 0 diff --git a/Aircraft/Instruments-3d/mk-viii/assembly/assembly.rgb b/Aircraft/Instruments-3d/mk-viii/assembly/assembly.rgb new file mode 100755 index 000000000..06b00a7b9 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/assembly/assembly.rgb differ diff --git a/Aircraft/Instruments-3d/mk-viii/assembly/assembly.xsl b/Aircraft/Instruments-3d/mk-viii/assembly/assembly.xsl new file mode 100755 index 000000000..29e2283ff --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/assembly/assembly.xsl @@ -0,0 +1,251 @@ +<?xml version="1.0"?> +<!DOCTYPE xsl:stylesheet> +<xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + <xsl:variable name="model" select="concat(/assemblies/@fg-root, '/Aircraft/Instruments-3d/mk-viii/assembly/assembly.ac')"/> + <xsl:variable name="texture-path"> + <xsl:if test="/assemblies/@texture-path"><xsl:value-of select="concat(/assemblies/@texture-path, '/')"/></xsl:if> + </xsl:variable> + + <xsl:template name="generated"> + <xsl:comment>automatically generated, do not edit</xsl:comment> + </xsl:template> + + <xsl:template match="assembly"> + <xsl:variable name="actions" select="concat(@name, '-actions.xml')"/> + <xsl:variable name="prefix" select="concat('/controls/assemblies/', @name)"/> + <xsl:variable name="button" select="concat($prefix, '-button')"/> + <xsl:variable name="guard" select="concat($prefix, '-guard')"/> + <xsl:variable name="guarded"> + <xsl:choose> + <xsl:when test="@guarded='true'">true</xsl:when> + <xsl:otherwise>false</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:variable name="latching"> + <xsl:choose> + <xsl:when test="not(@input)">true</xsl:when> + <xsl:otherwise>false</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:variable name="input"> + <xsl:choose> + <xsl:when test="$latching='false'"><xsl:value-of select="@input"/></xsl:when> + <xsl:otherwise><xsl:value-of select="$button"/></xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:variable name="emission-red"> + <xsl:choose> + <xsl:when test="@emission-red"><xsl:value-of select="@emission-red"/></xsl:when> + <xsl:otherwise><xsl:value-of select="/assemblies/@emission-red"/></xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:variable name="emission-green"> + <xsl:choose> + <xsl:when test="@emission-green"><xsl:value-of select="@emission-green"/></xsl:when> + <xsl:otherwise><xsl:value-of select="/assemblies/@emission-green"/></xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:variable name="emission-blue"> + <xsl:choose> + <xsl:when test="@emission-blue"><xsl:value-of select="@emission-blue"/></xsl:when> + <xsl:otherwise><xsl:value-of select="/assemblies/@emission-blue"/></xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:variable name="emission-factor"> + <xsl:choose> + <xsl:when test="@emission-factor"><xsl:value-of select="@emission-factor"/></xsl:when> + <xsl:otherwise><xsl:value-of select="/assemblies/@emission-factor"/></xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:variable name="texture-prefix"> + <xsl:choose> + <xsl:when test="@texture"><xsl:value-of select="@texture"/></xsl:when> + <xsl:otherwise><xsl:value-of select="@name"/></xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:variable name="texture-on" select="concat($texture-path, $texture-prefix, '-on.rgb')"/> + <xsl:variable name="texture-off" select="concat($texture-path, $texture-prefix, '-off.rgb')"/> + + <xsl:document href="{@name}.xml" indent="yes"> + <xsl:call-template name="generated"/> + <PropertyList> + <path><xsl:value-of select="$model"/></path> + + <xsl:if test="@output"> + <panel> + <path><xsl:value-of select="concat(/assemblies/@pwd, '/', $actions)"/></path> + <bottom-left> + <x-m>0.00314583</x-m> + <y-m>-0.00965716</y-m> + <z-m>-0.00965716</z-m> + </bottom-left> + <bottom-right> + <x-m>0.00314583</x-m> + <y-m>0.00965716</y-m> + <z-m>-0.00965716</z-m> + </bottom-right> + <top-left> + <x-m>0.00314583</x-m> + <y-m>-0.00965716</y-m> + <z-m>0.02897148</z-m> + </top-left> + </panel> + + <animation> + <type>translate</type> + <object-name>lamp</object-name> + <property><xsl:value-of select="$button"/></property> + <factor>-0.0040</factor> + <axis> + <x>1.0</x> + <y>0.0</y> + <z>0.0</z> + </axis> + </animation> + </xsl:if> + + <animation> + <type>select</type> + <object-name>guard</object-name> + <condition> + <xsl:choose> + <xsl:when test="$guarded='true'"><not><property>/null</property></not></xsl:when> + <xsl:otherwise><property>/null</property></xsl:otherwise> + </xsl:choose> + </condition> + </animation> + + <xsl:if test="$guarded='true'"> + <animation> + <type>rotate</type> + <object-name>guard</object-name> + <property><xsl:value-of select="$guard"/></property> + <factor>-90</factor> + <center> + <x-m>-0.00314583</x-m> + <y-m>0.0</y-m> + <z-m>0.00965716</z-m> + </center> + <axis> + <x>0.0</x> + <y>1.0</y> + <z>0.0</z> + </axis> + </animation> + </xsl:if> + + <animation> + <type>material</type> + <object-name>lamp-off</object-name> + <texture><xsl:value-of select="$texture-off"/></texture> + </animation> + + <animation> + <type>material</type> + <object-name>lamp-on</object-name> + <texture><xsl:value-of select="$texture-on"/></texture> + </animation> + + <animation> + <type>select</type> + <object-name>lamp-off</object-name> + <condition> + <not><property><xsl:value-of select="$input"/></property></not> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>lamp-on</object-name> + <condition> + <property><xsl:value-of select="$input"/></property> + </condition> + </animation> + + <animation> + <type>material</type> + <object-name>lamp-off</object-name> + <emission> + <red-prop><xsl:value-of select="$emission-red"/></red-prop> + <green-prop><xsl:value-of select="$emission-green"/></green-prop> + <blue-prop><xsl:value-of select="$emission-blue"/></blue-prop> + <factor-prop><xsl:value-of select="$emission-factor"/></factor-prop> + </emission> + </animation> + </PropertyList> + </xsl:document> + + <xsl:if test="@output"> + <xsl:document href="{$actions}" indent="yes"> + <xsl:call-template name="generated"/> + <PropertyList> + <background>Aircraft/Instruments-3d/mk-viii/assembly/transparent-bg.rgb</background> + <w>64</w> + <h>64</h> + + <instruments> + <instrument> + <x>32</x> + <y>32</y> + <w>64</w> + <h>64</h> + <w-base>64</w-base> + <h-base>64</h-base> + + <actions> + <action> + <name>open guard or operate button</name> + <button>0</button> + <x>-32</x> + <y>-32</y> + <w>64</w> + <h>32</h> + + <binding> + <command>press-cockpit-button</command> + <guarded><xsl:value-of select="$guarded"/></guarded> + <latching><xsl:value-of select="$latching"/></latching> + <prefix><xsl:value-of select="$prefix"/></prefix> + <discrete><xsl:value-of select="@output"/></discrete> + </binding> + + <mod-up> + <binding> + <command>release-cockpit-button</command> + <guarded><xsl:value-of select="$guarded"/></guarded> + <latching><xsl:value-of select="$latching"/></latching> + <prefix><xsl:value-of select="$prefix"/></prefix> + <discrete><xsl:value-of select="@output"/></discrete> + </binding> + </mod-up> + </action> + + <xsl:if test="$guarded='true'"> + <action> + <name>close guard</name> + <button>0</button> + <x>-32</x> + <y>0</y> + <w>64</w> + <h>32</h> + + <binding> + <command>property-assign</command> + <property><xsl:value-of select="$guard"/></property> + <value type="double">0.0</value> + </binding> + </action> + </xsl:if> + + </actions> + </instrument> + </instruments> + </PropertyList> + </xsl:document> + </xsl:if> + </xsl:template> + + <xsl:template match="assemblies"> + <xsl:apply-templates select="*"/> + </xsl:template> +</xsl:stylesheet> diff --git a/Aircraft/Instruments-3d/mk-viii/assembly/transparent-bg.rgb b/Aircraft/Instruments-3d/mk-viii/assembly/transparent-bg.rgb new file mode 100755 index 000000000..439e243a4 Binary files /dev/null and b/Aircraft/Instruments-3d/mk-viii/assembly/transparent-bg.rgb differ diff --git a/Aircraft/Instruments-3d/mk-viii/caution0-actions.xml b/Aircraft/Instruments-3d/mk-viii/caution0-actions.xml new file mode 100755 index 000000000..65b3f782a --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/caution0-actions.xml @@ -0,0 +1,43 @@ +<?xml version="1.0"?> +<!--automatically generated, do not edit--> +<PropertyList> + <background>Aircraft/Instruments-3d/mk-viii/assembly/transparent-bg.rgb</background> + <w>64</w> + <h>64</h> + <instruments> + <instrument> + <x>32</x> + <y>32</y> + <w>64</w> + <h>64</h> + <w-base>64</w-base> + <h-base>64</h-base> + <actions> + <action> + <name>open guard or operate button</name> + <button>0</button> + <x>-32</x> + <y>-32</y> + <w>64</w> + <h>32</h> + <binding> + <command>press-cockpit-button</command> + <guarded>false</guarded> + <latching>false</latching> + <prefix>/controls/assemblies/caution0</prefix> + <discrete>/instrumentation/mk-viii/inputs/discretes/glideslope-cancel</discrete> + </binding> + <mod-up> + <binding> + <command>release-cockpit-button</command> + <guarded>false</guarded> + <latching>false</latching> + <prefix>/controls/assemblies/caution0</prefix> + <discrete>/instrumentation/mk-viii/inputs/discretes/glideslope-cancel</discrete> + </binding> + </mod-up> + </action> + </actions> + </instrument> + </instruments> +</PropertyList> diff --git a/Aircraft/Instruments-3d/mk-viii/caution0.xml b/Aircraft/Instruments-3d/mk-viii/caution0.xml new file mode 100755 index 000000000..32e70850b --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/caution0.xml @@ -0,0 +1,77 @@ +<?xml version="1.0"?> +<!--automatically generated, do not edit--> +<PropertyList> + <path>../../../Aircraft/Instruments-3d/mk-viii/assembly/assembly.ac</path> + <panel> + <path>Aircraft/Instruments-3d/mk-viii/caution0-actions.xml</path> + <bottom-left> + <x-m>0.00314583</x-m> + <y-m>-0.00965716</y-m> + <z-m>-0.00965716</z-m> + </bottom-left> + <bottom-right> + <x-m>0.00314583</x-m> + <y-m>0.00965716</y-m> + <z-m>-0.00965716</z-m> + </bottom-right> + <top-left> + <x-m>0.00314583</x-m> + <y-m>-0.00965716</y-m> + <z-m>0.02897148</z-m> + </top-left> + </panel> + <animation> + <type>translate</type> + <object-name>lamp</object-name> + <property>/controls/assemblies/caution0-button</property> + <factor>-0.0040</factor> + <axis> + <x>1.0</x> + <y>0.0</y> + <z>0.0</z> + </axis> + </animation> + <animation> + <type>select</type> + <object-name>guard</object-name> + <condition> + <property>/null</property> + </condition> + </animation> + <animation> + <type>material</type> + <object-name>lamp-off</object-name> + <texture>Textures/gpws/caution-off.rgb</texture> + </animation> + <animation> + <type>material</type> + <object-name>lamp-on</object-name> + <texture>Textures/gpws/caution-on.rgb</texture> + </animation> + <animation> + <type>select</type> + <object-name>lamp-off</object-name> + <condition> + <not> + <property>/instrumentation/mk-viii/outputs/discretes/gpws-alert</property> + </not> + </condition> + </animation> + <animation> + <type>select</type> + <object-name>lamp-on</object-name> + <condition> + <property>/instrumentation/mk-viii/outputs/discretes/gpws-alert</property> + </condition> + </animation> + <animation> + <type>material</type> + <object-name>lamp-off</object-name> + <emission> + <red-prop>/sim/mk-viii/assemblies/emission/red</red-prop> + <green-prop>/sim/mk-viii/assemblies/emission/green</green-prop> + <blue-prop>/sim/mk-viii/assemblies/emission/blue</blue-prop> + <factor-prop>/sim/mk-viii/assemblies/emission/factor</factor-prop> + </emission> + </animation> +</PropertyList> diff --git a/Aircraft/Instruments-3d/mk-viii/caution1-actions.xml b/Aircraft/Instruments-3d/mk-viii/caution1-actions.xml new file mode 100755 index 000000000..9efaa8c6f --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/caution1-actions.xml @@ -0,0 +1,43 @@ +<?xml version="1.0"?> +<!--automatically generated, do not edit--> +<PropertyList> + <background>Aircraft/Instruments-3d/mk-viii/assembly/transparent-bg.rgb</background> + <w>64</w> + <h>64</h> + <instruments> + <instrument> + <x>32</x> + <y>32</y> + <w>64</w> + <h>64</h> + <w-base>64</w-base> + <h-base>64</h-base> + <actions> + <action> + <name>open guard or operate button</name> + <button>0</button> + <x>-32</x> + <y>-32</y> + <w>64</w> + <h>32</h> + <binding> + <command>press-cockpit-button</command> + <guarded>false</guarded> + <latching>false</latching> + <prefix>/controls/assemblies/caution1</prefix> + <discrete>/instrumentation/mk-viii/inputs/discretes/glideslope-cancel</discrete> + </binding> + <mod-up> + <binding> + <command>release-cockpit-button</command> + <guarded>false</guarded> + <latching>false</latching> + <prefix>/controls/assemblies/caution1</prefix> + <discrete>/instrumentation/mk-viii/inputs/discretes/glideslope-cancel</discrete> + </binding> + </mod-up> + </action> + </actions> + </instrument> + </instruments> +</PropertyList> diff --git a/Aircraft/Instruments-3d/mk-viii/caution1.xml b/Aircraft/Instruments-3d/mk-viii/caution1.xml new file mode 100755 index 000000000..3939d0b9a --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/caution1.xml @@ -0,0 +1,77 @@ +<?xml version="1.0"?> +<!--automatically generated, do not edit--> +<PropertyList> + <path>../../../Aircraft/Instruments-3d/mk-viii/assembly/assembly.ac</path> + <panel> + <path>Aircraft/Instruments-3d/mk-viii/caution1-actions.xml</path> + <bottom-left> + <x-m>0.00314583</x-m> + <y-m>-0.00965716</y-m> + <z-m>-0.00965716</z-m> + </bottom-left> + <bottom-right> + <x-m>0.00314583</x-m> + <y-m>0.00965716</y-m> + <z-m>-0.00965716</z-m> + </bottom-right> + <top-left> + <x-m>0.00314583</x-m> + <y-m>-0.00965716</y-m> + <z-m>0.02897148</z-m> + </top-left> + </panel> + <animation> + <type>translate</type> + <object-name>lamp</object-name> + <property>/controls/assemblies/caution1-button</property> + <factor>-0.0040</factor> + <axis> + <x>1.0</x> + <y>0.0</y> + <z>0.0</z> + </axis> + </animation> + <animation> + <type>select</type> + <object-name>guard</object-name> + <condition> + <property>/null</property> + </condition> + </animation> + <animation> + <type>material</type> + <object-name>lamp-off</object-name> + <texture>Textures/gpws/caution-off.rgb</texture> + </animation> + <animation> + <type>material</type> + <object-name>lamp-on</object-name> + <texture>Textures/gpws/caution-on.rgb</texture> + </animation> + <animation> + <type>select</type> + <object-name>lamp-off</object-name> + <condition> + <not> + <property>/instrumentation/mk-viii/outputs/discretes/gpws-alert</property> + </not> + </condition> + </animation> + <animation> + <type>select</type> + <object-name>lamp-on</object-name> + <condition> + <property>/instrumentation/mk-viii/outputs/discretes/gpws-alert</property> + </condition> + </animation> + <animation> + <type>material</type> + <object-name>lamp-off</object-name> + <emission> + <red-prop>/sim/mk-viii/assemblies/emission/red</red-prop> + <green-prop>/sim/mk-viii/assemblies/emission/green</green-prop> + <blue-prop>/sim/mk-viii/assemblies/emission/blue</blue-prop> + <factor-prop>/sim/mk-viii/assemblies/emission/factor</factor-prop> + </emission> + </animation> +</PropertyList> diff --git a/Aircraft/Instruments-3d/mk-viii/flap-override-actions.xml b/Aircraft/Instruments-3d/mk-viii/flap-override-actions.xml new file mode 100755 index 000000000..fea3b66b4 --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/flap-override-actions.xml @@ -0,0 +1,56 @@ +<?xml version="1.0"?> +<!--automatically generated, do not edit--> +<PropertyList> + <background>Aircraft/Instruments-3d/mk-viii/assembly/transparent-bg.rgb</background> + <w>64</w> + <h>64</h> + <instruments> + <instrument> + <x>32</x> + <y>32</y> + <w>64</w> + <h>64</h> + <w-base>64</w-base> + <h-base>64</h-base> + <actions> + <action> + <name>open guard or operate button</name> + <button>0</button> + <x>-32</x> + <y>-32</y> + <w>64</w> + <h>32</h> + <binding> + <command>press-cockpit-button</command> + <guarded>true</guarded> + <latching>false</latching> + <prefix>/controls/assemblies/flap-override</prefix> + <discrete>/instrumentation/mk-viii/inputs/discretes/momentary-flap-override</discrete> + </binding> + <mod-up> + <binding> + <command>release-cockpit-button</command> + <guarded>true</guarded> + <latching>false</latching> + <prefix>/controls/assemblies/flap-override</prefix> + <discrete>/instrumentation/mk-viii/inputs/discretes/momentary-flap-override</discrete> + </binding> + </mod-up> + </action> + <action> + <name>close guard</name> + <button>0</button> + <x>-32</x> + <y>0</y> + <w>64</w> + <h>32</h> + <binding> + <command>property-assign</command> + <property>/controls/assemblies/flap-override-guard</property> + <value type="double">0.0</value> + </binding> + </action> + </actions> + </instrument> + </instruments> +</PropertyList> diff --git a/Aircraft/Instruments-3d/mk-viii/flap-override.xml b/Aircraft/Instruments-3d/mk-viii/flap-override.xml new file mode 100755 index 000000000..ef31d0a6e --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/flap-override.xml @@ -0,0 +1,95 @@ +<?xml version="1.0"?> +<!--automatically generated, do not edit--> +<PropertyList> + <path>../../../Aircraft/Instruments-3d/mk-viii/assembly/assembly.ac</path> + <panel> + <path>Aircraft/Instruments-3d/mk-viii/flap-override-actions.xml</path> + <bottom-left> + <x-m>0.00314583</x-m> + <y-m>-0.00965716</y-m> + <z-m>-0.00965716</z-m> + </bottom-left> + <bottom-right> + <x-m>0.00314583</x-m> + <y-m>0.00965716</y-m> + <z-m>-0.00965716</z-m> + </bottom-right> + <top-left> + <x-m>0.00314583</x-m> + <y-m>-0.00965716</y-m> + <z-m>0.02897148</z-m> + </top-left> + </panel> + <animation> + <type>translate</type> + <object-name>lamp</object-name> + <property>/controls/assemblies/flap-override-button</property> + <factor>-0.0040</factor> + <axis> + <x>1.0</x> + <y>0.0</y> + <z>0.0</z> + </axis> + </animation> + <animation> + <type>select</type> + <object-name>guard</object-name> + <condition> + <not> + <property>/null</property> + </not> + </condition> + </animation> + <animation> + <type>rotate</type> + <object-name>guard</object-name> + <property>/controls/assemblies/flap-override-guard</property> + <factor>-90</factor> + <center> + <x-m>-0.00314583</x-m> + <y-m>0.0</y-m> + <z-m>0.00965716</z-m> + </center> + <axis> + <x>0.0</x> + <y>1.0</y> + <z>0.0</z> + </axis> + </animation> + <animation> + <type>material</type> + <object-name>lamp-off</object-name> + <texture>Textures/gpws/flap-override-off.rgb</texture> + </animation> + <animation> + <type>material</type> + <object-name>lamp-on</object-name> + <texture>Textures/gpws/flap-override-on.rgb</texture> + </animation> + <animation> + <type>select</type> + <object-name>lamp-off</object-name> + <condition> + <not> + <property>/instrumentation/mk-viii/outputs/discretes/flap-override</property> + </not> + </condition> + </animation> + <animation> + <type>select</type> + <object-name>lamp-on</object-name> + <condition> + <property>/instrumentation/mk-viii/outputs/discretes/flap-override</property> + </condition> + </animation> + <animation> + <type>material</type> + <object-name>lamp-off</object-name> + <emission> + <red-prop>/sim/mk-viii/assemblies/emission/red</red-prop> + <green-prop>/sim/mk-viii/assemblies/emission/green</green-prop> + <blue-prop>/sim/mk-viii/assemblies/emission/blue</blue-prop> + <factor-prop>/sim/mk-viii/assemblies/emission/factor</factor-prop> + </emission> + </animation> +</PropertyList> diff --git a/Aircraft/Instruments-3d/mk-viii/glideslope-cancelled.xml b/Aircraft/Instruments-3d/mk-viii/glideslope-cancelled.xml new file mode 100755 index 000000000..2a7393199 --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/glideslope-cancelled.xml @@ -0,0 +1,48 @@ +<?xml version="1.0"?> +<!--automatically generated, do not edit--> +<PropertyList> + <path>../../../Aircraft/Instruments-3d/mk-viii/assembly/assembly.ac</path> + <animation> + <type>select</type> + <object-name>guard</object-name> + <condition> + <property>/null</property> + </condition> + </animation> + <animation> + <type>material</type> + <object-name>lamp-off</object-name> + <texture>Textures/gpws/glideslope-cancelled-off.rgb</texture> + </animation> + <animation> + <type>material</type> + <object-name>lamp-on</object-name> + <texture>Textures/gpws/glideslope-cancelled-on.rgb</texture> + </animation> + <animation> + <type>select</type> + <object-name>lamp-off</object-name> + <condition> + <not> + <property>/instrumentation/mk-viii/outputs/discretes/glideslope-cancel</property> + </not> + </condition> + </animation> + <animation> + <type>select</type> + <object-name>lamp-on</object-name> + <condition> + <property>/instrumentation/mk-viii/outputs/discretes/glideslope-cancel</property> + </condition> + </animation> + <animation> + <type>material</type> + <object-name>lamp-off</object-name> + <emission> + <red-prop>/sim/mk-viii/assemblies/emission/red</red-prop> + <green-prop>/sim/mk-viii/assemblies/emission/green</green-prop> + <blue-prop>/sim/mk-viii/assemblies/emission/blue</blue-prop> + <factor-prop>/sim/mk-viii/assemblies/emission/factor</factor-prop> + </emission> + </animation> +</PropertyList> diff --git a/Aircraft/Instruments-3d/mk-viii/inhibit-actions.xml b/Aircraft/Instruments-3d/mk-viii/inhibit-actions.xml new file mode 100755 index 000000000..f699a9abe --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/inhibit-actions.xml @@ -0,0 +1,56 @@ +<?xml version="1.0"?> +<!--automatically generated, do not edit--> +<PropertyList> + <background>Aircraft/Instruments-3d/mk-viii/assembly/transparent-bg.rgb</background> + <w>64</w> + <h>64</h> + <instruments> + <instrument> + <x>32</x> + <y>32</y> + <w>64</w> + <h>64</h> + <w-base>64</w-base> + <h-base>64</h-base> + <actions> + <action> + <name>open guard or operate button</name> + <button>0</button> + <x>-32</x> + <y>-32</y> + <w>64</w> + <h>32</h> + <binding> + <command>press-cockpit-button</command> + <guarded>true</guarded> + <latching>true</latching> + <prefix>/controls/assemblies/inhibit</prefix> + <discrete>/instrumentation/mk-viii/inputs/discretes/gpws-inhibit</discrete> + </binding> + <mod-up> + <binding> + <command>release-cockpit-button</command> + <guarded>true</guarded> + <latching>true</latching> + <prefix>/controls/assemblies/inhibit</prefix> + <discrete>/instrumentation/mk-viii/inputs/discretes/gpws-inhibit</discrete> + </binding> + </mod-up> + </action> + <action> + <name>close guard</name> + <button>0</button> + <x>-32</x> + <y>0</y> + <w>64</w> + <h>32</h> + <binding> + <command>property-assign</command> + <property>/controls/assemblies/inhibit-guard</property> + <value type="double">0.0</value> + </binding> + </action> + </actions> + </instrument> + </instruments> +</PropertyList> diff --git a/Aircraft/Instruments-3d/mk-viii/inhibit.xml b/Aircraft/Instruments-3d/mk-viii/inhibit.xml new file mode 100755 index 000000000..924b748a9 --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/inhibit.xml @@ -0,0 +1,95 @@ +<?xml version="1.0"?> +<!--automatically generated, do not edit--> +<PropertyList> + <path>../../../Aircraft/Instruments-3d/mk-viii/assembly/assembly.ac</path> + <panel> + <path>Aircraft/Instruments-3d/mk-viii/inhibit-actions.xml</path> + <bottom-left> + <x-m>0.00314583</x-m> + <y-m>-0.00965716</y-m> + <z-m>-0.00965716</z-m> + </bottom-left> + <bottom-right> + <x-m>0.00314583</x-m> + <y-m>0.00965716</y-m> + <z-m>-0.00965716</z-m> + </bottom-right> + <top-left> + <x-m>0.00314583</x-m> + <y-m>-0.00965716</y-m> + <z-m>0.02897148</z-m> + </top-left> + </panel> + <animation> + <type>translate</type> + <object-name>lamp</object-name> + <property>/controls/assemblies/inhibit-button</property> + <factor>-0.0040</factor> + <axis> + <x>1.0</x> + <y>0.0</y> + <z>0.0</z> + </axis> + </animation> + <animation> + <type>select</type> + <object-name>guard</object-name> + <condition> + <not> + <property>/null</property> + </not> + </condition> + </animation> + <animation> + <type>rotate</type> + <object-name>guard</object-name> + <property>/controls/assemblies/inhibit-guard</property> + <factor>-90</factor> + <center> + <x-m>-0.00314583</x-m> + <y-m>0.0</y-m> + <z-m>0.00965716</z-m> + </center> + <axis> + <x>0.0</x> + <y>1.0</y> + <z>0.0</z> + </axis> + </animation> + <animation> + <type>material</type> + <object-name>lamp-off</object-name> + <texture>Textures/gpws/inhibit-off.rgb</texture> + </animation> + <animation> + <type>material</type> + <object-name>lamp-on</object-name> + <texture>Textures/gpws/inhibit-on.rgb</texture> + </animation> + <animation> + <type>select</type> + <object-name>lamp-off</object-name> + <condition> + <not> + <property>/controls/assemblies/inhibit-button</property> + </not> + </condition> + </animation> + <animation> + <type>select</type> + <object-name>lamp-on</object-name> + <condition> + <property>/controls/assemblies/inhibit-button</property> + </condition> + </animation> + <animation> + <type>material</type> + <object-name>lamp-off</object-name> + <emission> + <red-prop>/sim/mk-viii/assemblies/emission/red</red-prop> + <green-prop>/sim/mk-viii/assemblies/emission/green</green-prop> + <blue-prop>/sim/mk-viii/assemblies/emission/blue</blue-prop> + <factor-prop>/sim/mk-viii/assemblies/emission/factor</factor-prop> + </emission> + </animation> +</PropertyList> diff --git a/Aircraft/Instruments-3d/mk-viii/inop.xml b/Aircraft/Instruments-3d/mk-viii/inop.xml new file mode 100755 index 000000000..0a27f3abc --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/inop.xml @@ -0,0 +1,48 @@ +<?xml version="1.0"?> +<!--automatically generated, do not edit--> +<PropertyList> + <path>../../../Aircraft/Instruments-3d/mk-viii/assembly/assembly.ac</path> + <animation> + <type>select</type> + <object-name>guard</object-name> + <condition> + <property>/null</property> + </condition> + </animation> + <animation> + <type>material</type> + <object-name>lamp-off</object-name> + <texture>Textures/gpws/inop-off.rgb</texture> + </animation> + <animation> + <type>material</type> + <object-name>lamp-on</object-name> + <texture>Textures/gpws/inop-on.rgb</texture> + </animation> + <animation> + <type>select</type> + <object-name>lamp-off</object-name> + <condition> + <not> + <property>/instrumentation/mk-viii/outputs/discretes/gpws-inop</property> + </not> + </condition> + </animation> + <animation> + <type>select</type> + <object-name>lamp-on</object-name> + <condition> + <property>/instrumentation/mk-viii/outputs/discretes/gpws-inop</property> + </condition> + </animation> + <animation> + <type>material</type> + <object-name>lamp-off</object-name> + <emission> + <red-prop>/sim/mk-viii/assemblies/emission/red</red-prop> + <green-prop>/sim/mk-viii/assemblies/emission/green</green-prop> + <blue-prop>/sim/mk-viii/assemblies/emission/blue</blue-prop> + <factor-prop>/sim/mk-viii/assemblies/emission/factor</factor-prop> + </emission> + </animation> +</PropertyList> diff --git a/Aircraft/Instruments-3d/mk-viii/mk-viii.xml b/Aircraft/Instruments-3d/mk-viii/mk-viii.xml new file mode 100755 index 000000000..55f99d325 --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/mk-viii.xml @@ -0,0 +1,68 @@ +<?xml version="1.0"?> +<assemblies + fg-root="../../.." + pwd="Aircraft/Instruments-3d/mk-viii" + texture-path="Textures/gpws" + emission-red="/sim/mk-viii/assemblies/emission/red" + emission-green="/sim/mk-viii/assemblies/emission/green" + emission-blue="/sim/mk-viii/assemblies/emission/blue" + emission-factor="/sim/mk-viii/assemblies/emission/factor"> + + <assembly + name="caution0" + texture="caution" + input="/instrumentation/mk-viii/outputs/discretes/gpws-alert" + output="/instrumentation/mk-viii/inputs/discretes/glideslope-cancel"/> + + <assembly + name="caution1" + texture="caution" + input="/instrumentation/mk-viii/outputs/discretes/gpws-alert" + output="/instrumentation/mk-viii/inputs/discretes/glideslope-cancel"/> + + <assembly + name="flap-override" + input="/instrumentation/mk-viii/outputs/discretes/flap-override" + output="/instrumentation/mk-viii/inputs/discretes/momentary-flap-override" + guarded="true"/> + + <assembly + name="glideslope-cancelled" + input="/instrumentation/mk-viii/outputs/discretes/glideslope-cancel"/> + + <assembly + name="inhibit" + output="/instrumentation/mk-viii/inputs/discretes/gpws-inhibit" + guarded="true"/> + + <assembly + name="inop" + input="/instrumentation/mk-viii/outputs/discretes/gpws-inop"/> + + <assembly + name="steep-approach" + input="/instrumentation/mk-viii/outputs/discretes/steep-approach" + output="/instrumentation/mk-viii/inputs/discretes/steep-approach" + guarded="true"/> + + <assembly + name="terrain-fail" + input="/instrumentation/mk-viii/outputs/discretes/tad-inop"/> + + <assembly + name="terrain-inhibit" + output="/instrumentation/mk-viii/inputs/discretes/ta-tcf-inhibit" + guarded="true"/> + + <assembly + name="warning0" + texture="warning" + input="/instrumentation/mk-viii/outputs/discretes/gpws-warning" + output="/instrumentation/mk-viii/inputs/discretes/self-test"/> + + <assembly + name="warning1" + texture="warning" + input="/instrumentation/mk-viii/outputs/discretes/gpws-warning" + output="/instrumentation/mk-viii/inputs/discretes/self-test"/> +</assemblies> diff --git a/Aircraft/Instruments-3d/mk-viii/steep-approach-actions.xml b/Aircraft/Instruments-3d/mk-viii/steep-approach-actions.xml new file mode 100755 index 000000000..7f1348ec8 --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/steep-approach-actions.xml @@ -0,0 +1,56 @@ +<?xml version="1.0"?> +<!--automatically generated, do not edit--> +<PropertyList> + <background>Aircraft/Instruments-3d/mk-viii/assembly/transparent-bg.rgb</background> + <w>64</w> + <h>64</h> + <instruments> + <instrument> + <x>32</x> + <y>32</y> + <w>64</w> + <h>64</h> + <w-base>64</w-base> + <h-base>64</h-base> + <actions> + <action> + <name>open guard or operate button</name> + <button>0</button> + <x>-32</x> + <y>-32</y> + <w>64</w> + <h>32</h> + <binding> + <command>press-cockpit-button</command> + <guarded>true</guarded> + <latching>false</latching> + <prefix>/controls/assemblies/steep-approach</prefix> + <discrete>/instrumentation/mk-viii/inputs/discretes/steep-approach</discrete> + </binding> + <mod-up> + <binding> + <command>release-cockpit-button</command> + <guarded>true</guarded> + <latching>false</latching> + <prefix>/controls/assemblies/steep-approach</prefix> + <discrete>/instrumentation/mk-viii/inputs/discretes/steep-approach</discrete> + </binding> + </mod-up> + </action> + <action> + <name>close guard</name> + <button>0</button> + <x>-32</x> + <y>0</y> + <w>64</w> + <h>32</h> + <binding> + <command>property-assign</command> + <property>/controls/assemblies/steep-approach-guard</property> + <value type="double">0.0</value> + </binding> + </action> + </actions> + </instrument> + </instruments> +</PropertyList> diff --git a/Aircraft/Instruments-3d/mk-viii/steep-approach.xml b/Aircraft/Instruments-3d/mk-viii/steep-approach.xml new file mode 100755 index 000000000..7c44da088 --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/steep-approach.xml @@ -0,0 +1,95 @@ +<?xml version="1.0"?> +<!--automatically generated, do not edit--> +<PropertyList> + <path>../../../Aircraft/Instruments-3d/mk-viii/assembly/assembly.ac</path> + <panel> + <path>Aircraft/Instruments-3d/mk-viii/steep-approach-actions.xml</path> + <bottom-left> + <x-m>0.00314583</x-m> + <y-m>-0.00965716</y-m> + <z-m>-0.00965716</z-m> + </bottom-left> + <bottom-right> + <x-m>0.00314583</x-m> + <y-m>0.00965716</y-m> + <z-m>-0.00965716</z-m> + </bottom-right> + <top-left> + <x-m>0.00314583</x-m> + <y-m>-0.00965716</y-m> + <z-m>0.02897148</z-m> + </top-left> + </panel> + <animation> + <type>translate</type> + <object-name>lamp</object-name> + <property>/controls/assemblies/steep-approach-button</property> + <factor>-0.0040</factor> + <axis> + <x>1.0</x> + <y>0.0</y> + <z>0.0</z> + </axis> + </animation> + <animation> + <type>select</type> + <object-name>guard</object-name> + <condition> + <not> + <property>/null</property> + </not> + </condition> + </animation> + <animation> + <type>rotate</type> + <object-name>guard</object-name> + <property>/controls/assemblies/steep-approach-guard</property> + <factor>-90</factor> + <center> + <x-m>-0.00314583</x-m> + <y-m>0.0</y-m> + <z-m>0.00965716</z-m> + </center> + <axis> + <x>0.0</x> + <y>1.0</y> + <z>0.0</z> + </axis> + </animation> + <animation> + <type>material</type> + <object-name>lamp-off</object-name> + <texture>Textures/gpws/steep-approach-off.rgb</texture> + </animation> + <animation> + <type>material</type> + <object-name>lamp-on</object-name> + <texture>Textures/gpws/steep-approach-on.rgb</texture> + </animation> + <animation> + <type>select</type> + <object-name>lamp-off</object-name> + <condition> + <not> + <property>/instrumentation/mk-viii/outputs/discretes/steep-approach</property> + </not> + </condition> + </animation> + <animation> + <type>select</type> + <object-name>lamp-on</object-name> + <condition> + <property>/instrumentation/mk-viii/outputs/discretes/steep-approach</property> + </condition> + </animation> + <animation> + <type>material</type> + <object-name>lamp-off</object-name> + <emission> + <red-prop>/sim/mk-viii/assemblies/emission/red</red-prop> + <green-prop>/sim/mk-viii/assemblies/emission/green</green-prop> + <blue-prop>/sim/mk-viii/assemblies/emission/blue</blue-prop> + <factor-prop>/sim/mk-viii/assemblies/emission/factor</factor-prop> + </emission> + </animation> +</PropertyList> diff --git a/Aircraft/Instruments-3d/mk-viii/terrain-fail.xml b/Aircraft/Instruments-3d/mk-viii/terrain-fail.xml new file mode 100755 index 000000000..67d6d6d7d --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/terrain-fail.xml @@ -0,0 +1,48 @@ +<?xml version="1.0"?> +<!--automatically generated, do not edit--> +<PropertyList> + <path>../../../Aircraft/Instruments-3d/mk-viii/assembly/assembly.ac</path> + <animation> + <type>select</type> + <object-name>guard</object-name> + <condition> + <property>/null</property> + </condition> + </animation> + <animation> + <type>material</type> + <object-name>lamp-off</object-name> + <texture>Textures/gpws/terrain-fail-off.rgb</texture> + </animation> + <animation> + <type>material</type> + <object-name>lamp-on</object-name> + <texture>Textures/gpws/terrain-fail-on.rgb</texture> + </animation> + <animation> + <type>select</type> + <object-name>lamp-off</object-name> + <condition> + <not> + <property>/instrumentation/mk-viii/outputs/discretes/tad-inop</property> + </not> + </condition> + </animation> + <animation> + <type>select</type> + <object-name>lamp-on</object-name> + <condition> + <property>/instrumentation/mk-viii/outputs/discretes/tad-inop</property> + </condition> + </animation> + <animation> + <type>material</type> + <object-name>lamp-off</object-name> + <emission> + <red-prop>/sim/mk-viii/assemblies/emission/red</red-prop> + <green-prop>/sim/mk-viii/assemblies/emission/green</green-prop> + <blue-prop>/sim/mk-viii/assemblies/emission/blue</blue-prop> + <factor-prop>/sim/mk-viii/assemblies/emission/factor</factor-prop> + </emission> + </animation> +</PropertyList> diff --git a/Aircraft/Instruments-3d/mk-viii/terrain-inhibit-actions.xml b/Aircraft/Instruments-3d/mk-viii/terrain-inhibit-actions.xml new file mode 100755 index 000000000..899cea9e9 --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/terrain-inhibit-actions.xml @@ -0,0 +1,56 @@ +<?xml version="1.0"?> +<!--automatically generated, do not edit--> +<PropertyList> + <background>Aircraft/Instruments-3d/mk-viii/assembly/transparent-bg.rgb</background> + <w>64</w> + <h>64</h> + <instruments> + <instrument> + <x>32</x> + <y>32</y> + <w>64</w> + <h>64</h> + <w-base>64</w-base> + <h-base>64</h-base> + <actions> + <action> + <name>open guard or operate button</name> + <button>0</button> + <x>-32</x> + <y>-32</y> + <w>64</w> + <h>32</h> + <binding> + <command>press-cockpit-button</command> + <guarded>true</guarded> + <latching>true</latching> + <prefix>/controls/assemblies/terrain-inhibit</prefix> + <discrete>/instrumentation/mk-viii/inputs/discretes/ta-tcf-inhibit</discrete> + </binding> + <mod-up> + <binding> + <command>release-cockpit-button</command> + <guarded>true</guarded> + <latching>true</latching> + <prefix>/controls/assemblies/terrain-inhibit</prefix> + <discrete>/instrumentation/mk-viii/inputs/discretes/ta-tcf-inhibit</discrete> + </binding> + </mod-up> + </action> + <action> + <name>close guard</name> + <button>0</button> + <x>-32</x> + <y>0</y> + <w>64</w> + <h>32</h> + <binding> + <command>property-assign</command> + <property>/controls/assemblies/terrain-inhibit-guard</property> + <value type="double">0.0</value> + </binding> + </action> + </actions> + </instrument> + </instruments> +</PropertyList> diff --git a/Aircraft/Instruments-3d/mk-viii/terrain-inhibit.xml b/Aircraft/Instruments-3d/mk-viii/terrain-inhibit.xml new file mode 100755 index 000000000..9110be138 --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/terrain-inhibit.xml @@ -0,0 +1,95 @@ +<?xml version="1.0"?> +<!--automatically generated, do not edit--> +<PropertyList> + <path>../../../Aircraft/Instruments-3d/mk-viii/assembly/assembly.ac</path> + <panel> + <path>Aircraft/Instruments-3d/mk-viii/terrain-inhibit-actions.xml</path> + <bottom-left> + <x-m>0.00314583</x-m> + <y-m>-0.00965716</y-m> + <z-m>-0.00965716</z-m> + </bottom-left> + <bottom-right> + <x-m>0.00314583</x-m> + <y-m>0.00965716</y-m> + <z-m>-0.00965716</z-m> + </bottom-right> + <top-left> + <x-m>0.00314583</x-m> + <y-m>-0.00965716</y-m> + <z-m>0.02897148</z-m> + </top-left> + </panel> + <animation> + <type>translate</type> + <object-name>lamp</object-name> + <property>/controls/assemblies/terrain-inhibit-button</property> + <factor>-0.0040</factor> + <axis> + <x>1.0</x> + <y>0.0</y> + <z>0.0</z> + </axis> + </animation> + <animation> + <type>select</type> + <object-name>guard</object-name> + <condition> + <not> + <property>/null</property> + </not> + </condition> + </animation> + <animation> + <type>rotate</type> + <object-name>guard</object-name> + <property>/controls/assemblies/terrain-inhibit-guard</property> + <factor>-90</factor> + <center> + <x-m>-0.00314583</x-m> + <y-m>0.0</y-m> + <z-m>0.00965716</z-m> + </center> + <axis> + <x>0.0</x> + <y>1.0</y> + <z>0.0</z> + </axis> + </animation> + <animation> + <type>material</type> + <object-name>lamp-off</object-name> + <texture>Textures/gpws/terrain-inhibit-off.rgb</texture> + </animation> + <animation> + <type>material</type> + <object-name>lamp-on</object-name> + <texture>Textures/gpws/terrain-inhibit-on.rgb</texture> + </animation> + <animation> + <type>select</type> + <object-name>lamp-off</object-name> + <condition> + <not> + <property>/controls/assemblies/terrain-inhibit-button</property> + </not> + </condition> + </animation> + <animation> + <type>select</type> + <object-name>lamp-on</object-name> + <condition> + <property>/controls/assemblies/terrain-inhibit-button</property> + </condition> + </animation> + <animation> + <type>material</type> + <object-name>lamp-off</object-name> + <emission> + <red-prop>/sim/mk-viii/assemblies/emission/red</red-prop> + <green-prop>/sim/mk-viii/assemblies/emission/green</green-prop> + <blue-prop>/sim/mk-viii/assemblies/emission/blue</blue-prop> + <factor-prop>/sim/mk-viii/assemblies/emission/factor</factor-prop> + </emission> + </animation> +</PropertyList> diff --git a/Aircraft/Instruments-3d/mk-viii/warning0-actions.xml b/Aircraft/Instruments-3d/mk-viii/warning0-actions.xml new file mode 100755 index 000000000..a7dff9c9b --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/warning0-actions.xml @@ -0,0 +1,43 @@ +<?xml version="1.0"?> +<!--automatically generated, do not edit--> +<PropertyList> + <background>Aircraft/Instruments-3d/mk-viii/assembly/transparent-bg.rgb</background> + <w>64</w> + <h>64</h> + <instruments> + <instrument> + <x>32</x> + <y>32</y> + <w>64</w> + <h>64</h> + <w-base>64</w-base> + <h-base>64</h-base> + <actions> + <action> + <name>open guard or operate button</name> + <button>0</button> + <x>-32</x> + <y>-32</y> + <w>64</w> + <h>32</h> + <binding> + <command>press-cockpit-button</command> + <guarded>false</guarded> + <latching>false</latching> + <prefix>/controls/assemblies/warning0</prefix> + <discrete>/instrumentation/mk-viii/inputs/discretes/self-test</discrete> + </binding> + <mod-up> + <binding> + <command>release-cockpit-button</command> + <guarded>false</guarded> + <latching>false</latching> + <prefix>/controls/assemblies/warning0</prefix> + <discrete>/instrumentation/mk-viii/inputs/discretes/self-test</discrete> + </binding> + </mod-up> + </action> + </actions> + </instrument> + </instruments> +</PropertyList> diff --git a/Aircraft/Instruments-3d/mk-viii/warning0.xml b/Aircraft/Instruments-3d/mk-viii/warning0.xml new file mode 100755 index 000000000..fdd7e33d0 --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/warning0.xml @@ -0,0 +1,77 @@ +<?xml version="1.0"?> +<!--automatically generated, do not edit--> +<PropertyList> + <path>../../../Aircraft/Instruments-3d/mk-viii/assembly/assembly.ac</path> + <panel> + <path>Aircraft/Instruments-3d/mk-viii/warning0-actions.xml</path> + <bottom-left> + <x-m>0.00314583</x-m> + <y-m>-0.00965716</y-m> + <z-m>-0.00965716</z-m> + </bottom-left> + <bottom-right> + <x-m>0.00314583</x-m> + <y-m>0.00965716</y-m> + <z-m>-0.00965716</z-m> + </bottom-right> + <top-left> + <x-m>0.00314583</x-m> + <y-m>-0.00965716</y-m> + <z-m>0.02897148</z-m> + </top-left> + </panel> + <animation> + <type>translate</type> + <object-name>lamp</object-name> + <property>/controls/assemblies/warning0-button</property> + <factor>-0.0040</factor> + <axis> + <x>1.0</x> + <y>0.0</y> + <z>0.0</z> + </axis> + </animation> + <animation> + <type>select</type> + <object-name>guard</object-name> + <condition> + <property>/null</property> + </condition> + </animation> + <animation> + <type>material</type> + <object-name>lamp-off</object-name> + <texture>Textures/gpws/warning-off.rgb</texture> + </animation> + <animation> + <type>material</type> + <object-name>lamp-on</object-name> + <texture>Textures/gpws/warning-on.rgb</texture> + </animation> + <animation> + <type>select</type> + <object-name>lamp-off</object-name> + <condition> + <not> + <property>/instrumentation/mk-viii/outputs/discretes/gpws-warning</property> + </not> + </condition> + </animation> + <animation> + <type>select</type> + <object-name>lamp-on</object-name> + <condition> + <property>/instrumentation/mk-viii/outputs/discretes/gpws-warning</property> + </condition> + </animation> + <animation> + <type>material</type> + <object-name>lamp-off</object-name> + <emission> + <red-prop>/sim/mk-viii/assemblies/emission/red</red-prop> + <green-prop>/sim/mk-viii/assemblies/emission/green</green-prop> + <blue-prop>/sim/mk-viii/assemblies/emission/blue</blue-prop> + <factor-prop>/sim/mk-viii/assemblies/emission/factor</factor-prop> + </emission> + </animation> +</PropertyList> diff --git a/Aircraft/Instruments-3d/mk-viii/warning1-actions.xml b/Aircraft/Instruments-3d/mk-viii/warning1-actions.xml new file mode 100755 index 000000000..fa96888cc --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/warning1-actions.xml @@ -0,0 +1,43 @@ +<?xml version="1.0"?> +<!--automatically generated, do not edit--> +<PropertyList> + <background>Aircraft/Instruments-3d/mk-viii/assembly/transparent-bg.rgb</background> + <w>64</w> + <h>64</h> + <instruments> + <instrument> + <x>32</x> + <y>32</y> + <w>64</w> + <h>64</h> + <w-base>64</w-base> + <h-base>64</h-base> + <actions> + <action> + <name>open guard or operate button</name> + <button>0</button> + <x>-32</x> + <y>-32</y> + <w>64</w> + <h>32</h> + <binding> + <command>press-cockpit-button</command> + <guarded>false</guarded> + <latching>false</latching> + <prefix>/controls/assemblies/warning1</prefix> + <discrete>/instrumentation/mk-viii/inputs/discretes/self-test</discrete> + </binding> + <mod-up> + <binding> + <command>release-cockpit-button</command> + <guarded>false</guarded> + <latching>false</latching> + <prefix>/controls/assemblies/warning1</prefix> + <discrete>/instrumentation/mk-viii/inputs/discretes/self-test</discrete> + </binding> + </mod-up> + </action> + </actions> + </instrument> + </instruments> +</PropertyList> diff --git a/Aircraft/Instruments-3d/mk-viii/warning1.xml b/Aircraft/Instruments-3d/mk-viii/warning1.xml new file mode 100755 index 000000000..7bba41dd9 --- /dev/null +++ b/Aircraft/Instruments-3d/mk-viii/warning1.xml @@ -0,0 +1,77 @@ +<?xml version="1.0"?> +<!--automatically generated, do not edit--> +<PropertyList> + <path>../../../Aircraft/Instruments-3d/mk-viii/assembly/assembly.ac</path> + <panel> + <path>Aircraft/Instruments-3d/mk-viii/warning1-actions.xml</path> + <bottom-left> + <x-m>0.00314583</x-m> + <y-m>-0.00965716</y-m> + <z-m>-0.00965716</z-m> + </bottom-left> + <bottom-right> + <x-m>0.00314583</x-m> + <y-m>0.00965716</y-m> + <z-m>-0.00965716</z-m> + </bottom-right> + <top-left> + <x-m>0.00314583</x-m> + <y-m>-0.00965716</y-m> + <z-m>0.02897148</z-m> + </top-left> + </panel> + <animation> + <type>translate</type> + <object-name>lamp</object-name> + <property>/controls/assemblies/warning1-button</property> + <factor>-0.0040</factor> + <axis> + <x>1.0</x> + <y>0.0</y> + <z>0.0</z> + </axis> + </animation> + <animation> + <type>select</type> + <object-name>guard</object-name> + <condition> + <property>/null</property> + </condition> + </animation> + <animation> + <type>material</type> + <object-name>lamp-off</object-name> + <texture>Textures/gpws/warning-off.rgb</texture> + </animation> + <animation> + <type>material</type> + <object-name>lamp-on</object-name> + <texture>Textures/gpws/warning-on.rgb</texture> + </animation> + <animation> + <type>select</type> + <object-name>lamp-off</object-name> + <condition> + <not> + <property>/instrumentation/mk-viii/outputs/discretes/gpws-warning</property> + </not> + </condition> + </animation> + <animation> + <type>select</type> + <object-name>lamp-on</object-name> + <condition> + <property>/instrumentation/mk-viii/outputs/discretes/gpws-warning</property> + </condition> + </animation> + <animation> + <type>material</type> + <object-name>lamp-off</object-name> + <emission> + <red-prop>/sim/mk-viii/assemblies/emission/red</red-prop> + <green-prop>/sim/mk-viii/assemblies/emission/green</green-prop> + <blue-prop>/sim/mk-viii/assemblies/emission/blue</blue-prop> + <factor-prop>/sim/mk-viii/assemblies/emission/factor</factor-prop> + </emission> + </animation> +</PropertyList> diff --git a/Sounds/mk-viii/500-above.wav b/Sounds/mk-viii/500-above.wav new file mode 100755 index 000000000..a0b405400 Binary files /dev/null and b/Sounds/mk-viii/500-above.wav differ diff --git a/Sounds/mk-viii/altitude-10.wav b/Sounds/mk-viii/altitude-10.wav new file mode 100755 index 000000000..e92bd0918 Binary files /dev/null and b/Sounds/mk-viii/altitude-10.wav differ diff --git a/Sounds/mk-viii/altitude-100.wav b/Sounds/mk-viii/altitude-100.wav new file mode 100755 index 000000000..93942d614 Binary files /dev/null and b/Sounds/mk-viii/altitude-100.wav differ diff --git a/Sounds/mk-viii/altitude-1000.wav b/Sounds/mk-viii/altitude-1000.wav new file mode 100755 index 000000000..f22d9f070 Binary files /dev/null and b/Sounds/mk-viii/altitude-1000.wav differ diff --git a/Sounds/mk-viii/altitude-20.wav b/Sounds/mk-viii/altitude-20.wav new file mode 100755 index 000000000..1005ee789 Binary files /dev/null and b/Sounds/mk-viii/altitude-20.wav differ diff --git a/Sounds/mk-viii/altitude-200.wav b/Sounds/mk-viii/altitude-200.wav new file mode 100755 index 000000000..386b7ec8b Binary files /dev/null and b/Sounds/mk-viii/altitude-200.wav differ diff --git a/Sounds/mk-viii/altitude-30.wav b/Sounds/mk-viii/altitude-30.wav new file mode 100755 index 000000000..9a75ff449 Binary files /dev/null and b/Sounds/mk-viii/altitude-30.wav differ diff --git a/Sounds/mk-viii/altitude-300.wav b/Sounds/mk-viii/altitude-300.wav new file mode 100755 index 000000000..e4c4393c1 Binary files /dev/null and b/Sounds/mk-viii/altitude-300.wav differ diff --git a/Sounds/mk-viii/altitude-40.wav b/Sounds/mk-viii/altitude-40.wav new file mode 100755 index 000000000..60b5b5434 Binary files /dev/null and b/Sounds/mk-viii/altitude-40.wav differ diff --git a/Sounds/mk-viii/altitude-400.wav b/Sounds/mk-viii/altitude-400.wav new file mode 100755 index 000000000..8a451d688 Binary files /dev/null and b/Sounds/mk-viii/altitude-400.wav differ diff --git a/Sounds/mk-viii/altitude-50.wav b/Sounds/mk-viii/altitude-50.wav new file mode 100755 index 000000000..883bf23af Binary files /dev/null and b/Sounds/mk-viii/altitude-50.wav differ diff --git a/Sounds/mk-viii/altitude-500.wav b/Sounds/mk-viii/altitude-500.wav new file mode 100755 index 000000000..b27f0d562 Binary files /dev/null and b/Sounds/mk-viii/altitude-500.wav differ diff --git a/Sounds/mk-viii/application-data-base-failed.wav b/Sounds/mk-viii/application-data-base-failed.wav new file mode 100755 index 000000000..b7c57ae7f Binary files /dev/null and b/Sounds/mk-viii/application-data-base-failed.wav differ diff --git a/Sounds/mk-viii/bank-angle-inop.wav b/Sounds/mk-viii/bank-angle-inop.wav new file mode 100755 index 000000000..0c4c8bac0 Binary files /dev/null and b/Sounds/mk-viii/bank-angle-inop.wav differ diff --git a/Sounds/mk-viii/bank-angle.wav b/Sounds/mk-viii/bank-angle.wav new file mode 100755 index 000000000..06d332c39 Binary files /dev/null and b/Sounds/mk-viii/bank-angle.wav differ diff --git a/Sounds/mk-viii/callouts-inop.wav b/Sounds/mk-viii/callouts-inop.wav new file mode 100755 index 000000000..47e2ceeb0 Binary files /dev/null and b/Sounds/mk-viii/callouts-inop.wav differ diff --git a/Sounds/mk-viii/configuration-type-invalid.wav b/Sounds/mk-viii/configuration-type-invalid.wav new file mode 100755 index 000000000..3dfa69abe Binary files /dev/null and b/Sounds/mk-viii/configuration-type-invalid.wav differ diff --git a/Sounds/mk-viii/dont-sink.wav b/Sounds/mk-viii/dont-sink.wav new file mode 100755 index 000000000..93faa9f6d Binary files /dev/null and b/Sounds/mk-viii/dont-sink.wav differ diff --git a/Sounds/mk-viii/glideslope-inop.wav b/Sounds/mk-viii/glideslope-inop.wav new file mode 100755 index 000000000..0840c4bad Binary files /dev/null and b/Sounds/mk-viii/glideslope-inop.wav differ diff --git a/Sounds/mk-viii/glideslope.wav b/Sounds/mk-viii/glideslope.wav new file mode 100755 index 000000000..e9a563b3c Binary files /dev/null and b/Sounds/mk-viii/glideslope.wav differ diff --git a/Sounds/mk-viii/gpws-inop.wav b/Sounds/mk-viii/gpws-inop.wav new file mode 100755 index 000000000..54b78da45 Binary files /dev/null and b/Sounds/mk-viii/gpws-inop.wav differ diff --git a/Sounds/mk-viii/minimums.wav b/Sounds/mk-viii/minimums.wav new file mode 100755 index 000000000..ed3a44532 Binary files /dev/null and b/Sounds/mk-viii/minimums.wav differ diff --git a/Sounds/mk-viii/pull-up.wav b/Sounds/mk-viii/pull-up.wav new file mode 100755 index 000000000..419b06b02 Binary files /dev/null and b/Sounds/mk-viii/pull-up.wav differ diff --git a/Sounds/mk-viii/sink-rate.wav b/Sounds/mk-viii/sink-rate.wav new file mode 100755 index 000000000..afdd53cdd Binary files /dev/null and b/Sounds/mk-viii/sink-rate.wav differ diff --git a/Sounds/mk-viii/terrain.wav b/Sounds/mk-viii/terrain.wav new file mode 100755 index 000000000..a38840b64 Binary files /dev/null and b/Sounds/mk-viii/terrain.wav differ diff --git a/Sounds/mk-viii/too-low-flaps.wav b/Sounds/mk-viii/too-low-flaps.wav new file mode 100755 index 000000000..5ee285178 Binary files /dev/null and b/Sounds/mk-viii/too-low-flaps.wav differ diff --git a/Sounds/mk-viii/too-low-gear.wav b/Sounds/mk-viii/too-low-gear.wav new file mode 100755 index 000000000..d0a6e87ff Binary files /dev/null and b/Sounds/mk-viii/too-low-gear.wav differ diff --git a/Sounds/mk-viii/too-low-terrain.wav b/Sounds/mk-viii/too-low-terrain.wav new file mode 100755 index 000000000..c00ae4aa2 Binary files /dev/null and b/Sounds/mk-viii/too-low-terrain.wav differ