Jump to content
Sign in to follow this  
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
Guest Ron Freimuth

>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


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

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! ;)


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

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


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...