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,C++ Airspeed Indicator and Airspeed Bug Mouse problem:The Airspeed Bug needle and mouse function is working, the problem is that I have not been able to limit the values controlled by the mouse, which despite all efforts still varies between 0 to 990 knots. Relevant code://-- (main .c file) -->MODULE_VAR airspeed_bug = {AUTOPILOT_AIRSPEED_HOLD_VAR};//-- (asi.c file -->MOUSE_FUNCTION asi_speed_up_set; //airspeed bug setMOUSE_FUNCTION asi_speed_down_set; //airspeed bug setMOUSE_BEGIN( asi_mouse_rect, 0, 0, 0 ) MOUSE_CHILD_FUNCT( 283, 24, 30, 30, CURSOR_UPARROW, MOUSE_LEFTSINGLE | MOUSE_DOWN_REPEAT, asi_speed_up ) MOUSE_CHILD_FUNCT( 250, 24, 30, 30, CURSO…
-
- 0 replies
- 1.1k views
-
-
I read Dai Griffiths' excellent summary on gauge programmingand I found something I could not believe. He states that thetwo lines in element callback functions are obligatory:FLOAT64 FSAPI active_units_update( PELEMENT_STRING pelement ){ FLOAT64 val=pelement->source_var[0].var_value.n; val = !val; ...}He also explains:"The first line in the body of the structure is an FS2K+ requirement even if you are not actually reading a Token Variable. It seems to be needed to trigger FS to check if the string needs updating. The next line does the dirty deed and forces FS to run an update; each time it runs through this line it simply inverts the previous value of val thus …
-
- 3 replies
- 739 views
-
-
PLEASE HELP.Ever since I installed 2004 there have been lines coming off the cessna 172 and 182 default planes. I am not sure where the errors are. (textures????) The lines dont really interfere with anything but they are annoying.Please see the screenshot.
-
- 3 replies
- 790 views
-
-
Hallo,Is there a clever way to circumvent the eventfiring when you are planning to use a code like:(L:N1,number) 163.84 * (>K:THROTTLE_SET) ???I am still busy with Thrustmode and N1 limiter.Jan"Beatus Ille Procul Negotiis"
-
- 2 replies
- 1.1k views
-
-
hi,I'm working to make possible that Attitude signals are coming from the INSs as the realty.For the purpose I 'm using the Event"TOGGLE_VACUUM_FAILURE"assigningto the INS switch when is switched on the possibility to toggle the Vacuum system and restore the Attitude signals to the instruments.But I'm not able to obtain at FS9 opening the failure already in progress being obviously the INS switches OFF.What kind of code do I made ?Thanks for all helpsGianfranco
-
- 2 replies
- 806 views
-
-
Hi all.Does anyone know how to use the variables,FLAPS_1FLAPS_2FLAPS_3and does anyone know how to control different flap types individually. For example, stow (up) leading edge flaps before the trailing edge flaps are raised but by controlling each type independantly. I know the effect can be achieved using different timings during the same flap cycle, but I want to control more than one flap cycle on its own.TIA,nick
-
- 3 replies
- 1.1k views
-
-
The 1st annual Dark Shark Air Aircraft Design Competition is coming!Create the most innovative new fligtsim plane and win V$1,000,000 and 25 gmail invites plus an optional prize: Fleet Manager position for Dark Shark Air. for more info or to submit a design, email:[email protected] due by April 1st, 2005!!!
-
Hi, does anyone know where I can get recordings from a real TCAS? I'm looking for high quality recordings of all the phrases it can playback.I've googled it and found nothing. I know there's a nice TCAS gauge out there for FS but I wasn't able to extract the sounds.Thanks,Enrique==========================Frequency change approved,Good day.
-
Does anyone know what triggers the following GMax error message?I began to get it on the nth iteration of an aircraft model I'm developing. The I open Gmax and load the model. GMaxmodel seems run properly until I right-click in a window. Instead of the usual popup menu (Show... Hide... etc) I get this error message and GMax closes. The last changes to the model I can remember were: creating a plane, cloning it, flipping the normals of the clone then grouping the two planes.I'd like to know if this is a known problem before re-installing GMax.http://forums.avsim.net/user_files/109847.jpg
-
- 4 replies
- 1k views
-
-
Hello guys, I am posting here since I have a question that I can not answer by myself. I would like to make a DLL that will be in the FS9/Modules folder, which does some calculations and stores some variables. What I want is interaction with a gauge that I am developing. I tried everything that I could, but I couldn't get it to work. I use this code for the DLL:http://www.squawkbox.ca/downloads.php Does anybody know on how I should proceed for interaction between the gauge and the DLL. I don't want anything complex, for start create a variable in the DLL, set a value to it, and be able to obtain the value in my gauge. Thank you very much for your help.Yours Truly,Tib…
-
- 2 replies
- 926 views
-
-
Can somebody please explain me what table 400 (ground effect) in the air file is for and what the x and y values mean?I see that when all y values in this table are set to 0, the airplane has zero lift as well...Andreas
-
Hi all, I posted a message over at the FFDS forum and it was suggested that I check here for help. I'm modeling a glider in gmax that has 2 water ballast tanks in each wing along with 2 fuselage tanks. Basically depending on which 2 wing tanks are being dumped, one of the fuselage tanks will dump also so the CG stays in acceptable limits. The water dumps are controlled by 2 different knobs in the cockpit. I'm looking for the XML code that will allow me to name these parts in gmax so that when I export the .mdl file I can click on the knobs in the vc and have this start the "water dump" effect. I know nothing about XML programming and have on idea where to start,or ev…
-
Hi,I'm trying to create a digital display as a way of learning simple XML gauge programming.I created a gauge to display height above the ground (AGL). The gauge works fine. Now I'd like to make the color of the display change based on the current height. For example, if height <= 300, display red numbers. If 300 < height <= 500, display yellow numbers. If 500 < height, display white numbers.My first attempt using <Select> and <Case> won't even display on my panel. My second attempt, shown below, shows the height but the color is always yellow. How can I change the color dynamically?Current gauge:<Gauge Name="RadarAltimeterColor3" Version="1.0"&…
-
Please read my suggestions open-minded and criticize it.I would like to see clearly before jumping into biggergauge programming projects (well, I am in already...)I am a newbie in gauge programing, but I have quite a lotC programming experience. Recently I had to touch a gaugecode and I was shocked about the logic it was designed.Later I learned that - at least partially - it was comingfrom the RECOMMENDED structure of gauge programming.The main problem is the "including-everything-together"method. It has the following disadvantages:- everything is global, you are forced to figure out funny variable and function names to avoid conflicts;- it is rather difficult to manage…
-
I have to finally ask! I have spent almost a day now (24 hours) looking for a GOOD linedrawing of a Turbo-Beaver. I found one, but it is so jaggie, it's basically unusable. Anyone have knowledge of one or have one kicking around they would like to share? Thanks for any help you can give to me.Don Moser
-
- 1 reply
- 606 views
-
-
Hi,So far I failed to define mouse area for right mouse click. If I defined MOUSE_CHILD_FUNCT( 48,38,20,35, CURSOR_UPARROW, MOUSE_RIGHTSINGLE, com_mouse_2_left_cb)it did not call my mouse callback function at all. However I saw some panels where left click was the fine change and right click was used for fast change (Project Fokker). Also PT Tu154 is using the right click for special things (open/close switch covers).For me right click always displayed the panel menu. Should I somehow disable that in panel.cfg for right click working on the gauges?Gabor
-
Hey there again all,A little while ago I posted a note asking for some beta testers. One fellow suggested I had not given enough information about the project when I expressed my disappointment with the lack of response. I suspect he was right.So! To that end I have put together a site for the project. The site has a history section, downloads, a photo gallery and so on. I have read through it a dozen times but I am sure there are still likely a few typos and or other mistakes that I have not caught.If anybody is interested in taking a look, reading through it and giving me some feedback, I would much appreciate it. Also if you wish to take a look at the project model you…
-
Hi,We can use an extra parameter in panel.cfg to pass user data to the gauge. This can be read from the gauge callback function. However I do not know how to reach this data from the element callbacks and especially from the mosue callbacks.Let's have an example. I would like to develop an DME indicator. It should show distance from VOR1 or VOR2. I put two instance of the gauge on the panel with 1 and 2 (meaning VOR1 and VOR2) as the last parameter. Let's suppose that besides displaying distance there is a switch on the gauge where I can change between km and miles unit. I would like to be able to change the unit independently on the two gauges.Gaborgabor[at]hrasko.com
-
Hi all,I am the Founder of a new design group called MKM and we require another 1 or 2 aircraft designers. Our current project is the B737-800 but we require somemore designers. Please reply here if you can help, forgive me if i cannot reply until Monday.Mike
-
I'm trying to add Master Warning, Master Caution, and Autofeather annunciator lights to my flightdeck. The lights will be LEDs and controlled by IFS Photon. I have looked for FSUIPC offsets in the FSUIPC SDK and within FSInterrograte with no luck. I have found the offsets for the switches, but what I need the the "light".How do annunciator lights work within the King Air 350 or say the PMDG Beech 1900 panels? Is there an offset for the annunciators that is outside FSUIPC or are the lights hard coded within the panel? The PMDG Beech 1900 panel has Master Warning, Master Caution, and Autofeather annunciator lights just like the KA350. I'm at a loss of how you would captu…
-
- 1 reply
- 2.7k views
-
-
In order to develop a FMC that handles the holding patterns, I would like to have the formula that gives the bank angle regarding the true airspeed.I know there is a formula like: angle = 60 / Vp, or Vp / 60but I don't remember it exactly...Any idea?Thanks.Eric
-
- 2 replies
- 835 views
-
-
I have made an overlay window panel which (if activated) blackens (=overlays with a black rectangle) the gauges I want to have Off when the master battery switch is Off.And I need that because appearantly these gauges to not react to the master battery switch position properly.I would like to make a XML gauge that automatically opens/closes that new window based on the position of the master battery switch. So no manual switch, just an invisible gauge. Can somebody tell me how to make it? help is much appreciated.
-
- 8 replies
- 998 views
-
-
Hi all,in an XML gauge with the needle drawn in XML code, if I hit high G values or stall badly, that is, really throw the airframe about, I see multiple instances of the needle, and they stay in view.Any ideas how to clean-up the needle?(A:INCIDENCE BETA,degrees) 0.122 *Beta©2004 Nick Pike F117
-
- 0 replies
- 816 views
-
-
The 1st annual Dark Shark Air Aircraft Design Competition is coming!Design the most innovative new flightsim plane and win $V1,000,000 and 25 gmail invites plus an optional prize: the position of fleet manager at Dark Shark Air. For more info or to submit a design, email:[email protected] due by April 1st, 2005!!!
-
The 1st annual Dark Shark Air Aircraft Design Competition is coming!Create the most innovative new fligtsim plane and win V$1,000,000 and 25 gmail invites plus an optional prize: Fleet Manager position for Dark Shark Air. for more info or to submit a design, email:[email protected] due by April 1st, 2005!!!