Just committed a very simplified MEC that corrects the timing of the separation events, so the launches will now look more familiar. :lol:
One bug that exists, and I can't figure out, is the touchdown points not working during the launch. The vehicle has to sit on the ground between HDP fire and enough SRB thrust is developed to start rising, but the touchdown points don't work at all, no matter where I put them. If I don't ignite the SRBs, the vehicle just falls, and falls, and falls until the center of the Earth. :facepalm:
---------- Post added at 09:31 PM ---------- Previous post was at 10:54 AM ----------
Another partially fixed issue is the drag chute CTD. I moved all the drag chute code to a class (so it has more privacy :lol
and it now runs in the pre-step call, so no more CTDs. But, sometimes it still zooms out like there's no tomorrow... :uhh: Frame rate might be an issue there. More, if the drag chute "survives" jettison, it then goes away when it touches down, regardless of whether or not I use the new touchdown points. :facepalm:
Another change I did was to the default mission file parameters. I discovered that if no mission file is specified (the defaults are used instead), some of the optional systems/panels are not created. Stuff like the RMS or the Ku-band antenna can't be on by default with the current load state architecture, so I changed the defaults and corrected the mission files.
---------- Post added 08-27-16 at 05:59 PM ---------- Previous post was 08-26-16 at 09:31 PM ----------
We can scratch this one, as I think I found the source of the issue by accident: I was browsing the Atlantis class for old/unused stuff and I'd just passed the Twang function and then came across the LaunchClamps function. "What does this one do?" I check the code and it adds forces to the vehicle... "Can't be for the twang, as that is done by the other function... hmmm, what happens if I disable this?" And sure enough the twang worked normally and then T0 came and the vehicle didn't fall. :thumbup:
I looked up old versions of the code and this function exists since day one... was it the "original" twang? Anyway, it seems like it's not needed anymore and causes problems so I'll throw it out with the other old stuff.