I was just glancing at a post in a thread on a different topic (
this one) and noticed this:
When you make anything in NWN, area, placeable, item, it needs to have
its own unique resref. If you have multiple same resrefs you get
problems, just like you are experiencing.
Now I know that a module can have, for example, a creature and and item with the exact same resref (as I recently noticed when looking over Elidrin's scriptsfor figurines of wondrous power in
RDG9f). So, what are the rules for resref uniqueness? I suspect that the restriction is that no two objects that have the same resource file type can have the same resref, because that might muck up how they are stored in the ERF format (used for ERFs, MODs, SAVs, etc.). So, one could have a creature (file type UTC) with the same resref as an item (UTI) and perhaps a store with the same resref as a merchant (UTM and UTC). Is that really how it works or is there some other known consideration that may cause trouble in a module if not observed?
Modifié par MrZork, 17 novembre 2011 - 02:04 .