1
0
Fork 0

Merge pull request #103 from legoboyvdlp/cleanup

Cleanup
This commit is contained in:
merspieler 2020-03-26 07:46:02 +11:00 committed by GitHub
commit c5478c9eb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
90 changed files with 10 additions and 120179 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

View file

@ -1,35 +0,0 @@
<?xml version="1.0"?>
<PropertyList>
<path>Aircraft/Generic/Effects/Thruster/thrust_flame.ac</path>
<nopreview/>
<animation>
<type>scale</type>
<property>systems/failures/apu-fire</property>
<x-min>0.2</x-min>
<y-min>0.3</y-min>
<z-min>0.3</z-min>
<y-max>0.8</y-max>
<z-max>0.8</z-max>
<x-factor>0.2</x-factor>
<y-factor>0.2</y-factor>
<z-factor>0.2</z-factor>
</animation>
<animation>
<type>select</type>
<object-name>Bounding_box</object-name>
<condition>
<greater-than>
<property>systems/failures/apu-fire</property>
<value>0.8</value>
</greater-than>
</condition>
</animation>
<effect>
<inherits-from>Aircraft/A320-family/Models/Effects/flame-apu</inherits-from>
<object-name>Bounding_box</object-name>
</effect>
</PropertyList>

View file

@ -1,25 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<PropertyList>
<name>AB-flame</name>
<inherits-from>Effects/thrust-flame</inherits-from>
<parameters>
<base_flame_b type="float"><use>/sim/model/flame/blue-base</use></base_flame_b>
<base_flame_density type="float">0.01</base_flame_density>
<base_flame_g type="float"><use>/sim/model/flame/green-base</use></base_flame_g>
<base_flame_r type="float"><use>/sim/model/flame/red-base</use></base_flame_r>
<deflection_coeff type="float">0</deflection_coeff>
<flame_color_high_b type="float"><use>/sim/model/flame/blue-high</use></flame_color_high_b>
<flame_color_high_g type="float"><use>/sim/model/flame/green-high</use></flame_color_high_g>
<flame_color_high_r type="float"><use>/sim/model/flame/red-high</use></flame_color_high_r>
<flame_color_low_b type="float"><use>/sim/model/flame/blue-low</use></flame_color_low_b>
<flame_color_low_g type="float"><use>/sim/model/flame/green-low</use></flame_color_low_g>
<flame_color_low_r type="float"><use>/sim/model/flame/red-low</use></flame_color_low_r>
<flame_radius_fraction type="float">0.7</flame_radius_fraction>
<noise_scale type="float">0.8</noise_scale>
<noise_strength type="float">0.4</noise_strength>
<thrust_collimation type="float">0.2</thrust_collimation>
<thrust_density type="float">0.8</thrust_density>
<use_noise type="int">1</use_noise>
<use_shocks type="int">0</use_shocks>
</parameters>
</PropertyList>

View file

@ -1,25 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<PropertyList>
<name>AB-flame</name>
<inherits-from>Effects/thrust-flame</inherits-from>
<parameters>
<base_flame_b type="float"><use>/sim/model/flame/blue-base</use></base_flame_b>
<base_flame_density type="float">0.01</base_flame_density>
<base_flame_g type="float"><use>/sim/model/flame/green-base</use></base_flame_g>
<base_flame_r type="float"><use>/sim/model/flame/red-base</use></base_flame_r>
<deflection_coeff type="float">0</deflection_coeff>
<flame_color_high_b type="float"><use>/sim/model/flame/blue-high</use></flame_color_high_b>
<flame_color_high_g type="float"><use>/sim/model/flame/green-high</use></flame_color_high_g>
<flame_color_high_r type="float"><use>/sim/model/flame/red-high</use></flame_color_high_r>
<flame_color_low_b type="float"><use>/sim/model/flame/blue-low</use></flame_color_low_b>
<flame_color_low_g type="float"><use>/sim/model/flame/green-low</use></flame_color_low_g>
<flame_color_low_r type="float"><use>/sim/model/flame/red-low</use></flame_color_low_r>
<flame_radius_fraction type="float">0.4</flame_radius_fraction>
<noise_scale type="float">0.8</noise_scale>
<noise_strength type="float">0.2</noise_strength>
<thrust_collimation type="float">0.5</thrust_collimation>
<thrust_density type="float">0.8</thrust_density>
<use_noise type="int">1</use_noise>
<use_shocks type="int">0</use_shocks>
</parameters>
</PropertyList>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

