• 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 Prepar3DGuy

  1. Prepar3DGuy

    MSFS20 Where is the code for "aircraft logic"?

    What I have found for now is the indication on ECAM that was coded in JS (blablabla...\Packages\Official\OneStore\asobo-vcockpits-instruments-a320-neo\html_ui\Pages\VCockpit\Instruments\Airliners\A320_Neo\EICAS\ECAM\A320_Neo_UpperECAM.js) see for lines 684-694 and is based on "TRAILING EDGE...
  2. Prepar3DGuy

    MSFS20 Where is the code for "aircraft logic"?

    May be the flight_model.cfg section [AIRPLANE_GEOMETRY]? There is a fly_by_wire settings from FSX days as I remember.
  3. Prepar3DGuy

    MSFS20 GetGameVarValue

    Maybe content of simvars.js and TestSimVar.js files that lives inside C:\PROGRAM FILES\WINDOWSAPPS\MICROSOFT.FLIGHTSIMULATOR_1.15.8.0_X64__8WEKYB3D8BBWE\Packages\fs-base-ui\html_ui\JS will help you. As I can understand, that simvar, globalvar, gamevar are parts of window and have some methods to...
  4. Prepar3DGuy

    Retrieving strings with Simconnect

    With SDK version 0.10.0 there are many SimConnect Samples. Inside "Request Data" there is a working "Title" string request. The request DatumType parameter is SIMCONNECT_DATATYPE_STRING256, but documentations states that Title has type SIMCONNECT_DATATYPE_STRINGV (Variable length string).
  5. Prepar3DGuy

    Retrieving strings with Simconnect

    I have also unsuccessfully tried to receive text string from MSFS. Guess it is not working in current SDK version. Read this thread.
  6. Prepar3DGuy

    Sending input

    Another simulation platform Prepar3D that based on Microsoft ESP and evolution in the last 10 years for commercial simulation. No, it is separate products with different purpose and target audience. No. SimConnect is available for FSX, Prepar3D and MSFS. It has the same idea for interprocess...
  7. Prepar3DGuy

    Sending input

    Yes, SimConnect_RequestSystemState() will be fine to request state once at a current moment. If you need to subscribe to simulator events and want to process such event when it occurs I recommend to use SimConnect_SubscribeToSystemEvent() function instead. About connection status of your...
  8. Prepar3DGuy

    Sending input

    First of all use x64 platform compiler for MSFS SimConnect instead of x86 in your screenshot. The next is simple check and follow steps 1, 2, 3 of section Manual Configuration on SDK page $(MSFS_SDK)/Documentation/04-Developer_Tools/SimConnect/SimConnect_Reference.html#cc-projects
  9. Prepar3DGuy

    MSFS 2020 Gunsight/HUD

    nvgRGBAf function get arguments with values from 0.f to 1.0f (float) and default value for alpha is 1.f nvgRGBA function get arguments with values from 0 to 255 (unsigned char) and default value for alpha is 255. If alpha channel behavior is not how you intended, maybe to look at...
  10. Prepar3DGuy

    MSFS20 ACCESSING POV DATA IN MSFS 2020

    Do you expect to get both eyepoints for VR scenario and make two different images? I'm curious to know how default 787 HUD works in VR. I think that awesome graphics engine of MSFS have build in settings for gunsight and modern HUD, just need to wait for proper SDK documentation.
  11. Prepar3DGuy

    Sending input

    You may use SimConnect_SetDataOnSimObject function for simulation variables that can be settable. Look at this example from Prepar3D SDK ThrottleControl.cpp
  12. Prepar3DGuy

    MSFS20 I stumble in nvgMoveTo and nvgLineTo in Nanovg

    I think it is possible to draw WASM gauge output on to glass surface texture. I'm less than beginner in 3D design and blender user. Just quick try with glass material settings inside Blender (Huge thanks to Blender2MSFS team) and that is my ugly results. Unfortunately this is only flat texture...
  13. Prepar3DGuy

    MSFS20 I stumble in nvgMoveTo and nvgLineTo in Nanovg

    In your Crosses method you use center.x and center.y like you working in absolute coordinates, but after calling nvgTranslate in first time yours zeros are already in the center of canvas. Try this. void Gunsight::Crosses(void) { nvgBeginPath(ctx); nvgMoveTo(ctx, 0, -size.h/4.0)...
  14. Prepar3DGuy

    Push button on MCDU A320

    Unfortunately interaction with HTML gauges using SimConnect is currently unavailable. Will hope ASOBO improve SDK and SimConnect capabilities.
  15. Prepar3DGuy

    Mouse click spots

    Indeed. It is not working, I have checked. :( Default MSFS airplanes uses HTML gauges that still not documented. And interaction with them currently unavailable.
Back
Top