|
Post by lexus20 on Jan 5, 2017 15:36:01 GMT -5
I really like this chair that came with Vintage Glamour SP and would like to use it as a dining chair, but it's actually a living chair. How can I turn it into a dining chair and make it snap to tables? I tried replacing the Tuning and TuningId by the ones from the other chair that came in this SP, which is a dining chair, but it didn't work.
|
|
|
Post by Spirashun on Jan 5, 2017 21:57:21 GMT -5
If you post your package someone can look at the tuning for you to see what may have gone wrong!
Otherwise, you could also try cloning an existing dining chair, then importing the Vintage Glamour mesh+texture into that new package.
|
|
|
Post by lexus20 on Jan 10, 2017 11:15:11 GMT -5
Apparently Sims4Studio is not saving my changes, because I went back to it and the category tags and tunings are back to the original ones. I tried to do the other method as well, by importing the mesh and texture, but when I try to import the shadow meshes it gives an error.
Also is there a way to attach a file directly to the post or do I have to upload to another site and share the link? Sorry, I am new to this forum.
|
|
|
Post by Spirashun on Jan 10, 2017 19:33:03 GMT -5
You need to upload the file somewhere else and link it here What error does importing the shadow LODs give you?
|
|
|
Post by MisterS on Jan 10, 2017 22:06:23 GMT -5
Export a living chair mesh and import it over a dining chair mesh, works fine Ive done a few like it now
|
|
|
Post by edd on Jan 11, 2017 6:35:32 GMT -5
but when I try to import the shadow meshes it gives an error. Hi, I'm new with S4S too and started converting some objects this week. Only a suggestion, in case you're having the same error I've experienced when importing shadow LODs meshes. If your error looks like this one: The Sims 4 Studio - Version 3.0.0.5 System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException: File "<string>", line 1, in <module> File "<string>", line 12, in <module> File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\buybuild\blender.py", line 310, in save_lod save_mesh(blender_mesh, new_mesh) File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\buybuild\blender.py", line 211, in save_mesh apply_all_modifiers(blender_mesh) File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\blender\__init__.py", line 135, in apply_all_modifiers bpy.ops.object.convert(target='MESH') File "C:\Program Files\Blender Foundation\Blender\2.70\scripts\modules\bpy\ops.py", line 188, in __call__ ret = op_call(self.idname_py(), None, kw) RuntimeError: Operator bpy.ops.object.convert.poll() failed, context is incorrect
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version) in C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio.Shared\BlenderUtilities.cs:line 248 at S4Studio.Blender.BlenderUtilities.ImportMlod(String fileName, String mlod, String rig) in C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio.Shared\BlenderUtilities.cs:line 476 at S4Studio.ViewModels.ObjectLodItem.ImportMesh(BlenderUtilities blender_util, String blender_path) in C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio.Shared\ViewModels\BuildBuy\Objects\ObjectLodItem.cs:line 474 at S4Studio.ViewModels.ObjectLodItem.<>c__DisplayClass38_0.<ImportMesh>b__0() in C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio.Shared\ViewModels\BuildBuy\Objects\ObjectLodItem.cs:line 456 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 1, in <module> File "<string>", line 12, in <module> File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\buybuild\blender.py", line 310, in save_lod save_mesh(blender_mesh, new_mesh) File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\buybuild\blender.py", line 211, in save_mesh apply_all_modifiers(blender_mesh) File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\blender\__init__.py", line 135, in apply_all_modifiers bpy.ops.object.convert(target='MESH') File "C:\Program Files\Blender Foundation\Blender\2.70\scripts\modules\bpy\ops.py", line 188, in __call__ ret = op_call(self.idname_py(), None, kw) RuntimeError: Operator bpy.ops.object.convert.poll() failed, context is incorrect
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version) in C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio.Shared\BlenderUtilities.cs:line 248 at S4Studio.Blender.BlenderUtilities.ImportMlod(String fileName, String mlod, String rig) in C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio.Shared\BlenderUtilities.cs:line 476 at S4Studio.ViewModels.ObjectLodItem.ImportMesh(BlenderUtilities blender_util, String blender_path) in C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio.Shared\ViewModels\BuildBuy\Objects\ObjectLodItem.cs:line 474 at S4Studio.ViewModels.ObjectLodItem.<>c__DisplayClass38_0.<ImportMesh>b__0() in C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio.Shared\ViewModels\BuildBuy\Objects\ObjectLodItem.cs:line 456 at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute()<---
You probably are trying to import a shadow mesh that was meant to be used with the original living chair object. What you need to do is to export the dining chair shadow object, modify it with your shadow mesh (appending + joining in blender) then importing it again. Maybe your issue it's not the same as this, only suggesting it because I did have it while converting some meshes.
|
|
|
Post by orangemittens on Jan 11, 2017 8:08:53 GMT -5
Hi edd, that error occurred because when you saved the .blend you had no mesh group selected. In past versions of Studio, saving the .blend with no mesh group selected was not a problem. With the current version of Harmony, there was an unintended consequence of some other changes made to the code regarding how Studio deals with Blender that resulted in this problem. It will be fixed in an upcoming version of Harmony. There is nothing special about the shadow mesh itself. What is important is that the shadow group contains only a plane and that it has the same cut number as the EA item's shadow group. As long as you do that, you can create your own shadow mesh if you like, or use the EA shadow group.
|
|
|
Post by edd on Jan 11, 2017 8:51:46 GMT -5
Hi edd , that error occurred because when you saved the .blend you had no mesh group selected. In past versions of Studio, saving the .blend with no mesh group selected was not a problem. With the current version of Harmony, there was an unintended consequence of some other changes made to the code regarding how Studio deals with Blender that resulted in this problem. It will be fixed in an upcoming version of Harmony. There is nothing special about the shadow mesh itself. What is important is that the shadow group contains only a plane and that it has the same cut number as the EA item's shadow group. As long as you do that, you can create your own shadow mesh if you like, or use the EA shadow group. Ooh nice, thanks for the explanation orangemittens! Always good to know - that explains why sometimes a mesh from other exported worked and sometimes not. The one I used for this error output was one that wasn't even opened on Blender after exported, only directly re-imported - so I guess nothing was selected, indeed. (And sorry lexus20 if I deviated from your problem)
|
|
|
Post by lexus20 on Jan 11, 2017 19:16:26 GMT -5
I was having a similar error:
The Sims 4 Studio - Version 3.0.0.5 System.AggregateException: Um ou mais erros. ---> S4Studio.Blender.BlenderException: File "<string>", line 2, in <module> File "C:\ProgramData\S4Studio\Scripts\objectexporter.py", line 12, in <module> save_lod(mlod) File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\s4studio\buybuild\blender.py", line 310, in save_lod save_mesh(blender_mesh, new_mesh) File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\s4studio\buybuild\blender.py", line 211, in save_mesh apply_all_modifiers(blender_mesh) File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\s4studio\blender\__init__.py", line 135, in apply_all_modifiers bpy.ops.object.convert(target='MESH') File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\modules\bpy\ops.py", line 189, in __call__ ret = op_call(self.idname_py(), None, kw) RuntimeError: Operator bpy.ops.object.convert.poll() failed, context is incorrect
em S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version) na C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio.Shared\BlenderUtilities.cs:linha 248 em S4Studio.Blender.BlenderUtilities.ImportMlod(String fileName, String mlod, String rig) na C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio.Shared\BlenderUtilities.cs:linha 476 em S4Studio.ViewModels.ObjectLodItem.ImportMesh(BlenderUtilities blender_util, String blender_path) na C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio.Shared\ViewModels\BuildBuy\Objects\ObjectLodItem.cs:linha 474 em S4Studio.ViewModels.ObjectLodItem.<>c__DisplayClass38_0.<ImportMesh>b__0() na C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio.Shared\ViewModels\BuildBuy\Objects\ObjectLodItem.cs:linha 456 em System.Threading.Tasks.Task.InnerInvoke() em System.Threading.Tasks.Task.Execute() --- Fim do rastreamento de pilha de exceções internas --- ---> (Exceção Interna N° 0) S4Studio.Blender.BlenderException: File "<string>", line 2, in <module> File "C:\ProgramData\S4Studio\Scripts\objectexporter.py", line 12, in <module> save_lod(mlod) File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\s4studio\buybuild\blender.py", line 310, in save_lod save_mesh(blender_mesh, new_mesh) File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\s4studio\buybuild\blender.py", line 211, in save_mesh apply_all_modifiers(blender_mesh) File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\s4studio\blender\__init__.py", line 135, in apply_all_modifiers bpy.ops.object.convert(target='MESH') File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\modules\bpy\ops.py", line 189, in __call__ ret = op_call(self.idname_py(), None, kw) RuntimeError: Operator bpy.ops.object.convert.poll() failed, context is incorrect
em S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version) na C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio.Shared\BlenderUtilities.cs:linha 248 em S4Studio.Blender.BlenderUtilities.ImportMlod(String fileName, String mlod, String rig) na C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio.Shared\BlenderUtilities.cs:linha 476 em S4Studio.ViewModels.ObjectLodItem.ImportMesh(BlenderUtilities blender_util, String blender_path) na C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio.Shared\ViewModels\BuildBuy\Objects\ObjectLodItem.cs:linha 474 em S4Studio.ViewModels.ObjectLodItem.<>c__DisplayClass38_0.<ImportMesh>b__0() na C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio.Shared\ViewModels\BuildBuy\Objects\ObjectLodItem.cs:linha 456 em System.Threading.Tasks.Task.InnerInvoke() em System.Threading.Tasks.Task.Execute()<---
I did what you suggested and it worked now, thanks! I was trying to import the original shadow mesh that came with the living chair.
|
|