• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Recent content by Mellin

  1. Mellin

    FSX better description for Token Variables

    I figured it out. Thanks for your help guys!
  2. Mellin

    FSX better description for Token Variables

    Much better. It gives me "FL003", but original XML still gives "FL004". Maybe it's a problem with shortening of number.
  3. Mellin

    FSX better description for Token Variables

    A problem (not related to coding but understanding value of variables): XML tooltip "TOOLTIPTEXT_XPNDR_REPORTED_FLT_LVL" gives me code "FL004" from: FL%( (A:PLANE ALTITUDE,feet) 1000 / (A:SEA LEVEL PRESSURE,inHg) - 29.92 + 10 * )%!03d! I tried to recreate that code in callback code: FLOAT64...
  4. Mellin

    FSX better description for Token Variables

    OMG!!!! It worked! Thank you ddawson so much. My thanks go also to any and all people who helped my with it!
  5. Mellin

    FSX better description for Token Variables

    Again error while building: "C3861 'sprintf': identifier not found"
  6. Mellin

    FSX better description for Token Variables

    Thanks for a tip. I'm sorry but I'm apartamenty dumb. I changed the callback code to: FLOAT64 FSAPI radio_com_string_cb(PELEMENT_STRING pelement) { FLOAT64 val = pelement->source_var[0].var_value.n; val = !val; FLOAT64 fCom1Freq = AVar("COM ACTIVE FREQUENCY", 1, "Mhz"); char...
  7. Mellin

    FSX better description for Token Variables

    No effect. I have changed font for Arial and it is not "F" but "f". Current code: FLOAT64 FSAPI radio_com_string_cb(PELEMENT_STRING pelement) { FLOAT64 val = pelement->source_var[0].var_value.n; val = !val; FLOAT64 fCom1Freq = AVar("COM ACTIVE FREQUENCY", 1, "Mhz")...
  8. Mellin

    FSX better description for Token Variables

    Thank you for the tip! Although I think I'm making some other mistakes. When I load it, in cockpit view, string shows "F". I deleted that (and only that) entery from gauges.h file, that I have put there for test. Beginning of my gauge: char radio_gauge_name[] = GAUGE_NAME; extern...
  9. Mellin

    FSX better description for Token Variables

    Let me know if I understand: I put that first code to gauges header file (in case of SDK example it would be gauges.h file). And then I use AVar("COM ACTIVE FREQUENCY",1,"Mhz") in callback code of a eg.: MAKE_STRING, like this: FLOAT64 fCom1Freq = AVar("COM ACTIVE FREQUENCY", 1, "Mhz")...
  10. Mellin

    FSX better description for Token Variables

    Hi! I'm working on some c++ gauges for my glider but I have a problem: I lack information on units used by Token Variables: https://msdn.microsoft.com/en-us/library/cc526959.aspx Some of them act in a weird way, eg: I was working on a communication radio and for unknown reason Token Variables...
  11. Mellin

    FSX Problem with MAKE_ICON in C++ Gauge

    Yeah! It worked. Thank you guys! Here is working code for anyone interested: // Set up gauge header char avionic_gauge_name[] = GAUGE_NAME; extern PELEMENT_HEADER avionic_list; extern MOUSERECT avionic_mouse_rect[]; GAUGE_HEADER_FS700(GAUGE_W, avionic_gauge_name...
  12. Mellin

    FSX Problem with MAKE_ICON in C++ Gauge

    Hi everybody. I'm working on a 2d cockpit c++ gauges for a glider from If My Heart Had Wings visual novel and I have a problem with master avionic switch. For some reason the image visible is always an "off" one. All other parts are ok (like tooltip and action when clicking - I can check that...
  13. Mellin

    FSX Problem with custom effect in virtual cockpit

    If you are talking about those red part in cockpit, then I have the same effect. If you are talking about green lights on left, then I will look into that.
  14. Mellin

    FSX Problem with custom effect in virtual cockpit

    Well, it kind of works. I have a mesh that shows/hides in right moments, but it is simply shadeless. I get no glow from it, both in day and in night. Here is list of all material settings (I'm using Blender2fsx, but it supposedly have copies of all settings): Other Texture Info: Detail...
  15. Mellin

    FSX Auto Start and Auto Shutdown for specific engine

    So for start that would be (for only first engine): -TOGGLE_ELECT_FUEL_PUMP1 (if GENERAL ENG FUEL PUMP SWITCH:1 == 1) -KEY_MIXTURE1_RICH -KEY_TOGGLE_STARTER1 is that right? How about shutdown sequence?
Back
Top