Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!
Lab Assistant
Original Poster
#1 Old 30th Aug 2009 at 2:06 AM
Default Help with lighting a lamp (new mesh)
Hiya!
I am trying to make a new lamp, and thanks to Deluxe Designs tutorial, that is now a possibility, but I have one sticking point. When I try to change where the light comes from, my mesh turns completely black (except for the bulbs, lol). I'm not sure why this is, but I'm thinking it has something to do with that particular img file. I was wondering if someone might be able to help me out?

I've attached a few images, to help illustrate the problem, and can upload a file if need be. The 2 images that are textured correctly are without changing (what I think is) the lighting file? And the other 2 (black everything) images are after changing that black and white img file which appears to determine where the bulb is lit from. I assume this to be the case because when I mouse over the first one (with correct textures and such) the white parts you see "glow" like they are the bulb. Is there something I'm missing? Help!

Thank you
Screenshots

Free downloads by me at AweSims | www.sixty-ten.net
Advertisement
Lab Assistant
Original Poster
#2 Old 1st Sep 2009 at 3:21 AM
*bump*

Any ideas?

Free downloads by me at AweSims | www.sixty-ten.net
Alchemist
#3 Old 1st Sep 2009 at 4:20 AM
I am guessing that if there are two states, on and off, then there are two materials for the lamp mesh. One appears to have been changed correctly, because your on state lights up.

One appears to be linking to a bad (well, incorrect in some manner) texture, however. I feel it is that because the mesh shape is correct, but all black only when the light is off. So there are probably two textures involved here, and one is still not right.

<* Wes *>

If you like to say what you think, be sure you know which to do first.
Lab Assistant
Original Poster
#4 Old 1st Sep 2009 at 6:18 AM
Hi Wes, thank you so much for replying

I have picked through the file with a fine toothed comb, and I definitely can't find another texture file for the lighting. The lights in the pictures I attached to the last post were on for both sets (the one with the correct textures showing, and the fully black ones), and there was no change when the lights turned off.

I've attached a rar of the package file, and included a map of where the lightbulb *should* be, on the off chance you or someone might be able to figure out an answer for this. I'd be so grateful!

Thank you for all the work you put in for us, its so appreciated!

*edit to add, I have not imported all the lod files yet, its just the basic mesh. In case you wondered
Attached files:
File Type: rar  Awesims Rocket Lamp test.rar (320.0 KB, 11 downloads) - View custom content
Description: rocket lamp file for checking

Free downloads by me at AweSims | www.sixty-ten.net
Lab Assistant
Original Poster
#5 Old 3rd Sep 2009 at 2:51 AM
I don't mean to be a pest, but I still can't figure this problem out

Free downloads by me at AweSims | www.sixty-ten.net
Lab Assistant
#6 Old 4th Sep 2009 at 1:12 AM
Ok, this was actually pretty simple.

Your bulb lighting image had no alpha channel, so the image was rendered on the whole mesh, instead of just the bulb part.

That's why it was showing up completely black except on the bulb itself-- you absolutely need the alpha channel in order to to show the game which parts of the image should be visible and which parts should be "see-through".

The lit bulb dds would only used by the game when the light is on, obviously. So when the light was off, it looks fine, because the game is not referencing the dds in question. But when the light was turned on, that image was called up and displayed on the entire lamp mesh-- the white part on the bulb and the black part everywhere else.

The easiest way to see if you need an alpha channel in your image is to look at the original dds that you will be replacing. If that has an alpha channel, your replacement will need one too.

I added the alpha channel to your image and imported it into your package, and it now works fine in my game. I attached the fixed package for you.
Attached files:
File Type: zip  saz_Rocket_FloorLamp_take2_fixed.zip (315.6 KB, 14 downloads) - View custom content
Lab Assistant
Original Poster
#7 Old 4th Sep 2009 at 2:03 AM
BabaYaga, thank you SO much! I really appreciate the help.
It always makes me feel like a bit of a tard when the solution is really a simple thing like that, but, I guess we can't all know everything, right.

Thanks again! Yay!

Free downloads by me at AweSims | www.sixty-ten.net
Lab Assistant
#8 Old 4th Sep 2009 at 7:55 PM
Yup, no need to feel bad just because it was a simple problem-- I'm glad to be able to help, and if it hadn't been simple, I wouldn't have been able to!
Alchemist
#9 Old 5th Sep 2009 at 1:50 PM
I will give you my "you helped out" award. It has no official status, no benefits and I don't even have a mesh for it. But we need some more helpers around here, and you should be proud that you "chipped in".

<* Wes *>

If you like to say what you think, be sure you know which to do first.
Back to top