Sorry so many people are missing your point or not listening to your question and going on about what problem they care about.
@Chaezaa is on to it, but I’m not sure he understands what you’re saying about two flightsim.n entries in the aircraft.cfg, one with isUserSelectable = 1 and isAirTraffic = 0 and vice versa for the other (plus a different model.cfg).
I’m not positive, but I believe there are two issues here.
-
Asobo is EXTREMELY clear about where 0,0,0 needs to be in a model when you create it. It seems many developers ignore this, or don’t want to have to go through all the trouble it would take to adjust the asset they are using to follow this rule.
-
Given this it seems as though the AI engine is different from the engine that displays the user selected model. If you look at many payware aircraft they are ALLL over the place in how they appear as AI, I agree with you. And yet, when you fly it, it sits on the ground just fine.
Ultimately, I think the only real fix for this is to move the zero, zero point of the model to the position Asobo prescribes in the SDK. If it is not there, for instance, if, instead of being I think it’s on the centerline at the CG of the airplane, if instead the author places the zero, zero at the nose of the aircraft, or maybe at a point at the center point between the 3 contact points of the wheels, or anywhere else they happened to choose, the plane is going to end up showing up in the wrong location with respect to the ground when displayed as AI.
I’m not 100% positive on this, but it’s the only logical reason that makes sense based on my observations and reading the SDK.
You can check my theory out by downloading the latest (developer) version of ModelConverterX which allows you to read in models and will show you where the origin of the model is (the zero, zero (,zero) point), as well as the contact points and lots of other information. While the software allows you to export FSX style models, I don’t know what the author’s choice is in allowing you to edit and export gtlf models.
Load a plane where the AI is properly positioned, and check its origin and contact points, and compare that to one of the planes you’re using that doesn’t load as AI properly.
A perusal of the aircraft development sections of the SDK will be enlightening as well.