Lightswitch

Lightswitch

Hammer Mapping — Page [1]
NsN
2010 Jun 30 • 11
/ Woo a new question on post #10 \

Okay, I'm new to these forums but decided to finally register to ask this question (I've lurked the forum as a guest for quite some time).

I've got a room with a lightswitch, and it works fine. I have the lightswitch as a func_button with the target as my lights in the room, and they turn off and on fine.

The thing is, when the lights are 'off' I'd like it not to be pitch black, but instead, I'd like my dark blue lights to turn on. I have dark blue lights named lights2 all right next to the regular lights. I'd like these to come on when the regular lights go off, and vice versa. I can do this with 2 seperate lightswitches, but this will allow you to turn them both on at the same time and I do not want that.

Is there a way to do what I'm wanting with just one lightswitch? If somebody could point me in the right direction I'd be really greatful, thank you.
-NsN


Edit:
Wow, I spent a long time thinking about this earlier this morning, and can't believe I missed something so obvious! And it WOULD come to me only 5 minutes after I make the post. Unlucky, and sorry for bothering you all.
- All I did was give all the lights the same name, but set the blue ones to 'Initially Dark' flag. Simple! Woah, I need some sleep.
 
 
 
2010 Jun 30 at 18:47 UTC — Ed. 2010 Jun 30 at 21:34 UTC
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
 
 
 
2010 Jun 30 at 19:02 UTC
NsN
2010 Jun 30 • 11
Down Rodeo said:
This is possibly the bet help post I have ever read skimmed. :)


Haha because I'm such a dumbass?
Sorry for the newbie questions, but here's another for anybody reading this far.

I have two rooms with a door between them. One room has a light, the other doesn't. But it's really aggravating, because the light from the other room shines through the door into my dark room even when the door is closed. It acts as if there is no door, but instead just an empty space. How can I make it so that light does not shine through my closed door?

Probably a simple fix that I just haven't learned yet.
Thanks.
 
 
 
2010 Jun 30 at 19:09 UTC
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
Entities do not have an effect on lighting, thus the light goes through it.

Move your light or put an invisible solid, or fix the threshold/doorway.
 
 
 
2010 Jun 30 at 19:34 UTC
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
There might be a way to do it with some funny advanced brushes. And no, it was because you answered your own question :D
 
 
 
2010 Jun 30 at 19:52 UTC
NsN
2010 Jun 30 • 11
Haha, alright, I have some updates/new questions and something weird.

I fixed the lightning issue where it went through the door, with some googling I finally came up with the right answer, something that ZHLT had a nice feature for.

// Dont waste your time!
/ No more reason to read this, read bottom of post haha. \

But now, this is really weird. Before, when I answered my own question, everything worked smooth. The blue lights turned on and the regular lights turn off. Now, something is wrong and I didn't even change anything about the lights! No idea how this could have happened; and no, it's not because of what I did to fix the door problem, because I changed that back and this problem still happens.

I set all the lights to name "drlights", and have a button with a target to "drlights". If I set them all to start ON, it works no problem. But when I set just the blue lights to start OFF and the regular ones are still set to start ON, they ALL start off.. It's pitch black! As if by setting only the blue lights to start off, they are all set to start off (but they aren't, I checked!) Weeeird.

So to summarize that, the room now starts pitch black, and the only fix I've found is to set all the lights to "start on", which ruins the purpose of the lightswitch.

Mind-numbing.


/e: Wow, I'm on a roll today with answering my own questions!
I still don't know why it stopped working suddenly, but this method worked too:
- I just deleted the names of the blue lights and set them to start on, so they were just regular blue lights with no special settings. Then I made the button only affect the regular lights. It works good because with the white lights on at the same time as the blue ones you really can't even see the blue light at all, but when the white lights go off you can see them perfectly.

Sorry if I wasted lots of your time!
 
 
 
2010 Jun 30 at 20:14 UTC — Ed. 2010 Jun 30 at 20:24 UTC
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
It could well be a bug - there are many of them. You could try setting them to start on then triggering the light switch to turn it off, maybe? I've heard about funny things like this happening from time to time.

Triggering it to turn the lights back off when the round starts, for instance. Sorry.
 
 
 
2010 Jun 30 at 20:24 UTC — Ed. 2010 Jun 30 at 20:25 UTC
NsN
2010 Jun 30 • 11
Down Rodeo said:
It could well be a bug - there are many of them. You could try setting them to start on then triggering the light switch to turn it off, maybe? I've heard about funny things like this happening from time to time.


Well I found an easy fix like said in my edit, but thanks for this.
That was a really weird bug.. I set one to off and they all start off. :l But you really can't see blue light at all if you put it by a white light. Didn't know that.
 
 
 
2010 Jun 30 at 20:26 UTC
Rockbomb
Dog fucker (but in a good way now)

2009 Nov 14 • 2045
Quick random fact: When (traditional) animators do their drawings, they often do a really quick sketch with a blue pencil, then do the more detailed drawing over the blue with a regular pencil. Then instead of erasing the blue, they just leave it there because when you photograph it, the blue disappears into the white, and you can't see it at all.
 
 
 
2010 Jun 30 at 20:32 UTC
NsN
2010 Jun 30 • 11
Yay for another question.

My glass is perfect and partially see through when the normal lights are on, but when the blue dark lights are on, the glass is way too bright still. Any way to change that so that it's not so bright and ugly when the room is dark? Thanks
 
 
 
2010 Jun 30 at 21:35 UTC
Rockbomb
Dog fucker (but in a good way now)

2009 Nov 14 • 2045
Is the room lit up on the other side of the windows?
 
 
 
2010 Jun 30 at 21:39 UTC
NsN
2010 Jun 30 • 11
Nope, the glass is actually in the middle of the dark room. It's very bright when the rest of the room is dark. Had the same problem with water too.
 
 
 
2010 Jun 30 at 23:43 UTC
Page [1]