Doh! Fossaman needs a debug again.

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
Fossaman
Militia Captain
Militia Captain
Posts: 556
Joined: Tue Mar 07, 2006 12:56 am
Location: Traveling to the galactic core

So, I've gone and done it again. Made a mod that I can't make work. Have at, happy modders, and make my ultimate weapon of doom function!

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. :roll: ) 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>
X-ray laser! Pew, pew pew!
> = = = = ۞
Burzmali
Militia Commander
Militia Commander
Posts: 395
Joined: Tue Aug 15, 2006 12:14 am

Are you sure "d2" is legal?

EDIT: Nope, I missed it, "firerate" needs to be "fireRate"
User avatar
Fossaman
Militia Captain
Militia Captain
Posts: 556
Joined: Tue Mar 07, 2006 12:56 am
Location: Traveling to the galactic core

Nope, that's not it. Also, Maneuverability was misspelled, but that wasn't what was causing the problem either.
X-ray laser! Pew, pew pew!
> = = = = ۞
Yugi
Fleet Officer
Fleet Officer
Posts: 1027
Joined: Sun Mar 05, 2006 8:21 am

I think it's meant to be maneuver, not maneuverability. Not 100% sure.
User avatar
Fossaman
Militia Captain
Militia Captain
Posts: 556
Joined: Tue Mar 07, 2006 12:56 am
Location: Traveling to the galactic core

PlayMeNow wins the prize! Removing the colon makes it work. Playtesting time!

Yugi, I checked the name for the attribute against another weapon that had it; it is maneuverability. Maneuver is for ship turning rates.
X-ray laser! Pew, pew pew!
> = = = = ۞
User avatar
Fossaman
Militia Captain
Militia Captain
Posts: 556
Joined: Tue Mar 07, 2006 12:56 am
Location: Traveling to the galactic core

Okay, I've got a preliminary version of this working. I'd like to make some more changes to it, and there's something missing...but it's pretty cool as is. Have fun with it!

Nano Launcher

There's a player ship with that weapon and a reactor for it modded on, as well as a targeting rom so you can have even more fun with it. Just drop the XML and the two image files in your extensions folder.
X-ray laser! Pew, pew pew!
> = = = = ۞
Post Reply