Lighting Issues

Avatar
saberboy117
15 Posts
Posted May 22, 2011
I am working on a map. I have an item start in the dark. however I want it to light up later on. when the lights go on its still dark. how can I force a lightmap calculation or fix this?

thanks

Im attaching a photo

Images 1
Post image 1
Advertisement
Registered users don’t see ads! Register now!
Avatar
msleeper
4,136 Posts
Admin
Posted May 22, 2011
Replied 15 minutes later
Your map has no lights at all. You will need at lest 1 static light for VRAD (the lighting program) to run.

To answer your question though, you can give the light entity a "name", and toggle it off and on that way. But you still need at least 1 static light.

Avatar
saberboy117
15 Posts
Posted May 22, 2011
Replied 2 minutes later
I have a light. Its not were the elevator starts. and when the elevator enters the light it dosent light up. it should look like the floor around it.
Avatar
saberboy117
15 Posts
Posted May 22, 2011
Replied 18 minutes later
here are pics, the black thing on the wall should look like whats below it
Images 3
Post image 1
Post image 2
Post image 3
Avatar
kwp21 pitts
260 Posts
Posted May 24, 2011
Replied 1 day later
Are you trying to light up a tools/toolsblack texture? That texture is made so it wont llight up. If thats not what your after you might have to elaborate a little for me.

EDIT: Never mind the idiotic first quote I made. What you should do is make the entity start expose to the lighting then when your map starts then fit into its surrounding. I'll repost an example.

Advertisement
Registered users don’t see ads! Register now!
Avatar
kwp21 pitts
260 Posts
Posted May 24, 2011
Replied 37 minutes later

Ok first of al make sure you brush is exposed during the lighting process. This will prevent turning your brush black.

http://i588.photobucket.com/albums/ss32 ... /ex1-1.png

second of all, make sure you have a way to return it to the desired position

I this example I used a trigger to put it in the ground athough there are other ways to do it. I'm assuming you know the input output system.

http://i588.photobucket.com/albums/ss32 ... ts/ex4.png

This is the results I get in game from leaving the brush exposed.

before triggered

http://i588.photobucket.com/albums/ss32 ... ts/ex2.png

after triggered

http://i588.photobucket.com/albums/ss32 ... ts/ex3.png

Hope this is helpful.

What type of brush are you using?