Locking Doors

Locking Doors

Re: Locking Doors Posted by Sphinx on Tue May 11th 2004 at 1:29pm
Sphinx
9 posts
Posted 2004-05-11 1:29pm
Sphinx
member
9 posts 11 snarkmarks Registered: Dec 23rd 2002
Ok I want to make it so when a button is pressed... A door is unopenable, (Can Be Broken) but is locked so no one can enter or exit. By using a switch. And when the switch is thrown again, the door is unlocked.
Re: Locking Doors Posted by Orpheus on Tue May 11th 2004 at 1:42pm
Orpheus
13860 posts
Posted 2004-05-11 1:42pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
so speakith the last person whom should..

button is targeted to a MM which is targeted to a second MM and the door.

MM #1 fails to activate the door, but MM#2 does..

door opens on second attempt.

crawls back under rock to avoid scoffing
Re: Locking Doors Posted by Gollum on Tue May 11th 2004 at 2:02pm
Gollum
1268 posts
Posted 2004-05-11 2:02pm
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
The button is a func_button. The door is a func_door. You also need an env_global and a multisource.

The initial state of the global determines whether the door starts unlocked or locked (make sure the flag "set intial state" is ticked). Also set the trigger type to "toggle". The global sets some state "state1" (say). The multisource takes this for its "global state master".

The button targets the global, so that every time it is pressed the global will change state. The multisource tracks this change. The door uses the multisource for its master.
Re: Locking Doors Posted by Orpheus on Tue May 11th 2004 at 2:41pm
Orpheus
13860 posts
Posted 2004-05-11 2:41pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
notice, mine was not yellow :biggrin:

a little insider joke for you new members :rofl:
Re: Locking Doors Posted by Leperous on Tue May 11th 2004 at 2:53pm
Leperous
3382 posts
Posted 2004-05-11 2:53pm
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
What's wrong with the good old fashioned method of just using the multisource, without an env_global?
Re: Locking Doors Posted by Gollum on Tue May 11th 2004 at 4:15pm
Gollum
1268 posts
Posted 2004-05-11 4:15pm
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
Leperous said:
What's wrong with the good old fashioned method of just using the multisource, without an env_global?
Last time I remember trying this, it didn't work.

However, you may well be right. I forget the easiest way of "mastering" an object, since I would have used an info_alias :razz: This is the one method that I know works for sure in normal HLDM.
Re: Locking Doors Posted by Leperous on Tue May 11th 2004 at 4:18pm
Leperous
3382 posts
Posted 2004-05-11 4:18pm
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
Hrm, well that's the way I always did it, but I guess yours means you learn that extra bit more in the process!
Re: Locking Doors Posted by Gollum on Tue May 11th 2004 at 5:06pm
Gollum
1268 posts
Posted 2004-05-11 5:06pm
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
No, your way is better (assuming it works). If I had known that way worked, I would have chosen it :smile:
Re: Locking Doors Posted by Sphinx on Sat May 15th 2004 at 8:10pm
Sphinx
9 posts
Posted 2004-05-15 8:10pm
Sphinx
member
9 posts 11 snarkmarks Registered: Dec 23rd 2002
So how would i set it up with just the multiscource?
Re: Locking Doors Posted by Sphinx on Sat May 15th 2004 at 8:10pm
Sphinx
9 posts
Posted 2004-05-15 8:10pm
Sphinx
member
9 posts 11 snarkmarks Registered: Dec 23rd 2002
Double Post
Re: Locking Doors Posted by Gollum on Sat May 15th 2004 at 8:49pm
Gollum
1268 posts
Posted 2004-05-15 8:49pm
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
I dunno, ask the LepMong :heee:
Re: Locking Doors Posted by Leperous on Sat May 15th 2004 at 10:08pm
Leperous
3382 posts
Posted 2004-05-15 10:08pm
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
You just make a multisource, and set is as the master of the door; basically the door will be locked until you trigger the master (with a button or a breakable or whatever). You can do some pretty funky things with multisources- they are not 'active' unless all things that targeting it are active themselves, e.g. if you have 2 buttons both targeting it the multisource won't be active unless both buttons are on at the same time (if one button is turned off the multisource will deactivate and thus your door will be locked again- see the map Rustmill for some multisource spinkeeness).
Re: Locking Doors Posted by Sphinx on Sun May 16th 2004 at 10:48pm
Sphinx
9 posts
Posted 2004-05-16 10:48pm
Sphinx
member
9 posts 11 snarkmarks Registered: Dec 23rd 2002
so the doors have to start locked?
Re: Locking Doors Posted by Leperous on Sun May 16th 2004 at 10:58pm
Leperous
3382 posts
Posted 2004-05-16 10:58pm
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
Make a trigger_auto or something target the button (or get the button to start on if you can do that these days?!) and the door should start unlocked. Or I guess use an env_global...
Re: Locking Doors Posted by Sphinx on Mon May 17th 2004 at 4:09am
Sphinx
9 posts
Posted 2004-05-17 4:09am
Sphinx
member
9 posts 11 snarkmarks Registered: Dec 23rd 2002
You wouldent belive how f**kin confused I am at this point. I feel so :sailor: - Nuff said
Re: Locking Doors Posted by Orpheus on Wed May 19th 2004 at 9:06am
Orpheus
13860 posts
Posted 2004-05-19 9:06am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
Sphinx said:
You wouldent belive how f**kin confused I am at this point. I feel so :sailor: - Nuff said
says in small voice

