Home | Download | Discussion | Help | Site Map | New Posts | Sign in

Latest Site News

2018 MTS Calendar Contest - posted on 12th Nov 2017 at 8:48 PM
Replies: 113 (Who?), Viewed: 76952 times.
Page 1 of 5
Part-time Hermit
Original Poster
#1 Old 22nd Oct 2005 at 4:17 PM Last edited by Nysha : 2nd Aug 2013 at 7:53 PM. Reason: Restoring images
Default Tutorial: Creating Custom Windows
Tutorial: how to create custom windows

- An advanced level guide to creating windows with new meshes.
- This tutorial will NOT explain in detail all the steps there are to creating a new object, but concentrate on the special steps/ problems involved in creating windows.
This Tutorial is also provided in PDF format. To view it, we strongly suggest to download the Foxisoft PFD Viewer: it's free and small, less than 1Mb!

What do you need for this tutorial?

- SimPE version 0.50
- CEP3
- Milkshape 3D
- a uv-mapper program such as UVMapper Classic
- an image editing program such as Paint Shop Pro
- basic knowledge on the programs listed, previous experience on creating new objects, including uv-mapping, mesh-making and using SimPE for object creation (If you're completely new to object/mesh creating, I suggest going through JWoods' Sims 2 start to finish Object Creation Tutorial V 2.0 first)

- Also recommended for better texture quality: Nvidia tools/ DDS Utilities

What's so special about cloning windows?

