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

Outfit Tools - Copy Any Outfit v4

by scumbumbo Posted 18th Nov 2014 at 8:24 AM - Updated 14th Nov 2018 at 1:31 AM by scumbumbo : Version 4 updated for 1.47.49 game patch
272 Comments / replies (Who?) - 17 Feedback Posts, 6 Thanks Posts
Updated November 13, 2018 - Updated for compatibility with November 13, 2018 game patch (1.47.49).

Updated August 7, 2018: - Some of the command options have changed, so be sure to read the update notes! Be sure to remove any old copies of the mod when you update! All older versions of the mod have been removed and are no longer supported.
  • Trouble with duplicate outfit IDs. At some point the game or another mod had a bug that may have caused outfits on your Sims to share outfit IDs. This doesn't affect game play at all, but when copying outfits it can cause issues with multiple outfits being overwritten. Two new commands have been added to the mod to scan for and correct these issues.
    • outfit.checkids - Checks all the outfit IDs on every Sim in the currently loaded game for any problems. If problems are identified a list of affected Sims will be displayed. You can add an optional argument to the command, outfit.checkids detail to see a detailed list of what outfit IDs are shared between what Sims and outfits.
    • outfit.fixids - Fixes the outfit IDs for any Sims with the duplicate IDs. This is done carefully by saving any old outfit parts, generating a new outfit for the affected slot, and then restoring those saved outfit parts, resulting in a fresh outfit with all the parts that were in the original outfit.
    • Unfortunately it is not possible to automatically restore outfits that have been clobbered by previous copy attempts or by the game itself (MC Command Center's closet feature DOES NOT use the same method and won't clobber outfits unlike what I previously stated). If you have an old save game that has proper outfits for a Sim that you want to use for a restoration, you can attempt the following:
      1. Load the save game that has proper outfits.
      2. Switch to a Sim that has clobbered outfits that are good in this save.
      3. Run the outfit.backup command. This will store a binary copy of all of that Sim's outfits in a file in the same folder as the mod.
      4. Repeat steps 2-3 for each affected Sim.
      5. Load the save game that has clobbered outfits.
      6. Switch to a Sim that you have backed up the outfits for above.
      7. Run the outfit.restore command to load the outfits saved in step 2. You will receive a warning the first time you run this command. Read it! It is important or I wouldn't have it do that. After the warning, repeat the command to complete the process. The warning will be skipped for any other Sims you restore outfits for.
      8. Repeat steps 6-7 for each affected Sim.
      9. Important After the above process, be sure to run the outfit.checkids command followed by outfit.fixids to fix those restored outfits as the old save game likely has the duplicate outfit IDs!
  • Changes to the outfit copy command:
    • A minimal check of just the destination Sim will be performed prior to overwriting the outfit to ensure that the duplicate outfit ID bug will not cause issues. If the Sim has duplicate IDs that would cause outfits to get clobbered an error will be issued and the command will not overwrite the outfits.
    • Hot and cold weather outfits are now recognized. The abbreviations "ho" for "hotweather" and "co" for "coldweather" may be used. For example, outfit.copy ev 3 co 1 would copy the current Sim's everyday slot 3 outfit over their cold weather slot 1 outfit.
    • UNTESTED: Including hair in the copy process will also copy the fur outfit part. This should work, but as I don't have the Cats and Dogs expansion I can't test it.
    • UNTESTED: Ears and tails are included in the outfit copy process.
  • The outfit.new command now takes an optional slot number for the new outfit to be generated. If you are generating a new outfit for a Sim by name (not the selected Sim) then you MUST supply that slot number. For example, outfit.new ev 3 steve dallas would create a new everyday outfit in slot 3 for the Sim named Steve Dallas.
  • The reset.bathing command has been rewritten to be more careful and complete. This should solve the issues with some Sims not getting accessories such as tights removed from their bathing outfits. It is strongly suggested that you run the outfit.checkids test prior to running the bathing fix. And of course you should use the batch outfit fix from Sims 4 Studio prior to even attempting to use the bathing outfit fix in game.

