Jump to content

Home

Clarification of custom armor tutorial


mjpb3

Recommended Posts

Hi all!

 

Ok, I must be as thick as a brick, because I am just not understanding some of the tutorials posted as stickies...

 

:yelhelp:

 

I have never ever modded before so some of the terms you guys use are confusing to me...

 

But I AM learning...

 

Anyway, I feel like such a dunce because I wanted to add a new in-game head the other day and never did get around to understanding how to do that...

 

Now, I am having trouble understanding how to customize the basic clothing...

 

Ok, let me tell what I want to do and then maybe someone could take pity on me and help me understand how to do what I want to do...

 

First, I have to say I hate the in-game clothing you get first off on the Spire. I've played Kotor for over 2 years now, and I REALLY REALLY hate those clothes. (Yes, we got the game on XBox first in August of 2003 and have been playing it ever since. Needless to say, Kotor is my all time favorite game :))

 

Anyway, thanks to Fred Tetra's wonderful Kotor Tool, I have been looking through and found some clothing I would like my female Revan to wear, at least for the better portion of Taris.

 

Now, what I would like to do is change the basic clothing you get to another set of clothing: N_CommF08.tga

 

I have succeeded in doing this, (renaming the mdl and mdx files and getting my PC to wear N_CommF08.tga in the new game selection screen and in-game)

 

But what I want to do is rename these new basic clothing to something else: 'Basic Tunic' and have the Twi'lek outside the Taris hideout/apartment (Larrim) sell this tunic for 50 credits.

 

Also, I want to add to the properties of this tunic to 'toughen it up a tad' so that I can have my PC female wear it on Taris for a while without dying :dozey:

 

 

And I would like it to be available to all classes, not just my soldier PC, but if I decide to make a scoundrel, I want the exact same tunic to be available for her as well...

 

 

So, you modding gurus... anyone want to help me out?

 

Thanks all ;)

Link to comment
Share on other sites

I do see one problem with this. The classes define different size models, so for instance, if you put a scoundrel (small model) in these clothes she would 'grow' to a medium size model. So basically you would need 3 different models - unless the size change isn't an issue for you.

 

No, that wouldn't be an issue for me, as I most always play as a soldier/guardian, but sometimes I do play as a scoundrel. But no, the size isn't an issue...

 

I have the tga file made just like I want it for all three classes. Now, I just need to know how to add it into the game as a 'placeable' - 'buyable' object.

 

I used the basic clothing as a reference, but however someone can help me get my new tunic into the game, I will be willing to do.

Link to comment
Share on other sites

Ok, step by step here is what I did to implement this.

 

You already extracted the model so make 3 copies of it.

pfbbs.mdl pfbbm.mdl and pfbbl.mdl.

You'll need 3 textures

pfbbs20.tga pfbbm20.tga and pfbbl20.tga (3 copies of the same texture)

 

You can replace 'myclothes_20' with whatever you want to

name it, but keep the number at least 20 (to avoid changing clothes for the entire game)

and it has to be consistent. (wherever you see the number 20 in this would be replaced

with your number - extremely important.) It will still be in the format

somename_xx where xx=your number.

 

Please note that by starting your uti's at 20 if you attempt to equip actual

clothes it will use the default texture for your model ( the original clothes )

which will not wrap to this model. You can avoid this by starting your uti's at 01

but if you change the name to 'tunic' it will change the name of the clothes

for the entire game - as well as give them all the properties you add

(although they will still wear there own clothes - the

appearance.2da file governs this.) Or on the other hand you could drop the 3

textures in the override named pfbbs01.tga pfbbm01.tga and pfbbl.tga, but then

you wouldn't have to purchase the clothes because you would have them by default.

Or you could paint those 3 textures to look like crap so that you want to

purchase the new clothes.

How you choose to deal with this particular problem is up to you.

 

Browse to bifs/templates/blueprint, item/g_a_clothes01.uti (double click it)

 

On tab 1

 

