Difference between revisions of "Tutorials:Unimesh 1 - New Mesh Basics"

From SimsWiki
Jump to: navigation, search
 
Line 45: Line 45:
 
'''You must use a Maxis mesh for this to work!''' Editing custom meshes is not covered in this tutorial, and will not work the same as described here.  For the sake of learning how to do this properly, please edit the same base game dress that is shown in the tutorial.  Always do the suggested project when doing a tutorial the first time - it will make it much easier to follow along.
 
'''You must use a Maxis mesh for this to work!''' Editing custom meshes is not covered in this tutorial, and will not work the same as described here.  For the sake of learning how to do this properly, please edit the same base game dress that is shown in the tutorial.  Always do the suggested project when doing a tutorial the first time - it will make it much easier to follow along.
  
<blockquote>[[Image:Unimesh1-01.jpg|right|300x300px]]1.  Run [[Body Shop]]. Remember to always use the shortcut for the most recently released expansion.  Start - All Programs - EA Games - The Sims 2 (or latest expansion) - The Sims 2 Body Shop. <br style="clear:both" />
+
<blockquote>[[Image:Unimesh1-01.jpg|right|300x300px]]1.  '''Run Body Shop:''' Remember to always use the shortcut for the most recently released expansion.  Start - All Programs - EA Games - The Sims 2 (or latest expansion) - The Sims 2 Body Shop. <br style="clear:both" />
  
[[Image:Unimesh1-02.jpg|right|300x300px]]2.  Click on Create Parts - Create Clothing - Formal.  Scroll toward the end of the catalog until you find the dress pictured.  It comes in several colour options, but I'm choosing the cream with lace version, mainly because it's the prettiest.  Click on the button at the bottom to Export Selected Textures.<br style="clear:both" />
+
[[Image:Unimesh1-02.jpg|right|300x300px]]2.  '''Select the Right Dress:''' Click on Create Parts - Create Clothing - Formal.  Scroll toward the end of the catalog until you find the dress pictured.  It comes in several colour options, but I'm choosing the cream with lace version, mainly because it's the prettiest.  Click on the button at the bottom to Export Selected Textures.<br style="clear:both" />
  
[[Image:Unimesh1-03.jpg|right|300x300px]]3.  Give your project a name.  "TutorialDress" is a good name for this project.  Then click the checkmark to Accept Project Name and go ahead and make the new project.<br style="clear:both" />
+
[[Image:Unimesh1-03.jpg|right|300x300px]]3.  '''Name Your Project:''' "TutorialDress" is a good name for this project.  Then click the checkmark to Accept Project Name and go ahead and make the new project.<br style="clear:both" />
  
[[Image:Unimesh1-04.jpg|right|300x300px]]4. Give your project a tooltip.  "TutorialDress" is a good tooltip.  Leave the category as Formal.  Then click the button at the bottom to Import to Game to finish the project. <br style="clear:both" />
+
[[Image:Unimesh1-04.jpg|right|300x300px]]4. '''Tooltip and Import'''  Give your project a tooltip.  "TutorialDress" is a good tooltip.  Leave the category as Formal.  Then click the button at the bottom to Import to Game to finish the project. <br style="clear:both" />
  
5.  Close Body Shop.</blockquote>
+
5.  '''Close Body Shop.'''</blockquote>
  
  
===Part 2 - Assemble a Mesh Package===
+
===Part 2 - Create a Folder===
 +
 
 +
We're going to be editing, exporting, and importing a lot of different files from here on out.  It's important that you keep your files organized so you know what's what.  The best way to do this is to create a new folder to hold all of your bits and pieces.  That way, you know where to find them, and what they all are.
 +
 
 +
<blockquote>[[Image:Unimesh1-09.jpg|right]]On your computer's Desktop (or whereever you can easily find it), create a new folder.  Call this folder "TutorialDress Files."  Don't do anything else with it for the moment - we'll be using it soon enough.<br style="clear:both" /></blockquote>
 +
 
 +
 
 +
