While tweaking the UQMG code, I have seen some weird behavior once in the air for some missions with:
* Taxi and Takeoff
-- TAKEOFF_004: Taxi waypoints - Spawn in first taxi waypoint with aircraft lined to the right of plane one with specified spacing
-- TAKEOFF_005: Taxi waypoints - Spawn in Generic Spawn Points
* Scramble
-- TAKEOFF_002: Scramble in pairs with specified spacing
-- TAKEOFF_003: Scramble in line with planes lined up to the right of plane one with specified spacing
In the original instructions for Taxi and Takeoff in IL-2 4.12m, the idea was to place a normal (TAKEOFF) point in the opposite side of the runway from the last taxi point or scramble point, or a point beyond the runway. Problem is that with some planes the aircraft takeoff, and then try to go back to that TAKEOFF point, many times crashing.
The solution I saw was something I noticed in a taxi schema that genXgamer provided for UQMG to be used on the upcoming Alpha, specifically the UberQuick Template Builder.
The solution basically skips the TAKEOFF point and uses a NORMFLY point. That of course only works as intended if the point lines up with the runway so the takeoff run is in the runway and not off to the side.
As I said, I am tweaking the UQMG code, and the best way to fix that with a mission generator is to calculate the precise location for the waypoint based on the Runway coordinates, so I wrote that in the code, and the option is highlighted below in the Flight Editor, and I am glad to say it is fully operational.
When scrambling or taxiing, there are 5 options:
* End of Runway: Using TAKEOFF point at the end of runway
* 2x Runway Distance: Taking off pointing to a NORMFLY point 2x size of runway
* 3x Runway Distance: Taking off pointing to a NORMFLY point 3x size of runway
* 4x Runway Distance: Taking off pointing to a NORMFLY point 4x size of runway
* 5x Runway Distance: Taking off pointing to a NORMFLY point 5x size of runway
So in variations of the mission below...
Here are results for the five cases
When the aircraft are taking off, the AI is basically "blind" to anything else until the plane gets in a state it is ready to fly its waypoints, and sometimes when they are passing teh TAKEOFF location they are not ready yet and they then think they have to go back to that waypoint on the ground and crash. By placing a NORMFLY waypoint after the last taxi waypoint, or scramble waypoint, at a significant distance, it gives the AI time to get into a flying state that it is ready to go to the NORMFLY point. By giving different distance options, I figure that will probably cover jets in JTW when I incorporate that era into UQMG.