Page 1 of 1

Doors and lighting.

Posted: Mon Jun 16, 2003 8:18 pm
by Ramah Palmer
Ok, this is my last question for tonight! :)
I'm building a map with a bunker facility at the end of a street. I built my skybox and started the bunker, but when I test my map, even though the doors are closed, I've got sunlight shining through the doorways and into my bunker.
Is there some kind of texture I need to drape across my doorway to stop the light going through when it compiles?
Thanks in advance to anyone who can help me.

worldspawn

Posted: Tue Jun 17, 2003 3:49 am
by tltrude
I think you are talking about the sunflare and you can turn that off with sunflare/none. You can also change the direction of the sun with the key/value sundirection/330 230 0 (for example).

Posted: Tue Jun 17, 2003 4:09 am
by bdbodger
There is a type of chaulk called shadow chaulk that will stop lights I don't know about sunlight though .

Posted: Tue Jun 17, 2003 7:48 am
by Ramah Palmer
No, I aint talking about sunflare, although the sundirection is aiming straight at my door. I suppose changing this could help but I also plan to have other doors elsewhere on the map and this will only postpone my problem till a later date. What my problem is I think is that at compile time it works out all the lighting and somehow doesn't see the door and shines sunlight straight through. So when I come to test the map I have a bright rectangle of sunlight on the floor inside my door, surrounded by the shadowy darker light of my room.

The Caulk noshadow texture? Where would I put it? All I can think is that I would put something INSIDE the door maybe. Unless it's an invisible texture that I just drape across the opening that stops light only.

Caulk shadow

Posted: Tue Jun 17, 2003 12:55 pm
by tltrude
Make a brush that covers the bottom crack of the door and texture it with caulk shadow. it is non-solid and invisible in the game (except for the shadow it makes). It can overlap other brushes and stick into the ground too. I've seen it used as a disk in trees to cast round shadow on the ground, but I haven't had much luck using it to stop light leaks.