lfnetwork.com mark read register faq members calendar

Thread: How to Convert a Lightsaber Hilt from KotOR to TSL
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 10-07-2012, 07:37 AM   #1
Marius Fett
Frigged if I know!
 
Marius Fett's Avatar
 
Join Date: May 2007
Location: Wales
Posts: 3,379
How to Convert a Lightsaber Hilt from KotOR to TSL

I posted this in the tutorial forums yesterday, but I thought i'd put a copy here too, so that there's somewhere to discuss it if someone has any questions/problems.

Well hello there, dears!

I've seen a few discussions recently about converting lightsaber hilts between the two games and there seems to be a bit of confusion as to what actually needs to be done.

So, I decided i'd post a little tutorial here just so that the correct method is easily accessible for all those who want to attempt this.

For this example, i'll be using a saber hilt from Oldflash's Final Touch mod to show you.

Right, here we go!

First, you need to get the model for the lightsaber you want to convert. I'd recomment making a new folder somewhere and putting the model and the texture files inside. Then using KotOR Tool, extract any of the lightsaber binary .mdl and .mdx files from the game you want to convert to. So, if you're taking a KotOR hilt to TSL, you extract w_lghtsbr_003.mdl and w_lghtsbr_003.mdx from the TSL game files. On the flip side, if you're converting a TSL hilt to KotOR, extract w_lghtsbr_001.mdl and w_lghtsbr_001.mdx from the KotOR game files.

(Note, you can use any of the lightsaber files from the game, I just chose w_lghtsbr_003 because i'd like the saber to have a green blade in my game. If you choose the wrong model, you can always hex edit the blade colour later on)

Right, so this is what we have so far:



Now, we need to start MDLOps. (MAKE SURE YOU USE MDLOPS 0.5 NOT 0.6!!!)

When it's open, press the button for whichever game you're converting FROM. Now, i'm converting a TSL hilt to KotOR, so I set the mode to KotOR 2. Then, hit select file and navigate to the hilt which you're converting:



Then hit read and write model. Then, if you go to the folder where the hilt is, you should see that in addition to the binary model files, your custom hilt should now have ascii files as well. These files are what we need to be able to actually compile the hilt into a format the games can read:



Now back to MDLOps. You now need to change the mode to the format you want the hilt to be in. Again, i'm converting a hilt from TSL to KotOR, so I select the first game this time. Then, hit replacer. In the window that comes up, set the binary model the the .mdl file you extracted using KotOR Tool and set the ascii model to the one you just made using MDLOps:



Now hit read models and wait for MDLOps to work its magic. This may take a few seconds/minutes depending on how large the poly count on the model is. Once it's done, you will get this window:



Click where it says lshandle07 (there may be a different number there for you) and then hit set replace target.

You will then get another window appear. Click lshandle01 (again the number may be different) and then click select target:



The window will then disappear. Now, all you need to do is change the number at the end of the Base model name to whatever you want (or leave it if you want to replace something) and then hit Do it!

After MDLOps has worked its magic, you'll have a new .mdl and .mdx file in the same folder as the hilt you got from KotOR Tool earler. All you need to do is delete k1-r-bin/k2-r-bin from the end of the file names and they're ready to use!

All you need to do is create a .uti file for your saber (unless you're replacing a saber obviously) and dump the model files, the textures and the icon into your Override folder.

Here's our end result:





Done.

Enjoy!




Visit the new JediKnight.net!
Marius Fett is offline   you may: quote & reply,
Old 10-07-2012, 10:02 AM   #2
RPK
Banned
 
Status: Banned
Join Date: Apr 2012
Posts: 32
It is'nt importing?
RPK is offline   you may: quote & reply,
Old 10-07-2012, 11:03 AM   #3
Marius Fett
Frigged if I know!
 
Marius Fett's Avatar
 
Join Date: May 2007
Location: Wales
Posts: 3,379
Care to elaborate? Which step are you at?




Visit the new JediKnight.net!
Marius Fett is offline   you may: quote & reply,
Old 10-07-2012, 03:55 PM   #4
Christos K
Veteran
 
Christos K's Avatar
 
Join Date: Mar 2007
Posts: 753
I am trying to convert QDJ's Canon Revan Saber for KotOR but for two sabers.
I'd like to use it for a custom Virdian lightsaber (Crixler's Crystal Pack)
and
for the Sith Lightsaber your find in Naga Sadow's tomb.

I am either missing a step or something because the game won't load after I've done this, at first I thought it was because I missed the .txi file but I went back to do it again and made sure to include the necessary files.

EDIT: Nevermind got it working.


"It's the one that says Bad Mother ****er." - Jules Winnfield... Describing his wallet, Pulp Fiction.

Last edited by Christos K; 10-07-2012 at 04:47 PM.
Christos K is offline   you may: quote & reply,
Old 10-08-2012, 02:57 AM   #5
Qui-Don Jorn
Junior Member
 
Qui-Don Jorn's Avatar
 
Join Date: Apr 2010
Location: The Fleet, where are you?
Posts: 436
Current Game: The Old Republic
Helpful! 
fsdfas

Last edited by Qui-Don Jorn; 10-08-2012 at 06:04 AM.
Qui-Don Jorn is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > How to Convert a Lightsaber Hilt from KotOR to TSL

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:19 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.