View file

@ -1,35 +0,0 @@
<PropertyList>
<name>panel</name>
<inherits-from>Effects/model-interior</inherits-from>
<parameters>
<lightmap-enabled type="int">1</lightmap-enabled>
<lightmap-factor type="float" n="0"><use>/controls/lighting/reading-light</use>*0.5</lightmap-factor>
<lightmap-color type="vec3d" n="0">1.0 1.0 1.0</lightmap-color>
<texture n="3">
<image>Aircraft/A320-family/Models/Effects/checklist.png</image>
<filter>linear-mipmap-linear</filter>
<wrap-s>clamp</wrap-s>
<wrap-t>clamp</wrap-t>
<internal-format>normalized</internal-format>
</texture>
<irradiance-map-type type="int">2</irradiance-map-type>
<irradiance-map-strength type="float">0.1</irradiance-map-strength>
<texture n="4">
<type>cubemap</type>
<images>
<positive-x>Models/Effects/res/white.png</positive-x>
<negative-x>Models/Effects/res/white.png</negative-x>
<positive-y>Models/Effects/res/white.png</positive-y>
<negative-y>Models/Effects/res/white.png</negative-y>
<positive-z>Models/Effects/res/white.png</positive-z>
<negative-z>Models/Effects/res/white.png</negative-z>
</images>
</texture>
<!--
the cube center must be the same as the camera x,y,z in blend
-->
<opacity-cube-center type="vec3d" n="0"> 0.207344 0.0 0.797276</opacity-cube-center>
<opacity-cube-scale type="vec3d" n="0"> 0.672 0.672 0.672</opacity-cube-scale>
<opacity-cube-angle type="float">0.0</opacity-cube-angle>
</parameters>
</PropertyList>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

View file

@ -1,92 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
<PropertyList>
<particlesystem>
<texture>res/fire.png</texture>
<emissive>true</emissive>
<lighting>false</lighting>
<offsets>
<roll-deg>90</roll-deg>
</offsets>
<attach>world</attach>
<placer>
<type>point</type>
</placer>
<shooter>
<theta-min-deg>65</theta-min-deg>
<theta-max-deg>115</theta-max-deg>
<phi-min-deg>0</phi-min-deg>
<phi-max-deg>0</phi-max-deg>
<speed>
<value>25</value>
<spread>15</spread>
</speed>
<rotation-speed>
<x-min-deg-sec>0</x-min-deg-sec>
<y-min-deg-sec>0</y-min-deg-sec>
<z-min-deg-sec>0</z-min-deg-sec>
<x-max-deg-sec>0</x-max-deg-sec>
<y-max-deg-sec>0</y-max-deg-sec>
<z-max-deg-sec>0</z-max-deg-sec>
</rotation-speed>
</shooter>
<counter>
<particles-per-sec>
<property>velocities/groundspeed-kt</property>
<!--factor>0.80</factor-->
<spread>25</spread>
</particles-per-sec>
</counter>
<align>billboard</align>
<particle>
<start>
<color>
<red>
<value>0.6</value>
</red>
<green>
<value>0.6</value>
</green>
<blue>
<value>0.6</value>
</blue>
<alpha>
<value>0.4</value>
</alpha>
</color>
<size>
<value>0.3</value>
</size>
</start>
<end>
<color>
<red>
<value>0</value>
</red>
<green>
<value>0</value>
</green>
<blue>
<value>0</value>
</blue>
<alpha>
<value>0</value>
</alpha>
</color>
<size>
<value>0.8</value>
</size>
</end>
<life-sec>
<value>1.0</value>
</life-sec>
<mass-kg>0.1</mass-kg>
<radius-m>0.03</radius-m>
</particle>
</particlesystem>
</PropertyList>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 475 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

File diff suppressed because it is too large Load diff

View file

@ -1,15 +0,0 @@
207.3
103.65
51.825
323.191
64.6382
206.248
103.124
51.562
center of AI: 617.40
205.790
950.319

View file

@ -1,5 +0,0 @@
Distance between lines:
147.948
Distance from Line to Amber Boxes:
0.327

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 KiB

View file

