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.

A-Z of Modeling a new Lightsaber

Page: 5 of 5
 DarthParametric
10-19-2008, 6:56 AM
#201
Ah. Thanks svösh. It's still not quite right, but I see I'm on the right track.

http://i374.photobucket.com/albums/oo185/DarthParametric/th_UV-Errors-2.jpg) (http://i374.photobucket.com/albums/oo185/DarthParametric/UV-Errors-2.jpg)

EDIT: Hrmm...had some crashes with the initial game testing but possibly I accidentally used a K1 hilt - oops. Anyway, played around with it some more but even when detaching more polys the UV map is still screwed up. Doesn't seem to really affect it noticeably in-game though, probably because of how low res it is. Here are some in-game screen shots. This should make Ferc Kast happy (seeing as I modelled it for him).

http://i374.photobucket.com/albums/oo185/DarthParametric/th_Legion-Saber-1.jpg) (http://i374.photobucket.com/albums/oo185/DarthParametric/Legion-Saber-1.jpg)
 svцsh
10-19-2008, 10:34 AM
#202
No problem DarthParametric. Just split up your pre game version so you don't have any stitching on your UV at all. Not on your decompiled ascii, we just re import the new ascii to check for stitching if something looks off in game. If there is I jsut take note of what's stitching then open my pre game hilt scene and detach that part of the model then export > compile > test ;)

Also you could collapse your stack to " bake your uv map on " just select your modifier stack right click > chose collapse to.. editable mesh. Then any more modeling you do will already have the old mapping layed out.

BTW that armour in your pic above is gimmped , the dev's made it so your bottom hand never reaches your hilt on any sex more quality control from OE :P

svösh
 DarthParametric
10-19-2008, 2:20 PM
#203
Just split up your pre game version so you don't have any stitching on your UV at all.That's what I did. I tried in again in an even more extreme manner with another hilt - just about detached every damn row of polys. Even then there's still some screwiness going on in the UV map. And between groups of polys that I know were detached from one another.

more quality control from OE :PWhile we all enjoy putting the boot into Obsidian, in this instance I'm not sure how much blame can fairly be apportioned to them. I was just testing a hilt in K1 and you get the same dodgy hand helpers with the Jedi robes (and it's even worse when nekkid). Seems like it's a legacy of Bioware's sloppy work moreso than something Obsidian did completely on their own.
 exile025
06-13-2009, 9:41 AM
#204
Firstly i want to say thanks for this tutorial. But i have a big problem , when i try to download the NWmax plugin i get a message from firefox this site can't be found ? Please i need help finding this program. Please reply as soon as possible.
 DarthParametric
06-13-2009, 9:52 AM
#205
Your first port of call should be a forum search and then a Google search. Both would have turned up the following:

NWMax for GMax v0.7 - http://homepages.paradise.net.nz/twl-jame/nwmax/)

NWMax for Max/GMax v0.8 - http://nwvault.ign.com/View.php?view=Other.Detail&id=626)
 thane51
08-08-2009, 6:06 PM
#206
hello,
I am a fan of star wars and especially lightsaber. I find the lightsaber from kotor not really beautiful and I want create a new lightsaber. I finished the model but I don't know how I can do the second part. Some one can help me ? (I am French but I can "read" English and I am a "noob" in modding)

thanks for your answer and sorry for my English.
 TriggerGod
08-08-2009, 6:29 PM
#207
hello,
I am a fan of star wars and especially lightsaber. I findthe lightsaber from kotor not really beautiful and I want create a new lightsaber. I finished the model but I don't know how I can do the second part. Some one can help me ? (I am French but I can "read" English and I am a "noob" in modding)

thanks for your answer and sorry for my English.

Which part specifically are you having troubles with?
 thane51
08-09-2009, 6:06 AM
#208
this part "Part 2: UVWmapping". How I can do that ? "Now apply the Unwrap uvw and click it once so that its highlighted blue, this will allow you select and isolate the polys"
 TriggerGod
08-09-2009, 1:29 PM
#209
this part "Part 2: UVWmapping". How I can do that ? "Now apply the Unwrap uvw and click it once so that its highlighted blue, this will allow you select and isolate the polys"

Oh, ok, thats more helpful. Heres what you do:

Apply the Unwrap UVW modifier (its in the same area as the UVW Map modifier)

There should be a plus button next to the modifier after you apply it. Click it, and then click on the option that appeared beneath it

Select the polys you want for each part.
 thane51
