Jump to content

Home

Playable Twi'lek


Aunvyrae

Recommended Posts

So I recently got copies of KotoR and KotoR II. I've had KotoR since it came out on Xbox (still have the lightsaber letter opener!), but this is my first time with the PC versions.

 

I love the mods, and I've found several I want to use. One in particular caught my eye, a playable blue Twi'lek female. (That turns red, and gradually acquires black tats as she turns to the Dark Side.)

 

The problem is, the guy that created this, really didn't know what he was doing. The .2da files (appearance, portraits, and heads) all reference files. The only problem is that the files referenced ARE NOT part of the mod.

 

There are .tga files for matching head and portrait. They just aren't even part of the .2da files.

 

So I undertook the responsibility of fixing this, at least for myself. And I've hit several snags.

 

There are two possible conclusions here:

 

A) I screwed something up with the work I did.

B) KotoR randomly generates a pure white body texture when creating a new character.

 

A is easily enough explained through reading.

 

For B, this came about in my testing phase. When I create a new character to test the mod, occasionally the standard underwear appears. But more frequently the model is correct, and the rest is pure white. No texture whatsoever.

 

I did add new body textures for the Twi'lek. It seemed sort of half-arsed to give you a new head, and then have the body be human skin. So I got the underwear models from the .erf file and had it altered to be blue with PSP7.

 

Here are the lines of code from my three .2da files. I will list the files I have included with the mod after them.

 

[Appearance.2da]

Line: 509

Label: twilek_sml_03

NormalHead/BackupHead: 107

ModelA: PFBAS

TexA: TwilekScoundrel

TexAEvil: TwilekScoundrelD

 

Line: 510

Label: twilek_mdm_03

NormalHead/BackupHead: 107

ModelA: PFBAM

TexA: TwilekScout

TexAEvil: TwilekScoutD

 

Line: 511

Label: twilek_lrg_03

NormalHead/BackupHead: 107

ModelA: PFBAL

TexA: twileksoldier

TexAEvil: twileksoldierd

 

Those seem like the primarily important lines in Appearance.2da. The other model/texture lines are left at the default ones for player characters. I only altered TexA to be blue skin, and TexB to incorporate red skin when needed.

 

[heads.2da]

Line: 107

Head: twilek_f10

HeadTexVVVE: twilek_f10d

HeadTexVVE: twilek_f10d3

HeadTexVE: twilek_f10d2

HeadTexE: twilek_f10d1

HeadTexG: twilek_f10

HeadTexVG: ****

 

This part does work. Despite the body textures not appearing correctly, I used cheats to add Dark Side points 5 at a time. First her eyes changed at Evil, then she turned red at Very Evil, obtained tattoos at Very Very Evil, and acquired more tattoos at Very Very Very Evil.

 

[portraits.2da]

Line: 41

BaseResRef: po_pfth1

Sex: 1

AppearanceNumber: 510

Race: 6

Appearance_S: 509

Appearance_L: 511

ForPC: 1

BaseResRefE: po_pfth1d1

BaseResRefVE: po_pfth1d2

BaseResRefVVE: po_pfth1d3

BaseResRefVVVE: po_pfth1d

 

These just match up tot he ones in heads.2da, the d# part shows which goes with which.

 

 

Now for the list of files associated with all this.

 

Obviously we have the .2da's first.

 

appearance.2da

heads.2da

portraits.2da

 

Then the portrait tga's.

 

po_pfth1.tga

po_pfth1d1.tga

po_pfth1d2.tga

po_pfth1d3.tga

po_pfth1d.tga

 

Next the head models.

 

twilek_f10.mdl

twilek_f10.mdx

 

The head textures...

 

twilek_f10.tga

twilek_f10d1.tga

twilek_f10d2.tga

twilek_f10d3.tga

twilek_f10d.tga

 

The last are the custom tga's I edited and added in. Based on the normal and Dark Side underwear for each of the three starting classes.

 

twilekscoundrel01.tga

twilekscoundreld01.tga

twilekscout01.tga

twilekscoutd01.tga

twileksoldier01.tga

twileksoldierd01.tga

 

I'm pretty sure I got the underwear texture from the TPA, 128mb pack. Would that maybe be affecting it in any way? Would I need to create one for 32 and 64 as well?

 

I am using the High option on Texture Pack. So that shouldn't have been what's wrong.

 

Anyways, I really appreciate anyone taking the time to look at this. And I can try to provide whatever other information may be needed.

 

((On the .2da files, the other info is the base info. And the body TGA DID work some of the time on a Soldier.))

Link to comment
Share on other sites

