|
Post by steven95 on Feb 20, 2022 7:15:39 GMT -5
What is the process for this? I can't find any tutorials.
Wicked Whims added bones for the male genitalia, so surely there must be some kind of process to this? Like what if I wanted to add a bone for the nose?
|
|
|
Post by mauvemorn on Feb 20, 2022 8:52:00 GMT -5
|
|
|
Post by steven95 on Feb 21, 2022 6:24:38 GMT -5
Sadly that is not working due to an error:
The Sims 4 Studio - Version 3.1.5.7 System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException: File "<string>", line 2, in <module> File "C:\ProgramData\S4Studio\Scripts\objectexporter.py", line 14, in <module> save_lod(mlod,geometry_state) File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\blender.py", line 396, in save_lod preserve_mesh(m, new_mesh) File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\blender.py", line 201, in preserve_mesh offset = vbuf.buffer.write_vertices(vrtf, vertices, uv_scales, pos_scales) File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 653, in write_vertices self.write_vertex(vrtf, vertex, uvscales, posscales) File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 722, in write_vertex raise e File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 718, in write_vertex self.write_element(declaration, data, uvscales, posscales) File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 763, in write_element scalar = math.floor(1.0 / pos_scales[declaration.usage_index]) IndexError: list index out of range
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version) at S4Studio.Blender.BlenderUtilities.ImportMlod(String fileName, String mlod, String rig, String state) at S4Studio.ViewModels.ObjectLodItem.ImportMesh(BlenderUtilities blender_util, String blender_path) at S4Studio.ViewModels.ObjectLodItem.<>c__DisplayClass49_0.<ImportMesh>b__0() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- ---> (Inner Exception #0) S4Studio.Blender.BlenderException: File "<string>", line 2, in <module> File "C:\ProgramData\S4Studio\Scripts\objectexporter.py", line 14, in <module> save_lod(mlod,geometry_state) File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\blender.py", line 396, in save_lod preserve_mesh(m, new_mesh) File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\blender.py", line 201, in preserve_mesh offset = vbuf.buffer.write_vertices(vrtf, vertices, uv_scales, pos_scales) File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 653, in write_vertices self.write_vertex(vrtf, vertex, uvscales, posscales) File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 722, in write_vertex raise e File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 718, in write_vertex self.write_element(declaration, data, uvscales, posscales) File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 763, in write_element scalar = math.floor(1.0 / pos_scales[declaration.usage_index]) IndexError: list index out of range
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version) at S4Studio.Blender.BlenderUtilities.ImportMlod(String fileName, String mlod, String rig, String state) at S4Studio.ViewModels.ObjectLodItem.ImportMesh(BlenderUtilities blender_util, String blender_path) at S4Studio.ViewModels.ObjectLodItem.<>c__DisplayClass49_0.<ImportMesh>b__0() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute()<---
|
|
|
Post by mauvemorn on Feb 21, 2022 7:34:33 GMT -5
Seems like you are still struggling with the system not allowing blender to accept the plugin. Do you still not have s4studio cas tools? If you have it, do you encounter the same issue with CAS items?
|
|
|
Post by steven95 on Feb 21, 2022 8:21:57 GMT -5
Seems like you are still struggling with the system not allowing blender to accept the plugin. Do you still not have s4studio cas tools? If you have it, do you encounter the same issue with CAS items? I haven't really had any issues with anything else.
Like in the other thread, in Blender recognizes the "Sims 4 Studio Blender Tools" in the addons menu, but won't let me enable "Sims 4 Studio Blender Library", although I still don't know what that addon even is. I've successfully created test animation .packages using the default rig so I assume it's not absolutely essential.
I tried doing this on a different Windows 10 PC with a clean install of both Blender 2.76b and Sims 4 Studio. Exact same problem.
For me, everything goes fine until I reach the import mesh part.
|
|
|
Post by mauvemorn on Feb 21, 2022 8:38:18 GMT -5
Sims 4 Studio blender library does not need to be enabled, only Sims 4 Studio blender tools. I did not notice behind the error message that Sims 4 Studio blender tools was already enabled and misunderstood the problem, my apologies.
You should share the blend file with the rig so that i could try importing it in s4s to see if i will get that error. If i won't, it is the problem with the content of the blend.
|
|
|
Post by steven95 on Feb 21, 2022 8:45:31 GMT -5
Sims 4 Studio blender library does not need to be enabled, only Sims 4 Studio blender tools. I did not notice behind the error message that Sims 4 Studio blender tools was already enabled and misunderstood the problem, my apologies. You should share the blend file with the animation so that i could try importing it in s4s to see if i will get that error. If i won't, it is the problem with the content. I haven't started animating yet. I still need to import a Sims mesh to skin(weight paint) for animation.
Here is a 7zip containing both the custom rig .package (which is mostly untouched) and the .blend file (which is pointless because it doesn't have a mesh attached/imported):
My problem is, with the package open in Sims 4 Studio, I cannot import a mesh and it gives me that error in the OP.
|
|
|
Post by mauvemorn on Feb 21, 2022 9:08:14 GMT -5
Hmm, my browser says that the file contains the virus. It could be the hosting website that added it, you should try uploading it hereJust to make sure: - you clone a rig, add new bones, save; - close s4s, put the package in s4s\mods folder, as well as the sims 4\mods folders. - then you open s4s again, export the blend from your CAS item package and add new vertex groups to the list. - then you try to import the blend back in the package and get the error. Nothing missed in that order? It's important that you put the package in both places and restart s4s for it to update.
|
|
|
Post by steven95 on Feb 21, 2022 9:16:33 GMT -5
Hmm, my browser says that the file contains the virus. It could be the hosting website that added it, you should try uploading it hereJust to make sure: - you clone a rig, add new bones, save; - close s4s, put the package in s4s\mods folder, as well as the sims 4\mods folders. - then you open s4s again, export the blend from your CAS item package and add new vertex groups to the list. - then you try to import the blend back in the package and get the error. Nothing missed in that order? It's important that you put the package in both places and restart s4s for it to update. Must be a false positive, it's just a 7zip file. I put it on Mediafire though:
Also "- then you open s4s again, export the blend from your CAS item package and add new vertex groups to the list. " I believe the correct step here is to import a blend, rather than export. I need to import a mesh to my custom rig, then export it to add some vertex groups/weight paints.
As of right now, I cannot import a mesh.
|
|
|
Post by steven95 on Feb 21, 2022 9:28:38 GMT -5
Also, now I can't even see a mesh tab when I create a 3D Mesh under the CAS menu. [edit] Just realized it's because there's no hair mesh.
|
|
|
Post by steven95 on Feb 21, 2022 9:42:41 GMT -5
Lock this thread. I am an idiot who needs to learn to follow instructions properly.
Sorry for any inconvenience.
|
|
|
Post by mauvemorn on Feb 21, 2022 10:32:22 GMT -5
No problem, but yeah, you need to export the blend first so that it comes out with the modified rig.
|
|