Welcome, Guest

Author Topic: XML Question  (Read 4174 times)

atomic7732

  • Global Moderator
  • *****
  • Posts: 3781
  • caught in the river turning blue
    • Paladin of Storms
XML Question
« on: May 20, 2010, 06:47:48 PM »
Code: [Select]
  <Body>
    <Name>Zagadka</Name>
    <Diameter>2 km</Diameter>
    <Action>L1=Europa</Action>
    <Color>000000</Color>
  </Body>

It doesn't seem to place Zagadka in the right place... or anywhere at all!


Dan Dixon

  • Creator of Universe Sandbox
  • Developer
  • *****
  • Posts: 3243
    • Personal Site
Re: XML Question
« Reply #1 on: May 20, 2010, 07:26:31 PM »
The L1 property needs two bodies, not just one.

Like this:
<Action>L1=Earth, Moon</Action>

atomic7732

  • Global Moderator
  • *****
  • Posts: 3781
  • caught in the river turning blue
    • Paladin of Storms
Re: XML Question
« Reply #2 on: May 20, 2010, 07:29:04 PM »
Oh... So... L1=Jupiter, europa?

Zagadka still doesn't show up on timestep of 7 seconds.

Dan Dixon

  • Creator of Universe Sandbox
  • Developer
  • *****
  • Posts: 3243
    • Personal Site
Re: XML Question
« Reply #3 on: May 20, 2010, 07:34:25 PM »
Oh... So... L1=Jupiter, europa?

Zagadka still doesn't show up on timestep of 7 seconds.

That's because you renamed Jupiter to Lucifer. :)

atomic7732

  • Global Moderator
  • *****
  • Posts: 3781
  • caught in the river turning blue
    • Paladin of Storms
Re: XML Question
« Reply #4 on: May 20, 2010, 07:56:42 PM »
Oh yeah!  ;D

Thanks! It works now!