Universe SandboxGeneral CategoryUniverse Sandbox 1 Help (2009 version)XML codes? Where are they?
Pages: 1
PrintPrint
Author Topic: XML codes? Where are they?  (Read 612 times)
atomic7732
Beta Team

*****
Posts: 2652


Like a scientific expert. With magic.


WWW
« on: July 27, 2009, 12:45:22 PM »

I can't find them on the universe sandbox page!
Logged
Dan Dixon
Creator of
Universe Sandbox

*****
Posts: 2408



WWW
« Reply #1 on: July 27, 2009, 04:08:56 PM »

I think you're looking for this:
http://universesandbox.com/support/newsystems.htm
Logged
atomic7732
Beta Team

*****
Posts: 2652


Like a scientific expert. With magic.


WWW
« Reply #2 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?
« Last Edit: July 28, 2009, 01:48:34 PM by NeutronStar » Logged
Dan Dixon
Creator of
Universe Sandbox

*****
Posts: 2408



WWW
« Reply #3 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:
<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).
Logged
atomic7732
Beta Team

*****
Posts: 2652


Like a scientific expert. With magic.


WWW
« Reply #4 on: July 28, 2009, 10:26:18 PM »

Can you in the current version change a stars color? Or does it not work?
Logged
Dan Dixon
Creator of
Universe Sandbox

*****
Posts: 2408



WWW
« Reply #5 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
« Last Edit: July 29, 2009, 10:17:24 AM by Dan Dixon » Logged
atomic7732
Beta Team

*****
Posts: 2652


Like a scientific expert. With magic.


WWW
« Reply #6 on: July 28, 2009, 11:34:55 PM »

Do the spectral types do anything? There is a code for it.
Logged
Dan Dixon
Creator of
Universe Sandbox

*****
Posts: 2408



WWW
« Reply #7 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.
Logged
Pages: 1
PrintPrint
Jump to: