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

Switch that needs all of 3 conditions to be true to work - HELP

Archive: 4 posts


I am trying to make a door open that requires 3 boxes to be in place for the door to open. I can't use the plain ol' dissolve material switches for each box, as all the people would have to do is drag the magnetic keys by the switches in order to dissolve the material and then the door would open regardless of the boxes being in the right order.

Basically, I want the door to open only when 3 boxes are properly in place at their appropriate color, and not work if they aren't.

Any ideas?
2009-01-17 22:28:00

Author:
dobi6
Posts: 359


Here's an "AND switch". Exactly what you need!

http://i454.photobucket.com/albums/qq262/RangerX_photos/AndSwitch.png


By putting pistons in succession that will eventually activate a magnetic switch you will be able to do your door.

In your specific case you need each box to trigger a piston put in "direction" mode so when all 3 boxes are placed (all 3 pistons extended) your magnetic switch is activated. (In your case, the magnetic switch opens your door).

.
2009-01-17 22:49:00

Author:
RangerZero
Posts: 3901


To be more specific, have some sort of visual reference in game of where you want the boxes put in the right order. How you do that is up to you.

For the correct solution, put a mag key of a different colour on each box, and a mag switch with a sensor area covering the correct area in that zone. Set the switch to directional.

Then use the AND switch method described above and you should be able to open the door when all three are correctly positioned. If it's a dissolve, put a mag key on the end of the 3 pistons, a mag switch on the matching end, and make sure the sensor radius is small enough that it only triggers when all three pistons are extended. Set that switch to on/off and attach it to the dissolve.

Just be aware of key conflicts. Make sure you don't have any other magnetic key things that can accidently trigger the wrong thing. If that's the case, change the colours of the systems to prevent that conflict.
2009-01-17 22:58:00

Author:
Elbee23
Posts: 1280


I had the visual reference part done first... I had the whole thing done, with a dissolve material switch, and realized that people could screw it up, and still open the door.

Thanks!
2009-01-18 01:18:00

Author:
dobi6
Posts: 359


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.