1
0
Fork 0

GIT: Update 2019 to 2020

This commit is contained in:
Josh Davidson 2020-04-18 01:36:46 -04:00
parent 158e7286a9
commit 60bdf8f08e
46 changed files with 46 additions and 46 deletions

View file

@ -1,7 +1,7 @@
# Aircraft Config Center # Aircraft Config Center
# Joshua Davidson (Octal450) # Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
var spinning = maketimer(0.05, func { var spinning = maketimer(0.05, func {
var spinning = getprop("systems/acconfig/spinning"); var spinning = getprop("systems/acconfig/spinning");

View file

@ -1,6 +1,6 @@
# A3XX IESI # A3XX IESI
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
var IESI = nil; var IESI = nil;
var IESI_display = nil; var IESI_display = nil;

View file

@ -1,6 +1,6 @@
# A3XX Lower ECAM Canvas # A3XX Lower ECAM Canvas
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
var lowerECAM_apu = nil; var lowerECAM_apu = nil;
var lowerECAM_bleed = nil; var lowerECAM_bleed = nil;

View file

@ -1,6 +1,6 @@
# A3XX mCDU by Joshua Davidson (Octal450), Jonathan Redpath, and Matthew Maring (hayden2000) # A3XX mCDU by Joshua Davidson (Octal450), Jonathan Redpath, and Matthew Maring (hayden2000)
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
# Copyright (c) 2020 Matthew Maring (hayden2000) # Copyright (c) 2020 Matthew Maring (hayden2000)
var MCDU_1 = nil; var MCDU_1 = nil;

View file

@ -2,7 +2,7 @@
# Joshua Davidson (Octal450) # Joshua Davidson (Octal450)
# Based on work by artix # Based on work by artix
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
var get_local_path = func(file){ var get_local_path = func(file){
var aircraft_dir = split("/", getprop("/sim/aircraft-dir"))[-1]; var aircraft_dir = split("/", getprop("/sim/aircraft-dir"))[-1];

View file

@ -2,7 +2,7 @@
# Joshua Davidson (Octal450) # Joshua Davidson (Octal450)
# Based on work by artix # Based on work by artix
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
var A3XXRouteDriver = { var A3XXRouteDriver = {
new: func(){ new: func(){

View file

@ -1,6 +1,6 @@
# A3XX ND Canvas # A3XX ND Canvas
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
io.include("A3XX_ND.nas"); io.include("A3XX_ND.nas");

View file

@ -2,7 +2,7 @@
# Joshua Davidson (Octal450) # Joshua Davidson (Octal450)
# Based on work by artix # Based on work by artix
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
canvas.NDConfig = { canvas.NDConfig = {
properties: { properties: {

View file

@ -2,7 +2,7 @@
# Joshua Davidson (Octal450) # Joshua Davidson (Octal450)
# Based on work by artix # Based on work by artix
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
canvas.RouteDriver = { canvas.RouteDriver = {
new: func(){ new: func(){

View file

@ -2,7 +2,7 @@
# Joshua Davidson (Octal450) # Joshua Davidson (Octal450)
# Based on work by artix # Based on work by artix
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
var assert_m = canvas.assert_m; var assert_m = canvas.assert_m;

View file

@ -2,7 +2,7 @@
# Joshua Davidson (Octal450) # Joshua Davidson (Octal450)
# Based on work by artix # Based on work by artix
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
# Override FGDATA/Nasal/canvas/map/navdisplay.mfd # Override FGDATA/Nasal/canvas/map/navdisplay.mfd

View file

@ -2,7 +2,7 @@
# Joshua Davidson (Octal450) # Joshua Davidson (Octal450)
# Based on work by artix # Based on work by artix
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
var SymbolPainter = { var SymbolPainter = {
aircraft_dir: nil, aircraft_dir: nil,

View file

@ -2,7 +2,7 @@
# Joshua Davidson (Octal450) # Joshua Davidson (Octal450)
# Based on work by artix # Based on work by artix
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
var version = getprop("sim/version/flightgear"); var version = getprop("sim/version/flightgear");
var v = split(".", version); var v = split(".", version);

View file

@ -2,7 +2,7 @@
# Joshua Davidson (Octal450) # Joshua Davidson (Octal450)
# Based on work by artix # Based on work by artix
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
var ALWAYS = func 1; var ALWAYS = func 1;
var NOTHING = func nil; var NOTHING = func nil;

View file

@ -1,6 +1,6 @@
# A3XX PFD # A3XX PFD
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
var PFD_1 = nil; var PFD_1 = nil;
var PFD_2 = nil; var PFD_2 = nil;

View file

@ -1,6 +1,6 @@
# A3XX Upper ECAM Canvas # A3XX Upper ECAM Canvas
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
var upperECAM_cfm_eis2 = nil; var upperECAM_cfm_eis2 = nil;
var upperECAM_iae_eis2 = nil; var upperECAM_iae_eis2 = nil;

View file

@ -1,7 +1,7 @@
# A3XX ECAM # A3XX ECAM
# Joshua Davidson (Octal450) and Jonathan Redpath (legoboyvdlp) # Joshua Davidson (Octal450) and Jonathan Redpath (legoboyvdlp)
# Copyright (c) 2019 Joshua Davidson (Octal450) and Jonathan Redpath (legoboyvdlp) # Copyright (c) 2020 Josh Davidson (Octal450) and Jonathan Redpath (legoboyvdlp)
var ap_active = 0; var ap_active = 0;
var athr_active = 0; var athr_active = 0;

View file

@ -1,7 +1,7 @@
# Airbus A3XX FBW/Flight Control Computer System # Airbus A3XX FBW/Flight Control Computer System
# Joshua Davidson (Octal450) # Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
# If All ELACs Fail, Alternate Law # If All ELACs Fail, Alternate Law

View file

@ -1,6 +1,6 @@
# A3XX FCU by Joshua Davidson (Octal450) and Jonathan Redpath (legoboyvdlp) # A3XX FCU by Joshua Davidson (Octal450) and Jonathan Redpath (legoboyvdlp)
# Copyright (c) 2019 Joshua Davidson (Octal450), Jonathan Redpath (legoboyvdlp) # Copyright (c) 2020 Josh Davidson (Octal450), Jonathan Redpath (legoboyvdlp)
# Nodes # Nodes
var fd1 = props.globals.getNode("it-autoflight/output/fd1", 1); var fd1 = props.globals.getNode("it-autoflight/output/fd1", 1);

View file

@ -1,6 +1,6 @@
# A3XX FMGC Autopilot # A3XX FMGC Autopilot
# Based off IT-AUTOFLIGHT System Controller V4.0.X # Based off IT-AUTOFLIGHT System Controller V4.0.X
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
# Initialize all used variables and property nodes # Initialize all used variables and property nodes
# Sim # Sim

View file

@ -1,7 +1,7 @@
# A3XX FMGC/Autoflight # A3XX FMGC/Autoflight
# Joshua Davidson (Octal450) and Jonathan Redpath (legoboyvdlp) # Joshua Davidson (Octal450) and Jonathan Redpath (legoboyvdlp)
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
setprop("FMGC/internal/cruise-ft", 10000); setprop("FMGC/internal/cruise-ft", 10000);
setprop("it-autoflight/internal/alt", 10000); setprop("it-autoflight/internal/alt", 10000);

View file

@ -1,7 +1,7 @@
# A3XX FMGC/Autoflight # A3XX FMGC/Autoflight
# Joshua Davidson (Octal450) and Jonathan Redpath (legoboyvdlp) # Joshua Davidson (Octal450) and Jonathan Redpath (legoboyvdlp)
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
################## ##################
# Init Functions # # Init Functions #

View file

@ -1,6 +1,6 @@
# A3XX mCDU by Joshua Davidson (Octal450), Jonathan Redpath, and Matthew Maring (hayden2000) # A3XX mCDU by Joshua Davidson (Octal450), Jonathan Redpath, and Matthew Maring (hayden2000)
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
var dataInput = func(key, i) { var dataInput = func(key, i) {
if (key == "L1") { if (key == "L1") {

View file

@ -1,6 +1,6 @@
# A3XX mCDU by Joshua Davidson (Octal450), Jonathan Redpath, and Matthew Maring (hayden2000) # A3XX mCDU by Joshua Davidson (Octal450), Jonathan Redpath, and Matthew Maring (hayden2000)
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
# Copyright (c) 2020 Matthew Maring (hayden2000) # Copyright (c) 2020 Matthew Maring (hayden2000)
var initInputA = func(key, i) { var initInputA = func(key, i) {

View file

@ -1,6 +1,6 @@
# A3XX mCDU by Joshua Davidson (Octal450), Jonathan Redpath, and Matthew Maring (hayden2000) # A3XX mCDU by Joshua Davidson (Octal450), Jonathan Redpath, and Matthew Maring (hayden2000)
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
# Copyright (c) 2020 Matthew Maring (hayden2000) # Copyright (c) 2020 Matthew Maring (hayden2000)
var MCDU_init = func(i) { var MCDU_init = func(i) {

View file

@ -1,6 +1,6 @@
# A3XX mCDU by Joshua Davidson (Octal450), Jonathan Redpath, and Matthew Maring (hayden2000) # A3XX mCDU by Joshua Davidson (Octal450), Jonathan Redpath, and Matthew Maring (hayden2000)
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
# Copyright (c) 2020 Matthew Maring (hayden2000) # Copyright (c) 2020 Matthew Maring (hayden2000)
var perfTOInput = func(key, i) { var perfTOInput = func(key, i) {

View file

@ -1,6 +1,6 @@
# A3XX mCDU by Joshua Davidson (Octal450), Jonathan Redpath, and Matthew Maring (hayden2000) # A3XX mCDU by Joshua Davidson (Octal450), Jonathan Redpath, and Matthew Maring (hayden2000)
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
var radnavInput = func(key, i) { var radnavInput = func(key, i) {
var scratchpad = getprop("MCDU[" ~ i ~ "]/scratchpad"); var scratchpad = getprop("MCDU[" ~ i ~ "]/scratchpad");

View file

@ -1,6 +1,6 @@
# A3XX mCDU by Joshua Davidson (Octal450), Jonathan Redpath, and Matthew Maring (hayden2000) # A3XX mCDU by Joshua Davidson (Octal450), Jonathan Redpath, and Matthew Maring (hayden2000)
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
var statusInput = func(key, i) { var statusInput = func(key, i) {
if (key == "L3") { if (key == "L3") {

View file

@ -1,7 +1,7 @@
# A3XX Buttons # A3XX Buttons
# Joshua Davidson (Octal450) # Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
# Resets buttons to the default values # Resets buttons to the default values
var variousReset = func { var variousReset = func {

View file

@ -1,7 +1,7 @@
# A320 Main Libraries # A320 Main Libraries
# Joshua Davidson (Octal450) # Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
print("-----------------------------------------------------------------------------"); print("-----------------------------------------------------------------------------");
print("Copyright (c) 2016-2019 Joshua Davidson (Octal450)"); print("Copyright (c) 2016-2019 Joshua Davidson (Octal450)");

View file

@ -1,5 +1,5 @@
# A320 Property Tree Setup # A320 Property Tree Setup
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
# Modified by Jonathan Redpath for A320 # Modified by Jonathan Redpath for A320
# Nodes organized like property tree, except when lots of identical (example: Gear wow), where vectors are used to make it easier # Nodes organized like property tree, except when lots of identical (example: Gear wow), where vectors are used to make it easier
# Anything that says Temp is set by another file to avoid multiple getValue calls # Anything that says Temp is set by another file to avoid multiple getValue calls

View file

@ -1,6 +1,6 @@
# A3XX Shaking # A3XX Shaking
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
var shakeEffectA3XX = props.globals.initNode("/systems/shake/effect", 0, "BOOL"); var shakeEffectA3XX = props.globals.initNode("/systems/shake/effect", 0, "BOOL");
var shakeA3XX = props.globals.initNode("/systems/shake/shaking", 0, "DOUBLE"); var shakeA3XX = props.globals.initNode("/systems/shake/shaking", 0, "DOUBLE");

View file

@ -1,5 +1,5 @@
# Distance Zooming # Distance Zooming
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
# Based on PropertyRule file by onox # Based on PropertyRule file by onox
var distance = 0; var distance = 0;

View file

@ -1,7 +1,7 @@
# A3XX ADIRS System # A3XX ADIRS System
# Joshua Davidson (Octal450) # Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
var ADIRS = { var ADIRS = {
init: func() { init: func() {
setprop("controls/adirs/mcdu/mode1", ""); # INVAL ALIGN NAV ATT or off (blank) setprop("controls/adirs/mcdu/mode1", ""); # INVAL ALIGN NAV ATT or off (blank)

View file

@ -1,7 +1,7 @@
# A3XX IAE V2500 Engine # A3XX IAE V2500 Engine
# Joshua Davidson (Octal450) # Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
##################### #####################
# Initializing Vars # # Initializing Vars #

View file

@ -1,7 +1,7 @@
# A3XX Engine Control # A3XX Engine Control
# Joshua Davidson (Octal450) # Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
if (getprop("options/eng") == "IAE") { if (getprop("options/eng") == "IAE") {
io.include("engines-iae.nas"); io.include("engines-iae.nas");

View file

@ -1,7 +1,7 @@
# A3XX IAE V2500 Engine # A3XX IAE V2500 Engine
# Joshua Davidson (Octal450) # Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
##################### #####################
# Initializing Vars # # Initializing Vars #

View file

@ -1,6 +1,6 @@
# A3XX CFM FADEC by Joshua Davidson (Octal450) # A3XX CFM FADEC by Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
setprop("systems/fadec/n1mode1", 0); # Doesn't do anything, just here for other logic # setprop("systems/fadec/n1mode1", 0); # Doesn't do anything, just here for other logic #
setprop("systems/fadec/n1mode2", 0); # Doesn't do anything, just here for other logic # setprop("systems/fadec/n1mode2", 0); # Doesn't do anything, just here for other logic #

View file

@ -1,6 +1,6 @@
# A3XX FADEC/Throttle Control System # A3XX FADEC/Throttle Control System
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
if (getprop("options/eng") == "IAE") { if (getprop("options/eng") == "IAE") {
io.include("fadec-iae.nas"); io.include("fadec-iae.nas");

View file

@ -1,6 +1,6 @@
# A3XX IAE FADEC by Joshua Davidson (Octal450) # A3XX IAE FADEC by Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
setprop("controls/fadec/n1mode1", 0); setprop("controls/fadec/n1mode1", 0);
setprop("controls/fadec/n1mode2", 0); setprop("controls/fadec/n1mode2", 0);

View file

@ -1,7 +1,7 @@
# A3XX Autobrake # A3XX Autobrake
# Joshua Davidson (Octal450) # Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
var thr1 = 0; var thr1 = 0;
var thr2 = 0; var thr2 = 0;

View file

@ -1,6 +1,6 @@
# A3XX EFIS controller by Joshua Davidson (Octal450). # A3XX EFIS controller by Joshua Davidson (Octal450).
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
setlistener("sim/signals/fdm-initialized", func { setlistener("sim/signals/fdm-initialized", func {
setprop("instrumentation/efis[0]/nd/display-mode", "NAV"); setprop("instrumentation/efis[0]/nd/display-mode", "NAV");

View file

@ -1,7 +1,7 @@
# A3XX Fire System # A3XX Fire System
# Jonathan Redpath # Jonathan Redpath
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
var elapsedTime = props.globals.getNode("sim/time/elapsed-sec"); var elapsedTime = props.globals.getNode("sim/time/elapsed-sec");
var apuTestBtn = props.globals.getNode("controls/fire/apu-test-btn", 1); var apuTestBtn = props.globals.getNode("controls/fire/apu-test-btn", 1);

View file

@ -1,7 +1,7 @@
# A3XX Fuel System # A3XX Fuel System
# Joshua Davidson (Octal450) # Joshua Davidson (Octal450)
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
var FUEL = { var FUEL = {
offset1: 0, offset1: 0,

View file

@ -1,7 +1,7 @@
# A3XX Icing System # A3XX Icing System
# Jonathan Redpath (legoboyvdlp) # Jonathan Redpath (legoboyvdlp)
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
### Ice sensitive components definition. ### Ice sensitive components definition.

View file

@ -1,7 +1,7 @@
# A3XX Pneumatic System # A3XX Pneumatic System
# Joshua Davidson (Octal450) and Jonathan Redpath (legoboyvdlp) # Joshua Davidson (Octal450) and Jonathan Redpath (legoboyvdlp)
# Copyright (c) 2019 Joshua Davidson (Octal450) # Copyright (c) 2020 Josh Davidson (Octal450)
var altitude = 0; var altitude = 0;
var bleed1_sw = 0; var bleed1_sw = 0;