Jump to content
Sign in to follow this  
abrams_tank

So MSFS supports custom flight models?

Recommended Posts

So an interesting discussion arose in the A2A & QualityWIngs thread, and I think this deserves a thread of its own.  I have read in the past that Microsoft/Asobo won't allow 3rd party devs to override the flight model in MSFS.  Maybe they said that in at Twitch Q&A before - I can't recall, since there were so many Twitch Q&As already.  

But obviously, some 3rd party dev aircraft/helicopters are obviously using their own custom flight model.  For example, the freeware H135 is using a custom flight model: https://www.flightsim.to/file/8970/airbus-h135-helicopter-project.  Remember, MSFS doesn't even officially support helicopters yet, but yet we can fly the freeware H135 right now.

Now I don't think that Microsoft/Asobo should close this avenue that allows the H135 to do what it does.  That would anger a lot of people that are flying the H135.  Are there other aircraft that are using their own custom flight model in MSFS? And what does Microsoft/Asobo exactly mean when they won't allow 3rd party devs to override the flight model in MSFS?

Edited by abrams_tank

i5-12400, RTX 3060 Ti, 32 GB RAM

Share this post


Link to post
Share on other sites

Disclaimer: While I am a software engineer, I have no experience developing software for flight simulation.

One thing I've learned from working in the cybersecurity domain for many years it's that anything is possible. If you've ever played with tools like cheat engine you'd get a taste of this as you can find important memory locations in another process and manipulate them.

However, with MSFS you don't need to do hacks like the above for many aspects of the simulator due to simconnect which makes it easy to access many important variables in a supported way. I'm not super familiar with what's available here, but I have seen external tools which let you slew the aircraft anywhere you like instantaneously. I can imagine that with a bit of clever engineering, you could run an entirely external simulation and then update these slew variables to keep the aircraft in the correct position. This could be extremely crude (I'm not sure of the accuracy of these variables or the frequency at which it is reasonable to update them).

There may be other approaches as well that still utilize the built in flight model in some basic way while you continually update parameters to stay in sync with the external model.

  • Like 1

Share this post


Link to post
Share on other sites

There are two paths that 3rd party developers can use. One option is to create add-ons in full conformance with the MSFS SDK. The alternative is to access undocumented features. These may be in the SDK but there is no guarantee that they will work correctly. Alternatively, they may be features embedded either in the sim or one of its libraries. This is how REX injects weather in MSFS. But addresses in modules change with every new MSFS version. That is why it takes REX some time to issue a new version of WeatherForce. They have to hack into the sim and find the new entry points for routines. Asobo won't allow anything to be sold in the.marketplace unless it conforms to accepted use of the SDK. 

  • Like 1

Share this post


Link to post
Share on other sites
8 minutes ago, jabloomf1230 said:

There are two paths that 3rd party developers can use. One option is to create add-ons in full conformance with the MSFS SDK. The alternative is to access undocumented features. These may be in the SDK but there is no guarantee that they will work correctly. Alternatively, they may be features embedded either in the sim or one of its libraries. This is how REX injects weather in MSFS. But addresses in modules change with every new MSFS version. That is why it takes REX some time to issue a new version of WeatherForce. They have to hack into the sim and find the new entry points for routines. Asobo won't allow anything to be sold in the.marketplace unless it conforms to accepted use of the SDK. 

This is why if one day, Asobo closes the avenue that the freeware H135 is using and makes it useless, that would anger a lot of people that are flying the H135.  If the H135 is bypassing the SDK, it's possible that whatever the H135 is doing, it may be shut down by Asobo one day.

Having said that, people are also saying the DC-6 for PMDG is also using a custom flight model.  I don't have the DC-6 and even if I did, I'm not knowledgeable enough about the DC-6 anyways, so I can't comment on that.  But if PMDG is also using a custom flight model for the DC-6, then PMDG should be conforming to the SDK (well, PMDG works closely with Asobo) so this also has me thinking how PMDG is using their custom flight model in MSFS.


i5-12400, RTX 3060 Ti, 32 GB RAM

Share this post


Link to post
Share on other sites

Just out of curiosity, MFS can also be used as a "Visuals Generator" for Aerowinx PSX, which is ran totally outside of MFS:

https://www.youtube.com/watch?v=U32qnZdu_l4

https://www.youtube.com/watch?v=LM2dnDsz1NA

 


Main Simulation Rig:

Ryzen 5600x, 32GB RAM, Nvidia RTX 3060 Ti, 1 TB & 500 GB M.2 nvme drives, Win11.

Share this post


Link to post
Share on other sites

The Fenix A320 will use external flight model, won't it?

It would suck if Asobo/Microsoft banned any 3rd parties from overriding their own.

  • Like 1

R7 5800X3D | RTX 4080 OC 16 GB | 64 GB 3600 | 3440x1440 G-Sync | Logitech Pro Throttles Rudder Yoke Panels | Thrustmaster T.16000M FCS | TrackIR 5 | Oculus Rift S
Experience with Flight Simulator since early 1990s

Share this post


Link to post
Share on other sites

Every plane has a flight_model.cfg file which is the flight model. You can hack it in notepad. For instance simple changes to change stability all 3 axis. Change the default weight balance (a slightly more forward balance will reduce fishtailing on the runway when landing, but will also increase fuel usage, just like in real life). You can also change how much torque will effect yaw. There's lots of others.

No plane purchased in the marketplace, premium or deluxe default planes have an accessible flight_model.cfg file. But all add-on planes bought outside the market place, and all standard MSFS edition planes do.

A week after first purchasing MSFS I spent an entire day off work hacking controller Sensitivity (aileron, rudder, elev) in the 20 standard edition planes. (A later Asobo MSFS update added these adjustment right into their Sensitivities window so I no longer need to do this).

I still slide the weight forward on some few planes where I feel they float badly on landing or fishtail too much on inexact landings. More than they should, more than in real life. I am just setting them to behaving more realistically. Only a very few planes need this, e.g. the Cessna Birdog bush plane.  Once I have flight_model.cfg in notepad, it only takes me about 30 seconds to do this (increase the second digit by 2 in all the station_load lines, this slides the 'loads' forward 2 units which I think are feet).

I think most all of the default planes float a tad on landing (tail heavy), but I don't change that because it's not too bad and may just be my imagination.

 

 


Ryzen5 5800X3D, RTX4070, 600 Watt, TWO Dell S3222DGM 32" screens spanned with Nvidia surround 5185 x 1440p, 32 GB RAM, 4 TB  PCle 3 NVMe, Warthog throttle, CH Flightstick, Honeycomb Alpha yoke, CH quad, 3 Logitech panels, 2 StreamDecks, Desktop Aviator Trim Panel.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...