Sims 4: Guides: Difference between revisions
No edit summary |
Johann7124 (talk | contribs) Marked this version for translation |
||
Line 1: | Line 1: | ||
<translate> | <translate> | ||
=Modding Guides(Sims 4)= | =Modding Guides(Sims 4)= <!--T:1--> | ||
Here you find the guides for making your own mods to The Sims 4, basically animations and specially WickedWhims. | Here you find the guides for making your own mods to The Sims 4, basically animations and specially WickedWhims. | ||
==Decompile ''.ts4script'' files== | ==Decompile ''.ts4script'' files== | ||
Line 6: | Line 6: | ||
You will find compiled ".pyo" files, in order to be modified you may need to decompile those. Finally you'd be able to edit them, than compile and archive again. | You will find compiled ".pyo" files, in order to be modified you may need to decompile those. Finally you'd be able to edit them, than compile and archive again. | ||
===Requirements=== | ===Requirements=== <!--T:2--> | ||
#[https://www.python.org/download/releases/3.3.3/ Python v3.3.3] | #[https://www.python.org/download/releases/3.3.3/ Python v3.3.3] | ||
#A text editor (Like [http://notepad-plus-plus.org/ Notepad++]) | #A text editor (Like [http://notepad-plus-plus.org/ Notepad++]) | ||
Line 35: | Line 35: | ||
Now you got all your ''.py'' files into your folder, the second ''.bat'' deletes the ''.pyo'' files. | Now you got all your ''.py'' files into your folder, the second ''.bat'' deletes the ''.pyo'' files. | ||
==Converting existing adult WW animations== | ==Converting existing adult WW animations== <!--T:3--> | ||
''By Alec15'' <ref>ATF: [https://allthefallen.moe/index.php?/topic/5724-sims-4%C2%A0whickedwhims/#entry185533 Alec15]</ref> | ''By Alec15'' <ref>ATF: [https://allthefallen.moe/index.php?/topic/5724-sims-4%C2%A0whickedwhims/#entry185533 Alec15]</ref> | ||
<!--T:4--> | |||
This is a tutorial for converting existing WW animations into child animations. | This is a tutorial for converting existing WW animations into child animations. | ||
<!--T:5--> | |||
If you want to create animations from scratch, follow TURBODRIVERs tutorial on the original WW page. | If you want to create animations from scratch, follow TURBODRIVERs tutorial on the original WW page. | ||
You can use the rigs provided here. | You can use the rigs provided here. | ||
<!--T:6--> | |||
Below are two methods for converting animations. The first uses normal rigs, and the second uses IK rigs. | Below are two methods for converting animations. The first uses normal rigs, and the second uses IK rigs. | ||
The IK rig method is faster and gives good results, but can be a bit tricky. | The IK rig method is faster and gives good results, but can be a bit tricky. | ||
Line 49: | Line 52: | ||
This tutorial is meant as a starting point for conversions. | This tutorial is meant as a starting point for conversions. | ||
It wont give you a finished conversion, you will have to fiddle with the adjustments until you like them | It wont give you a finished conversion, you will have to fiddle with the adjustments until you like them | ||
===Requirements=== | ===Requirements=== <!--T:7--> | ||
* Basic knowledge of Blender | * Basic knowledge of Blender | ||
* Basic knowledge of the Dope Sheet, F-Curve Editor and Keyframes. See [http://wickedwhims.tumblr.com/post/145448014836/tutorials TURBODRIVER's Tutorial] | * Basic knowledge of the Dope Sheet, F-Curve Editor and Keyframes. See [http://wickedwhims.tumblr.com/post/145448014836/tutorials TURBODRIVER's Tutorial] | ||
Line 94: | Line 97: | ||
#Repeat for every additional actor in the complete animation. | #Repeat for every additional actor in the complete animation. | ||
<!--T:8--> | |||
''You should now have a Scene in Blender for each actor.'' | ''You should now have a Scene in Blender for each actor.'' | ||
<div class="toccolours mw-collapsible mw-collapsed"> | <div class="toccolours mw-collapsible mw-collapsed"> | ||
Line 100: | Line 104: | ||
''I'm using TURBODRIVERs builtin animations from WW here'' | ''I'm using TURBODRIVERs builtin animations from WW here'' | ||
<!--T:9--> | |||
The complete cowgirl animation consists of: | The complete cowgirl animation consists of: | ||
<!--T:10--> | |||
*TURBODRIVER_cowgirl_1_male.blend | *TURBODRIVER_cowgirl_1_male.blend | ||
*TURBODRIVER_cowgirl_1_female.blend | *TURBODRIVER_cowgirl_1_female.blend | ||
<!--T:11--> | |||
#Open TURBODRIVER_cowgirl_1_male.blend | #Open TURBODRIVER_cowgirl_1_male.blend | ||
#Append TURBODRIVER_cowgirl_1_female.blend\Scene\Scene | #Append TURBODRIVER_cowgirl_1_female.blend\Scene\Scene | ||
Line 118: | Line 125: | ||
**If you are going to use an child female, append the Edited Child Female Rig. | **If you are going to use an child female, append the Edited Child Female Rig. | ||
|} | |} | ||
====Exchanging Rigs and Animations in Blender==== | ====Exchanging Rigs and Animations in Blender==== <!--T:12--> | ||
{| style="background-color:#f8f9fa; border: 1px solid #eaecf0;" | {| style="background-color:#f8f9fa; border: 1px solid #eaecf0;" | ||
| | | | ||
Line 193: | Line 200: | ||
</div> | </div> | ||
<div class="mw-collapsible mw-collapsed"> | <div class="mw-collapsible mw-collapsed"> | ||
===Method 2=== | ===Method 2=== <!--T:13--> | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
====Exporting Animations==== | ====Exporting Animations==== | ||
Line 214: | Line 221: | ||
*You might want to turn off the eye controllers, if the eyes look all weird.<br/>''You can do this by digging down in the rig in the outliner to the b__L/R_Eye__, b__L/R_LoLid__ and b__L/R_UpLid__ and disable (eye button in the Bone Constraints) the Copy Rotation''. | *You might want to turn off the eye controllers, if the eyes look all weird.<br/>''You can do this by digging down in the rig in the outliner to the b__L/R_Eye__, b__L/R_LoLid__ and b__L/R_UpLid__ and disable (eye button in the Bone Constraints) the Copy Rotation''. | ||
<!--T:14--> | |||
*The IK rigs have IK chains in the spine, neck, head, jaw, arms and legs. From the clavicle to the hand and thigh to foot. | *The IK rigs have IK chains in the spine, neck, head, jaw, arms and legs. From the clavicle to the hand and thigh to foot. | ||
{| style="background-color:#f8f9fa; border: 1px solid #aaa;" | {| style="background-color:#f8f9fa; border: 1px solid #aaa;" | ||
Line 287: | Line 295: | ||
*Save! | *Save! | ||
|} | |} | ||
====Turning you animation into a WW animation==== | ====Turning you animation into a WW animation==== <!--T:15--> | ||
Same as [[#Turning you animation into a WW animation | Method 1]] | Same as [[#Turning you animation into a WW animation | Method 1]] | ||
</div> | </div> |
Revision as of 04:15, 8 July 2017
Modding Guides(Sims 4)
Here you find the guides for making your own mods to The Sims 4, basically animations and specially WickedWhims.
Decompile .ts4script files
These are simply a .zip format file containing a python script mod, renamed to .ts4script. So, to open it, just rename the file to ".zip" and extract.
You will find compiled ".pyo" files, in order to be modified you may need to decompile those. Finally you'd be able to edit them, than compile and archive again.
Requirements
- Python v3.3.3
- A text editor (Like Notepad++)
- This python script (unpyc3.py).
Steps
@echo off for /r %%i in (*) do unpyc3.py "%%i" > %%i.py pause
for /r . %%i in (*.pyo) do del "%%i" for /r . %%i in (*.pyo.py) do ren "%%i" "%%~ni" for /r . %%i in (*.pyo) do ren "%%i" "%%~ni.py" pause
|
Now you got all your .py files into your folder, the second .bat deletes the .pyo files.
Converting existing adult WW animations
By Alec15 [3]
This is a tutorial for converting existing WW animations into child animations.
If you want to create animations from scratch, follow TURBODRIVERs tutorial on the original WW page. You can use the rigs provided here.
Below are two methods for converting animations. The first uses normal rigs, and the second uses IK rigs. The IK rig method is faster and gives good results, but can be a bit tricky. If you don't know what IK rigs are, I suggest using the first method.
This tutorial is meant as a starting point for conversions. It wont give you a finished conversion, you will have to fiddle with the adjustments until you like them
Requirements
- Basic knowledge of Blender
- Basic knowledge of the Dope Sheet, F-Curve Editor and Keyframes. See TURBODRIVER's Tutorial
- Blender
- Sims 4 Studio
- Edited Male Rig
- Edited Female Rig
- Edited Child Male Rig
- Edited Child Female
Method 1
Exporting Animations
|
You should now have a .blend file for each actor in each animation. Make working copies of each, so that you can always revert to the original, if you make a mistake later on. |
Importing rigs into Blender
Each complete WW animation has a .blend file for each actor. If the original mod creator has been orderly with the naming you should easily, be able to recognise which files make up a complete animation. |
You should now have a Scene in Blender for each actor. Example I'm using TURBODRIVERs builtin animations from WW here The complete cowgirl animation consists of:
You need to import the rigs for all the actors you want in your final animation.
|
Exchanging Rigs and Animations in Blender
|
You should now have all the actors you need for your final animation in the top Scene.
|
You should now have your actors in one scene with the original animations applied. |
Manipulating Animations
|
Turning you animation into a WW animation
|
Method 2
Exporting Animations
Same as Method 1
Importing rigs into Blender
|
Exchanging Rigs and Animations in Blender
Same as Method 1
Manipulating Animations
Once you have done all the rough changes using the procedure above, you can adjust the details of the rig using IK.
Example (you have keyed two extremes and the first frame):
Example (you have keyed several similar extremes and the first frame):
|
Turning you animation into a WW animation
Same as Method 1
References
- ↑ TheSims: How to make and edit pyo files
- ↑ ModTheSims: How to change the simulation clock speed by changing maxis scripts
- ↑ ATF: Alec15