Drizzt312 Posted April 22, 2008 Share Posted April 22, 2008 Is it possible to take a lightsaber crystal and make it so the other crystals will have different effects only with that crystal? Like this crystal normally does 3 damage but with this lightsaber color crystal it does 5? Link to comment Share on other sites More sharing options...
JCarter426 Posted April 22, 2008 Share Posted April 22, 2008 You can do this with color crystals; this is exactly what the Heart of the Guardian and Mantle of the Force crystals from K1 (can be done in K2 as well, of course). This is done by editing the lightsaber .uti files. Link to comment Share on other sites More sharing options...
jonathan7 Posted April 22, 2008 Share Posted April 22, 2008 You can do this with color crystals; this is exactly what the Heart of the Guardian and Mantle of the Force crystals from K1 (can be done in K2 as well, of course). This is done by editing the lightsaber .uti files. Doesn't the <fullname> Crystal do this in TSL? Link to comment Share on other sites More sharing options...
JCarter426 Posted April 22, 2008 Share Posted April 22, 2008 No, it adds its own properties; doesn't affect the properties of other crystals. Link to comment Share on other sites More sharing options...
Drizzt312 Posted April 22, 2008 Author Share Posted April 22, 2008 SO i just edit the Lightsaber.uti files? um..how do i do that i can do it in KotorTool right? Link to comment Share on other sites More sharing options...
JCarter426 Posted April 22, 2008 Share Posted April 22, 2008 Yup. Go to BIFs-->Templates-->Blueprint, Item, then find the lightsaber .uti (g_w_lghtsbrxx, g_w_shrtsbrxx, g_w_dblsbrxxx). Making a new color is a bit complex, though, so you might want to just edit one (change the name and color and such). The bronze crystal isn't used at all in K2. But if you want, I could post a tutorial (if I could find it...). Or you could just search through the tutorials in Holowan (that's how I learned ). Link to comment Share on other sites More sharing options...
Drizzt312 Posted April 22, 2008 Author Share Posted April 22, 2008 a tutorial would be nice I am trying a mod that reintroduces the Heart of the Guardian, Mantle of the Force and a new saber crystal alongs those lines! so yes any help would be appericateds I am going to use the bronze crystal for the icon but i am going to make the color of the blade match the K1 version so it would also be good if someone could tell me how to change saber colors i haven't been able to find them in the textures yet... Link to comment Share on other sites More sharing options...
JCarter426 Posted April 22, 2008 Share Posted April 22, 2008 Found it: You'll need three things: 1. KOTOR Tool 2. A hex editor (e.g. Hex Workshop) 3. An image editing program (e.g. Adobe Photoshop) First, you'll need to extract five things with KOTOR Tool. 1. A lightsaber template (BIFs-->Templates-->g_w_lghtsbr_01.uti) 2. A lightsaber icon (ERFs-->Texture Packs-->swpc_tex_gui-->I-->iw_lghtsbr_001.tpc; extract as .tga) 3. A lightsaber model (BIFs-->items-->Aurora Model-->w_lghtsbr_001.mdl) 4. A lightsaber model extension (BIFs-->items-->Aurora Model Extension-->w_lghtsbr_001.mdx) 5. A lightsaber color (ERFs-->Texture Packs-->_swpc_tex_tpa-->W-->w_lsabreblue01.tpc; extract as .tga) Put all those in a folder so you'll remember where it all is. All right, now the next few steps are kind of complicated, but the idea is pretty simple: what you want to do is edit all of those files so that you'll be making a new saber color, instead of replacing one. First, open up the .mdl file with a hex editor and go to the search function (search for a text string). You want to replace "blue" with the name of your new color, but it is very important that they have the same amount of letters (e.g. "black" will NOT work; "blck" will). Also make sure that it isn't taken (e.g. "gold" is used for the yellow lightsaber). Make sure to replace every instance. All right, once you're done, save the file. Next, open up the .uti with KOTOR tool. Here you can edit the file to change the name and description. But the important thing you need to change is the model variation. Right now it should be 1. You need to change that to something else. Pick a number between 1 and 99, high but not too high. 71 is good. Change the model variation to 71. And then save the .uti, and rename it to replace the 01 with 71. Do this with all of your files, except for w_lsabreblue_01. Just replace the 01; for the 001s, change it to 071, etc. Now, repeat that for the double-bladed lightsaber and short lightsaber. Yes, it's a lot of work, but it's worth it. Note that when hex editing the double-bladed saber file, there will be twice as many instances you'll have to edit. Also note that the double-bladed file names will have a 001 instead of a 01. Now it's time to change the actual saber color. Open up w_lsabreblue_01 and edit it to your desire. Do this for the lightsaber icon as well. And be sure to save them as .tga, and rename w_lsabreblue_01 to w_lsabreblck_01 (or if whatever you used in place of blck). All right, now here's the tricky part. Well, it's actually pretty easy, but because I did it wrong the first time, I wound up spending hours trying to figure out what the hell was wrong with my saber. Go back into KOTOR tool and double click the w_lsabreblue_01.tpc file. You'll get a new window. See the text box? Copy everything in it, and paste it into Notepad. Save the file as w_lsabreblck_01 (or if you used something other than "blck"...you get the point ). Now, this is very important. You have to change the file extension from .txt to .txi. If you don't do this, you'll wind up with one freaky looking saber. Trust me, I know. If you're using Vista, you'll have to change your settings so that you'll be able to see file extensions. Anyway, change the .txt to .txi, and ignore the warning you get. Finished? Good. Now it's time to make your new crystal, and to make that lightsaber upgradeable. Extract the following files: 1. A crystal .uti (BIFs--Templates--Blueprint, Item-->g_w_sbrcrstl14) 2. A crystal icon (ERFs-->Texture Packs-->_gui-->I-->iw_sbrcrstl_014.tpc ; extract as .tga) Open up the crystal's .uti and change the model variation to 71. Also change the description while you're at it. Now open up the icon and edit it to your liking. Save it as a .tga and rename both crystal files to replace the 14 with 71. Finally, open up upcrystals.2da (BIFs-->2da-->upcrystals.2da) with KOTOR tool. Create a new line, and edit it to match one of the other lines (e.g. the blue line). Replace all the 01s with 71. And replace "blue" with "black", so you'll know it's yours. Now throw all of those files into your Override folder, and that should do it. If you want to make a new color, repeat everything above, only don't use blck or 71 this time. If you have any problems, let me know. The person in question wanted to make a black lightsaber, but you can just replace "blck" and "71" with whatever you want, so long as it's four letters/two digits long (and isn't used already). Oh, and HOTG/MOTF crystals can be done in K2. Trust me, I know. Link to comment Share on other sites More sharing options...
Drizzt312 Posted April 22, 2008 Author Share Posted April 22, 2008 is there something else i can use other than photoshop something freeish? Link to comment Share on other sites More sharing options...
JCarter426 Posted April 22, 2008 Share Posted April 22, 2008 There's a free program called Gimp that's just as good. Link to comment Share on other sites More sharing options...
jonathan7 Posted April 22, 2008 Share Posted April 22, 2008 http://www.gimp.org/ Link to comment Share on other sites More sharing options...
Drizzt312 Posted April 22, 2008 Author Share Posted April 22, 2008 ok so to make the heart of the guardian crystal/saber i just change everythign to what i want and then just name it hotg? Link to comment Share on other sites More sharing options...
JCarter426 Posted April 22, 2008 Share Posted April 22, 2008 Yup. And replace "01" with a unique number. And don't forget to hex edit the model. Link to comment Share on other sites More sharing options...
Drizzt312 Posted April 22, 2008 Author Share Posted April 22, 2008 so if i change the icon it changes the hilt or is the hilt in a different texture? if so where can i find the texts Link to comment Share on other sites More sharing options...
JCarter426 Posted April 22, 2008 Share Posted April 22, 2008 Hmm? Hilt is a different texture. They're in ERFs-->Texture Packs-->_tpa-->W. I'm not sure how you can use a different texture for a hilt, though. My guess is that you hex edit the model to change the (color)01 to (color)02 and then replace the 01 in the texture and model names with 02, but I could be wrong (and probably am ). Link to comment Share on other sites More sharing options...
Drizzt312 Posted April 22, 2008 Author Share Posted April 22, 2008 ok so i am at the part where i am going to do the 2da editing. and i am confused becuase there is a already a heart of the guardian line in the 2da what do i do?? Link to comment Share on other sites More sharing options...
JCarter426 Posted April 22, 2008 Share Posted April 22, 2008 That line isn't actually used; you can just edit that one if you like (that's what I did). Link to comment Share on other sites More sharing options...
Drizzt312 Posted April 22, 2008 Author Share Posted April 22, 2008 ok i have everything changed now to get it in the game in a container on peragus how would i go about doing that? Link to comment Share on other sites More sharing options...
JCarter426 Posted April 22, 2008 Share Posted April 22, 2008 See: http://www.lucasforums.com/showthread.php?t=134067 There are other ways, though. Link to comment Share on other sites More sharing options...
Drizzt312 Posted April 22, 2008 Author Share Posted April 22, 2008 thanks i think i got it down ive got it in the game and im gunna test it to see if it works! Link to comment Share on other sites More sharing options...
RedHawke Posted April 22, 2008 Share Posted April 22, 2008 You can do this with color crystals; this is exactly what the Heart of the Guardian and Mantle of the Force crystals from K1 (can be done in K2 as well, of course). This is done by editing the lightsaber .uti files. Incorrect, hence why the HotG and MotF was not in TSL, they changed the way the enhancment crystals worked in the lightsaber in TSL so these aren't possible. While you can make sabers with some special basic stats for the color crystal to 'unlock' you can't adjust what the enhancement crystals do when inserted into the saber in TSL. That info (as to the bonuses the crystal adds to the saber or weapon) is stored in the individual uti files of the add-on crystals or enhancements. In K1 that info was stored in the sabers/weapons uti file itself and made the MotF and HotG possible. Link to comment Share on other sites More sharing options...
JCarter426 Posted April 22, 2008 Share Posted April 22, 2008 Really? I've made HOTG and MOTF crystals for K2, and all the properties work. Unless they don't...let me check... EDIT: Wow...you're right. Well, of course you are. I guess a v2 is in order... Link to comment Share on other sites More sharing options...
RedHawke Posted April 22, 2008 Share Posted April 22, 2008 Really? I've made HOTG and MOTF crystals for K2, and all the properties work. Unless they don't...let me check... While you can make the crystals, and even set special properties for the saber itself, the additional lenses, emitter, cell, and crystals you insert will not have any special properties (like in K1) as those are set in the uti files for the add-on items itself, unlike the ones in K1. So in effect they stop being what they were in K1 altogether, and are just a modded saber, the altering of the upgrade system between the two games is what made Obsidian leave these two K1 legacy crystals out of the game and put in normal Teal and Orange sabers... to give people those colors back for TSL. Link to comment Share on other sites More sharing options...
Drizzt312 Posted April 22, 2008 Author Share Posted April 22, 2008 well couldn't you go in to the file and manually assign values like the bondar gem gives it plus 3 fire damage and the kaiibur crystal gives it plus 5 to attack? Link to comment Share on other sites More sharing options...
JCarter426 Posted April 22, 2008 Share Posted April 22, 2008 It would do that to every lightsaber, though, not just the HOTG/MOTF ones. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.