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 have added an EGT bug needle to my EGT display, but KEY_EGT_INC and KEY_EGT_DEC have rather large values (ie about 100 deg F), which really is too much. KEY_EGT_SET doesn't seem to work at all, so I can't write custom mouse callbacks. To make the EGT work I have now declared my own variable which works without any drawbacks, but I just like to know if the EGT_BUG keys are really not working as they should, or if I'm just plain stupid...Also, does anyone know what the values on the C172 EGT are in reality? I have used 850 - 1350 deg F, which seems to roughly fit with what MS used, but I'm not sure if this is correct.Cheers, Christian
-
Having played with XML for a while I have decided to give C gauge programming a go.I have read through the SDK and through the sd2gau17 documents and I think I have enough of a handle to start experimenting with gauge creation.However I am completely baffled by compiling.The compiler I have is MinGW and I also have the Dev-C++ IDE. I have successfully written and compiled small windows and console apps but I am not sure what to do get it compiling the gauges correctly.Can anyone give me some tips?Many thanks,
-
- 11 replies
- 1.7k views
-
-
I use pushback to check the integrity of XML gauges. I find that if a gauge appears to be working ok, but has some sort of corrupt coding, pushback will not turn using the 1 or 2 key press. If pushback works ok, I know the gauge coding is not corrupt.I have a gauge that auto handles air intake doors. If the speed is less than 160 knots, the intake doors are open. These doors are tagged CONCORDE NOSE VISOR.The code is(A:AIRSPEED INDICATED, knots) 160 < if{ 1 (>K:INCREASE_CONCORDE_NOSE_VISOR_FULLY) } els{ 1 (>K:DECREASE_CONCORDE_NOSE_VISOR_FULLY) }If I // out the gauge in panel.cfg, pushback works. Withe the gauge active, pushback does not work in the turns. Is it …
-
- 5 replies
- 2k views
-
-
2 questions1) How do you control the frequency that a .gau is updated?2) My gauge is apparently acting on var values that have not yet been entirely initialized on panel/aircraft initialization. What's the best way to ensure valid values before allowing gauge logic to operate on them? In my case, I'm noticing that although an aircraft's engines are started, when loading the aircraft, the RPM and other engine vars appear to start at zero (or perhaps a random value), and spool up to value at some point. I need to prevent the gauge from acting on this transient data.Thanks
-
I have developed a new module for FS, accessed through the FS pull-down menus. Instead of adding a new entry in the menu bar (PMDG adds one, Lago adds one,... so there is no much room left), I would like to add my option into an existing pull-down menu, such as "Aircraft" for example.I know how to do this, but the problem I have is that the "Aircraft" statement appears differently, depending on the FS internationalization. It will appear as "Avion" in French, "Flugzeug" in German, etc...So How can I add an option in the "Aircraft" menu if the menu title is different in each country?Any clue is welcome.Eric
-
I found some older posts here in the forum, saying antialiasing was not possible for xml vector (SVG) gauges. Is this still valid? Or has anybody found a method to anitialias sSVG gauges? I definitely do not like the zaggy look of the rose and the arcs of my NDs, especially, when I have to size them down to fit into specific panels.If antialiasing still is not available for SVG, then I seriously consider to go back to bitmaps (at least for objects with round shapes). And this after all the hard learning of XML vector drawing! :-lolWolfgang
-
- 3 replies
- 1.2k views
-
-
Hi guys,Sorry to ask this, I did a brief search in this forum, found nothing conclusive, this is the case:I want that one of my DL aircraft to show the default pop up radio of the DC3 included in FS9 instead of the assigned radio when I press the Shift+6 combination..I have tried editing the Panel.cfg of that Aircraft, trying to check on the diferences between diferent stock ACs but no avail....Can it be done?, comon guys, I am not even able to see where is the DC9 radio gauge in the FS9 gauge folder!!Please help!Thanks
-
Hello guys,I am very very new to XML coding, however I want to create a simple (I think) :-) XML gauge but I cannot find the code for it. I would really appreciate it if anyone can help me with the code.I want to make a gauge so that there will be an invisible clickspost on a panel that will show/hide a bitmap that I will assign to it, when clicked. The problem is that I don't want that bitmap to be a panel window and to be shown when I click the spot. I want it to be a bitmap in the gauge itselt and be able to assign the clickspot area and the area/size for the gauge (bitmap) to be displayed on the panel.I have searched the forum but I can only find codes for toggling on…
-
hi there:here i am including two pics of my problem, in the preview window on FS2004 i have specular shine on the aircraft, but as soon as i select the aircraft as in pic two it looses the specular shine, any idea???Jorgehttp://forums.avsim.net/user_files/90931.jpghttp://forums.avsim.net/user_files/90932.jpg
-
- 4 replies
- 1.3k views
-
-
I need to prevent the key/joystick button assigned to (>K:TOGGLE_STARTER1) from taking any action unless (A:Electrical master battery,bool) is 1.Can do it with mouse buttons, but seems that when the keyboard itself is used, it activates the starter regardless of the state of the battery bool.ANy Hints?Also, what is the difference between ( 0 (>K:TOGGLE_STARTER1) )and ( 1 (>K:TOGGLE_STARTER1) ). Seems to me that inpuuting a 1 or a 0 to a K toggle event has the same action.Thanks in advanceSteve
-
- 5 replies
- 871 views
-
-
I have a crazy idea, but not the knowlegde, to make it. I was listening to a internet radio station last night, when I decided to take a quick flight in fs04. I forgot to shut down mediaplayer when I started flightsim. I could hear the radio and the sounds from FS just fine. It made me think it could be quite cool to have a radio receiver gauge in the plane capable of receiving internet radio, being able to tune to some preselected stations. It could for instance be the NDB receiver, when tuned to some frequencies would connect to a station and you could have music or whatever you like to listen to. I'm not very skilled with gauge programming, so it's alittle over my head…
-
If I want to do this:CWaveFile waveFile; if (FAILED(waveFile.Open("mywave", NULL, WAVEFILE_READ))){ waveFile.Close();}See: http://msdn.microsoft.com/archive/default...._using_9oz3.aspHow do I associate the string "mywave" with the imported .wav resource???thanks
-
Hi All,I started this project a little while ago, but due to the way FSDS2 handles the cutting of windows, I got very dejected doing the "wrap-around" cockpit side windows, and as such stopped it.I would now like to re-start this project, but I am still struggling.Would anyone be interested in helping?http://www.flightsin.com/skyss2.jpghttp://www.flightsin.com/skyss21.jpghttp://www.flightsin.com/skyss22.jpghttp://www.flightsin.com/skyss23.jpgCheersDan.
-
Under the Image menu in Imagetool is the option Make Gauge. Anyone know what this does. Many thanks, Nick.
-
- 11 replies
- 1.1k views
-
-
Does anyone know the XML "K" and "A" variables for "shift-E + 2"?ThanksMitch
-
Have seen people doing this: case PANEL_SERVICE_PRE_INITIALIZE:if (MGaugeSound == NULL) {MGaugeSound = LoadLibrary("GaugeSound");}bg_element = (PELEMENT_STATIC_IMAGE)pgauge->elements_list[0];GaugePlaySound = (TGaugePlaySound)GetProcAddress(MGaugeSound,"GaugePlaySound");GaugeStopSound = (TGaugeStopSound)GetProcAddress(MGaugeSound,"GaugeStopSound");TerminateSounds = (TTerminateSounds)GetProcAddress(MGaugeSound,"TerminateSounds");break;case PANEL_SERVICE_PRE_KILL:MGaugeSound = GetModuleHandle("GaugeSound");if (MGaugeSound == NULL) {MGaugeSound = LoadLibrary("GaugeSound");}GaugePlaySound = (TGaugePlaySound)GetProcAddress(MGaugeSound,"GaugePlaySound");GaugeStopSound = (TGa…
-
i keep running into the same problem and i have fixed it before (unknowlingly) and have no idea how to fix it againi am creating a gauge called mfc, just so i learn a few things about the SDK's and when i go to compileits fine, bu when i want to build it and create the .gau file i get these errors...Creating library C:Program FilesMicrosoft GamesFlight Simulator 9GaugesFirst Gauge/First Gauge.lib and object C:Program FilesMicrosoft GamesFlight Simulator 9GaugesFirst Gauge/First Gauge.expSDK.obj : error LNK2001: unresolved external symbol _mfc_mouse_rectSDK.obj : error LNK2001: unresolved external symbol _mfc_listC:Program FilesMicrosoft GamesFlight Simulator 9GaugesFirst …
-
Not sure if I can make this clear, but it appears to me that I never have generator power in the ATR. I've tried a couple of different ATR panels and I use CTRL-E to start the engines. But after about 20 minutes all my electrical power goes out. If I load another plane, it looks like the generator switch is OFF.At some point I set a plane with everything OFF and saved it as default to be able to start with a cold cockpit. Could this be the cause?Any ideas?The actual ATR I fly doesn't seem to matter, only that I've tried two different panels, both recommended by a friend. Is there supposed to be a place to turn "on" a generator or is this supposed to happen automatically?I…
-
This is for Arne, but anyone who might know the answer may reply... :)Using MS Visual C++ .Net 2003 to compile the SDK.gau samples that MS provided...When using the "stock," GAUGES.H that comes with the SDK, I have zero problems compiling a perfect gauge, which of course should be expected, since it IS the one the MS developers use! :)However, when substituting Arne's enhanced fs9gauges.h file (as included in Dai's tutorial), I get the following Linker errors:...Visual Studio ProjectsGaugessampleSDK.Fuel_Selector.c(110) : error C2065: 'helpid' : undeclared identifier...Visual Studio ProjectsGaugessampleSDK.Fuel_Selector.c(110) : error C2099: initializer is not a constant.…
-
- 7 replies
- 1.2k views
-
-
Hi guys,I am flying Dreamfleet's Cessna CM almost 98% of the time. In DF's model it has no cowl flaps. I a assume in real life it has them but I am not 100% sure. I have never seen a C310 in real life. Anyway I wanted to add them. I simply assigned a cowl flaps switch to an axis with FSUIPC which works fine. You can actually see the engine temp drop when you open them. What I don't know however if the temps are off now as I simply added the colling effect of the open cowl flaps without having the increased temperature rise with closed cowl flaps (someone understands this; sounds a little weird). Should I change an entry in the aircraft.cfg to compensate for this?The more …
-
I can't seem to find a way - maybe there isn't one - to select an edge, and, for example, tell gmax to divide it into 4 equal segments...Is there a way to do this?thxAndrew
-
- 4 replies
- 1.6k views
-
-
Still working on it...http://forums.avsim.net/user_files/90643.jpg
-
Well, the question is, when modeling flaps in GMAX, I know that they are keyframe animated. But, how can I be sure (aside from visually) that 10 degrees (or any other flap setting) will actually be 10 degrees? In other words, how can I be sure that the visual representation of the flap settings (the flap surfaces moving) actually correspond to the number of degrees? (I hope this is clear)Thanks for any answers, suggestions, advice...Ramon
-
Hi all,I did not know the gau files generic.ap.autothr.gau, generic.wl.gau and generic.yd.gau files are missing. I open FsPanel Studio and the panel.cfg of a add on B747 and there it say this three gau files are missing.I checked the zip file of this panel but could not find it there also in the Fs9 CD gauges file I didn't find it. Someone know where I could find or download them? I searched the net but can't find a gau file.Help is appreciated.herbie49
-
- 2 replies
- 721 views
-
-
first of all, thanks for the help everyone has been giving me, i really appreciate it. i finally got everything working and i am starting to play around with the code and learn the macros and stuff.anyway, i started to make my own macros and when i run it in fs9 with the panel, it boots me out of fs9 with no warnings or anything.my real question is...how can i debug my code while it is running in flight sim?conventionally with .exe files you can run them and set breakpoints and walkthrough your code as it runs, can i do that within fs9?thanks