- A one-tile window is actually a two-tile object: each window is composed of two parts called "north" and "south", one on each side of a wall. (Likewise, a window that's two tiles wide is actually a four-tile object.)
- Wallmasks: For the window to cut a hole in the wall you need a wallmask, a simple texture image that determines where the wall has to be transparent and where solid for the window to look right.
- Diagonal windows: For a window to work properly on diagonal walls, as well, you need two separate objects: the straight and the diagonal version. The diagonal version borrows its textures and material definitions from the straight version, and they need to be correctly linked to each other for this to work. The only texture that the diagonal window needs its own version of is the wallmask, because diagonal walls are wider than straight walls and therefore the hole in the wall will be of different shape.

Let's get started:

1. Start up Object Workshop in SimPE and clone The "Function of Plate Glass" Window (the one with a picture next to, followed by the number 0x7FA78F5B). The one with the red X is the diagonal version, and we'll need it later on). Leave the default cloning options checked, and especially make sure that Pull Wallmasks is checked. Proceed as usual with naming your package file etc.

2. Give your object new GUIDs. There are three GUIDs needed, as usual with two-tile objects. Only update the MMATs with the main GUID (the main GUID doesn't have any numbers at the end of its file name). Remember to Commit each one.




3. Go to the GMDC (Geometric Data Container). There are two GMDC files, one with the letter "n" in the name for "north", and the other one with an "s" for "south". Click on the south one, make sure that "frame" is checked on the Models list and Export.

4. Import the mesh into Milkshape. You will notice that only one side of the frame is visible. Make your new frame face to the same direction, and line up "the wall side" of the frame with the original frame to avoid gaps between the north and south sides since the "wall side" of the north frame will meet with the south frame.




5. For this tutorial, I created a simple square frame. You can make yours of a different shape, but try to make the thickness of the frame similar to the original frame so it'll stick out of the wall the right amount.

6. Delete the original mesh, and also all hidden faces (to optimize the polygon numbers), plus faces that are on the wall side of the mesh, since those will not be seen in the game.



7. Save the mesh as an .ms3d file, then export it for uv-mapping, and import the map into Milkshape. Select All, regroup all groups together and name the new group "frame" (Important: This name has to be the same as the name of the original mesh in GMDC on the Models list or your window will turn out invisible in the game). Save a mapped, regrouped version of your mesh as an .ms3d file (you may want to keep the previous saved version separate if you need the ungrouped mesh for editing later, which I recommend doing, because one try in a mesh editor with windows is usually not enough).

8. Export the mapped mesh from Milkshape (do not close Milkshape just yet) and import it into SimPE (and delete the original mesh called "frame"). Commit and Fix Integrity.

9. Click on the second entry in GMDC, the "north" version, and Export the frame the same way you did with the "south" version.

10. Go back to Milkshape to the regrouped, mapped mesh, Select All, then click "Mirror Front <--> Back" under the Vertex menu, then select "Smooth All" under the Face menu (to fix the faces that got messed up during mirroring). This saves you some work when the north and south sides of your window are similar, so you don't need to create and map both meshes separately. Save the mirrored version of the mesh as an .ms3d file, as well, because you will need it later for the diagonal version.

11. Export the mirrored version as the "north" frame from Milkshape, the same you just exported from SimPE. Delete the original frame part of the north version in SimPE and Import your version. Commit and Fix Integrity.



Now we're mostly done with the frame mesh and it may be a good time to take a little break and have a cup of coffee or something, because there is still a long way to go .



12. If you look at your window in the game now, it might look something like this:



So, yes, we've got some more work left to do. The window glass, wallmask, shadow and texture still need to be fixed.

13. If you preview your window in the game now and see the north and south frames are not lined up properly and there is a slit between them, you can open one of the regrouped, uv-mapped .ms3d files (either the north or south version) in Milkshape and move the whole mesh just a tiny little bit towards the wall side direction. If you're an anal person like myself, grass peeking through the window frame like this just isn't acceptable:



After moving the mesh in Milkshape, Export it and Import into SimPE, replacing the previous version, Commit and Fix Integrity again.

14. When you're done with the frame, it's time to move on to the window glass part. Go to GMDC in SimPE again, select the "south" version, and on the Models list, this time check the part called "windowplateglass_frostedglass". Export it like you did with the frame (it's going to overwrite the exported frame file, but that's ok because you have the mesh saved as an .ms3d file).

15. Close the frame mesh in Milkshape if you still have it open, and import the glass instead.

16. If your new window has a simple rectangular shape like the original one, you can just move the vertices around to make this one fit your new frame. You can merge your frame mesh into this mesh temporarily to get an idea of the size and shape the glass needs to be. Once you're done, delete the frame and save the glass mesh as an .ms3d file. If you need a more complicated glass mesh, just replace the original one completely. Just make sure that you have the mesh regrouped and named "windowplateglass_frostedglass" by the time you export it.

17. To make the north side glass, just do the same thing as with the frame: Select All, Mirror and Smooth All the faces.

18. No uv-mapping is needed for the window glass since it has no texture to it.

19. Export and Import both glasses to SimPE, Commit and Fix Integrity.

20. Then it's time to fix the wallmask. The newer versions of SimPE also includes the wallmask texture for the diagonal window in the straight version. This is an unnecessary file, and you can safely delete the wallmask texture that has to word diagonal in it. You can also delete the two TXMT (Material Definition) files that have both the words "diagonal" and "wallmask" in the name. If you're using an older version of SimPE, these extra files may not be there, and you don't have to worry about them. (Note: windows that are two tiles wide need two wallmasks for each package, one for each tile.)

21. Then find the actual wallmask TXTR (texture image) that we need, the one that does NOT have the word "diagonal" in it. Export the texture by right-clicking on it and open it in a graphics program such as Paint Shop Pro.

22. Obviously, the white parts of the image are where the wall will be solid, and the transparent areas will cut a hole in the wall. Open a new image with a transparent background (sized 64x128). Now you'll have to estimate the size and shape of your window on the wall. The wallmask image is a bit distorted for the straight version, and you have to make the opening wider than you'd think based on the shape of the window. The part of the wall that needs to be solid, you fill with a plain white color. Save as a .png file and Import into SimPE, preferably using the Nvidia tools and Build DXT (and Commit).

The original and new wallmasks side by side:


23. The only way to check if the wallmask works right is to save your package now and try it in the game. Repeat steps 22 and 23 until it's the correct size and shape in the game, covering the parts it needs to while cutting a hole big enough in the wall.

24. The wallshadow will likely be of a wrong shape, too. The shadow texture used for this window is a generic rectangular shadow which may be hard to make of the right shape if your window is anything but rectangular. If you don't especially want a correct shadow for your window, you can just edit the shadow texture to be completely black and import (can't use Build DXT with the ExtRaw8Bit image format), Update All Sizes and commit. Now the shadow will be invisible.

25. Now it's time to import the texture for your frame. Make it the size you need (the smaller the better, since bigger texture files use more game resources, and if you uv-map efficiently, it's usually possible to keep the texture file small with windows. 256x256 pixels should be enough for smaller windows.), and import it into SimPE with Build DXT and Commit.

