Home | Download | Discussion | Help | Site Map | New Posts | Sign in
MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...

Featured upload! Blender 2.7 TS3 Tools v3.02 updated 5-2-14

by cmomoney Posted 15th Feb 2011 at 8:32 PM - Updated 2nd May 2014 at 4:08 PM by cmomoney
199 Comments / replies (Who?) - 17 Feedback Posts, 5 Thanks Posts
This is a featured upload! It showcases the best talent and creativity available on MTS and in the community.
Blender 2.7 TS3 Tools




Blender is a free open source 3D program. With Blender and this set of tools, you can create 3d meshes to be used in TS3 as objects, i.e. chairs, tables, ect. You can get Blender 3d 2.65a here.

THIS WORKS FOR BLENDER 2.63-2.7+ AND IS ONLY FOR OBJECTS.

Features:
  • Import/export - import/export MLOD and MODL files(.s3m2b)
  • Geostate Editor - editor for geostates(multistate objects)
  • EZ Bake - bake multiplier, rgb, and specular images with just a few clicks
  • Image Loader - apply images to objects and get and idea how they will look in-game(including alphas)
  • Mesh Swap - swaps your mesh with the imported EA mesh.
  • Create ShadowMesh - makes a mesh into a sunshadow mesh by correctly sizing and positioning
  • Fix Seams - fix unsightly seams created when splitting vertices/edges(aligns vertex normals)
  • Make Glass - automagically give a group a glass material with one click(Blender viewing only)
  • Hide Bones - hide/show the bones in an object with one click
  • Add Lights - adds a four point lighting set up for checking specularity
[*]Drop Shadow Strength - adjust the strength of dropshadows

Installation:

1. Download and extract the "io_TS3_tools.py" and put it where you can find it.
2. Start Blender and go to File->User Preferences(or press CTRL+ALT+U).
3. Click the "Add-Ons" button at the top of the User Preferences window.
4. Click the "Import/Export" button on the left, then click the "Install Add-On" button at the bottom.
5. Navigate to where you extracted the file and select the "io_TS3_tools.py" and click "Install Add-On". TS3 Tools is added to the the list.
6. Click the check box to the right of the TS3 Tools in the list. The importer/exporter is added to the File->Import menu, and the TS3 Tools and TS3 Image Loader panels are added to the Properties Editor under Scene.
7. Close the User Preferences window, and hit CTRL+U to save as default(if you want TS3 Tools to be there next time you start Blender).

Importing/Exporting:

You will need the latest QA version of S3PE to use this script. and the latest MeshExpImpHelper

Importing:
1. Select the MLOD/MODL in s3pe, right click on it, and select "to s3m2b". Save the file in it's own folder.
2. Start Blender, and in the Properties editor under Scene, click the Import button in the TS3 Tools panel or go to File->Import->Sims 3 MLOD/MODL. Navigate to the your folder and select the name_filebase.s3m2b file.

When creating you new mesh, to keep sharp edges, you will have to use the Edge Split modifier. Also, UV mapped parts that are separated on the map should be split in the mesh. The exporter only exports changes made in Edit Mode, changes made in Object Mode are ignored.

To assign a new mesh to a group:

1. Right-click on the new mesh(s), the hold SHIFT and right-click on the mesh you want to replace.
2. Click the 'Swap' button.

To assign vertices to the joints:
1. Right-click on the mesh and press TAB to go into Edit mode.
2. Select the vertices you want to add to a joint. In the Properties editor, select the "Object Data" panel(button with triangle/w dots at the corners).
3.In the "Object Data" panel under 'Vertex Groups', select the joint you want to assign to, and click assign.

Exporting:
1. In the Properties editor under Scene, click the Export button in the TS3 Tools panel or go to File->Export->Sims 3 MLOD/MODL. If you haven't triangulated your meshes(CTRL+T in Edit mode), click the Triangulate checkbox in the export options panel(bottom-left of the file select window). Navigate to the folder you imported from, select the name_filebase.s3m2b file, and press "Export MLOD/MODL".
2. In s3pe, open the package. Right-click on the MLOD/MODL you exported from and select 'from s3m2b'. Navigate to your newly created .s3m2b file and click 'Open'.

