Universe Sandbox

Universe Sandbox Legacy => Universe Sandbox 2008 | Help => Topic started by: atomic7732 on July 27, 2009, 12:45:22 PM

Title: XML codes? Where are they?
Post by: atomic7732 on July 27, 2009, 12:45:22 PM
I can't find them on the universe sandbox page!
Title: Re: XML codes? Where are they?
Post by: Dan Dixon on July 27, 2009, 04:08:56 PM
I think you're looking for this:
http://universesandbox.com/support/newsystems.htm
Title: Re: XML codes? Where are they?
Post by: atomic7732 on July 27, 2009, 04:25:26 PM
Yeah, thanks!

How do I put a rotation period in xml i can have it rotate when i start the sim?
Title: Re: XML codes? Where are they?
Post by: Dan Dixon on July 28, 2009, 10:16:34 PM
You'd think that would be an option, but I've never added support for it.

Rotation periods are extracted from the Data files and I added a special action called rotationperiod...
Code: [Select]
<Action>rotationperiod=faceparent</Action>...but faceparent is the only parameter it currently accepts.

Sorry about that... I've added it to the list of features to add to the upcoming version.

If you use the <Object> property and then override all the other attributes it will have the rotation period of the body specifed in <Object> (assuming this object has a rotation value in LocalObjects.xml or Stars.xml).
Title: Re: XML codes? Where are they?
Post by: atomic7732 on July 28, 2009, 10:26:18 PM
Can you in the current version change a stars color? Or does it not work?
Title: Re: XML codes? Where are they?
Post by: Dan Dixon on July 28, 2009, 11:31:47 PM
Changing a star color works... Check this out:
http://universesandbox.com/forum/index.php/topic,277.0.html
Title: Re: XML codes? Where are they?
Post by: atomic7732 on July 28, 2009, 11:34:55 PM
Do the spectral types do anything? There is a code for it.
Title: Re: XML codes? Where are they?
Post by: Dan Dixon on July 29, 2009, 06:05:27 PM
Do the spectral types do anything? There is a code for it.

Not everything in the data files are used by Universe Sandbox, but it was so much easier to just go ahead and add that data now rather than try to add it in the future if I decided I needed it.

No... I don't think the spectral types are used at the moment.