GrayJedi Posted April 12, 2006 Share Posted April 12, 2006 In the item editor within KOTOR Tool whenever you select an item in the General tab there are two options Template ResRef and Tag. What does each refer to you? and whats the difference between the two? Link to comment Share on other sites More sharing options...
Det. Bart Lasiter Posted April 12, 2006 Share Posted April 12, 2006 I have no idea what the difference between them, but if they're different and you use one instead of the other than you won't achieve the desired effect (i.e if you use a ResRef in a call to "CreateObject()" in a script nothing will appear, however it will still compile). Link to comment Share on other sites More sharing options...
The Source Posted April 12, 2006 Share Posted April 12, 2006 Template ResRef = I believe it references a modle type. Example: Jedi Robes Style-A is given to a specific type of model, which the texture wraps around. Jedi Master Robes-B is given a specific type of model, which the texture wraps around. Otherwords, it references a specific .mdx and .mdl file, which relates to the item, robe, etc... Tag = Is the name of the robe, which can be manipulated to anything. Unlike the Template ResRef, you can manipulate this field at random. Link to comment Share on other sites More sharing options...
stoffe Posted April 12, 2006 Share Posted April 12, 2006 In the item editor within KOTOR Tool whenever you select an item in the General tab there are two options Template ResRef and Tag. What does each refer to you? and whats the difference between the two? Tag is a text string, max 32 characters long, which will be used as an identifier to access items of this particular type that exists in the game world from scripts. You usually want to set this to the same as the ResRef for simplicity. Template Resref should be set to the same as the ResRef (file name minus the .uti extension) when creating UTI files, since the UTI files are the templates in question, from which the items are created. ResRefs are max 16 characters long and may only contain lowercase alphanumerical characters. If I remember correctly this field is used by the game for items placed in the world to track what template they were created from. Mostly used by the Toolset though and not for anything in-game AFAIK. As a rule of thumb for Tags vs. ResRefs: Tags are used to access instances of objects that already exist in the game world. ResRefs are used to create instances of objects into the game world from templates (UT* files), and to access static, non-object resources (such as sounds, DLG files, scripts...). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.