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
-
Hi,I use Dev C++ for creating gauges.Just when I need sound, I have to use MSVC++.I wanted to create sound gauges on the Dev C++ IDE too:I have now downloaded the Direct X for Dev C++ so that it should work. When compiling, everything works fine. But when the compiler wants to link the libfssound.a I get error messages "undefined reference to 'whatever functionname' "So, there seems to be a problem with the library file(*.a)I have got the dll and the def file. Is there a way with Dev C++ to rebuild such a library file?Regards,Harry
-
Hello all,I have 2 questions about C Gauges. 1. Is it possilbe to change the value of a gauge you aren't neccesariy using. For example, lets take the airspeed gauge for the baron 58. Is there some function that allows me to set the AIRSPEED token. I could make a new gauge but instead I just want to tell MS to make that variable some number. 2. Can someone please explain what the initialize_var() does? I thought that maybe I could use that to solve my first problem but it just doesn't seem to do anything. I use lookup_var all the time, but I just can't forget the init_var function.Thanks in advance.
-
- 3 replies
- 811 views
-
-
Hi all,Ok, I've got a good idea of how this is supposed to work except for one little detail that is driving me nuts. I understand the adjustment formula for luminosity and the logic behind it, including that it uses the alpha channel to key off of when it applies the colors specified in the panel.cfgOne thing that the SDK and many posts about this didn't cover is how all the various bmp files interact. IE:A VC can have something like the following:file=MyImage.bmp Background_color=0,0,0 size_mm=512,512visible=0pixel_size=512,512texture=$AuthorsImageDay=255,255,255Night=50,100,225Luminous=255,50,50We have:1) The author's $ bmp that was used as a place holder. By assigning…
-
I am not sure how this got by me, but Nvidia has a pile of nice tools we can use to manipulate textures.http://developer.nvidia.com/object/nv_texture_tools.htmlThanks to Scott for pointing out the following as well:http://msdn.microsoft.com/vstudio/express/default.aspxCheersShad
-
Hi gang,I have been slowy putting together a repositiry of some of the best freeware packages for FS utilities and development.The list is in its infancy at the moment, but already I have a lot of useful tools available.Doug Dawson was kind enough to give me the latest version of DSD_XML_Sound (3.6) as well as XML ID which will expose the L:VARS in the running sim.http://www.ascendant-online.net/en/downloa...htsim.php#develI would really like to add more quality tools. I do not intend to be a dumping ground like AVSIM lib, I do not have the bandwidth for that, but a specialized "best of" repository.You can grab the stuff here. If you have a suggestion for a package that i…
-
Hi All!!I have a prop feather switch in the DVC... "lever_prop_feather0" part...my issue is that it simply keeps stuck in the OFF position... all feathering options are enabled in aircraft.cfg and.AIR made an exeption for autofeather...not present on this AC...in the 2D panel the C++ gauge that does the feathering just works fine... WHYYYYY??????Can you help?Mario NoriegaProud http://studenti.ing.unipi.it/~euroavia/images/eapisa.gif"European Association of Aerospace Students" International Editor MemberWebmasterhttp://pisa.euroavia.net
-
- 0 replies
- 946 views
-
-
I feel like an idiot asking this...I know loops and if's, variables and such but what the heck is a pelement header and a pelement list?Rather than hand me an answer, is there any sort of guide that starts with the idea that the reader can already write a console app in C++ but has no clue about graphics, the windows GUI, etc. etc.?That's where I'm at. Rudimentary C++ I understand... but what the heck is a pelement anyway?Vorlin
-
Hello CommunityI tried to set up Visual Studio 2005 but I get the following error for the sample gauge included in the SDK. Anyone managed to get it to work ?BrgdsEugen SDK.cc:documents and settingsetmy documentsvisual studio 2005projectsgaugessampleSDK.FlightMap.c(152) : warning C4018: '<' : signed/unsigned mismatchc:documents and settingsetmy documentsvisual studio 2005projectsgaugessampleSDK.FlightMap.c(358) : warning C4996: 'strcpy' was declared deprecated Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'Linking... Creating library Release/…
-
Would someone help me determine the formular for a curve that plots to these values:If Miles = 0, then Offset = 5;If Miles = 10, then Offset = 500;If Miles = 20, then Offset =2000.I would like to have a formula that would calculate the Offset for any known value of Miles between 0 and 20 and would be xml friendly.Thanks,Glenn
-
Hi,I try use transparency in vector gragic in my XML gauge ,when I create Rectangle and added "Transparency = "0.5" this working fine , when I create polygon with few points and ading the transparecy - this be ignored, nothik hapen ,anny idea how to create transparency for polygon?Thanks Paul
-
Hello, I've just released the first beta of an Open Source XML Gauge designer program, since there don't seem to be any free tools for creating xml gauges.XML Gauge Designer is a tool to help you create XML Gauge files for Microsoft® Flight Simulator : A Century of flight. You can create your gauge with easy-to-navigate dialogs instead of cryptic xml code.You can then see what your gauge will look like using the gauge preview feature.If you want to write your own xml code, a syntax highlighting, xml validation editor is included. It will even indent your code so you can read it easier.Requires Microsoft .Net Framework 2.0 and Windows Installer 1.1.XML Gauge Designer is op…
-
- 4 replies
- 2.7k views
-
-
Help me! I'm a complete newbie to gauge programming and am looking for some sort of engine limiter gauge that DOES NOT involve autothrottle. Basically, I want an engine control computer that prevents the engine from going above a pre-set N1 limit, but can be switched off. This would simulate the real-world engine control computers. Who knows, if you could take it one step furthur and allow it to have different pre-set limits defined by altitude (for example, you could have TOGA thrust as max under 1500AGL, climb thurst up to FL310 and so on.) I'm sure this is an impossible request, but then again I know nothing (HTML and JavaScript are fine, but XML, C++ and so on has alw…
-
Does anyone know the aircraft name that has this cockpit panel?I have the jpg attached.Thanks for your help.Roelof Kruijer
-
Is there a limit to the number of non-fixed windows in the panel.cfg? I have added a Window18 and it does not show up and it is not listed in the Drop Down List in the Instrument Panels slection menu. Thanks, BobF.
-
- 2 replies
- 746 views
-
-
I'm just starting to fly the Tupolev TU-114 by Sandim even though I've had it downloaded for a long time. The problem I see with the panel is regarding the location of one of the tool tip pop-ups that make it unreadable and therefore practically usless. When placing the cursor on the vertical speed dial in the pilot's panel, the portion that shows the rate of climb or descent is off the screen (See screen shot). Is there a way to relocate the flag so as to read the entire pop-up?I know nothing of programing a computer, so if this requires a severe programming method, I would be lost, unless there was a kind soul that could do it and provide the 'fix'. Another inconvienenc…
-
- 3 replies
- 974 views
-
-
Hi allI want to meke simple gauge that will show the engine vibretion, Oil Tempreture and Oil pressure. Can anyone help in code ?
-
- 3 replies
- 906 views
-
-
After downloading an excellent tutorial pack from http://jcboliveira.flysplash.org/' target="_blank">Jos
-
- 8 replies
- 1.5k views
-
-
Ok. I've read and re-read Bill's tutorial, and can not get the _L.bmp thing working!VC is fine, but here's what I'm doing:1. Created a poly named "vc_main" for the texture "$panel_main" (512x512) for VC.2. Added a planar UVW Map that is 20.25" square, and moved the gizmo down to line it up with the top of the vc poly created above.3. Created material with the diffuse texture bitmap named "$panel_main" which uses the texture "$panel_main" in the panels folder. This is a pure black texture (0,0,0), with some red text on it, as in Bill's tutorial.4. After reading elsewhere, I also tried adding a black alpha to this 8-bit texture. Even with the black alpha, emissive lighti…
-
I'm having problems with gauges and the background panel bitmap.No matter what I do, I can't get a smooth gradual shadow(or gradient).Fs bands the colours. The "Banding" gets even worse at dusk dawn and night. I'm working in 24 bit, should I be working in 8 or 16 bit?Heres a Pic...The background bitmap was just a test to see if the banding would happen. My airspeed and clock are fine during the day, however the alpha higlights become extremely banded at dusk , dawn, and night.-Thanks-
-
I have a plane with wing views in FS9. I sent a copy of my panel.cfg and all of the bmp's to a friend. I can see the wing and engine views and he cannot using my panel.cfg. All he sees through the windows are the outside scenery. We are both using the same exact plane model too. What would prevent the wing views from being seen on his setup? We are both running ATI high end cards with the latest drivers. Thanks, regards, Bob.
-
- 7 replies
- 1.1k views
-
-
According to Nick Pike's nifty tutorial the mouse clicks in this little gauge should work - but they don't. Am I missing some snippet of code? (I'm not a programmer.) I'll be grateful if someone can set me straight here. Regards, Bob.%((P:Simulation rate, number) d 100 >=)%{if}%!5.1f!%{else}%!5.2f!%{end}(M:Event) 'LeftSingle' (>K:SIM_RATE_INCR) (M:Event) 'RightSingle' (>K:SIM_RATE_DECR)
-
- 2 replies
- 775 views
-
-
After working on some other areas of gau coding, I thought it would be cool to get bills (very much appreciated push code .) working. Code:BOOL FSAPI some_icon_cb( PPIXPOINT relative_point, FLAGS32 mouse_flags) { if ( mouse_flags == MOUSE_LEFTSINGLE ) { some_icon= 1 ; } else { some_icon= 0 ; } return FALSE; } MOUSE_BEGIN(gauge_mouse_rect,0,0,0) MOUSE_CHILD_FUNCT(160,33,41,78,CURSOR_HAND,MOUSE_LEFTSINGLE,some_icon_cb ) MOUSE_END This to my knowledge makes it disappear when clicked. I set it up so the make icon code links to this 8 lines down, 2 lines over, And in my callback I imputed a hide and show code Code: case PANEL_SERVICE_PRE_UPDATE: if (some_icon ==…
-
Hi all This works OK @CrzAltDisplay 100 * @EndDecAlt - abs (A:GPS ETE, minutes) 13 + / (>L:Profile,number)(A:GPS ETE, minutes) (L:Profile,number) * (>L:VNAValtProfile,number) But I can't get this to work in one element Tried @CrzAltDisplay 100 * @EndDecAlt - abs (A:GPS ETE, minutes) 8 + / (A:GPS ETE, minutes) * (>L:VNAValtProfile,number) and @CrzAltDisplay 100 * @EndDecAlt - abs (A:GPS ETE, minutes) 13 + / s0 l0 (A:GPS ETE, minutes) * (>L:VNAValtProfile,number) What am I missing.
-
- 6 replies
- 788 views
-
-
Hi guys 'n' girls,I'm a real newby in development for the FS2004 and so I thought I might just ask you here if there are any good tutorial sites or just information pools, where I can get into the topic?I'm aspecially interessted in developing an autopilot (doing the code, not just the gauge) and of course in creating gauges.It would be great if you could give me any help with this, because I couldn't find anything on google.greetingsStampede
-
- 4 replies
- 1.4k views
-
-
Hi all,I'm afraid that this one may really be impossible but if it can be done, this is the crew to ask.I'm working with some others in a project where we take an existing freeware aircraft and go over it from end to end in order to make it as good as we can make it. The original author is not involved but what we're doing is well within the licensing... it's going to be as free as the original.I'm taking on the gauges... and found out a doosie tonight. The original AC has not one or two, but more than six VC panels. They all work but, as gurus I'm sure you realize that the gauges themselves are not exactly responding smoothly to changing situations.In fact, they all take…