|Tutorials by Category|
Unimesh/Milkshape Tutorial: Level 3, Combining Mesh Parts
|Unimesh/Milkshape Tutorial: Level 3, Combining Mesh Parts - wiki version|
You are expected to have successfully completed the Unimesh Beginner Tutorial and the Unimesh Tutorial: Level 2
This tutorial assumes mastery of the materials in the other tutorials, and some steps (even new ones) might not include screenshots. Even with that, there are over 100 steps in it and 36 screenshots.
This tutorial covers a lot of ground â the many steps necessary to combine parts of meshes to create a new mesh of your own. It also covers an alternative way to create the fat morph, which is handy especially when the edits being made to the mesh are complex. This method can also be used to repair an exploding âfat meshâ.
Basically in the first tutorial, you took baby steps, and it was designed to avoid many complex things. In the second tutorial, you were walking along, getting aquainted with some more milkshape commands and learning about uvmaps. This tutorial is going straight to a full out run. Some people will be able to read parts of this tutorial and apply it to a mesh theyâre editing and it will work. But if one step is missed, things might not work.
So â if you decide use this tutorial as reference and then have questions, please do the tutorial as written and maybe that will clear some of those issues up for you. If you have questions and the project youâre working on is not this tutorial project, please post them in a new thread in the BodyShop Meshing forum. And of course, if you do have questions, include as many details, step numbers, and screenshots as applies.
This tutorial covers putting new shoes on a mesh. In this case, Iâm using Maxis shoes from another mesh. Tips for using Alâs shoes or shoes from another age mesh will be covered at the end. The goal is to learn a whole lot about editing meshes.
This tutorial is the third revision, passed down from generation to generation of mesher (okay, not really, but it sounds better than "This is the third update/rewrite for new tools and plugins."). Many thanks to WDS Brianna for the original version and Tiggerypum for v2. Also thanks to Inge and Peter for bringing us the PJSE plugin which makes this so much easier, and of course, Wes H for the awesomeness that is Unimesh.
What you will need:
SimPE, Milkshape, Unimesh 4.06 (or higher) Make sure Unimesh is 4.0.6 or above, because it has improved code for reading in second meshes. (don't have them, go do the beginner tutorial!)
The downloadable patterns from this tutorial templates for UV mapping
Demon432's Tools â both align normals and extended edit. To install them, download both files. You then need to move the two files named msExtendedManualEdit.dll and msAlignNormals.dll to My Computer/Local Disk/Program Files/Milkshape 3D (whatever version youâre using)
For this tutorial I used Unimesh 4.06, Milkshape 1.7.9, SimPE .58
Part 1: Set Up Your New Mesh
Weâre going to dive right in from the end of the Unimesh Tutorial #2. This section is a summary, you should know how to build a mesh by now.
Did you save your project? If so, you can use the final SimPE file for this edit. If not, you can use the unaltered mesh and it will work just fine.
Make a new folder for your work files named TUTORIAL3TEENSHOES
In BodyShop create a new project and import it to the game with either the unaltered sundress or your new dress from tutorial 2 ( tfbodysundress_) Quit BodyShop.
In SimPE, build a new mesh file with the 4 parts of the mesh ( tfbodysundress_), save to your DOWNLOADS folder (I named mine MESH_tig_tutorial3teenshoes)
Put the modified shape and cres into the recolor file from your SAVED SIMS folder.
note: The above info was the old way before PJSE. You can use the info from Unimesh 1 - New Mesh Basics to build and link your recolor file from your SAVED SIMS folder.
Check if the recolor shows correctly in Body Shop
My skirt is coming down onto the legs and itâs too short! Why?The texture is for my new sundress, but the MESH pieces I just used to build the mesh are from the original Maxis sundress. Iâm going to fix that when I read in my meshes into milkshape, so no worries. Matter of fact, this is nice because I can clearly see that the recolor is working correctly.
While we have it, make a new project with the outfit, because weâll want the shoes texture and alpha for our dress. Name it TEENHEELS. Quit BodyShop.
The name of the outfit is: tfbodyhipmandarintop_In SimPE use the finder and extract the gmdc file for that mesh, and save it to the tutorial3teenshoes folder â I named it tf-bodyhipmandarintop so that I can tell it apart from the gmdc of the sundress. We donât need anything else. Quit SimPE.
Part 2: Begin the Edit
In Milkshape Iâm going to import first my original dress, and then the mesh Iâd like to get shoes from. I am NOT going to make the fat morph yet, Iâm going to work through all the details with my fit body first, and then later make the fat morph.
1. Fire up Milkshape, make sure autosmooth is off.
2. I am going to Unimesh Import dress3.simpe from my tutorial2 folder. If you made more edits than 3, simply import the last edit. If you donât have your files from tutorial2, youâll need to use the gmdc from tfbodysundress (which you just used to build the mesh)
4. Now weâre going to Unimesh import in the 2nd mesh that I saved to tf-bodyhipmandarintop in my tutorial3teenshoes folder.
5. Youâll get a new dialog box â âIf you import over another model, results may be unreliable. Do you want to continue? Click OK
Then youâll get another dialog box â âDo you want to INCLUDE additional bone definitions?â (this prevents another entire skeleton from being added to our project) Click NO
If you don't see this box, and you have unimesh 4.09 that's all good, it's being smart for you.
7. And lastly youâll be asked again if you want to âCreate Blend Groupsâ, answer NO.
Finding the Place to Cut
Now, you will see 2 body groups, and you should also notice that some parts of the mesh look identical, to the point that you canât tell there are two sets of vertices there, and other parts of the mesh look different (skirt, shorts, parts of the shoes)
Now, because this is a tutorial and I want to teach you MORE, weâre going to use the row above that instead â which does not look identical on the different meshes. That way I can teach you how to properly adjust everything â and youâll better be able to combine any mesh parts you want in the future. (I might regret this decision, but here we go!)
9. Hide the second body by selecting the group and using the HIDE button. (the pants mesh)
12. Go back to the groups tab, and click the 2nd body group and HIDE to show the 2nd body with the shoes we want.
13. Click on the first body, and click HIDE to hide the skirt mesh. Now you should not see the skirt any more, just the pants mesh.
Okay, so now you have the two parts of the mesh in two groups. Time to SAVE! Weâve been editing for quite a while now.
17. SAVE AS - tut1.ms3d in your tutorial3teenshoes folder
Part 3: Joining the Vertices Exactly
If we put the mesh into the game the way that it is, the legs would show a line (and actually have a section that does not match properly. So the first goal is to get the vertices to have EXACTLY the same value. We canât do that by eyeball, we must use either of these two methods below.
Select one pair of vertices at a time Then either use â VERTEX â SNAP TOGETHER (useful if they look lined up already) Or use Demonâs Extended Manual Edit
Iâm going to use Extended Manual Edit because I want to show this to you â itâs a way for you to make the edges meet and choose which mesh you want to use as your guideline. While it doesnât matter that much for this particular outfit, you might want to someday join a skirt to a belt area or such where you will not want the belt to be distorted.
Extended Manual Edit is also the tool to use to make sure that the neck is an exact match (if moving a mesh from one age to another) and to make sure that the waistline meets on top and bottom meshes.
This is because youâve hit the seam that separates the front of the sim from the back. So yes, there really are 4 vertices all aligned perfectly so that they look and act as one. These vertices also have identical x, y, z values and bone assignments, so itâs all good. Be sure to check the values on yours and make sure they are identical, if they are not, follow the directions below.
21. As you continue around the back of the leg, you will hit a spot that DEFINITELY has different values, because you can see the vertices are not touching. Select both vertices and then bring up Extended Manual Edit.
23. Now select the next pair of vertices. Yes, this is a bit tedious, but careful work here will give you a mesh that acts as if it was always part of the same mesh! Go around both legs. Examine them and make sure things look right to your eyes.
24. Now letâs SAVE AS tut2.ms3d
Part 4: Adjusting the Normals
25. Right click on the 3D window.
- Turn off Colored Groups
- Right click again, turn off Wireframe Overlay
- Right click again, select Smooth Shaded
26. Now look really closely at that seam. Rotate the mesh around. I was able to see ever so slight a line on the back of the leg where the meshes meet. Itâs not a gap, just a change in the gray shading. In this case it is very subtle, but we will smooth it over anyway.
27. Select Colored Groups again so that you can easily spot the seam line.
28. Model Tab â Select â Vertex â and select the seam.
30. Now we'll use Demonâs Tool â Align Normals. Do NOT EVER use the Milkshape Smooth All command, because it will make all the seams on your mesh have a line on them.
Use menu VERTEX â ALIGN NORMALS
31. Now right click and select Smooth Shaded. This time it should look perfect!
32. SAVE AS tut3.ms3d
Part 5: Bone Assignments
33. First, use menu VERTEX â Sims 2 Unimesh Fix Underweighted Bones
You *always* need to do this on your mesh, so that any rounding errors are corrected and all the bone assignments add up to exactly 100%. If there are assignments that are not exactly 100%, there will be small display quirks; the mesh might appear to have holes or semi-transparent areas in some views.
Now, because we chose to use âExtended Manual Editâ to join the vertices at the seam, weâve already seen the bone assignments. And on this particular example (and likely with many Maxis meshes you might take pieces from) the bone assignments are identical and fine. Still, Iâm covering how to check and change the bone assignments using the Unimesh Bone Tool â because you will need to set bone assignments if you make new pieces for your mesh or read in object file additions for your mesh, like Alâs shoes.
Also, if you did the quick thing and âsnapped togetherâ the vertices, you still need to check their bone assignments.
34. Select a vertex along the seam (which you know will be 2-4 vertices that are precisely at the same spot).
35. Menu â VERTEX â Sims2 Unimesh Bone Tool
If you change any of the values in the vertexâs bones, you must click the COMMIT button before you click on the arrow to view the next vertex, or the changes will be lost. When you are done making changes, click COMMIT ALL (or CANCEL).
Some areas of the mesh have complex bone assignments (such as the stomach area). On the other hand, some areas of the arms and legs have as simple bone assignment (just like this edit) and all the vertices have the same assignment. You can do many bone assignments at once with the Unimesh Bone tool.
If you have a ring of vertices that you want to ALL have identical bone assignments, the easiest way to make the change is to select them all and bring up the bone tool. Then make sure the first vertex has the bones assigned the way you want. Click APPLY TO ALL and then COMMIT ALL.
This section about using the Unimesh bone tool was primarily for your information. The bone assignments on the leg should all be fine â all that was needed was to fix the underweight bones. For practice, select a couple more vertices and bring up the bone tool to check their values. You can also check bone assignments on other parts of the mesh, for instance, if you check some of the vertices on the simâs stomach area, you will find they have 2-3 bone assignments instead of just one.
Note: if you are working on a different mesh and/or cut your mesh pieces close to the ankle or knee (or are joining 2 meshes at, say, the waist) the bone assignments will probably NOT automatically match as they do in this project. So do make sure to check them and make them identical. A difference of as little as 1% on any assignment can cause your mesh to get a tiny gap along the seam as the sim animates.
36. Bone assignments are done - SAVE AS tut4.ms3d
Part 6: Separate the UV Mapping
We need to make sure that the points on the uvmapping match up exactly where they were snapped together. I expect that some of the lower legâs mapping is currently very close to the upper leg mapping, but it should be exact. In order to make it easy to know which points belong to the lower leg once theyâre merged, Iâm going to pull the top row of vertices down a bit on the lower leg on the uvmap (not the mesh!), and then I'll realign them after I've combined the meshes into one. So, letâs get a texture on that mesh and look at the uvmap.
37. Assign a texture and bring up the Texture Coordinator (This is covered in the 2nd Unimesh Tutorial )
- use menu â EDIT â SELECT ALL
- go to materials, hit new, read in checkpattern.bmp, hit assign
- menu â WINDOW â TEXTURE COORDINATOR
- change scale to .5
Now, because we didnât change it, both groups are named âbodyâ which is a bit confusing. The 2nd one is the shoes, and you can see them there at the bottom of the screen.
39. Close the Texture Coordinate Window
40. SAVE AS tut5.ms3d
Part 7: Combining Groups into One (Regrouping)
Before exporting this mesh, it needs to have the same amount of groups as it started with, and with the same names and comments.41.
43. Select the comments with your mouse and CTRL-C and copy them.
- Open up a text file and save the comments there just in case.
- Click OK to close the comments window.
- ModelName: body
- Opacity: -1
- NumSkinWgts: 3
44. Select the entire mesh using MENU â EDIT â SELECT ALL
46. Now the original settings need to be restored. Rename âRegroup01â to body by typing in âbodyâ next to the RENAME button and click the button
47. Click COMMENT and paste in the comments you copied, hit OK
You do need to carefully keep track of names and the comments when youâre doing this, but that is all you need to do to combine different groups back into one group.
48. SAVE AS â tut6.ms3d
Part 8: Fix UV Mapping
Now thereâs just the one body group. Time to go fix that uvmap where the legs join.
49. MENU â EDIT â SELECT ALL
50. MENU â WINDOW â TEXTURE COORDINATE EDITOR
Hold down CTRL and left click and drag to find the area of the legs with the gap
Click SELECT, select the lower point, click MOVE and move to align it perfectly with the corresponding point on the upper leg.
53. Repeat this all the way across, using CTRL-left click to move across as needed. Remember that there will be 2 back legs and 2 front legs to fix.
54. When you are done, close the Texture Coordinate Window.
55. SAVE AS tut7.ms3d
Part 9: Export the Mesh and Fix the Texture
56. EXPORT â SIMS2 UNIMESH EXPORTER body1.simpe (you can quit Milkshape now, but itâs not necessary)
57. Start SimPE
- Open up your mesh MESH_tig_tutorial3teenshoes with SimPE
- Replace the gmdc with body1.simpe
- click YES
- Start BodyShop
- Create Parts/Start New Project/Create Clothing
- Go to TEEN, Everyday, and look for that dress (with a * on it)
Hey, look at that, she now has high heeled sandals on.
Now these shoes donât look bad on that shape, but letâs go fix the texture to be the shoes.
62. Click the EXPORT TEXTURES button in BodyShop and name it something like TUT3.
63. Now we need to use our graphics editor and combine the shoes from the TEENHEELS folder we saved way back at the beginning of this tutorial with this dress.
- So you must edit body~stdMatBaseTextureName.bmp in the teenheels folder and select and copy the entire bottom area (do it all the way across, that makes alignment easy) to get the shoes. Close that file
66) If all is good, give it a name and Click IMPORT TO GAME
67) Quit BodyShop
Part 10: Testing in Game
68 Now is the time to test this mesh in the game. Take it into the game, double check the texture around the feet. Have the sim dance, sit, etc, and zoom in and stare at those lower legs. Pause the game. Move the camera around the sim, checking the lower legs from various angles. Let the sim move a bit and pause it in a new pose, and check again. Do this at least 4-5 times, looking for any signs of a seam or gap or strange animation (like a spike coming out of the leg is probably a bad bone assignment.) Also do make sure to look at the rest of the sim, just to make sure nothing got damaged in the edit by mistake.
I must say this - the animation in the game is not perfect even with Maxis created meshes. So, if you notice something, like the foot going a bit into the floor, or the leg/foot catching the hem of a long skirt in some of the sim's odder moves - do not immediately stress out. Compare your mesh's behavior to the behavior of the base Maxis mesh(es) you used; dress your sim in the Maxis outfit and try and get the same results. Back out a bit from the super-close zoom of your mesh and ask yourself - does this look normal, or is the error really obvious? You can definitely fix any gaps or seams on your mesh, so if you see them, do go and fix them.
I find having a cheat dresser in the game so I can 'buy' clothing without going to town very handy for the purpose of testing outfits.
Assuming this is all looking good, weâre still not quite done â because we didnât make a fat morph. But we will.
69. Quit the Sims 2.
Part 11: Make the Fat Morph
We are going to start fresh and import the original mesh we started with in order to get all the parts we need. Then weâll go get our new mesh and put it in place.
70. Go to Milkshape - MENU â FILE â NEW
71. Iâm going to Unimesh Import the gmdc from tfbodysundress
72. This is important â answer YES to create blend groups
73. Before going further, click on the body and COMMENTS and copy the comments to a text file
- ModelName: body
- Opacity: -1
- NumSkinWgts: 3
- MorphRefNum: 0
74. Copy the comments from the morph group also
- MorphNames: botmorphs fatbot
75. Now weâre going to Unimesh import our new changed mesh â body1.simpe (or whatever number you are at, if you found errors to correct) from your tutorial3 work folder.
76. Youâll get a new dialog box â âIf you import over another model, results may be unreliable. Do you want to continue? Click OK
77. Then youâll get another dialog box â âDo you want to exclude additional bone definitions?â (this prevents another entire skeleton from being added to our project) Click OK
78. Now weâve got 3 groups â body, ~00MORPHMOD.0 and body
79. The 2nd body should be highlighted â go copy the comments we just put into a file for body 1 and paste them into the comments for the 2nd body. The difference will be that the last line will now read: MorphRefNum: 0 Click OK
80. Now click on the first body, and click the DELETE button.
81. Click on the body group thatâs left (which is our shoes mesh) and click the UP button to move it to the top of the list.
82. SAVE AS â tut8.ms3d
83. Now to make the new morph. Click on the ~00MORPHMOD.0 and the HIDE button. You should see your mesh look like itâs become thinner.
84. Now, just to make sure, click on body and then HIDE. Now there should be nothing visible on your screen. Click HIDE again to show the body. Pivot it around, just to double check that itâs got the heels. Yes, good.
Now you have a new copy of the modified body. Itâs important to make sure you are editing the duplicate and NOT your original at the same time â so take these extra few steps and save yourself a headache.
87. Click on the Duplicate and HIDE. Click on body and HIDE. The screen should be empty. Then click on Duplicate and HIDE to show your duplicate only.
88. Now you can hide and show the morphmod and the duplicate and adjust the duplicate to be similar to the morphmod. Only use commands like MOVE and SCALE. Do not add or delete vertices, that will make things explode.
The goal is to create a body shape *similar* to the morph, it doesn't have to be exact - but by being close, then as your fat sim changes clothing, they will still look like the same body proportions.
This next part will vary depending on what works for you. You can use the wireframe display or textured display with colored groups, or flip between them.
91. Then I selected most of the hips/skirt area, and then I used SCALE:
- with X
- and Z set to 1.1
- and Y set to 1 using the Center of Mass setting.
- Then I set X to 1 (so that only Z was 1.1)
- and I scaled one more time.
92. I then grabbed some pixels here and there to futher smooth the skirt shape. Remember that if 1.1 moves the mesh too much, you can try 1.05.
Make sure to check your mesh with âsmooth shadedâ as a display from time to time. You want the mesh to have a nice smooth shape, with the vertical and horizontal lines still looking smooth as it distorts; it just has to be similar to the original morph, not a perfect match.
93. Once you have created your new fat morph, itâs time to replace the original.
- Copy the comments from ~00MORPHMOD.0 to âDuplicateâ
- Copy the name ~00MORPHMOD.0 and then RENAME Duplicate to ~00MORPHMOD.0
- Delete the first ~00MORPHMOD.0
In this step, you need to pay attention to the names and order on the list of your mesh groups. The 'colored group' settings in Milkshape will reassign as you delete or add groups, so you cannot use the colors of the mesh parts to identify the different groups.
Make sure you have the correct groups, you should have exactly 2, and hiding and showing them should be a fit and fat body with the heeled shoes.
94. SAVE AS â tut9.ms3d
Part 12: Testing the Fat Morph and Importing the Final Mesh
95. EXPORT â SIMS2 UNIMESH EXPORTER body2.simpe (or whatever number youâre up to)
Now weâre going to do a quick test of the fat morph before having to go into the game to test. (Thank you Dr. Pixel for this test) Weâre going to clear things and read in the mesh we just saved and see if the fat morph looks great.
96. FILE â NEW
97. IMPORT - SIMS2 UNIMESH IMPORTER body2.simpe
Now you should see 2 groups. Hide and show them. If anything looks exploded, you need to do Part 11 over again.
If you only get one group, body, and it looks fat â thatâs because you accidently edited both your body and fat morph together, and since the data was identical no morph was created. Never fear â if youâve been following directions here, you can still recover your unaltered fit mesh and put it back into place. Rename the 'body' 'morph'. Now import body1.simpe. Remember we saved all those comments and names - good. Move the 'body' up to the top, and paste in the new comments for body from that text file. Now paste the comments for the morph (from the text file) into the morph group. Rename the morph group to be ~00MORPHMOD.0 And EXPORT with a new number. Then test again with Step 96 and the most recent SimPE file.
No explosion? You see both body and morphmod, and when you hide and show them you can see a difference between fit and fat? Good! Now replace your mesh with this new mesh.
98. Open up your mesh (MESH_tig_tutorial3teenshoes) with SimPE 99) Replace the gmdc with body2.simpe or whatever the last version is (click YES)
101. Quit SimPE
Part 13: Fix the Shoe Sounds
We changed these shoes from what look to be flip-flops into high heel shoes. When sims walk in the game, their feet make small sounds, based on the type of shoe the sim is wearing. JM Pescado has posted the codes for fixing the sound to match the shoe!
102. Open the new recolor file we just made from your SAVED SIMS folder â I suggested naming it simply âtut3â - mine was named 7fd17c27_tut3.package, yours will have different numbers at the beginning.
I usually find it easiest to look in my Saved Sims folder and use the view menu to see the directory listing âArrange Icons by.. modifiedâ Then I just open that file with SimPE - it will be either at the beginning or end of my directory listing.
In plugin view, you need to find the value for shoe
The following values have been identified:
- 0x00: None - This outfit is a top and has no shoe. Don't use.
- 0x01: Barefoot - This outfit is barefoot and has no shoe
- 0x02: Heavy Boot - Heavy stompin' boot.
- 0x03: Heeled: Some kind of heeled shoe, produces the heel click on walk.
- 0x04: Normal shoe: Generic ordinary shoe lacking noteworthy characteristics.
- 0x05: Sandal: Some manner of floppy sandal, found on Maxis sandal-skins.
- 0x07: Armored: Found on the OFB Knight Armor.
Note that the Armored value might not work for people who donât own OFB, so be cautious about using that, unless you identify your mesh as only being for OFB â usually meshes we create can be used in all versions of the game.
So now Iâm going to look. Indeed, the âshoeâ was set to 0x00000005 â the sandals.
104. Click on âshoeâ, then in the box, change the 5 to 3
105. Click COMMIT and the SAVE
Part 14: Final Test106.
Woo hoo! Yeah! We made it. Pat yourself on the back. There's a 'Thank You' button at the end of the first message (scroll back up), if you click that it will encourage me to keep writing tutorials.
Tips for Future Projects
Now youâre free to take over the world! Well, at least to start modding meshes like crazy.
If youâre using Alâs shoes (available at http://www.simskins.net/) which import as an OBJ and thus there are no bone assignments, you need to make those bone assignments match a similar Maxis mesh. Start up a second Milkshape and import a Maxis gmdc and look at the bone assignments on that mesh and make the same ones on your new foot/leg/shoe using the Unimesh Bone Assignment tool I showed you in Part 5. Do NOT use the tutorial provided at simskins, that tutorial is totally outdated and not compatible with the current milkshape/unimesh. Do not weld anything. Use the bone tools as taught in this tutorial.
Adding Other Parts
If youâre importing some other little OBJ, like a flower or something, make the bone assignments match that of the vertices around the the spot where it meets the mesh. You will need to test these sorts of things carefully in your game (not just BodyShop) and possibly make adjustments.
The obj will need to be uvmapped - it might already have one, although if it does, the uvmap would still need to be moved to an open space on the texture. See Dr. Pixel's Milkshape UV Mapping Shoes/Extras Mini Tutorial for an example of how it's done.
Converting A Mesh or Parts From One Age to Another
Start your mesh by building a mesh file that is the proper age, gender, and type of mesh - full body, or top or bottom.
In Milkshape, start by importing the gmdc that is the proper age/gender/type for your finished project.
Then import any other meshes, parts, etc, without adding any additional bones. (newest unimesh won't even ask, it will do the right thing)
Use the proper age and gender mesh as your guide for scaling down the other parts to fit. If going from teen/adult to child, consider using a child's upper body and adding on the unique mesh parts, so that you don't have to try and properly flatten the chest area. Pay careful attention to the proportions, a straight scale-down of another age mesh often will not look quite right.
You will also probably want to use the hands from a correct age/gender mesh, along with possibly the upper neck.
Make sure the neckline is a perfect match with extended edit, and the same for the waistline if the mesh is a top or bottom only. Or use Wes' new Vertex Data Merge and Normal Data Merge tools, which make copying that data much quicker.
As usual, when you're done make sure you have the right number of groups with the right names and comments. If you're building something from many pieces, I'd rebuild the fat morph as with tutorial #3.
Unimesh supports bumpmaps (has for over a year). The easiest way to have bumpmaps is to use as your base mesh a Maxis mesh that _has bumpmaps_, even if the bodyshape is not what you want.
Make your initial recolor with that mesh, and use that mesh to make your meshfile, and read that mesh into unimesh as your first mesh. THEN read in whatever other mesh or meshes you want to use. Make sure to copy the comments from the original mesh before deleting the groups you don't need.
Alpha meshing is extremely advanced for the most part. I strongly suggest waiting until you are really comfortable editing meshes, meaning you can do them without checking a tutorial, before even trying an alpha mesh edit.
Alpha meshes have multiple groups, similar to hair. Working with alpha meshes is complicated and they simply will not always animate perfectly. That is why almost all the Maxis meshes are not created that way. To get your alpha mesh to look good most of the time often requires a LOT of fiddly work going in and out of the game to adjust things.
You will need a base mesh that has at least 2 groups (and then when you add morphs there will be more than 2 groups, so you will need to look carefully at what youâre editing). The most common meshes people use for the base are the child fairy and teen hula and adult hula. That lets you make alpha meshes for everything but toddlers.
Use the same techniques to replace whatever parts of the meshes with whatever parts you want. You can give it a new body, you can add things to the body (which will alpha to skin). You can give it a new whatever it is where the skirt was. Depending on what you are doing, you might need to line the skirt (see the Milkshape Tips here - About the âinsidesâ) and also look at the uvmapping section. Once your new mesh is in, you'll need to make a new recolor and give the parts appropriate textures.
The steps (in this example using Hula mesh): Make a mesh with the hula mesh Import the hula gmdc, save the info about what the groups are named and their comments Import any other gmdcs you want to use, say like the swimsuit or a dress mesh to replace the body with (do not import more bones) Replace the 'body' group in the original mesh with a different body -- but be SURE to copy the comments from the original 2 part mesh to your new body group and have it named the same Delete the original body and move the new 'body' up to its place In the end, you should have the same number of groups with the same names and comments as you started with.
In order to have your, say, overskirt, animate correctly and move with the rest of the body and not have the underskirt pop through it too often, the overskirt has to have vertices that correspond to the mesh parts below it. Then you can start with making matching bone assignments, and the pelvis area and knees will bend on the outer skirt similar to the inner skirt. After youâve done these assignments, you will have to go into the game and make the sim walk, sit on a chair, sit on a couch, and start adjusting things, by either changing bone assignments or moving the vertices. Then go back and make the sim dance and jump on a couch. You will want to minimize the quirks in the display that will happen from time to time, so that most of the time the sim in game animates well, and limbs arenât popping through your alpha skirt. Itâs one thing to have an occasional bad display during a dance move, but another to have it there the frequently when theyâre sitting on the couch talking or walking around.
Tig's thoughts/experiences/comments on alpha meshes: Generally simply trying to layer, say, and entire tight skirt or pants over a body mesh will produce a mesh that will have frequent 'bleed throughs' of the body mesh as the sim sits, dances, etc - this is due to how the vertices deform with the skeleton to animate - even if you match the vertices and bone assignments exactly, if they are too close together it's likely that you'll get some bleed-through. So only use alphas where they are most needed, and preferably not tight against the body. Even with all that effort (trying to align vertices, making the values the same) you will probably have to go in and out of your game alot and experiment with small changes to make your alpha behave well. I spent as much time (if not more) fiddling with my alpha loincloths as I did initially constructing their meshes.
Alpha meshes also usually have more vertices, and use 2x as many graphics, and thus are more of a demand on people's games. So don't make an alpha mesh unless you need an effect that you cannot get any other way - two meshes for shorts that are of different lengths will actually animate better and be easier to recolor and so on, compared to one alpha mesh to create variable length shorts.
Good luck on your future meshing adventures!
A note on uploading...
It's great to be excited about having completed your first few projects. However, these first few beginner projects are usually just that: basic beginner projects, meant more to show you that you can do it than make anything spectacular. You and a thousand other people will have done this tutorial, and there's really no need for you to upload your finished mesh (especially considering that WDS Brianna uploaded her dress without the dangle way back in 2005. So please don't upload either this tutorial's project or your homework projects to MTS2 - such basic stuff will not be accepted. Wait until you've got a bit more experience under your belt (i.e. when you have gone through the other Unimesh tutorials) before uploading.
In a perfect world, everyone would follow this tutorial word-for-word and do everything just right and never have any trouble. But sometimes things go wrong. So here's a list of common problems and mistakes people make, and the most likely fixes.
Sharp Seams/Lines Down Arms and Sides
Strange Transparency or Holes
If your mesh appears to have invisible parts, things showing through that shouldn't, or holes, then you probably said No when asked if you wanted to correct underweight bones in Part 6, Step 4. Reopen your MS3D file in Milkshape that you saved in the last step of Part 6. Then on the Vertex menu, select "Sims 2 UniMesh Fix Underweighted Bones V4.09" and then click OK when it tells you how many were adjusted. Re-export your mesh and continue with the rest of the steps in the tutorial from Part 7 onward.
There is a discussion thread for this tutorial which is here:
Please make sure you've checked the "Having trouble?" section above and re-read anything you're stuck on before posting. The original tutorial discussion thread is closed for comments. If you're having trouble with or have questions regarding something else, please post in the main Body Shop Meshing Forum.
|Tutorials by Category|