Outfit Tools - Copy Any Outfit

This mod creates three new commands to the cheat console for managing outfits.

The first, "outfit.copy", will allow you to copy any outfit over any other outfit. The source or destination outfit can be any existing outfit in any cateogry including career and bathing outfits. You can use the copy command to copy your sim's career outfit to an everyday slot, modify the outfit as you see fit in CAS, and then copy it back over the original career outfit. Even the bathing outfit (nude) can be copied over the career outfit, or vice-versa.

The outfit must already exist, so if you only have two everyday outfit, you cannot copy an outfit to everyday slot three - you would need to add a new everyday outfit first prior to copying. The script will test that the destination outfit exists and display an error if the copy could not be performed. This command can only be used on the currently selected sim.

The second command is useful for sims you see on the street that you just don't like their outfit. The "outfit.new" command will allow you generate a new random outfit for any sim by name.

For both commands, once the change is successful, the sim will immediately change into the new outfit.

A third command has been added in version 2a: "fix.bathing" (or reset.bathing, whichever is easier for you to remember). This command will reset all sims bathing outfits quickly and easily. This is useful in the event that an invalid clothing item has caused sims to start bathing in clothes. Note: Be sure to fix any invalid custom content items that cause this issue before reseting all sims bathing outfits, otherwise this will not work! The Sims 4 Studio has a feature to fix the invalid CC items automatically. Once the invalid items are fixed in your mods folder, only then use this command to fix the invalid outfits in game.

READ ALL INSTRUCTIONS CAREFULLY! This mod has been extensively tested and for version 2 it was necessary to entirely rewrite the outfit copy process to be much safer than the old version. You can produce undesireable results if you do certain things, but nothing that you can't fix after the fact. For instance, if you copy an outfit from a child to an adult, or vice-versa, you will produce a hideous monster as the clothes won't fit right. Copying outfits between sims of different genders can cause odd results (typically a broken neck, not fatal but ugly) as well, although often the results can be quite satisfactory.

As this is a script mod, the script mod option must be enabled in the game.

Usage
First press CTRL-SHIFT-C to open the command console.

For the copy command, use "outfit.copy" followed by the source outfit type and number, and the destination outfit type and number. You can use just the first letter (or two letters for SLeep or SWimwear) of the outfit type if you wish. The destination slot should be from 1 to 5 and must already exist.

Version 2 of the mod also adds the ability to include a "to" target to copy an outfit from your current sim, or a "from" target to copy an outfit from another sim to your current sim. By default, only the basic clothing portions (tops, bottoms, shoes, socks, hats, jewelrey, etc.) of the outfit will be copied; however, you can add additional options to copy hair, makeup and/or tattoos. See the examples further below.

Note that a sim's career outfits get regenerated at various levels of a career path, so your career outfit might change later. This is a feature, not a bug.

The valid outfit types are:
  • Everyday
  • Formal
  • Athletic
  • SLeep
  • Party
  • SWimwear
  • Bathing
  • Career

For the new random outfit command, use "outfit.new" followed by the outfit type from above and an optional first and last name. If the name is omitted, the new outfit will be generated on the currently selected sim. Only the first outfit of a category can be randomized, but this is fine as it's designed for use on townies who only have one outfit in each category.

Note that the bathing outfit CANNOT be randomized - the game does not support it.

*PHEW* - so how about some examples to make things thoroughly clear?

Example 1 - Editing a Career Outfit
outfit.copy career 1 everyday 1 - This would copy the career outfit over the first everyday outfit. The everyday outfit can then be edited in CAS, and then...

outfit.copy everyday 1 career 1 - This command would copy the first everyday outfit over the career outfit.

Example 2 - The Naturist
outfit.copy b 1 e 1 - This would copy the bathing outfit (nude sim) over the first everyday outfit slot. This can then be repeated for each outfit category, e.g.

outfit.copy b 1 f 1 - To copy the bathing outfit over the first formal outfit slot.
outfit.copy b 1 c 1 - To copy the bathing outfit over the career outfit.

**NOTE** I've had it happen where the program states that the bathing outfit does not exist. This sometimes happens when a game has been freshly loaded. Just send that sim into the shower and back out and you can try again. If you copy over the bathing outfit, it DOES save that with the sim.

Example 3 - Use The First Two Letters for The "S" Words
outfit.copy sw 3 sl 1 - This command would copy the third swimwear outfit over the first sleep outfit.

Example 4 - New Townie Outfit
outfit.new a ben folds - This would generate a new athletic outfit for the townie named Ben Folds.

That's the basics. Version 2 adds some new features:

Example 5 - Copying an Outfit To or From Another Sim
outfit.copy e 3 to bella goth f 1 - This would copy the current sim's third everyday outfit to Bella Goth's first formal outfit.
outfit.copy c 1 from don lothario sw 1 - This would copy Don Lothario's first swimwear outfit to the current sim's career outfit.

Example 6 - Including Hair, Makeup or Tattoos
This works with both the basic copy command, and the extended "to/from" copy. The hair, makeup and tattoo options can be abbreviated to just the first letter.
outfit.copy e 1 f 2 include makeup - This would copy the current sim's first everyday outfit to their second formal outfit, including makeup but not hair or tattoos.
outfit.copy f 3 p 2 include t - This would copy from the third formal outfit to the second party outfit, including any tattoos.
outfit.copy b 1 to don lothario e 1 include h - This would copy the current sim's bathing (nude) outfit to Don Lothario's first everday outfit, including the hairstyle, facial hair, and eyebrows.
outfit.copy e 1 from bella goth e 1 include h m t - This would copy Bella Goth's first everyday outfit to the current sim including her hair, makeup and tattoos.

Installation and Compatibility

Extract the MTS_Scumbumbo_OutfitTools_v3.ts4script file from the zip file download and place it into your Mods folder. It may be placed in a subfolder if you wish, but scripts may not be placed in a sub-sub folder. For instance, the script can be placed in Mods/Scumbumbo but not Mods/Scumbumbo/ScriptMods.

As this is a script mod, you must have scripts enabled in your game options!

The script was written for The Sims 4 version 1.47.49 (November 13, 2018 game patch) but should work with newer versions.

The script source is included in the ts4script file. Since this is a new command added to the game, it should not conflict with any other mods.

Additional Credits
  • The folks at Mod The Sims for hosting my mods. If you like this mod, DONATE to help keep the site going!
  • A big thanks to Deaderpool for figuring out the methods of accessing the game outfits after the Dec 4, 2015 game patch and sharing that info!

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

Sims 4
Built with Game Version: 1.47.49
Key: - File was updated after upload was posted
Filename - Tip: You can click the magnifying glass to see the archive contents Size Downloads Date
OutfitTools.zip | Latest version of Outfit Tools to add commands to copy or randomize outfits

Size: 13.4 KB · Downloads: 21,008 · 14th Nov 2018
13.4 KB 21,008 14th Nov 2018
Don't forget to Thank the creator after downloading! Use the Thanks button located above the screenshots above.
Basic Download and Install Instructions:
1. Download: Click the File tab to see the download link. Click the link to save the .rar or .zip file(s) to your computer.
Read the upload description for installation instructions. If nothing else is specified, do the following:
2. Extract: Use WinRAR (Windows) to extract the .package file(s) (if included, ts4script as well) from the .rar or .zip file(s).
3. Cut and paste the .package file(s) (if included, ts4script as well) into your Mods folder
  • Windows XP: Documents and Settings\(Current User Account)\My Documents\Electronic Arts\The Sims 4\Mods\
  • Windows Vista/7/8/8.1: Users\(Current User Account)\Documents\Electronic Arts\The Sims 4\Mods\

Need more information?
  • Anyone can use both .rar and .zip files easily! On Windows, use WinRAR.
  • If you don't have a Mods folder, just make one.
  • Mod still not working? Make sure you have script mods enabled
 
272 Comments / Replies (Who?) - 181 Feedback Posts, 81 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Page 11 of 11
Test Subject
#251 Old 25th Dec 2018 at 4:19 PM
I can successfully copy outfits but it only lasts until I close the game.
Deceased
Original Poster
#252 Old 31st Dec 2018 at 4:48 AM
Quote:
Originally Posted by Jezzster
I was wondering how difficult it would be to write Python script to copy a specific body part from one sim to another? Like say just a hat or an accessory. Or even to copy a specific CAS item if you knew it's instance number?

The former is easy enough. For instance, the lines 292-295 of the current script version identify the part numbers that get copied for each type of copy (clothing/hair/makeup/tattoos). These lists are then passed to the outfit_copy_parts() method for each type of copy that is enabled.

Copying a specific CAS item by instance number is less easy. I'm not sure if I ever got that working or if I gave up, but I do recall playing around with it and runniing into issues. The problem had to do with the communication between the Python scripts and the user interface which actually controls and stores the outfit data. Python just gets a kind of mirror copy of the outfit data, and what it sends back has to be properly setup.

Temporarily changing a CAS item by using a modifier can be done just through XML, but an actual permanent change is more problematic. I may play around with that one day, but I've got no end of works in progress right now to deal with. Mostly stuff for other modders to use, no time for my own stuff anymore it seems, lol
Deceased
Original Poster
#253 Old 31st Dec 2018 at 4:59 AM
Quote:
Originally Posted by Zasz
I can successfully copy outfits but it only lasts until I close the game.

This can occur either due to invalid outfit IDs, or caused by WW Nudity Assurance. See the mod description page for instructions on using the outfit.checkids and outfit.fixids commands, and/or turn off that nudity assurance setting in WW.
Test Subject
#254 Old 16th Feb 2019 at 8:47 PM
Thanks for an awesome mod! Can I also copy a townies everyday outfit to lets say her hot weather outfit, or does it just copy to or from my current sim?
Deceased
Original Poster
#255 Old 17th Feb 2019 at 12:32 AM
Quote:
Originally Posted by leannasteel
Thanks for an awesome mod! Can I also copy a townies everyday outfit to lets say her hot weather outfit, or does it just copy to or from my current sim?

There's currently no way to do this without using a temporary outfit on the current sim. It's not that it wouldn't be possible, I just always felt like the copy command is complex enough already without adding new complexity to it. I've considered writing a UI for this which would allow you to select a Sim from a picker, then an outfit from a picker, then a destination Sim and finally the destination outfit - but I've never gotten around to that, and quite possibly never will.

So yeah, in the meantime the easiest way to accomplish this is to create a temporary outfit slot on your current sim, copy the outfit from the townie to the current sim, and then copy it back to the townie at the desired slot. Repeat until you're done doing copies and then remove that temporary outfit slot from your current sim.
Test Subject
#256 Old 17th Feb 2019 at 12:00 PM
Quote:
Originally Posted by scumbumbo
There's currently no way to do this without using a temporary outfit on the current sim. It's not that it wouldn't be possible, I just always felt like the copy command is complex enough already without adding new complexity to it. I've considered writing a UI for this which would allow you to select a Sim from a picker, then an outfit from a picker, then a destination Sim and finally the destination outfit - but I've never gotten around to that, and quite possibly never will.

So yeah, in the meantime the easiest way to accomplish this is to create a temporary outfit slot on your current sim, copy the outfit from the townie to the current sim, and then copy it back to the townie at the desired slot. Repeat until you're done doing copies and then remove that temporary outfit slot from your current sim.


I see, totally understand the complexity and will try your suggestion. Btw, the bathing fix solved my nudity problem so easy. Thanks for the quick reply!
Test Subject
#257 Old 8th Mar 2019 at 2:31 AM
This may be an issue with another mod and if that's the case I'm sorry, but I don't think I've got anything that conflicts - but I'm having an issue with the bathing outfit saving properly. I've got a sim with horns/accessories I don't want falling off in the shower, and while I've set a 'nude' outfit for him in his sleepwear, even though the dialogue says I've copied that outfit to bathing properly, it only lasts about one shower before it reverts.

