Help!

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
Fatboy
Militia Lieutenant
Militia Lieutenant
Posts: 247
Joined: Fri Feb 22, 2008 1:52 am
Location: California

I have s mod that comes up with the error "Unable to parse xntntshn.xml: Line(14) invalid entity itPoliceShield" here is the code:

Code: Select all

<?xml version="1.0" ?>
<!DOCTYPE TranscendenceExtension
	[

	<!ENTITY unidExtension				"0xEF270000">
	<!ENTITY itPoliceShield           		    "0xEF270001">
	]>
<TranscendenceExtension UNID="&unidExtension;" version="0.98">

<!-- LEVEL XIII -->
	
	<!-- Police Shield -->

	<ItemType UNID="&itPoiceShield;"
			name=				"Police Shield"
			level=				"45"
			value=				"500000"
			mass=				"25000"
			frequency=			"veryrare"
			modifiers=			"MajorItem"

			description=		"This is a shield used by the police"
			>

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

		<Shields
				hitPoints=		"520"
				absorbAdj=		"100,100,100,100, 100,100,100,100, 100,100,100,100, 100,100,100,100"
				damageAdj=		"  0,  0,  0,  0,  0, 10, 60, 60,  90, 90,125,125, 200,200,275,275"
				regenTime=		"30"
				regenHP=		"20"
				depletionDelay=	"100"
				powerUse=		"100"
				/>

		</ItemType>

</TranscendenceModule>
:evil:
F50
Fleet Officer
Fleet Officer
Posts: 1004
Joined: Sat Mar 11, 2006 5:25 pm

Code: Select all

   <!-- Police Shield -->

   <ItemType UNID="&itPoiceShield;"
spelling error: "itPoiceShield" is not equal to the spelling in "<!ENTITY itPoliceShield"


as a side note: XIII is not equal to level 45, check your roman numerals

XIII = 13

What kind of police?
User avatar
Fatboy
Militia Lieutenant
Militia Lieutenant
Posts: 247
Joined: Fri Feb 22, 2008 1:52 am
Location: California

Oh SPELLING MISTAKE :?: :oops: :oops: :oops: :oops:
Thanks!
User avatar
Fatboy
Militia Lieutenant
Militia Lieutenant
Posts: 247
Joined: Fri Feb 22, 2008 1:52 am
Location: California

Uh.. On line 37 Close tag does not match open.
:evil: :evil: :evil: :evil: :evil:
User avatar
FAD
Militia Captain
Militia Captain
Posts: 732
Joined: Thu Aug 10, 2006 5:33 am
Location: Area 51

Last line, change </TranscendenceModule> to </TranscendenceExtension>

Remember to always use </TranscendenceExtension> when modding.
Post Reply