Problem with Mars??

A place to discuss mods in development and concepts for new mods.
Post Reply
Vachtra
Militia Commander
Militia Commander
Posts: 307
Joined: Tue Feb 16, 2010 2:03 am
Location: Texas
Contact:

Coding a system and wanted to use "Mars" as a planet name. I can't figure out what's wrong with the code but when I remove this section it works fine. Any ideas or something I just missed? I rewrote it from scratch already and it works but something in this specific code is messed up.
Specifically it says the second line <Group distance="542"> that the program is expecting an "=". When pulled up in an editor the <Group> isn't closing right.

<!-- Mars -->
<Group distance="542">
<Primary>
<Station type="&stDesertPlanet;"
name="Mars"
showOrbit="true"/>
</Primary>
<Orbitals angle="random">
<!-- Moons 2 -->
<Group distance="10">
<Primary>
<Station type="&stPlanetoid;" name="MarsMoon1"/>
</Primary>
<Siblings angleInc="20-340">
<Station type="&stPlanetoid;" name="MarsMoon2"/>
</Siblings>
</Group>
</Orbitals>
<Orbitals distance="2d3+5" angle="random">
<Station type="&stAresOutpost;/>
</Orbitals>
</Group>



Edit: Figured out I was missing a " after the Ares Outpost station.... Should be <Station type="&stAresOutpost;"/>
"Have you guys ever watched the show?" ~ Guy
Post Reply