Crafting a New Appearance Tutorial.
This tutorial is designed to help you walkthrough the process of creating a new playable character appearance for KOTOR 2.
*This Tutorial should also work for K1*
Create a new folder on your Harddrive. For the purpose of this tutorial name the folder "PMHT01". Extract the following files into our new folder;
(will extract as a tga which is perfect.)
PART 1: Making our 2da entries.
First open Appearance.2da and copy the following lines to the bottom of appearance.2da and renumber them as listed.
Lines: 136, 137, & 138
Renumber to: 671, 672, & 673
Next open Heads.2da and copy the following line to the bottom and renumber it as listed below.
Renumber to: 192
Now here is where some fun begins. Refer back to your appearance.2da entries you created a few short minutes ago. Also refer to the above pictures linked earlier. We want to change the following fields in appearance.2da.
Label: From; P_MAL_A_SML_01, P_MAL_A_MED_01, & P_MAL_A_LRG_01.
To; P_MAL_T_SML_01, P_MAL_T_MED_01, & P_MAL_T_LRG_01.
Backuphead: From; 45
Modela & Modelb: To; N_RepSold
Texa & Texb: To; N_TSFCmdr
Alrighty the appearance entries are out of the way now to the heads.2da entries. Also refer to above posted links to pictures.
Head & Alttexture: From; PMHA01
Headtexvve, Headtexve, & Headtexe: To; PMHT01D1
Headtexvvve: To; PMHT01D2
Alright and now to the last 2da edit portraits.2da. Open her up and lets take a look inside. Copy the following line and renumber as instructed.
Renumber to: 63
We need to make the following changes to the following fields.
Baseresref: To; po_pmht01
Appearancenumber: To; 672
Appearance_s: To; 671
Appearance_l: To; 673
Baseresrefe, Baseresrefve, & Baseresrefvve: To; po_pmht01d1
Baseresrefvvve: To; po_pmht01d2
Voila we have done all of our 2da edits. Now to part 2.
PART 2: Naming our extracted files.
Ok, remember that folder that we extracted our files into earlier? Alright we are going to rename our mdl, mdx, & tga as follows.
Tga: From; twilek_m05.tga To; PMHT01.tga
Mdl: From; twilek_m.mdl To; PMHT01.mdl
Mdx: From; twilek_m.mdx To; PMHT01.mdx
Copy your tga file and paste it twice into this folder and rename the copies as follows.
PMHT01D1.tga & PMHT01D2.tga
Congrats now all thats left is taking our photo.
PART 3: Taking a Photo.
Alright lets add all 8 files we have created(the 3 tga's, 3 2da's, mdl, & mdx) into our overide folder. I'm assuming you have one & that it is empty for the purposes of this tutorial. Alright with the files in your overide start Kotor 2. Since we chose a male head start a new game as a male pc. At the character selection screen take your pick of the character choice and scroll through the head choices untill you come upon a twilek head with a white square for a photo. Take a screenshot at this point and exit out of the character creation process. Load up your prefered graphics program and find your screenshot. Cut and paste the image to your desires and have the file sized to 128 x 128 then saved as po_pmht01.tga as a 32bit tga file. Save the file 2 more times as po_pmht01d1.tga and po_pmhtd2.tga. Add these files to our folder for our new head and into overide. Start Kotor 2 once again and when you flip through your heads you will find your new head now as a picture of himself.
You might have noticed I didn't cover texture editing here for your new head. Your absolutley right that is completly and utterly up to you as the maker of this mod from here on.
I hope this has been of help to people out there. I look forward to it's return in the master tutorial section above.