Game Development Community

Light problems and the latest FGD?

by Peter Ryan aka TorQue[MoD] · in Artist Corner · 09/07/2003 (10:11 pm) · 9 replies

As funny as it may sound, I have never been able to get lights to work inside my maps. I place the light entity and specify the color and the falloff etc. But it doesn't show up in game. I've read Desmond's lighting tutorial but no luck.

Any ideas on why this might be? Am I not using the right FGD? We're using the HEAD release so it should be coded in already right?

Using Valve Hammer Editor.

Also, is there no way to specify the intensity of the lights? I notice only the RGB color values are present in the default light settings.

Thanks.

P.S. I've only tried the omni light.

#1
09/07/2003 (11:56 pm)
Here's a pic of the level I'm having the problem with.

www.surrogateinteractive.com/nolights.jpg
I covered the doors here with Portals that are set to not let any ambient light through. I also placed an omni light entity on the inside of this room and set it to be bright red. (255 0 0)

But as you can see, the light isn't there. Is there something I'm missing?

-TorQue[MoD]
#2
09/08/2003 (3:29 am)
I think the problem is map2dif but i'm not sure about that. ;)
#3
09/08/2003 (4:49 am)
What are the falloff1 and falloff2 values of your light omni? and you are sure it wasn't placed inside a brush?
#4
09/08/2003 (4:54 am)
Yip, post some more info on your lights.
You might also want to try different falloff settings for your light, since the "standards" 10/100 give a very small light.

The light settings in this little screenie here are 100/300:
ikotikashi.zenkel.com/gallery/light_test.jpg
And as Ward said, make sure your light is not placed on a brush.

Quote:Am I not using the right FGD?
Don't know, which one are you using? :P
#5
09/08/2003 (9:21 am)
The torque.fgd can be found at tork.zenkel.com or is supposed to be with the code.

You can turn lights up via the settings (can't recall the exact details at the moment--should be plenty of tuts around on it), or if you are just using the standard map2dif then you can try Radiosity Lighting. Radiosity is pretty cool! :-)

-Eric
#6
09/08/2003 (11:37 am)
Thanks for the help guys. It might be the fact that I'm using the default settings, but you'd think you'd see a little light if that were the case. I'll see what I can do though. I'll download Radiosity and the right FGD and see if that helps any too. Get back to you in an hour or so.

Thanks again!
#7
09/08/2003 (12:28 pm)
Ok I downloaded Radiosity but really have no clue how to get it to work. I just used the map2dif_debug.exe instead f my old map2dif.exe. Dunno if that's how you're supposed to work it. The Readme made it seem like there was a program with it.

Anyway, I changed the falloff values of my lights to 200 / 600 and now I'm getting the following error...

Light map too large: 258 x 4 (where max is 256 x 256). Your have a brush that is too large, or your light map scale value may be too small.

The error comes up whether I use the original map2dif or the radiosity one.

Anyone know how to up the light map scale value so I don't have to re-build the map?

Thanks!
#8
09/18/2003 (12:12 pm)
See your other post
#9
09/18/2003 (3:29 pm)
Thanks for the info Desmond!