
Cannot load device descriptor
- Darth Saber
- 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! 

- digdug
- 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. 
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.

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.

- Darth Saber
- 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.
--------------------------------------------------------------------------------------
<?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.

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.
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
- alterecco
- Fleet Officer
- Posts: 1658
- Joined: Wed Jan 14, 2009 3:08 am
- Location: Previously enslaved by the Iocrym
Hello Darth.Darth Saber wrote: --------------------------------------------------------------------------------------
<!ENTITY itPDT "0xD1024022">
]>
<TranscendenceExtension UNID="0xD1024022" version="0.98d">
<!-- Pirate Defense Turret -->
<ItemType UNID="&itPDT;"
name= "Aristar Pirate Defense Turret"
--------------------------------------------------------------------------------------
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">
Code: Select all
<!ENTITY itPDT "0xD1024022">
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">
-
- 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:
there is no right slash (/) at the end. i think it supposed to be like this:
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 
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."
>
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."
/>

- Cygnus.X1
- 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.
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.
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!
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!