Jump to content

Home

need a tutorial for createing items


JedI_XtRmIsT

Recommended Posts

Makeing a new Item is pretty easy. The tools you will need are

(You can find all the tools you need) HERE

Fred Tetra's Kotor Tool and a GFF editor to extract and edit the .uti(item files) and to edit the textures a paint program there are lots of good free ones out there you just have to search.

 

Now on to the item. Im sure you already have an idea of What you want but looking at the uti's it can get a bit daubting trying to find one specific Item so what you need is an item list. Tianhou_Zhong compiled an exelent list at the

Bioware forums

 

Once you know the name of the item you wish to edit, just extract it useing KT. As an example I will use the Stabilizer Gauntlets which is g_i_gauntlet04

 

Useing KT goto Bifs->templates->BLueprint,Item>g_i_gauntlet04.uti

Highlite the file and hit the extract Button and save the file to where ever it is convenient.

 

Ok now I double click g_i_gauntlet04.uti and this is what you will see. GFF or right click and open with gff editor.

 

Now the most important fields are

 

BaseItem[iNT] = 45

___(the value is equal to the value in baseitem.2da which you can find in BIFs->2da.bif->2D array->baseitems.2da ){ if you scroll down to number 45 to the Right it is Labeled Gauntlets scroll further right and you will see all of the base item values. It is not really nessesary to do anything with this 2da I thought it was good to be familar with it though}

 

ModelVariation[bYTE]=4

Now this file refers to the Gauntlets texture (note for other items that you can see on the player, like Masks will will have an actual model and the model will have a texture link to it, which you can change with a hex editor, but Im not going into that right now)

 

PropertiesList

This is the complete list of properties that the given item has

This thread should answer your questions about item properties

 

Tag[CExoString]= G_I_GAUNTLET04

TemplateResRef[CResRef]=g_i_gauntlet04

This will be the same as the file name. so if you change the file name to be a new item you will have to change these to match.

 

The last thing I will mention is how to add a custom name and item Description

 

clydeski describes it well in this thread

 

Ok so that should get you started. and remember the search function is your friend :)

Link to comment
Share on other sites

ok now i need a tutorial for placing player made items into the game ie in the footlockers, lockers, etc. etc. etc.

 

AND

 

i need to know how i make a custom apearence for items and weapons and what program i need for that any and all help is greatly appreciated

Link to comment
Share on other sites

To get the items into the game you can do one of two things. Either (1) use a script to put it into a box or footlocker - not exactly sure how to do this yet, or (2) use the "giveitem" cheat, ie. "giveitem g_w_lghtsbr06" - that would give you malak's lightsaber.

 

As far as custom look, you first need a paint program (ie. photoshop) and secondly you need the original graphic from the game - thats the hard part. if you use kotor_tool you'll probably find them under "ERF's - swpc_tex_tpa.erf" or tpb or tpc. If you find something that you think might be it, extract it to you hard drive somewhere then use this program to change it from a tpc file to a tga file (which can be opened in photoshop) - then the photoshopping is up to you (hope you are artistically inclined - lord knows I'm not)

 

Once you have your new graphic you then need to rename the file to whatever the base item file name is, plus a number at the end just outside the normal item numbers (ie. for my armor that I made I named it PFBH08.tga because class 9 armor file names ranged from PFBH01 - PFBH07) Now that you have that renamed you need to change the TextureVar option in your items uti file to the number on the end of your graphic file name (in my case 8). Now ingame you should have a shiny new graphic.

 

I hope this helps - also check out the sticky posts

"Do you Want to mod SW-KotOR? Then Start here."

and

"List of downloads - Tools and mods"

They are a huge help.

 

Have fun modding :)

Link to comment
Share on other sites

  • 11 months later...

Guys and Gals...

 

I need some help please. I'm finishing up a "unique" item and getting ready to post but my .tga file won't take to change the appearance. I went through T7's walkthrough on creating a unique item but I went wrong somewhere.

 

The file is complete except for why my texture won't load right???

 

Could someone please help me out on this and I'll send you a copy or I'll put it up on my website for download really quick.

 

I've got the .uti file and the .tga file both done already. It's just not pointing...

Link to comment
Share on other sites

Is it a unique item or will the texture replace an existing item's appearance? If you are looking to create a brand new item, then you will need to extract that base item model and hex edit the texture entries to point to your new texture. Either of the lightsaber creation tutorials (T7nowhere's or mine) will be able to give you some idea of how this is accomplished.

 

I hope that helps.

Link to comment
Share on other sites

Originally posted by Achilles

Is it a unique item or will the texture replace an existing item's appearance? If you are looking to create a brand new item, then you will need to extract that base item model and hex edit the texture entries to point to your new texture. Either of the lightsaber creation tutorials (T7nowhere's or mine) will be able to give you some idea of how this is accomplished.

 