First, I am the modder who made that particular mod. Second, I just checked (after a reinstall of that mod) the 2das and found that the head & portrait tgas were properly referenced in the 2das. (I did notice, however, that I accidentally set the soldier line to copy from a male soldier not a female soldier.) As far as adding underwear textures, as far as i remember tga file names have to be under a certain amount of characters; Try using a minimal amount of characters instead (i.e. TFBAMB01) and see if that fixes that. Incidentally, your 2nd conclusion only happens when the texture referenced in a 2ds isn't found, but the model is.

 

 

I hope that that helps you. :)

Link to comment
Share on other sites

Er...maybe I've got a messed up version???

 

This is what I downloaded, including the part that looks funny...

 

 

[heads.2da]

Line: 107

Head VVVE: FKHA03D

Head VVE: FKHA03D3

Head VE: FKHA03D2

Head E: FKHA03D1

 

The thing is...those textures do not exist within the folder. Not that I can see.

 

And when I use this on a completely empty Override, all it does is lock up the game when I go through the female heads. I hit a certain point, where the Twi'lek head is, I think, and it freezes, then crashes.

 

-----------------------

 

This has to be a problem with KotoR itself.

 

I took a copy of Appearance.2da, and put back in the PFBAS/PFBASD, PFBAM/PFBAMD, and PFBAL/PFBALD for the standard underwear. And it worked fine.

 

So I tried your thing. Doesn't work. And I can't be going over on character limits.

TFBASB/TFBASBD

TFBAMB/TFBAMBD

TFBALB/TFBALBD

 

Those are what I used. And still nothing.

 

I don't understand it at all. It worked fine at first, the one time. I am pretty sure it was twilightsoldier.

 

But now it just won't work at all. The files might as well not exist in the Override as far as the software is concerned.

Link to comment
Share on other sites

Er...maybe I've got a messed up version???

 

This is what I downloaded, including the part that looks funny...

 

 

[heads.2da]

Line: 107

Head VVVE: FKHA03D

Head VVE: FKHA03D3

Head VE: FKHA03D2

Head E: FKHA03D1

 

The thing is...those textures do not exist within the folder. Not that I can see.

 

And when I use this on a completely empty Override, all it does is lock up the game when I go through the female heads. I hit a certain point, where the Twi'lek head is, I think, and it freezes, then crashes.

 

-----------------------

 

This has to be a problem with KotoR itself.

 

I took a copy of Appearance.2da, and put back in the PFBAS/PFBASD, PFBAM/PFBAMD, and PFBAL/PFBALD for the standard underwear. And it worked fine.

 

So I tried your thing. Doesn't work. And I can't be going over on character limits.

TFBASB/TFBASBD

TFBAMB/TFBAMBD

TFBALB/TFBALBD

 

Those are what I used. And still nothing.

 

I don't understand it at all. It worked fine at first, the one time. I am pretty sure it was twilightsoldier.

 

But now it just won't work at all. The files might as well not exist in the Override as far as the software is concerned.

 

The heads.2da row was from another mod of mine. So, that row in heads.2da can be deleted. (I guess I didn't put in a clean heads.2da in the tslpatchdata folder.) :o For the underwear, did you put the 01 at the end of the file names? (In the 2da, what you posted would work; But, when the game looks for it while playing, it's looking for the first texture variation of it.) If not, then that should get that working. :)

Link to comment
Share on other sites

Thanks a lot. That got it working fine.

 

Now I can make a whole range of playable Twi'lek.

I wanted to do Green, Purple, and Yellow variants. As well as a black one and a white one.

 

Would you be okay with me using your tattoo'd head in the Dark Side versions of those? I'm in no way a graphic-kind of person. I am mainly good at recolorations. And the tattoo's are simply perfect for the Dark characters.

 

If you agree, I can leave your standard lines alone in my .2da files and just build on them.

Link to comment
Share on other sites

Thanks a lot. That got it working fine.

 

Now I can make a whole range of playable Twi'lek.

I wanted to do Green, Purple, and Yellow variants. As well as a black one and a white one.

 

Would you be okay with me using your tattoo'd head in the Dark Side versions of those? I'm in no way a graphic-kind of person. I am mainly good at recolorations. And the tattoo's are simply perfect for the Dark characters.

 

If you agree, I can leave your standard lines alone in my .2da files and just build on them.

 

Glad that you got it working. :) I'd be fine with your using the tattoos; If you want, I still have those tattoos in a psd file. If you end up releasing those Twi'lek variants, I would want credit for the original tattoos.

Link to comment
Share on other sites

Yeah, I would put it in the readme.txt that you created the original tattoos, and the blue/red head variant.

 

I'm grabbing some tools for that now. GMax and others. Your tattoos are great for the DS transition. I'd love to get something good for a pure LS transition, to reward the LS people.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...