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.

FSX/FSX-SE Aircraft and Panel Design Forum - How To

Designing panels or aircraft for FSX? Want to learn? Here is THE place to get together with fellow designers or to ask questions.

IMPORTANT - If you are not designing panels or aircraft or asking how to design panels or aircraft, please post your questions in the FSX | FSX-SE Forum.

  1. Guest jimdx
    Started by Guest jimdx,

    Hi, I'm trying to get my guage (which is backlit) to dim with the rest of the panel when I turn off the main BUS TIE on my LVLD 767 panel.I don't know this XML stuff at all, but have come up with the following code which toggles a button to open and close the cargo door (I have identical guage to open Main Exit and working on a rear cargo door). I got alot of the code from a button I download and by lookng at other guages.Here's what I got. This dims the backlight ("label_cargo.bmp") only when I turn off the battery.Thanks, if you can help (might be a no brainer for one with xml knowledge, but that's not me! lol:-lol----------------------------------------------------…

    • 0 replies
    • 759 views
  2. Started by rcbarend,

    Gurus, Bill and all, you guys are an invaluable resource. My next question: I used the construct: (L:First, enum) (L:Second, enum) 2 * + ...etc... And it's working just fine. But as my gauge gets bigger, I'm realizing that I need to re-use that first RPN evaluation statement again and again. It makes sense to me to store it in an L:Var, for repeated use and to simplify later calculations, but I'm getting stuck. This doesn't work: (L:First, enum) (L:Second, enum) 2 * + (>L:Result)Basically, L:Result stays zero. What's the best way to go about it? Thanks.---Will

    • 4 replies
    • 949 views
  3. Guest
    Started by Guest,

    Could some one point me toward an explanation on how to determine tab settings in a string or formatted text?I've looked at some gauge files played with some, but I can't make heads nor tails out of how to set tabs where I want them with the L C R tags.Thanks,Paul

    • 8 replies
    • 1.6k views
  4. Guest Cacoman
    Started by Guest Cacoman,

    Hello everybody.I think that the name Richard Probst is well know among panel designers.Personally I don

    • 0 replies
    • 807 views
  5. Guest Vorlin
    Started by Guest Vorlin,

    Hello Guys, this is my first post in avsim forum, but i

    • 6 replies
    • 1.2k views
  6. Guest RasmusS
    Started by Guest RasmusS,

    HiFrom a fsmodule (dll loaded into FS9), i have created a standard dialog (window/form).I set the parent by ::SetParent(mywindowhwnd, fshwnd); (std win 32 API). Now, if i send a SW_HIDE hide message, ShowWindow(mywindowhwnd, SW_HIDE);fs lacks, by 2-3 seconds, until the window is hidden.What can i do to prevent this lack? Anyone else experienced that?Thanks for your help.Regards,Rasmus St

    • 0 replies
    • 903 views
  7. I've just started in XML a week ago, which means I've had a few problems along the way.(I can't imagine what learning GAU is like...) I've fought with this gauge for awhile, and it still refuses to act properly. All of the needles wich point right(south) are working fine. However all needles pointing left, refuse to point to where there supposed to.They also rotate the wrong way. If you need more info abouth the gauge (bitmap sizes and such)I'd be glad to post it.Any help would be greatly appreciated!(A:TRAILING EDGE FLAPS LEFT PERCENT, percent)(A:Gear left position,percent)(A:Gear right position,percent)(A:Gear tail position,percent)

    • 3 replies
    • 715 views
  8. Started by n4gix,

    I looked up the highlights instructions with the example that has the red & white checkerboard and the gradient... I followed it's example letter for letter... and I got a strange result.When I open the resultant bmp with Gimp (a freeware type of PS or PSP) it looks great! The results are exactly what I expected and intended.But when I use it in FS9 or look at it in Imagetool, it's totally transparent. When I look at it with Irfan's Iview, the alpha is ignored and I see the original pre-alpha image in 100% opacity.Now, Irfan's Iview I can understand... it can't handle transparent bmp's. But that only prooves that the base image is still there.But why are imagetool and…

    • 1 reply
    • 776 views
  9. Started by n4gix,

    Hi,I need to be know how I can have XML to compare the first 2 letters from a 4 letter string. Example:string="EHAM" or "EGLL". The first 2 letters are for the country.I need to know what country it is by comparing the first 2 letters.from that string.Can anyone help?Roelof.

    • 5 replies
    • 1.2k views
  10. Guest Tyme
    Started by Guest Tyme,

    I'm having a little trouble with my gauge needles. All needles that point right, are doing everything that their supposed to. Gauge needles pointing left, want to spin the wrong way and not point to where their supposed to.(I'm using Nonlinearity to tell the needle where to point) I know the PointsTo code has something to do with this. I'm all around a little confused about how nonlinearity and Pointsto work together. Any help is greatly appreciated!

    • 4 replies
    • 844 views
  11. Started by Xeo,

    HelloAnybody know how can I get state of sound in FS from XML or C++ gauge ?I found key events SOUND_OFF,SOUND_ON,SOUND_SET,SOUND_TOGGLEBut I can't find how I can see in what state is sound subsystem in msfs.Alex.[a href=http://www.sibwings.com/]http://www.sibwings.com/banner/sw_developer.gif[/a]

    • 6 replies
    • 1.1k views
  12. Guest timewaster
    Started by Guest timewaster,

    Im wondering if you need more than c file for a gauge that hasvisual change like a nav computer?Im not talking about the source file but the "main code file". I noticed that a switch has 2 because of on and of positions. Would this be for all "mutigauges". Thx for any help.

    • 0 replies
    • 770 views
  13. Guest furledd
    Started by Guest furledd,

    I am going to have to give up looking and ask you folks on this..I am outputting a frequency name to my GPS gauge:(@c:WaypointAirportFrequencyName, string) )%!s!How can I only take the first 4 characters - writing out APPROACH and DEPARTURE is too long. !4s! specifies minimum characters to print of course so that wont work. I kludged together a Formatted Text spec with a short X value to clip it but thats a crappy solution.I see in XML SDK they mention lc Converts a string to lowercase.uc Converts a string to uppercase.cap Capitalizes a string.chr Converts a number to a symbol.ord Converts a symbol to an integer.scat Concatenates strings.schr Finds a symbol in a string.sc…

    • 3 replies
    • 1.6k views
  14. Guest Vorlin
    Started by Guest Vorlin,

    Sorry, my bad.Scott / Vorlin

    • 0 replies
    • 560 views
  15. Guest Skymed
    Started by Guest Skymed,

    I was cruising EnGauged's blog, trying to absorb information like a sponge as usual, and I came across post there that is touted as a guide to writing code that is absolutely unmaintainable...... and what is unmaintainable is also about as close to reverse-engineering proof as anyone can ever hope to achieve.After all, if you're the only one who can understand what on earth you were doing with your code, how can anyone else reverse-engineer it and use it? Especially if it's scattered across 25 different xml files and every file does ops on L:Vars for other files, but none of them do the ops on any L:Vars that they themselves display.Oh, that's nothing. Take a peek at a sm…

    • 8 replies
    • 1.4k views
  16. Started by n4gix,

    What does float64 and uint32 do...I understand the rest of the c codemostly but these have me stumped. I looked through the tutorial coming up with nothing. thx for any help (:

    • 3 replies
    • 1.9k views
  17. Guest Vorlin
    Started by Guest Vorlin,

    I really do think there may be something wrong with my parser... and if it wasn't for the fact that all my flyable AC are fine, I'd be sure of it. (Edit: Sorry, "flyable AC" here means all the gauges that are release versions in AC I fly are working perfectly, no matter who wrote them.)These are mouse area tests... I haven't reached the point where I could test what I wanted to because the second mouse area fails to activate... even though it's a copy of the first with the coordinates, K event and tooltip text changed.And they're both copies of a working element from a gauge file I already wrote last month.For me, this script displays both Polygons perfectly, but only the…

    • 6 replies
    • 1k views
  18. Started by n4gix,

    fs9gauges.hIm wondering if you need this file...or what is the purpose?Im not having problems, im just wondering its purpose. thx

    • 3 replies
    • 828 views
  19. Started by nickpike,

    Hi, I'm using,(L:G1000_1_ADF_for_conversion,enum) d 10 * 10000 % int d 10 % r 10 / int d 10 % r 10 / int d 10 % r 10 / int 16 * + 16 * + 16 * + r 1000 < if{ (>K:ADF_LOWRANGE_SET) } els{ (>K:ADF_HIGHRANGE_SET) }I build up the (L:G1000_1_ADF_for_conversion,enum)variable and then set the radio with the above code. All works well. However, the radio will not set with a variable value above 1699.9, yet the ADF frequency range goes to something like 1750 or above. Any ideas?cheers,nick

    • 7 replies
    • 2.4k views
  20. Guest rkruijer
    Started by Guest rkruijer,

    Hi,In the DSK there is a list with units.Most of them are obvious but I am wondering if there is a list with descriptions for them?What for instance does one do with the unit "part"How may percentage units can one use and what is the difference?Other

    • 4 replies
    • 1k views
  21. Guest Vorlin
    Started by Guest Vorlin,

    Hi,I'm using a 3rd party aircraft that seems to have the autopilot active (on) by default when the aircraft loads. If you don't remember to deactivate it the take off roll lasts all the way to your destination. I'm hoping someone can point me to a missing line in one of the cfg files please?ThanksJackhttp://www.dolphin-star.net/TCA/Paintshop/ybanner_tca_FM.jpgIntel P4 3.06Ghz 533FSB HT| 2GB Corsair 333Mhz PC2700 DDR | Asus P4P800 Deluxe | 2 x 120GB Maxtor ATA-133| Sapphire ATI 9800pro 128MB | Creative Audigy 2

    • 3 replies
    • 914 views
  22. Started by phjvh,

    Hi,When startup is unsuccesfull for whatever reason, how do you stop the starter? Jan"Beatus ille qui procul negotiis..."

    • 6 replies
    • 1.1k views
  23. Guest neverboring
    Started by Guest neverboring,

    Greetings:I continue to struggle with the turn and bank null gauge. I received two suggestions for the XML gauge, but neither works. It may be we are using an incorrect pointer. The hand appears, but does not operate the bmgs or turn off the turn and bank gauge. If someone would take the time to help, I will appreciate it. Thank you.Gary Norton

    • 0 replies
    • 681 views
  24. Started by mgh,

    Hi!Can you explain me where this point exactly is?? Quote from the SDK: "...which is on the centerline 1/4 chord aft of the leading edge..."It would be nice if you could explain me where this point is! (would be the best with e picture) greetzfluxim

    • 7 replies
    • 1.5k views
  25. Guest Vorlin
    Started by Guest Vorlin,

    Ok, we all know about the provided DTD... and I've tried the improved DTD that's posted with little to no success at all.So, I created my own. I created it and I'm studying it in depth to learn the relationships between, and requirements of, the tags themselves.But we all know, of course, that this does nothing to help learn RPN or the exact syntaxes of stack operations and logic statements. That's ok, we have a lot of great resources for those things already... enough to fry my two little brain cells, at least!My question is two-fold:A) Has anyone else created working DTD's and tried to write anything up that explains the realtionships between the tags? I'm doing this fo…

    • 0 replies
    • 725 views

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.