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 Patrick_Waugh
    Started by Guest Patrick_Waugh,

    Using the 747 Jet starter in the 747, I can assign a joystick button to the starter (eng 1) and press it and have it auto-reset to off.That gauge uses this code (mod for clarity): (G:Var1) if // Counter > 0 { (A:Circuit general panel on, bool) (A:Eng1 N2 RPM, percent) 50 < && if // if ( power && rpm < 50 ) { 0 (>K:TOGGLE_STARTER1) // Set starter to zero } els{ (G:Var1) -- (>G:Var1) // Var1-- (dec counter) } } (G:Var1) 0 != // Still not zero? (A:General eng1 starter, bool) || // ICON valueNow, interestingly, when I use this SAME XML gauge in the B206, the behavior is NOT the same.Ba…

    • 9 replies
    • 974 views
  2. Guest Patrick_Waugh
    Started by Guest Patrick_Waugh,

    Hey guys,I notice that current versions of WinZip .zip files cannot just be renamed .cab and used as XML gauges.Further, seems that it cannot open .cab files and have things added to them.I know there is a .cab tool somewhere, anyone know where?Patrick

    • 1 reply
    • 764 views
  3. Started by WarpD,

    Hi,Is there a way to read the lat/long coordinates and altitude of an ILS, of which the freq. is dialled into the HSI (NAV1) into XML var's ??And if so, does the ILS need to be active (CDI/GSI needles valid) ?Any example code would be most appreciated.Regards, Rob Barendregt

    • 5 replies
    • 1.1k views
  4. Guest Patrick_Waugh
    Started by Guest Patrick_Waugh,

    I knew I'd written a utility to do this and I've just stumbled across it again by accident. It's on flightsim.com as nightclr.zip; it lets you select the colour for both the unlit panel background and the lit instruments, then writes the resulting RGB figures to the panel.cfg file. If the COLOR section doesn't exist, it creates it.If anyone wants to move it here....-Dai

    • 1 reply
    • 699 views
  5. Hi!I have a gauge that has width of 356px, but when i put my gauge in my panel.cfg i get ALOT bigger gauge :( .. i'm strugling with this for 3 days now and I simply can't figure it out, so can someone please write me the panel.cfg section!here's mine:[Window07]size_mm=356,178position=4visible=1sizeable = 0gauge00=A320_EcamPageSelector!EcamPageSelector,0,0

  6. Started by n4gix,

    Has anyone any idea why a perfectly normal SPRITE in this ADI will work perfectly on the 2d panel, but shift RIGHT so badly when used in the VC?The background, sprite and sprite's mask are all 300x300 pixels.http://img116.imageshack.us/img116/2171/c400adi2dvcow4.jpgThere's nothing wierd in the code that could account for this oddity that I can find:// -----------------------------------------------------------------FLOAT64 FSAPI stbyadipitch_cb( PELEMENT_SPRITE pelement ){ SINT16 val_y = (SINT16)stbyadi_pitch.var_value.n; if (panel_lights == 1) { LUMINOUS_IMAGE(pelement) ; } else { DELUMINOUS_IMAGE(pelement) ; } if (val_y < -25.0) val_y = -25.0; …

    • 10 replies
    • 999 views
  7. Guest tilentur
    Started by Guest tilentur,

    now i have some troubles, "separanting" my code into more files ... i have the "main" file and the "graphics" file ... here's some codemain file:case PANEL_SERVICE_PRE_DRAW: { PELEMENT_STATIC_IMAGE pelement = (PELEMENT_STATIC_IMAGE)(pgauge->elements_list[0]); if( pelement ) { HDC hdc = pelement->hdc; PIXPOINT dim = pelement->image_data.final->dim; if( hdc ) { //risanje DrawSelectedButton( hdc, NewEcamPage, 1 ); } SET_OFF_SCREEN (pelement); } break; }..and the drawing code :)void DrawSelectedButton( HDC hdc, int button, int color ) { int L1_drawX, L1_drawY, L1_drawX2, L1_drawY2; int L2_drawX, L2_drawY, L2_drawX2, L2_drawY…

    • 3 replies
    • 883 views
  8. Started by martoni,

    Helo guys,I'm trying to make some edits on a smoke file. It has some document to explain the parameters showed in the effects files? There is some program that built smoke files?I want to understand what is that numbers showed in the effects files.Thanks for any help!!

    • 2 replies
    • 887 views
  9. Guest titan_ve
    Started by Guest titan_ve,

    Hello!!, Im trying to do a switch for an ON/OFF operation, i'm using the MAKE_ICON macro but I dont find where should put both image for ON and OFF positions, does anyone know about a good tutorial for this?? Im reading the FS tutorial but I dont still find the way to do thisThank you in advance

    • 4 replies
    • 1.2k views
  10. Started by taguilo,

    Hi Everyone:I've been trying to make a gauge tha disconects de Auto Throttle when the aircraft is on groung, but as sooner as it leaves the ground It reactivates the A/TH again (and keeps it active when Flying)I have tried to make a Gauge, but it does not work. if{ (A:SIM ON GROUND,bool) 1 == if{ 0 (>A:AUTOPILOT_AUTO_THROTTLE_ARM,bool) } } els{ 1 (>A:AUTOPILOT_AUTO_THROTTLE_ARM,bool) } If any oe can help my to figure this out, I'll be very happy.Thanks for your answers

    • 18 replies
    • 2k views
  11. Guest iholrf
    Started by Guest iholrf,

    Hello fellow developers!This might be a little long, but please bare with me!First of all, let me give you a small introduction about myself:My name is Mark and I am a young software developer without a lot of experience. I am also a very active flight simmer and have been for the last 10 years. Together with a mate of mine, I am also in the process of developing a flight sim (stand alone, not a MSFS addon).Apart from flying gliders, I have spent a lot of time in level D sims (watching pilots perform their checkrides, flying the sims and troubleshooting snags I had found :-))What's my point? I have probably tested every addon (*) that claims to be "as real as it gets" or …

    • 41 replies
    • 3.6k views
  12. Started by pve,

    would like a string that writes;(A:Autopilot heading lock dir, degrees)(A:NAV1 OBS,degrees)in a single line with a couple of spaces seperating the values thanks

    • 1 reply
    • 764 views
  13. Guest Patrick_Waugh
    Started by Guest Patrick_Waugh,

    Hey, I'm trying to get a needle to go from 0 and around to zero again for units in a value like this:NONLINEARITY ng2_nonLinearity[] ={ { {175, 199}, 0, 0}, { {164, 196}, 1, 0}, { {156, 186}, 2, 0}, { {156, 174}, 3, 0}, { {164, 164}, 4, 0}, { {175, 199}, 5, 0}, { {187, 164}, 6, 0}, { {193, 174}, 7, 0}, { {193, 186}, 8, 0}, { {187, 196}, 9, 0},};FLOAT64 FSAPI NgNeedle2_cb(PELEMENT_NEEDLE pelement){ double temp = pelement->source_var.var_value.n / 1638.4; return (temp - (int)temp ) * 10;}and, of course, the needle gets to .9 correctly, but then as it goes to zero, it moves CCW back to zero to begin again, while I want it to simply keeping moving forward.I'm guessing one …

    • 3 replies
    • 718 views
  14. Guest Vorlin
    Started by Guest Vorlin,

    In-flight radio!I know there are terrific radio/cd guages out there... to thus far there is no dynamic to them. By that I mean .. great for CDs... and the radio .. pre-selected files. But might their be a way to bring internet radio into the occkpit?Most allof us are on some for of always on-line internet ... be it DSL or Cable.For cockpit music and in general .. I perfer Winnamp ... as they offer a nice choice in internet radio. Thier new player is a very nice modest sized affair. I always though this would be perfect for inside the cockpit as a "positionable guage"... meaning as with the CD/Radio player ... you can simply move it to a spot of choice.Is it possible for o…

    • 1 reply
    • 661 views
  15. Started by pve,

    Hi all I set up Vref approach flap speeds with 'string' for the FMC approach page. %((L:VrefFlapSelect,enum) 1 == )%{if}%('174' '169' '164' '159' '154' '148' '142' '135' '129' '122' 10 (L:VrefCalc,number) case)15°/%!s!KT%{end}% It all works OK, But now I want to use the same numbers to set the Vref bug in the PFD. Can I convert the string numbers to a L:Var,number or will I have to recode it all?

    • 0 replies
    • 854 views
  16. Guest Patrick_Waugh
    Started by Guest Patrick_Waugh,

    Hello all :)I've just joined the forums and need your guidance on how to install a downloaded panel.I succesfully download a panel but can't get it 100% working on my FS9. They either don't appear at all or some gauges don't show up.Although I tried hard I couldn't figure out the whole .cfg thing. So If you please write me step by step process with an easy way,I would be greatful.And thanks all for your efforts on Aviation

    • 1 reply
    • 654 views
  17. Guest rkruijer
    Started by Guest rkruijer,

    Hi,Looking at this code I understand that you can select runways by setting them. Suppose there are 6 runways on a given airport.You can select one of them by setting the line to 0, 1, 2, 3, 4 or 5 1. Is there a way when lined up for take off on nr 2 (rwy 24)to have the selection done automatically?2. Since the runway has two ends, how dus the GPS select either 06 or 24? Does it take the lowest first?Hope you have some experience in this...Roelof1 (>@c:NearestAirportMaximumItems) 2 (>@c:WaypointAirportCurrentRunway, number) (@c:WaypointAirportCurrentRunway, number)(>L:RwyCurrent, number)

    • 2 replies
    • 689 views
  18. Started by rcbarend,

    Hi everyone,sorry if this has been covered before but I couldn't find anything.I'm trying to mod a XML gauge, so that when you pass 500' on the RAD ALT the GPWS will call '500', but only on non-precision or visual approaches. ie. When it doesn't detect a glidelsope. Therefore, when it does detect a glideslope, it stays silent.I've tried experimenting with the code but I can't get it right. Anybody have any ideas? Thanks very much in advance.Cheers,Mark.

    • 14 replies
    • 1.7k views
  19. Started by dragonflightdesign,

    This is really a follow-on from my last post, Grabbing Mouse Co-ordinates. I'm still trying to get a hold of this ASI's speedbugs to rotate them via MOUSE_LEFTDRAG. I've got the actual maths in place to calculate the rotaional movement from the x and y co-ordinates and I know where the mouse cursor is on the instrument background. I can't find anything useful in the MAKE_NEEDLE pelement->struct to tell me where the needle is.... but I did find the rather odd fact that pelement->save_position.x (or y) divides the instrument face into quadrants of 64x64, regardless of any other measurement (bitmap, gauge size etc).Arne: if you're reading; you once gave me this code fr…

  20. >>Oops... more catching up to do, Dai... ;) FS9 does offer>ADF2>>now...>>...kinda, sorta...>>I'm likely to be sticking with C unless pushed. Actually, now>I come to think of it, my dayjob with The Other Big IDE>Company will probably let me learn XML anyway.Dai, I was referring to reading XML variables in a C gauge. For example, the following placed in _PRE_UPDATE:execute_calculator_code("(A:ADF ACTIVE FREQUENCY:1, KHz)",&adf1_freq,NULL,NULL);execute_calculator_code("(A:ADF ACTIVE FREQUENCY:2, KHz)",&adf2_freq,NULL,NULL);We now have adf1_freq and adf2_freq as FLOAT64 variables, with no muss, no fuss since we asked for 'em to be re…

    • 0 replies
    • 806 views
  21. Started by phjvh,

    Hello -I've been trying to black out my screen for a couple seconds with a gauge that is just a black screen and it's been working except for the HUD which will not disappear. I've tried placing the gauge in the panel.cfg in all the windows that the HUD is in and also before the HUD in gauge order (don't know if that matters). Is there a draw flag that would take care of this or something? Thanks for any help.

    • 5 replies
    • 1.3k views
  22. Guest Vorlin
    Started by Guest Vorlin,

    Hey all,I'm into an area that's Black Box / Black Arts... specifically X file exporting from a program other than Gmax / 3ds.In a nutshell, makeMDL handles the exported file ok except when it comes to anims. This is extremely frustrating because careful examination of the animation keys reveals that Gmax's exporter is exporting a non-compliant syntax while my other program is exporting a compliant one.Yet makeMDL works with the non-standard syntax out of Gmax while failing to work with the compliant one.I have June's DX SDK and the Direct Viewer utility can show animations from both X files just fine. It's only that makeMDL can't seem to work with the anim keys that are i…

    • 15 replies
    • 2.4k views
  23. Started by mnmon,

    I have a plane that when the flaps are deployed it maintains level flight in a distinct nose down attitude. Any ideas of what could be causing the behavior and a possible fix? Thanks. Mike

    • 5 replies
    • 2.2k views
  24. Guest Patrick_Waugh
    Started by Guest Patrick_Waugh,

    As we all know, when you turn on the panel lights, a "panel" gets illuminated.This seems to be similar to setting IMAGE_USE_BRIGHT for a gauge.Can this effect be controlled at all with say the alpha of the bmp? Or perhaps it image flag manipulated?I realize one could create a "panel gauge" so there is no background panel, but that has some draw backs.The only other alternate I have come up with is to just use a blank panel, then draw the panel with GDI+, but is overkill if there is an easier way.I'm thinking of setting up the panel so that you turn on the instrument lights, and this gets you luminous instruments, but without the panel being lite up too, which is more rea…

    • 12 replies
    • 1.5k views
  25. Started by DaryllB25840,

    I had a couple of thoughts about the Cessna 310 and discussed them on the Dreamfleet forum. My complaint was that I couldn't feather the engines from the VC after their update. The prop lever, even after moving it to the feather position, didn't stop engine rotation. The discussions resulted in me having to pop-up the 2D throttle quad and finish pulling the prop lever to feather to finally stop engine rotation. I thought of a fine point in design with regard to the lever (throttle, prop, mixture) movements in the VC. Real world aircraft have to have the levers rigged to have cushion at both ends of the travel. This is to signify that the component that is being operated i…

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.