Replies: 146 (Who?), Viewed: 40496 times.
Page 1 of 6
Original Poster
#1 Old 15th Oct 2009 at 12:52 AM Last edited by orangemittens : 23rd Oct 2009 at 11:12 AM. Reason: Edited to add new link
Default Tutorial: Creating and Coloring Glass Texture in Sims 3
Thanks to WesleyHowe without whose insight into Sims 3 object creation this tutorial couldn't have been written (at least not by me).

If anyone spots errors in the tutorial please post them in the thread so I can fix the tutorial. If anything isn't clear ask any questions in the thread. Please don't PM me questions because if you're wondering it is almost certainly the case that other people are too.

The tutorial includes a Word document and a folder of pictures which illustrate the steps.

The tutorial assumes some experience with the tools s3oc, s3pe, and ObjTool. but not much. & Color...e in Sims 3.rar

Many thanks to EllaCharm3d for providing a PDF version of the tutorial and a place for it to live at MTS...she has now merged the initial two PDF's into one.

Download the PDF version of the tutorial here:

7 users say thanks for this. (Who?)
In the Arena
retired moderator
#2 Old 15th Oct 2009 at 1:10 AM
wheeee.....TQ for putting it together with pictures!
Field Researcher
#3 Old 15th Oct 2009 at 1:17 AM Last edited by hazuitokage : 15th Oct 2009 at 1:31 AM.
Thank you OM *goes to check tut, instead of going to bed*

Edit : Ok, that answers my previous question : edit both the MLOD and the MODL (plus the TWO material files in each). Thanks OM, I'll try it tomorrow. Hopefully I'll get some real glass instead of… nothingness, lol.
I was only editing one material file in the MLOD. Figures.
#4 Old 15th Oct 2009 at 1:17 AM
Oo thanks OM, should come in handy! You should add it to the Sims3 area of the wiki.
Original Poster
#5 Old 15th Oct 2009 at 1:51 AM
I'm glad that people will find the tut useful. I should have posted in the initial post that people experienced with the tools might want to skip down the tutorial a little because the first part is basically just about how to export the MLOD and MODL that need to be edited.

Jonesi, how do I add the tut to the Wiki? And should I do so right away or wait for some feedback from people who have tried the tutorial and found it useful?

Field Researcher
#6 Old 15th Oct 2009 at 5:31 AM
Reporting back : While I've been able to make the small topiary translucid (success !), I've had no luck with 2 custom meshes so far. I end up with an invisible object and it's shadow.
If I may point that out : so far, success has been only achieved with cloned game objects (no change of mesh), right ? We may be missing something that has to be changed too in the case of custom meshes...
(though... why ? I wouldn't think it should be different, but then I don't know much either...)
Test Subject
#7 Old 15th Oct 2009 at 6:33 AM
Hi OM,

I would read your brand new tutorial but the word doc was made with the new version 2007 I think... and I cant' open it!!! You should save it in an older version. I did that last year at my work. (I personally have version 2003!)
I will then right now discover your picures and how I understand.

In the Arena
retired moderator
#8 Old 15th Oct 2009 at 7:25 AM
I can add the pictures into the doc and convert to PDF if you give permission for me to upload to mts as pdf or send it back to you so you can host it yourself.
Original Poster
#9 Old 15th Oct 2009 at 11:48 AM Last edited by orangemittens : 15th Oct 2009 at 12:43 PM. Reason: adding response to HT
ella that would be great...thanks so much for offering

If you upload as PDF and post the link here I can add it into the first post so that people can select that version if they prefer.


Edited to add: HT, this is why I thought it might be premature to add this tut to the Wiki. We're too early along in glass texturing to be providing some definitive tutorial on the subject IMO.

Anyway, after reading your post I tried to make one of my own objects all glass. I chose a small round coffee table. I edited its MLOD and MODL but I must have forgotten to save because the first time I got it into the game it was still I'm blonde and need more coffee this!

Next I just re-used that package...I re-exported its MLOD and MODL and edited them. Recompiled, imported, fixed, and replaced the first version with this new edited one.

Strangely, *both* glass versions showed up even though there is only one package named glass coffee table in my Mods folder???? What's up with that?

Even more strange is that they look different. The first (and I know it is the first because I changed the name the second time around with s3oc) is invisible and only the shadow is showing. The second has this oddly shaped thing for the bottom which is, indeed, taking a glass texture but is not the shape of the original table. Meanwhile, the top of the table is completely invisible from every angle.

Here is a picture of the three tables:

The shape of the second...that conical sort of shape, is the same shape I see when I try to place the visible table in the same space occupied by another object in the flickers to a shadowy version and alters its shape to that cone.

I have multiple questions about all of this. First, why should I have two glass versions when I told the Monkey to replace the first glass version and when I look in the Mods folder it appears that it did so?

Second, given that both versions are, for some reason, in there, why do they look different when they share the same code for glass?

Third, why is the table taking on that strange shape at the bottom and why is the top missing entirely?

The answers to these questions are beyond me. Hopefully someone with a lot more understanding of things than I have (hmmm...who might that be?) will happen along and give the problem a look-see.

#10 Old 15th Oct 2009 at 12:39 PM
Thank you so much for this tutorial Orangemittens!!
Well I can not read it, have to wait for the pdf, but I checked out the pictures and can see the tutorial will be a step-by-step.
If I have understand it correct, when you want to make only part of your object glass, that part needs to be on a seperate group in your mesh, and have its own texture?
Well, I'll have to wait and read the tutorial first.

I was thinking, maybe it would be a good idea to make a list of all the objects in the game, with the number of groups, recolorable parts etc., where we all can contribute too.
There is such a list for TS2 in the CEP. And Buggybooz started a list of good clonable objects on the Wiki, maybe we can add to that one?

I mean we can fill in some kind of report on an object, we have cloned and used, like Buggybooz started.
It could be very handy to check out, if we need an object with extra groups/textures or slots and placements.
Just a thought
Original Poster
#11 Old 15th Oct 2009 at 12:50 PM
I think at this point if you want only part of the object to be glass the important issue is going to be to select a clone that has more than a single object group. That is, when you look at the object's info using the ObjTool, there has to be more than one group listed there for the MODL, and more than two groups (object and shadow groups) for the main MLOD. Otherwise, when you edit the code, the entire object group will turn to glass regardless of how you mapped it.

I love your idea of making a master list of objects. It would save much time if there was such a thing. This is a very good idea!

In the Arena
retired moderator
#12 Old 15th Oct 2009 at 3:02 PM Last edited by ellacharm3d : 22nd Oct 2009 at 12:37 PM. Reason: eta: note on bone assignment
Default converted to pdf with inline pictures
20091022 update
  1. added note on needing bone assignments and included one pic missed out
  2. reduced file size and combined in one pdf file

Here you go, OM.
I have cropped and resized some pictures so as not to disrupt the reading flow with uneven sizes, hope it's OK...

Let me know if I've input any pictures in error.

