trigger lights

trigger lights

Re: trigger lights Posted by DjBourgeoisie on Thu Nov 18th 2004 at 7:04pm
DjBourgeoisie
16 posts
Posted 2004-11-18 7:04pm
16 posts 2 snarkmarks Registered: Nov 18th 2004
I have always had trouble setting up multiple triggers, can someone explain step by step how to setup a trigger (button) that can be toggled to turn multiple lights on and off? Ive searched these boards and all hl2 editing forums I can find and still havent found a tutorial. Sorry if its been covered already, but I couldnt find it :leper:
Re: trigger lights Posted by Nanodeath on Thu Nov 18th 2004 at 8:19pm
Nanodeath
356 posts
Posted 2004-11-18 8:19pm
356 posts 66 snarkmarks Registered: Nov 11th 2004 Occupation: Student - Bioengineering Location: Seattle, WA, USA
Um, firstly, triggers and buttons are two different things. A trigger is something you walk through to activate, and a button is something you walk up to and hit the USE key. Have you tried looking at the outputs tab? And I don't mean to sound condescending at all here, but most of that's self-explanatory. You set a target, a condition under which to fire the output, and how you want to affect the target...
Re: trigger lights Posted by DjBourgeoisie on Thu Nov 18th 2004 at 8:31pm
DjBourgeoisie
16 posts
Posted 2004-11-18 8:31pm
16 posts 2 snarkmarks Registered: Nov 18th 2004
I thought I made it clear I have looked for a step by step tutorial for setting this up. Obviously if I knew how to do it I wouldnt be posting asking for help. Pretend it is not self explanatory and explain how to do it. I mean if you know how to do it why not just lose the holier than thou attitude and post the answer? (not to sound condescending) I have helped lots of people on various forums and while it isnt often I myself need to ask for help but when I do, it would be nice to get some help instead of crap like this. Now let me start over, can someone please post the step by step process for triggering off and on a light? Thanks!
Re: trigger lights Posted by Nanodeath on Thu Nov 18th 2004 at 10:13pm
Nanodeath
356 posts
Posted 2004-11-18 10:13pm
356 posts 66 snarkmarks Registered: Nov 11th 2004 Occupation: Student - Bioengineering Location: Seattle, WA, USA
Jesus, someone's in a bad mood. Even though I gave you everything you needed to know, let me spell this out for you reeeeal slowly.

1) Create a brush that will be your button (this is with the brush tool -- it looks like a cube on the left side).
2) Tie it to an entity with CTRL-T (that's called a hotkey).
3) Select the func_button option (it's in the little thing below Class: -- it's called a dropdown box). We're just going to leave this for now. Don't touch it. I mean it.

4) Click the entity tool (it looks like a light bulb).
5) In the 3d view click the entity somewhere, or, alternatively, in the 2d view, click a point, arrange it according to your specification in the 3 2d views, and hit the Enter key (it has a little down left arrow on it usually).
6) Pat yourself on the back, you made an entity!
7) Hit Alt-Enter to bring up the properties (yes, another hotkey).
8) Change the class to Light. That means it's a light (one that doesn't move and goes in all directions -- like a light_dynamic or light_spot).
9) Give it a unique name. This would be by clicking the Name parameter and typing something in (and unique means nothing else has the same name).
10) Mess around with the brightness and color if you so desire. In the Flags tab you can set it to Initially Dark if you want (by checking the box there).

11) Go back to the button (the one you made in step 1), bring up the properties, and go to the Output tab. This is how you get the entity to o-u-t-p-u-t something to another entity (AKA change its settings).
12) Hit Add.
13) Hit the little down arrow next to the "My output named" textbox.
14) Select OnPlayerUse (makes sense, right?....right?)
15) In the "Target entities named" box, type the name of the light you made earlier. Alternatively, you can hit the eyedropper and left click on your light (make sure the name that comes out matches that of the light).
16) In the "Via this input" box, you have a multitude of options. "Turn off" means this button will turn off the light, "Turn on" means this button will turn on the light, and "Toggle" means it will turn the light off if it's on, or on if it's initially off.

There, your majesty, is your step-by-step tutorial. (and yes, THIS is what it looks like when I try to talk condescendingly)

In the future throwing complaints and accusations at people who are honestly trying to help usually doesn't work, because the main reason people do this is for the gratitude of the person they helped. Now, even IF you do all this and even IF it works for you I won't expect positive feedback not just because of how I conveyed my response, but because of your negative response to my initial comment.
Re: trigger lights Posted by Orpheus on Thu Nov 18th 2004 at 10:16pm
Orpheus
13860 posts
Posted 2004-11-18 10:16pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
Nanodeath said:
Jesus, someone's in a bad mood. Even though I gave you everything you needed to know, let me spell this out for you reeeeal slowly.
slaps knee

THATS what i needed, some real scorn :lol:

today has not been my favorite, but this definitely makes it better..

continues giggling
Re: trigger lights Posted by DjBourgeoisie on Fri Nov 19th 2004 at 12:21am
DjBourgeoisie
16 posts
Posted 2004-11-19 12:21am
16 posts 2 snarkmarks Registered: Nov 18th 2004
Thanks! Now, was that so hard? I mean comon, why not just answer questions, if you feel you are above the question, dont post. I answer noob questions on other forums all of the time, keep in mind not everyone has the same strenghts/weaknesses at mapping. But seriously, thanks for the tutorial.
Re: trigger lights Posted by Nanodeath on Fri Nov 19th 2004 at 12:28am
Nanodeath
356 posts
Posted 2004-11-19 12:28am
356 posts 66 snarkmarks Registered: Nov 11th 2004 Occupation: Student - Bioengineering Location: Seattle, WA, USA
Well you're welcome. Perhaps you could mark the question as answered...

And as for answering questions...tutorials are a lot of work. I thought I could just give you a couple tidbits of information that would give you enough info to do it on your own.