Exclude from Export
This function allows you to specify groups to be left untouched on export. Any groups with this setting will be skipped during export, leaving the original group unedited. This is perfect for making beds, as you can exclude every group but the frame and dropshadow, and edit them without having to worry about borked normals on the mattress due to Blender recalculations. Just select the group(on at a time) to exclude and press the 'Exclude from Export' button. Do the same to re-include a group.

EZ Bake:




note: You must have a UV/Image editor window open in your scene. Also, Material mode must be set to GLSL and Shading method to Textured to view the results on the mesh. See this tutorial.

Multiplier:
1. Select the groups you want to bake.
2. In the TS3 Tools panel in the EZ Bake section, select the size of the image, and the baking method you want to use.
3. Click the Bake button. Press ALT+Z to change to Textured shading and see results on the mesh.
4. In the UV/Image editor, go to Image->Save As to save you image. Default format is .png. you will have to open your image in an graphics program to save it as a .dds.

RGB Mask:
TBA

Specular:
TBA

Image Loader




note: Material mode must be set to GLSL and Shading method to Textured to view the results on the mesh. See this tutorial.

1. Select a group. Click Open under whatever image you're trying to load(multiplier, mask, overlay, specular, or dropshadow).
2. Navigate to the image and click Open.
3. Press ALT+Z to change to Textured shading and see results on the mesh.
4. To remove an image, simply click the X next to that image.

To view the specularity(if specular image is loaded), make sure the 'Shadeless' box is unchecked and you have lights in your scene(or just use 'Add Lights').

Geostate Editor




Viewing
With an object containing geostates imported, and its images loaded, select the group containing the geostate. In the geostate editor panel, select the geostate you wish to view and click 'View'.

Editing
1. Make sure you're viewing the geostate you wish to edit and switch to edit mode.
2. Click the 'Show All' button to see the complete mesh.
3. Select the faces you want included in the geostate, deselect the the faces you don't want included in the geostate.
4. Click the 'Set' button to set the geostate.

Fix Seams:

note: If you use Fix Seams, you cannot go into Edit mode with the group you used it on, or Blender will recalculate the vertex normals and undo the fix. You can use Edit mode on other groups as long as you haven't used Fix Seams on them. Fix Seams Should probably be one of the last things you do before exporting. Also, the result may not be visible, and the only way to verify that it worked is to go into Edit mode and turn on the vertex normals. But then Blender will undo the fix once you go back to Object mode, so you'll have to do Fix Seams again. :P

1. While in Edit mode, select the only the vertices of the seam(it may be easier to select the edges in edge select mode). Do the same for all groups that have seams you want to fix.
2. While in Object mode, select all the groups that have seams to fix and click the Fix Seams button. If there were no problems, 'Alignment complete' will printed in the Console.


Create Shadow Mesh:
TBA

Show/Hide Bones:

Simply click the button to hide all bones in the object, and click again to show them. Bones are hidden by default.

Make Glass:

Select the group(s) you want to make glass and click Make Glass. Press ALT+Z to change to Textured shading and see results on the mesh.
note: This does not make your object glass in-game. It's is merely a representation for viewing in
Blender.

Add Lights

Simply click the button to add four-point lighting setup to the scene. (Needed to view specularity)

Issues:
Importing more than one MLOD/MODL can cause problems. You should start a new project.

