Page 2 of 3
Re: Adding Cloth (I did it)
Posted: Tue Sep 11, 2007 5:39 pm
by RepSharpshooter
It works just fine, in most humanoids, the skeleton it the same, so it has the same effect. Just a thing, when I did it, just remember to add all the assets for the guy who has the cape, I even read the original unit in the LUA just to make sure.
Re: Adding Cloth (I did it)
Posted: Tue Sep 11, 2007 6:22 pm
by Darth_Z13
Cape for Commander Keller?

Re: Adding Cloth (I did it)
Posted: Tue Sep 11, 2007 6:24 pm
by Caleb1117
I have a question.
Is it remotely possable to do the same thing, but with the "belts" that are draped across the Republic sniper unit?
Re: Adding Cloth (I did it)
Posted: Tue Sep 11, 2007 6:30 pm
by {501st}Commander_Appo
Well,that cape do look very awsome
- :clone:
Re: Adding Cloth (I did it)
Posted: Tue Sep 11, 2007 6:46 pm
by RepSharpshooter
@Caleb1117 Yes, it is. I'm working on it right now, however, that belt, unlike the cloth does not have its texture built into the MODL chunk. At the beginning there are MATD chunks, which are the materials. In normal MODL chunks, there is a number that tells which material to use.
You'd have to add another material, add the new MODL, (make sure to change the old mat number) and then, taking in account for the added material and modl, you'd need to re-encode the HEDR, MSH2, and MATL headers.
It's a little tricky, I'm working on it, its my next project. There are some vars in the MATL header I'm not sure of.
But overall, yes I think it is possible (along with anything else that has its own MODL, heads, some helmets, accesories, etc. The separate modl's can be viewed in 3DOC.)
Re: Adding Cloth (I did it)
Posted: Tue Sep 11, 2007 6:57 pm
by Syth

YAH! so this will have the capes animated? Ill have to take a wack at this sometime...
Re: Adding Cloth (I did it)
Posted: Tue Sep 11, 2007 11:24 pm
by AceMastermind
RepSharpshooter wrote:It works just fine, in most humanoids, the skeleton it the same, so it has the same effect.
Yes, i'm aware that almost all units/heroes/villains have the same skeletal hierarchy, they just use different baseposes, but only the units that originally have cloth attached use cloth collision primitives (c_somename) which are made children to their respective bones so as to keep the cloth from penetrating the unit mesh ingame.
Example: When a unit stops running the cloth continues to flow forward without penetrating the unit mesh, but instead wrapping around the unit mesh and then returning to it's "basepose".
The question remains, were you able to extract the cloth collision from the original caped unit's skeleton and re-insert them back into the new unit's skeleton that originally had no cloth collision at all?
Re: Adding Cloth
Posted: Wed Sep 12, 2007 8:02 am
by lieutenantcoda
Teancum wrote:
Dude! Spill the beans. I gotta know so I can add that to the 327th in the SWBF pack.
WOW, ur going to do that!
@RepSharpshooter: Super Congrats! you have now opened the gate way to more units!
Re: Adding Cloth (I did it)
Posted: Wed Sep 12, 2007 8:02 am
by Teancum
Yeah, the collision files are primitives, but can be copied and pasted in the same way.
Re: Adding Cloth (I did it)
Posted: Wed Sep 12, 2007 4:23 pm
by RepSharpshooter
The cape's modl chunk includes which collision primitives to use, the cloth does not go through the legs.
Re: Adding Cloth (I did it)
Posted: Sat Sep 15, 2007 6:27 pm
by somen00b
Will this work on other stuff besides cloth, (i.e. Jango, Boba, Jettrooper, or Dark trooper's jetpacks) or do you need more steps?
edit: oops, didn't notice all 3 pages...
edit2: I read the other pages, nevermind, it's been answered
Re: Adding Cloth (I did it)
Posted: Tue Sep 25, 2007 10:11 am
by Alpha-17
Is it possible to give the stormtrooper-han dooku's cape and anakins skirt ??
Re: Adding Cloth (I did it)
Posted: Tue Sep 25, 2007 10:26 am
by Caleb1117
You could give him one, but I'm not sure if both are possable.
Re: Adding Cloth (I did it)
Posted: Tue Sep 25, 2007 11:10 am
by Maveritchell
Alpha-17 wrote:Is it possible to give the stormtrooper-han dooku's cape and anakins skirt ??
But if you're trying to make Obi-Wan in clonetrooper armor (a la Muunilist) you might want to use Vader's cape.
Re: Adding Cloth (I did it)
Posted: Tue Sep 25, 2007 6:15 pm
by Teancum
Hmmm.... You know, theoretically you could also do this with jetpacks....

Re: Adding Cloth (I did it)
Posted: Tue Sep 25, 2007 6:33 pm
by Caleb1117
what about backpacks? like the rebel engineer?
Or would that not work because of it not having its own seperate tga?
Re: Adding Cloth (I did it)
Posted: Tue Sep 25, 2007 7:29 pm
by Maveritchell
Caleb1117 wrote:what about backpacks? like the rebel engineer?
Or would that not work because of it not having its own seperate tga?
Not every cloth piece has a separate .tga. The real question is whether it has a separate model chunk, not a separate .tga.
But no, I don't think we can do this with the backpack on the Rebel engineer; I'm pretty sure that's not a separate chunk.
Re: Adding Cloth (I did it)
Posted: Tue Sep 25, 2007 8:01 pm
by RepSharpshooter
Yep IN THEORY (I haven't tried it yet), any MODL chunk can be swapped between msh's. However, different modl's from different msh's use different matd's. If you were to want to use the original texture, you'd have to add the matd chunk under the matl chunk, resize all the affected headers (HEDR MSH2 MATL, which would be original + new MODL + new MATD), and then change the material index number that the modl chunk references. Its kind of a long and complicated process, so I have not attempted it yet.
A easy way to view what is under what modl chunks is 3DOC. If you click the button to the right of the save button, you'll get a scene info tab on the left, which you can see all the different MODL's.
Re: Adding Cloth (I did it)
Posted: Thu Sep 27, 2007 1:17 am
by falcon2005
Hey thanks for the tutorial,
I followed your steps posted on the first page and it worked for adding the sniper cape to my trooper.
Then I tried adding the darth vader cape to another trooper and it didn't work, like nothing shows up after i munged it. I noticed there is no vader cape's tga in the assets...is that the reason it doesnt work? anyone know?
Re: Adding Cloth (I did it)
Posted: Tue Oct 02, 2007 2:36 pm
by MandeRek
Men!!! This won't do! I tried this tut a million times, still i can't do it! Can someone mail me a ep3sniper .msh with a vader cape? if it is possible btw. Old cape has to be removed i think.... pleas! mail to
[email protected] :duel:
EDIT

Wait a sec! Isn't it also possible to add Aayla's tenticle's to other characters? If i add this to a clone, it wont be animated, so it would be large hornes right? Men, if this works i can use this for my Paladin Clone! Real cool Rep