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 all (L:HoldTrack, degrees) (A:GPS GROUND MAGNETIC TRACK,degrees) 5 - - abs 1 < Switches timer start for right turn hold entry. I need another test to determine heading rotation. ie. right turn =(heading numbers increasing) left turn =(heading numbers dereasing). Can anyone help.
-
- 9 replies
- 1.2k views
-
-
Hi everybody, new around, just register. I'm more a reader then a poster, but this time I'm having a little problem with spline modelling.Here's the thing, I'm trying to model a Fokker 100 in GMax, I already have some experience in GMax, I have already build some sceneries and played around with it. So, I'm using spline modelling, I'm making the fuselage with it and when I make the nose section, add cross section and then surface, when I surface, the nose section doesn't goes very well.... Because I can't get the circles perfectly scaled and align. The question, is there a way to get the circles scaled and aligned or do I have to create a cylinder and then model it?Here's…
-
-
Anyone know if FSX added annunciator offset values?I'm trying to illuminate Master Warning, Master Caution and Advisory LEDs. When an aircraft panel annunciator illumunates, I would like to be able to access that to turn on an actual LED.I know from asking long ago that annunciators were coded within the FS9 aircraft panel. So no way of getting at that information. Just curious if that changed in FSX.Regards,Richard
-
- 4 replies
- 3.2k views
-
-
Hey guys,Shouldnt all parts that are named 'endcap_l_wingfold' disappear when wingfold command is innitiated? In checking this, I found my parts to not be 'hiding' when the wingfold command is selected.I have a part linked to Exterior as 'l_wingfold_01'. I then have a group of parts attached to an object called 'endcap_l_wingfold_01'. It was my understanding that linking all parts to the 2nd name would 'hide' them when the wings arent folded, (which in this case is the engine under the cowling and the wingfold is actually the cowling that animates up and away from the aircraft).Your thoughts on this would be massively helpful.Bill
-
Hey guys,I thought I would ask the advice of the great minds here on some XML basics. What I 'want' is a part that is a button in the VC that can bring up (cause to appear) an assembly of grouped parts such as an aircraft fuselage cover and a few other items. This would also work for a refueling 'scene' in which a fuel truck could appear next to your plane and an attendent is outside standing next to your plane. However, you need the button to be visible in the plane 'before' the parts are 'unhid', and then you need the command for causing these parts to come up.Its a tricky one. What I think is that the button that triggers this event must be different XML then the X…
-
How can I make an engine start sound that I use with the pmdg 738 play louder in the sim?
-
- 3 replies
- 979 views
-
-
Is it possible to print multiple lines using one MAKE_STRING callback routine. I've tried code like:sprintf(pelement->string,"%s%f","Test n",val);and:sprintf(pelement->string,"%s%f","Test rn",val);The r and n are recognized as special characters but it doesn't do the carriage return line feed and start a new line. Has anyone ever done this or know how to do multiple lines using one MAKE_STRING callback routine? Thanks,Thomas Magma
-
Hi,I'm just starting a gauge project in FS2004 for the first time. I'm needing a debug tool and am planning to use MAKE_STRING to display certain variables to the screen during the coarse of a flight. I know my code is running fine but the MAKE_STRING macro does not display anything on the screen. I use the PANEL_SERVICE_PRE_DRAW callback to call a routine that contains MAKE_STRING. Here is the relevant code I am using:#define GAUGE_CHARSET DEFAULT_CHARSET#define GAUGE_FONT_DEFAULT "Courier New"#define GAUGE_WEIGHT_DEFAULT FW_NORMAL void testredraw(){ MAKE_STRING( update_code, NULL, NULL, IMAGE_USE_ERASE | IMAGE_USE_BRIGHT | IMAGE_USE_TRANSPARENCY, 0, 28, 9, 60…
-
- 24 replies
- 2.1k views
-
-
G'day all.Could someone please tell me whether there are any tools for placing gauges in VCs? I can see how it can be done manually in the Panel CFG, but I'm not sure about the tools available. I've got FS Panel Studio, but that's limited to 2D panels.Any ideas?Cheers,Matthew.
-
I doubt there is an easy way, but I'm going to ask anyways.I found a cool gauge that I want to add to quite a few of my aircraft. Is there a quick and easy way to do this (some type of app or tool) or do I have to manually add thise to every .cfg file?
-
I'm strugling with a bit of code in makemdl.parts.xml and I am sure there is a simple solution for the problem:What I want to achieve is set a small delay between a mouse click and the toggle of the visibility of another part. In other words, I need the following sequence of events:Part visibleclick2 second delayPart invisibleclick2 second delayPart visibleThe clickable part is hopper_door:hopper_door(L:HOPPER,bool) 100 *30...(L:HOPPER,bool) ! (>L:HOPPER,bool)(P:ABSOLUTE TIME,seconds) (>L:HOPPER TIMER,seconds)...For the part with the visibility constraint (hopper_dark) I've tried variations of the following:hopper_dark(P:ABSOLUTE TIME,seconds) (L:HOPPER TIMER,second…
-
Hi there,I need some XML advice for the crop duster I am working on.Firstly, I've created a gauge that calculates and displays the pressure in the spray system based on prop RPM and airspeed - is it possible to make the smoke system unavailable below a certain pressure?Secondly, is it possible to change the aircraft weight based on how long the smoke system has been activated? (to simulate the water load being sprayed out) If this is possible it would also be possible to set the aircraft weight based on a boolean L:variable. This would be used to simulate dumping the load.Any ideas are much appreciated.ThanksMarcel
-
HI, I am a fairly good modeller with Autodesk Maya, and I have used Gmax to export a few test planes with good results. I now have 3d Studio Max I can use, I have no problems using it - but I realise that the axis changes in Max when exporting to makemdel and in Gmax it seems to be fine. Is there something im missing, maybe an intermediate step?Ta for any help in advance
-
- 2 replies
- 1.5k views
-
-
Hey allI want to know, if u can change the Airbrakes/Flaps or Spoiler settings somewhere?GreetzPierre
-
- 7 replies
- 842 views
-
-
I am trying to make a HUD with a clickable spot that is text only. The problem is that i have to actual click on the text to make the button work. Is there any way to have a transparent clickable area?Thanks.
-
- 9 replies
- 1.5k views
-
-
I am OK on placing gauges in a virtual cockpit via the panel.cfg file, but where are the bitmaps for the virtual cockpit? I had heard that they are included in the model files. I hope this isn't so, as I have absoluytely know knowledge of how to build aircraft models.Peter
-
I have recently given up on XML as i hate polish notation. I was wondering how to compile gauges using visual studio .net 2003. I tried to run nmake but it doesn't work.Thanks,Steve
-
I find that whenever i use transparent parts in my bitmaps i get strange black lines that aren't supposed to show up at the border of the transparent parts. I was wondering if there was a way to get rid of these OR if there is a way to draw onto a transparent background using GDI or directdraw?ThanksSteve
-
Well, this just sucks... I figured out how to "make it work," but it means I have to have two different versions of the gauge, because the FSX start routine won't work in FS9, and vice-versa! :(Here is an example of what "works" in FS9:////////////////////////////////////////////if ( TURB_ENGINE_1_CORRECTED_N2var.var_value.n < 23 && starter_left == 1 && MASTER_BATTERYvar.var_value.n == 1 ) { trigger_key_event (KEY_TOGGLE_STARTER1,0) ; } else { starter_left = 0 ; }//////////////////////////////////////////// Here is what "works" in FSX: if ( TURB_ENGINE_1_CORRECTED_N2var.var_value.n < 23 && starter_left == 1 // 'lights' the starter button&am…
-
- 23 replies
- 4.9k views
-
-
Can someone please post an example of a case statement inside a formatted text structure? I am trying to print different strings based on an enum variable.Thanks
-
- 4 replies
- 951 views
-
-
It appears gauges in FSX will need to be code signed or users will get a security warning when the gauges are loaded.I'm not sure if this applies to XML gauges, but C gauges yes.This may not be news to a lot of you. From what I've heard, however, it's possible to create a self-signed root CA somehow if you want to save the hundred's of dollars you will have to spend at places like GlobalSign, Verisign, etc.Chrs,Bryan
-
- 14 replies
- 2.4k views
-
-
Hi folks,I'm programming gauges for the first time and I'm having a hard time getting started. I finally got my code to compile and have modified the panel.cfg. The .gau appears to load fine when I hit the Fly Now in FS2004 but the background image of my gauge is not being drawn to the screen. Is the MAKE_STATIC macro not being called? Here is all my code starting with test.c, test.h and test.rc. It is completely stripped down and doesn't do anything, but shouldn't it still paint the image to the screen?// test.c code#include "..incgauges.h"#include #include "test.h"#define GAUGE_NAME "Test Code0"#define GAUGEHDR_VAR_NAME gaugehdr_test#define GAUGE_W 100extern PE…
-
Hello,I have some problems trying to simulate system failures. I'd like to fail a NAV instrument. I use the PP_NAV TokenVar to check if the nav has failed, but it does not seem to work. Now looking at gauges.h I see this FAIL_GAUGE_NAVIGATION_VOR1... etc stuff, which I believe is used for FAILURE_RECORDS. They seem to correspond to the failures dialog much more than the PP_... TokenVars (failure dialog allows seperate NAV1/2 failures). Now that I don't really want to use such a failure record (or do I *have* to?) I wonder if I can check the nav fail state at all.Thanks for any help.Etienne
-
- 1 reply
- 857 views
-
-
Hello. I am looking for EXPERIENCED C/CPP gauge developers who want to take part in an upcoming payware project. You will be programming a very complex EFIS Suite for our upcoming Embraer 170/190 suite.Oops. Did I just say that out loud? ;)We have obtained an actual line pilot's annotated aircraft operating manual for reference. All systems will be modeled, and when I say all, I mean all! The gauge you will be creating will act as a central processing gauge and will need to interface to several different XML gauges that contain the user interface elements. All XML gauges and panel artwork will be completed by me, your only responsibility is writing the code (a very large …