Welcome, Guest

Author Topic: Huge problems with asteroid belts :(  (Read 7430 times)

Andreas

  • Universe Sandbox 1 Beta Team
  • *****
  • Posts: 158
Huge problems with asteroid belts :(
« on: November 08, 2008, 10:54:31 AM »
Well i want an asteroidbelt around my systems central star Eta Carinae
I placed it into the file (i stole it from the retrograde system file :P )
But now the asteroid belt is around Uranus!
I added the file here, maybe somebody can fix it?

atomic7732

  • Global Moderator
  • *****
  • Posts: 3849
  • caught in the river turning blue
    • Paladin of Storms
Re: Huge problems with asteroid belts :(
« Reply #1 on: November 08, 2008, 11:09:04 AM »
You don't need <apperance> just put the apearance in the <Object>. And some misspellings. I can't find your asteroid belt problem

atomic7732

  • Global Moderator
  • *****
  • Posts: 3849
  • caught in the river turning blue
    • Paladin of Storms
Re: Huge problems with asteroid belts :(
« Reply #2 on: November 08, 2008, 11:12:02 AM »
also it doesn't even show up.

Andreas

  • Universe Sandbox 1 Beta Team
  • *****
  • Posts: 158
Re: Huge problems with asteroid belts :(
« Reply #3 on: November 08, 2008, 11:43:24 AM »
Look i did write that into the file:
<System>
  <Body>
    <Name>Eta Carinae</Name>
    <Object>Sun</Object>
    <Appearance>Sun</Appearance>
    <Mass>2386920004861.35</Mass>
    <Density>0.000331531562362774</Density>
    <Diameter>111199999.999999</Diameter>
    <PositionX>-1828588522.56687</PositionX>
    <PositionY>-84130649.7176691</PositionY>
    <PositionZ>-54975270.6927182</PositionZ>
    <VelocityX>-0.000602008613617416</VelocityX>
    <VelocityY>0.00161890506912887</VelocityY>
    <VelocityZ>0.000345677627568305</VelocityZ>
    <Settings>gravity=1;particles=asteroids</Settings>

But the belt don´t orbit the star, it orbit a little planet.
Here i did make a screenshot


Andreas

  • Universe Sandbox 1 Beta Team
  • *****
  • Posts: 158
Re: Huge problems with asteroid belts :(
« Reply #4 on: November 09, 2008, 06:24:48 AM »
want nobody help? :/ :'(

Dan Dixon

  • Creator of Universe Sandbox
  • Developer
  • *****
  • Posts: 3244
    • Personal Site
Re: Huge problems with asteroid belts :(
« Reply #5 on: November 09, 2008, 10:47:07 AM »
Andreas,

The reason that the asteroids appear around Uranus is because currently they are hard coded to appear around the 0,0,0 point.

I'll add some additional options for an improved asteroid belt that will solve your problem in the next release. I'll also make it easier to recenter any body to the 0,0,0 point.

And your system is impressive. How did you put it together?

Andreas

  • Universe Sandbox 1 Beta Team
  • *****
  • Posts: 158
Re: Huge problems with asteroid belts :(
« Reply #6 on: November 09, 2008, 11:09:59 AM »
I made the massive Star. Then i made the big planets. Also i placed massive moons around the planets and let explode them. So i gave the pieces names and changed a bit their mass and appeareance.

I deleted the asteroid belt at the moment, because i don´t want one around Uranus ha ha

Btw, is it possible to change the colour of the Star?

I want it more Blue, because Eta Carinae is a very very massive star.

Dan Dixon

  • Creator of Universe Sandbox
  • Developer
  • *****
  • Posts: 3244
    • Personal Site
Re: Huge problems with asteroid belts :(
« Reply #7 on: November 09, 2008, 12:02:35 PM »
You can change the color of planets by adding <Color> to the system file:

Hex value:
<Color>FF0000</Color>

RGB values (0-255):
<Color>255,0,0</Color>

Color Name (only a few color names work):
<Color>red</Color>

All 3 examples make the object pure red.


Although for objects with a large enough mass to be a star the color is overridden. Currently <Color> will only work for planets but not for stars. I'll fix this too. Thanks for pointing it out.


I'll also add Eta Carinae to the star database (I don't think it's there).
« Last Edit: November 09, 2008, 12:15:16 PM by Dan Dixon »