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 Can't get the maths right in this code. (L:VNAV,bool) 1 == if{ (L:Var9,number) 0 == ! (A:Indicated Altitude, feet) 10000 < && if{ 240 } } (L:Var9,number) 0 == ! (A:Indicated Altitude, feet) 10000 > && if{ 280 } (L:Var9,number) 0 == (A:Indicated Altitude, feet) s0 26000 < l0 20000 > && && if{ 310 } (L:Var9,number) 0 == (A:Indicated Altitude, feet) 26000 > && if{ 0.77 } This macro gives all the correct numbers in test gauge and sets the airspeeds OK but the last one 0.77 for setting the mach with (>K:AP_MACH_VAR_SET) gives . 1 in ((A:Autopilot mach hold var, mach) 100 * 99 min ) string.
-
- 5 replies
- 1.1k views
-
-
BillI'll take up your offer in another thread to explain why it becomes necessary to load a default aircraft before some complex aircraft. If I came over as confrontational that was because no one would/could demonstrate why it is necessary and what is the underlying mechanism. Over to you ;)
-
- 19 replies
- 3.1k views
-
-
Hello friends,I've read some posts here about the subject (NNUMBER) and, followinf them, I can make the tail number to show on the fuselage. But I must do something wrong, 'cos I cannot get a similar fuselage color for the DECAL_NNUMBER texture (what I'd really like is a transparent background).I use FSDS3, make a rectangular polygon as a part, call it decal_nnumber, then I apply a texture called DECAL_NNUMBER (I've tried DECAL_NNUMBER.BMP and the same name without any extension)like the one in the plane fuselage. Well, I get a different background when I load the plane in FS9, and no matter the DECAL_NNUMBER texture I apply, I always get the same thing in FS9.Can anybody…
-
Guys,If I have an object that is 260 px by 260 px, and I want it to rotate around its own centre, its axis needs to be Correct?
-
- 1 reply
- 700 views
-
-
Thanks for all the speedy help opn the other questions I've posted. This looks like a friendly and helpful forum. My next question has to do with testing whether or not it's "night" outside. Is there a token variable I can include in my XML file?I'm making a gauge that displays two different bitmaps:1. Daytime bitmap2. Nighttime bitmap3. Nighttime bitmap with Bright="Yes"The third condition simulates turning on the gauge's lights. But how can I tell that the sim knows it's dark outside? I found the GMT variables in the SDK, but I'd really hate to go calculating for all the possibile time zones...---Will
-
- 7 replies
- 1k views
-
-
Hi All. I'm making a Garmin G1000 and things are progressing nicely.This has a row of 12 buttons (and hence click areas) along the bottom.The way they work is as follows.Click on a button, and all the buttons change function, acting like a sub-menu to the original button clicked.Therefore, in the default state, I allow each button to be active using Visible Visible tags in the Area Area code for each button. Then when a button is clicked and the buttons change function, I have new area code which is active according to a new set of visible tags. This all works great, but I have a lot of Visible tags. I tried grouping all the buttons by nesting them in on visible tag, but …
-
- 23 replies
- 2.3k views
-
-
I have been working on a selcal switch that when its pushed the switch will light up and play selcal tones. I've gotten the switch to work but when I can't get the sound to work. I've tried to use the dsd_xml_sound3.gau but with no luck. Ihave installed this switch in two aircraft. In the Aeroworx's King Air it makes just a switch clicking sound. In the default king air it doesn't make any sound. I followed the instructions on the sound gauge ini file but it seems not to reconise the Lvar. Is there anyone that can help me? I sure would appreciate it.Thanks,John
-
Hi,first I'm a newbie with aircraft design.What I want to do is to add spoilers (or airbrakes) functionality to an aircraft that doesn't have this feature.I tried to modify the aircraft.cfg adding the strings:spoiler_limit=59.989spoilerons_available=1but when I push the button assigned in FS2004 to activate spoilers, nothing happens.Is there another file to edit to add this feature?Thank you, regards.Bob
-
Hi folks. I'm making an xml gauge that will display three different bitmaps depending on the state of . My rather basic problem is getting Dummy to increment in steps from 0 to 2. Here's what I'm trying to do in pseudo-code: If Dummy is greater than 1, then decrement Dummy by 1 <----- HELP If Dummy is less than 2, then increment Dummy by 1 <----- HELP I don't know how to do the If... then... statements in xml. The rest seems to be working okay. Any help would be appreciated, thanks.---Will
-
- 11 replies
- 1.7k views
-
-
I'm no guru, but I've written a thousand+ line gauge that works nicely. I've run into an issue while trying to learn macros and I simplified it as far down as possible to try to pinpoint the issue... and it's become a nightmare because it's stripped down to the simplest form possible, all syntax should work, and it's as if the parser has flipped out.Jordan Moore was kind enough to help me out with the first part of it and that issue turned out to be that the parser was choking on:%(L:MyVar1,bool)%!5d!It was demanding that I read it off the stack, as in:%((L:MyVar1,bool) d 0 == ?)%!5d!Oh, I've long given up asking why on that one. That part works, I can use the second for…
-
So I have my gauge which displays one of two bitmaps depending on the state of an internal variable. All is good. But I want to add another IF statement that sets Bright="Yes" based on the case of another variable, like A:LIGHT PANEL. Here's my functional part:(G:Var1,bool)What I want is something like: IF (A:LIGHT PANEL, bool) 1 == THEN add Bright="Yes" to both lines.But I don't know how to integrate this. Thanks for the help, gurus.---Will
-
- 1 reply
- 793 views
-
-
Hello as you may be know, the Dutch Airliner Transavia has already a while a new livery on their B738`s.I am user of PMDG`s Boeing 737-800/900 Add-On.so my question is: is somewhere a NEW livery wich will work @ PMDG`s Boeing 737-800/900 for FS2004???Greetings!!! PH-AJO (from Holland)
-
I'm working on a slider-type gauge for CFS2...hence the reason behind me using the FS2000 SDK...I need to find the y-axis size of my gauge when it's placed on the panel so I can use it in the mouse position calculations.I've got working code for this in an FS2002 gauge using this to get the size dimension: pelement->gauge_header->size.y The problem is that the FS2000 gauge header doesn't have "size" defined. To get my mouse position, I'm using: PPIXBOX relative_point I have tried using PPIXBOX size_y to get the y-axis dimension into the code as a variable, but it isn't working.In particular, I'm using the formula "y_axis_dimension_var - relative_point_var…
-
THis is Nicksjetexhaust & I want to make this effect turn off at 28000 feet to simulate the transition from a smokie exhaust to contrails. Can some one help with this??Scotty (A:TURB ENG1 N1,percent) 5 > (A:TURB ENG2 N1,percent) 5 > || (A:GENERAL ENG1 THROTTLE LEVER POSITION,percent) 65 > (A:GENERAL ENG2 THROTTLE LEVER POSITION,percent) 65 > || && if{ (A:LIGHT RECOGNITION,bool) ! (A:SIM ON GROUND,bool) ! && if{ (>K:TOGGLE_RECOGNITION_LIGHTS) } } els{ (A:LIGHT RECOGNITION,bool) (A:SIM ON GROUND,bool) ! && …
-
- 3 replies
- 1.1k views
-
-
Hi all.Can anyone tell me how to get VC night lights working in Krzysztof Malinopwski's P-40? The VC does not light up in FS8 and FS9 at night. Any ideas as to whether I can get this going?Cheers,Matthew.
-
If the value of COM_mem[12] is 0.00, then I want to suppress display, otherwise, display the value: if (COM_mem[12] != 0.00f) { swprintf(buf,L"%3.2f",COM_mem[12]); } else { swprintf(buf,L""); }Unfortunately, it isn't working as expected... swprintf(buf,L"");by itself works as expected, so obviously the problem is in the if condition... I've tried using simply 0, 0.00, and now 0.00f and none of 'em work.
-
- 1 reply
- 784 views
-
-
Legends of the Sky is looking for modelers, panel designers, air craft painters, and scenery designers for payware and freeware projects. If you are interested in learning more please e-mail me at [email protected] . Get paid to do what you love to do....
-
I would like to design an SDK similar to those used by Level-D 767 and the CIVA INS where access to certain variables within the project is given to developers. Specifically I would like to include library/header files and document the variables. How can the internal multi-gauge variables be exported and used externally in this way? Appreciate any help or suggestions.
-
- 3 replies
- 1k views
-
-
I am helping build an Autogyro, but becuase FS cannot make a powerless rotor, we are having to fake it by using a jet engine with no controls - driven by invisible XML gauges. However, the thrust engine has to be a jet engine also because FS will not allow mixed engine types. But it is in fact a recip engine, so we have magnetos. In the following code, I can get the mags to switch (they don't actually do anything) but I want to pass out the parameter L:MagnetoStatus,enum, so that the starter switch will read this value and not start the engine if that variable is set to zero (both mags off). I have a temporay test gauge to rwad the values and display them, and the (L:Left…
-
Hi all I want to remove Vor types 3 4 5 and 6 from search using (>@c:NearestVorRemoveVorType) 3 (>@c:NearestVorRemoveVorType) works OK But 3 >= (>@c:NearestVorRemoveVorType) no good.
-
- 8 replies
- 1.2k views
-
-
Hey guys,I am modifying Captainsims C-130 Nav panel to add a few gauges. The way they designed it, their fixed window is all compiled into a gauge, bitmap included. So... I am forced to put a set of gauges into a [Fixed Window] view. I got a new [window] to pop up with the Nav panel by their icon, by setting the icon ID, but it's a fixed window, so when you go back to another view, that popup window I added stays up. The icon commands the popup to come up, but switching to any other view, it stays there. I have to close it from the menu. Is there anyway to slave it to the fixed window so when I change views it closes also?Here's a copy of pertaining sections. ----…
-
hi to all,within FS9,can a plane have more than one Hydraulic system in order to supply different Hydraulic power sources to different plane systems?If it's possible how to realize it?Thanks
-
- 0 replies
- 738 views
-
-
Hi!Is it possible to feed external data to FS9 a/c's in terms of position and/or force and moments, in order to e.g. drive FS9 a/c's using an external flight model?Marco
-
Does anyone know if there is a XML variable or parameter that can be used to operate an inertial separator? I want to add one to my turbo prop aircraft panel.Thanks
-
I was wondering if these SDK click events are simple to make work in an xml gauge? I have a need to transfer fuel to maintain a CoG, but just want the transfer to be as simple as a click knob on the panel and VC. Its possible to do these commands through the key assignments list, but is it possible to do this without using key presses and just clicks on a panel?SET_FUEL_TRANSFER_AUTOSET_FUEL_TRANSFER_FORWARDSET_FUEL_TRANSFER_AFTSET_FUEL_TRANSFER_OFFMany thanks in advance!David.