Light through walls and doors

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Bilko
Colour Sergeant
Posts: 91
Joined: Sat May 24, 2003 3:06 pm
Location: UK
Contact:

Light through walls and doors

Post 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.
crunch
Major
Posts: 348
Joined: Sat Jun 14, 2003 2:34 pm
Location: USA
Contact:

Post 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!
Image
Bilko
Colour Sergeant
Posts: 91
Joined: Sat May 24, 2003 3:06 pm
Location: UK
Contact:

Post by Bilko »

Ok, thanks a lot, off to radiant I go...

Bilko.
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post 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?
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

I suggest common/caulkshadow as the conclusion in this post: /forum/viewtopic.php?t=4549
Admin .MAP Forums
Image
Head above heels.
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

thanks, will try this :D
crunch
Major
Posts: 348
Joined: Sat Jun 14, 2003 2:34 pm
Location: USA
Contact:

Post 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!
Image
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post 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
Serph
Major
Posts: 278
Joined: Wed Jun 11, 2003 5:23 pm
Location: Barrie, Ontario Canada
Contact:

Post 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
Image
~serph~
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Walls

Post 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.
Tom Trude,

Image
Bilko
Colour Sergeant
Posts: 91
Joined: Sat May 24, 2003 3:06 pm
Location: UK
Contact:

Post by Bilko »

can they be touching, or do they actually need to be apart?

Bilko.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

touching

Post 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.
Tom Trude,

Image
Serph
Major
Posts: 278
Joined: Wed Jun 11, 2003 5:23 pm
Location: Barrie, Ontario Canada
Contact:

Post 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
Image
~serph~
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Re: Walls

Post 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...
Serph
Major
Posts: 278
Joined: Wed Jun 11, 2003 5:23 pm
Location: Barrie, Ontario Canada
Contact:

Post 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...
Image
~serph~
Post Reply