1. have split the files into 2 pdf in separate rar files - filesize went up to > 5mb after all pictures are in (lol my tut is at 7mb am I'm still not done)
2. files might not show up yet. have problem uploading. I'll keep trying, maybe wait for off-peak
Download - please read all instructions before downloading any files!
File Type: rar orangemittens_Making_A_Glass_Texture.rar (2.68 MB, 1550 downloads) - View custom content
Description: pdf conversion with inline pics of orangemittens tutorial - updated 20091022
Field Researcher
#13 Old 15th Oct 2009 at 3:09 PM
OM, I got the left-most result (on your pict), while trying to glassify my deco horse and the elephant. Invisble + shadow (and also that sate makes objects very difficult to impossible to select, depending on where you place them, so be careful ^^. I placed the invisible horse on a mantlepiece and could never select it anymore -__-).
I noticed both time that the material file n°9 for the model also had the shader info in it, so i changed that too, but no success.

The result are weird, for your table... That's an understatement . One other strange thing was my thumbnail for the glassify objects : it was either invisible, or there was a slight almost invisible weird shape (not at all the shape of the object). And I did get the ghost too, like you, when you try to place them at first...
Field Researcher
#14 Old 15th Oct 2009 at 7:02 PM
That's exactly what I was looking for, I wanted to make glass objects but didn't know how to. THANK YOU!

It also worked for my custom mesh

By the way, it is cloned from the topiary.
Field Researcher
#15 Old 15th Oct 2009 at 7:36 PM
Is it the small topiary (the one that goes on surfaces, the small round one in a pot) ?
Yay ! It can be done ! So, maybe it's a base clone problem...
Or did you do something special to your mesh ?
Lab Assistant
#16 Old 15th Oct 2009 at 8:51 PM
I tried following your tutorial and I am getting the following error when I try to recompile
ERR: Invalid version value count on tag line 10 of 12.
Am I doing something wrong I followed your tutorial through and double read it I am trying to make a candy dish I made into all glass.
Forum Resident
#17 Old 15th Oct 2009 at 9:00 PM
Jillian, you did not replace the whole content of the mtlrsc file. Copy and paste the whole text from top to bottom.
Lab Assistant
#18 Old 15th Oct 2009 at 9:15 PM
Thank you Lemon Candy for that I got it now
I feel like an idiot lol
Field Researcher
#19 Old 15th Oct 2009 at 9:53 PM
I really hope it works for you JillianWong

So, trying again :

- First I glassified the small topiary, no problem (checked in game)

- I replaced the topiary mesh by a simple box that I made with topiary MLOD mesh opened in Milkshape (> I didn't import an already made mesh, just created a box, put it over the topiary and deleted it), copied it over to the MODL too. That worked also, I had a glass box in the game.

- I went back into that same MLOD and MODL and NOW imported a mesh from outside. Copied etc.
Back to the invisible object with a spot shadow.

Scratching my head...
Which is why I'd really like to know the exact steps Killc*a took for the beautiful vase...

Little pict :

Lab Assistant
#20 Old 15th Oct 2009 at 10:06 PM
OMG it worked I made a pair of shoes into glass
Forum Resident
#21 Old 15th Oct 2009 at 10:33 PM
Hmm, I once had this invisible-object issue when I was trying to create a cocktail glass with a lemonslice and straw. (I didn't know all this glassifying info back then.) That object had 2 different kinds of glass, maybe they clashed, I have no clue, I never finished that one.
Field Researcher
#22 Old 15th Oct 2009 at 11:17 PM
Congratulations JillianWong !

Lemon, yes maybe it's a question of choosing the right clone...
Jillian, may i ask what you used as a base ? And was there anything specific to your mesh that you can think ok ? (Sorry for all those question -__-)
Lab Assistant
#23 Old 15th Oct 2009 at 11:51 PM
Ty hazuitokage
sure you can ask I used the perfume bottle as my base clone I didn't move the shadow group up as the first group as I tried that before and the game only showed black shadowy texture but the object was invisible.
Field Researcher
#24 Old 16th Oct 2009 at 12:06 AM
Originally Posted by hazuitokage
Is it the small topiary (the one that goes on surfaces, the small round one in a pot) ?
Yay ! It can be done ! So, maybe it's a base clone problem...
Or did you do something special to your mesh ?

I used this topiary: SculpturePlantIvyTopiarySmall

I did everything like in the tutorial but I also changed the meshes (MODL/MLOD files) with Milkshape (I've tested the mesh before without changing the .mtlsrc files).

I have no idea why it doesn't work for some people. I think it is important that the numbers (for the colour) are long enough. For example: 0.898040000000 and not just 0.89804

I hope that it will work for other people soon.
Field Researcher
#25 Old 16th Oct 2009 at 12:22 AM
Thanks both
The topiary is the same I usually use... So I'll try again tomorrow.
I thought that maybe it only worked with non-castable objects, but it seems not.
Page 1 of 6
Back to top