Cannot load device descriptor

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
Darth Saber
Militia Commander
Militia Commander
Posts: 290
Joined: Mon Aug 04, 2008 4:53 pm
Location: Korriban

In working on a project to created a dual ion blaster missile defense turrt that targets both ships and missiles, I received the following message: "cannot load device descriptor." What is this, andwhat can I do to fix the problem? If anyone can help me out on this, or if any of you have created a mod similar to mine, or if there are any suggestions, please tell me about it! :)
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

a "cannot load device descriptor." can be caused by typos, especially in "turrt" devices. :lol:

We don't know what kind of approach you used to do such a device, unless you tell us, I cannot say if some of my mods are similar to yours.

Also, if you post here your code, I think that many, if not me, well be enthusiast to help debug your mod. :D
User avatar
Darth Saber
Militia Commander
Militia Commander
Posts: 290
Joined: Mon Aug 04, 2008 4:53 pm
Location: Korriban

Ok digdug, here is the full code:
--------------------------------------------------------------------------------------
<?xml version="1.0" ?>
<!DOCTYPE TranscendenceExtension
[
<!ENTITY itPDT "0xD1024022">
]>

<TranscendenceExtension UNID="0xD1024022" version="0.98d">

<!-- Pirate Defense Turret -->

<ItemType UNID="&itPDT;"
name= "Aristar Pirate Defense Turret"
level= "5"
value= "2500"
mass= "100"
frequency= "common"
modifiers= "MajorItem; EnergyWeapon"

description= "When first introduced onto the market by Aristar Industries, they were banned by the Commonwealth lobbyists as being too brutal. So they were sold to a more appreciative consumer."
>

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

<AutoDefenseDevice
target= "missiles; ships"
weapon= "&itLightningCannon;"

type= "beam"
configuration= "dual"
directional= "true"
omnidirectional= "true"

damage= "ion:7d6; WMD1"
fireRate= "10"
lifetime= "30"
powerUse= "05"

beamType= "lightning"
primaryColor= "0xff, 0xc7, 0xa0"
secondaryColor= "0xff, 0x95, 0x00"
intensity= "8"
sound= "&snLaserCannon;"
rechargeTime= "3"
/>

</ItemType>

</TranscendenceExtension>
--------------------------------------------------------------------------------------
As stated in the earlier post, when I ran it I received the "can't load device descriptor" error message. My intension was to create a dual, omni-directional ion blaster capable of destroying both missiles and ships. Any help would be gratefully appreciated. :)
schilcote
Militia Captain
Militia Captain
Posts: 726
Joined: Sat Feb 02, 2008 7:22 pm

Hmm... You remind me of me.

I had the same idea a long time ago. It didn't work. <AutoDefenseDevice only shoots at missles, and only takes two parameters, target and weapon. target can only ever be missiles. Unless, of course, something has changed since I was new.
[schilcote] It doesn't have to be good, it just has to not be "wow is that the only thing you could think of" bad
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

Darth Saber wrote: --------------------------------------------------------------------------------------
<!ENTITY itPDT "0xD1024022">
]>

<TranscendenceExtension UNID="0xD1024022" version="0.98d">

<!-- Pirate Defense Turret -->

<ItemType UNID="&itPDT;"
name= "Aristar Pirate Defense Turret"
--------------------------------------------------------------------------------------
Hello Darth.
I snipped some of your mod to show the relevant part.

Most probably the error is because you are using the ENTITY twice.

If you look at the number you have in the UNID of:

Code: Select all

<TranscendenceExtension UNID="0xD1024022" version="0.98d">
you will see that it is the same as the one defined as:

Code: Select all

<!ENTITY itPDT			"0xD1024022">
Yet you use "&itPDT;" as the UNID of your item.

Even though this might not be the error, it is most certainly an error and should be fixed. You cannot have the same ENTITY used for different purposes.
So, either change the one, or change the other.
To make it short, if you put

Code: Select all

<!ENTITY itPDT			"0xD1024023">
it should work.
Dalva
Militia Lieutenant
Militia Lieutenant
Posts: 158
Joined: Sun Nov 23, 2008 2:36 pm
Location: RXDV Labs orbiting Mars

beside that unid problem, i think the other problem is:

Code: Select all

description= "When first introduced onto the market by Aristar Industries, they were banned by the Commonwealth lobbyists as being too brutal. So they were sold to a more appreciative consumer."
> 
there is no right slash (/) at the end. i think it supposed to be like this:

Code: Select all

description= "When first introduced onto the market by Aristar Industries, they were banned by the Commonwealth lobbyists as being too brutal. So they were sold to a more appreciative consumer."
/> 
just asking, do you use usual notepad to edit theese? try to use Notepad++ and set the language to xml. it will be esier to spot comments, faults, etc because the text will be colored :D
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 two more things Darth Saber, please use the "code" button when posting some code. (it's like the quote button)

And change the version to 0.99c.

:D
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

Dalva wrote:there is no right slash (/) at the end.
I this case there should actually not be a (/) at the end since the element <ItemType> must be closed by a matching </ItemType>
User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

Another 'Ah-ha! I can just put "ships" in the autodefense target!' situation? :lol: Did you try "all", or perhaps "enemy", or maybe even "lasers"?
schilcote
Militia Captain
Militia Captain
Posts: 726
Joined: Sat Feb 02, 2008 7:22 pm

It didn't work when I tried it back in V0.97.
[schilcote] It doesn't have to be good, it just has to not be "wow is that the only thing you could think of" bad
User avatar
Cygnus.X1
Militia Lieutenant
Militia Lieutenant
Posts: 245
Joined: Sun Feb 24, 2008 6:21 pm
Location: Elysium Fields... I mean System
Contact:

confirmed about a million ways, if you have

target=

and then anything but "missiles"

you will get that annoying device descriptor error. Game engine limitation.

I have tried:
beam beams particles particle missile area areas ships ship station stations
all resulted in above error.
User avatar
Prophet
Militia Captain
Militia Captain
Posts: 826
Joined: Tue Nov 18, 2008 6:09 pm

I built an ICX and changed the weapon it used to an IM90 and when it shot at a missile, I think the secondary bolts targeted the 2nd/3rd closest targets. I didn't use it for long but it could use some more testing. (I think everyone has tried this at some point... ;))
Coming soon: The Syrtian War adventure mod!
A Turret defense genre mod exploring the worst era in Earth's history.
Can you defend the Earth from the Syrtian invaders?
Stay tuned for updates!
Post Reply