Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Tag and Template ResRef

Page: 1 of 1
 Seamhainn
09-07-2007, 9:29 AM
#1
Hello!

What are the entries in the Tag and Template ResRef fields in a .utc file for?

Thanks and take care
 stoffe
09-07-2007, 9:53 AM
#2
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.)
Page: 1 of 1