Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Changing the collor of a saber hilt?

Page: 1 of 1
 Canderis
11-09-2008, 1:51 AM
#1
How do I change the collor of a lightsaber hilt. The hilt was made to replace the red sabers but I want it to replace the cyan collored sabers. (they are dubble) Thease hilts are from this (http://knightsoftheoldrepublic.filefront.com/file/DoubleBladed_Lightsaber_Replacement_Hilts;72788) mod.
 DarthParametric
11-09-2008, 1:57 AM
#2
There are two options. Rename it to the hilt you want to replace and hex edit the MDL to use the green blade texture or extract the mesh and recompile it with the hilt you want to replace.
 Canderis
11-09-2008, 1:59 AM
#3
I tried the first one and got a white x as the blade. And I tried the 2nd one and got a sanity check error
 DarthParametric
11-09-2008, 2:17 AM
#4
You didn't use the right blade name in the first example by the sounds of it. You need to replace "w_lsabrered01" with "w_lsabregren01". There are 4 instances of it in single hilts, 8 in double hilts.
 Canderis
11-09-2008, 2:33 AM
#5
Im still getting the same problem.....
 DarthParametric
11-09-2008, 4:25 AM
#6
What are you using to do the hex editing?
 RedHawke
11-09-2008, 11:28 AM
#7
Don't edit the red saber model... use one of the others... when hex editing the hilt model to change the colors 'w_lsabrered01' is one character shorter than the other hilts who all use one character more (Like: w_lsabreblue01, w_lsabregren01, etc.)... I tend to start with the yellow one since when hex editing adding characters is a bad thing and can grenade the model. ;)
 Canderis
11-09-2008, 11:48 AM
#8
So then how would i change the model?
 DarthParametric
11-09-2008, 11:55 AM
#9
Ah yes good point RH.

In that case you'll have to do a conversion via GMax.
 Canderis
11-09-2008, 11:59 AM
#10
Is mdlops sutable for changing it?
 svцsh
11-09-2008, 1:02 PM
#11
^^Yes use mdlops renamer function for it, then rename the final model to replace the cyan w_dblsbr_008 in k1.
 TriggerGod
11-09-2008, 2:25 PM
#12
An easy way to do this is to do what svцsh said, and to take MdlOps and the saber model, and click Renamer. Now, if you don't know the name of the saber color you want, open up KTool, get to the textures, open up W, and its there as w_lsabre****01. In your case, w_lsabreturq01. Put that into the new name thing, and replace every plane with that name. Now, click done, and, where your original model was, there are 2 new files. Delete modelname.mdl and .mdx, and change the remaining mdl and mdx's to the original modelname. (not ascii file, if you have that as well.)
 Canderis
11-09-2008, 9:18 PM
#13
I am still having the problem. The model looks exactly like what i see in game.http://i313.photobucket.com/albums/ll378/canderis/sabertruble.jpg)
 DarthParametric
11-09-2008, 11:35 PM
#14
It looks like that in GMax when you haven't extracted the blade TGA and placed it in the same directory as the MDL. You get the same thing with the hilt itself if you don't put its texture in there as well.

MDLOps creates a text file that lists the blade and hilt textures when you do a read & write. What did it say?
 Canderis
11-10-2008, 7:29 AM
#15
It said the name of the red one.
Page: 1 of 1