look at it my way, after all this time, the MM still eludes my grasp :/
Re: Locking Doors Posted by Gollum on Wed May 19th 2004 at 9:48am
Gollum
1268 posts
Posted 2004-05-19 9:48am
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
Sphinx said:
You wouldent belive how f**kin confused I am at this point. I feel so :sailor: - Nuff said
/me pets Sphinx :smile:

Tell me what's confusing you. I only gave a very terse explanation at first, but I can go into more detail if it would help.

Honestly, the basic concepts are very simple, once you get past all the technical crap.
Re: Locking Doors Posted by Orpheus on Wed May 19th 2004 at 10:02am
Orpheus
13860 posts
Posted 2004-05-19 10:02am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
funny, terse explanations and gollum somehow read as an oxymoron :rofl:
Re: Locking Doors Posted by Gollum on Wed May 19th 2004 at 10:32am
Gollum
1268 posts
Posted 2004-05-19 10:32am
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
kicks Orph :wink:
Re: Locking Doors Posted by Orpheus on Wed May 19th 2004 at 11:00am
Orpheus
13860 posts
Posted 2004-05-19 11:00am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
Gollum said:
kicks Orph :wink:
rubs ensuing bump

"What?"
Re: Locking Doors Posted by Sphinx on Wed May 19th 2004 at 1:17pm
Sphinx
9 posts
Posted 2004-05-19 1:17pm
Sphinx
member
9 posts 11 snarkmarks Registered: Dec 23rd 2002
K um I need to know exactly what to do.. Heres how I want it set up... The door will be unlocked.... when you go inside, if u stand in front of the door, and press "Use" the door will lock. Press it again the door is unlocked, there will be more than 10 of these types of doors, and one with a switch. It's for a Specialist Role Play Map.
Re: Locking Doors Posted by Myrk- on Wed May 19th 2004 at 1:50pm
Myrk-
2299 posts
Posted 2004-05-19 1:50pm
Myrk-
member
2299 posts 604 snarkmarks Registered: Feb 12th 2002 Occupation: CAD & Graphics Technician Location: Plymouth, UK
Theres a tutorial on it I believe, or was...

/me hits Lep with a stick and sends Vash to eat his scabby legs...

On that note- wheres Vash?
Re: Locking Doors Posted by ReNo on Wed May 19th 2004 at 2:05pm
ReNo
5457 posts
Posted 2004-05-19 2:05pm
ReNo
member
5457 posts 1991 snarkmarks Registered: Aug 22nd 2001 Occupation: Level Designer Location: Scotland
"Gone" with Cassius :rolleyes:
Re: Locking Doors Posted by Gollum on Wed May 19th 2004 at 2:43pm
Gollum
1268 posts
Posted 2004-05-19 2:43pm
Gollum
member
1268 posts 525 snarkmarks Registered: Oct 26th 2001 Occupation: Student Location: Oxford, England
Sphinx said:
K um I need to know exactly what to do.. Heres how I want it set up... The door will be unlocked.... when you go inside, if u stand in front of the door, and press "Use" the door will lock. Press it again the door is unlocked, there will be more than 10 of these types of doors, and one with a switch. It's for a Specialist Role Play Map.
Hmmm, that's a lot harder than using a switch, I'm afraid :sad: Not sure how to do this. Do you really need it to be the USE key that (un)locks the door? Won't a switch on the wall do?