Axis control for Cowl Flaps
-
And this is how it finally worked in FSUIPC:
added the following to the events.txt file:
//Black Square/Commander 114/General
AC11_Cowl_Flap#@ 16384 - -32767 / 100 * 0 max 100 min (>A:RECIP ENG COWL FLAP POSITION:1, percent)And assigned the second mixture axis to the cowl flap that now reads in FSUIPC.ini:
0=1Z,256,F,PAC11_Cowl_Flap,0,0,0 -{ TO SIM: Preset Control }-Done.
Any suggestions for the assignment of the "pitot heater" to the events.txt file?
-
And this is how it finally worked in FSUIPC:
added the following to the events.txt file:
//Black Square/Commander 114/General
AC11_Cowl_Flap#@ 16384 - -32767 / 100 * 0 max 100 min (>A:RECIP ENG COWL FLAP POSITION:1, percent)And assigned the second mixture axis to the cowl flap that now reads in FSUIPC.ini:
0=1Z,256,F,PAC11_Cowl_Flap,0,0,0 -{ TO SIM: Preset Control }-Done.
Any suggestions for the assignment of the "pitot heater" to the events.txt file?
Here are all the events I've done for the Commander so far. Very happy with the flaps one, actually. The button I have set to Flaps Up will set the switch to Up if it isn't, or neutral if it is, and Flaps Down will send 3 on press and 2 on release, so until I release the button I'll do flaps down, just like the real thing

//Black Square/Commander114/Engine
AC11_Cowl_Flap#@ 16384 - -32767 / 100 * 0 max 100 min (>A:RECIP ENG COWL FLAP POSITION:1, percent)
AC11_Cabin_Heat#@ 16384 + 32767 / 100 * 0 max 100 min (>L:var_CabinHeatHandle, number)
AC11_Cabin_Vent#@ 16384 + 32767 / 100 * 0 max 100 min (>L:var_CabinVentHandle, number)
AC11_Defrost#@ 16384 + 32767 / 100 * 0 max 100 min (>L:var_DefrosterHandle, number)
AC11_Magneto_Increase#(L:BKSQ_IgnitionPosition_1, number) ++ 4 == if{ 5 (>L:BKSQ_IgnitionPosition_1, number) } els{ (L:BKSQ_IgnitionPosition_1, number) ++ 5 min (>L:BKSQ_IgnitionPosition_1, number) }
AC11_Magneto_Decrease#(L:BKSQ_IgnitionPosition_1, number) -- 0 max (>L:BKSQ_IgnitionPosition_1, number)
//Black Square/Commander114/AntiIce
AC11_Pitot_Heat#@ (>L:var_PitotHeatSwitch, bool)
//Black Square/Commander114/Primary Control
AC11_FlapsDown#@ (>L:var_FlapSwitchOverride,number)
AC11_FlapsUp#(L:var_FlapSwitchOverride,number) 1 == if{ 2 (>L:var_FlapSwitchOverride, number) } els{ 1 (>L:var_FlapSwitchOverride, number) }