Doors triggered by a button

Doors triggered by a button

Re: Doors triggered by a button Posted by Mike3006 on Thu Dec 23rd 2004 at 6:34pm
Mike3006
22 posts
Posted 2004-12-23 6:34pm
Mike3006
member
22 posts 12 snarkmarks Registered: Dec 20th 2004 Occupation: Student Location: UK
Hi all (thx for all who posted feedback on my map :smile: )

How would i make a button which when pressed opens a door? I have a
counter which i want to put a secret button underneith, which when
pressed unlocks the backdoor (ala Soldier Of Fortune) but i have no
idea how you make parented objects, all i know how t do is make a
"func_door_rotating"

what kind of entity should my button me etc?
Re: Doors triggered by a button Posted by Tracer Bullet on Thu Dec 23rd 2004 at 6:43pm
Tracer Bullet
2271 posts
Posted 2004-12-23 6:43pm
2271 posts 445 snarkmarks Registered: May 22nd 2003 Occupation: Graduate Student (Ph.D) Location: Seattle WA, USA
It's got nothing to do with "parenting".

All you do is make the button (func_button?) and make it target your door.

1. click on the button and go to the outputs tab.

2. Click add, and fill in the information. You will be specifying the event that causes the trigger to fire (eg "OnPress"), the name of the object to target, and what should happen to that object (eg open). I may be missing some of the fields you need, but I'm sure you'll figure it out.
Re: Doors triggered by a button Posted by Mike3006 on Thu Dec 23rd 2004 at 7:23pm
Mike3006
22 posts
Posted 2004-12-23 7:23pm
Mike3006
member
22 posts 12 snarkmarks Registered: Dec 20th 2004 Occupation: Student Location: UK
ok, it works but, once i press my button it dissapears and the door
appears to be unlocked to begind with (think ive resolved that by
ticking the "starts locked" box in the door settings), how do i resolve
dissapearing button problem?
Re: Doors triggered by a button Posted by kingtoke on Thu Dec 23rd 2004 at 7:35pm
kingtoke
56 posts
Posted 2004-12-23 7:35pm
kingtoke
member
56 posts 26 snarkmarks Registered: Nov 25th 2004 Location: uk
theres a flag on the button that says not to move :smile:
Re: Doors triggered by a button Posted by Mike3006 on Thu Dec 23rd 2004 at 7:37pm
Mike3006
22 posts
Posted 2004-12-23 7:37pm
Mike3006
member
22 posts 12 snarkmarks Registered: Dec 20th 2004 Occupation: Student Location: UK
thx guys, fixed it, although, you shouldnt really be helping me as my map will be teh winner of the comp :smile: (in my dreams)
Re: Doors triggered by a button Posted by kingtoke on Thu Dec 23rd 2004 at 8:45pm
kingtoke
56 posts
Posted 2004-12-23 8:45pm
kingtoke
member
56 posts 26 snarkmarks Registered: Nov 25th 2004 Location: uk
well im only mapping for CSS so mine won't count :smile:
Re: Doors triggered by a button Posted by Mike3006 on Thu Dec 23rd 2004 at 9:10pm
Mike3006
22 posts
Posted 2004-12-23 9:10pm
Mike3006
member
22 posts 12 snarkmarks Registered: Dec 20th 2004 Occupation: Student Location: UK
i want my button to Unlock AND open in one push of the button, can i do
that? so far ive only managed to work wheny uo press it twice (once to
unlock, and once to open) can't i string paramters like;

OnPressed : Unlock, Open ??
Re: Doors triggered by a button Posted by Rof on Thu Dec 23rd 2004 at 10:49pm
Rof
210 posts
Posted 2004-12-23 10:49pm
Rof
member
210 posts 41 snarkmarks Registered: Dec 3rd 2004
Add a second output of the func_button, also targeting the door. Add a
slight delay (0.1 seconds or something) to be sure the "unlock" happens
before the "open".
Re: Doors triggered by a button Posted by omegaslayer on Fri Dec 24th 2004 at 12:59am
omegaslayer
2481 posts
Posted 2004-12-24 12:59am
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
thx guys, fixed it, although, you shouldnt really be helping me as my map will be teh winner of the comp :smile: (in my dreams)
If your having trouble making a door...........naw just too mean to say :biggrin: good luck though.
Re: Doors triggered by a button Posted by Tracer Bullet on Fri Dec 24th 2004 at 1:03am
Tracer Bullet
2271 posts
Posted 2004-12-24 1:03am
2271 posts 445 snarkmarks Registered: May 22nd 2003 Occupation: Graduate Student (Ph.D) Location: Seattle WA, USA
Here's a tip: doors are bad for DM.
Re: Doors triggered by a button Posted by Orpheus on Fri Dec 24th 2004 at 1:04am
Orpheus
13860 posts
Posted 2004-12-24 1:04am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
<DIV class=quote>
<DIV class=quotetitle>? quoting Tracer Bullet</DIV>
<DIV class=quotetext>Here's a tip: doors are bad for DM. </DIV></DIV>

doors with buttons are bad..
make it open via trigger_AAA or shootable button