Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

INCREASE_AUTOBRAKE_CONTROL XML FS9

Featured Replies

Hi all (A:Auto brake switch cb, enum) ++ d 5 <= * d 5 min (>K:INCREASE_AUTOBRAKE_CONTROL) I thought this might increase the auto brake to max (5) with one click but no. Can anyone help

Paul EGLD

  • Moderator

>> Hi all>> (A:Auto brake switch cb, enum) ++ d 5 <= * d 5>min (>K:INCREASE_AUTOBRAKE_CONTROL)>> I thought this might increase the auto brake to max (5)>with one click but no. Can anyone help5 (>K:INCREASE_AUTOBRAKE_CONTROL)

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Hi Bill It will not work in a click, but this does. (L:AntiSkid,bool) if{ (A:Auto brake switch cb, enum) ++ (>K:INCREASE_AUTOBRAKE_CONTROL)} els{ (>K:DECREASE_AUTOBRAKE_CONTROL) } It will only switch from max to min (5 to 0) can't stop it at 1.

Paul EGLD

  • Author

Your probably not done with the code but in your above case the vars are going to keep firing all the time. Maybe try this:(L:AntiSkid,bool) if{ (A:Auto brake switch cb, enum) 5 != if{ (>K:INCREASE_AUTOBRAKE_CONTROL) } } els{ (A:Auto brake switch cb, enum) 1 != if{ (>K:DECREASE_AUTOBRAKE_CONTROL) } }But having this in an element would require more code if your aircraft has both A-skid and A-Brake (737-400 for instance). It would probably be better to put this into a click and macro for the A-skid function that way it wouldn't override the A-brake function. (L:AntiSkid,bool) if{ (>K:INCREASE_AUTOBRAKE_CONTROL) (>K:INCREASE_AUTOBRAKE_CONTROL) (>K:INCREASE_AUTOBRAKE_CONTROL) (>K:INCREASE_AUTOBRAKE_CONTROL) (>K:INCREASE_AUTOBRAKE_CONTROL) } els{ (>K:DECREASE_AUTOBRAKE_CONTROL) (>K:DECREASE_AUTOBRAKE_CONTROL) (>K:DECREASE_AUTOBRAKE_CONTROL) (>K:DECREASE_AUTOBRAKE_CONTROL) }(L:AntiSkid,bool) ! (>L:AntiSkid,bool) @AntiSkid0 (>L:AntiSkid,bool)(>K:INCREASE_AUTOBRAKE_CONTROL)0 (>L:AntiSkid,bool)(>K:DECREASE_AUTOBRAKE_CONTROL)That should get it to stop at 1 when A-Skid is off & not fire all the time. BTW i haven't tested or have done XML in a long time so the syntax may be wrong " != " for instance.Regards,Roman

20AUG21_Avsim_Sig.png?dl=1  FS RTWR   SHRS F-111   JoinFS   Little Navmap 
 

 

Good job Roman The first code will do what I need. Thanks for the lesson. Paul

Paul EGLD

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.