Jump to content

Recommended Posts

Posted

Like the changes you did for the campaign, but want to point out that it appears that CAS1 still crashes into the ground when they reach their orbit waypoint. I didn't load up the trk and watch it happen, but I noticed in the debrief log that they both crashed at the same point in the mission when it happened before.

Posted

I had previously been able to get the CAS 1 flight to avoid crashing into the ground, but I never knew why it crashed into the ground to begin with.

 

I now have figured out why.

 

With the original mission from the release version the CAS 1 flight would crash into the ground, but if you opened it up in the mission editor, everything looked like it SHOULD work. A couple of times I tried changing the elevation and saved and tested the mission, it still crashed into the ground. I also deleted the orbit task and redid it for the waypoint putting in the same data and it DID work.

 

I finally got around to unzipping the mission files and compared one that worked with the one that didn't work. Here why the flight runs into the ground. In the original version & in the version with the patch there is information missing in the Orbit task for waypoint 4. Here is what is included in the Orbit task:

 

                                                       [1] = 
                                                       {
                                                           enabled = true,
                                                           auto = false,
                                                           id = "ControlledTask",
                                                           valid = true,
                                                           number = 1,
                                                           params = 
                                                           {
                                                               task = 
                                                               {
                                                                   id = "Orbit",
                                                                   params = 
                                                                   {
                                                                       pattern = "Circle",
                                                                   }, -- end of params
                                                               }, -- end of task
                                                               stopCondition = 
                                                               {
                                                                   userFlag = "14",
                                                               }, -- end of stopCondition
                                                           }, -- end of params
                                                       }, -- end of [1]

 

Compare it to what it looks like if you delete the orbit task and put it back in with the same parameters:

 

                                             [1] = 
                                                       {
                                                           enabled = true,
                                                           auto = false,
                                                           id = "Orbit",
                                                           valid = true,
                                                           number = 1,
                                                           params = 
                                                           {
                                                               altitude = 800,
                                                               pattern = "Circle",
                                                               speed = 116.66666666667,
                                                           }, -- end of params
                                                       }, -- end of [1]

 

The original is missing both the speed and altitude parameters, so when the plane starts to orbit it says "Whoops I have no speed nor altitude, I'm going to fall out of the sky now!"

 

I have a feeling that this happened due to a bug in the mission builder version that this mission was originally made with. That bug eventually got quashed, but even if you open up a mission with a current version of the mission builder and save it, this glitch still gets passed on unless you delete and redo the task.

 

This really isn't a big thing because it only effects old missions that were broke. New missions made with a current patched version will probably be ok, but it at least put my mind to rest on why I had some problems trying to figure out what was going on in that first DC mission.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...