Doors and lighting.

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

Moderator: Moderators

Post Reply
Ramah Palmer
Warrant Officer
Posts: 131
Joined: Sun May 25, 2003 10:13 am
Location: Nottinghamshire: UK

Doors and lighting.

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

worldspawn

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

Image
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

There is a type of chaulk called shadow chaulk that will stop lights I don't know about sunlight though .
Ramah Palmer
Warrant Officer
Posts: 131
Joined: Sun May 25, 2003 10:13 am
Location: Nottinghamshire: UK

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

Caulk shadow

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

Image
Post Reply