Jump to content

Home

Lightsaber .uti & Scripting Question!


The Source

Recommended Posts

Lightsaber .uti & Scripting Question!

I have a few sabers, which have custom names, stats, and discriptions. When I go to upgrade the "Color" crystal, the saber reverts to a default name, discription, etc... However, I have no problem upgrading anything else such as: Focus Crystal, Lens, etc...I was wondering what I am missing!!?! What I am trying to do is get the sabers to be able to upgrade to other colors. I have only created the .utis...

Link to comment
Share on other sites

if i recall correctly, the color crystal pretty much IS the saber, think of it like the key for using the hilt. you have to a model for every color. plus you can't use the games standard color crystals, as those are for standard sabers. so basically for every color you want your saber to be able to appear in you need to have a custom color crystal for that color and a model for that color. Did i forget anything USM guys??

Link to comment
Share on other sites

What I did was alter the 'upcrystal.2da' file, and added some lines, so the custom saber could see the colors, but it did some weird junk to it. The workbench had problems using the in game color crystals when I altered that file.

 

However, could I just leave the .uti as is, and just put a small statement such as, "This saber's color crystal cannot be upgraded, but the attatchments can be."? Do you think this will create a problem?

 

I tried to dabble with the 'Baseitems.2da'... What a mess that turned out..

Link to comment
Share on other sites

Mac,

 

Without re-writing a tutorial...

 

Consider the Crystal .uti the key to unlock a particular saber .uti...

 

The files required to have 1 upgradeable color crystal interchangeable saber are thus...

 

upcrystals.2da (With your new saber line added)

colorcrystal.uti (Crystal Item File)

colorcrystal.tga * (Crystal Invantory Icon)

saber.uti (Saber Item File)

saber.tga * (Hilt Texture File)

saber.mdl *

saber.mdx * (Saber Model Files)

saberblade.tga * (Saber Blade Texture)

 

* Only necissary if you are using a custom skin, hilt, or blade texture.

 

These are the required files for one saber, you would need multiples of these files to have additional colors. Example for five colors, using your same saber; (Though you would obviously need different filenames.)

 

upcrystals.2da (With your 5 new saber lines added)

 

colorcrystalblue.uti (Crystal Item File)

colorcrystalred.uti (Crystal Item File)

colorcrystalgren.uti (Crystal Item File)

colorcrystalyelo.uti (Crystal Item File)

colorcrystalpurp.uti (Crystal Item File)

 

colorcrystalblue.tga * (Crystal Invantory Icon)

colorcrystalred.tga * (Crystal Invantory Icon)

colorcrystalgren.tga * (Crystal Invantory Icon)

colorcrystalyelo.tga * (Crystal Invantory Icon)

colorcrystalpurp.tga * (Crystal Invantory Icon)

 

saberblue.uti (Saber Item File)

saberred.uti (Saber Item File)

sabergren.uti (Saber Item File)

saberyelo.uti (Saber Item File)

saberpurp.uti (Saber Item File)

 

saber.tga * (Hilt Texture File, only one neded because all your hilts are identical)

 

saber01.mdl *

saber01.mdx * (Saber Model Files, Blue)

saber02.mdl *

saber02.mdx * (Saber Model Files, Red)

saber03.mdl *

saber03.mdx * (Saber Model Files, Green)

saber04.mdl *

saber04.mdx * (Saber Model Files, Yellow)

saber05.mdl *

saber05.mdx * (Saber Model Files, Purple)

 

 

saberbladeblue.tga * (Saber Blade Texture)

saberbladerred.tga * (Saber Blade Texture)

saberbladegren.tga * (Saber Blade Texture)

saberbladeyelo.tga * (Saber Blade Texture)

saberbladepurp.tga * (Saber Blade Texture)

 

* Only necissary if you are using a custom skin, hilt, or blade texture.

 

Of course your individual model files need to be hex edited or MDLOps-ed to their correct blade colors.

 

All this would only get you one type of saber in 5 colors... the files need to be similarly multiplied again to add in Short and Double sabers of the same colors.

 

I hope this helps. :D

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...