Attached mod can't find VOTG UNIDs unless they are included in the mod or in hexUNID format.

The mod has extends="0x00310000" in the code.

As attached it works fine. On removal any of the 'Standard VOTG UNIDs', 4 item and 2 image, from the mod code, the game gives an 'Invalid Entity:' error on starting Transcendence.

However replacing &itAdvancedAlerionPlate; in the mod code (Line 50) with it's hexUNID equivalent, 0x003100D5, allows the mod to load and work without having the ENTITY UNID at the beginning.

VOTG Invalid entity.JPG
VOTG Invalid entity.JPG
xml
VOTG Eridan testing.xml
megas 14 Nov 2017:

You need to include 0x00310000 as a library too, if you want to use the library's defined types instead of magic numbers. extends just makes the extension visible and available for adventures that use the library.

Add <Include unid="0x00310000"/> between your <TranscendenceExtension> and <ShipClass>. Including libraries is the first thing you must do before defining other types.

relanat 21 Nov 2017:

Thanks. "Include" didn't work but "Library" did.
<Library unid="0x00310000"/>

More info on VOTG mods here: http://forums.kronosaur.com/viewtopic.php?f=5&t=7948

Imporrtant note: You must use <Library unid="0x00310000"/> not <Library unid="&unidAncientRacesVol01;"/> as is shown in this forum topic. They are the same thing but one is in machine-speak.

nms 21 Nov 2017:

You can use the second one, but then you have to declare the entity.

george moromisato 14 Dec 2017:

Yes, <Library...> is how you get access to UNIDs. Resolving.