@ -1,112 +0,0 @@
# See: http://wiki.flightgear.org/MapStructure
# Class things:
var name = 'HOLD';
var parents = [canvas.SymbolLayer.Controller];
var __self__ = caller(0)[0];
canvas.SymbolLayer.Controller.add(name, __self__);
canvas.SymbolLayer.add(name, {
parents: [MultiSymbolLayer],
type: name, # Symbol type
df_controller: __self__, # controller to use by default -- this one
});
var new = func(layer) {
var m = {
parents: [__self__],
layer: layer,
map: layer.map,
listeners: [],
};
#debug.dump(layer.parents);
layer.searcher._equals = func(a,b) a.id == b.id;
#append(m.listeners, setlistener(layer.options.fplan_active, func m.layer.update() ));
#m.addVisibilityListener();
var driver = opt_member(m.layer.options, 'route_driver');
if(driver == nil){
driver = RouteDriver.new();
}
# var driver_listeners = driver.getListeners();
# foreach(var listener; driver_listeners){
# append(m.listeners, setlistener(listener, func m.layer.update()));
# }
m.route_driver = driver;
return m;
};
var del = func() {
foreach (var l; me.listeners)
removelistener(l);
};
var searchCmd = func {
var driver = me.route_driver;
if(!driver.shouldUpdate()) return [];
driver.update();
var results = [];
var planCount = driver.getNumberOfFlightPlans();
var cur_fp = flightplan();
var cur_wp = cur_fp.getWP();
var next_wp = nil;
if (cur_wp != nil)
next_wp = cur_fp.getWP(cur_wp.index + 1);
var range = me.map.getRange();
if (range == nil) range = 0;
for(var idx = 0; idx < planCount; idx += 1){
var patterns = me.route_driver.getHoldPatterns(idx);
if (typeof(patterns) == 'vector') {
foreach (var pattern; patterns) {
var wp = pattern['wp'];
if (wp == nil) continue;
var wp_id = wp.id;
var wp_idx = wp.index;
var node = pattern['node'];
if (node == nil) continue;
var pointsNode = node.getNode('points');
var pointNode = nil;
if(pointsNode != nil)
pointNode = pointsNode.getNode('point', 0);
if (pointNode == nil) continue;
var r = pattern['crs'];
var d = pattern['dist'];
var t = pattern['turn'];
if (r == nil or d == nil or t == nil) continue;
var active = node.getValue('active') == 1;
var fpId = pattern['fpId'];
var type = 'hold_symbol';
var sfx = '-inactive';
if (fpId == 'active' or fpId == 'temporary') {
if (range <= 160) {
if ((cur_wp != nil and cur_wp.index == wp_idx) or
(next_wp != nil and next_wp.index == wp_idx)) {
type = 'pattern';
sfx = '';
}
}
}
var lat = wp.wp_lat;
var lon = wp.wp_lon;
var model = {
parents: [geo.Coord],
id: wp_id~r~d~t~sfx,
pos: {lat: lat, lon: lon},
type: type,
latlon: func(){
return [
me.pos.lat,
me.pos.lon
];
},
radial: r,
dist: d,
turn: t,
fpId: fpId,
equals: func(o){me.id == o.id}
};
append(results, model);
}
}
}
return results;
}

View file

@ -1,12 +0,0 @@
# Class things:
var name = 'HOLD';
var parents = [canvas.Symbol.Controller];
var __self__ = caller(0)[0];
canvas.Symbol.Controller.add(name, __self__);
canvas.Symbol.registry[name].df_controller = __self__;
var new = func(model) ; # this controller doesn't need an instance
var LayerController = canvas.SymbolLayer.Controller.registry[name];
var isActive = func(model) {return 1};#LayerController.a_instance.isActive(model);
var query_range = func()
die(name~".scontroller.query_range /MUST/ be provided by implementation");
#var model = props.globals.getNode('/position');

View file

