Hello!
What are the entries in the Tag and Template ResRef fields in a .utc file for?
Thanks and take care
What are the entries in the Tag and Template ResRef fields in a .utc file for?
Tag is a label identifier you can use from scripts to get that particular object to manipulate.
I don't think Template ResRef is used for anything in UTC files in KOTOR so you should just set it to the same as the ResRef (i.e. filename of the UTC file) to be sure.
(IIRC in NWN the Template ResRef is used to point to a base template that an area specific template was created from. It was mostly used for the toolset to be able to keep track of things.)
As a general rule of thumb you use ResRefs when you are creating an object from a template, and Tags to access an already existing object in the game world. (You also use ResRefs to refer to static resources such as scripts, DLG files, sounds etc.)