===Part 3 - Assemble a Mesh Package===
 +
 
 +
Now we'll get a mesh put together, using the mesh parts used by the recolour we just made.  This used to be a lot harder, but we now have a great shortcut which makes this part a lot easier.  It will automatically gather the needed mesh parts when you point it at a recolour file.
 +
 
 +
<blockquote>1.  '''Run SimPE:'''  You should have a shortcut for it on your Desktop after installing it.<br><br>
 +
 
 +
2.  '''Create a New File:''' File - New to create a new, empty file.<br><br>
 +
 
 +
[[Image:Unimesh1-05.jpg|right|300x300px]]3.  '''Run PJSE Mesh Tool:''' Tools - PJSE - Body Mesh Tool - Extracting Stage.  <br style="clear:both" />
 +
 
 +
[[Image:Unimesh1-06.jpg|right|300x300px]]4.  '''Browse For Your Recolour:''' You'll get a popup now called "Sim Mesh Extractor."  Click on the Browse button.<br style="clear:both" />
 +
 
 +
[[Image:Unimesh1-07.jpg|right|300x300px]]5.  '''Find and Open Your Recolour:''' You'll now get an Open dialog box titled "Select Exported Texture Package."  Open your ''My Documents\EA Games\The Sims 2\SavedSims\'' folder.  Inside, you should see a file called something like "5f3a3d82_TutorialDress.package" - 8 random characters, an underscore, and then your project name (TutorialDress).  Click on it to select it and then click Open.<br style="clear:both" />
 +
 
 +
[[Image:Unimesh1-08.jpg|right|300x300px]]6. '''Mesh Parts Gathered:''' You should now see four new resources listed in your file - GMDC, GMND, SHPE, and CRES.  These are the four parts of the original Maxis mesh - the same mesh that the dress we recoloured in Part 1 uses.  The PJSE Body Mesh Tool (Extracting Stage) automatically grabs all four parts for you, without you having to go into the game files to do so.<br style="clear:both" /><br>
 +
 
 +
[[Image:Unimesh1-10.jpg|right|300x300px]]7. '''Bring Up Fix Integrity:''' We have the original mesh files now.  But we want to make our own unique, custom mesh.  In order to do that, we'll need to rename those files so the game sees them as unique, different files.  To do this, we must Fix Integrity.  Tools - Object Tools - Fix Integrity.<br style="clear:both" />
 +
 
 +
[[Image:Unimesh1-11.jpg|right|300x300px]]8. '''Give Your Mesh a Name/Make Your Mesh Unique:''' You'll get a popup called "Scenegraph Rename Wizard."  This is where you give your mesh a new, unique name.  For this project, let's call it "TutorialDress_YourNameHere" - where "YourNameHere" is your username, nickname, whatever - so mine would be "TutorialDress_HystericalParoxysm."  Type the name, then click the Update button.  You'll see how it changes all of the entries in the "Name" column after you click Update.  Then click OK.  You'll see that the resources' names have changed in the file too, to match what you typed.  You now have a new, unique set of mesh files.<br style="clear:both" />
 +
 
 +
[[Image:Unimesh1-12.jpg|right|300x300px]]9.  '''Save Your Mesh:''' File - Save As to save your mesh.  Remember the "TutorialDress Files" folder you made in Part 2?  Go ahead and navigate to that folder, which is where you will save your file.  Give it a descriptive name.  For this project, let's call it "TutorialDress_MeshFile.package" so we know exactly what this file contains.<br style="clear:both" /></blockquote>
 +
 
 +
Congratulations - you've just learned how to create a new, unique mesh package!
 +
 
 +
 
 +
===Part 4 - Link the Mesh to the Recolour===
 +
 
 +
Now, we need to link our new mesh package to the recolour we made in Step 1.  It's currently still linked to the original Maxis mesh, so nothing we do to our mesh will show any changes on that recolour.  So we have to change what mesh the recolour is using.  This will make it so that any changes we make to our mesh show up when we select that recolour in Body Shop or in the game.

Revision as of 13:51, 10 August 2008

