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. Started by pve,

    Hi all Can't get the maths right in this code. (L:VNAV,bool) 1 == if{ (L:Var9,number) 0 == ! (A:Indicated Altitude, feet) 10000 < && if{ 240 } } (L:Var9,number) 0 == ! (A:Indicated Altitude, feet) 10000 > && if{ 280 } (L:Var9,number) 0 == (A:Indicated Altitude, feet) s0 26000 < l0 20000 > && && if{ 310 } (L:Var9,number) 0 == (A:Indicated Altitude, feet) 26000 > && if{ 0.77 } This macro gives all the correct numbers in test gauge and sets the airspeeds OK but the last one 0.77 for setting the mach with (>K:AP_MACH_VAR_SET) gives . 1 in ((A:Autopilot mach hold var, mach) 100 * 99 min ) string.

    • 5 replies
    • 1.1k views
  2. Started by mgh,

    BillI'll take up your offer in another thread to explain why it becomes necessary to load a default aircraft before some complex aircraft. If I came over as confrontational that was because no one would/could demonstrate why it is necessary and what is the underlying mechanism. Over to you ;)

    • 19 replies
    • 3.1k views
  3. Guest coal
    Started by Guest coal,

    Hello friends,I've read some posts here about the subject (NNUMBER) and, followinf them, I can make the tail number to show on the fuselage. But I must do something wrong, 'cos I cannot get a similar fuselage color for the DECAL_NNUMBER texture (what I'd really like is a transparent background).I use FSDS3, make a rectangular polygon as a part, call it decal_nnumber, then I apply a texture called DECAL_NNUMBER (I've tried DECAL_NNUMBER.BMP and the same name without any extension)like the one in the plane fuselage. Well, I get a different background when I load the plane in FS9, and no matter the DECAL_NNUMBER texture I apply, I always get the same thing in FS9.Can anybody…

    • 0 replies
    • 755 views
  4. Started by pve,

    Guys,If I have an object that is 260 px by 260 px, and I want it to rotate around its own centre, its axis needs to be Correct?

    • 1 reply
    • 700 views
  5. Started by n4gix,

    Thanks for all the speedy help opn the other questions I've posted. This looks like a friendly and helpful forum. My next question has to do with testing whether or not it's "night" outside. Is there a token variable I can include in my XML file?I'm making a gauge that displays two different bitmaps:1. Daytime bitmap2. Nighttime bitmap3. Nighttime bitmap with Bright="Yes"The third condition simulates turning on the gauge's lights. But how can I tell that the sim knows it's dark outside? I found the GMT variables in the SDK, but I'd really hate to go calculating for all the possibile time zones...---Will

    • 7 replies
    • 1k views
  6. Started by taguilo,

    Hi All. I'm making a Garmin G1000 and things are progressing nicely.This has a row of 12 buttons (and hence click areas) along the bottom.The way they work is as follows.Click on a button, and all the buttons change function, acting like a sub-menu to the original button clicked.Therefore, in the default state, I allow each button to be active using Visible Visible tags in the Area Area code for each button. Then when a button is clicked and the buttons change function, I have new area code which is active according to a new set of visible tags. This all works great, but I have a lot of Visible tags. I tried grouping all the buttons by nesting them in on visible tag, but …

    • 23 replies
    • 2.3k views
  7. Guest aa7373
    Started by Guest aa7373,

    I have been working on a selcal switch that when its pushed the switch will light up and play selcal tones. I've gotten the switch to work but when I can't get the sound to work. I've tried to use the dsd_xml_sound3.gau but with no luck. Ihave installed this switch in two aircraft. In the Aeroworx's King Air it makes just a switch clicking sound. In the default king air it doesn't make any sound. I followed the instructions on the sound gauge ini file but it seems not to reconise the Lvar. Is there anyone that can help me? I sure would appreciate it.Thanks,John

    • 3 replies
    • 910 views
  8. Guest _FSAviator_
    Started by Guest _FSAviator_,

    Hi,first I'm a newbie with aircraft design.What I want to do is to add spoilers (or airbrakes) functionality to an aircraft that doesn't have this feature.I tried to modify the aircraft.cfg adding the strings:spoiler_limit=59.989spoilerons_available=1but when I push the button assigned in FS2004 to activate spoilers, nothing happens.Is there another file to edit to add this feature?Thank you, regards.Bob

    • 2 replies
    • 2.2k views
  9. Started by n4gix,

    Hi folks. I'm making an xml gauge that will display three different bitmaps depending on the state of . My rather basic problem is getting Dummy to increment in steps from 0 to 2. Here's what I'm trying to do in pseudo-code: If Dummy is greater than 1, then decrement Dummy by 1 <----- HELP If Dummy is less than 2, then increment Dummy by 1 <----- HELP I don't know how to do the If... then... statements in xml. The rest seems to be working okay. Any help would be appreciated, thanks.---Will

    • 11 replies
    • 1.7k views
  10. Guest Vorlin
    Started by Guest Vorlin,

    I'm no guru, but I've written a thousand+ line gauge that works nicely. I've run into an issue while trying to learn macros and I simplified it as far down as possible to try to pinpoint the issue... and it's become a nightmare because it's stripped down to the simplest form possible, all syntax should work, and it's as if the parser has flipped out.Jordan Moore was kind enough to help me out with the first part of it and that issue turned out to be that the parser was choking on:%(L:MyVar1,bool)%!5d!It was demanding that I read it off the stack, as in:%((L:MyVar1,bool) d 0 == ?)%!5d!Oh, I've long given up asking why on that one. That part works, I can use the second for…

    • 24 replies
    • 2.5k views
  11. Started by taguilo,

    So I have my gauge which displays one of two bitmaps depending on the state of an internal variable. All is good. But I want to add another IF statement that sets Bright="Yes" based on the case of another variable, like A:LIGHT PANEL. Here's my functional part:(G:Var1,bool)What I want is something like: IF (A:LIGHT PANEL, bool) 1 == THEN add Bright="Yes" to both lines.But I don't know how to integrate this. Thanks for the help, gurus.---Will

    • 1 reply
    • 793 views
  12. Guest John_Noppe
    Started by Guest John_Noppe,

    Hello as you may be know, the Dutch Airliner Transavia has already a while a new livery on their B738`s.I am user of PMDG`s Boeing 737-800/900 Add-On.so my question is: is somewhere a NEW livery wich will work @ PMDG`s Boeing 737-800/900 for FS2004???Greetings!!! PH-AJO (from Holland)

    • 1 reply
    • 942 views
  13. Guest Moparmike
    Started by Guest Moparmike,

    I'm working on a slider-type gauge for CFS2...hence the reason behind me using the FS2000 SDK...I need to find the y-axis size of my gauge when it's placed on the panel so I can use it in the mouse position calculations.I've got working code for this in an FS2002 gauge using this to get the size dimension: pelement->gauge_header->size.y The problem is that the FS2000 gauge header doesn't have "size" defined. To get my mouse position, I'm using: PPIXBOX relative_point I have tried using PPIXBOX size_y to get the y-axis dimension into the code as a variable, but it isn't working.In particular, I'm using the formula "y_axis_dimension_var - relative_point_var…

    • 1 reply
    • 847 views
  14. Started by phjvh,

    THis is Nicksjetexhaust & I want to make this effect turn off at 28000 feet to simulate the transition from a smokie exhaust to contrails. Can some one help with this??Scotty (A:TURB ENG1 N1,percent) 5 > (A:TURB ENG2 N1,percent) 5 > || (A:GENERAL ENG1 THROTTLE LEVER POSITION,percent) 65 > (A:GENERAL ENG2 THROTTLE LEVER POSITION,percent) 65 > || && if{ (A:LIGHT RECOGNITION,bool) ! (A:SIM ON GROUND,bool) ! && if{ (>K:TOGGLE_RECOGNITION_LIGHTS) } } els{ (A:LIGHT RECOGNITION,bool) (A:SIM ON GROUND,bool) ! && …

    • 3 replies
    • 1.1k views
  15. Guest mtom
    Started by Guest mtom,

    Hi all.Can anyone tell me how to get VC night lights working in Krzysztof Malinopwski's P-40? The VC does not light up in FS8 and FS9 at night. Any ideas as to whether I can get this going?Cheers,Matthew.

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

    If the value of COM_mem[12] is 0.00, then I want to suppress display, otherwise, display the value: if (COM_mem[12] != 0.00f) { swprintf(buf,L"%3.2f",COM_mem[12]); } else { swprintf(buf,L""); }Unfortunately, it isn't working as expected... swprintf(buf,L"");by itself works as expected, so obviously the problem is in the if condition... I've tried using simply 0, 0.00, and now 0.00f and none of 'em work.

    • 1 reply
    • 784 views
  17. Guest taipan_daz
    Started by Guest taipan_daz,

    Legends of the Sky is looking for modelers, panel designers, air craft painters, and scenery designers for payware and freeware projects. If you are interested in learning more please e-mail me at [email protected] . Get paid to do what you love to do....

    • 1 reply
    • 711 views
  18. Started by n4gix,

    I would like to design an SDK similar to those used by Level-D 767 and the CIVA INS where access to certain variables within the project is given to developers. Specifically I would like to include library/header files and document the variables. How can the internal multi-gauge variables be exported and used externally in this way? Appreciate any help or suggestions.

    • 3 replies
    • 1k views
  19. Guest pwdodds
    Started by Guest pwdodds,

    I am helping build an Autogyro, but becuase FS cannot make a powerless rotor, we are having to fake it by using a jet engine with no controls - driven by invisible XML gauges. However, the thrust engine has to be a jet engine also because FS will not allow mixed engine types. But it is in fact a recip engine, so we have magnetos. In the following code, I can get the mags to switch (they don't actually do anything) but I want to pass out the parameter L:MagnetoStatus,enum, so that the starter switch will read this value and not start the engine if that variable is set to zero (both mags off). I have a temporay test gauge to rwad the values and display them, and the (L:Left…

    • 4 replies
    • 1.1k views
  20. Started by pve,

    Hi all I want to remove Vor types 3 4 5 and 6 from search using (>@c:NearestVorRemoveVorType) 3 (>@c:NearestVorRemoveVorType) works OK But 3 >= (>@c:NearestVorRemoveVorType) no good.

    • 8 replies
    • 1.2k views
  21. Guest capncrazy68
    Started by Guest capncrazy68,

    Hey guys,I am modifying Captainsims C-130 Nav panel to add a few gauges. The way they designed it, their fixed window is all compiled into a gauge, bitmap included. So... I am forced to put a set of gauges into a [Fixed Window] view. I got a new [window] to pop up with the Nav panel by their icon, by setting the icon ID, but it's a fixed window, so when you go back to another view, that popup window I added stays up. The icon commands the popup to come up, but switching to any other view, it stays there. I have to close it from the menu. Is there anyway to slave it to the fixed window so when I change views it closes also?Here's a copy of pertaining sections. ----…

    • 0 replies
    • 832 views
  22. Started by G.Franco Corrias,

    hi to all,within FS9,can a plane have more than one Hydraulic system in order to supply different Hydraulic power sources to different plane systems?If it's possible how to realize it?Thanks

  23. Guest Mathias
    Started by Guest Mathias,

    Hi!Is it possible to feed external data to FS9 a/c's in terms of position and/or force and moments, in order to e.g. drive FS9 a/c's using an external flight model?Marco

    • 1 reply
    • 828 views
  24. Guest Mathias
    Started by Guest Mathias,

    Does anyone know if there is a XML variable or parameter that can be used to operate an inertial separator? I want to add one to my turbo prop aircraft panel.Thanks

    • 5 replies
    • 2k views
  25. Started by Bob Scott,

    I was wondering if these SDK click events are simple to make work in an xml gauge? I have a need to transfer fuel to maintain a CoG, but just want the transfer to be as simple as a click knob on the panel and VC. Its possible to do these commands through the key assignments list, but is it possible to do this without using key presses and just clicks on a panel?SET_FUEL_TRANSFER_AUTOSET_FUEL_TRANSFER_FORWARDSET_FUEL_TRANSFER_AFTSET_FUEL_TRANSFER_OFFMany thanks in advance!David.

    • 3 replies
    • 1.3k 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.