New Amunitions [Help!]

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
H Iris
Commonwealth Pilot
Commonwealth Pilot
Posts: 86
Joined: Tue Jun 10, 2008 4:29 am
Location: Crawling out of the primordial slime

I've moded the NAMI Missile Launcher and called it a Canis Missile Launcher, and it loads fine added new amunition specifiers to the bottom and it still loads fine,

But
then it goes to load my new amunition item type list ane the error message says
Start logging session
Transcendence 0.98b
Loading extension: Extensions\Canis Amunition List-2013
Unable to parse Canis Amunition List-2013.xml: Line(30): = expected
End logging session
As I dont know what line (30) is and i've never had an error like this before so I can't even reference back over my notes (as I normaly do) and find out how I solved a similar problem. Im stuck. The code is:

<?xml version="1.0" ?>

<!DOCTYPE TranscendenceExtension
[
<!ENTITY unidCanisAmunitionList "0xD7772013">
<!ENTITY unidShortFangMissile "0xD77720A3">
<!ENTITY unidLongFangMissile "0xD77720B3">
]>

<TranscendenceExtension UNID="0xD7772013" version="0.98b">

<ItemType UNID="&unidShortFangMissile;"
name= "31-A Short Fang Missile"
level= "2"
value= "20"
mass= "55"
frequency= "common"
numberAppearing= "2d12"
modifiers= "Consumable; Missile"
showReference= "true"

description= "This is a standard hexagene high-explosive missile; cheap and light. The weapon of choice for high speed Canis Ships"

sortName= "Canis.1"
>

<Image imageID="&rsItems1;" imageX="0" imageY="96" imageWidth="96" imageHeight="96"/>
</ItemType>

<ItemType UNID=""&unidLongFangMissile;"
name= "72-E Long Fang Missile"
level= "2"
value= "25"
mass= "60"
frequency= "common"
numberAppearing= "2d12"
modifiers= "Consumable; Missile"
showReference= "true"

description= "This is a hexagene high-explosive missile; Fast and Homing, their long range capabliities make them popular with Bounty Hunters."

sortName= "Canis.2"
>

<Image imageID="&rsItems1;" imageX="0" imageY="96" imageWidth="96" imageHeight="96"/>
</ItemType>

</TranscendenceExtension>

If one of you Genies (??plural of Genius) could tell me where Im going wrong I would be very greatful.
The Earth is just too small and fragile a basket for the human race to keep all its eggs in.
My Tech Blog - Technocratic Education
My Arts Blog - Another Arts Blog
lachlanproject
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

when posting code please use the code tags so you don't loose the formatting.

Line(30) means the 30th line of the file. Look around there for the error.

I don't see the problem offhand but you don't need unidCanisAmunitionList if you do not intend to use it.


edit: you have two " before &unidLongFangMissile; that is the problem
Crying is not a proper retort!
User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

Yeah, I saw that right away- <ItemType UNID=""&unidLongFangMissile;"

Double "" !!

psst- you can make the &unidEtc. be anything you like. George uses &itm for items which makes sense to me so I use the same thing. I am merely pointing this out because UNID="&unid seems a little redundant. You could make it &foo if you like, or &uberMod even!
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

also the transcendence extension has the same unid as the unidCanisAmunitionList. change one of the 2
User avatar
FAD
Militia Captain
Militia Captain
Posts: 732
Joined: Thu Aug 10, 2006 5:33 am
Location: Area 51

digdug wrote:also the transcendence extension has the same unid as the unidCanisAmunitionList. change one of the 2
That should work fine as is--it's treated as the extention itself as well. I do that a lot and have no problems.
Post Reply