Welcome, Guest

Author Topic: Precise Tools for adding new objects  (Read 1382 times)

zongor

  • *
  • Posts: 9
  • ᛬ᛗᚫᛖ᛫ᚷᛟᚹᚫᚾᛖᚾ᛬
Precise Tools for adding new objects
« 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).

zongor

  • *
  • Posts: 9
  • ᛬ᛗᚫᛖ᛫ᚷᛟᚹᚫᚾᛖᚾ᛬
Re: Precise Tools for adding new objects
« Reply #1 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?

Xriqxa

  • *****
  • Posts: 1441
  • 01000011 01101111 01101101 01101101 01110101 01101
Re: Precise Tools for adding new objects
« Reply #2 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.

zongor

  • *
  • Posts: 9
  • ᛬ᛗᚫᛖ᛫ᚷᛟᚹᚫᚾᛖᚾ᛬
Re: Precise Tools for adding new objects
« Reply #3 on: August 22, 2014, 11:35:18 AM »
the .sim files seem to be in plaintext; so its quite easy to edit

Unnamed25

  • *****
  • Posts: 159
  • o hai
Re: Precise Tools for adding new objects
« Reply #4 on: August 22, 2014, 09:24:27 PM »
Why are you asking for help if it's easy for you?

zongor

  • *
  • Posts: 9
  • ᛬ᛗᚫᛖ᛫ᚷᛟᚹᚫᚾᛖᚾ᛬
Re: Precise Tools for adding new objects
« Reply #5 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
« Last Edit: August 23, 2014, 07:02:05 PM by zongor »

zongor

  • *
  • Posts: 9
  • ᛬ᛗᚫᛖ᛫ᚷᛟᚹᚫᚾᛖᚾ᛬
Re: Precise Tools for adding new objects
« Reply #6 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
« Last Edit: August 23, 2014, 07:08:33 PM by zongor »