08-10-2009, 7:54 AM
#210
ok thanks. If I need more help I call you ;)
 Dak Drexl
02-05-2010, 2:46 PM
#211
First off, this is a great tutorial so far. Im having a little problem though. I've made about half the model, but I deleted the top poly of the N-Gon by accident so I can't really build up anymore. Also I can't undo it, so how can I get that top poly back? Thanks!
 TriggerGod
02-05-2010, 6:02 PM
#212
First off, this is a great tutorial so far. Im having a little problem though. I've made about half the model, but I deleted the top poly of the N-Gon by accident so I can't really build up anymore. Also I can't undo it, so how can I get that top poly back? Thanks!

I'm not sure if GMax has this feature, but there might be a button somewhere in the side bar called 'create', and you can remake the top poly by clicking all the top vertexes.

Of course, I don't really use that button much, so I might not have the name right.
 Dak Drexl
02-05-2010, 9:52 PM
#213
I'm not sure if GMax has this feature, but there might be a button somewhere in the side bar called 'create', and you can remake the top poly by clicking all the top vertexes.

Of course, I don't really use that button much, so I might not have the name right.

Thanks man, I actually figured it out but yeah that's how it's done. I have another question though. If this is unclear i understand but here goes:

Ok, so I have a new extrude and say I want to make all the side polys go outwards, but I want them to all stay together. So, I select them all and choose extrude: 1cm. They ALL go to the left instead of all going straight outwards. How can I make them each go straight outwards while still retaining the same 8-sided shape?

EDIT: I figured it out once again. Sorry for needlessly bumping this thread.
 Qui-Don Jorn
08-25-2010, 3:22 AM
#214
Hey hey.
I must first apologize for once again bumping this thread up, but as I just started on modeling sabers...

Of the many problems im having, this one first.
Ok, I can export my new saber model all fine, but what is happening is even with the .txi file, the blade is just two planes, so if you rotate the camera in-game it will appear flat (or not at all). so I have a flat 2d blade, that is also pretty transparent. so i'm missing 2 planes? from all the reading ive done i thought that was normal..
so,how do i fix that? i made the w_lsabreblue01.txi file and have the blue .tga file too.
In Gmax im linking my Ngon to the default hilts dummy correctly i think. then exporting..(my sanitycheck says verts must be welded, but one thing at a time.)
then also the blade never deactivates.
using gmax 0.8? and mdlops 0.5..uuum.
well any suggestions would be *awesome*
thanks

Ok i found the solution to the weld vertices prob...easy enough!
 DarthParametric
08-25-2010, 11:25 AM
#215
If you are missing blade planes it could be you are not linking them all up before export. Double check that. You might want to try NWMax v0.7. There's a link to it in one of my posts earlier in the thread. And stick with MDLOps v0.5 - v0.6 doesn't work properly with sabers.
 Qui-Don Jorn
08-26-2010, 12:44 AM
#216
If you are missing blade planes it could be you are not linking them all up before export. Double check that. You might want to try NWMax v0.7. There's a link to it in one of my posts earlier in the thread. And stick with MDLOps v0.5 - v0.6 doesn't work properly with sabers.

Right. So am I correct in that im linking my model to just the dummy though?
like if it were a blue saber its Dummy01..etc, etc.
so then in Gmax, when im relinking if i hold down ctrl and select all the planes it should link them all? i dont remember that working but ill try it.

thanks for those suggestions.

Id like to ask about orange sabers too...they say not to worry about the planes, but then you dont have a blade..and using another saber hilt just gets you a different color. ive already pulled all my hair out, so..
 DarthParametric
08-26-2010, 9:15 AM
#217
I always found the best way to link was by using the Select By Name tool rather than doing it in the viewport. Just make sure everything is linked exactly the same as the original hilt was.

As far as orange sabers go, I assume you are referring to the Heart of the Guardian hilt? It and the MOTF hilt don't show up any actual blade planes in GMax, but they do have dummies which you still need to link as usual.
 Qui-Don Jorn
08-28-2010, 2:58 AM
#218
I always found the best way to link was by using the Select By Name tool rather than doing it in the viewport. Just make sure everything is linked exactly the same as the original hilt was.

As far as orange sabers go, I assume you are referring to the Heart of the Guardian hilt? It and the MOTF hilt don't show up any actual blade planes in GMax, but they do have dummies which you still need to link as usual.


