lfnetwork.com mark read register faq members calendar

Thread: Modify 2DA, uti, utc files with TSLPatcher
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 10-16-2010, 05:11 PM   #1
redrob41
Veteran
 
redrob41's Avatar
 
Join Date: Jul 2007
Location: Edmonton
Posts: 932
Current Game: just modding TSL
Veteran Modder Helpful! 
Modify 2DA, uti, utc files with TSLPatcher

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/q...daTutorial.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


- double clicking will open a new window:

-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

- 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)


7 - Modifiers pull down menu
8 - Add GFF file (such as .uti & .utc)

- 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


- You'll have to type these values in manually:
10 - GFF Field = PropertiesList\0\Subtype
11 - Value = 2DAMEMORY###

- 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

- 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

Enjoy



- Major character artist for the Revenge of Revan mod. -
- List of Completed Mods - Work in Progress Thread - Skinning Tutorial -
redrob41 is offline   you may: quote & reply,
Old 10-16-2010, 07:45 PM   #2
Qui-Gon Glenn
Necessary Roughneck
 
Qui-Gon Glenn's Avatar
 
Join Date: May 2007
Location: Thessia
Posts: 1,464
Current Game: ME3MP, Arkham Origins
Folder extraordinaire Helpful! Forum Veteran Veteran Modder 
Quote:
Originally Posted by redrob41 View Post
~excellent concise tut~
Wow!

Awesome! And so helpful to non-modders or those of us with average skillz as it is possible to use this tutorial to help fix mod compatibility issues by repackaging setups that are known to be problematic... for personal use only of course.

Thanks redrob41!


Want to play a game of ME3MP?
Qui-Gon_Glenn on the software of which we shall not name.... add me and the enemy shall fall in chunks of crimson salsa
Qui-Gon Glenn is offline   you may: quote & reply,
Old 10-16-2010, 07:49 PM   #3
TriggerGod
Senior Member
 
TriggerGod's Avatar
 
Join Date: Mar 2008
Location: hiding
Posts: 2,415
Helpful! 
Copied to tutorial forum here
TriggerGod is offline   you may: quote & reply,
Old 10-30-2010, 06:59 AM   #4
redrob41
Veteran
 
redrob41's Avatar
 
Join Date: Jul 2007
Location: Edmonton
Posts: 932
Current Game: just modding TSL
Veteran Modder Helpful! 
I may have made a huge mistake with this tutorial for steps 10, 11 & 12.

Using the PropertiesList\0\Subtype is the wrong string of text to use for this example. Substitue the string Appearance_Type instead.

The difference is that Appearance_Type will change the appearance field of a .utc file ( obviously). The other string is used for changing a field in the Properties tab of a .uti file. Specifically, it changes the Subtype field of the first (topmost) line of the properties list. For example, If the topmost line is a disguise item, then the subtype field is the label name of the appearance.2da file, and using this method, you could change the disguise item to a new line of the 2da. If, for another example, your disguise property was actually on the 4th row (from the top), then you would use PropertiesList\3\Subtype (the number will always be one less than the row number).

I'll have to do up some new screenshots to correct this mistake. I'm really sorry to anyone who's tried to use this tutorial.



- Major character artist for the Revenge of Revan mod. -
- List of Completed Mods - Work in Progress Thread - Skinning Tutorial -
redrob41 is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > Modify 2DA, uti, utc files with TSLPatcher

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:47 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.