Release history:

  • 3.02(2May2014)changelog
    -adjusted for 2.7 API(bpy.ops.mesh.select_loose())

    3.0.1(28January2013)changelog
    -Fixed error importing/exporting sunshadows(thanks Zed )

    3.0(22January2013)changelog
    -Fixed addon loading error

    3.0(18January2013)changelog:
    -Updated for Blender 2.65a.
    -rework of import/export, eliminating need for splitting at seams(is done programagically)
    -added dropshadow intensity

    2.5(11November2012)changelog:
    -Updated for Blender 2.64(still works in 2.63 though)

    2.4(27September)changelog:
    -fixed UI bug introduced in 2.1

    2.3(9September2012)changelog:
    -Fixed RGB and Specular Bake not being able to bake at 2048.

    2.1(30July2012)changelog:
    -added 'Exclude from Export' function to ignore specified groups from export(original group is left untouched).

    2.02(2June2012)changelog:
    -fixed: script wasn't getting all the associated bones

    2.01(29May2012)changelog:
    -oops broke vertex assignments in last update, now fixed :P

    2.0(28May2012)changelog:
    -updated for 2.63
    -fix to import multiple UVs, not just two.(some objects have three)
    -added dropshadow strength adjustment
    -geostate export is still broken by 2.63 :P

    1.45(17April2012)changelog:
    -fixed geostate editor ibuf miscalculation
    -added mesh flag checking(newest mesh helper needed)

    1.44(1February2012)changelog:
    -fixed bug - exporting missing tangents

    1.43(20January2012)changelog:
    -added export of tangents
    -added export of unknown6(was breaking objects with fullbright material setting, i.e. the inside of refrigerators)

    1.42(28October2011)changelog:
    -increased EZ Bake images size maximum to 2048x2048

    1.41(21September 2011)changelog:
    -added option to automatically triangulate all groups on export
    -makes sure all faces are selected before making into shadow mesh
    -makes sure in Object mode before export
    -fixed export error reporting
    -fixed version number not showing up in User Preferences
    -now uses .s3m2b exclusively(will no longer open .s3asc )

    1.4(14 September 2011)changelog:
    -added RGB mask baking to EZBake
    -added specular map baking to EZBake
    -added option to create sunshadow mesh
    -tweaks to speed up bake times
    -only main panel is available when no mesh object is selected(for less clutter)
    -fixed dropshadow recognition(was broken by new format)

    1.32(28 August 2011)changelog:
    -added support for new Blender 3d exclusive format(.s3m2b). .s3asc files can still be opened.
    -fixed file filtering for export, added .s3m2b to import/export filters.

    1.31a(3 July 2011)changelog:
    -Fixed 2nd UV export error

    1.31(1 July 2011)changelog:
    -Re-enabled ability to import/export multiple UVs (had been inadvertently removed)

    1.3(2 June 2011)changelog:
    -Added .s3asc filtering
    -Addon now removes from menus when disabled

    1.21(11 May 2011) changelog:
    -Fixed importer/exporter not showing up in menus

    1.2(28 April 2011) changelog:
    -Updated for 2.57(stable) release
    - Added compatibility for s3asc helpers
    -Adjusted baking settings for game-friendly bakes
    -Added Geostate editor
    -Added 'Add Lights' feature
    -Added specular and dropshadow slots to image editor
    -Added dropshadow recognition
    -Gave each major function its own panel for better visibility
    -Added Mesh Swap
    -Various other bits and pieces that i can't remember

    1.1 (2nd March, 2011) changelog:
    - Fixed bug that ignored second UV in objects with two UVs. Second UV is now included.


Additional Credits:
Thanks to Ciexari (used his scripts as a reference), Wes Howe, Inge and Peter Jones, orangemittens, and all the those who helped in testing.
Tags: #Blender, #import, #export, #2.5

Operating System: Windows
Utility Type: CC Editors Meshing Tools
Plugin Type: Blender

You must have the expansion or stuff packs listed below installed to use this custom content. Please see the post text for any exceptions.

TS3 Base Game

You need to be a Registered Member to be able to download from MTS. Registration allows you to thank and leave comments for the creators, see your download history, participate in the discussions and much more!

Quick Guide:

1. Click the file listed on the Files tab to download the file to your computer.
2. Extract the zip, rar, or 7z file. Now you will have either a .package or a .sims3pack file.

For Package files:

1. Cut and paste the file into your Documents\Electronic Arts\The Sims 3\Mods\Packages folder. If you do not already have this folder, you should read the full guide to Package files first: Sims 3:Installing Package Fileswiki, so you can make sure your game is fully patched and you have the correct Resource.cfg file.
2. Run the game, and find your content where the creator said it would be (build mode, buy mode, Create-a-Sim, etc.).

For Sims3Pack files:

1. Cut and paste it into your Documents\Electronic Arts\The Sims 3\Downloads folder. If you do not have this folder yet, it is recommended that you open the game and then close it again so that this folder will be automatically created. Then you can place the .sims3pack into your Downloads folder.
2. Load the game's Launcher, and click on the Downloads tab. Find the item in the list and tick the box beside it. Then press the Install button below the list.
3. Wait for the installer to load, and it will install the content to the game. You will get a message letting you know when it's done.
4. Run the game, and find your content where the creator said it would be (build mode, buy mode, Create-a-Sim, etc.).


