PDA

View Full Version : Portrait Picture Problem


marshymarsh
04-09-2007, 07:35 AM
Hey I succesfully tested out putting a .tga file witha name overiding po_pmhc1 and when loading the game the portrait is there and I am happy, however when the the character moves intop the dark or light side, the portrait changes back to the origional portrait (with the change in skin tone). Now I have read around and seen alot of stuff about .2da files, basically, where can I find them and how can I edit them so that the portrait doesn't change?
Any help is accepted kindly.

stoffe
04-09-2007, 08:45 AM
Hey I succesfully tested out putting a .tga file witha name overiding po_pmhc1 and when loading the game the portrait is there and I am happy, however when the the character moves intop the dark or light side, the portrait changes back to the origional portrait (with the change in skin tone). Now I have read around and seen alot of stuff about .2da files, basically, where can I find them and how can I edit them so that the portrait doesn't change?


The 2DA files are found inside the 2da.bif file; you can use KotorTool to extract them. In this case the file your are looking for is portraits.2da, which links together portrait images with character appearances.

The baseresref* columns contain the names of the portrait files, like:

Column Portrait
-------------- ------------------------------------
baseresref = the normal, lightsided portrait
baseresrefe = first, minor dark side transition
baseresrefve = second dark side transition
baseresrefvve = third dark side transition
baseresrefvvve = final, "full" dark side transition.

If you want the character to use the same portrait no matter their force alignment simply set the same file name in all the columns.

Each line in this file represents an appearance you may pick at character creation if the forpc column is set to 1 for that line.

The appearancenumber (scout/sentinel), appearance_s (scoundrel/consular) and appearance_l (soldier/guardian) columns point to a line number in the appearance.2da file which determines what body models are associated with this portrait.

Ferc Kast
04-09-2007, 10:29 AM
Hey I succesfully tested out putting a .tga file witha name overiding po_pmhc1 and when loading the game the portrait is there and I am happy, however when the the character moves intop the dark or light side, the portrait changes back to the origional portrait (with the change in skin tone). Now I have read around and seen alot of stuff about .2da files, basically, where can I find them and how can I edit them so that the portrait doesn't change?

To make a portrait for the first male white PC, you would need the following: po_pmhc1.tga, po_pmhc1d1.tga, po_pmhc1d2.tga, po_pmhc1d3.tga

marshymarsh
04-09-2007, 11:21 AM
thanks for the help!