buttons and lights

buttons and lights

Re: buttons and lights Posted by Your Dead on Mon Aug 2nd 2004 at 7:57am
Your Dead
23 posts
Posted 2004-08-02 7:57am
23 posts 82 snarkmarks Registered: Apr 12th 2004 Occupation: Computer Tech and Business Owner/Nerd Location: Oakhurst
I am having a problem getting the button and light thing to work....Ok here is what I'm trying to do, I want to put a light switch in the cellblock 2 map that I have made but don't know what to use entity wise. Can someone please give me a place to go for this or tell me how to do it. I have searched the tuts and found nothing that helps. simple on off thing!!!!!
Re: buttons and lights Posted by $loth on Mon Aug 2nd 2004 at 8:07am
$loth
2256 posts
Posted 2004-08-02 8:07am
$loth
member
2256 posts 292 snarkmarks Registered: Feb 27th 2004 Occupation: Student Location: South England
Create what you want to be your button, make that a func_button. Make a light entity and give it a name like 'light1' or something, and make the func_button trigger that, you could also make it so that once its touched it activates by ticking the 'touch activates' field.

(edited by Lep for clarity)
Re: buttons and lights Posted by JFry on Mon Aug 2nd 2004 at 8:52am
JFry
369 posts
Posted 2004-08-02 8:52am
JFry
member
369 posts 82 snarkmarks Registered: Mar 9th 2004 Occupation: Scumbag Location: USA
No need to make a seperate brush with aaa trigger, you can same brush that you put your button texture on. Also to do this with texture lights simply turn the brush with the light texture on it into a func_wall, click on smart edit, add 'style' with a value of -3 and give it a name. Then you just have the button target that.

Edit: I'm pretty sure you need Zoners compiling tools to use this.
Re: buttons and lights Posted by matt on Mon Aug 2nd 2004 at 4:32pm
matt
1100 posts
Posted 2004-08-02 4:32pm
matt
member
1100 posts 246 snarkmarks Registered: Jun 26th 2002 Occupation: Student! Location: Edinburgh
Expanding on what $loth said, you can set the 'Initally dark flag' in the properties box so that the light is off when the map loads. Just a thought :biggrin:
Re: buttons and lights Posted by $loth on Tue Aug 3rd 2004 at 7:18am
$loth
2256 posts
Posted 2004-08-03 7:18am
$loth
member
2256 posts 292 snarkmarks Registered: Feb 27th 2004 Occupation: Student Location: South England
Is he gonna mark the answers then?
Re: buttons and lights Posted by Your Dead on Wed Aug 4th 2004 at 4:56am
Your Dead
23 posts
Posted 2004-08-04 4:56am
23 posts 82 snarkmarks Registered: Apr 12th 2004 Occupation: Computer Tech and Business Owner/Nerd Location: Oakhurst
Thank you all for the input and I will try it out.