Page 1 of 1

Fun UNID trick (bug or feature?)

Posted: Sun Jul 16, 2006 12:48 am
by Karl
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?)

Posted: Sun Jul 16, 2006 1:25 am
by george moromisato
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.

Posted: Sun Jul 16, 2006 2:19 am
by Karl
Nooo, don't change it! Discovering its existence makes me feel like teh l33t hAX0r. Hehe. :twisted: