MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...

Blender 2.65 TS3 Slot Editor Updated 6-23-17?!

by cmomoney Posted 26th Sep 2011 at 6:16 PM - Updated 23rd Jun 2017 at 7:24 AM by cmomoney
33 Comments / replies (Who?) - 12 Feedback Posts, 12 Thanks Posts
Picked Upload! This is a picked upload! It showcases some of the best talent and creativity available on MTS and in the community.

What it's for...

This script is for importing RSLT(slot) files into Blender 3D 2.65. The slots can be imported over a mesh, then moved to the desired position. Slots can also be added and deleted, and it works on routing, container, effect, and IKtarget slots. Additionally, slot flags(for container slots) can also be edited.

Installation:

1. Download and extract the "io_TS3_rslt.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_rslt.py" and click "Install Add-On". Sims 3 RSLT Editor is added to the the list.
6. Click the check box on the right in the list. The importer is added to the File->Import menu, and the TS3 RSLT Editor panel is added to the Properties Editor under Scene.

Importing:

note: You may need to rename the the RSLT file to filename.slot. Renaming is really only necessary for files with long names, because Blender has a limit.
Start Blender, load/make your mesh, and go to File->Import->Sims 3 RSLT. Navigate to the your folder and select the .slot file. Slots will be represented as axes.



Editing:
To move a slot:
Right-click to select the slot and press 'G' or use the 3D transform widget(the red, blue, and green axis).

To delete a slot:
Select the slot and press 'X'.

To add a new slot:
Click the 'Make New Slot' button. In the dialog, add the name, bone name(FNV32hash w/o the '0x'), and select the type of slot you want to create, then press OK.


To edit container slot flags:
If you know the value, enter it(without the '0x') in the 'Flag Value' box. If you don't know the value, just click the 'Edit Flags' button and check the flags you want in the dialog.


Exporting:
To export, just go to File->Export->Sims 3 RSLT and select the original .slot file. A backup of the the original will be made, and the new slot file will be named as the original. (In the S3PE import or replace dialog, you have to change the file type to 'All files' to see files that have had the name shortened.)

changelog:
version???(6-23-17??)
fixed broken rotations

version1.4(1-25-13)
-update for 2.65

changelog:
version1.3(7-8-12):
-fix to import/export offsets
-fix for small object slot flag

changelog:
version1.2(11-2-11):
-names for new slots are automatically hashed(thanx atavera).

version1.1 (10-12-2011):
-added toggle buttons for x-ray visibility of slots.

Additional Credits:
Thanks to Inge and Peter Jones for their help.
Tags: #Blender, #slots, #slot, #rslt

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.

Sims 3
Key: - File was updated after upload was posted
Filename - Tip: You can click the magnifying glass to see the archive contents Size Downloads Date
io_TS3_rslt.rar

Size: 5.6 KB · Downloads: 549 · 23rd Jun 2017
5.6 KB 549 23rd Jun 2017
Don't forget to Thank the creator after downloading! Use the Thanks button located above the screenshots above.
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:
 
33 Comments / Replies (Who?) - 16 Feedback Posts, 15 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Page 1 of 2
Instructor
THANKS POST
#2 Old 27th Sep 2011 at 2:48 AM
Very Cool! Thanks CMO!
Forum Resident
THANKS POST
#3 Old 27th Sep 2011 at 4:28 AM
Wonderful work and a great alternative to people who do not use TSRW. Must have!
1978 gallons of pancake batter
THANKS POST
#4 Old 30th Sep 2011 at 6:42 AM
Very useful indeed.
Lab Assistant
THANKS POST
#5 Old 9th Oct 2011 at 8:13 AM
I love this tool! I really like it that I can now snap the slots to the mesh in Blender and get them easily arranged.

I am still going to add the new slots in TSRW though, there you can enter the slot name in plain text. But arranging the slots is definitely much easier with this tool.
˙uʍop ǝpᴉsdn ǝɹ,noʎ 'oN
Original Poster
#6 Old 12th Oct 2011 at 9:33 PM
Updated: added buttons to toggle x-ray visibility of slots.

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
| (• ◡•)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Field Researcher
THANKS POST
#7 Old 1st Nov 2011 at 3:58 PM
Thank you
˙uʍop ǝpᴉsdn ǝɹ,noʎ 'oN
Original Poster
#8 Old 2nd Dec 2011 at 7:55 PM
Updated: Now new slot names get automatically hashed.

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
| (• ◡•)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Lab Assistant
THANKS POST
#9 Old 4th Mar 2012 at 6:06 PM
I think I love you.
Test Subject
THANKS POST
#10 Old 30th Jul 2012 at 6:35 AM
I'v Wanted to make some Poses! Thanks!!!!!!
Lab Assistant
DELETED POST
21st Aug 2012 at 7:29 PM
This message has been deleted by Cat_Kira.
Field Researcher
#11 Old 19th Jun 2014 at 6:55 AM
Default Error message after importing
I just cannot get this to work. After I go File->Import->Sims 3 RSLT and choose the file, I get the error message that I have attached a picture of.

If I understood correctly I changed the name of io_TS3_rslt.py to filename.slot, in my case my mesh is called table so I renamed it table.slot and I get that message. If I dont change the name at all and just chose the file io_TS3_rslt.py after I have gone File->Import->Sims 3 RSLT, same thing. I am confused, I need more hand holding.

