Home    LittleBigPlanet 1 - PSP - Tearaway -Run Sackboy Run    LittleBigPlanet 1    [LBP1] Help! [Archive]
#1

how can i do this with key switches.

Archive: 7 posts


i have 5 key switches and their keys all ready. i want it so when ALL 5 keys are in their correct spots, THEN a door will open via piston. Is there a way to connect all of the 5 switches to 1 other switch and that switch to the piston or something? how would i do this??

Thanks
2010-02-21 06:13:00

Author:
GimmeAgram
Posts: 1


Try to use an "AND" switch.




I-----------# I I
I-----------# I I
I-----------# I @ I
I-----------# I I
I-----------# I I


Hopefully that awful drawing makes sense, lol.

I = Dark Matter
# = Cardboard square with magnetic key on it
@ = Magnetic Keyswitch
----------- = Piston

Set your input to directional and attach each one to each piston, so that when one of the inputs is activated, its piston retracts away from the magnetic keyswitch. The magnetic keyswitch should be inverted, so when all of the keys retract away from it, it activates.

There are a few other ways to do it but this seems the simplest. Does that make sense to you?
2010-02-21 06:43:00

Author:
Incinerator22
Posts: 3251


Incinerator has the right ideas, if you want to learn more about logic tools such as the AND switch, i reccomend you check out the LBPC Logic Pack under the PSN Logicpack. It was lovingly created by several of our well known members, and will give you a great understanding of logic in LBP 2010-02-21 08:07:00

Author:
Burnvictim42
Posts: 3322


yeah, they have the right idea... but this quick explanation might also help you understand

If a key switch is INVERTED then it has to have NO matching key in its trigger radius

So, if you put 5 blocks with keys in the trigger radius, All blocks must be Removed before its activated

Attach each of these blocks to a piston

...... just like the diagram
2010-02-21 10:43:00

Author:
samalot
Posts: 591


...but why not use the dissolve material for this?
# = Dark Matter
K = Key
S = Switch
K2 = Key2
S2 = Switch2
D = Dissolve


#(K2)# <-|
1 #DDDD# | connect switches to any of the dissolves
5 #DDDD# | when all dissolves dissapeared the switch2
3 #DDDD# | is activated
2 #DDDD# |
4 #DDDD# (S2) <-|
######

1 K----------S
2 K----------S
3 K----------S
4 K----------S
5 K----------S
Every K->S will dissolve one line of "DDDD". When all "DDDD" are dissolved K2->S2 is switched.
As you can see there is no sequence in this solution, it does'nt matter witch key was activated first or last.
2010-02-22 21:27:00

Author:
aphexZero
Posts: 37


@aphexZero: There is a subtle difference between the method that you post and the method incinerator posted. Yours just requires all 5 keys to have been taken to the correct place at any point in time, his requires that all 5 be in the correct place at the same time.

Depending on your application, yours can work fine, but generally as a logic system it is far more limited.
2010-02-22 21:50:00

Author:
rtm223
Posts: 6497


I understand what you say, but that's why i said that i don't know if i'm understanding it (the problem) right.

i have 5 key switches and their keys all ready. i want it so when ALL 5 keys are in their correct spots, THEN a door will open via piston.

eww, no
i don't understand...
2010-02-22 21:59:00

Author:
aphexZero
Posts: 37


LBPCentral Archive Statistics
Posts: 1077139    Threads: 69970    Members: 9661    Archive-Date: 2019-01-19

Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.