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_" ~ 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);
hbox
true
true
vbox
6
vbox
left
/fdm/jsbsim/running
true
dialog-apply
left
/fdm/jsbsim/complex
true
dialog-apply
hbox
left
/fdm/jsbsim/settings/damage
true
dialog-apply
vbox
left
/sim/rendering/shadow-volume
true
property-toggle
/sim/rendering/shadow-volume
left
/sim/model/occupants
true
dialog-apply
left
/fdm/jsbsim/weather
true
dialog-apply
left
/sim/model/c172p/immat-on-panel
true
dialog-apply
vbox
center
hbox
left
sim/model/c172p/engine_flag_0
true
/sim/freeze/replay-state
dialog-apply
nasal
left
sim/model/c172p/engine_flag_1
true
/sim/freeze/replay-state
dialog-apply
nasal
vbox
center
hbox
left
sim/model/c172p/bushkit_flag_0
true
/sim/freeze/replay-state
dialog-apply
nasal
left
sim/model/c172p/bushkit_flag_1
true
/sim/freeze/replay-state
dialog-apply
nasal
left
sim/model/c172p/bushkit_flag_2
true
/sim/freeze/replay-state
dialog-apply
nasal
hbox
left
sim/model/c172p/bushkit_flag_3
true
/sim/freeze/replay-state
dialog-apply
nasal
left
sim/model/c172p/bushkit_flag_4
true
/sim/freeze/replay-state
dialog-apply
nasal
hbox
6
true