The error message I've been getting is 'unable to load weapon descriptor.' So, I've either got a blatantly obvious syntax error (other than the one I just found and fixed. ) or am doing something illegal.
Code: Select all
<?xml version="1.0" ?>
<!DOCTYPE TranscendenceExtension
[
<!ENTITY unidExtension "0xD05B0002">
<!ENTITY unidNanoImage "0xD05B1002">
<!ENTITY itNanoLauncher "0xD05B2002">
]>
<TranscendenceExtension UNID="&unidExtension;" version="0.97">
<Image UNID="&unidNanoImage;" bitmap="nano.jpg" bitmask="nanomask.bmp" backColor="0x00000000"/>
<ItemType UNID="&itNanoLauncher;"
name="nano launcher"
level="9"
Value="200000"
mass="4000"
frequency="uncommon"
modifiers="military; majorItem"
description="The nano launcher collects interstellar dust and uses it to manufacture thousands of tiny nanomachines. When these are fired, they form a cloud that seeks and attacks enemy ships."
>
<Image imageID="&rsItems1;" imageX="96" imageY="0" imageWidth="96" imageHeight="96" />
<Weapon
firerate="100" type= "missile"
fragmentCount= "50d2+300"
damage= "kinetic:2d12; nano:2;"
missileSpeed= "30"
lifetime= "20"
powerUse= "1000"
sound= "&snRecoillessCannon;"
>
<Effect>
<Image imageID="&rsMissiles;" imageX="49" imageY="0" imageWidth="16" imageHeight="16" imageFrameCount="2" imageTicksPerFrame="1"/>
</Effect>
<Fragment
type= "missile"
lifetime= "100"
damage= "nano:1d2; WMD:2"
missileSpeed= "5"
manueverability= "2"
>
<Effect>
<Image ImageID="&unidNanoImage;" imageX="0" imageY="0" imageWidth="64" imageHeight="16" imageFrameCount="4" imageTicksPerFrame="1"/>
</Effect>
</Fragment>
</Weapon>
</ItemType>
</TranscendenceExtension>