Uh... Close tag missing??

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

There is STILL AN ERROR IN THIS CODE!!! :x

Code: Select all

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

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

<!-- LEVEL XLV -->
	
	<!-- Police Shield -->

	<ItemType UNID="&itPoliceShield;"
			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>
it says there is a missing close tag on line 37??
:oops:
User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

Try maybe to remove the closing bracket on the first item type -<ItemType ... --> />

As it is being closed at the </ItemType> later on.
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

the closing bracket of the <Itemtype> should be ">" and not "/>"

the closing bracket of <Shields> instead is correct "/>"
User avatar
Arisaya
Fleet Admiral
Fleet Admiral
Posts: 5535
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

Also that the very last line of code says "</TranscendenceModule>" and it should be "</TranscendenceExtention>"
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
User avatar
Fatboy
Militia Lieutenant
Militia Lieutenant
Posts: 247
Joined: Fri Feb 22, 2008 1:52 am
Location: California

Thanks
Post Reply