Universe Sandbox

Universe Sandbox => Universe Sandbox ² | Discussion => Topic started by: zongor on August 19, 2014, 12:03:56 PM

Title: Precise Tools for adding new objects
Post by: zongor on August 19, 2014, 12:03:56 PM
Is there a way to add objects (stars, planets, etc.) very precisely? In the system I am modeling I need to be able to add stars and planets within a hundredth of a ly away from the star which is serving as (0,0,0).
Title: Re: Precise Tools for adding new objects
Post by: zongor on August 22, 2014, 07:23:44 AM
anyone? is there a way to edit the save files directly in order to have this functionality?
Title: Re: Precise Tools for adding new objects
Post by: Xriqxa on August 22, 2014, 07:29:51 AM
Edit save files? Unless you've found out some way to hack into US2's file values with T-Search or something, then no.
Title: Re: Precise Tools for adding new objects
Post by: zongor on August 22, 2014, 11:35:18 AM
the .sim files seem to be in plaintext; so its quite easy to edit
Title: Re: Precise Tools for adding new objects
Post by: Unnamed25 on August 22, 2014, 09:24:27 PM
Why are you asking for help if it's easy for you?
Title: Re: Precise Tools for adding new objects
Post by: zongor on August 23, 2014, 06:28:50 PM
What I meant was that opening the file was easy; not how to change the position was
Title: Re: Precise Tools for adding new objects
Post by: zongor on August 23, 2014, 06:54:47 PM
for anyone who wants this functionality:

saving the simulation and opening the archive file allows for access to the .json file where the simulation data is stored:

the .json files (as of the alpha 9 update) are not encrypted and can be edited directly using a text editor

inside of each Bodies": [{}] is a line for the position of the object called:

"Position": "X;Z;Y" ~ (just guessing here)?
which can be edited

although; I think that the velocity is also a factor to its position