aircraft-dialog
vbox
false
false
true
# Bush kit
var p = getprop("fdm/jsbsim/bushkit");
setprop("/sim/model/c172p/bushkit_flag_0", 0);
setprop("/sim/model/c172p/bushkit_flag_1", 0);
setprop("/sim/model/c172p/bushkit_flag_2", 0);
setprop("/sim/model/c172p/bushkit_flag_3", 0);
setprop("/sim/model/c172p/bushkit_flag_4", 0);
setprop("/sim/model/c172p/bushkit_flag_5", 0);
setprop("/sim/model/c172p/bushkit_flag_" ~ p, 1);
# Engine power
var p = getprop("/controls/engines/active-engine");
setprop("sim/model/c172p/engine_flag_0", 0);
setprop("sim/model/c172p/engine_flag_1", 0);
setprop("sim/model/c172p/engine_flag_" ~ p, 1);
# Tank size
var p = getprop("/fdm/jsbsim/fuel/tank");
setprop("sim/model/c172p/tank_flag_0", 0);
setprop("sim/model/c172p/tank_flag_1", 0);
setprop("sim/model/c172p/tank_flag_" ~ p, 1);
hbox
true
true
vbox
6
vbox
left
/fdm/jsbsim/running
true
dialog-apply
left
/sim/model/c172p/save-state
true
dialog-apply
vbox
left
/engines/active-engine/complex-engine-procedures
true
dialog-apply
hbox
left
/fdm/jsbsim/settings/damage
true
dialog-apply
nasal
left
/sim/model/c172p/enable-fog-frost
true
dialog-apply
vbox
left
sim/model/c172p/cockpit/control-lock-placed
true
dialog-apply
left
/sim/model/c172p/securing/chock
true
/sim/model/c172p/securing/chock-can-have
dialog-apply
left
/sim/model/c172p/securing/cowl-plugs-visible
true
/engines/active-engine/running
/engines/active-engine/rpm
0
dialog-apply
left
/sim/model/c172p/securing/pitot-cover-visible
true
velocities/groundspeed-kt
1.0
dialog-apply
left
/sim/model/c172p/securing/tiedownL-visible
true
/sim/model/c172p/securing/tiedowns-can-have
dialog-apply
left
/sim/model/c172p/securing/tiedownR-visible
true
/sim/model/c172p/securing/tiedowns-can-have
dialog-apply
left
/sim/model/c172p/securing/tiedownT-visible
true
/sim/model/c172p/securing/tiedowns-can-have
dialog-apply
vbox
left
/sim/model/occupants
true
dialog-apply
vbox
left
/sim/model/c172p/garmin196-visible
/controls/panel/glass
true
dialog-apply
left
/sim/model/c172p/digitalclock-visible
true
/controls/panel/glass
dialog-apply
left
/sim/model/c172p/ruddertrim-visible
true
dialog-apply
vbox
center
hbox
left
sim/model/c172p/engine_flag_0
true
/sim/freeze/replay-state
dialog-apply
nasal
dialog-show
c172p-oil-dialog-180
dialog-close
c172p-oil-dialog-180
property-assign
/engines/active-engine/oil-level
7.0
left
sim/model/c172p/engine_flag_1
true
/sim/freeze/replay-state
dialog-apply
nasal
dialog-show
c172p-oil-dialog-160
dialog-close
c172p-oil-dialog-160
property-assign
/engines/active-engine/oil-level
8.0
vbox
center
hbox
left
sim/model/c172p/tank_flag_0
true
/sim/freeze/replay-state
dialog-apply
nasal
left
sim/model/c172p/tank_flag_1
true
/sim/freeze/replay-state
dialog-apply
nasal
vbox
center
hbox
vbox
left
sim/model/c172p/bushkit_flag_0
true
/sim/freeze/replay-state
fdm/jsbsim/hydro/active-norm
dialog-apply
nasal
dialog-show
c172p-oil-dialog-180
dialog-close
c172p-oil-dialog-180
property-assign
/engines/active-engine/oil-level
7.0
left
sim/model/c172p/bushkit_flag_1
true
/sim/freeze/replay-state
fdm/jsbsim/hydro/active-norm
dialog-apply
nasal
dialog-show
c172p-oil-dialog-180
dialog-close
c172p-oil-dialog-180
property-assign
/engines/active-engine/oil-level
7.0
left
sim/model/c172p/bushkit_flag_2
true
/sim/freeze/replay-state
fdm/jsbsim/hydro/active-norm
dialog-apply
nasal
dialog-show
c172p-oil-dialog-180
dialog-close
c172p-oil-dialog-180
property-assign
/engines/active-engine/oil-level
7.0
vbox
left
sim/model/c172p/bushkit_flag_3
true
/sim/freeze/replay-state
dialog-apply
nasal
property-assign
sim/model/c172p/securing/chock
false
property-assign
sim/model/c172p/securing/tiedownL-visible
false
property-assign
sim/model/c172p/securing/tiedownR-visible
false
property-assign
sim/model/c172p/securing/tiedownT-visible
false
dialog-show
c172p-oil-dialog-160
dialog-close
c172p-oil-dialog-160
property-assign
/engines/active-engine/oil-level
8.0
left
sim/model/c172p/bushkit_flag_4
true
/sim/freeze/replay-state
dialog-apply
nasal
property-assign
sim/model/c172p/securing/chock
false
dialog-show
c172p-oil-dialog-160
dialog-close
c172p-oil-dialog-160
property-assign
/engines/active-engine/oil-level
8.0
left
sim/model/c172p/bushkit_flag_5
true
/sim/freeze/replay-state
fdm/jsbsim/hydro/active-norm
dialog-apply
nasal
property-assign
sim/model/c172p/securing/chock
false
dialog-show
c172p-oil-dialog-160
dialog-close
c172p-oil-dialog-160
property-assign
/engines/active-engine/oil-level
8.0
hbox
left
/controls/mooring/automatic
true
dialog-apply
hbox
6
true