Adding Cloth (FAQ)
Moderator: Moderators
-
RepSharpshooter
- Gametoast Staff

- Posts: 1351
- Joined: Tue Jul 10, 2007 4:10 pm
Re: Adding Cloth (I did it)
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.
-
Darth_Z13
- Jedi High Council

- Posts: 2275
- Joined: Sat Jun 17, 2006 9:51 am
- xbox live or psn: Xanthius Wylon
- Location: Canada
Re: Adding Cloth (I did it)
Cape for Commander Keller? 


-
Caleb1117
- 2008 Most Original Avatar
- Posts: 3096
- Joined: Sun Aug 20, 2006 5:55 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: X-Fire: caleb1117 ಠ_ಠ
Re: Adding Cloth (I did it)
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?
Is it remotely possable to do the same thing, but with the "belts" that are draped across the Republic sniper unit?
-
{501st}Commander_Appo
- 1st Lieutenant

- Posts: 441
- Joined: Thu Jun 14, 2007 2:40 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Earth
- Contact:
Re: Adding Cloth (I did it)
Well,that cape do look very awsome
- :clone:
- :clone:
-
RepSharpshooter
- Gametoast Staff

- Posts: 1351
- Joined: Tue Jul 10, 2007 4:10 pm
Re: Adding Cloth (I did it)
@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.)
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.)
-
Syth
- General

- Posts: 784
- Joined: Thu Apr 13, 2006 8:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: happy fun island
Re: Adding Cloth (I did it)
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: Adding Cloth (I did it)
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.RepSharpshooter wrote:It works just fine, in most humanoids, the skeleton it the same, so it has the same effect.
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?
-
lieutenantcoda
Re: Adding Cloth
WOW, ur going to do that!Teancum wrote:Dude! Spill the beans. I gotta know so I can add that to the 327th in the SWBF pack.
@RepSharpshooter: Super Congrats! you have now opened the gate way to more units!
Last edited by lieutenantcoda on Wed Sep 12, 2007 8:03 am, edited 1 time in total.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Adding Cloth (I did it)
Yeah, the collision files are primitives, but can be copied and pasted in the same way.
-
RepSharpshooter
- Gametoast Staff

- Posts: 1351
- Joined: Tue Jul 10, 2007 4:10 pm
Re: Adding Cloth (I did it)
The cape's modl chunk includes which collision primitives to use, the cloth does not go through the legs.
-
somen00b
Re: Adding Cloth (I did it)
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
edit: oops, didn't notice all 3 pages...
edit2: I read the other pages, nevermind, it's been answered
-
Alpha-17
- Master Sergeant

- Posts: 165
- Joined: Mon Jan 22, 2007 2:26 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Adding Cloth (I did it)
Is it possible to give the stormtrooper-han dooku's cape and anakins skirt ??
-
Caleb1117
- 2008 Most Original Avatar
- Posts: 3096
- Joined: Sun Aug 20, 2006 5:55 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: X-Fire: caleb1117 ಠ_ಠ
Re: Adding Cloth (I did it)
You could give him one, but I'm not sure if both are possable.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Adding Cloth (I did it)
But if you're trying to make Obi-Wan in clonetrooper armor (a la Muunilist) you might want to use Vader's cape.Alpha-17 wrote:Is it possible to give the stormtrooper-han dooku's cape and anakins skirt ??
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Adding Cloth (I did it)
Hmmm.... You know, theoretically you could also do this with jetpacks.... 
-
Caleb1117
- 2008 Most Original Avatar
- Posts: 3096
- Joined: Sun Aug 20, 2006 5:55 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: X-Fire: caleb1117 ಠ_ಠ
Re: Adding Cloth (I did it)
what about backpacks? like the rebel engineer?
Or would that not work because of it not having its own seperate tga?
Or would that not work because of it not having its own seperate tga?
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Adding Cloth (I did it)
Not every cloth piece has a separate .tga. The real question is whether it has a separate model chunk, not a separate .tga.Caleb1117 wrote:what about backpacks? like the rebel engineer?
Or would that not work because of it not having its own seperate 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.
-
RepSharpshooter
- Gametoast Staff

- Posts: 1351
- Joined: Tue Jul 10, 2007 4:10 pm
Re: Adding Cloth (I did it)
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.
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.
-
falcon2005
Re: Adding Cloth (I did it)
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?
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?
-
MandeRek
- Sith Master

- Posts: 2766
- Joined: Tue Oct 02, 2007 10:51 am
- Projects :: Battlefront Zer0
- xbox live or psn: No gamertag set
- Location: Ghosting around GT
- Contact:
Re: Adding Cloth (I did it)
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
EDIT
