keypad door

keypad door

Re: keypad door Posted by XenNetwork on Sat Mar 12th 2005 at 11:52pm
XenNetwork
58 posts
Posted 2005-03-12 11:52pm
58 posts 66 snarkmarks Registered: Jan 25th 2005 Location: USA
how do i make it so i use the numbers 0 1 2 in the game in to buttons
then make it so you have to press them in a certain order to open a door
Re: keypad door Posted by Carcase on Sun Mar 13th 2005 at 3:01am
Carcase
145 posts
Posted 2005-03-13 3:01am
Carcase
member
145 posts 15 snarkmarks Registered: Nov 15th 2003 Location: Northern Virginia
perhaps an ingenious use of input outputs and plenty of trigger_relay and multimanagers?

or perhaps you could have it so each button unlocks the next button, and when the final button is pushed the door opens? only problem with that would be coming up with a way for the buttons to reset,
Re: keypad door Posted by omegaslayer on Sun Mar 13th 2005 at 3:53am
omegaslayer
2481 posts
Posted 2005-03-13 3:53am
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
Thats a complex entity system you got there, maybe some day ill make one my self.....
Re: keypad door Posted by DrGlass on Sun Mar 13th 2005 at 6:58am
DrGlass
1825 posts
Posted 2005-03-13 6:58am
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
here is what you would have to do.

the key combo is 123, I will work thist backwards.

The door can only be open if 3 is true (its default is faulse, basicaly true = on)

button 3 can only be toggled to true if 2 is true.

and button 2 can only be triggered if 1 is true.

All the buttons trigger a "beep" sound.

All you have to do is figure out what logic_entities have to be used.