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

Need reliable logic help

Archive: 10 posts


Ok, so in my level I'm currently working I have a puzzle where there are four lights and four buttons and the goal of it is to get all four lights on. The row of buttons is parallel to the row of lights and each button corresponds to the light directly above it, the one to the left (if it exists) and the one to the right (if it exists). For example light 1-on light 2-off light 3-off and light 4-on, jumping on button 2 would cause light 1-off, light 2-on, light 3-on, and light 4 would be unchanged (on). I've achieved my goal on getting everything to work the way it's suppose to, but my problems are 1. Multiple buttons being jumped on at once can break the logic and 2. If someone is jumping very franticly on the buttons, hitting them at a very high frequency the logic also breaks.

I need help making more reliable logic, I don't really know how to explain what I did to make it work so I think it would be best if someone could help me in game. I'm fine with a description of how you would make the logic also or any advice really if you don't want to go through the hassle of showing me in game.

If you are willing to help me in game I'm available anytime this weekend and anytime after school once the weekend is over, thanks.
2010-02-26 21:47:00

Author:
zynax555
Posts: 170


I'll have a play around in create.

By the sounds of it it could be done with 4 OR switches and 4 Toggles.

I'll get back to ya.
2010-02-26 22:18:00

Author:
Unknown User


Ok thanks, just let me know when.2010-02-26 22:32:00

Author:
zynax555
Posts: 170


Sounds like maybe 4 toggles and two 3-way XORs. Yeah, that will totally work. An XOR is an exclusive OR. Are you familiar with it?

You can make one out of the 3-way AND gate from the logic pack. Just put keys in locations so it activates when exactly one and exactly three inputs are true, and put the switch on the last moving part.

If you want to give it a go yourself, those are tools you need. If not, I will be along shortly with a solution.

---

Note to rtm when you discover this... Finally a use for the true meaning of an XOR!
2010-02-26 22:36:00

Author:
comphermc
Posts: 5338


I'm sure I would understand what exactly an XOR is once I see it, but I can't quite visualize it right now. Anyway I'll go mess around in create mode and see if I can get this to work more reliably, thanks for the advice.2010-02-26 23:03:00

Author:
zynax555
Posts: 170


Ok. after about 30 minutes in create I came up with this.

http://i14.photobucket.com/albums/a322/SniperWraith/Logic.jpg

For ease of use I used grab switches instead of buttons. You also didn't specify whether grabbing switch 1 would have a wrap-around effect and toggle switch 4. so I just assumed that it doesn't.

http://i14.photobucket.com/albums/a322/SniperWraith/Toggles.jpg

This Logic Block is made up of 4 Multi-Input Toggles. The top set are 2-Input, wired to lights 1 and 4 respectively. The bottom set are 3-Input, wired to lights 2 and 3.

Piston: Max Length: 10, Min Length: 0, Strength: 0, Timing: 0.1, Stiff

Winches: Max Length: 2.5, Min Length: 0, Strength: 10, Timing: 0.1, Flipper: In

http://i14.photobucket.com/albums/a322/SniperWraith/4-InputAND.jpg

The system is wired to this Low Thermo 4 -Input AND switch. Basically one of RTM's OR's with the winches and keyswitch set to inverted. This will activate when all 4 lights are On.

Piston: Max Length: 7.5, Min Length: 2.5, Strength:2, Timing: 0.1, Stiff.

Winches: Max Length: 7.5, Min Length: 2.5, Strength: 10, Timing: 0.1, Inverted.

If you have trouble replicating any of this just add me on PSN and I'll give it to you in Create Mode.
2010-02-27 20:20:00

Author:
Unknown User


Thanks for the really detailed description and pictures! And yes you were right to assume that there is no wrap around when jumping on buttons 1 and 4.2010-02-28 19:25:00

Author:
zynax555
Posts: 170


On that AND... lose the grab switch and a winch and just put one of the wires to the piston.

2010-02-28 19:45:00

Author:
comphermc
Posts: 5338


What exactly should the behaviour be if two adjacent buttons are pressed at the same time? Should they both light up, or both be extinguished? And what does rosescythe's version do?

I think I misread the OP tbh. Still not 100% on what the functionality is....
2010-02-28 20:37:00

Author:
rtm223
Posts: 6497


On that AND... lose the grab switch and a winch and just put one of the wires to the piston.



You and your perfectionism.
2010-03-01 05:23:00

Author:
Unknown User


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.