LucasForums

LucasForums (http://www.lucasforums.com/index.php)
-   Modding requests (http://www.lucasforums.com/forumdisplay.php?f=635)
-   -   Custom colour. (http://www.lucasforums.com/showthread.php?t=211751)

bunjeeman 01-12-2013 07:21 AM

Custom colour.
 
I've been doing some work on three new custom colours (for lightsabers), but I seem to have gone wrong somewhere. Can anyone help me?

Fair Strides 2 01-12-2013 12:07 PM

Quote:

Originally Posted by bunjeeman (Post 2826526)
I've been doing some work on three new custom colours, but I seem to have gone wrong somewhere. Can anyone help me?

Custom colours for what?

And what have you done already?

And what is the goal you're aiming for?

bunjeeman 01-13-2013 07:28 AM

Quote:

Originally Posted by Fair Strides 2 (Post 2826533)
Custom colours for what?

And what have you done already?

And what is the goal you're aiming for?

1: Lightsabers. Sorry, wasn't very specific there (edited).

2: Thus far, I'm up to the hex editing part (following the tutorial). I've done all the way on one of them, but there are a few problems.

3: Just three new colours, just something small. I intend to do more, to build my skills up and build confidence in my modding capabilities.

Marius Fett 01-13-2013 08:44 AM

All you need to do in your Hex Editor is replace the colour names with that of your new colour. If you go into the 'Edit' menu in your Hex Editor, you should see some sort of 'Find and Replace' tool.

Use that to change the blade texture names. Make sure your new texture has the same amount of letters as the old one though!

Also, you'll want to change the model number inside the mdl file too, otherwise if you equip the original saber at some point, your custom saber will be turned into it. Basically, the game will look at the models internal names, as opposed to the name you've given the file.

Basically, if the original file is w_lghtsbr_001.mdl, just use the Find and Replace tool to replace all instances of 'w_lghtsbr_001' to 'w_lghtsbr_099' or whatever you want. :)

DarthParametric 01-13-2013 09:51 AM

Remember with hex editing that you must use the same number of characters as whatever it is that you are replacing.

Marius Fett 01-13-2013 03:16 PM

Oh, and if you really can't get the Hex Editing down, then you could always use the Renamer function in MDLOps...

But that's just too easy. ;)

bunjeeman 01-14-2013 09:28 PM

Quote:

Originally Posted by Marius Fett (Post 2826584)
Basically, if the original file is w_lghtsbr_001.mdl, just use the Find and Replace tool to replace all instances of 'w_lghtsbr_001' to 'w_lghtsbr_099' or whatever you want. :)

Oh, okay. I was doing the actual colour name. I'll try this. Thanks, and thanks to everyone else as well.

Marius Fett 01-15-2013 08:46 AM

Quote:

Originally Posted by bunjeeman (Post 2826660)
Oh, okay. I was doing the actual colour name. I'll try this. Thanks, and thanks to everyone else as well.

Well you need to replace the colour too, obviously...

Right, say you're taking the original blue lightsaber and you want the blade to use a custom texture which you've called w_lsabretest01.

In your hex editor, replace all instances of w_lsabreblue01 with w_lsabretest01. Then replace all instances of w_lghtsbr_001 with whatever your new number is.


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

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