Fun UNID trick (bug or feature?)

These are old bug reports that have been closed.
Locked
User avatar
Karl
Militia Lieutenant
Militia Lieutenant
Posts: 219
Joined: Fri Jul 14, 2006 11:47 pm

Go into a transcendence xml file, and change a ship's unid to be the same as an item's unid. It's ok, don't be shy. :-) Now watch the game load and run flawlessly.

I don't know why this works. Are the item unids somehow separate from the ship unids? Is the object data structure such that different classes of objects can exist on the same unid without conflicting with each other? Either way, it's pretty cool... and potentially useful. (I haven't tried this with any other object-class combinations yet. Anyone want to?)
george moromisato
Developer
Developer
Posts: 2997
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

Another good discovery! You're right that ships and items are kept in separate tables, so no conflict is apparent.

But I wouldn't try to take advantage of that in extensions--they may not work in future versions.
User avatar
Karl
Militia Lieutenant
Militia Lieutenant
Posts: 219
Joined: Fri Jul 14, 2006 11:47 pm

Nooo, don't change it! Discovering its existence makes me feel like teh l33t hAX0r. Hehe. :twisted:
Locked