Ok,...Grrrrrr:mad:
I give up.
How do I link them all before exporting? I must be missing something major.
yes,..i use the 'select by name' from the edit dropdown too...
what i tried to do was..
click on select, (arrow button) select the 4 planes and my ngon.
then click on the link button and select the dummy. then export after clicking 'parent' twice in the nwmax toolbar (brings up aurora trimesh)
click on export geom only..
i take it that when i go to use replacer in mdlops, i should see all 4 planes,..yes?


Thanks for the help Darth P.
going to try again.
-KDJ
 DarthParametric
08-28-2010, 7:10 AM
#219
The blade planes are linked to the hilt, the hilt is linked to the dummy, the dummy is linked to the AuroraBase. You should only ever need to touch the hilt and the blade planes though - there is no reason to ever unlink/relink the dummy. The NGon is linked direct to the AuroraBase. Again, there should be no reason to ever touch it. Just be careful in GMax because by default it doesn't show you a proper hierarchical representation. Make sure you tick the Display Subtree checkbox at the bottom of the Select by Name window to do this.

My procedure was always as follows. Prep the hilt model as appropriate. Get it mapped, detach all the faces, etc. Save that as one file. Load up the appropriate ASCII game saber. Merge the custom hilt file. Scale and position the new hilt as appropriate. Run a Reset XForm on it. Position the pivot point. Unlink the original hilt from the AuroraBase. Unlink the blade planes from the original hilt and relink them to the new hilt. Link the new hilt to the dummy. Delete the old hilt or leave it - objects not linked to the AuroraBase don't get exported anyway. Select the AuroraBase and change to the Modify tab on the right. Select an output directory and hit Export Geom Only.
 Qui-Don Jorn
08-30-2010, 2:48 AM
#220
The blade planes are linked to the hilt, the hilt is linked to the dummy, the dummy is linked to the AuroraBase. You should only ever need to touch the hilt and the blade planes though - there is no reason to ever unlink/relink the dummy. The NGon is linked direct to the AuroraBase. Again, there should be no reason to ever touch it. Just be careful in GMax because by default it doesn't show you a proper hierarchical representation. Make sure you tick the Display Subtree checkbox at the bottom of the Select by Name window to do this.

My procedure was always as follows. Prep the hilt model as appropriate. Get it mapped, detach all the faces, etc. Save that as one file. Load up the appropriate ASCII game saber. Merge the custom hilt file. Scale and position the new hilt as appropriate. Run a Reset XForm on it. Position the pivot point. Unlink the original hilt from the AuroraBase. Unlink the blade planes from the original hilt and relink them to the new hilt. Link the new hilt to the dummy. Delete the old hilt or leave it - objects not linked to the AuroraBase don't get exported anyway. Select the AuroraBase and change to the Modify tab on the right. Select an output directory and hit Export Geom Only.


Hmm ok. Your saying "merge" which I know is an option..so do you mean actually use the option to "merge", or are you just talking about moving the custom hilt into the game saber?
Also, I think theres a step i miss with the pivot point, you said after resetting XForm, you position the pivot point. What are you doing there? i think your talking about clicking on hierarchy, and affect pivot only? and that way, you'd be doing it backwards from T7's tut...no?

im do it backwards from you in that i load my hilt up, then import the game saber with NWMax, then use the x, y cords at the bottom, after i line the top my hilt up with the top of the game hilt, but not z, cause it will take those coordinates when you reset xform. then do the hierarchy, affect pivot only, etc, then click the reset xform button..
Wow, yeah, unlinking the game hilt was always the first thing I do. whoops.


Yeah, im doing it all wrong. i just dont know what the **** im doing.
going to try it your way..

oh, one more thing, do i need to check the "compile model" box below the export geom buttons?

thanks again,
-kdj
 DarthParametric
08-30-2010, 3:38 AM
#221
Well there's two things there. The first is I don't model in GMax, so my models always had to be imported and set up for use first, hence why I always had them as a separate file. The second is I haven't touched a KOTOR mod in a long time, so I'm going on my somewhat hazy memory. Don't take what I've said as the only way to do things, just as a rough overview of the procedure I have developed for myself.

You could indeed just load the appropriate saber MDL into your existing scene. Doesn't really make any difference which way you do it, as long as you have both your new hilt and the vanilla MDL together.

As far as the pivot stuff goes, I can't recall too clearly on that, so I'd definitely be leaning towards following whatever the tutorial says. I do know that it was a source of trouble for me in the past with certain hilts. From what I understand, it's probably an issue with GMax.
 Qui-Don Jorn
08-31-2010, 9:01 AM
#222
Well,..i dunno.
I tried again a dozen more times different ways, still no dice. i would hate to think that 3 months of work is all down the drain because the blades wont work properly.

