GIT: Update 2019 to 2020
This commit is contained in:
parent
158e7286a9
commit
60bdf8f08e
46 changed files with 46 additions and 46 deletions
|
@ -1,7 +1,7 @@
|
|||
# Aircraft Config Center
|
||||
# Joshua Davidson (Octal450)
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
var spinning = maketimer(0.05, func {
|
||||
var spinning = getprop("systems/acconfig/spinning");
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# A3XX IESI
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
var IESI = nil;
|
||||
var IESI_display = nil;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# A3XX Lower ECAM Canvas
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
var lowerECAM_apu = nil;
|
||||
var lowerECAM_bleed = nil;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# 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)
|
||||
|
||||
var MCDU_1 = nil;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Joshua Davidson (Octal450)
|
||||
# Based on work by artix
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
var get_local_path = func(file){
|
||||
var aircraft_dir = split("/", getprop("/sim/aircraft-dir"))[-1];
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Joshua Davidson (Octal450)
|
||||
# Based on work by artix
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
var A3XXRouteDriver = {
|
||||
new: func(){
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# A3XX ND Canvas
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
io.include("A3XX_ND.nas");
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Joshua Davidson (Octal450)
|
||||
# Based on work by artix
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
canvas.NDConfig = {
|
||||
properties: {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Joshua Davidson (Octal450)
|
||||
# Based on work by artix
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
canvas.RouteDriver = {
|
||||
new: func(){
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Joshua Davidson (Octal450)
|
||||
# Based on work by artix
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
var assert_m = canvas.assert_m;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Joshua Davidson (Octal450)
|
||||
# Based on work by artix
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
# Override FGDATA/Nasal/canvas/map/navdisplay.mfd
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Joshua Davidson (Octal450)
|
||||
# Based on work by artix
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
var SymbolPainter = {
|
||||
aircraft_dir: nil,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Joshua Davidson (Octal450)
|
||||
# Based on work by artix
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
var version = getprop("sim/version/flightgear");
|
||||
var v = split(".", version);
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Joshua Davidson (Octal450)
|
||||
# Based on work by artix
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
var ALWAYS = func 1;
|
||||
var NOTHING = func nil;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# A3XX PFD
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
var PFD_1 = nil;
|
||||
var PFD_2 = nil;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# A3XX Upper ECAM Canvas
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
var upperECAM_cfm_eis2 = nil;
|
||||
var upperECAM_iae_eis2 = nil;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# A3XX ECAM
|
||||
# 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 athr_active = 0;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Airbus A3XX FBW/Flight Control Computer System
|
||||
# Joshua Davidson (Octal450)
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
# If All ELACs Fail, Alternate Law
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# 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
|
||||
var fd1 = props.globals.getNode("it-autoflight/output/fd1", 1);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# A3XX FMGC Autopilot
|
||||
# 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
|
||||
# Sim
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# A3XX FMGC/Autoflight
|
||||
# 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("it-autoflight/internal/alt", 10000);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# A3XX FMGC/Autoflight
|
||||
# Joshua Davidson (Octal450) and Jonathan Redpath (legoboyvdlp)
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
##################
|
||||
# Init Functions #
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# 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) {
|
||||
if (key == "L1") {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# 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)
|
||||
|
||||
var initInputA = func(key, i) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# 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)
|
||||
|
||||
var MCDU_init = func(i) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# 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)
|
||||
|
||||
var perfTOInput = func(key, i) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# 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 scratchpad = getprop("MCDU[" ~ i ~ "]/scratchpad");
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# 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) {
|
||||
if (key == "L3") {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# A3XX Buttons
|
||||
# Joshua Davidson (Octal450)
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
# Resets buttons to the default values
|
||||
var variousReset = func {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# A320 Main Libraries
|
||||
# Joshua Davidson (Octal450)
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
print("-----------------------------------------------------------------------------");
|
||||
print("Copyright (c) 2016-2019 Joshua Davidson (Octal450)");
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# A320 Property Tree Setup
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
# 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
|
||||
# Anything that says Temp is set by another file to avoid multiple getValue calls
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# 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 shakeA3XX = props.globals.initNode("/systems/shake/shaking", 0, "DOUBLE");
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# Distance Zooming
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
# Based on PropertyRule file by onox
|
||||
|
||||
var distance = 0;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# A3XX ADIRS System
|
||||
# Joshua Davidson (Octal450)
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
var ADIRS = {
|
||||
init: func() {
|
||||
setprop("controls/adirs/mcdu/mode1", ""); # INVAL ALIGN NAV ATT or off (blank)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# A3XX IAE V2500 Engine
|
||||
# Joshua Davidson (Octal450)
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
#####################
|
||||
# Initializing Vars #
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# A3XX Engine Control
|
||||
# Joshua Davidson (Octal450)
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
if (getprop("options/eng") == "IAE") {
|
||||
io.include("engines-iae.nas");
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# A3XX IAE V2500 Engine
|
||||
# Joshua Davidson (Octal450)
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
#####################
|
||||
# Initializing Vars #
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# 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/n1mode2", 0); # Doesn't do anything, just here for other logic #
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# A3XX FADEC/Throttle Control System
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
if (getprop("options/eng") == "IAE") {
|
||||
io.include("fadec-iae.nas");
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# 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/n1mode2", 0);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# A3XX Autobrake
|
||||
# Joshua Davidson (Octal450)
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
var thr1 = 0;
|
||||
var thr2 = 0;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# 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 {
|
||||
setprop("instrumentation/efis[0]/nd/display-mode", "NAV");
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# A3XX Fire System
|
||||
# Jonathan Redpath
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
var elapsedTime = props.globals.getNode("sim/time/elapsed-sec");
|
||||
var apuTestBtn = props.globals.getNode("controls/fire/apu-test-btn", 1);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# A3XX Fuel System
|
||||
# Joshua Davidson (Octal450)
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
var FUEL = {
|
||||
offset1: 0,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# A3XX Icing System
|
||||
# Jonathan Redpath (legoboyvdlp)
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
|
||||
### Ice sensitive components definition.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# A3XX Pneumatic System
|
||||
# Joshua Davidson (Octal450) and Jonathan Redpath (legoboyvdlp)
|
||||
|
||||
# Copyright (c) 2019 Joshua Davidson (Octal450)
|
||||
# Copyright (c) 2020 Josh Davidson (Octal450)
|
||||
|
||||
var altitude = 0;
|
||||
var bleed1_sw = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue