Archived

This topic is now archived and is closed to further replies.

Rocky

FSX - Playing with AP Max Bank Angle, no success...

Recommended Posts

The new FSX gauges.h allows to change the auto-pilot max bank angle. I tried to play with this variable 1) by assigning a key to the "Autopilot (decrease max bank)" event, and 2) by triggering a "KEY_AP_MAX_BANK_DEC" event in my C++ code. Both didn't work, and the max bank angle I have remains at 25

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

>The new FSX gauges.h allows to change the auto-pilot max bank>angle. I tried to play with this variable 1) by assigning a>key to the "Autopilot (decrease max bank)" event, and 2) by>triggering a "KEY_AP_MAX_BANK_DEC" event in my C++ code. Both>didn't work, and the max bank angle I have remains at 25

Share this post


Link to post
Share on other sites

>The new FSX gauges.h allows to change the auto-pilot max bank>angle. I tried to play with this variable 1) by assigning a>key to the "Autopilot (decrease max bank)" event, and 2) by>triggering a "KEY_AP_MAX_BANK_DEC" event in my C++ code. Both>didn't work, and the max bank angle I have remains at 25

Share this post


Link to post
Share on other sites

>Thanks for your help, Bill, it now works perfect !!Thank Mike Schroeter next time you are => over there =>... ;)I added the comments in my gauges.h so I won't forget should I use those myself later! ;)

Share this post


Link to post
Share on other sites

I will !!BTW, I'm happy that you remember that we met some time ago, "over there" ;-)I hope we will have the opportunity to do this again...Eric

Share this post


Link to post
Share on other sites

For the sake of anyone else looking for the answer (which seems to have mysteriously vanished!), here it is:

#define KEY_AP_MAX_BANK_INC                 (KEY_ID_MIN + 1173)		// must set aircraft.cfg:	[autopilot]#define KEY_AP_MAX_BANK_DEC                 (KEY_ID_MIN + 1174)		// max_bank=27,14

Share this post


Link to post
Share on other sites