PDA

View Full Version : Adding recolorable subsets "afterwards", is it possible?


pinketamine
10th Nov 2010, 01:54 AM
I have successfully created two meshes of my very first mesh set. This has led me to a pair of questions.
They are based on this model (http://www.turbosquid.com/3d-models/max-table/314853), meaning that I modified that mesh and used the drawers as a connecting characteristic for all the set. The top part, which is supposed to be made of glass, would be wood anyway, but I would like to modify my own mesh so that it can have two recolorable subsets: one for the drawers and another for the rest of the table.

Can I do this afterwards? The mesh I imported had only one group, so maybe it isn't possible to create two recolorable subsets with just one group. That is really my question: Is it possible to give two recolorable subsets to a mesh that has only one group?

Also, if I manage to end the set at some point, I will upload it here. Would it be enough if I credit Turbosquid and the original mesh creator? The 3d model has a Free Royalty License, but I prefer to ask if proper credit would be enough or if I have to get explicit permission from the creator.

Thanks so much.

HugeLunatic
10th Nov 2010, 02:08 AM
No you can't have two recolorable subsets with a single group. You would have to export the mesh and separate them. It's not hard to do that either. In Milkshape select the parts you want as a separate group (like the top) then on the groups tab click regroup. In Wings select whole mesh, right click, separate, then regroup as necessary.

And yes you could upload here with credit to turbo squid (and link) as it is royalty free.

pinketamine
10th Nov 2010, 02:09 AM
Ok, so I need the OBJ to have two grups. I have it saved with two groups somewhere, for the UV mapping and such, so it would not be a problem, at least not that part.
I had been following this tutorial by Moune (http://www.modthesims.info/showthread.php?p=3133512), which only explains how to import meshes with one group to simPe, so I really don't know how to import a mesh that has two groups. Is there any tutorial that can guide me on that direction?

Also, thanks HugeLunatic, you are always really helpful for me :)

HugeLunatic
10th Nov 2010, 02:31 AM
Step 8 - Importing into SimPE.
-You click Import, browse to the folder location of your mapped mesh and select it.

-Window dialog box pops up and Moune says to use the Replace option (#2). You use Replace for the one subset and Add for the other (default is add if there is nothing with same name to replace). If you need to rename any group names click on the Groups tab in the GMDC.

http://www.modthesims.info/showthread.php?t=103379 Tutorial for adding a subset and making it recolorable. :) And your welcome.

pinketamine
13th Nov 2010, 05:15 PM
http://imgur.com/8lQ0T.png

It is me again. As you can see, the drawers subset is showing it that horrible flashing blue. I guess I skipped a step in the tutorial you gave me... at least that is the only thing that comes to my mind.
I have tried to make a recolor, and I get the two subsets but, in game, there is only one design option. I'll look at the tutorial again, because I think the table makes much more sense with two subsets, don't you think so?

mustluvcatz
13th Nov 2010, 05:24 PM
I like the idea of there being 2 parts to this.

If you get stuck trying to add the 2nd subset and getting it to be recolorable, you can ask for help with it you know. :) My guess is that you missed something really simple... and I'm curious- did you map both subsets to the same texture or are the textures separate? (You can have both one one texture and still have both be recolorable.)

pinketamine
13th Nov 2010, 05:38 PM
I mapped them to end in the same texture so... they both use the same texture. Does this change something? I mean... technically speaking.
I guess I could have two different Mat definitions pointing to one only texture, is that correct? My package has two at the moment, but they both look just the same.

I'll have a second look to everything with the tutorial, because most probably I missed a small change or something like that. I feel anyway happy, because this is my first "functional" mesh ever, so... yeah, hopefully I'll solve the problem.

HugeLunatic
13th Nov 2010, 05:42 PM
Yea flashing blue - check your spelling and linkage. :) And if only one option shows up in the game to recolor, check the GMND to make sure both subsets are in the tsDesignModeEnabled and make sure you have a MMAT for both subsets.

pinketamine
13th Nov 2010, 06:27 PM
Yes! I solved the flashing blue problem! As you said, HugeLunatic, it was a spelling problem, under the SHPE tag I was using normal lines (-) instead of underscores(_), and it shows perfectly now :D

EDIT: I still have problems making the second subset recolorable. It works nicely, but when I make a recolor the second subset can't be modified at all.

Picture of the GMND:
http://imgur.com/5igpd.png
Both are created under the "tsDesingModeEnabled" tab. But after saving the file and opening it again:
http://imgur.com/uIk52.png

I feel a bit lost because I can't find what I'm doing bad. :blink:

HugeLunatic
13th Nov 2010, 09:06 PM
Don't worry, your doing fine! :) You've been figuring this all out by doing it yourself, reading and asking questions. That's a giant feat.

In game can you recolor two subsets? And when you make a recolor package in object workshop is it only pulling the one subset?

Look at the MMAT, make sure the GUID matches your GUID in your main OBJD. Make sure each one has different Instance number, make sure the family string in the MMAT is different for each. And make sure the default is set to true for both.

mustluvcatz
13th Nov 2010, 09:50 PM
Pinketamine- don't worry about my question about the texture and how you mapped the subsets. You can have 1 texture with both subsets mapped to it or 2 textures, each with one subset mapped to it. As long as there is an MMAT for each subset, it doesn't matter if there is 1 texture or 2. I was just curious how you did it since I've made mistakes in the past when mapping 2 subsets to one texture and thought maybe you made the same mistake that I did. My problem was in the TXMT though. (It was easy to figure out and fix. :) )

You can look at the Scenegrapher (Tools>Object Tools> Scenegrapher)- if there are any entries with a "false" in them, that's where your problem would be. (IF you already knew that, just ignore me, lol.)

pinketamine
13th Nov 2010, 10:13 PM
In game can you recolor two subsets? And when you make a recolor package in object workshop is it only pulling the one subset?

In game there is still only one recolorable subset. When I make a recolor, the two texture files show, but in game there is still only one subset.



You can look at the Scenegrapher (Tools>Object Tools> Scenegrapher)- if there are any entries with a "false" in them, that's where your problem would be. (IF you already knew that, just ignore me, lol.)
I didn't know about it :D Everything shows as true though, there is something else that I'm not doing properly.


I'll recheck the file once more. I guess it is something easy what I'm missing, something that didn't catch my attention for some reason.