Would anyone know what causes this? well, cant really tell from pic, but that blade is flat and 2d.
http://i1221.photobucket.com/albums/dd468/willk1972/flatblades-1.jpg)

and any object behind it makes it disappear.
like this..it looks like its behind her...
http://i1221.photobucket.com/albums/dd468/willk1972/K2_00008.jpg)

if anyone could help id be grateful.
 oldflash
08-31-2010, 9:23 AM
#223
I suspect a missing or wrong .txi file for blade texture
 Qui-Don Jorn
08-31-2010, 9:45 AM
#224
I suspect a missing or wrong .txi file for blade texture

Hey Oldflash!

ok..i thought they were pretty much all "blending additive decal 1"
I suppose this isnt always true? im not editing the colors at all, just leaving them all normal..so ive been double clicking on w_lsabre<color>01 in kotortool under "swtex_tpa", then copying the text in the little side window in the bottom left corner, then pasting that to notepad and save it as a .txi file. is this incorrect?
 DarthParametric
08-31-2010, 10:00 AM
#225
You're using custom blade textures? The blade TXI usually has the info on two separate lines:

blending additive
decal 1

Not sure if that is significant or not, but I suspect it is.
 Qui-Don Jorn
08-31-2010, 10:07 AM
#226
You're using custom blade textures? The blade TXI usually has the info on two separate lines:

blending additive
decal 1

Not sure if that is significant or not, but I suspect it is.

No, im *not* using custom blade textures..i was using Oldflashes hilt replacement mod but i took it out. so now its all me.
so yes i have it as..
blending additive
decal 1

which is saved (in the case of Visas) w_lsabreyelo01.txi
oh wait...if im not going to use custom blade textures, why would i even need this file? it should just be the default games blade. right? its a game resource isnt it?
 DarthParametric
08-31-2010, 10:35 AM
#227
Yes, that's why I asked if you were using custom textures. The default blade colours don't need a TXI.

Are you linking all 4 blade planes to the hilt? You mentioned something about only 2 in an earlier post. Remember that two of them will appear as just helper/dummy objects.
 Qui-Don Jorn
08-31-2010, 10:41 AM
#228
Yes, that's why I asked if you were using custom textures. The default blade colours don't need a TXI.

Are you linking all 4 blade planes to the hilt? You mentioned something about only 2 in an earlier post. Remember that two of them will appear as just helper/dummy objects.

Yes, I am.
then linking the hilt to the aurora base....even though i do this, 2 of them appear to be missing in game. in mdlops, while im replacing, the first and fourth are there as dummies, and 2nd and 3rd are there as trimesh..

just thought of something,..
If im building my hilt in gmax with a couple of ngons, then attaching them all together, would that affect things? Like, sometimes I make a hilt with a couple of seperate ngons, and say a cone. then when im all done, use "attach list" select all of them and attach. so they all become one object.
oh yeah you dont use gmax..nevermind. Anyone?
 DarthParametric
08-31-2010, 11:04 AM
#229
You don't link them to the AuroraBase, you link them to the hilt. Your hierarchy should look like this:

http://i374.photobucket.com/albums/oo185/DarthParametric/Saber_Setup.jpg)
 Qui-Don Jorn
08-31-2010, 11:10 AM
#230
You don't link them to the AuroraBase, you link them to the hilt. Your hierarchy should look like this:

http://i374.photobucket.com/albums/oo185/DarthParametric/Saber_Setup.jpg)

Oh oops sorry, thats what i meant..*not* the aurora base, i meant the dummy. thats how im doing it exactly. linking my hilt to the dummy, after ive linked all my planes to my hilt.
im getting tired, been up all night..dont ask.

would NOT mapping and unwrapping have anything to do with this?
because i should say that i havent done a proper map/texture yet. im just trying to concentrate on getting the saber and blades working in game first, then i was going to go back and do the map and texture. just been assigning chrome1.ga to it and leaving it as is...i dunno.
 Quanon
09-01-2010, 7:44 AM
#231
You don't use the replacer function of MDLops?
Cause whenever I make a hilt I never have to touch the blades.
And only the hilt it self gets replaced with my own model.
 DarthParametric
09-01-2010, 2:02 PM
#232
Ah yes, it has been so long since I've played with that stuff I'd forgotten about that. I would say that would be the problem. Just replace the hilt. The only time to replace the blades is when you physically alter the blade planes, which in my limited experience with such things never went smoothly.
 Qui-Don Jorn