Extracting from RAR, ZIP, or 7z: You will need a special program for this. For Windows, we recommend 7-Zip and for Mac OSX, we recommend Keka. Both are free and safe to use.


Need more help?

If you need more info, see:
 
Page 5 of 8
199 Comments / Replies (Who?) - 140 Feedback Posts, 51 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Test Subject
#101 Old 12th Feb 2012 at 12:36 PM
I want to create an object is there is a tutorial for it here ??

what is this program for anyway I don't see anything of it in blender exacpt a folder could bones and it have bones and pose can you explain how this works ?

when I renamed the .model to .s3m2b was it wrong to rename it? or do I need to find a program that export .model into .s3m2b?
Lab Assistant
#102 Old 16th Feb 2012 at 4:19 AM
I'm having trouble with installing the import/export helpers for getting the mesh into the right file type. i did rerad the intructions at the link you gave, but it's not very clear and really not helpful for people without much technical knowlege!

so: how do you install the import/export helpers and get them working?
Test Subject
#103 Old 16th Feb 2012 at 5:10 AM
Quote:
Originally Posted by decat
I'm having trouble with installing the import/export helpers for getting the mesh into the right file type. i did rerad the intructions at the link you gave, but it's not very clear and really not helpful for people without much technical knowlege!

so: how do you install the import/export helpers and get them working?


I had the same problem as you that we don't know how to get the file type of it which is .s3m2b so I have gone researching of a way to get it done and after about 1 day of searching I finally found that you can export it into .s3m2b using s3pe. using meshHelper-s3m2b this program will be installed there in s3pe. if your done installing this program. you will see a tag called MODL right click on it you will see then import s3m2b / export s3m2b

Then you are ready to mesh your object ! YAY!

for less complex words:

-DOWNLOAD meshHelper-s3m2b
-Install meshHelper-s3m2b
-Open S3PE -Find MODL Tag
-Right Click at your item
-Export s3m2b
-Open blender
-Go to File->Import->.s3m2b
-Nevigate your .s3m2b

YAY it ! Worked thanks alot abd123 ! No problem !

If you need other helps please tell me !
Lab Assistant
THANKS POST
#104 Old 19th Feb 2012 at 4:17 AM
I had already figured all that out- but tried uninstalling and reinstalling and seems to working now!

this downlad of blender tools is really good, it gives people another FREE option other than milkshape!
Test Subject
#105 Old 7th Mar 2012 at 8:45 AM
Default trying to find s3m2b
Quote:
Originally Posted by abd123
I had the same problem as you that we don't know how to get the file type of it which is .s3m2b so I have gone researching of a way to get it done and after about 1 day of searching I finally found that you can export it into .s3m2b using s3pe. using meshHelper-s3m2b this program will be installed there in s3pe. if your done installing this program. you will see a tag called MODL right click on it you will see then import s3m2b / export s3m2b

Then you are ready to mesh your object ! YAY!

for less complex words:

-DOWNLOAD meshHelper-s3m2b
-Install meshHelper-s3m2b
-Open S3PE -Find MODL Tag
-Right Click at your item
-Export s3m2b
-Open blender
-Go to File->Import->.s3m2b
-Nevigate your .s3m2b

YAY it ! Worked thanks alot abd123 ! No problem !

If you need other helps please tell me !


I've been trying for about half an hour now to find s3m2b to download it, but the original link given isn't working. Every link I find that seems to mention it on Google leads me to confusing pages on sourceforge...anyone who can help me out?
˙uʍop ǝpᴉsdn ǝɹ,noʎ 'oN
staff: moderator
Original Poster
#106 Old 7th Mar 2012 at 1:10 PM
The link isn't working because Simlogical is temporarily down.

Direct links:
mesh helper auto-installer(.exe)

or

mesh helper manual install(.7z)

