Aircraft Config: call resetVarious(). SOP: seatbelts and crew oxy to off
This commit is contained in:
parent
341e8558ab
commit
82521c8e76
2 changed files with 5 additions and 2 deletions
|
@ -298,6 +298,7 @@ var colddark = func {
|
|||
setprop("/controls/lighting/overhead-panel-knb", 0);
|
||||
atc.transponderPanel.modeSwitch(1);
|
||||
libraries.systemsInit();
|
||||
libraries.variousReset();
|
||||
failResetOld();
|
||||
if (getprop("/engines/engine[1]/n2-actual") < 2) {
|
||||
colddark_b();
|
||||
|
@ -343,6 +344,7 @@ var beforestart = func {
|
|||
setprop("/controls/gear/gear-down", 1);
|
||||
setprop("/controls/flight/elevator-trim", 0);
|
||||
libraries.systemsInit();
|
||||
libraries.variousReset();
|
||||
failResetOld();
|
||||
|
||||
# Now the Startup!
|
||||
|
@ -434,6 +436,7 @@ var taxi = func {
|
|||
setprop("/controls/gear/gear-down", 1);
|
||||
setprop("/controls/flight/elevator-trim", 0);
|
||||
libraries.systemsInit();
|
||||
libraries.variousReset();
|
||||
failResetOld();
|
||||
|
||||
# Now the Startup!
|
||||
|
|
|
@ -32,7 +32,7 @@ var variousReset = func() {
|
|||
setprop("/controls/CVR/gndctl", 0);
|
||||
setprop("/controls/CVR/erase", 0);
|
||||
setprop("/controls/switches/pneumatics/cabin-fans", 1);
|
||||
setprop("/controls/oxygen/crewOxyPB", 1); # 0 = OFF 1 = AUTO
|
||||
setprop("/controls/oxygen/crewOxyPB", 0); # 0 = OFF 1 = AUTO
|
||||
setprop("/controls/switches/emerCallLtO", 0); # ON light, flashes white for 10s
|
||||
setprop("/controls/switches/emerCallLtC", 0); # CALL light, flashes amber for 10s
|
||||
setprop("/controls/switches/emerCall", 0);
|
||||
|
@ -63,7 +63,7 @@ var variousReset = func() {
|
|||
setprop("/controls/navigation/switching/att-hdg", 0);
|
||||
setprop("/controls/navigation/switching/air-data", 0);
|
||||
setprop("/controls/switches/no-smoking-sign", 0.5);
|
||||
setprop("/controls/switches/seatbelt-sign", 1);
|
||||
setprop("/controls/switches/seatbelt-sign", 0);
|
||||
}
|
||||
|
||||
var BUTTONS = {
|
||||
|
|
Loading…
Reference in a new issue