Page 1 of 1

Help with coding

Posted: Tue Apr 16, 2013 2:50 pm
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

Re: Help with coding

Posted: Tue Apr 16, 2013 2:58 pm
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

Re: Help with coding

Posted: Tue Apr 16, 2013 3:01 pm
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

Re: Help with coding

Posted: Tue Apr 16, 2013 3:54 pm
by Ora_unit_SR388
still getting errors.
will update ftl file

Re: Help with coding

Posted: Fri Apr 19, 2013 5:45 am
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" >

Re: Help with coding

Posted: Mon Apr 29, 2013 1:02 pm
by Ora_unit_SR388
Fixed it. Thankyou.