At the sourceforge page, you just wait for a second and the download dialog pops up.

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
| ( ◡)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Test Subject
THANKS POST
#107 Old 8th Mar 2012 at 3:30 AM
Thank You!
Test Subject
THANKS POST
#108 Old 4th Apr 2012 at 6:33 PM
hello is to save the files MOD and MODL, to folder s3m2b?
Field Researcher
#109 Old 1st May 2012 at 9:36 AM
Export doesn't seem to work with the new Blender 2.63...
I guess they broke compatibility again...
Doilyrific Diabolical Disagreer who lives under a rock
#110 Old 1st May 2012 at 9:59 AM
Apparently so! Maybe it's better not to update Blender as soon as it comes out if you are dependent on compatibility with these tools
˙uʍop ǝpᴉsdn ǝɹ,noʎ 'oN
staff: moderator
Original Poster
#111 Old 1st May 2012 at 1:37 PM
Yes the tools won't work with 2.63. Bmesh has broken it. I'm currently working on an update.

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
| ( ◡)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Top Secret Researcher
DELETED POST
13th May 2012 at 4:56 PM
This message has been deleted by bluetexasbonnie. Reason: Moving to general forum, since it is probably not tool problem.
Test Subject
DELETED POST
24th May 2012 at 10:31 PM
This message has been deleted by Halie.
Test Subject
DELETED POST
24th May 2012 at 10:37 PM
This message has been deleted by Halie.
˙uʍop ǝpᴉsdn ǝɹ,noʎ 'oN
staff: moderator
Original Poster
#112 Old 24th May 2012 at 11:19 PM
Quote:
Originally Posted by Halie
if not its cool, my parents just got me a new computer so i might be able to support the sims 3 now, so this can get me ready


No, this is for TS3 objects. The plugin for sims 3 posing is here: http://www.den.simlogical.com/denfo...p41&topic=862.0

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
| ( ◡)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
˙uʍop ǝpᴉsdn ǝɹ,noʎ 'oN
staff: moderator
Original Poster
#113 Old 28th May 2012 at 10:16 PM
Updated for 2.63. Please redownload.

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
| ( ◡)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
˙uʍop ǝpᴉsdn ǝɹ,noʎ 'oN
staff: moderator
Original Poster
#114 Old 29th May 2012 at 5:06 PM
Updated again 5-29-12
I broke the vertex assignments in lats update. Fixed now.

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
| ( ◡)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Forum Resident
#115 Old 30th May 2012 at 1:33 PM
Thank you so much for updating!
˙uʍop ǝpᴉsdn ǝɹ,noʎ 'oN
staff: moderator
Original Poster
#116 Old 2nd Jun 2012 at 2:40 PM
Updated again :6-1-12
Script wasn't grabbing all the bones, now fixed.

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
| ( ◡)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Lab Assistant
#117 Old 20th Jun 2012 at 12:09 AM
Hey Cmo the only addons I see in Sims 3 MLOD/MODL tools are the import export buttons.
I dont see EZ bake or the other options
˙uʍop ǝpᴉsdn ǝɹ,noʎ 'oN
staff: moderator
Original Poster
#118 Old 20th Jun 2012 at 12:26 AM
You have to have an object selected to see the rest of the panels.

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
| ( ◡)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Test Subject
THANKS POST
#119 Old 3rd Jul 2012 at 10:20 PM
Can you make one for Sketchup as im more prone to use that?
Lab Assistant
THANKS POST
#120 Old 8th Jul 2012 at 12:37 PM
you should make your dds plugin easier to find but thanks a ton for these plugins. makes modding life so much better.
Test Subject
#121 Old 8th Aug 2012 at 3:58 PM
My meshes refuse to export. I constantly get an error from blender that missing groups are detected. I use 2.63 and I've downloaded your latest tools. Thanks for these, by the way. You are a lifesaver for so many people, including me.
˙uʍop ǝpᴉsdn ǝɹ,noʎ 'oN
staff: moderator
Original Poster
#122 Old 8th Aug 2012 at 5:44 PM
Quote:
Originally Posted by GrayOwl
My meshes refuse to export. I constantly get an error from blender that missing groups are detected. I use 2.63 and I've downloaded your latest tools. Thanks for these, by the way. You are a lifesaver for so many people, including me.


I need to know the exact process of what you are doing to tell you the problem. that error means you are exporting less groups than you imported.

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
| ( ◡)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Page 5 of 8