PlutonianEmpire wrote:Can it work in reverse too, from SE to US2?
miniluv73 wrote:Wow SFGameZ64, this is great! Do you think this can be used to implement spacecraft orbits into SpaceEngine?
Spacecraft "Ship Name"
Model "file path leading to .sss file"
ParentBody "Parent Name"
Normal Orbit Stuff
earth wrote:can you make it more accurate
earth wrote:a star
earth wrote:SFGameZ64 wrote:earth wrote:a star
I'm sorry, I don't understand what this is for. It doesn't look like it came from my program.
it is for making a custom star system i made the script all by myself check out Anton's video on how to make a star system https://www.youtube.com/watch?v=Ieyip5xbfVw
earth wrote:update it
SFGameZ64 wrote:US2 to SE Converter 1.1.zip
9/30/20 - The current version of the converter is not totally accurate, but me and another great developer are working on updating it now. The updated version will be posted here when it is complete. It will be completed soon, so stay posted if you are interested. For now, use the converter linked above as a good starting point for file conversion.
2/27/20 - fixed runtime problem, also rotation period is now supported. Axial tilt is planned but I don't know the equations yet.
There are instructions in the readme file when you download it, but a video format can be found here:
Remember that a file from US2 is just an instance of the system at the time of export, so the values converted will NEVER be 100% accurate. Especially if you have a system that is broken at the time of export (like one planet crashing into another), this converter will give you extremely weird results.
Binary orbits DO NOT work. At least, not completely. The program will generally calculate the semi-major axis (mostly) correctly, but all other values are useless. If you have binary orbits in US2, SE will render them after conversion, but they will look wrong. You will have to open the .sc file and manually edit those values if you want them to look correct. I wish there was something I could do about it, but I don't know if the problem is with the formulas or if binary orbits are too complex to calculate with just an instance of information. And I'm not a physics major, by any stretch of the word, so if anyone has suggestions please feel free to let me know.
As always, if something goes wrong, or if you have problems other than weird binary orbits, please tell me about it and we will fix the problem together. I'm sure you will have issues, but for the general case system, hopefully, there will not be any problems.
And if you would like to make fun of my code, you can find it on GitHub: