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

Search results

  1. M

    MSFS Trying to make animation sounds get working in legacy, but no joy, help !

    Ignore my last, the animation sound triggers work fine. In my example, the animation triggers need to be moved OUTSIDE the template (duh).
  2. M

    MSFS Delta time, normalizing rates to frame-time & detecting pause

    Thank you for the detailed reply & information; I never thought to trigger events through the SetSimVarValue function
  3. M

    MSFS Trying to make animation sounds get working in legacy, but no joy, help !

    I think it may have been broken in one of the recent updates. This code used to work for me Model xml: <UseTemplate Name="ASOBO_GT_Anim_Code"> <ANIM_NAME>AIRFRAME_CanopySlider</ANIM_NAME> <PART_ID>AIRFRAME_CanopySlider</PART_ID>...
  4. M

    MSFS Delta time, normalizing rates to frame-time & detecting pause

    Saw the pics in the other thread - looking great. I work in C++ for my work in other sims so I'm trying to stick to that; up until now reading that other thread about event handlers I didn't even know JS could do that? What capabilities does JS have with events, both sim events & custom events...
  5. M

    MSFS Delta time, normalizing rates to frame-time & detecting pause

    Thanks mate, you're a gold mine of helpful information. I will try this approach in JS & pass the resulting pause state to an Lvar to be read elsewhere. Really appreciate the help
  6. M

    MSFS Delta time, normalizing rates to frame-time & detecting pause

    Thanks mate, very helpful information; I will try moving into XML code and passing it through as an lvar. On a related note, my calculations continue in a paused state (ie in the esc menu). I'm using SimConnect to read SimState & Pause states, but they only react to dev-mode pausing and not the...
  7. M

    MSFS Delta time, normalizing rates to frame-time & detecting pause

    Hey guys, In my C++ gauge I'm trying to 'animate' a variable by having it chase a target number at various speeds. This is something I've done many times in different sims, and ordinarily I use delta_time to normalise my rates for frame time (ie multiply the desired rate per second by the...
  8. M

    MSFS C++ Flight Model Override

    That'd be the trick - thanks. That's a shame; increases the workload a decent amount - thanks for the info. Agreed that it is very frustrating the lack of documentation but projects like these are really helpful. I'm not too sure about the panel WASM module useage in this case but from my...
  9. M

    MSFS C++ Flight Model Override

    Wow, astounding work. Thanks for sharing!! I also had some build errors I've successfully built WASM modules before; I note that the layout.json referenced in the error isn't present in my files & neither is the command recognized? Any thoughts would I could be missing here? From your...
  10. M

    MSFS C++ Flight Model Override

    Hey Guys, I wish to override the MSFS Flight Model with my own FM written in C++, ideally by simply supplying my own forces & moments & leaving the sim to calculate resulting velocity/accel/position. Can this be done? I see no Force/Moment/Aero Simvars, only velocity/accel simvars that are...
  11. M

    MSFS Reading Cockpit Camera Position/offset

    Hi, Does anyone know if it's possible to read the camera position when in the cockpit view mode, or the offset of the camera from default view (xyz)? There are some camera simvars vaguely mentioned in the SDK but no real information is provided. I'd like to read the 'head' position of the...
  12. M

    MSFS Here's how to write you own ModelBehavior code.

    Nevermind, I've just answered my own question. I've placed the code in the wrong place, it should of course go in the component block of the animation that it belongs to, not a seperate <ModelBehavior> section. Again, fantastic thread and thanks for sharing. If this is helpful to anyone, here...
  13. M

    MSFS Here's how to write you own ModelBehavior code.

    I'm working on this right now and just came across your post; fantastic thread by the way thank you for sharing. My findings have been similar with using the templates animation events; even using the derived values for simvars seems pretty dodgy at the moment. Magnetos also did not work for me...
  14. M

    MSFS WASM - Setting Simvars

    Good spot. Unfortunately restoring the break didn't change anything, I'd expect it to still run without the break just going through both cases instead of just the one. I think WarpD may be correct that it's not valid for the handler to call itself As a general question about SimConnect from my...
  15. M

    MSFS WASM - Setting Simvars

    Thank you for the detailed example & walkthrough! This is fantastic & answers my question about overriding events. Sorry to go back to event triggers, another useage issue - In my test I'm just working with the gauge API, here is a simple extract of my useage (so far MYEVENT_DOOR is called...
  16. M

    MSFS WASM - Setting Simvars

    Thanks guys for the feedback & help so far. I've now been able to create a few basic c++ gauges & custom events with the gauge API In my tests I wasn't able to call a custom event with this API; are these calls intended for MSFS Default events only? If so is there any way to 'trigger' a custom...
  17. M

    (fixed) c++ simconnect overriding sim provided simvars

    Which phase should be used instead in this type of example? Pre/Post_update?
  18. M

    MSFS WASM - Setting Simvars

    Hi, no web links or anything unfortunately. I am a 3rd Party dev, so far we've used XML for basic systems/animation coding, but tbh it is a nightmare using the reverse Polish notation and obviously not ideal when more than a few lines of math are required. Therefore I am exploring better options...
  19. M

    MSFS WASM - Setting Simvars

    Thanks guys for all the clarifications; after studying the Simconnect samples it's all making sense now. One final question I have; in the docs it says I can build SimConnect modules as a Web Assembly Module by simply including SimConnect.h in the WASM project. In practice however, if I make a...
Top