Jump to content

Home

Modify 2DA, uti, utc files with TSLPatcher


Recommended Posts

Original tutorial by redrob41, so spam him and his original thread with questions, not me.

 

This is a quick little tutorial on how to modify .uti & .utc files so that they find the correct line in the appearance.2da file. This would be used when you are adding a new, custom character, and want to spawn it as an NPC (using a .utc) or as a disguise item (using a .uti). You can save the animated gif here: http://i463.photobucket.com/albums/qq351/redrob41/Quick2daTutorial.gif, but I have the static shots below.

 

For this example, I am adding a new Yoda like character to Revenge of Revan mod. He is numbered as 41.

 

First, using ChangeEdit for TSLPatcher, open a new or existing changes.ini file.

 

1 - click 2DA Files

2 - appearance.2da

3 - find the character you want to mess with

Quick2daTutorial-1.jpg

 

- double clicking will open a new window:

Quick2daTutorial-2.jpg

-in this window, it shows that the patcher will copy line 52 of the appearance.2da (which is Master Vandar's line), and only two changes to the new line. It will change the lable to be Alien_Yoda_41 and the racetex to be N_Yoda_41 (the new texture that I made in Photoshop).

 

4 - Column = 2DAMEMORY### (For this example I used 999, but usually start with 2DAMEMORY1)

5 - Value = RowIndex

Quick2daTutorial-3.jpg

- the RowIndex is just a number of the row of the character in appearance.2da. When you look at any .utc file with Kotor Tool, it will display the Label name of the character (example Alien_Yoda_41), rather than the row number. If the appearance.2da doesn't have the row number (say you have the wrong appearance.2da in the override directory), then Kotor Tool will display the label as orange, which we don't want.

 

6 - click the Right pointing arrow to add it to the list (then close this window)

Quick2daTutorial-4.jpg

 

7 - Modifiers pull down menu

8 - Add GFF file (such as .uti & .utc)

Quick2daTutorial-5.jpg

- You'll have to type in the name with the extension, and it will show up at:

 

9 - the new GFF file name shows up at the bottom of the list

Quick2daTutorial-6.jpg

 

- You'll have to type these values in manually:

10 - GFF Field = Appearance_Type

11 - Value = 2DAMEMORY###

Quick2daTutorial-7.jpg

- also make sure that the Replace file is checked, and it goes to the correct folder, like Override.

- I don't know if you'll be able to add other things too (like clothes or weapons)

 

12 - click the Up pointing arrow to add it to the list

Quick2daTutorial-8.jpg

- I'm not going to go into it too deeply, but the PropertiesList\0\Subtype is the label of the .utc (if you know how to use a GFF editor to manually change these fields, you'll know what I'm talking about).

- The patcher will now change the .utc file so that it's label will match the value of 2DAMEMORY999, which we set up earlier to be the RowIndex of the new Yoda_41 character.

- after running the patcher, you should be able to open the .utc file with Kotor Tool, and the label will not be orange, and will have the correct name of the character.

 

For more in-depth look at how to use this function, consult the ReadMe, really.pdf that is included in the TSLPatcher tool's download. Stoffe made quite a good instruction manual, but it didn't include enough screenshots. That's the only reason that I'm making this tutorial, for those modders that just look at pictures with out reading the instructions :raise:

 

Enjoy :D

 

Edited for corrections to tutorial

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...