I would love to use this instead TRWS, looks very handy and easy to control! Thanks for your other blender tools, I am really starting to love working with blender.
Screenshots
˙uʍop ǝpᴉsdn ǝɹ,noʎ 'oN
Original Poster
#12 Old 19th Jun 2014 at 1:30 PM
I don't understand. Why are you trying to import the script with the script? You are supposed to importing a .slot file that you have exported from s3pe. Also, renaming (the slot file, NOT the script) may no longer be necessary as I think this was fixed in Blender.

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
| (• ◡•)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Field Researcher
THANKS POST
#13 Old 20th Jun 2014 at 1:31 PM
Well, that's a good question! Maybe next time I'll sleep first and try again next day before coming over here to ask.

Yeah, I didnt need to rename anything once I directed blender into right folder.

Thanks again, works beautifully. And sorry for bothering you with the most stupid question of all time.
Guest
THANKS POST
#14 Old 10th Jan 2015 at 5:02 PM
Thanks, this is great!
Lab Assistant
THANKS POST
#15 Old 9th Mar 2015 at 8:59 PM
Absolutely fantastic! Now I have to go learn how to make objects :P
Test Subject
THANKS POST
#16 Old 5th May 2016 at 11:34 PM
WOW! You make it look so easy! I will go download blender and try this out!!!! Thanks!
Instructor
#17 Old 9th Jun 2017 at 5:45 PM
@cmomoney

Thanks for this very useful script. Would it be possible to incorporate slot rotation as well?

Thanks again!

Own Grandma's Canning Station? Check out the Canning Station Overhaul.
Like doing laundry? Check out the Infinite Laundry Buffs Fix.
˙uʍop ǝpᴉsdn ǝɹ,noʎ 'oN
Original Poster
#18 Old 18th Jun 2017 at 9:43 PM
Quote:
Originally Posted by Butterbot
@cmomoney

Thanks for this very useful script. Would it be possible to incorporate slot rotation as well?

Thanks again!


Been a long time, but I'm pretty sure rotation already works.

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
| (• ◡•)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Instructor
#19 Old 19th Jun 2017 at 3:17 AM
@cmomoney

Thanks for replying. It didn't seem to work when I first tried this a few months ago. I tried it again just now in case my memory is faulty.

I'd like to add a deco container slot on top of a small, decorative wedge-shaped object (a file folder). Below are the reference model and RSLT resource imported into Blender. I've moved and rotated the deco slot on the x-axis such that the slot follows the slope on top of the object:



The modified RSLT is then exported from Blender and imported via S3PE into the object's .package. To verify that the changes saved correctly, I then imported it into TSRW. The slot doesn't appear to be rotated correctly:



To rule out a TSRW-specific issue, I also re-imported the modified RSLT (that was exported from Blender) back into Blender. The slot's rotation no longer follows the top of the object:



Although I didn't have the chance to test in-game this time, the slot rotation was incorrect in-game as well when I last encountered this problem several months ago. I can upload the .package file in question if needed.

Thanks again for your help!

Own Grandma's Canning Station? Check out the Canning Station Overhaul.
Like doing laundry? Check out the Infinite Laundry Buffs Fix.
˙uʍop ǝpᴉsdn ǝɹ,noʎ 'oN
Original Poster
#20 Old 19th Jun 2017 at 9:38 PM
Quote:
Originally Posted by Butterbot
Thanks again for your help!


From what I can see, it's negating the rotation. So if you rotate 90 degrees, exporter is making it -90 degrees. Are you using an old Blender or new, because I tried with the new and it negated, but I know for a fact it was working with the old. A work around would be to rotate the slot the way you want it, then make the numbers negative in the transform-> rotation fields. That way it will export correctly.

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
| (• ◡•)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Instructor
#21 Old 20th Jun 2017 at 6:00 AM
@cmomoney

Thanks for the quick reply and explanation. I'm using version 2.70, which, while newer than 2.65, is not the newest version of Blender. Is this something relatively straightforward to to address in python?

Own Grandma's Canning Station? Check out the Canning Station Overhaul.
Like doing laundry? Check out the Infinite Laundry Buffs Fix.
˙uʍop ǝpᴉsdn ǝɹ,noʎ 'oN
Original Poster
#22 Old 20th Jun 2017 at 3:43 PM
Quote:
Originally Posted by Butterbot
@cmomoney

Thanks for the quick reply and explanation. I'm using version 2.70, which, while newer than 2.65, is not the newest version of Blender. Is this something relatively straightforward to to address in python?


see if this works
Download - please read all instructions before downloading any files!
File Type: rar io_TS3_rslt.rar (5.6 KB, 6 downloads)

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
| (• ◡•)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Instructor
#23 Old 20th Jun 2017 at 8:16 PM
@cmomoney

Wow, thanks updating the script! I just tried it and rotating around x-axis seems to work as expected now. However, y and z appear to suffer from the same issue.

Slot rotated around y-axis:


Re-imported to check rotation:


Slot rotated around z-axis:


Re-imported to check rotation:


Thanks again for looking into this!

Own Grandma's Canning Station? Check out the Canning Station Overhaul.
Like doing laundry? Check out the Infinite Laundry Buffs Fix.
˙uʍop ǝpᴉsdn ǝɹ,noʎ 'oN
Original Poster
#24 Old 21st Jun 2017 at 6:33 AM
okay then, try this one
Download - please read all instructions before downloading any files!
File Type: rar io_TS3_rslt.rar (5.6 KB, 14 downloads)

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
| (• ◡•)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Instructor
THANKS POST
#25 Old 23rd Jun 2017 at 2:39 AM
@cmomoney

Sorry for the late reply. Just got a chance to test the new script now and it works for all three axes. Thank you so much--I really appreciate you going the extra mile and updating the script!
Page 1 of 2