Is this normal, or a random bug I've found?

Thanks!
Deceased
Original Poster
#258 Old 8th Mar 2019 at 6:25 PM
@thecatsred13 Sounds like the nudity assurance thing in WW. There used to be a setting for turning that off, then Turbo removed it but I think due to popular demand the setting was added back. Not 100% sure what it's intended to do or why it breaks the bathing outfit, but I guess turning it off fixes things so regenerating the bathing outfit fix will work.
Test Subject
#259 Old 21st Mar 2019 at 1:24 PM
Quote:
Originally Posted by thecatsred13
This may be an issue with another mod and if that's the case I'm sorry, but I don't think I've got anything that conflicts - but I'm having an issue with the bathing outfit saving properly. I've got a sim with horns/accessories I don't want falling off in the shower, and while I've set a 'nude' outfit for him in his sleepwear, even though the dialogue says I've copied that outfit to bathing properly, it only lasts about one shower before it reverts.

Is this normal, or a random bug I've found?

Thanks!

Assuming you are using Wicked Whims, Wicked Whims assumes full control of the bathing outfit when undressing sims for animations and while bathing. Long story short, I had a "satyr" sim that had fur that was equipped via the "bottom" category. I wanted to make sure that all of the equipped clothing stayed dressed with, horns, tail, fur, (lots of items that would be flagged for undressing by WW for both "animations" and while bathing. Its a bit finicky, but using WW settings and THIS MOD (a necessity to get it to work correctly) you can get the two to cooperate properly in both situations. However, the Nudity Assurance Check option that scumbumbo referenced a few comments above is %100 necessary for cooperation (or at least it was the last time I tried) If it was removed, it may prove difficult to achieve your goal, however It has been a while since I have delved that deep into WWs options and there may be another way. It may take some trial and error.

*Edit*
I'm sorry, that was a terrible explanation. . . Simplified. . . You set the bathing outfit via this mod, but WW "creates" its own bathing outfit, so that it can manage "nudity" states during animations, and while bathing. What you have to do is override this and get WW to recognize the bathing outfit that you created as the "nude state" not the one that WWs generates. . . I hope that makes sense.
Test Subject
#260 Old 25th Mar 2019 at 7:11 PM
Hello, Scumbumbo. Is it possible for to release the previous versions of this mod? I haven't updated my game past the seasons update, due to the game breaking almost all of my favorite mods. Anyways, thank you for all that you do for community!
Deceased
Original Poster
#261 Old 25th Mar 2019 at 9:49 PM
Quote:
Originally Posted by designsbythestorm23
Hello, Scumbumbo. Is it possible for to release the previous versions of this mod?

While I empathize with your plight (and others who avoid game patches for this reason), I have made a strict rule for myself to not try to retain and support older versions of mods. It just became a real support hassle to do that, more confusing for players, and I much prefer avoiding it.
Test Subject
THANKS POST
#262 Old 26th Mar 2019 at 1:40 AM
Oh...okay....thank you so much anyway though.
Test Subject
THANKS POST
#263 Old 10th Apr 2019 at 11:53 PM
I was able to reset the bathing outfit but I cant figure out how to copy the bathing outfit. I made sure to add an every day slot before I used the command
Deceased
Original Poster
#264 Old 11th Apr 2019 at 9:15 PM
Quote:
Originally Posted by Solikepink
I was able to reset the bathing outfit but I cant figure out how to copy the bathing outfit. I made sure to add an every day slot before I used the command

Yes, the syntax for copying outfits is well and truly horrible. The mod author should probably be flogged for such confusion. Okay, that's probably a bit severe, but maybe you get my point - I'm aware of how horrid that syntax is but simply have never gotten around to making it better. Someday...

In the meantime, the answer can vary depending on if you're trying to just copy the bathing outfit to another slot or if you're trying to copy the bathing outfit to or from one sim to another. I'll give three examples and hopefully one of these will suit your needs:

Copy the bathing outfit to the everyday slot 1 on the same sim:
outfit.copy b 1 e 1

Copy bathing outfit from sim John Doe to the current sim's everyday 1 slot:
outfit.copy e 1 from john doe b 1

Copy bathing outfit from the current sim to John Doe's everday 1 slot:
outfit.copy b 1 to john doe e 1
Instructor
#265 Old 12th May 2019 at 6:20 AM Last edited by Celebriton : 12th May 2019 at 8:08 AM.
I wonder if this working with Season clothes like Hot Weather and Cold Weather?

I tried to copy from Everyday to Hot Weather with "outfit.copy Everyday 1 HotWeather 1", but nothing happened. Sims just change their cloth to Hot Weather cloth, but not copying.
Deceased
Original Poster
#266 Old 15th May 2019 at 2:02 AM Last edited by scumbumbo : 15th May 2019 at 2:13 AM.
Quote:
Originally Posted by Celebriton
I wonder if this working with Season clothes like Hot Weather and Cold Weather?

I tried to copy from Everyday to Hot Weather with "outfit.copy Everyday 1 HotWeather 1", but nothing happened. Sims just change their cloth to Hot Weather cloth, but not copying.

Hmm, this was definitely working for me in the past I'll have to give that a test.

ETA: Hmm, this is definitely still working for me, was able to copy the bathing outfit to cold weather, and the everyday outfit to hot weather - went into CAS and it showed that the change was successful/permanent. Maybe try copying a different outfit, I'm not sure how but perhaps something in the outfit you are trying to copy is causing an issue?

Also you might check you are using the most current version of the mod and a fully-patched game.
Lab Assistant
THANKS POST
#267 Old 4th Jul 2019 at 12:55 AM
This mod need update for Island Patch?
Lab Assistant
#268 Old 4th Jul 2019 at 2:21 AM
Quote:
Originally Posted by guedespoa
This mod need update for Island Patch?


It works perfectly in patch 1.52

Hello!
My tumblr and blogspot where I also tell the story of my sims. Come visit me!
Test Subject
THANKS POST
#269 Old 14th Aug 2019 at 8:21 AM
Better than this mod is this method: https://forums.thesims.com/en_uS/di...ode-copy-outfit

u can copy everything: makeup,hair, clothes, etc from one category to another.. It's working perfect for me.
Lab Assistant
#270 Old 15th Aug 2019 at 1:19 PM
Quote:
Originally Posted by Mix77
Better than this mod is this method: https://forums.thesims.com/en_uS/di...ode-copy-outfit

u can copy everything: makeup,hair, clothes, etc from one category to another.. It's working perfect for me.


Huh, neat. I never knew that cheat existed. Still, I'm glad to have this mod version. The cheat code does not appear to allow copying from one Sim to another, only outfits on the current Sim. Also, it doesn't appear to allow you to select the target costume slot, only the category -- not sure how that works out. And this also has other very useful commands.

So personally, I hope this mod sticks around for a good long time!
Test Subject
THANKS POST
#271 Old 10th Sep 2019 at 2:12 AM
Thank you so much! This mod is amazing, keep up the great work :)
Field Researcher
THANKS POST
#272 Old 30th Sep 2019 at 11:06 PM
Thank you very much. Long after I give up on Sims 4, I will remember your name fondly.
Test Subject
#273 Old 20th Dec 2019 at 12:51 PM Last edited by lovelight : 21st Dec 2019 at 7:00 PM.
After using this mod to copy outfit all of my outfits start from 0 not 1, so for example, have 5 everyday outfits, they number from 0 to 4. Also the bathing outfit is 0. Not a issue for gameplay it seems but can´t use outfit.copy because 0 is not valid. It worked fine before (changed bathing outfit yesterday with success), no idea how it got messed up. Any ideas how to fix it?

Edit - i looked other sims, their outfits also start from 0. Figured i take older save, but same issue there and i know in that load file it was fine before.
Page 11 of 11