Tutorials by Category

Body Shop: Recolouring | Meshing | Modding | Sims  Objects: Object Creation | Recolouring  Building: Building | Landscaping | Walls & Floors | Other: Careers & Majors | Hacks and Game Mods


Contents

Introduction

What this tutorial will teach you

This tutorial is designed to show you the basic steps of making a Body Shop mesh using Milkshape, Unimesh, and SimPE - making a new mesh package, editing the mesh, and getting it showing up in Body Shop and the game with your changes. You will learn to make only the most basic of edits in this tutorial - it is more an absolute beginner's "proof of concept" tutorial than teaching you more advanced editing techniques. The more advanced techniques will come in the subsequent tutorials.

It's a good idea to learn using Unimesh - though there are other options (like Meshtool), nothing else will allow you to edit quite so much (including adding and deleting parts, "Frankensteining" things together, etc. - we won't be going into those more advanced techniques in this tutorial, but in later tutorials.

A little warning

Meshing is difficult! Meshing is hard! Meshing is time consuming and frustrating! This is not an easy process. Though everything will be fully explained, it's possible that you may miss something or it won't work the first time. If that happens, start over from the beginning after taking a break and try again. There is no easy 5 minute meshing technique that we're not telling you - this really is the easiest, best way to do it.

Prerequisites

You MUST have existing knowledge of creating clothing using Body Shop. This is not for absolute beginners - experience in creating clothing recolours/retextures will serve you well going forward. If you do not have that preexisting knowledge, do not continue with this tutorial. Instead...

RightArrow.gif See: Body Shop Recolouring Tutorials


What you will need:

You must download and install all of the following programs and utilities before beginning this tutorial. If you are having any trouble or questions on installing them, please look for info on their individual sites/pages.

  • Milkshape - Current version as of this writing is 1.8.3. We will be doing our mesh editing in Milkshape. This is not a free program! It will allow you to use it free for 1 month, but after that you will need to pay $25 to register it. It is worth the money. There is no version of this tutorial using free programs - nothing else uses Unimesh and allows you to make major edits for such a low price.
  • Unimesh Plugin for Milkshape - Current version as of this writing is 4.09. This plugin allows proper import/export of Sims 2 meshes into Milkshape. Unimesh is free. Read the included "UniMeshReadMe.txt" file for installation instructions.
  • SimPE - Current version as of this writing is 0.68. Get whatever the latest version is. SimPE allows creation of a new mesh package linking the mesh to a recolour file.
  • Needed Software to Run SimPE - This is listed as a heading on the SimPE download page with links there. You will need both the Microsoft .NET Framework Version 2.0 (this is different from .NET 1.0!) and Managed DirectX 9c (this is different from regular DirectX!) - make sure to download and install both or you will get errors on the SimPE parts.
  • 1-2 Hours to complete this tutorial, assuming you do it right the first time. It may be quicker or slower depending on how fast you read and work.


The Tutorial:

You may click on any image below for a larger version. Images are shown thumbnailed here for faster page loading, but all images will display full-size if clicked.

Part 1 - Create a Recolour

All Body Shop meshes are linked to a recolour file. Without both the mesh and recolour file, you will see nothing showing up in game or in Body Shop for your recolour. Therefore, you always need to start by creating a temporary recolour file.

You must use a Maxis mesh for this to work! Editing custom meshes is not covered in this tutorial, and will not work the same as described here. For the sake of learning how to do this properly, please edit the same base game dress that is shown in the tutorial. Always do the suggested project when doing a tutorial the first time - it will make it much easier to follow along.