@ -1,124 +0,0 @@
# See: http://wiki.flightgear.org/MapStructure
# Class things:
var name = 'HOLD';
var parents = [canvas.DotSym];
var __self__ = caller(0)[0];
canvas.DotSym.makeinstance( name, __self__ );
#canvas.SymbolLayer.get(name).df_style = {
# radius: 13,
#};
var element_type = "group";
var draw_pattern = func(dist, turn, from_point = -1){
var pattern = me.element.createChild("path", 'hold-pattern');
pattern.set("z-index",4);
var w = (dist * 2) / math.pi;
var h = dist * 70;
var r = w / 2;
var perp1 = 70;
var perp2 = -70;
if (turn == 'L') {
perp1 = -70;
perp2 = 70;
}
if (turn == 'R')
pattern.arcSmallCW(r,r,0,70 * w,0);
else
pattern.arcSmallCCW(r,r,0,-70 * w,0);
pattern.line(0,h);
if (turn == 'R')
pattern.arcSmallCW(r,r,0,-70 * w,0);
else
pattern.arcSmallCCW(r,r,0,70 * w,0);
pattern.line(0,-h).
setStrokeLineWidth(5).
setColor(me.active_color);
return pattern;
};
var draw_hold_sym = func(turn){
var hold_symbol = me.element.createChild("group", 'hold-symbol');
var svg = get_local_path("res/airbus_hold"~turn~".svg");
canvas.parsesvg(hold_symbol, svg);
hold_symbol.setTranslation(-32,-64).set('z-index', 4);
return hold_symbol;
}
var init = func {
var type = me.model.type;
var dist = me.model.dist;
var turn = me.model.turn;
me.active_color = me.getStyle('active_color',
me.getOption('active_route_color',
[0.4,0.7,0.4]));
me.inactive_color = me.getStyle('inactive_color',
me.getOption('inactive_route_color',
[0.95,0.95,0.21]));
if(type == 'pattern'){
me.hold_pattern = me.draw_pattern(dist, turn);
me.hold_symbol = nil;
} else {
#print('CREATING HOLD SYM');
me.hold_pattern = nil;
me.hold_symbol = me.draw_hold_sym(turn);
}
}
var draw = func{
var type = me.model.type;
var map = me.layer.map;
var pos = map.getPos();
#print('DRAW HOLD '~ type);
if(type == 'pattern'){
var dist = me.model.dist;
var turn = me.model.turn;
if(me.hold_symbol != nil){
me.hold_symbol.hide();
}
if(me.hold_pattern == nil)
me.hold_pattern = me.draw_pattern(dist, turn);
if(me.hold_pattern == nil) return;
var radial = me.model.radial;
if(radial != nil){
var hdg = pos[2];
if(hdg == nil) hdg = 0;
radial -= hdg;
if(radial < 0) radial = 360 + radial;
me.element.setRotation(radial*D2R);
}
var rng = pos[3];
#print("CANVAS: Map RNG: " ~ rng);
if(rng == nil) rng = 10;
rng = 10 / rng;
#print("CANVAS: Hold Scale: " ~ rng);
me.element.setScale(rng,rng);
me.hold_pattern.setStrokeLineWidth(5 * (1/rng));
var lat_ctrl = getprop(me.getOption('lat_ctrl'));
var lnav = (lat_ctrl == me.getOption('lat_ctrl_managed','fmgc'));
var fp_actv = getprop(me.getOption('fplan_active'));
var fpId = me.model.fpId;
#print('HOLD ' ~ lnav ~ ',' ~ fp_actv);
var is_tmpy = (fpId == 'temporary');
if(!lnav or !fp_actv or is_tmpy)
me.hold_pattern.setStrokeDashArray([32, 16]);
else
me.hold_pattern.setStrokeDashArray([1,0]);
if(!fp_actv or is_tmpy)
me.hold_pattern.setColor(me.inactive_color);
else
me.hold_pattern.setColor(me.active_color);
} else {
var turn = me.model.turn;
if(me.hold_pattern != nil){
me.hold_pattern.hide();
}
if(me.hold_symbol == nil)
me.hold_symbol = me.draw_hold_sym(turn);
me.hold_symbol.show();
me.element.setScale(1,1);
me.element.setRotation(0);
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 135 B

View file

@ -1,3 +0,0 @@
AC3Db
OBJECT world
kids 0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 552 B

File diff suppressed because it is too large Load diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 922 KiB

View file

@ -1,13 +0,0 @@
Heading Tape:
123.177
61.5885
98.5416 is 123.177 in 1024
49.2708 is 61.5885 in 1024
Altitude Tape:
304.178
60.8357
243.3424 is 304.178 in 1024
48.66856 is 60.8357 in 1024

Binary file not shown.

Before

Width:  |  Height:  |  Size: 475 B

View file

@ -1,83 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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="1024pt"
height="1024pt"
viewBox="0 0 1024 1024"
version="1.1"
id="svg2"
inkscape:version="0.91 r13725"
sodipodi:docname="cfm-eis2 - Copy.svg">
<metadata
id="metadata375">
<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 />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs373" />
<sodipodi:namedview
pagecolor="#000000"
bordercolor="#666666"
borderopacity="1"
objecttolerance="20"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1030"
id="namedview371"
showgrid="false"
inkscape:zoom="1"
inkscape:cx="531.71827"
inkscape:cy="888.89266"
inkscape:window-x="1592"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg2"
showguides="false"
inkscape:snap-global="false">
<inkscape:grid
type="xygrid"
id="grid5153" />
</sodipodi:namedview>
<circle
style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#cecdce;stroke-width:4;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
id="N11-scale"
inkscape:label="#path4519"
d="M 257.22857,207.07578 A 86.911873,86.911873 0 0 1 228.21016,118.5673 86.911873,86.911873 0 0 1 295.94364,54.629882 86.911873,86.911873 0 0 1 382.6333,88.699228"
sodipodi:type="arc"
sodipodi:start="2.2592576"
sodipodi:end="5.6523678"
sodipodi:ry="86.911873"
sodipodi:rx="86.911873"
sodipodi:cy="139.9603"
sodipodi:cx="312.448"
sodipodi:open="true" />
<circle
sodipodi:cx="312.4476"
sodipodi:cy="341.59766"
sodipodi:rx="82.481667"
sodipodi:ry="82.481773"
sodipodi:end="6.0448538"
sodipodi:start="3.1415927"
sodipodi:type="arc"
d="m 229.96593,341.59765 a 82.481667,82.481773 0 0 1 72.67593,-81.89682 82.481667,82.481773 0 0 1 89.95592,62.4244"
inkscape:label="#path4519"
id="EGT1-scale"
style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#cecdce;stroke-width:4.15280008;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
sodipodi:open="true" />
</svg>

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 585 KiB

View file

@ -1,104 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
<PropertyList>
<path>res/strobe.ac</path>
<offsets>
<pitch-deg>-2</pitch-deg>
</offsets>
<!-- EXTRA MODELS -->
<!-- 3d light cone -->
<model>
<name>Cone</name>
<path>Aircraft/A320-family/Models/Lights/light-cone.xml</path>
</model>
<!-- ANIMATIONS -->
<!-- On/off -->
<animation>
<name>On/off</name>
<type>select</type>
<object-name>Light</object-name>
<object-name>Cone</object-name>
<condition>
<and>
<or>
<greater-than-equals>
<property>systems/electrical/bus/ac-1</property>
<value>110</value>
</greater-than-equals>
<greater-than-equals>
<property>systems/electrical/bus/ac-2</property>
<value>110</value>
</greater-than-equals>
</or>
<greater-than-equals>
<property>sim/model/lights/nose-lights</property>
<value>0.5</value>
</greater-than-equals>
<equals>
<property>gear/gear[0]/position-norm</property>
<value>1</value>
</equals>
</and>
</condition>
</animation>
<animation>
<name>Cone on/off</name>
<type>select</type>
<object-name>Cone</object-name>
<condition>
<property>controls/lighting/cones</property>
</condition>
</animation>
<!-- Rotate and scale the light -->
<animation>
<name>Rotate light</name>
<type>rotate</type>
<object-name>Light</object-name>
<offset-deg>90</offset-deg>
<axis>
<x>0</x>
<y>0</y>
<z>-1</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</center>
</animation>
<animation>
<name>Scale light</name>
<type>scale</type>
<object-name>Light</object-name>
<x-offset>0.5</x-offset>
<y-offset>0.5</y-offset>
<z-offset>0.5</z-offset>
</animation>
<!-- Nose gear steering -->
<animation>
<name>Landing light steer</name>
<type>rotate</type>
<object-name>Light</object-name>
<object-name>Cone</object-name>
<property>gear/gear[0]/steering-norm</property>
<factor>60</factor>
<axis>
<x>0</x>
<y>0</y>
<z>-1</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</center>
</animation>
</PropertyList>

View file

@ -1,71 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
<PropertyList>
<path>res/strobe.ac</path>
<offsets>
<heading-deg>4</heading-deg>
<pitch-deg>-6.5</pitch-deg>
</offsets>
<!-- EXTRA MODELS -->
<!-- 3d light cone -->
<model>
<name>Cone</name>
<path>Aircraft/A320-family/Models/Lights/light-cone.xml</path>
</model>
<!-- ANIMATIONS -->
<!-- On/off -->
<animation>
<name>On/off</name>
<type>select</type>
<object-name>Light</object-name>
<object-name>Cone</object-name>
<condition>
<and>
<greater-than-equals>
<property>systems/electrical/bus/ac-1</property>
<value>110</value>
</greater-than-equals>
<property>controls/lighting/landing-lights[2]</property>
</and>
</condition>
</animation>
<animation>
<name>Cone on/off</name>
<type>select</type>
<object-name>Cone</object-name>
<condition>
<property>controls/lighting/cones</property>
</condition>
</animation>
<!-- Rotate and scale the light -->
<animation>
<name>Rotate light</name>
<type>rotate</type>
<object-name>Light</object-name>
<offset-deg>90</offset-deg>
<axis>
<x>0</x>
<y>0</y>
<z>-1</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</center>
</animation>
<animation>
<name>Scale light</name>
<type>scale</type>
<object-name>Light</object-name>
<x-offset>0.5</x-offset>
<y-offset>0.5</y-offset>
<z-offset>0.5</z-offset>
</animation>
</PropertyList>

View file

@ -1,73 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
<PropertyList>
<path>res/strobe.ac</path>
<offsets>
<heading-deg>-4</heading-deg>
<pitch-deg>-6.5</pitch-deg>
</offsets>
<!-- EXTRA MODELS -->
<!-- 3d light cone -->
<model>
<name>Cone</name>
<path>Aircraft/A320-family/Models/Lights/light-cone.xml</path>
</model>
<!-- ANIMATIONS -->
<!-- On/off -->
<animation>
<name>On/off</name>
<type>select</type>
<object-name>Light</object-name>
<object-name>Cone</object-name>
<condition>
<and>
<greater-than-equals>
<property>systems/electrical/bus/ac-2</property>
<value>110</value>
</greater-than-equals>
<property>controls/lighting/landing-lights[2]</property>
</and>
</condition>
</animation>
<animation>
<name>Cone on/off</name>
<type>select</type>
<object-name>Cone</object-name>
<condition>
<property>controls/lighting/cones</property>
</condition>
</animation>
<!-- Rotate and scale the light -->
<animation>
<name>Rotate light</name>
<type>rotate</type>
<object-name>Light</object-name>
<offset-deg>90</offset-deg>
<axis>
<x>0</x>
<y>0</y>
<z>-1</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</center>
</animation>
<animation>
<name>Scale light</name>
<type>scale</type>
<object-name>Light</object-name>
<x-offset>0.5</x-offset>
<y-offset>0.5</y-offset>
<z-offset>0.5</z-offset>
</animation>
</PropertyList>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 431 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 291 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 231 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 252 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 348 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 283 KiB

View file

@ -1,3 +0,0 @@
TO ADD NEW SPLASHES NAME THEM "splashXX"
PS it is currently its coded up to splash8

View file

@ -1,67 +0,0 @@
# Tablet
# Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450)
var Tablet1 = nil;
var Tablet_1 = nil;
var canvas_tablet_base = {
init: func(canvas_group, file = nil) {
var font_mapper = func(family, weight) {
return "LiberationFonts/LiberationSans-Regular.ttf";
};
if (file != nil) {
canvas.parsesvg(canvas_group, file, {"font-mapper": font_mapper});
var svg_keys = me.getKeys();
foreach(var key; svg_keys) {
me[key] = canvas_group.getElementById(key);
}
}
me.page = canvas_group;
return me;
},
getKeys: func() {
return [];
},
update: func() {
},
};
var canvas_Tablet_1 = {
new: func(canvas_group, file) {
var m = {parents: [canvas_Tablet_1, canvas_tablet_base]};
m.init(canvas_group, file);
return m;
},
getKeys: func() {
return [];
},
update: func() {
},
};
setlistener("sim/signals/fdm-initialized", func {
Tablet1 = canvas.new({
"name": "Tablet1",
"size": [1920, 1280],
"view": [1920, 1280],
"mipmapping": 1
});
Tablet1.addPlacement({"node": "Tablet.screen"});
var group_tablet1 = Tablet1.createGroup();
Tablet_1 = canvas_Tablet_1.new(group_tablet1, "Aircraft/A320-family/Models/Tablet/res/screen.svg");
});
var showTablet = func() {
var dlg = canvas.Window.new([768, 512], "dialog");
dlg.setCanvas(Tablet1);
}

View file

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
<!-- 3D by Justin Nicholson (pinto) -->
<PropertyList>
<path>res/Tablet.ac</path>
</PropertyList>

File diff suppressed because it is too large Load diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 629 B

View file

@ -1,71 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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="1920"
height="1280"
viewBox="0 0 1536 1024"
version="1.1"
id="svg2"
inkscape:version="0.91 r13725"
sodipodi:docname="screen.svg">
<metadata
id="metadata375">
<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>
<defs
id="defs373" />
<sodipodi:namedview
pagecolor="#000000"
bordercolor="#666666"
borderopacity="1"
objecttolerance="20"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1030"
id="namedview371"
showgrid="true"
inkscape:zoom="0.70710678"
inkscape:cx="1130.6956"
inkscape:cy="-93.71028"
inkscape:window-x="1592"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg2"
showguides="false"
inkscape:snap-global="false"
units="px"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0">
<inkscape:grid
type="xygrid"
id="grid5153"
originx="0"
originy="0" />
</sodipodi:namedview>
<rect
style="fill:#333333;fill-opacity:1;stroke:none;stroke-width:2.4000001;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
id="rect4312"
width="1536"
height="81.439186"
x="0"
y="942.56073" />
</svg>

Before

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

View file

@ -1,32 +0,0 @@
<?xml version="1.0"?>
<PropertyList>
<path>Aircraft/Generic/Effects/Thruster/thrust_flame.ac</path>
<nopreview/>
<animation>
<type>scale</type>
<property>systems/failures/engine-left-fire</property>
<x-min>0.2</x-min>
<y-min>0.3</y-min>
<z-min>0.3</z-min>
<y-max>0.8</y-max>
<z-max>0.8</z-max>
<x-factor>0.4</x-factor>
<y-factor>0.35</y-factor>
<z-factor>0.35</z-factor>
</animation>
<animation>
<type>select</type>
<object-name>Bounding_box</object-name>
<condition>
<property>systems/failures/engine-left-fire</property>
</condition>
</animation>
<effect>
<inherits-from>Aircraft/A320-family/Models/Effects/flame-cfm</inherits-from>
<object-name>Bounding_box</object-name>
</effect>
</PropertyList>

View file

@ -1,32 +0,0 @@
<?xml version="1.0"?>
<PropertyList>
<path>Aircraft/Generic/Effects/Thruster/thrust_flame.ac</path>
<nopreview/>
<animation>
<type>scale</type>
<property>systems/failures/engine-left-fire</property>
<x-min>0.2</x-min>
<y-min>0.3</y-min>
<z-min>0.3</z-min>
<y-max>0.8</y-max>
<z-max>0.8</z-max>
<x-factor>0.4</x-factor>
<y-factor>0.7</y-factor>
<z-factor>0.7</z-factor>
</animation>
<animation>
<type>select</type>
<object-name>Bounding_box</object-name>
<condition>
<property>systems/failures/engine-left-fire</property>
</condition>
</animation>
<effect>
<inherits-from>Aircraft/A320-family/Models/Effects/flame</inherits-from>
<object-name>Bounding_box</object-name>
</effect>
</PropertyList>

View file

@ -1,32 +0,0 @@
<?xml version="1.0"?>
<PropertyList>
<path>Aircraft/Generic/Effects/Thruster/thrust_flame.ac</path>
<nopreview/>
<animation>
<type>scale</type>
<property>systems/failures/engine-right-fire</property>
<x-min>0.2</x-min>
<y-min>0.3</y-min>
<z-min>0.3</z-min>
<y-max>0.8</y-max>
<z-max>0.8</z-max>
<x-factor>0.4</x-factor>
<y-factor>0.35</y-factor>
<z-factor>0.35</z-factor>
</animation>
<animation>
<type>select</type>
<object-name>Bounding_box</object-name>
<condition>
<property>systems/failures/engine-right-fire</property>
</condition>
</animation>
<effect>
<inherits-from>Aircraft/A320-family/Models/Effects/flame-cfm</inherits-from>
<object-name>Bounding_box</object-name>
</effect>
</PropertyList>

View file

@ -1,32 +0,0 @@
<?xml version="1.0"?>
<PropertyList>
<path>Aircraft/Generic/Effects/Thruster/thrust_flame.ac</path>
<nopreview/>
<animation>
<type>scale</type>
<property>systems/failures/engine-right-fire</property>
<x-min>0.2</x-min>
<y-min>0.3</y-min>
<z-min>0.3</z-min>
<y-max>0.8</y-max>
<z-max>0.8</z-max>
<x-factor>0.4</x-factor>
<y-factor>0.7</y-factor>
<z-factor>0.7</z-factor>
</animation>
<animation>
<type>select</type>
<object-name>Bounding_box</object-name>
<condition>
<property>systems/failures/engine-right-fire</property>
</condition>
</animation>
<effect>
<inherits-from>Aircraft/A320-family/Models/Effects/flame</inherits-from>
<object-name>Bounding_box</object-name>
</effect>
</PropertyList>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 601 KiB

View file

@ -1,24 +0,0 @@
var FMGComputer = {
isMaster: 0,
electricPower: "",
new: func() {
var f = { parents:[FMGComputer] };
return f;
},
setMaster: func() {
me.isMaster = 1;
),
setSlave: func() {
me.isMaster = 0;
),
};
hdgTrack: 0,
spdMach: 0,
ap1: ,
ap2: 0,
athr: 0,
appr: 0,
exped: 0,
loc: 0,

View file

@ -11,4 +11,13 @@ Present pack includes the following Airbus A320 Family variants:
- A320-214 - A320-214
- A320-232 - A320-232
- A320-251N - A320-251N
- A320-271N - A320-271N
## External tools
Some external tools you might want to checkout and use with this Model.
NOTE: These are external tools so make sure to check their terms of use
* [Trim Calculator (for FSLabs, but will work for us)](https://forums.flightsimlabs.com/index.php?/files/file/675-a320x-trim-calculation-tool/)
* [Take off performance calculator (excel)](https://forums.flightsimlabs.com/index.php?/files/file/763-a320-takeoff-and-landing-performance-calculator/)
* [Take off performance calculator (.exe -- different to above) ](http://www.avsimrus.com/f/for-pilots-19/popular-calculator-to-calculate-takeoff-parameters-in-from-airbus-type-36340.html)
* [Take off performance calculator (online)](http://wabpro.cz/A320/)
* [Air Berlin Norm. Checklist](https://forums.flightsimlabs.com/index.php?/files/file/778-airberlin-normal-procedures-checklist/)

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

View file

@ -1,27 +0,0 @@
PITCH ALT, ROLL DCT, YAW ALT
TRIPLE ADR FAILURE
DOUBLE HYD FAILURE
SLATS LOCKED IN CLEAN (CONF 0 or 1)
PITCH ALT (RED PROT), ROLL DCT, YAW ALT
DOUBLE ELAC FAILURE
SIDESTICK FAULT
DOUBLE ADR FAILURE
ALL SPOILERS LOST
THS JAMMED
3 SEC FAILED
ELAC 2 AND BLUE HYD FAILED
ELAC 1 AND GREEN HYD FAILED
ELAC 1 AND YELLOW HYD FAILED
ONE ELEV JAMMED
RAT OUT
PITCH ALT (RED PROT), ROLL DCT, YAW MECH
2 FAC FAILED
YAW DAMPER FAILED
Y+G HYD FAILED
PITCH DIRETCT, ROLL DIRECT, YAW ALT
RADIO ALT FAILED WHEN
LDG DOWN
or
CONF 2, with BOTH LGCIUs failed

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.

View file

@ -1,19 +0,0 @@
Tools and Utilities:
Trim Calculator (for FSLabs, but will work for us)
https://forums.flightsimlabs.com/index.php?/files/file/675-a320x-trim-calculation-tool/
Take off performance calculator (excel)
https://forums.flightsimlabs.com/index.php?/files/file/763-a320-takeoff-and-landing-performance-calculator/
Take off performance calculator (.exe -- different to above)
http://www.avsimrus.com/f/for-pilots-19/popular-calculator-to-calculate-takeoff-parameters-in-from-airbus-type-36340.html
Air Berlin Norm. Checklist
https://forums.flightsimlabs.com/index.php?/files/file/778-airberlin-normal-procedures-checklist/
Airbus Checklist
https://forums.flightsimlabs.com/index.php?/files/file/481-airliners-checklist-a320-normal-checklist/
Lufthansa Checklist
https://forums.flightsimlabs.com/index.php?/files/file/480-lufthansa-checklist-a320-20/