09-02-2010, 10:24 AM
#233
Huh? but you still have to link the blade planes to your hilt right?

I had thought that it was because I wasnt building my hilt properly. I was creating 3 or 4 ngons and stacking them on top of other until i got my shape, then attaching them all together so they all become one. so I remade a hilt that was just all 1 Ngon, but after all that...that wasnt it either..still had a flat blade in the game.

so ok, all i have to do is the mdlops replacer and not worry about doing all that in gmax??
unlinking, relinking, resetxform, etc etc?
im so confused.

edit: nevermind i have to do that in gmax cause otherwise i wont have a acsii mdl to replace the game hilt
i think i get it now...good thing i didnt delete my entire mod yet...cause i almost did.
 DarthParametric
09-02-2010, 11:19 AM
#234
No, no, you still have to link them all as previously discussed. It's just when processing the model in MDLOps you only need to replace the hilt.
 Quanon
09-02-2010, 3:17 PM
#235
so ok, all i have to do is the mdlops replacer and not worry about doing all that in gmax??
unlinking, relinking, resetxform, etc etc?
im so confused.


Ok; I'll try to summarize in a few steps how I do things:

1) Make the model: out of 1 Ngon or more doesn't matter. Just make'em ONE object; using ATTACH.

2) UVWmap your model, or just apply a simple UVWmap set to cylinder: no super important at the moment.

3) Import a standard game-hilt.

4) Select the game-hilt: hit the unlink button.

5) Position your hilt as the game-hilt. When it's in place=> Go to Pivotpoints. Then align YOUR hilt to the game-hilt. The pivotpoint says where your character grabs the hilt. Well it make's sure the hilt is in the right place.

6) Deactivate the Pivotpoint thing: ResetXform your hilt.

7) Now link your hilt to the dummy.

8) Go to the aurorabase and export.

9) Start up MDlops 0.5

10) Click on Replacer button, somewhere bottom right.

11) New window comes up, you have to load in the standard game-hilt. The BINARY file.

12) Then load in your NEW exported ASCII file.

13) Click ReadModels.

14) Another window comes up. Pick lshandle01( or another number).
THen click Set Replace Target.

15) Yet another window. Pick your HILT model. Should be something like Ngon01, Cylinder01 or any name you gave that object in Gmax.
Click select Target.

16) Next click DO IT.

17) Voila; your new saber is being converted to the BINARY files the game uses. Rename as you like, to make them really custom or just leave the name if you want to replace the game model everywhere in the game.

You don't have to touch the dummy or the blades(planes), infact leave them.
As long you don't hit the UNlink button when you selected them by accident. And even then, it shouldn't matter much, as you do the real replacing via MDLops, not in Gmax.
Gmax only gets used to make new 3D; nothing much more.

Not sure if I wrote a tutorial on it... have to lool that up.

EDIT: Here's a link to a tutorial I wrote myself, a looooooong time ago; just ignore the bit about the UVWmapp'n. That isn't just right. The rest should work.
CLICK ME (http://www.megaupload.com/?d=B3O7SVE9)

Yeah, blatant posting my tutorial in another tutorial thread. I'm shamelesssss :lol:
 Qui-Don Jorn
09-02-2010, 4:37 PM
#236
Thankyou very much. Im trying it again in a little while. wish me luck :p
FYI it really sucks not having internet my house.
thats everything i was doing except i was unlinking the planes from the game hilt and relinking them to my hilt.
Thanks again both of you.
 Qui-Don Jorn
09-03-2010, 1:05 PM
#237
....nope.
it's just not gonna work. i did everything as it should be done, and got the same thing.
Oh well, i tried.
i am defeated, i give. this mod is *done*. it'll just use the game's hilts. whatever.
ill get over it eventually..


Edit:
Hold up, hold up, ow Im convinced that im not exporting the game saber from Kotor tool correctly...So here is what I'd been doing,
1) KT- double click on w_lghtsbr_XXX.mdl > brings up export menu.
export to kotor tool/working/exported models folder, then...
2) open mdlops. select ascii mdl file > click read and write > this makes binary .mdl and .mdx files...
is this right so far? i dont need to export the .mdx file out of KT? (since mdlops makes one from the .mdl)

sorry i just got a little confused cause i read the quick tut that comes with mdlops..
 itachisen
08-02-2015, 2:26 PM
#238
hey guys, anyone has this tutorial y tried to downloaded but it gives an error.
thanks.
Page: 5 of 5