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.

Please help a confused Newbie with a XML gauge

Featured Replies

HiI apologize for the vagueness of the subject but I couldn't think of a more consise one that actually covered the subject of my question(s)I have been trying to create a small button that opens and closes the canopy of the DSB Design Hawk.This is what I have so far:(A:MAIN_EXIT_OPEN,bool)It does open and close the canopy, but the button doesn't change (green for closed/red for open) and the tooltip says "Electrical Panel Display/Hide"I think (but am probably wrong) that the button colour problem is down to the (A:MAIN_EXIT_OPEN,bool) line but I don't have a clue what is wrong with the tooltip (it used to say "Open/Close Canopy" before I tried doing the two colour button thing).Any help would be very much appreciatedJumbles

I have been tinkering and still have the problems...I changed the tooltip line to:and now it displays as "Outer Marker Light"!!!

Hi Try thisuntested but should work(A:CANOPY OPEN,bool) Canopy Lock

or if that no worky try this :)(A:CANOPY OPEN,position) 0.1 > Canopy Lock

Woohoo!I tried the first one and it works perfectly!Thank you!How did you know what to put in the "value" line? I've downloaded the panel SDK and that's where I got the MAIN_EXIT_OPEN bit (that obviously didn't work) from.Jumbles

  • Moderator

>Woohoo!>>I tried the first one and it works perfectly!>>Thank you!>>How did you know what to put in the "value" line? I've>downloaded the panel SDK and that's where I got the>MAIN_EXIT_OPEN bit (that obviously didn't work) from.If you wanted to use EXIT OPEN then you need to add an index to let the sim know which exit you want to monitor: EXIT OPEN:1...MAIN_EXIT_OPEN is the C equivalent from the TokenVar.doc file. If you are using XML, then nothing in that particular document is relevant to you... ;)

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Glad it worked out :)If you want more info on xml may I suggest a file by Arne Bartels xmlgau01.zip its for fs2002 but still relevent for fs9 Also grab the great tuts from http://www.fs2x.com/CheersWozza

Thanks everyone for helping me.It's taken me another 6 hours but it now has sound! :)Admittedly it's some default flaps sound but it's better than nothing and the length is pretty close.I just wish I understood why it worked! :-hmmmOnce again thanksJumbles

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.