Change the cost to whatever you want (Larrim has a markup so setting this

to 50 will actually cost more than 50.

Change templateresref to myclothes_20

Change tag to myclothes_20

Change texture variation to 20

DO NOT change the base item. (Basic Clothing)

 

On tab 2

 

Double click the asterisk and add whatever properties you want to this.

 

on tab 3

 

this is where you would name your item 'tunic', 'basic tunic' or whatever.

You can also change the description.

 

save the file as myclothes_20.uti

(Leave the item editor open if you're making multiple sets of clothes.)

 

Browse to erfs/texture packs/gui/ia_cloths_001.tpc and extract it.

(Double click it and hit write file)

 

Rename it to ia_cloths_020.tga (This is the clothes icon in the gui)

You can actually use any gui icon (depending on what you want it to look like)

as long as you name it ia_cloths_020.tga

 

Browse to rims/modules/tar_m02aa_s.rim/blueprint,merchant/larrim.utm and extract it.

You may be able to edit his inventory with kt but I had to use the gff editor.

Since I can't do it, I have no instructions on doing this with kt.

(I get an exception whenever I click the inventory button - does anyone else have this problem?)

 

To do this in gff editor:

 

If you want Larrim to have infinite number:

open the item list, highlight item 0 and click edit/copy

highlight the line that says itemlist and click edit/paste

rename your new entry to 32

expand your new entry and

change inventory res to myclothes_20

change repos_posx to 2

change repos_posy to 3

 

save the file

 

if you want single items:

highlight item 1 instead and do the above.

 

if you want Larrim to have 3 of your tunics

you'll have to do this 3 times incrementing repos_posx by 1 each time

(between repos_posx and repos_posy this is read as 32 - the same as your entry number.)

 

ie

open the item list, highlight item 1 and click edit/copy

highlight the line that says itemlist and click edit/paste

rename your new entry to 32

expand your new entry and

change inventory res to myclothes_20

change repos_posx to 2

change repos_posy to 3

 

highlight the line that says itemlist and click edit/paste

rename your new entry to 33

expand your new entry and

change inventory res to myclothes_20

change repos_posx to 3

change repos_posy to 3

 

highlight the line that says itemlist and click edit/paste

rename your new entry to 34

expand your new entry and

change inventory res to myclothes_20

change repos_posx to 4

change repos_posy to 3

 

 

So all together you'll have:

 

pfbbs.mdl

pfbbs.mdx

pfbbs20.tga

pfbbm.mdl

pfbbm.mdx

pfbbm20.tga

pfbbl.mdl

pfbbl.mdx

pfbbl20.tga

myclothes_20.uti

larrim.utm

ia_cloths_020.tga

 

(As a note to cheat and get the item you'd type giveitem myclothes_20)

 

You will have to load a save game from the endar spire or the apartment for this to

work. If you've been out of the apartment at all it will not work. (these things

get saved in your save game. If you make changes to your uti's after they're

in your inventory you'll have to remove the items and re-add them for the changes

to take effect. You can use tk102's save game editor for this as long as

the uti's are in the override folder.)

 

Also, if you want to paint some textures and have several sets of clothes:

(the same clothes in different colors.)

You'll have to make a uti for each file. Increment everything sequentially.

Your next item would be 21. If your going to do this its best to make all

the uti's at one time so they all share the same properties. (Unless you

want them to differ.) Make absolutely certain to change all the numbers to 21

on the first tab of the item editor.

 

pfbbs21.tga

pfbbm21.tga

pfbbl21.tga

myclothes_21.uti

ia_cloths_21.tga

 

For a third set of clothes you would move on to 22, etc.

 

and make sure to add the new item(s) to Larrim's inventory.

Link to comment
Share on other sites

You're very welcome. When can we start seeing your mods on pcgm? :)

 

 

As soon as I get off my lazy butt and write a READ ME file :p

 

Nah, actually I have to take a few screens, then I planned on releasing one this week.

 

Be on the lookout for it, under the same name as here - mjpb3...

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...