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

    Is it not possible to have more than one "case" statement in a gauge? I use a case function with a rotating switch to change the colors on a radar screen grid. When I try to add a second switch to control another part of the radar in a similar way, I crash to desktop. This works fine, but if I add another one in the same gauge:I invariably get a CTD. Am I doing something wrong here?/toto

    • 2 replies
    • 635 views
  2. Started by phjvh,

    Hi all.I was hoping someone might be able to show me what code is needed to complete a three-way switch I'm working on (see XML code below). It's a starter switch for the two engine aircraft. I've got so far as to get it to trigger the events correctly, but it won't yet trigger the gauge animation. It seems to me that the click-event line of code needs sytax which links it with the bitmaps, but my experiments have come to nothing. In fact, they often render the switch inoperative.All thoughts welcome.Cheers,Matthew.(G:Var1)Starter Switch(G:Var1) (>K:TOGGLE_STARTER1)(G:Var1) (>K:TOGGLE_STARTER2)

    • 9 replies
    • 1.4k views
  3. Guest jeffro
    Started by Guest jeffro,

    Hi,I'm trying to load a resource BITMAP (defined in the .rc file) from my gauge by using a handle to the gauge itself, but have been unsucessful in retrieving the handle. I've tried several variations of the following, all unsuccessful:h_gauge = GetModuleHandle(NULL);h_gauge = GetModuleHandle("MYGAUGE.gau");h_gauge = GetModuleHandle("MYGAUGE.gau.");h_gauge = GetModuleHandle("GaugesMYGAUGE.gau.");If I can get the module handle then I'd use it with the Bitmap constructor, Bitmap::Bitmap(HINSTANCE,WCHAR*), like this:Bitmap my_image(h_gauge, L"BMP_PITCH_MARKS");Does anyone know how to retrieve the module handle for the gauge?Thanks,- Jeff

    • 3 replies
    • 806 views
  4. Started by n4gix,

    Howdy,I'm building an aircraft and seem to have hit a snag. I'm building with fsds2.4. After compiling, the landing lights are visible on the ground from spot, tower and vc, but not from the 2d cockpit. Any suggestions. Thanks in advance :-wave.

    • 4 replies
    • 723 views
  5. Started by nickpike,

    Hi,I tested Doug's new gauge and i have a question about the log file.Probably there is something wrong in my code.Here is the log: 11117 KEY_FLAPS_UP 0 11117 KEY_AP_ALT_VAR_SET_ENGLISH 35000 11117 KEY_THROTTLE_SET 16000 11117 KEY_YAW_DAMPER_ON 0 11117 KEY_FUEL_SELECTOR_2_SET 6This is constantly repating.Does theat mean a fault?Jan"Beatus Ille Procul Negotiis"

    • 16 replies
    • 1.9k views
  6. Started by n4gix,

    In trying to "calibrate" my CJ1's Hobbs gauge, I've run into an interesting situation...It seems that ELAPSED_SECONDSvar.var_value.n is running at "half speed."With the expression:total_time = total_time + (( ELAPSED_SECONDSvar.var_value.n / 100000000 ) / 360 )total_time should increment by 1 every 6 minutes...However, it's not! It is incrementing every 12 minutes... :-mad I have to use:total_time = total_time + (( ELAPSED_SECONDSvar.var_value.n / 100000000 ) / 180 )in order to obtain my needed 1/10th hour increment (every 6 minutes)...Has anyone else ever run into such a strange thing like this?

    • 9 replies
    • 2.2k views
  7. Guest JOHNNYV
    Started by Guest JOHNNYV,

    I'm not sure if this is the right place for this question but since it involves the gauges in InflightMusic here goes. My problem is not really with the gauges. What I would like to know is there anyway to convert a group of sound files into 1 sound file so that I could assign each button play more than 1 song? Or a way to assign these buttons to play all songs in a particular folder? I fly some pretty long flights and 8 songs just won't keep me intertained for the whole flight. Thanks in advance for any and all help. JohnnyV.

    • 0 replies
    • 592 views
  8. Guest grb
    Started by Guest grb,

    I have an L: variable that I'm using as "number" everywhere, and when I display it as "feet" - I get some scaled up number instead (although as a "number" it displays as expected).What's the correlation between number and feet?Just for more info - I'm setting an L: value from the gauage as a number, and trying to compare it to (A:Indicated Altitude).Thanks for any help,Dave

    • 4 replies
    • 956 views
  9. Guest Joris
    Started by Guest Joris,

    Hi fellow developersI'm experimenting with c++ and tried to write a module for fs9. With the help of some examples found on the internet this worked quite ok.I don't succeed using the itrafficinfo though: when I tried to include gauges.h and itrafficinfo.h kinda everything went wrong. Seems like I just can't connect to FS like this:extern "C" __declspec (dllexport) LINKAGE Linkage ={ 0x00000654, module_init, module_deinit, 0, 0, 0x0900,};extern "C" __declspec (dllexport) IMPORTTABLE ImportTable ={ { 0x00000000, NULL }};and then call this:IPanelCCallback* pPanelCallback = panel_get_registered_c_callback(TRAFFIC_INFO_INTERFACE_NAME);I'd be gla…

    • 2 replies
    • 1.6k views
  10. Guest bartels
    Started by Guest bartels,

    How can I right-justify a FormattedText element?Thanks,Dave

    • 3 replies
    • 672 views
  11. Started by n4gix,

    I thought I'd play with some simple GA but I cannot get my VOR1 needle to behave properly! :( ....any codes/help? (XML) please.http://forums.avsim.net/user_files/105216.jpgregardsEdhttp://forums.avsim.net/user_files/103908.jpg

    • 4 replies
    • 1.1k views
  12. Started by phjvh,

    Why do some guages show the current reading in the tool tip popup box and others only show the name of the guage. Is there a simple way to make all guages show the current reading?thanksBMB

  13. Started by edetroit,

    I made an XML autobrake gauge using A:Auto brake switch cb, enumwhich works fine usually ..but not with a/c with multiple gear contact points. :(I have resorted to using someone elses autobrake gauge (made with C+)I'm wondering why does his work and not mine?any ideas?regardsEdhttp://forums.avsim.net/user_files/103908.jpg

    • 0 replies
    • 955 views
  14. Started by n4gix,

    Hi, I originally had my VC gauges on their own planar polygons plus a small number of gauges grouped onto their own planar. I ended up with a large number of gauge planar polygons, and hence a lot of Vcockpit windows in the panel.cfg file. The performance was poor (not surprisingly) but I thought I would give it a try as the gauge visual quality would be good. To improve dynamic performance, I joined the planar polygons together so I ended up with one Vcockpit window, and everything is smooth in operaration. However, the gauges have become a bit blocky. I used sizes as follows[Vcockpit01]Background_color=10,10,10size_mm=1024,1024visible=0pixel_size=1024,1024texture=$VCjoi…

  15. Started by n4gix,

    I have an interesting question. I have a model with a parachute (yes, it's the Cirrus) in the exterior model, which shows up in the Preview Window very, very tiny sized, even though the chute isn't displayed in the window.I seem to recall that there is a way that I can force the sim to recognize the true radius of the a/c in both the sim and the Preview Window through editing the interior and exterior .asm files and recompiling.Does anyone know how this may be done?

    • 2 replies
    • 675 views
  16. Started by Varmint007,

    I am trying to reverse the travel of the pitch indicator when the aircraft is upside-down. Here is the last code I tried. It parses but does not work in FS9. I am obviously a newbie at this. Will someone please help me solve this problem. The 'plane' in lower case is to remove the smiley face from the post.if{ (((A:plane BANK DEGREES, degrees) > 90 ) || ((A:plane BANK DEGREES, degrees) < -90)) ((A:A:Attitude indicator pitch degrees, degrees) /-/)} els {(A:Attitude indicator pitch degrees, degrees)}

    • 6 replies
    • 1.4k views
  17. Hi all, I downloaded an aircraft that seems to have the ability to climb at 4000 fpm at the same airspeed that it cruises at. If I cut back on power or torque thru the .cfg file (or FSEdit) the aircraft then will not reach the proper cruising airspeed. Anyone know what variable to change?Also, I have seen a payware aircraft that claims to have SID/STAR capabilities. Do they mean they have included the procedure plates?I don't know a lot about SIDS/STARS, but don't you have to have a controller with the same plates? I didn't think FS9 had such an ATC capability.Thanks, don

    • 4 replies
    • 965 views
  18. Started by spokes2112,

    I prefer to fly in the 0.50 zoom view in all aircraft rather then the default 1.0 zoom. What do I need to do so that I don't have to manually change every cockpit view back into the .50 zoom when I load an a/c? Kinda annoying.Jonno.

  19. Started by spokes2112,

    Hi all,Does anybody know if it's possible to reset the timer for the battery with XML? I can't figure out how to make my GroundPower avail/on switch 'work' other than keep resetting the timer for the battery....Thanx, Arjan

  20. Guest grb

    Hi all,Reason for question. I have a nice F18 that I fly as well as use as AI,since it flies well, and has operative landing lights, nav lights, and gear action. PROBLEM: The plane always has it's canopy raised. Ovbiously this is a bit frustrating, to see the canopy always open while the plane is in air.So does anyone know what XML code would force the canopy to lower when the aircraft is used as AI?*** If I load the plane to pilot it, and I hit the SHIFT E keys, then the canopy will raise and lower. So I know the canopy action works in this aircraft.The logic behind the following is to see if I can trigger the canopy to open or close based on the value of the batter…

    • 0 replies
    • 1.6k views
  21. Guest Foo
    Started by Guest Foo,

    Just a link to a blog of creating an airplanehttp://filmquiz.vbapex.shacknet.nu/start.html (dont worry bout the server name you arenot going to a film quiz, unless you want to in that case knock the start.html off)Cheers

    • 5 replies
    • 930 views
  22. Guest jerel2k4
    Started by Guest jerel2k4,

    I downloaded Brian Kolbuch Ultimate Wing Views for the Dreamwings ERJ. He did not indicate an e-mail address. Unfortunately, I cannot seem to get the wing views to work. There are some duplicate entries and when I try to rem out some duplicate lines in the original panel.cfg I am not getting the correct results. I have pasted the original panel.cfg and ultimate wing views if anyone can help me. Thanks!; Panel Configuration file for FS2004; Embraer ERJ-145/135/140; by Bill Grabowski; Medina, WA ; September 5, 2004[Window Titles]window00=Main Panelwindow01=MFDwindow02=Yoke Panelwindow03=Overhead Panelwindow04=Thrust RatingWindow05=Garmin GPSWindow06=TCAS;window06=Wiper…

    • 0 replies
    • 1.2k views
  23. Guest jetBlue_83
    Started by Guest jetBlue_83,

    Hi all That is the easiest and best way to go about getting the uvw mapping the right size so it is the size of the part you are texturing. Cheers Rhys

    • 1 reply
    • 579 views
  24. Started by n4gix,

    I'm trying to make a pitot heat switch for a pannel that's missing it's... Can anyone help me in my quest? I'm not a complete programming newbie, but I am when it comes to FS programming... lolThanks!-Brian

    • 8 replies
    • 1.6k views
  25. Guest dave2118
    Started by Guest dave2118,

    Hi, I downloaded some program that allowed you to fly with other planes in "real time". Maybe it's RealFlight2004 or something, I don't recall.Anyway, I'm having trouble being able to fly those planes. Say I'd like to fly a United 737, is there a way to repaint or download one so when I fly, it will actually say United?ThanksSorry for the elementary questions, but google hasn't helped too much.

    • 0 replies
    • 600 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.