Help with coding

Discuss and distribute tools and methods for modding. Moderator - Grognak
Post Reply
User avatar
Ora_unit_SR388
Posts: 190
Joined: Fri Apr 12, 2013 2:41 pm

Help with coding

Post by Ora_unit_SR388 »

Hello all,

I am making a mod for ftl and I have an error I cannot figure out. I will attach the file for the ship I am making. Please help.

****
http://www.mediafire.com/download.php?6409kkn82z79m42
****
***btw i had to use media fire because the forum takes the .xmls as a possible attack vector.

~Ora_unit_SR388
Last edited by Ora_unit_SR388 on Tue Apr 16, 2013 7:17 pm, edited 2 times in total.
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: Help with coding

Post by kartoFlane »

Quick scan with GMM's validate functon turned up this...

> data/blueprints.xml.append
! <short...>...</title>
! Fix this and try again:
mismatched tag: line 62, column 2
~ ~ ~ ~ ~
</weaponBlueprint>
~ ~ ~ ~ ~

Also, you have a file named animation.xml - it should be animations.xml.append
Superluminal2 - a ship editor for FTL
User avatar
Ora_unit_SR388
Posts: 190
Joined: Fri Apr 12, 2013 2:41 pm

Re: Help with coding

Post by Ora_unit_SR388 »

ok thankyou with the xml.append
my first custom ship with custom weapons, so this is a little new to me
User avatar
Ora_unit_SR388
Posts: 190
Joined: Fri Apr 12, 2013 2:41 pm

Re: Help with coding

Post by Ora_unit_SR388 »

still getting errors.
will update ftl file
Splitstack
Posts: 9
Joined: Sat Jan 12, 2013 4:46 am

Re: Help with coding

Post by Splitstack »

Code: Select all

<short>Railgun</title>
Mismatch there.

Code: Select all

<image>PBEAM_a<image>
Not closed off there </.

Found the last part.
In your custom ship weapon list you have this:

Code: Select all

 <weaponList count="2" missiles="0" />
There should not be a "/" after the 0 missile count.

Correct version:

Code: Select all

  <weaponList count="2" missiles="0" >
User avatar
Ora_unit_SR388
Posts: 190
Joined: Fri Apr 12, 2013 2:41 pm

Re: Help with coding

Post by Ora_unit_SR388 »

Fixed it. Thankyou.
Post Reply