26. Edit the catalog information for your object and save.

27. Take a look at your window in the game and see if everything looks the way you want it to be. If it does, tap yourself on the back for a job well done! If it doesn't, you can still go back and edit any part of it by repeating the related steps.



Now you're done with the straight version of your window. If you want the window to work on diagonal walls, you will have to create a separate, diagonal version, but it's going to be a lot faster than making the straight one since you already have the meshes done.

28. Start up Object Workshop in SimPE again, and this time clone The "Function of Plate Glass" Window that doesn't have a preview image, just a red X (followed by the number 0x7F9A5B40). Clone it with leaving all the default options checked the way they are, and give your package a similar name as you did to the straight version, but add the word "diagonal" to it for clarity.

29. Give the window new original GUIDs. You will notice there are two object data files both of which seem like they could be the main GUID based on their names. To figure out which one is the actual main GUID, click on one of them and then open the RAW Data tab. In The RAW Data tab, go to the GUIDs section and look at the lines called "diagonal selector guid 1, diagonal selector guid 2, grid-aligned selector guid 1 and grid-aligned selector guid 2". If all the lines have a value of "0x0", then it's not the main GUID. If two of the lines are anything else than "0x0", then that's the main GUID, and the one you'll have to "Update MMATs" for (and also the one you will need to link the GUIDs of the straight window later on).

32. Next you'll have to import the meshes. When you go into GMDC, you'll see that the mesh structure is the same as in the straight version. Export the meshes and then just open in Milkshape, one at a time, the mapped and regrouped versions of the STRAIGHT window frames you made earlier, south and north ones, accordingly, and export them as the diagonal windows. With windows, you do NOT need to rotate the meshes in any way to make them diagonal, just use the straight window meshes in the position they are and import them into the diagonal package. Then also import the glass meshes. Commit with each step and Fix Integrity. (Note! If you want both the straight and diagonal windows to span the whole tile sideways, the diagonal version is going to needs its own, new meshes, because the straight version is not going to be wide enough for the diagonal wall.)

31. The only texture file in the diagonal package is the wallmask, which is different from the wallmask on the straight version, since diagonal walls are wider. This time the wallmask is not stretched out of proportion like the straight wallmask was. The image size is also bigger (128x256). Edit it the same way you did with the other one and import it into the package file. You'll have to wait to test it in the game, though, because the diagonal version of the window will not show up until you link the two windows to each other. (The diagonal window will not show up in the game as an individual object, you will only get it to show when you choose the straight version from the catalog and place it on a diagonal wall.)

32. From here on, to link the straight and diagonal versions together, I suggest you follow this article by Numenor. You can skip some of the stuff in Steps 1 and 2, since we already did those, and go on from Step 3. (I recommend you download the .pdf version of his article and keep it for later use.)

33. Once you're done, put both the straight and diagonal packages into your game and enjoy the result of your hard work! If something goes wrong, and you can't figure it out by referring to the tutorial, post your question in this topic and I'll do my best to help. It makes my job easier if you upload your problematic package file as an attachment with your post, so that I can take a look at it.



Bonus! Tips on creating DOORS: Making doors is very similar to making windows when it comes to the north and south side parts, wallmasks, diagonal versions and so on. The only difference is that doors have more parts to them. A typical door has four or five files in the GMDC, four of them for the actual meshes: two for the north and south sides of the animated door that opens and closes, and two for the north and south versions of the static frame. Based on my experience, you do NOT need the Mesh Tool for retaining the animation; you can deal with the meshes the same way you do with windows.

This has been my first tutorial ever, and I hope it wasn't too hard to follow! I hadn't seen a window tutorial anywhere, and thought maybe it's needed, since there aren't that many creators making build items. This is, of course, not the only way of creating windows, it's just the way I do it. Windows seem to be popular downloads, probably because there aren't that many of them around!

(Please, do not post this tutorial on another website without my permission, because adequate user support has to be provided wherever this tutorial is available.)




----------
Tutorials:Creating_Custom_Windowswiki
Screenshots
Download - please read all instructions before downloading any files!
File Type: zip Tutorial - Creating Custom Windows.zip (598.8 KB, 1267 downloads) - View custom content
75 users say thanks for this. (Who?)
Advertisement
The ModFather
staff: retired moderator
#2 Old 22nd Oct 2005 at 5:02 PM
Excellent job!

Moving to Tutorials / Object Creation forum.

I've finally started my Journal. Information only, no questions.

My latest activity: CEP 9.2.0! - AnyGameStarter 2.1.1 (UPD) - Scriptorium v.2.2f - Photo & Plaques hide with walls - Magazine Rack (UPD) - Animated Windows Hack (UPD) - Custom Instrument Hack (UPD) - Drivable Cars Without Nightlife (UPD) - Courtesy Lights (FIX) - Custom Fence-Arches - Painting-TV - Smarter Lights (UPD)


I *DON'T* accept requests, sorry.
One horse disagreer of the Apocalypse
#3 Old 22nd Oct 2005 at 5:39 PM
And the other good thing about doors is they already open and close without losing their recolours :D

"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
Part-time Hermit
Original Poster
#4 Old 22nd Oct 2005 at 6:05 PM
Quote:
Originally Posted by Inge Jones
And the other good thing about doors is they already open and close without losing their recolours :D


Indeed
Test Subject
#5 Old 24th Oct 2005 at 4:54 AM
Default A wall-mask question...
This is an AWESOME tutorial - thank you!

As a result, I now have my first-ever window AND door completed. I have one problem though and wondered if anyone knew the answer...

I tested my new window in a lot, packaged the lot, and then reinstalled the lot using the Maxis installer on an empty downloads folder. The window hasn't installed correctly. The problem appears to be the wall-mask (it looks like the default wall mask replaced MY wall mask, leaving a yawning gap in the wall). This DOESN'T happen with Sims 2 Clean Pack Installer but I like to upload lots and many people don't use S2CPI (WHY don't they???)...

I've seen this problem a few times before with other people's windows, and it SEEMS to be a random thing. If it's of any use, I cloned the Independent Expressions Shop Window.

Is there a known cause/solution?
Part-time Hermit
Original Poster
#6 Old 24th Oct 2005 at 5:58 AM
Quote:
Originally Posted by Bad Whippet
This is an AWESOME tutorial - thank you!

As a result, I now have my first-ever window AND door completed. I have one problem though and wondered if anyone knew the answer...

I tested my new window in a lot, packaged the lot, and then reinstalled the lot using the Maxis installer on an empty downloads folder. The window hasn't installed correctly. The problem appears to be the wall-mask (it looks like the default wall mask replaced MY wall mask, leaving a yawning gap in the wall). This DOESN'T happen with Sims 2 Clean Pack Installer but I like to upload lots and many people don't use S2CPI (WHY don't they???)...

I've seen this problem a few times before with other people's windows, and it SEEMS to be a random thing. If it's of any use, I cloned the Independent Expressions Shop Window.

Is there a known cause/solution?


Glad to hear you found the tutorial useful!

That's an odd problem with the wallmask, though. Nobody has reported it happening with my windows (which have been included in some downloaded houses), but I'll have to ask around if it has happened to anyone and just never mentioned. I have no idea what would cause it, especially if it works fine with the Clean Pack Installer. Odd. I'll have to try cloning that particular window and see if I can spot anything different.
The ModFather
staff: retired moderator
#7 Old 24th Oct 2005 at 9:06 AM
I've never heard of such a problem, either... It's odd, because the different installers may copy the packages into different locations, or assign a different name to the package; but in any case the content of the package shouldn't be altered anyway.

Please check the package that was installed with the Maxis installer, in order to be sure that the wallmasks TXMT are in, and their names are correct.

I've finally started my Journal. Information only, no questions.

My latest activity: CEP 9.2.0! - AnyGameStarter 2.1.1 (UPD) - Scriptorium v.2.2f - Photo & Plaques hide with walls - Magazine Rack (UPD) - Animated Windows Hack (UPD) - Custom Instrument Hack (UPD) - Drivable Cars Without Nightlife (UPD) - Courtesy Lights (FIX) - Custom Fence-Arches - Painting-TV - Smarter Lights (UPD)


I *DON'T* accept requests, sorry.
Test Subject
#8 Old 25th Oct 2005 at 2:36 PM Last edited by Bad Whippet : 25th Oct 2005 at 2:42 PM.
Quote:
Originally Posted by Numenor
Please check the package that was installed with the Maxis installer, in order to be sure that the wallmasks TXMT are in, and their names are correct.


Thanks both - will do that tonight.

It's happened to some of Windkeeper's windows too. She can make an entire set, but a couple of them exhibit this trait for no apparent reason (her Lafentere privacy windows do, but Lafenetre loft windows don't).

I wanted to use the independent expressions window because the glass is also included (I wanted to change the glass to be totally invisible).

Of course, it could be me - I managed to cock up my diagonal window attempts and am perfectly used to having to retry 80 times before I finally get it right! I'll try again with a different window.

If you have any tips on how I can change the non-included glass, that would be invaluable!

BW
Test Subject
#9 Old 25th Oct 2005 at 2:46 PM
And one more dumb question: if I want a window without glass, can I simply remove the glass mesh from the package?

BW
The ModFather
staff: retired moderator
#10 Old 25th Oct 2005 at 4:36 PM
A little rough, but it should work...

I've finally started my Journal. Information only, no questions.

My latest activity: CEP 9.2.0! - AnyGameStarter 2.1.1 (UPD) - Scriptorium v.2.2f - Photo & Plaques hide with walls - Magazine Rack (UPD) - Animated Windows Hack (UPD) - Custom Instrument Hack (UPD) - Drivable Cars Without Nightlife (UPD) - Courtesy Lights (FIX) - Custom Fence-Arches - Painting-TV - Smarter Lights (UPD)


I *DON'T* accept requests, sorry.
Part-time Hermit
Original Poster
#11 Old 25th Oct 2005 at 4:37 PM
Quote:
Originally Posted by Bad Whippet
I wanted to use the independent expressions window because the glass is also included (I wanted to change the glass to be totally invisible).

Of course, it could be me - I managed to cock up my diagonal window attempts and am perfectly used to having to retry 80 times before I finally get it right! I'll try again with a different window.

If you have any tips on how I can change the non-included glass, that would be invaluable!

BW


What do you mean by the "non-included glass"?

To answer your second post, I haven't tried to remove the glass completely, but I'm pretty sure it's possible. When you remove the glass meshes, you should also remove the material definition files related to them. I might be forgetting something else necessary here, but if it doesn't work like that, let me know. I have removed parts from other objects than windows, and it hasn't been a problem.
The ModFather
staff: retired moderator
#12 Old 25th Oct 2005 at 4:59 PM
A complete removal of a mesh needs the foolowing steps:
- Delete the mesh from the GMDC
- Delete the Material Definition that refer to that subset (usually one, but multi-state objects, like lamps or counters, may have two)
- Delete the reference to that subset from the shape
- If the subset is recolourable (most of the window glasses are), delete the Material Override that refers to that subset, and remove the reference to the subset from the GMND (tsDesignModeEnabled block).

Anyway, as soon as you delete the mesh from the GMDC, the game can't render it any more (though it tries to). If the subset is recolourable, and you don't delete the MMAT and don't edit the GMND, you may see that subset as colour option in the catalog (i.e. e second line of icons), though that subset doewsn't exist any more.

I've finally started my Journal. Information only, no questions.

My latest activity: CEP 9.2.0! - AnyGameStarter 2.1.1 (UPD) - Scriptorium v.2.2f - Photo & Plaques hide with walls - Magazine Rack (UPD) - Animated Windows Hack (UPD) - Custom Instrument Hack (UPD) - Drivable Cars Without Nightlife (UPD) - Courtesy Lights (FIX) - Custom Fence-Arches - Painting-TV - Smarter Lights (UPD)


I *DON'T* accept requests, sorry.
Test Subject
#13 Old 25th Oct 2005 at 5:07 PM
Thanks ever so, Numenor. I figured that yoinking out the mesh and then walking away would be a bit tardy. This is REALLY helpful and much more useful to me than invisible (not needed) glass.

Just hope I can sort the lot packaging now. Tonight, I shall install my test lot with the Maxis installer and check out the package to see what has happened. It is like the window mask of the original cloned window replaces my custom mask, so it may well be they're missing or something.

Probably me again!

BW
Part-time Hermit
Original Poster
#14 Old 25th Oct 2005 at 5:15 PM
Quote:
Originally Posted by Numenor
A complete removal of a mesh needs the foolowing steps:
- Delete the mesh from the GMDC
- Delete the Material Definition that refer to that subset (usually one, but multi-state objects, like lamps or counters, may have two)
- Delete the reference to that subset from the shape
- If the subset is recolourable (most of the window glasses are), delete the Material Override that refers to that subset, and remove the reference to the subset from the GMND (tsDesignModeEnabled block).



Thanks, I was thinking about the Shape and DesignModeEnabled things, too, but wasn't sure if they would be removed automatically or not. I think, before when I removed subsets, they weren't recolorable to begin with so I didn't need to worry about that or the Material Override with those.
Field Researcher
#15 Old 27th Oct 2005 at 5:21 PM
Dear IgnorantBliss,

Thank you so much for this tutorial. Even though I didn't try it out yet, I am confident that I can pull off making custom windows, as I've already made mirrors, TVs, and lights without tutorials and without problems. It all makes sense and there are good screenshots that help illustrate what you explained in the tutorial.

This tutorial is very appreciated. Thanks once again.
Test Subject
#16 Old 31st Oct 2005 at 12:41 PM
Thank you so much, IgnorantBliss! You are a life saver for me as I wanted to try my hand on windows now for a long time and had no idea how to.
It's a lovely tutorial and very well explained. Writing a clear tutorial takes lots of time and patience. You have done a marvelous job!
I am off now to try it :D
Part-time Hermit
Original Poster
#17 Old 31st Oct 2005 at 12:51 PM
I'd love to hear in the future how the projects turn out for the both of you
Lab Assistant
#18 Old 1st Nov 2005 at 1:15 AM
Bad Whippet: I have seen that bug with numerous windows by now. they all have in common that it only happens with single items or master files - not to all of them though - but never with diagonals or slaves.
and there doesn't seem to be a cure for it around so far.

what u could do as a workaround is once u figured that there is that bug with any of your windows and u used it in one of your lots to generally advice downloaders to download and install the required window meshes prior to installing the lot.
Field Researcher
#19 Old 17th Nov 2005 at 11:25 AM
Default Your tutorial Rocks!!!!!!!!!
First of all, I want to thank Ignorantbliss for this tutorial.

Ignorantbliss, I decided to actually try out your tutorial, though instead of using Milkshape, I used 3dsMax. Anyway, I ended up with a wonderful window that even surprised me. I expected it to fail because it was my first attempt at this tutorial. Anyway, I'd like to show what I've done following your wonderful tutorial:

Part-time Hermit
Original Poster
#20 Old 17th Nov 2005 at 11:40 AM
That's an absolutely gorgeous window, xrax! Congratulations!
Field Researcher
#21 Old 20th Nov 2005 at 6:06 PM
Thank you. Thank you. I just had no idea how to make the diagonal windows, and now I have successfully made one.
Field Researcher
#22 Old 6th Dec 2005 at 4:10 AM
I've gotten all messed up somehow. I actually had this window made and a recolor made and both were working correctly on straight and dieagonal walls. Then I thought I'd change the mesh slightly so I imported both meshes into the straight and diagonal packages. Then when I tried it out everything was ok except the additional color option is now missing from the diagonal window. I tried to get back the package that was right but the back-ups were wrong too somehow.
So I'm uploading them and throwing myself on your mercy.

I'm also confused about all the extra wallmasks in these packages. I'm pretty sure I can delete most of them but I can't seem to work out which ones.

Thanks again for the tutorial and all your help.
Download - please read all instructions before downloading any files!
File Type: zip magenewwindows.zip (80.2 KB, 55 downloads)
The ModFather
staff: retired moderator
#23 Old 6th Dec 2005 at 9:12 AM
Mage, I can't find anything wrong in your packages, at least with the resolours for the frame. There is a little problem with the recolours for the glass (the diagonal GMND wasn't properly linked, it's not your fault, but something that should be fixed in the CEP).

Try this fixed diagonal, and try re-build the recolour package.
If it doesn't work, post here the recolour, too.
Download - please read all instructions before downloading any files!
File Type: rar magetea2newwindowdiagonal120505.rar (23.4 KB, 37 downloads)

I've finally started my Journal. Information only, no questions.

My latest activity: CEP 9.2.0! - AnyGameStarter 2.1.1 (UPD) - Scriptorium v.2.2f - Photo & Plaques hide with walls - Magazine Rack (UPD) - Animated Windows Hack (UPD) - Custom Instrument Hack (UPD) - Drivable Cars Without Nightlife (UPD) - Courtesy Lights (FIX) - Custom Fence-Arches - Painting-TV - Smarter Lights (UPD)


I *DON'T* accept requests, sorry.
Part-time Hermit
Original Poster
#24 Old 6th Dec 2005 at 9:14 AM
Hi Mage,
I figured out it was the glass missing from the tsMaterialsMeshName list for the diagonal window, so it wasn't linking the textures for the window correctly from the straight one. I added the glass subset, and now the diagonal version has both subsets showing up in design mode, as well.

I deleted the wallmask images and TXMTs from the straight package that had the letters "cas" in the name. I don't know what they were for, but now the window only has the wallmasks it needs .

Edited to add: Good timing, Numenor, you beat me .
Download - please read all instructions before downloading any files!
File Type: zip windowfixed.zip (78.2 KB, 46 downloads)
Field Researcher
#25 Old 6th Dec 2005 at 3:30 PM
Numenor and IgnorantBliss, you both are so nice to be so willing to help. I feel that much less frustration knowing that if I can't get something right you are here.
In this case maybe I shouldn't have been so quick to ask, as late last night I got it working myself somehow. When I'm making an object I start out saving it in a project folder and then save it into the downloads folder when it's done. This time the first time I did it everything worked fine, but because the colored glass was overlapped by the clear glass it wasn't quite the right color. So I'm guessing what happened was when I imported the mesh to correct that, I must have used the straight window from the projects folder, which wasn't linked to the diagonal...

Anyway I went over the diagonal tutorial again and I'm not sure what I even changed... But I got it working right with the new mesh.

Now I have removed the unnecessary wall masks and all seems to be well... I almost want to upload my fixed files and ask you to make sure they are ok. But they must be if they are working in the game, right? Right?

Thanks again, really from the bottom of my heart. This is so much fun. (I wish my skinning wasgoing as well, lol)
Page 1 of 5
Back to top