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.
9019 topics in this forum
-
I came across this "Fuel Flow" code and I am not sure what it is doing. I think it is checking to see if the aircraft has one engine or two engines and then it adjust the fuel flow accordingly. What is the purpose of the "GPH:1 and GPH:2" in the statement?%Fuel Burn: %((A:Eng fuel flow GPH:2, gallons per hour))%{if}%((A:Eng fuel flow GPH:1, gallons per hour) (A:Eng fuel flow GPH:2, gallons per hour) + 2 / )%!03d!% gph%{else}%((A:Eng fuel flow GPH:1, gallons per hour))%!03d!% gph%{end}Thanksgreenco
-
After searching the forum I have found alot of helpfull information on making a timer, I have managed to make a timer that when clicked on starts the timer, when click again stops the timer and when click on again resets the time, but this counts up not down. I am looking to make a timer that counts down from a time set. So when first started sets 30 mins and counts down from 30 mins to 0. I have been playing around with the code and have got it to set 30 mins, but this is only set when the timer is stopped, then when reset it goes back to 00:00. As of yet I am unable to get the timer to count down.This is the code I have for a timer that counts up.%((L:Deptime, Seconds) …
-
- 4 replies
- 1.1k views
-
-
Hello, I am trying to learn a bit of gauge programming. I am trying to do the tutorial in the FSX SDK, where you create a fuel pressure gauge. I have some problems with the preview in the ace.exe program, it won't show anything. If I extract a cab-file from, say, the Extra 300 and open one of those gauges in the ace program, the preview works fine. I (think) have set up the ArtDirectory correct, I have tried both the full path to the folder where the files are, and also by using inly a '.', which I saw the files from the cab files had.I haven't tried creating a cab file and try it in game yet, but will try now, and return with the results.Thanks,Klasseedit2: Tried it in F…
-
- 3 replies
- 1.5k views
-
-
Just for grins I moved the FS9 airplane I'm debugging over to FSX to see what would happen...and 98 percent of it worked without a hitch! That's great news, but I have one perplexing mystery.I have a C gauge that reads a config file. It works just fine in FS9. But in FSX, it won't find its configuration file. Here's the part of the code that opens the file: GetCurrentDirectory(256, HomeDirectory); Ifile = fopen("./acme/acme.cfg", "r"); if (Ifile == NULL) return (-1);Now, there's an acme.cfg file all set up and waiting in the acme folder which I put under the main FSX folder. HomeDirectory shows the right path to the default folder. Yet under FS9 this works great, a…
-
Just curious... I had occasion to download the Howard 500 aircraft from AVSIM today - I think Milton Shupe and others were the providers (thought it might apply to an FSX mission - see Gypsies1). Long and short is that I just couldn't fly the craft very well - not important why. But what astounded me with the plane was the 3 dimensional aspect of the virtual cockpit. It actually had a 3D symmetry to it as you moved the eyepoint forward and backward (within the limits of FS2004). For example, the glare shield was obviously forward and above the remainder of the panel and gained or lost prominence as the eyepoint changed. It is very clearly superior to most of the "new" VC'…
-
I'm just learning about XML gauges and starting my first one. I can get wind speed/direction at my aircraft, but is there any way to get the wind speed/direction at ANOTHER altitude or location? I'd like a gauge that displays wind details for other altitudes other than the one I'm flying.Thanks!Jared "Smitty" Smith
-
- 1 reply
- 807 views
-
-
Hi all Got a FS9 WW2 light bomber Bleniem I think. It flys OK except that power increase makes it dive and reduce power and it climbs. I checked the CoG (reference_datum_position = 0, 0, 0, empty_weight_CG_position = 0, 0, 0) positon on the model and fuel tanks (about a quarter back from the models leading edge wing root) and center line from the side. Engines 3.62, 8.37, -0.98, tips of the spinners. played around with the engine height but I can't get if right. Other models seem to vary engine position from spinner tips to nearer the center line nowhere near the visual models engine.
-
- 0 replies
- 932 views
-
-
Hi all,I'm currently about to code an add-on to create custom views in FS9. For example, I want to create a view which sits at the tail of the plane (kind of like the real cams that the big birds seem to have).Much of the hacking has been done, but I somehow don't get the calculations entirely correct.Simply put, the problem is the following: get the current aircraft position and heading (more precisely, it probably gets the COG of the plane), and given this information calculate the correct position for setting the camera, say, 38 meters behind. As long as I'm heading north/south or staying close to the equator, it all works beatifully, but as I approach the poles my cal…
-
- 13 replies
- 1.9k views
-
-
Hello! I`m looking for free glass cockpit panel for one engine jet.Especially without any analog gauges. I try find it on Library , but unsuccesful...could you help me?ThanxZ.
-
Hi again from the simmer with shallow pockets.I am still trying to achieve the best framerate with the mostest AI possible. I have built military ai files from scratch and they are working as advertised. I am currently on a CONUS airbase adventure flying C-21, C-12, F-15, V-22 and F-18 aircraft, touching down at every air base I have AF2's for (currently 89 bases). These bases are populated with the proper aircraft types as realistically as possible from info on the web. I have converted and scaled down all AI birds using GA traffic but a couple are apparently still large and cause a big hit on my FPS. I had problems finding some of my AI birds so I made my own. I tried t…
-
- 2 replies
- 1.2k views
-
-
Taking my Virtual First Officer a bit further, I thought about gettng him to set up the Aircraft, so at the start he could turn on the APU, Nav lights etc. To make things a little easier I thought I would test a code that got the VFO to turn on the Taxi lights and Landing lights, when that code worked I could then add the rest. My problem how do you add a delay in XML ? My code: (L:PreFlight,bool) 1 == if{ (P:Local Time, seconds) 5+ (A:LIGHT TAXI,bool) 0 == if{ 1 (>K:TOGGLE_TAXI_LIGHTS) 1 } (P:Local Time, seconds) 5+ (A:LIGHT LANDING,bool) 0 == if{ 1 (>K:LANDING_LIGHTS_TOGGLE) } } This turns on the Taxi Lights and Landing Lights together and I would like there to b…
-
Is there an API available to read BGL AFCAD Files in a FlightSimulator module DLL?I would like to read runway and taxiway positions in my C++ module.
-
- 1 reply
- 991 views
-
-
Hi everybody!I have a bit of a problem: I'm working on a 737 flight model but seem to have too little nose wheel steering effectivity.The problem manifests itself when taking off with a crosswind of about 10-15 knots or more. I'm unable to keep the plane on the runway, even with full rudder deflection. When accelerating through about 100 knots, you notice that the rudder becomes aerodynamically effective, and I start to regain control, but by that time I'm ploughing through several parked aircraft and terminal buildings..... :)So this phenomenon, plus the fact that when airborne, it behaves perfectly in crosswind, sideslip and engine-out situations, leads me to believe th…
-
Hey gents and the growing number of ladies,I was wondering if any one was interested in taking on a fairly simple project. First, the intro:http://www.omegarefueling.com/realprocedures.htmlAs you noticed the FS version is missing something pretty important... the hose and drogue. We are looking for one of two options:1) A model that has no animations, just, nav lights, beacon, hose and drogueor2) A model that has flaps, gear, lights, beacon, and a hose and drogue. Should be automated as aircraft passes a certain altitude the model will automatically retract gear and deploy the drogue.Requirements for both: Boeing 707-321B, (we'll be looking for a DC-10-40 in the future bu…
-
I'm trying to determine if the XML variables VELOCITY_WORLD X, Y and Z are based on ECEF (Earth Center Earth Fixed) coordinate system. My preliminary testing is showing that they are not. So it makes me wonder what FS is using for a X, Y and Z reference?Thomas
-
I am learning panel design for MSFS and have run into a stumbling block.I can not design gauges, but there is a wealth of great gauges to use. Until now I had no problem with FS9, but some of the really good gauges won't work in FSX because there were designed for '98. Is there a way to get then to work or convert them so they will. I would hate to think I am just out of luck. Thanks
-
- 4 replies
- 1.1k views
-
-
Hello to all of you. I'm brand-new here but not to MSFS, I've been playing with it off and on since the days of 4-color CGA graphics on a 4.77 Mhz PC-compatible. I gave up on it for quite a while, but last year, after a long haitus, I re-discovered sim flying with FS2004 and I've been hooked since. I think the last one I'd seen was FS95 and things have improved almost beyond belief since then. A few months ago all I knew about panels and gauges was how to change the 2D bitmap and re-arrange them to suit my tastes in panel.cfg. But I wanted more, so I set out to craft a set of XML gauges to make my favorite virtual airplane (the DC-3) act more like the real thing syst…
-
Happy New Year to you all,----------------------------------------draw_order00=gauge50, gauge60draw_order01=gauge51, gauge60draw_order02=gauge52, gauge60draw_order03=gauge53, gauge60It ensures that gauge50, 51, 52, 53 are drawn after gauge 60 to prevent conflicts with gauge60 overlapping parts of them.In that case then, this would have been more efficient!draw_order00=gauge50, gauge51, gauge52, gauge53, gauge60------------------------------------------------------------I looked at this post and wonder. The order, gauge 50 and then 60 looks to me as 50 is drawn first! Am I wrong having second thoughts about this? Roelof
-
- 1 reply
- 935 views
-
-
Hi,I am looking for a detailed 3 view of the Dornier 228 to make a new plane. What I have found is not enough detailed to make a good model.Any help woud be appreciatedThanksJean-Pierre
-
:-zhelpHello, I downloaded an aircraft that included a fuel guage that isn't working correctly. It displays 0% thru 100% fuel in the upper 1/10 of the scale. It is NOT an "xml" file, it is packed with other guages in a .gau file. I would like to fix it because it looks good and is lighted correctly to match the other guages.Is there a program available to edit the older .gau files?please email me if you'd like [email protected]
-
- 1 reply
- 1.7k views
-
-
So here is my problem. An XML gauge with an equation with an end variable X that is dependent upon the previous state of the variable X, plus a constantly changing variable Y.The equation: X=X+Y Both X and Y are constantly being updated and the output is fed into the new X. All well and good. But the kicker is I need this updated as fast as possible (refresh at 18) but without getting into an endless loop. In other words, X=X+Y, if left untouched, becomes nothing more than an incremental counter as the gauge constantly says: (oldX)+Y = (new X) so the (new X) now equals the (old X), so it adds Y again and so on.What I need is a way in XML to look at the equation, see if an…
-
Do you know if it is possible to have the mouse cursor invisible when the mouse is moved over a gauge?Usually, we use CURSOR_HAND or CURSOR_UPARROW/DOWNARROW and it works fine. When I tried to use CURSOR_NONE, it just didn't work (I still had the standard arrow cursor).In fact, I would like to use this for a radar that draws its own cursor, so I would like to make the normal mouse cursor disappear when the mouse is moved over the radar gauge.Thanks for any help !!Eric
-
- 0 replies
- 864 views
-
-
Hi all and Happy New Year!I have been dabbling in replacement panels for my favorite aircraft, the Lear and the King Air particularly. I found a freeware panel that seems pretty cool at http://www.arch-spada.com/panels/ for the Lear. Upon ending flight or even changing planes on the runway, I get a crash. Of course, I don't send the message to Bill Gates. Upon restarting FS9 the Lear comes up fine. All guages seem OK and functional. Most are default except for a couple of custom that I have seen before on other custom panels I have. Can anyone shed some light on what might be the problem here? I don't see anything obvious with the panel.cfg.Thanks in advance, Dolph
-
- 4 replies
- 902 views
-
-
I'm tryig to use two different MAKE_ICON functions in the same file. I'm making a vor gauge so I have two sets of icons:1-BMP_V1_NO_SIGNAL - 0x0590 BMP_V1_TO_FLAG - 0x0591 BMP_V1_FROM_FLAG - 0x05922-BMP_V1_NO_GS - 0x0600 BMP_V1_GS - 0x0601I can get each set of these to work separately, but when i combine them FS won't even start. Has anyone else tried to use 2 MAKE_ICONS before?MAKE_ICON( flags_gs_vor1_icon, BMP_V1_NO_GS, NULL, NULL, IMAGE_USE_ERASE | IMAGE_USE_TRANSPARENCY, 0, 189, 131, MODULE_VAR_NONE, flag_gs_v1_cb, ICON_SWITCH_TYPE_STEP_TO, 2, 0, 0 ) PELEMENT_HEADER flags_gs_vor1_icon_list[] ={ (PELEMENT_HEADER)&flags_gs_vor1_icon, NULL};MAKE_ICON( flags_…
-
In some of my FS9 planes I have converted to FSX the windows don't show up. Is there some way to fix them without having the model info? Thanks, regards, Bob.
-
- 4 replies
- 925 views
-