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,

    Let's say that you are going to create a light.By the book appears to be:MAKE_ICON( ) // ON StateMAKE_ICON( ) // OFF StateMAKE_STATIC( ) // Backgroundhowever, it seems that if your gauge is going to be placed onto the background of the larger panel you could do this:MAKE_ICON( ) // ON StateMAKE_STATIC( ) // OFF Stateand be just fine. In fact, I have tested this and all seems to work.What are the disadvantages to doing it this way, if any that you may have experienced?Patrick

    • 0 replies
    • 644 views
  2. Guest mgipson
    Started by Guest mgipson,

    In my panel I have various views, one of which is a captains VFR view. I switch to it in C code by using trigger_key_event(KEY_VIEW_FORWARD_UP, 0);The switching works fine, as it does for the other 3 views. I get a problem after switching to the captains VFR view though. After I switch the aircraft lights get confused and my light switches do not work anymore. MSFS will report back that the landing lights (etc.) are off when in fact they are actually on. I have checked my logic for the lights and it is good and works perfectly if I do not switch to the captains VFR view.Has anybody else seen anything like this? Got any clues as to what the problem could be?Thanks!

    • 2 replies
    • 655 views
  3. Guest HC001ST - Stick
    Started by Guest HC001ST - Stick,

    Seems really odd to me that to use gdiplus, you have to have:#ifndef ULONG_PTR #define ULONG_PTR unsigned int#endifbefore the:#include and that the ULONG_PTR is not defined in that header as gdiplus uses that syntax.Weird. I wonder if that MS define is in like windows.h or something.

    • 1 reply
    • 4.3k views
  4. Guest bartels
    Started by Guest bartels,

    Hi,I would like to make an aircraft fly between a LAT-LON position to another LAT-LON position from within an XML gauge.Sort of fly from A to B given the coordinates of A and BThe gauge should then calculate a Heading. Is that possible?Roelof

    • 20 replies
    • 2.1k views
  5. Guest HC001ST - Stick
    Started by Guest HC001ST - Stick,

    Hey everyone, my first post here! Well I have a question. I have been searching all over the internet for a decent FREE Marine 1, either the Sea King or the white hawk, but cannot seem to find one. I have found a white hawk but it is merely a repaint of a regular UH-60 with the same doors and all, not the executive version. I'm aware Aplhasim has a fantastic VH-3 Sea King but I'm attempting to find a free model. Well, to avoid writing a novel, does anyone know where I could find an accurate or close to accurate FREE Marine 1 add-on for FS 2004? Sorry to be so picky! Your help is much appreciated!

    • 1 reply
    • 724 views
  6. Guest lionheart777
    Started by Guest lionheart777,

    Hey guys,I wish to have an SimIcon on the panel that one would click that would open up an HTML. The HTML in this case would be located in the aircraft folder and would be a list of missions that would come with the 'included' mission pack of scenery villages.Is there a way to connect/activate an HTML from an FS Plane Panel?Many thanks,BillLionheart Creations

    • 2 replies
    • 624 views
  7. Started by n4gix,

    Hello everyone, while searching google I came to this site:http://www.mindstarprods.com/aviation/They have developed the G1000 Panel and is great.I just purchased it, lot's of cool functions just like the real one.Hope the info is usefullTake CareJesus Hernandez

    • 2 replies
    • 1.1k views
  8. Guest just_user
    Started by Guest just_user,

    Hi!I'm having a problem..How to control separately and independently following flaps sets ? Is that possible ?:Flaps.0type=1 //Trailing Edge ...Flaps.1type=2 //Leading Edge...Thanks,Johan

    • 2 replies
    • 818 views
  9. Started by taguilo,

    After a few months out due to work commitment and other commitments, I am getting back in to gauge programming, so I thought I would finish my 757 lower EICAS off, but am having a few little problems, hopefully some one will be able to help me out here. I am using (A:eng1/eng2 hydraulic pressure, psi) in a string for the HYD pressure for right and left, now what i need to do is sort out one for the center hydraulic pressure, I am using (L: Center hydraulic quantity, Percent) in a string and a switch (L:Center Hydraulic Switch 1, enum) to turn it on and off, but my switch does nothing, this is the code I have at the moment: (L:Center Hydraulic Switch 1, enum) if{ 1 (L:Cent…

    • 19 replies
    • 2.1k views
  10. Started by Bob Familton,

    There are a lot of blimps here,and elsewhere. None of them have an autopilot that works in the Heading or NAV modes. Some have autopilots that work OK in the ALT mode. What does it take to get them to work in the NAV and Heading modes? The air and aircraft.cfg files all have sections that say the autopilot is enabled and powered. Is there anything in the flight dynamics section, or elsewhere,that is required to have the autopilot to fully function in all modes, except autothrottle, which is not required? Thanks, regards, Bob.

  11. Started by rcbarend,

    Hi,Does anyone know an event to set the NavHoldSelector directly to a specific value, other then using events VOR1_OBI_DEC/INC in a loop ?So like a _SET event ??Thanks, Rob

    • 6 replies
    • 1.1k views
  12. Hi all,Life's been crazy... shoulder injury, new aircraft project, physical therapy and light duty at work during our busiest season...Anywho, to get to the point, I have what's more of a question on how to strategically approach an issue in C than a simple coding question.Here's the deal:I made this nice gauge set in XML... with some new features that are pretty close to revolutionary in the realm of freeware (though payware may already be doing something similar). We'll be releasing it with restrictions on re-using the gauges. I can easily arrange for them to be disabled if they're moved, that's not the issue.The issue is that the new features use a case statement that …

    • 12 replies
    • 1.3k views
  13. Started by Bob Familton,

    I fly with autocoordination. I don't have rudders. I have a plane that I want to be able to control the rudder from my joystick X axis. I don't need aileron control. I found an autocoordination toggle switch that is supposed to turn off the autocoordination. It is as follows:(A:AUTO COORDINATION,bool)(>K:AUTOCOORD_TOGGLE) (>K:TOGGLE_AFTERBURNER4)Toggle AutoCoordinationWhen I toggle the switch FS9 aborts with an error in sim1. Why does it cause the error? Is there a fix?Next I want a toggle that will reverse the axis definition from X axis for aileron to X axis for rudder. I can go into the menu and do all this but I was hoping to be able to make a toggle switch that…

    • 14 replies
    • 1.6k views
  14. Guest HC001ST - Stick
    Started by Guest HC001ST - Stick,

    Trying to organize my output directories, and changed project properties to put the debug and release generated stuff under a .bin subdirectory, but now I get this warning:Warning 1 warning LNK4099: PDB 'vc70.pdb' was not found with '.LibrariesdxsoundDebug.lib' or at 'c:Documents and SettingsPatrickMy DocumentsVisual Studio 2005ProjectsGauge ProjectsDxSoundbindebugvc70.pdb'; linking object as if no debug info dxsoundDebug.libI haven't moved the .lib yet (although I had planned on putting them in a common lib directory later.The name for the pdb seems to be the default too, even though I set one.Any help appreciated.

    • 0 replies
    • 763 views
  15. Guest HC001ST - Stick
    Started by Guest HC001ST - Stick,

    Ok, I downloaded DXSound sample sources by Jos

    • 0 replies
    • 711 views
  16. Guest HC001ST - Stick
    Started by Guest HC001ST - Stick,

    Arne,Not sure if you are the one that made this change, but I'm guessing you are, and I'm a little curious about it.From gauge.h we have:typedef (*GAUGE_KEY_EVENT_HANDLER) (ID32 event, UINT32 evdata, PVOID userdata);which right off the bat I'm thinking MS left off a return type to the function pointer, unless GAUGE_KEY_EVENT_HANDLER can explain this. I search for it's definition, and find none!I see that you changed it to:/*typedef void FSAPI GAUGE_CALLBACK( PGAUGEHDR pgauge, // Some comments you add? SINT32 service_id, UINT32 extra_data );typedef GAUGE_CALLBACK *PGAUGE_CALLBACK;*///typedef (*GAUGE_KEY_EVENT_HAND…

    • 3 replies
    • 763 views
  17. Guest bartels
    Started by Guest bartels,

    Hey all,I can compile Arne's TrafficRadar.gau fine, but when I put it on a panel, I see no traffic.Any suggestions?[Window06]file=RadarMap.bmpsize_mm=220,248window_size_ratio=1.0position=0visible=1ident=OVERHEAD_PANELsizeable=1gauge00=TrafficRadar!Radar, 0, 0, 220is what I'm using in the panel.cfg.Patrick

    • 2 replies
    • 845 views
  18. Guest iholrf
    Started by Guest iholrf,

    Guys,does anyone of you know wheter there's a tool to cut .wma files out of Gauges? (PSS A320 Gauge)Regards,Marius

    • 4 replies
    • 945 views
  19. Guest iholrf
    Started by Guest iholrf,

    Gentlemen ,I would like to know if is possible to replace the Autopilot gauge by another one.For instance , I have a B737 ( addon)with a MCP that I don't like , I would prefer to have the MS default MCP. So, is possible to remove the MCP I don't like and replace it by the MS default MCP ? Will the plane follow the instructions of the default MCP ?RegardsAlberto Kunzel

    • 1 reply
    • 729 views
  20. Started by pve,

    Hi all (@c:FlightPlanWaypointRemainingDistance) - 1852 / 550 * @CrzAltDisplay 100 * min)%!5d!% This end of code shows waypoint alt or FL in legs page of FMC. Using the macro it restricts the max FL to the FS9 flightplan cruise FL.This all works OK on loading but changing the macro value after does not change the number only removes last 2 digits from the original 5 digit number. Is changing Min or Max after loading possible or is there another way?

    • 0 replies
    • 687 views
  21. Guest Ionizeyou
    Started by Guest Ionizeyou,

    Okay... so I have working windshield wipers here, but cannot find a way to make position "(L:Lt Wiper, enum) 2 == " an intermittent function with a seven second delay. What you see below is working code for a knob with four positions of "off" "low" "medium" and "high". I'd like it to be "intermittent" "low" and "high". Any ideas on how to accomplish this? (L:Lt Wiper, enum) 0 != (L:Var2, enum) (L:Var1, enum) + (>L:Var2, enum) (L:Var2, enum) 2 <= if{ (L:Lt Wiper, enum) (>L:Var1, enum) } (L:Var2, enum) 50 >= if{ (L:Lt Wiper, enum) /-/ (>L:Var1, enum) } (L:Var2, enum) 50 < if{ (L:Lt Wiper, enum) 0 == if{ 2 (>L:Var1, enum) } } …

    • 4 replies
    • 1.3k views
  22. Guest lunar69
    Started by Guest lunar69,

    I've just begun using FS9 so please be patient!I was able to install a new guage (the Power Seat... neat!) into the Mooney Bravo panel. I'm viewing it in windowed mode on a monitor set to 1680x1050 resolution. FS9 is using the main_640.bmp to draw the panel and the guage coordinates in panel.cfg appear to be referenced to the 640 bmp.My question is how do I use the main_1024.bmp panel image so as to gain a higher resolution panel?Second question: Is there a place on AVSIM which gathers together a set of 'reference posts' that might help a newbie navigate many of these type of issues?Thanks!

    • 5 replies
    • 1.1k views
  23. Guest iholrf
    Started by Guest iholrf,

    Hi,Is it possible to set system time from within an XML Gauge?Purpose: When I start FS9 or load a flight the clock in the panel shows the wrong time. I would like to make a button to set that to real time, local or zulu.Thanks for your help.Roelof

    • 6 replies
    • 1.3k views
  24. Guest iholrf
    Started by Guest iholrf,

    I find that if I want to start a JET engine with a purpose made starter button XML gauge, the starter motor continues to turn the engine over indefinitely (long after the pre-ignition spool up period) if the fuel is turned off. However, if you have a mixture leaning control for that engine, and apply full lean, the starter will stop turning the engine, or if put at full lean before pressing the starter button, the starter motor stops after about 10 seconds. I have tried all sorts of workarounds, to get my starter button to stop automatically after a period if the fuel is turned off but none work. I now suspect this is because the "Start jet engine" command within FS goes…

    • 6 replies
    • 1.2k views
  25. Guest iholrf
    Started by Guest iholrf,

    Step by step please because i don't understand the "Read Me" in the AI folders... :(

    • 1 reply
    • 637 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.