Unimesh1-01.jpg
1. Run Body Shop: Remember to always use the shortcut for the most recently released expansion. Start - All Programs - EA Games - The Sims 2 (or latest expansion) - The Sims 2 Body Shop.
Unimesh1-02.jpg
2. Select the Right Dress: Click on Create Parts - Create Clothing - Formal. Scroll toward the end of the catalog until you find the dress pictured. It comes in several colour options, but I'm choosing the cream with lace version, mainly because it's the prettiest. Click on the button at the bottom to Export Selected Textures.
Unimesh1-03.jpg
3. Name Your Project: "TutorialDress" is a good name for this project. Then click the checkmark to Accept Project Name and go ahead and make the new project.
Unimesh1-04.jpg
4. Tooltip and Import Give your project a tooltip. "TutorialDress" is a good tooltip. Leave the category as Formal. Then click the button at the bottom to Import to Game to finish the project.
5. Close Body Shop.


Part 2 - Create a Folder

We're going to be editing, exporting, and importing a lot of different files from here on out. It's important that you keep your files organized so you know what's what. The best way to do this is to create a new folder to hold all of your bits and pieces. That way, you know where to find them, and what they all are.

Unimesh1-09.jpg
On your computer's Desktop (or whereever you can easily find it), create a new folder. Call this folder "TutorialDress Files." Don't do anything else with it for the moment - we'll be using it soon enough.


Part 3 - Assemble a Mesh Package

Now we'll get a mesh put together, using the mesh parts used by the recolour we just made. This used to be a lot harder, but we now have a great shortcut which makes this part a lot easier. It will automatically gather the needed mesh parts when you point it at a recolour file.

1. Run SimPE: You should have a shortcut for it on your Desktop after installing it.

2. Create a New File: File - New to create a new, empty file.

Unimesh1-05.jpg
3. Run PJSE Mesh Tool: Tools - PJSE - Body Mesh Tool - Extracting Stage.
Unimesh1-06.jpg
4. Browse For Your Recolour: You'll get a popup now called "Sim Mesh Extractor." Click on the Browse button.
Unimesh1-07.jpg
5. Find and Open Your Recolour: You'll now get an Open dialog box titled "Select Exported Texture Package." Open your My Documents\EA Games\The Sims 2\SavedSims\ folder. Inside, you should see a file called something like "5f3a3d82_TutorialDress.package" - 8 random characters, an underscore, and then your project name (TutorialDress). Click on it to select it and then click Open.
Unimesh1-08.jpg
6. Mesh Parts Gathered: You should now see four new resources listed in your file - GMDC, GMND, SHPE, and CRES. These are the four parts of the original Maxis mesh - the same mesh that the dress we recoloured in Part 1 uses. The PJSE Body Mesh Tool (Extracting Stage) automatically grabs all four parts for you, without you having to go into the game files to do so.

Unimesh1-10.jpg
7. Bring Up Fix Integrity: We have the original mesh files now. But we want to make our own unique, custom mesh. In order to do that, we'll need to rename those files so the game sees them as unique, different files. To do this, we must Fix Integrity. Tools - Object Tools - Fix Integrity.
Unimesh1-11.jpg
8. Give Your Mesh a Name/Make Your Mesh Unique: You'll get a popup called "Scenegraph Rename Wizard." This is where you give your mesh a new, unique name. For this project, let's call it "TutorialDress_YourNameHere" - where "YourNameHere" is your username, nickname, whatever - so mine would be "TutorialDress_HystericalParoxysm." Type the name, then click the Update button. You'll see how it changes all of the entries in the "Name" column after you click Update. Then click OK. You'll see that the resources' names have changed in the file too, to match what you typed. You now have a new, unique set of mesh files.
Unimesh1-12.jpg
9. Save Your Mesh: File - Save As to save your mesh. Remember the "TutorialDress Files" folder you made in Part 2? Go ahead and navigate to that folder, which is where you will save your file. Give it a descriptive name. For this project, let's call it "TutorialDress_MeshFile.package" so we know exactly what this file contains.

Congratulations - you've just learned how to create a new, unique mesh package!


Part 4 - Link the Mesh to the Recolour

Now, we need to link our new mesh package to the recolour we made in Step 1. It's currently still linked to the original Maxis mesh, so nothing we do to our mesh will show any changes on that recolour. So we have to change what mesh the recolour is using. This will make it so that any changes we make to our mesh show up when we select that recolour in Body Shop or in the game.

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox