Page 1 of 2

Light through walls and doors

Posted: Sat Jul 26, 2003 3:38 pm
by Bilko
Right, I know this subject has been revisited to death, however, all the suggestions I found haven't helped me.

I have light shining right through a door and shining around the top and bottom of the wall, as shown:
Image
The door is off-screen to the right.

Image

What should I do to tackle these problems?
Thanks.

Bilko.

Posted: Sat Jul 26, 2003 5:54 pm
by crunch
For the light shining through your door, you need to make a brush about 8 grid taller and wider than the door. Apply the sunblock texture to it, and put it 1 grid away from the door on the inside (make sure it touches nothing but the floor.

For the joints between the floor and ceiling, you need to change the wall length, or the floor width.
You want the floors and ceilings recessed within the walls, so that the bottom of the wall is past the floor brush. Like this:

Image

The pic was taken from inside the wall. Notice how the wall extends past the floor? That is how to keep light from coming through.

Kill Ya Later!

Posted: Sat Jul 26, 2003 6:53 pm
by Bilko
Ok, thanks a lot, off to radiant I go...

Bilko.

Posted: Mon Aug 04, 2003 11:01 pm
by wacko
gave that sunblock brush a try:
light (atleast from a light entity) was still shining through
plus
i couldn't walk through that brush

anything I must do different?

Posted: Mon Aug 04, 2003 11:11 pm
by Bjarne BZR
I suggest common/caulkshadow as the conclusion in this post: /forum/viewtopic.php?t=4549

Posted: Mon Aug 04, 2003 11:18 pm
by wacko
thanks, will try this :D

Posted: Tue Aug 05, 2003 2:35 am
by crunch
Caulk Shadow is solid, and won't work.
Sorry about the sunblock....I forgot, I made a different sunblock :?

I have a non-solid "caulkshadow" that will work for keeping sunlight out of your indoor areas.

All you need to do is fill your door openings with it, and no more sun inside through closed doors....and you can walk through it with no problems.

Give me a shout if you want it. I haven't tested it with entity lights..........just sunlight.

Kill Ya later!

Posted: Tue Aug 05, 2003 2:48 pm
by bdbodger
make sure each room has it's own ceiling and floor , the light touching a brush in the hallway will go over the wall if they share a ceiling or floor brush

Posted: Tue Aug 05, 2003 4:33 pm
by Serph
what about wall brushes, like

Code: Select all

                          
|________/ )_____|                  
|                |       |      this wall face extends into the next room
|                | <---  |      will the light entity showthe same 
|                |       |      brightness?    
|                | <---  |  
|                |       |
|________________| <---  |
|                |       |         
|                |       |          
|__________/ )___|           

            ^
            |
            |
            that is a door :P

Walls

Posted: Tue Aug 05, 2003 4:55 pm
by tltrude
I can't tell what serph is asking, but one thing to remember is not to let the bright part of a light entity shine through to the other side of a wall. It can stick into a wall, but not through it. That may be what is happeing in the first screenshot. One way to fix it is to change the size of a light entity by using Key: light, and Value: 150 (default is 300). Another is to make your walls thicker.

One possible way to stop light from coming under a door is to break the floor brush into two brushed that meet under the door brush.

Posted: Tue Aug 05, 2003 5:16 pm
by Bilko
can they be touching, or do they actually need to be apart?

Bilko.

touching

Posted: Tue Aug 05, 2003 5:37 pm
by tltrude
Yes, the bright part of a light can touch a wall, and even stick into it, but it must not go through the other side of the wall. The dim part can go through and will not show on the other side. However, if the walls are detail brushes, the light may shine through on a player near the wall. Lights can overlap each other, but it will cause an overbright spot between them.

Oh, I forgot to say, you can also make lights bigger using the same key and value--just go over 300 for the value.

Posted: Tue Aug 05, 2003 6:09 pm
by Serph
see how the arrows point to that vertical wall....

and that wall is part of two rooms

as the

_______________________

is a horrizontal line that seperates the one big room to two smaller rooms

say there is a light entity in one room.. will that wall face have the same brightness in the other room where there is no light entity

Re: Walls

Posted: Tue Aug 05, 2003 8:18 pm
by wacko
tltrude wrote:One possible way to stop light from coming under a door is to break the floor brush into two brushed that meet under the door brush.
This sounds nice but doesn't work. I would be glad to see an example map where u made it work...

Posted: Tue Aug 05, 2003 11:28 pm
by Serph
I did that on my map... the two brushes thing not because of sun but because orial.htmlof a look it would give, (some texture) but since ive only got ambient light in my map for faster testing compiles im not sure about sunlight yet...