1
0
Fork 0

Restored files that broke things

Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
fly 2020-03-25 17:57:31 +00:00
parent 8699a8ac7a
commit cb53112d69
27 changed files with 250 additions and 0 deletions

View file

@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="64px"
height="64px"
id="svg6263"
version="1.1"
inkscape:version="0.48.2 r9819"
sodipodi:docname="airbus_hold_r.svg">
<defs
id="defs6265" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="5.5"
inkscape:cx="11.363636"
inkscape:cy="39.272727"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:document-units="px"
inkscape:grid-bbox="true"
inkscape:window-width="64"
inkscape:window-height="64"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata6268">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<path
d="m 38,58 l 0,-38 a 10,10 0 1 1 -20,0 l -5,-7 m5,7 l 8,-2"
id="path7043"
style="fill:none;stroke:#ffffff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:55.40000153;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="64px"
height="64px"
id="svg6263"
version="1.1"
inkscape:version="0.48.2 r9819"
sodipodi:docname="airbus_holdL.svg">
<defs
id="defs6265" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="5.5"
inkscape:cx="11.363636"
inkscape:cy="36.978476"
inkscape:current-layer="svg6263"
showgrid="true"
inkscape:document-units="px"
inkscape:grid-bbox="true"
inkscape:window-width="1280"
inkscape:window-height="703"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata6268">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer"
transform="matrix(-1,0,0,1,59,0)">
<path
d="m 38,58 0,-38 a 10,10 0 1 1 -20,0 l -5,-7 m 5,7 8,-2"
id="path7043"
style="fill:none;stroke:#ffffff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:55.40000153;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

67
Nasal/Systems/APU.nas Normal file
View file

@ -0,0 +1,67 @@
# A3XX Auxilliary Power Unit
# Jonathan Redpath (legoboyvdlp)
# Copyright (c) 2019 Jonathan Redpath (legoboyvdlp)
var APU = {
state: 0, # power up, watch, starting, run, cooldown, shutdown
nRpm: 0,
fuelValve: aircraft.door.new("/controls/apu/fuel-valve", 1),
inletFlap: aircraft.door.new("/controls/apu/inlet-flap", 12),
listenSignals: 0,
start: 0,
cancelCheckFlap: 0,
new: func() {
var a = { parents:[APU] };
return a;
},
setState: func(num) {
me.state = num;
},
powerOn: func() {
# apu able to receive emergency stop or start signals
me.fuelValve.open();
me.inletFlap.open();
me.listenSignals = 1;
settimer(me.setState(1), 3);
},
getStartSignal: func() {
if (me.listenSignals and me.state < 2 and me.nRpm < 7) {
me.start = 1;
me.startCheckFlap();
} elsif (me.listenSignals) {
settimer(me.getStartSignal(), 0);
}
},
startCheckFlap: func() {
if (me.inletFlap.getpos() != 1 and me.cancelCheckFlap == 0 and me.state == 1) {
settimer(me.startCheckFlap(), 0);
} elsif (me.cancelCheckFlap) {
me.cancelCheckFlap = 0;
} else {
me.setState(2);
}
},
getStopSignal: func() {
if (me.listenSignals) {
me.cancelCheckFlap = 1;
me.inletFlap.close();
# wait for flap close --> power down relay output
}
},
};
var APUController = {
_init: 0,
APU: nil,
init: func() {
if (!me._init) {
me.APU = APU.new();
}
},
loop: func() {
if (me.APU != nil) {
APU.update();
}
},
};

View file

@ -0,0 +1,61 @@
# A3XX Pneumatic System
# Copyright (c) 2019 Jonathan Redpath (legoboyvdlp)
# Local vars
# Main class
var PNEU = {
Fail: {
apu: props.globals.getNode("systems/failures/pneumatics/apu-valve");
bleed1: props.globals.getNode("systems/failures/pneumatics/bleed-1-valve");
bleed2: props.globals.getNode("systems/failures/pneumatics/bleed-2-valve");
cabinFans: props.globals.getNode("systems/failures/pneumatics/cabin-fans");
hotAir: props.globals.getNode("systems/failures/pneumatics/hot-air");
pack1: props.globals.getNode("systems/failures/pneumatics/pack-1-valve");
pack2: props.globals.getNode("systems/failures/pneumatics/pack-2-valve");
ramAir: props.globals.getNode("systems/failures/pneumatics/ram-air");
trimValveCockpit: props.globals.getNode("systems/failures/pneumatics/trim-valve-cockpit");
trimValveAft: props.globals.getNode("systems/failures/pneumatics/trim-valve-cabin-aft");
trimValveFwd: props.globals.getNode("systems/failures/pneumatics/trim-valve-cabin-fwd");
xbleed: props.globals.getNode("systems/failures/pneumatics/x-bleed-valve");
}
Psi: {
},
Switch: {
apu: props.globals.getNode("controls/pneumatics/switches/apu");
bleed1: props.globals.getNode("controls/pneumatics/switches/bleed-1");
bleed2: props.globals.getNode("controls/pneumatics/switches/bleed-2");
blower: props.globals.getNode("controls/pneumatics/switches/blower");
cabinFans: props.globals.getNode("controls/pneumatics/switches/cabin-fans");
extract: props.globals.getNode("controls/pneumatics/switches/extract");
hotAir: props.globals.getNode("controls/pneumatics/switches/hot-air");
pack1: props.globals.getNode("controls/pneumatics/switches/pack-1");
pack2: props.globals.getNode("controls/pneumatics/switches/pack-2");
packFlow: props.globals.getNode("controls/pneumatics/switches/pack-flow");
ramAir: props.globals.getNode("controls/pneumatics/switches/ram-air");
tempCockpit: props.globals.getNode("controls/pneumatics/switches/temp-cockpit");
tempAft: props.globals.getNode("controls/pneumatics/switches/temp-cabin-aft");
tempFwd: props.globals.getNode("controls/pneumatics/switches/temp-cabin-fwd");
xbleed: props.globals.getNode("controls/pneumatics/switches/x-bleed");
},
init: func() {
me.resetFail();
},
resetFail: func() {
me.Fail.apu.setBoolValue(0);
me.Fail.bleed1.setBoolValue(0);
me.Fail.bleed2.setBoolValue(0);
me.Fail.cabinFans.setBoolValue(0);
me.Fail.hotAir.setBoolValue(0);
me.Fail.pack1.setBoolValue(0);
me.Fail.pack2.setBoolValue(0);
me.Fail.ramAir.setBoolValue(0);
me.Fail.trimValveCockpit.setBoolValue(0);
me.Fail.trimValveAft.setBoolValue(0);
me.Fail.trimValveFwd.setBoolValue(0);
me.Fail.xbleed.setBoolValue(0);
},
loop: func() {
},
}

BIN
Sounds/Cockpit/click.wav Normal file

Binary file not shown.

BIN
Sounds/GPWS/dont-sink.wav Normal file

Binary file not shown.

BIN
Sounds/GPWS/glideslope.wav Normal file

Binary file not shown.

BIN
Sounds/GPWS/pull-up.wav Normal file

Binary file not shown.

BIN
Sounds/GPWS/sink-rate.wav Normal file

Binary file not shown.

BIN
Sounds/GPWS/terrain.wav Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Sounds/SASA/A320_cabin.wav Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Sounds/SASA/Touch-Nose.wav Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.