plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.


Please take a moment to read the platform’s guidelines before you get started!


question

Kaiii3 avatar image
Kaiii3 asked Kaiii3 answered

SimConnect AICreateEnrouteATCAircraft wrong spawn altitude

Using the SimConnect method "AICreateEnrouteATCAircraft" to spawn an airplane enroute causes the AI to spawn at the altitude provided in the [reference speeds]-Section of the SimObject and not on the altitude provided in the PLN file.

-> This issue is new since SU6!

simconnect
1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

addition info:

Updated the flight_model to this:

[REFERENCE SPEEDS]
flaps_up_stall_speed=142.0 ; Knots True (KTAS)
full_flaps_stall_speed=113.0 ; Knots True (KTAS)
cruise_speed=460
max_mach=0.785
max_indicated_speed=340 ; Red line (KIAS)
max_flaps_extended=274.030126 ;
normal_operating_speed=360 ;
airspeed_indicator_max=562.5 ;
rotation_speed_min=140
climb_speed=231 ; Climb speed (Kts)
cruise_alt=36000 ; (ft)
takeoff_speed=145
spawn_altitude=15000
spawn_cruise_altitude=38000
spawn_descent_altitude=15000

----

Aircraft still spawn at low altitude.

Airplanes with PLN files containing more then two waypoints (departure and destination) are climbing to their CRZ FL, all other fly at maximum 2000 altitude.


0 Likes 0 ·

1 Answer

·
Kaiii3 avatar image
Kaiii3 answered

Update on this:

SimConnect AI spawn altitude is related to user altitude. Sitting on Ground will spawn Ai always around +2000ft, when enroute you get AI at +-/2000ft of user altitude.

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.