Rewrote the scenario export routine from scratch, the old function was merely for testing purposes and didn't really store any properties of the vessel except the state vectors. The new function should save all the properties of custom vessels.
Also the first jumps back to sol have been concluded, but don't work quite flawless yet. For some weird reason, when jumping back to sol the vessel arrives there with completely screwed up rotation, spinning like mad. That problem doesn't show up in the generated systems, and currently I'm completely baffeled about the cause...
---------- Post added at 03:23 PM ---------- Previous post was at 11:51 AM ----------
Found the cause. Currently I don't specify the name of the central body in the config file, because it's possible that it's not the same as the star's, so there's just Status Orbiting. I assumed that would automaticaly aply to the sun, but no, it aplies to whatever body's SOI you're in... and the rotation parameters are global. So when jumping back to sol I came out pretty close to earth, and the rotational parameters where aplied relative to the earth. Looks like I have to introduce an additional parameter with the central bodies name...
---------- Post added at 07:09 PM ---------- Previous post was at 03:23 PM ----------
Crap, that doesn't help either. Looks like we have to live with the danger of jumping too close to planets... shouldn't happen too often though. The chances aren't too high, after all.
This, and several bugs fixed that came up during this developement (involved a light change in the architecture too), and apart from the wildly spinning thingy when coming out too close to a planet everything seems to work A-ok. Now it's definitaley time for that vector display...