Freeform discussion about anything related to modding Transcendence.
Psycholis
Militia Commander
Posts: 298 Joined: Sun Mar 05, 2006 8:23 pm
Location: Missouri
Wed Dec 12, 2007 4:19 am
Code: Select all
<Ships>
<Table>
<Ship chance="40" count="1" class="&scCPCS;" orders="patrol" patrolDist="100"/>
<Escorts>
<Ship count="1" class="&scSPFS;" orders="escort"/>
<Ship count="2" class="&scIPSS;" orders="escort"/>
<Ship count="2" class="&scOPSS;" orders="escort"/>
</Escorts>
</Ship>
<Ship chance="30" count="1" class="&scFSCS;" orders="patrol" patrolDist="100"/>
<Escorts>
<Ship count="1" class="&scFPFS;" orders="escort"/>
<Ship count="1" class="&scFSFS;" orders="escort"/>
<Ship count="3" class="&scFSSS;" orders="escort"/>
</Escorts>
</Ship>
<Ship chance="30" count="1" class="&scRSCS;" orders="patrol" patrolDist="100"/>
<Escorts>
<Ship count="1" class="&scRSFS;" orders="escort"/>
<Ship count="2" class="&scISSS;" orders="escort"/>
<Ship count="2" class="&scOSSS;" orders="escort"/>
</Escorts>
</Ship>
</Table>
</Ships>
It keeps telling me that on of my closed tags doesn't match an open and I think I narrowed it down to this section but I can't see it. Can anyone else spot what I'm missing?
Psycholis
Militia Commander
Posts: 298 Joined: Sun Mar 05, 2006 8:23 pm
Location: Missouri
Wed Dec 12, 2007 4:25 am
... I think I just saw it. Sorry about the topic creation but I've stared at this thing for like.. 2 days now and JUST saw it..
Betelgeuse
Fleet Officer
Posts: 1920 Joined: Sun Mar 05, 2006 6:31 am
Wed Dec 12, 2007 4:30 am
just a guess but after the the <Escorts> don't you need a <Group>
like this
Code: Select all
<Escorts>
<Group>
<Ship count="1" class="&scSPFS;" orders="escort"/>
<Ship count="2" class="&scIPSS;" orders="escort"/>
<Ship count="2" class="&scOPSS;" orders="escort"/>
</Group>
</Escorts>
due to it being more than one type of ship
edit: ah just as I was posting. What was it?
Crying is not a proper retort!
Ttech
Fleet Admiral
Posts: 2767 Joined: Tue Nov 06, 2007 12:03 am
Location: Traveling in the TARDIS
Contact:
Wed Dec 12, 2007 4:38 am
Betelgeuse wrote: just a guess but after the the <Escorts> don't you need a <Group>
like this
Code: Select all
<Escorts>
<Group>
<Ship count="1" class="&scSPFS;" orders="escort"/>
<Ship count="2" class="&scIPSS;" orders="escort"/>
<Ship count="2" class="&scOPSS;" orders="escort"/>
</Group>
</Escorts>
due to it being more than one type of ship
edit: ah just as I was posting. What was it?
We should start calling you expert.
Psycholis
Militia Commander
Posts: 298 Joined: Sun Mar 05, 2006 8:23 pm
Location: Missouri
Wed Dec 12, 2007 8:45 am
Lol. It had nothing to do with the way the code was set up but with the fact the last bit of the code:
Code: Select all
<Ship chance="40" count="1" class="&scCPCS;" orders="patrol" patrolDist="100"/>
isn't supposed to have the / before the >. It was closing prematurely, hence the mismatched tags error. I had to go back to my reference with the Charon pirates to see the mistake. The reference was that Drakes sometimes have escorts and I wanted the same idea but with my ship designs. Thanks for the input anyways.. This reminds me of the days of programming in C++.. Stupid / and ; and )...
Betelgeuse
Fleet Officer
Posts: 1920 Joined: Sun Mar 05, 2006 6:31 am
Wed Dec 12, 2007 8:50 am
ah that makes seance. You don't want to close it before you pick the escorts.
Crying is not a proper retort!
Ttech
Fleet Admiral
Posts: 2767 Joined: Tue Nov 06, 2007 12:03 am
Location: Traveling in the TARDIS
Contact:
Thu Dec 13, 2007 4:33 am
Betelgeuse wrote: ah that makes seance. You don't want to close it before you pick the escorts.
Betelgeuse: The expert. You've doubled your posts in 1 week!
Betelgeuse
Fleet Officer
Posts: 1920 Joined: Sun Mar 05, 2006 6:31 am
Thu Dec 13, 2007 4:57 am
not really, I admit I have posted tons this week but it would be more around 100 posts this week.
Crying is not a proper retort!
Ttech
Fleet Admiral
Posts: 2767 Joined: Tue Nov 06, 2007 12:03 am
Location: Traveling in the TARDIS
Contact:
Fri Dec 14, 2007 4:52 am
Betelgeuse wrote: not really, I admit I have posted tons this week but it would be more around 100 posts this week.
150.