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
-
anyone know a payware or high quality freeware download of the challenger 300?thanks
-
- 0 replies
- 863 views
-
-
anyone know a good download of a plane with contrarotating props?thanks
-
I am retrofiting a freeware aircraft I downloaded with some better switches/guages but they don't have the sounds they have in the original aircraft (click, turning noises, etc.). I'm not very skilled at all this. Is there something else I need to do? i copied all the sound files from the /sound directory to the new aircraft's /sound directory. does it make a difference if they are xml or .gau? Thanks
-
Hey all,Things are coming along well with my project. I have converted all the code to C++, and got that all working, making it much easier to encapsulate stuff. Soon, I'll see if I can eliminate the need for global variables altogether by creating class wrappers for gauges.Anyway, I have a question. I noticed that the gauge token, MAIN_EXIT_OPEN, transitions to true when the user opens the main exit, but then it transitions back to false once the exit is open. Have you guys noticed this as well, or is it my imagination?While I can easily solve the problem this creates, what I'd like to do is detect exit 2 openning/closing. However, it appears there is no correspondi…
-
This I understand:ENGINE1_OIL_TEMPERATURE // oil temperature (degC) (16k = 140 deg)to mean that this Token var varies from 0 to a max of 16k (16384) with 16k representing 140 degC.Now this on the other hand:ENGINE1_TRANSMISSION_PRESSURE // (PSI * 16384)has me a bit mystified still. It seems to suggest that to get the PSI from the var, all I do is divide by 16k. Is this correct?Patrick
-
what is the story on custom draw colors?i use #ac3628 and get apple red, but the same value in; CustomDraw Name="fs9gps:rose" and i get a blueish color. is there a factor by which the custom draw colors are different from colors used in strings?
-
I had a request to my TrafficRadarXML for extrem small ranges, a taxi radar I assume. Unfortunately I had a minimum of 1nm hardcoded now its approx. 1m. That's easy and doesn't need much change. But what would be a reasonable maximum of range and observed aircrafts? Now it is 40nm and 100 aircrafts. If this is always enough, I won't introduce adjustable max ranges and aircraft numbers, if not I have to invest a bit of work.BTW: the changes to 1m minimum range is:#define MIN_RANGE (.001)in GdiPlusRadar.hand a different element with range check moved from mouse area to , so the range at startup is always inside the limits:... (A:GPS GROUND TRUE HEADING, degrees)(C:Tra…
-
I downloaded the GREAT panel for the 767 by Hector Molina. It works GREAT except for the B767_eicas1.gau. When I load the panel with this gauge FS9 crashes with the error "B767_eicas1.gau 1.0.0.0 at offset 00001691..". I have tried loading this gauge in several other panels and all cause FS9 to fail with the same error. I have tried to contact Hector with no luck so far. I even tried re-downloading the file and re-installed the gauge with no help. Gas anyone used this panel and had any problem with the subject gauge? There is a B767_eicas2.gau that works fine in the same panel. Thanks for any help. regards, Bob.
-
- 1 reply
- 775 views
-
-
I notice now that I have working gauges with sound, that if a sound buffer is playing when I pause FS, directx just happily keeps playing it.To pause the sound on pause should I just capture the 'p' keypress using directinput, or is there a better way?PatrickP.S. I got so excited about finally getting it, that I must have created artwork for 30 gauges last night!
-
- 15 replies
- 2.4k views
-
-
I got panel light functional using the basic structure:MAKE_ICON( ... BMP_LIGHT_OFF, // Off bmp, followed by on bmp IMAGE_USE_ERASE, // Set bright or not bright in callback ... 2, // Number of icons)MAKE_STATIC // LUMINUOUSTo get the on bmp BRIGHT without the off bmp looking bright I set it in the callback: // Make BRIGHT pelement_icon->image_flags = pelement_icon->image_flags | IMAGE_USE_BRIGHT;and: // Make !BRIGHT pelement_icon->image_flags = pelement_icon->image_flags & ~IMAGE_USE_BRIGHT;which works fine. Since the background can be the off condition, I thought perhaps I should just use 1 icon, an…
-
How often are macro callbacks happening? 18 times/second?For example, if you use a MAKE_ICON macro and callback for it, how often is that callback running?I know the gauges callback is updating and drawing 18 times per second, so if one wants to go easy on frame rates and say only check for changes once per second what is generally the best way to approach this?I am guessing (partly from memory of previous readings) that one would use the main gauge callback to update a counter, and use that to determine if you are going to perform some action. Maybe in a multi-gauge environment, use one gauge to update various variables for the others to use in such tests.Does it incre…
-
Hi All,My name is Darek. I am a great fan of F14 Tomcat. I tried to
-
I am a newbie at gauge design, and was wondering how MSFS reads the .gau file. Is it just loaded on startup, or can it be made to perform cyclical operations? The reason I ask is that I want to control an external device with real-time data (perhaps from the gauge). Thanks for any help.
-
- 5 replies
- 1.2k views
-
-
I created a MAKE_ICON callback like this:ICON_UPDATE_CALLBACK icon_cb;Added the callback to the MAKE_ICON macro:MAKE_ICON( ... GENERAL_ENGINE1_FAILURE, icon_cb, // Sourc_var, callback ...)and defined the function like this:FLOAT64 FSAPI icon_cb(PELEMENT_ICON pelement_icon){ // TODO Add stuff here}and all compiles with not even a warning. However, when I run FS9 with this gauge, it crashes when loading the panel.Without the above callback, there is no crash and everything works fine.Any idea what I am doing wrong?Patrick
-
- 7 replies
- 992 views
-
-
I'm trying to insert my own code into a .gau file. It all compiles, but there is no effect. I naively assumed that after inserting the code into the sample attitude gauge that comes with the SDK, the .gau file would be read and executed cyclically. Is there a way to get MS FS to execute such code? Thanks for any help.
-
- 6 replies
- 1.1k views
-
-
-
I am trying to get my device (a tactile vest) to work with a gauge. I have started a new .cpp file (in a guage example in a MS VS 2003 environment) and all that is in it is #include "..LibDtInter.h". All the errors come from syntax in that included file (log attached). I have set all my project settings to the same ones as a previous project with this device and a UAV simulator that compiled fine. It's probably something dumb because I am not a very experienced programmer - I got lucky with that previous project. Maybe I should be posting in a programming forum, but everyone here seems very knowledgable and helpful. Thanks for any help.
-
Hello,Fullthrottle simulations is looking for a gauge programmer willing to do a Garmin GPSmap 195 System. All you have to do is the programming, graphics are all taken care of. This is a payware project and the programmer will get 60% of the $25.00 if able.If project is started, programmer will be full staff member of Full throttle simulations a brand new addon company. We have all the manual information and we also posses a real life garmin gpsmap 195 in real life, so we can explain to you how everything works step by step. If you are insterested or want to learn more please contact:Hector Davila (projects manager & developer)[email protected] Throttle Simulat…
-
Hi!I'm building a plane in 3dsmax and I've exported it to a .x file.But when makemdl tries to make the .x file to a .mdl file it saysmy plane has an error.ERROR LOGStart! (C:gmaxgamepacksfs2004pluginsEurocub.X)Loading X C:gmaxgamepacksfs2004pluginsEurocub.X...Processing...ERROR: Scaling null has a translation, ignoring itERROR: found scale animation (Group01)Error!Error!I've tried to reset scale but it doesn't work =/Thanks in advance Freddan
-
- 3 replies
- 1k views
-
-
Ok, thanks Bill for straightening me out before. I now get (after more reading and experimentation) that you only use one MAKE_ICON macro like this:MAKE_ICON( engout_icon, // Name BMP_ANNUNCIATOR_ENGOUT_OFF, // Res_ID NULL, // Next list NULL, // Failure IMAGE_USE_ERASE | IMAGE_USE_BRIGHT, // Draw flags 0, // ASI Flags 0, 0, // Position ENGINE1_N1_RPM, NULL, // Sourc_var, callback ICON_SWITCH_TYPE_SET_CUR_USING_RANGE, // Switch type 2, // Number of icons // Power RPM 0-16384 => 0-100% // icon = offset - (value / scale) 16384, // Scale 0 // Offset)As you can see, I am experimenting with the USING_RANGE.I want the icon chang…
-
- 2 replies
- 792 views
-
-
Just curious what others thoughts are.Say you want to turn on a warning light, or for that matter another light given conditions. What are others doing to simulate radiosity (the effect of the light hitting other stuff).I guess what I'm saying is that just a bitmap doesn't seem to cut it.Stick
-
- 4 replies
- 948 views
-
-
Hi @allsorry, but english is not my own language... hope you can understanding.. :-)this gauge is only for FS9 ...i created a gauge in c (MSVC) and now i want to add a sound on it..i try to add it with FSSound.dll.declaration:// variables/definitions for the sound buffers:// a sound buffer used to demonstrate the various effectsMFSSoundFileVars(main_sound, "SOUNDtower.wav");case PANEL_SERVICE_POST_INSTALL:// a sound buffer must be registered before it can be played back MFSSoundFileRegister(main_sound); break;case PANEL_SERVICE_PRE_KILL:// never forget to unregister the sound buffers MFSSoundUnregister(main_sound); break;but the FS9 crashed after loading the aircraft a…
-
Hello,Please, can anyone say how to create tranperency window like ATC window or Flying Tip window ? I've seen some product with own "info window". But how it make ?Thanks,Alex.[a href=http://www.sibwings.com/]http://www.sibwings.com/banner/sw_developer.gif[/a]
-
- 4 replies
- 1.1k views
-
-
Does anyone know where I could get gauge examples that are compiled in the MS Visual Studio 2003 C++ environment? The examples that come with the SDK are makefile projects, and I'm not experienced enough to convert them. Thanks for any help.
-
A gauge which, if enabled, stores the current surface wind conditions and writes new values, then restores the suface conditions once airborne?I don't know if gauge coding allows one to write weather values, but it would be a real boon to aiding ground handling in crosswinds. FSUIPC does this to an extent, but being able code a gauge would allow one to pick and choose which aircraft you want to apply the effect to.Regards,John