xmaksasx Posted April 26, 2017 Report Posted April 26, 2017 Is it possible to use the flight dynamics without the flight simulator, maybe someone has an example of how to use the flight dynamics using an application written in C#. I am sorry, if I created a topic in the wrong forum thread
Pete Dowson Posted April 26, 2017 Report Posted April 26, 2017 Wrong forum, really. Check the list of forums on Avsim. I assume you mean to write a program with your own flight dynamics? If so it isn't a subject suitable for any forum. There are whole books written on subjects like this! You need a good understanding of aerodynamics and aircraft or helicopter design, and good basic mathematics, especially trigonometry and advanced algebra. Check on Amazon for suitable books. If you mean to take the dynamics out of a flight simulator and use them for something else, then no, that is not possible. The code is well built into the Simulator, in FS mostly in the module called "Sim1" plus a number of control files specific to each aircraft. I suppose you could disassemble Sim1.dll to see how it works (though of course that would violate Microsoft's copyright, so it would be illegal), but you'd have great difficulties even if you were an expert in Intel assembly level code. Compilers these days, in their efforts to make things more efficient on modern multiple pipelined processors, produce very obscure code. Pete
xmaksasx Posted April 26, 2017 Author Report Posted April 26, 2017 (edited) Thank you very much for the answer.Once again, sorry for creating threads in this thread. I want to write a program that will use the flight dynamics from the fileы *.MDL and *.AIR, I understand this is the flight dynamics file Edited April 26, 2017 by xmaksasx
Pete Dowson Posted April 26, 2017 Report Posted April 26, 2017 4 hours ago, xmaksasx said: I want to write a program that will use the flight dynamics from the fileы *.MDL and *.AIR, I understand this is the flight dynamics file Well, not really. They contain some of the parameters that flight dynamics programming in the sim use to determine what to do with them. The MDL file is mainly concerned with the appearance of the aircraft. And the parameters in the AIR file are, these days, often overridden or modified significantly by those in the aircraft.cfg file. You can obviously decode those files and use them for your inputs, but you need to know a lot about how to do flight modelling yourself using those parameters. It would probably be a lot easier and quicker starting from scratch. Anyway, I repeat. You are in the wrong place! Pete
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now