I hope that helps.

 

I know this will be a stupid question, BUT...

 

Is the "model" that I need to extract the .uti file itself?

Link to comment
Share on other sites

Originally posted by Arlen Treesong

no its a .mdl

 

Thank ya, Thank ya

 

I just found the models section. I"m hoping at least it's named the a_robe_bla bla bla like the original not something generic. I"m gonna go light a fag and surf through what looks to be a huge list to see if I can find it. I'm determined to have Nomi SunRider's Force Strength Robes ready and released tonight.

 

:)

Link to comment
Share on other sites

Originally posted by Achilles

Prolly need the .mdx file as well. Sorry for not being more specific earlier.

 

Man this hex editing stuff seems really hard. I open it up to a ton of numbers and letters. I'm not havin' much luck finding a thread that explains how to edit or even find what you need to change.

 

I looked for the robe model that I wanted but no luck.

 

I'm looking for the a_robe_# model files. I used the gray jedi robe .uti and .tga files and altered them to Nomi's new ones. All is ready save for this.

 

Any help would be greatly appreciated :)

 

I'll crank out mods then...

:lsduel:

Link to comment
Share on other sites

Originally posted by Darth Melignous

Man this hex editing stuff seems really hard. I open it up to a ton of numbers and letters. I'm not havin' much luck finding a thread that explains how to edit or even find what you need to change.

 

I looked for the robe model that I wanted but no luck.

 

I'm looking for the a_robe_# model files. I used the gray jedi robe .uti and .tga files and altered them to Nomi's new ones. All is ready save for this.

 

Any help would be greatly appreciated :)

 

I'll crank out mods then...

:lsduel:

 

Kotor II > BIFs > models.bif > Aurora Model >

 

n_jedirobef.mdl

n_jedirobem.mdl

 

**- not sure about the following 2:

 

n_jedmast2h.mdl

n_jedmast4h.mdl

 

Be sure to grab the .mdx files (same name) in:

 

Kotor II > BIFs > models.bif > mdx

 

Unfortunately, I'm not sure which model your particluar robe is, but from the looks of the list... these are the 4 that would me most likely them...

Link to comment
Share on other sites

Thanks...

 

Its the n_jedirobef.mdl

 

I got it open now and i looked all through it with Hex Workshop and I could only find one reference to "real words" that looked like a image file:

 

...N_JedF01.tG..

 

Do you think this could be the line I need to say change to:

 

...sunrider.tG..

or

...sunrider.tGa

 

???

Any help appreciated

Link to comment
Share on other sites

Originally posted by Darth Melignous

Thanks...

 

Its the n_jedirobef.mdl

 

I got it open now and i looked all through it with Hex Workshop and I could only find one reference to "real words" that looked like a image file:

 

...N_JedF01.tG..

 

Do you think this could be the line I need to say change to:

 

...sunrider.tG..

or

...sunrider.tGa

 

???

Any help appreciated

Okay. Before we do anything drastic, what exactly are you trying to do? This might be easier than having to Hex anything (just want to be safe) ;)

Link to comment
Share on other sites

ChAiNz,

 

Sorry man, I was workin on my new title header flash file.

 

I've got my Nomi Sunrider .uti and .tga file ready with the custom stats and all for posting

 

BUT

 

when i give it to myself in-game with "giveitem" it only uses the original .tga file that I used which was the Gray Jedi Robe tga and uti.

 

I just need it to use my .tga

 

Thanks man :)

Link to comment
Share on other sites

PS...

 

I'm making a custom item (a robe) that is nomi sunriders.

 

The description is in game ok, the stats that I gave it are working fine. Force Regeneration and all.

 

The only thing that won't work when I put the .UTI and .TGA in my override folder is the image itself.

 

the files are:

 

sunrider.uti

sunrider.tga

 

(I wasn't specific enough last post) my bad.

 

Please check out my new flash title header. you'll get a kick out of it everyone!!!

 

Check it out...

Link to comment
Share on other sites

Originally posted by Darth Melignous

when i give it to myself in-game with "giveitem" it only uses the original .tga file that I used which was the Gray Jedi Robe tga and uti.

 

I just need it to use my .tga

 

Thanks man :)

OK...kewl. This is going to be MUCH easier (though you may kick yourself as I did when I first learned) ;)

 

1) Open your robe's .uti file

 

2) In the "General" tab, look to your lower right. You'll see a box labeled Texture Variation.

 

3) Change the value in the box to a different value (it must be over 30 as the game uses 1-30)

 

4) Now, name your robe's skin .tga:

 

PFBIXX xx= the texture variation you used in the .uti

 

That should work for ya'

 

Let us know your progress :)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...